.media-list {
	margin: 0;
}

.media:before,
.media:after {
    content: ' ';
    display: table;
}

.media:after {
    clear: both;
}

.media-select {
    margin: 12px 0 !important;
}

.media-bordered {
    border-top: 1px solid black;
	cursor: pointer;
    padding-top: 16px;
}

.media-bordered:first-child {
	border-top: none;
	padding-top: 0;
}

@media (min-width: 768px) {
	.media-grid .media {
		display: inline-block;
		padding: 0 8px;
		vertical-align: top;
		width: 50%;
	}
	
	.media-grid .media:nth-child(2) {
		margin-top: 0;
	}
	
	.media-grid .media-bordered:nth-child(2) {
		border-top: none;
		padding-top: 0;
	}
}

@media (min-width: 992px) {
	.media-grid .media {
		width: 33.33333333%;
	}
	
	.media-grid .media:nth-child(3) {
		margin-top: 0;
	}
	
	.media-grid .media-bordered:nth-child(3) {
		border-top: none;
		padding-top: 0;
	}
}

.media-left, .media-right, .media-body {
    display: inline-block;
}

.media-left {
    float: left;
    text-align: left;
}

.media-right {
    float: right;
    text-align: right;
}

.media-message {
    border-radius: 24px;
    color: white;
    max-width: 70%;
    padding: 8px 16px;
}

.media-message.media-left {
    border-bottom-left-radius: 0;
}

.media-message.media-right {
    border-bottom-right-radius: 0;
}

.media-message-incoming {
    background-color: #31708f;
}

.media-message-outgoing {
    background-color: #57904e;
}

.media-message span {
    display: block;
}

.media-body {
    width: 100%;
}

.media-body h4,
.media-body .h4 {
    margin: 0;
}

.media-image {
    width: 70px;
}

.media-datetime {
    padding: 0;
    width: 85px;
}

.media-image + .media-body {
    width: calc(100% - 70px);
}

.media-datetime + .media-body {
    width: calc(100% - 85px);
}

.media-image + .media-datetime + .media-body {
    width: calc(100% - 155px);
}

.media-select .media-body {
	margin-left: 20px;
    max-width: 600px;
}

.media-comment {
    font-size: 14px;
}

.icon-incoming {
    color: #31708f;
}

.icon-outgoing {
    color: #57904e;
}

.panel-mensajes .panel-body {
	height: 240px;
}

@media (min-width: 480px) {
	.panel-mensajes .panel-body {
		height: 480px;
	}
}

.panel-mensajes .panel-scroll {
	overflow-x: auto;
	padding: 15px;
}

.panel-mensajes .panel-input-fixed {
	padding: 0;
	position: relative;
}

.panel-mensajes .panel-body .panel-scroll {
	height: 100%;
}

.panel-mensajes .input-fixed-bottom + .panel-scroll {
	height: calc(100% - 34px);
}

.input-group .input-group-addon {
	color: inherit;
}

.has-error .input-group-addon {
    color: #a94442;
    border-color: #a94442;
    background-color: #f2dede;
}

.input-fixed-bottom {
    bottom: 0;
    left: 0;
	position: absolute;
    right: 0;
}

.input-fixed-bottom .btn {
	height: 34px;
    width: 44px;
}

.input-fixed-bottom:not(.has-error) .input-group-addon {
    background-color: #d9edf7;
    border-color: #bce8f1;
	color: #31708f;
}

.input-fixed-bottom:not(.has-error) .form-control {
	border-color: #bce8f1;
}

.input-fixed-bottom > :first-child,
.input-fixed-bottom > :first-child .btn {
	border-bottom-left-radius: 4px !important;
}

.input-fixed-bottom > :last-child,
.input-fixed-bottom > :last-child .btn {
	border-bottom-right-radius: 4px !important;
}

.input-push {
	height: 34px;
}

.raty {
    margin: 8px 0;
    text-align: center;
}

.raty .star-on-png,
.raty .star-off-png,
.raty .star-half-png {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: "FontAwesome";
    font-size: 2.5em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    speak: none;
    text-transform: none;
}

.raty .star-off-png {
    color: #777777;
}

.raty .star-off-png:before {
    content: "\f006";
}

.raty .star-on-png,
.raty .star-half-png {
    color: #feb902;
}

.raty .star-half-png:before {
    content: "\f123";
}

.raty .star-on-png:before {
    content: "\f005";
}

.media-body .raty {
    margin: 4px 0;
    text-align: left;
}

.media-body .raty .star-on-png,
.media-body .raty .star-off-png,
.media-body .raty .star-half-png {
    font-size: 1.25em;
}