html, body {
	/*font-family: Verdana;*/
	font-weight:normal;
	margin:0;
	padding:0;
	background: url('./image/bg-1.jpg') no-repeat;
	background-position:bottom;
	background-attachment:fixed;
	color:#507b72;
	}
img {
	border:0;
	}
select, input {	
    background-color: rgba(255,255,255,0.4);
    border: solid 1px #e2554b;
    outline: none;
    font-size: 16px;
    padding: 5px 10px 5px 10px;
    color: #507b72;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
	
.chat {
	width:95%;
	max-width:800px;
	/*min-height:500px;*/
	text-align:left;
	background-color:rgba(45,60,60,0.7);
	border-radius:4px;
	padding:15px 5px 15px 5px;
	margin-bottom:20px;
}

.tour {
	display:inline-block;
	float:left;
	width:160px;
	background-color:#fff;
	box-shadow:0px 1px 3px rgba(0,0,0,0.5);
	margin-top:10px;
}
.tour_name {
	padding:10px;
	background-color:rgba(0,0,0,0.5);
	color:#ffe500;
}
.t_strana {
	color:#e2e2e2;
}
.tour_info {
	margin-top:40px;
	color:#009688;
	padding:10px;
	background-color:#fffcde;
	border-top: solid 2px #009688;
}

.text {
	width:95%;
	max-width:800px;
	font-size:50px;
	font-weight:300;
	line-height:50px;
	padding:10px 5px 15px 5px; 
	color:#ffeb3b;
	text-align:center;
	margin:30px 0px 20px 0px;
	background-color:rgba(45,60,60,0.7);
	border-radius:4px;
}
.operator_table {
	margin-top:10px;	
}
.operator {
	border-radius:4px;
	background-color:#fff;
	padding:0px 5px 0px 5px;
}
.operator img {
	width:100%;
}

.mes_table {
	width:100%;
	border:none;
}
.mes_table td {
	padding:5px;
}
.messages {
	display:none;
	margin:10px;
	font-size:14px;
	color:#333;
}
.td_ava {
	width:40px;
}
.messages_ava {
	display:inline-block;
	width:40px;
	height:40px;
	border-radius:50%;
	background: url('../img/consultant_avatar.jpg') no-repeat;
	background-size: cover;
	background-color:#fff;
	float:left;
}
.it .messages_ava {
    background: url(../img/consultant_avatar_maria.jpg) no-repeat;
	background-size: cover;
}
.messages_ava_none {
	display:inline-block;
	width:40px;
	height:40px;
	border-radius:50%;
	background: url('../img/consultant_avatar_no.jpg') no-repeat;
	background-size: cover;
	background-color:#fff;
	float:left;
}
.messages_in {
	display:inline-block;
	padding:10px 13px 10px 13px;
	border-radius:4px 4px 4px 4px;
	background-color:rgba(255,255,255,1);
}
.messages_in_otvet {
	color:#fff !important;
	background-color:#00bcd4 !important;
	font-weight: bold;
}
.shrefs {
	cursor:pointer;
	color:#0097a7;
	border-bottom:dotted 1px #0097a7;
	margin-right:15px;
	display:inline-block;
}
.shrefs:hover {
	color:#e53935;
	border-bottom:dotted 1px #e53935;
}
.loading {
	padding-left:66px;
	font-size:12px;
	color:rgba(255,255,255,0.7);
}

@media (max-width: 700px) {
	.text { font-size:24px; line-height:22px; margin:10px 0px 10px 0px; }
	.operator_table { display:none; }
	.chat { /*min-height:300px;*/ margin-bottom:10px; }
	.mes_table td {	padding:1px; }
	.messages {	margin:1px; }
	.td_ava { width:30px; }
	.messages_ava { width:30px; height:30px; }
	.messages_ava_none { width:30px; height:30px; }
	.messages_in { padding:5px 7px 5px 7px; }
	.tour_name { padding:5px; }
	.tour_info { margin-top: 0px; padding:5px; }
}