html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, code,
del, dfn, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
vertical-align: baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}

body{
	height: 100%;
	color:#636363;
	background: rgb(250,250,250);
	margin:auto;
	font-size:12px;
	font-family:'Roboto', Arial, sans-serif;
	overflow-y: scroll;
	text-align: center;
}

.left {text-align: left;}
.center {text-align: center;}

a:link,a:active,a:visited{
	text-decoration:none;
	color:#455a64;
}

a:hover,a:focus{
	text-decoration:none;
	color:#000000;
	transition: all .2s; 
}

* {
    -webkit-user-drag: none;
}    

.right {
	text-align: right;
}

.left {
	text-align: left;
}

body::-webkit-scrollbar-track {border-radius: 0px; background: #FFFFFF;}
body::-webkit-scrollbar {width: 6px;}
body::-webkit-scrollbar-thumb {border-radius: 0px;background: #696969;}
body::-webkit-scrollbar-thumb:hover {background: #696969; cursor: pointer;}


::-webkit-scrollbar {width: 2px;}
::-webkit-scrollbar-track {background: #fff;}

::-webkit-scrollbar-thumb {
	background: rgba(0,0,0,.4);
	border-radius: 1px;
	}
	
::-webkit-scrollbar-thumb:hover {background: rgba(0,0,0,.5);}

#kom::-webkit-scrollbar {
	width: 2px;
}
#kom::-webkit-scrollbar-track {
	background: none;

}
#kom::-webkit-scrollbar-thumb {
	width: 4px;
	background: rgba(0,0,0,.2);
	opacity: 0.2;
}

img {
    vertical-align: middle;
}

.table{vertical-align: top; padding: 0px; margin: 0px; border-collapse: collapse; width: 100%; word-wrap: break-word;}
.table tr{vertical-align: top; padding: 0px; margin: 0px; text-align: center; word-wrap: break-word;}
.table td{vertical-align: middle; padding: 8px; max-width: 50px; border: 1px solid #e5e5e5; margin: 0px; text-align: left; word-wrap: break-word;} 

span {}

.smile-hover:hover{
	cursor: pointer; 
	background: white; 
	border-radius: 3px; 
	filter: saturate(300%) hue-rotate(180deg);
}

a.button{
	font-weight: bold;
    color: white;
    text-decoration: none;
    padding: 10px;
    display: inline-block;
    border-radius: 3px;
    background: rgba(2,119,189 ,1);
    box-shadow: 0 -3px rgba(1,87,155 ,1) inset;
}
a.button:hover{
	opacity: .8;
}

.tab-info {
	display: none;
}

.hide {
	display: none;
}

.show {
	display: block;
}


.while_tab{
	width: 100%;
}

.while_tab tr:hover{
	background: #e5e5e5;
	cursor: default;
}

.while_tab tr:hover .price{
	background: #d5d5d5;
	font-weight: bold;
}

.while_tab tr:hover .name{
	background: #d5d5d5;
	font-weight: bold;
}

.while_tab td{
	border:1px solid #e5e5e5;
	padding: 10px 5px;
	vertical-align: middle;
}

.while_tab .top{
	text-align: center;
	vertical-align: middle;
}

.while_tab .top > td{
	white-space: nowrap;
}

.focus {
	border: 1px solid red;
}

.while_tab .top:hover{
	background: none;
}

.while_tab .name{
	text-align: left;
}

.page_body {
	background: #FFFFFF;
	max-width:80%; 
	margin: auto;
	
	border-radius: 2px;
}

.notC {
	position: fixed;
	right: -100px;
	top: 75px;
	max-width: 250px; 
	word-wrap: break-word;
	opacity: 0.6;
	max-height: 85%;
	overflow: auto;
	z-index: 999999999999999; 
}
.notC:hover {
	right: 0px;
	transition: all .2s; 
	opacity: 1;
}
.notC div{
	text-align: left;
	background: #FFFFFF;
	border: 3px solid #FF9933;
	color:#FF9933;
	vertical-align: middle;
	
	border-radius: 5px;
	border-top-left-radius: 15px;
	border-bottom-left-radius: 15px;   
	padding: 15px;   
	margin: 5px;
	word-wrap: break-word;
	overflow: hidden; 
}

.notC .warn{
	text-align: left;
	background: #FFFFFF;
	border: 3px solid red;
	color:#FF9933;
	vertical-align: middle;
	
	border-radius: 5px;
	border-top-left-radius: 15px;
	border-bottom-left-radius: 15px;
	z-index: 5;    
	padding: 15px;   
	margin: 5px;
	word-wrap: break-word;
	overflow: hidden; 
}

.live-search {
	position: relative;
}

.live-result {
	position: absolute;
	left: 0px;
	top: 20px;
	width: 250px;
	margin: 0px 4px;
	z-index: 11111;
	max-height: 300px;
	overflow-y: auto;
	overflow-x: hidden;
}

.live-result div{
	background: #fff;
	padding: 8px 8px;
	border-bottom: 1px solid #b0bec5;
	cursor: pointer;
}

/**************** ПЕРЕПИСКА *******************/
.u1{
	font-size:11px;
	position: relative;
	border-radius: 0.5em; 
	background:#e3ffe2;
	color:#263238;
	padding:8px;
	margin: 3px;
	margin-left: 15%; 
	text-align: left;
}

.u2{
	font-size:11px;	
	position: relative;
	border-radius: 0.5em; 	
	background:#f7f7f7;
	color:#263238;
	padding:8px;
	margin: 3px;
	margin-right: 15%;
	text-align: left;
}

.u1 .citata, .u2 .citata{
	font-size:11px;	
	position: relative;
	background:#d8dee0;
	color:#263238;
	padding:4px;
	text-align: left;
	margin: 0px -8px;
	border-left: 3px solid orange;
}

/**************** /ПЕРЕПИСКА *******************/
@keyframes slide {
	0% {
        transform: translateY(-100%);
    }
    50%{
        transform: translateY(8%);
    }
    65%{
        transform: translateY(-4%);
    }
    80%{
        transform: translateY(4%);
    }
    95%{
        transform: translateY(-2%);
    }           
    100% {
        transform: translateY(0%);
    }      
}
 
@keyframes slideDown {
    0% {
        transform: translateX(-100%);
    }        
    100% {
        transform: translateX(0%);
    }      
}
/*********************************/
.cursor {
	position: fixed;
	z-index: 3;
	width: 10px;
	height: 10px;
	margin: -5px 0 0 -5px;
	border-radius: 50%;
	background: #FF9933;
	animation: ripple .5s cubic-bezier(0.165, 0.85, 0.45, 1);
	-webkit-animation: ripple .5s cubic-bezier(0.165, 0.85, 0.45, 1);
}
/******/

/* Шапка и... Не шапка)) */
.title{
	position: fixed;
	top: 0px;
	height: 60px;	
	display: block;
	width: 100%;
	text-align: left;
	background: #263238;
	color:white;
	vertical-align: middle;
	z-index: 90;
}

.title a{
	color:white;
}

.foot{
	position: fixed;
	bottom: 0;
	z-index: 0;
	display: table;
	width: 100%;
	background: #263238;
	height: 40px;
	font-size: 11px;
	text-align: center;
	color:#fff;
	border-radius: 0px;
}

.foot .gen{
	font-size: 10px;	
}

.fico{
	display: table-cell;
	text-align:center;
	vertical-align: middle;
	padding: 0px 5px;	
}

.fcel{
	display: table-cell;
	width: 100%;
	text-align: center;
	vertical-align: middle;
	padding: 0 10px;	
}

.foot a{
	color:#fff;
}

.search{
   position: relative;
   z-index: 99;	   
}

.search_result{
	position: absolute;
	top: 10px;
	left: 3px;
	background: #FFF;
	width: 140%;
	border-radius: 2px;
	max-height:120px;
	overflow-y:auto;
	display:none;
	
	transition:0.3s;
	z-index: 99;
}

.search_result li{
	list-style: none;
	padding: 8px 13px;
	margin: 0 0 0 -40px;
	color: #0896D3;
	border-bottom: 1px #ccc solid;
	cursor: pointer;
	transition:0.3s;
	text-align: left;
	z-index: 99;
}

.search_result li:hover{
	background: #FF9933;
	color: #FFFFFF;
}

/*******/
.spoiler-box {
    display: none;
}
.smiles-box {
	display: none;
	text-align: left;
}

.spoiler{
	cursor: pointer;
}

.smiles-close {
	position: fixed;
	bottom: 250px;
	right: 10%;
	z-index: 111111;
	cursor: poiner;
}

.smiles-list {
	position: fixed;
	bottom: 40px;
	left: 10%;
	right: 10%;
	height: 200px;
	overflow-y: scroll;
	background: #fff;
	border: 1px solid #e5e5e5;
	margin: 2px;
	padding: 3px;
	z-index: 111111;
}

#kom {
	overflow-y: scroll; 
	overflow-x: hidden; 
	max-height: 350px;
	width: 90%;
	margin: auto;
	padding-bottom: 5px;
}

.line {
    padding-bottom: 10px;
    font-size: 120%;
    margin: 0px 0px 5px;
    border-bottom: 2px solid #eee;
	text-align:center;
    width: 80%;
    display: inline-block;
}

.error {
	background:#fff;
    padding: 5px;
    color: #CC3333;
    font-size: 120%;
    margin: 0px;
    border: 1px solid #CC3333;
	border-radius: 3px;
	text-align:center;
    width: 80%;
    display: inline-block;
}

.error_popup {
	position: fixed; 
    left: 20%; 
    right: 20%; 
    opacity: 0.8; 
    display: inline-block; 
    width: auto; 
    top: 70px; 
    z-index: 10000;
	background:#CC3333;
    padding: 15px;
    color: #FFF;
    font-size: 120%;
    margin: 0px;
    border: 1px solid #FFF;
	border-radius: 5px;
	text-align:center;
    display: inline-block;
}

.error_popup a{
    color: #CC3333;
    padding: 3px 6px;
    background: #FFF;
    border: 1px solid red;
    border-radius: 2px;
}

.error_popup a:hover{
    color: #FFF;
    padding: 3px 6px;
    background: #CC3333;
    border: 1px solid white;
    border-radius: 2px;
}

.succes_popup {
    position: fixed; 
    left: 20%; 
    right: 20%; 
    opacity: 0.8; 
    display: inline-block; 
    width: auto; 
    top: 70px; 
    z-index: 10000;
	background:#339966;
	cursor: pointer;
    padding: 10px;
    color: #fff;
    font-size: 120%;
    margin: 0px;
    border: 1px solid #fff;
	border-radius: 3px;
	text-align:center;
}

.yes2 {
    display: inline-block; 
    width: 80%; 
	background:#fff;
    padding: 5px;
    color: #339966;
    font-size: 120%;
    margin: 0px;
    border: 1px solid #339966;
	border-radius: 3px;
	text-align:center;
}

.menu{
	background:#fff;
	padding:60px;
	text-align: center;
	border-radius: 2px;
}

.text{
	background:#fff;
	padding:10px;
	text-align: center;
	border-radius: 2px;
}


.list{
	background:white;
	border:1px solid #e5e5e5;
	color:#5B5B5B;
	border-radius: 2px;
	padding:8px;
	display: block;
	margin: 1px;
	text-align: left;
	vertical-align: middle;
	overflow: hidden;
}

/*.list_works{
	line-height: 50px;
	padding: 0px 10px;
}*/

.clear {
	clear: both;
}

.box_text{
	color: #eceff1;
	padding:5px;
	padding-left:15px;
	padding-right:15px;
}

/* Ссылки слева */
.box_left_td textarea{
	background:#eceff1;
	border:1px solid #eceff1;
	color:black;
	border-radius: 2px;
	padding:8px;
	width:300px;
	max-width: 90%;
	box-sizing: border-box;
}

.left-title{
	text-align: left;
	background:#455a64;
	color:#cfd8dc;
	padding:15px;
	padding-left:15px;
	padding-right:15px;
	display: block;
	box-sizing: border-box;
}

.left-links {
    text-align: center;
}

.left-links a {
	text-align: left;	
	color:#cfd8dc;
	background:#37474f;
	padding:15px;
	padding-left:15px;
	padding-right:15px;
	display: block;
	box-sizing: border-box;
}

.left-links a:hover{
	background:#263238;
	color: #FFFFFF;
	
}

.links a:active{
	transition: all .2s; 	
}

/* /Ссылки слева */

.bb-button {
	font-size: 12px;
	text-align: center;
	border: 1px solid rgba(0,0,0,.1);
	border-radius: 2px;
	background: rgb(245,245,245) linear-gradient(#f4f4f4, #f1f1f1);
	color: rgb(24,24,24);
	padding:7px;
	margin: 1px;
	display: inline-block;
}

/* Ссылки панели */
.link_main a {
	text-align: center;
	border: 1px solid rgba(0,0,0,.1);
	border-radius: 2px;
	background: rgb(245,245,245) linear-gradient(#f4f4f4, #f1f1f1);
	color: rgba(0,0,0, .7);
	padding: 10px;
	margin: 1px;
	display: inline-block;
}

.link_main a:hover{
  color: rgb(24,24,24);
  border: 1px solid rgb(198,198,198);
  background: #f7f7f7 linear-gradient(#f7f7f7, #f1f1f1);
  
}

.link_main .down{
	background: #fff;
	border: 1px solid #696969;
	
}

.link_main .down:hover{
	background: #fff;
	border: 1px solid #696969;
	
}

.link_main .down i{
	color: #696969 !important;
}


/* /Ссылки панели */

.link a {
	text-align: center;
	background:#FF9933;
	color: #FFFFFF;
	border-radius: 4px;
	border:1px solid #fff;
	padding:7px 10px;
	margin: 1px;
	display: inline-block;
}

.link a:hover{
	background:#FFFFFF;
	color: #FF9933;
	border:1px solid #FF9933;
	
}

.nosel, .selected, .next, .back {
  font-weight: bold;
  color: white;
  text-decoration: none;
  padding: 10px;
  display: inline-block;
  border-radius: 3px;
  background: rgba(2,119,189 ,1);
  box-shadow: 0 -3px rgba(1,87,155 ,1) inset;
  margin-bottom: 2px;
}

.nosel a, .next a, .back a{color: #FFFFFF;}
.selected {opacity: 0.5; }

.ldel{display: inline-block; float: right;}
.lnk{display: inline-block; border: 1px solid; padding: 2px; border-radius: 3px; padding: 5px;}


/* FORMS */
.label{
	background:white;
	border:1px solid #e5e5e5;
	color:#5B5B5B;
	border-radius: 3px;
	padding:8px;
	display: inline-block;
	margin: 3px;
	width: 170px;
	text-align: left;
}
.label:hover{
	
	transition: all .2s; 
}

.label:active{
	
	transition: all .2s; 	
}

.spans{
	background:white;
	border:1px solid #e5e5e5;
	color:#5B5B5B;
	border-radius: 2px;
	padding:8px;
	display: inline-block;
	margin: 1px;
	text-align: left;
	box-sizing: border-box;
}

.block {
	display: block;
}

input[type~="text"],input[type~="password"],input[type~="select"],input[type~="email"],input[type~="search"],input[type~="date"],input[type~="time"],input[type~="number"]{
	box-sizing: border-box;
    font-size:12px;
    font-family:'Roboto', Arial, sans-serif;
	background:white;
	border:1px solid #e5e5e5;
	color:black;
	border-radius: 2px;
	padding: 8px;
	width:250px;
	height: 33px;
	margin: 2px;
}

textarea{
	background:white;
	border:1px solid #e5e5e5;
	color:black;
	border-radius: 2px;
	padding:8px;
	width:300px;
	max-width: 90%;
	box-sizing: border-box;
	font-size:12px;
    font-family:'Roboto', Arial, sans-serif;
}

.bigarea{
	width:80%;
	height: 200px;
}

select{
	box-sizing: border-box;
    font-size:12px;
    font-family:'Roboto', Arial, sans-serif;
	background:white;
	border:1px solid #e5e5e5;
	color:black;
	border-radius: 2px;
	width:250px;
	padding:8px;
	margin: 3px;
}

select:hover{ 
	border:1px solid #636363;
	transition: all .2s;
	cursor: pointer;
}

textarea:hover{ 
	border:1px solid #636363;
	transition: all .2s; 
}

input[type~="text"]:hover,input[type~="password"]:hover,input[type~="email"]:hover{
	background:white;
	border:1px solid #636363;
	transition: all .2s;
}

input[type~="password"] {
	-webkit-text-security:square;
}

input[type~="text"]:focus,input[type~="password"]:focus,input[type~="email"]:focus{
	
	transition: all .2s; 	
}

input[type="submit"], input[type="button"], button{
	font-weight: bold;
    color: white;
    text-decoration: none;
    padding: 9px;
    font-size:12px;
    font-family:'Roboto', Arial, sans-serif;
    display: inline-block;
    border: none;
    border-radius: 3px;
    background: rgba(2,119,189 ,1);
    box-shadow: 0 -3px rgba(1,87,155 ,1) inset;
}
input[type="submit"]:hover, input[type="button"]:hover, button:hover{
	opacity: 0.5;
	cursor: pointer;
}

input[type="submit"]:disabled, input[type="button"]:disabled{
	opacity: 0.5; 
}

input[type="submit"]:active{
	
	transition: all .2s; 	
}
/*
.workser input[type="text"], .workser select{
	display: none;    
}

.workser:hover input[type="text"], .workser:hover select{
	display: inline-block;    
}

.workser input[type="text"]:focus, .workser select:focus{
	display: inline-block;    
}
*/
.radio {
	vertical-align: top;
	width: 17px;
	height: 17px;
	margin: 0 3px 0 0;
	z-index: 1;
}
.radio + label {
	cursor: pointer;
}
.radio:not(checked) {
	position: absolute;
	opacity: 0;
}
.radio:not(checked) + label {
	position: relative;
	padding: 0 0 0 35px;
}
.radio:not(checked) + label:before {
	content: '';
	position: absolute;
	top: -3px;
	left: 0;
	width: 22px;
	height: 22px;
	border: 1px solid #CDD1DA;
	border-radius: 50%;
	background: #FFF;
}
.radio:not(checked) + label:after {
	content: '';
	position: absolute;
	top: 1px;
	left: 4px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #D8752B;
	
	opacity: 0;
	transition: all .2s;
}
.radio:checked + label:after {
	opacity: 1;
}
.radio:focus + label:before {
	
}

.checkbox {
	vertical-align: top;
	margin: 0 3px 0 0;
	width: 17px;
	height: 17px;
	z-index: 1;
}

.checkbox + label {
	cursor: pointer;
}


.checkbox:not(checked) {
	position: absolute;
	opacity: 0;
}
.checkbox:not(checked) + label {
	position: relative; 
	padding: 0 0 0 60px; 
}

.checkbox:not(checked) + label:before {
	content: '';
	position: absolute;
	top: -4px;
	left: 0;
	width: 50px;
	height: 24px;
	border-radius: 13px;
	background: #CDD1DA;
	
}

.checkbox:not(checked) + label:after {
	content: '';
	position: absolute;
	top: -2px;
	left: 2px;
	width: 20px;
	height: 20px;
	border-radius: 10px;
	background: #FFF;
	
	transition: all .2s; 
}

.checkbox:checked + label:before {
	background: #9FD468;
}

.checkbox:checked + label:after {
	left: 26px;
}

.checkbox:focus + label:before {
	
}
/*******************/
hr {
	height: 1px;
	overflow: hidden;
	font-size: 0;
	line-height: 0;
	background: #ccc;
	margin: 50px 0;
	border: 0;
}
.b-calendar {
	font: 14px Arial, sans-serif;

}
.b-calendar a{
	color: inherit;
}
.b-calendar--along {
	width: 80%;
	padding: 30px 40px;
	margin: 50px auto;
}
.b-calendar--many {
	min-width: 200px;
	width: 70%;
	display: inline-block;
	vertical-align: top;
	border-radius: 15px;
}
.b-calendar__title {
	text-align: center;
	margin: 2px 0 8px 0px;
}
.b-calendar__year {
	font-weight: bold;
	color: #333;
}
.b-calendar__tb {
	width: 100%;
}
.b-calendar__head {
	font: bold 14px Arial, sans-serif;
	padding: 5px;
	text-align: left;
	border-bottom: 1px solid #c0c0c0;
}
.b-calendar__np {
	padding: 5px;
}
.b-calendar__day {
	font: 14px/1.2 Arial, sans-serif;
	text-align: left;
}
.b-calendar__weekend {
	color: red;
}
.b-calendar__number a:hover {
	border-radius: 3px;
	background: #333;
	color: #FFF;
	width: 26px;
}
.b-calendar__number a{
	text-align: center;
	display: inline-block;
	min-width: 26px;
	padding: 6px 0px;
}
   
.b-calendar__month a:hover{
	color: green;
}       
 
.inline {
	display: inline-block;
}

.nowork:before {
	content:'';
	position:absolute;
	display:block;
	width:auto;
	height:auto;
	left:0;
	top:0;
	right:0;
	bottom:0;
	background: rgba(0,0,0,0) url(/assets/images/cross.svg) no-repeat;
	background-size:100% 100%; /* растягивает фон на всю ширину и высоту блока */
}

textarea::-webkit-scrollbar {width: 3px;}
textarea::-webkit-scrollbar-track {background: #fff;}

textarea::-webkit-scrollbar-thumb {
background: rgba(0,0,0,.3);
border-radius: 3px;
}

textarea::-webkit-scrollbar-thumb:hover {background: rgba(0,0,0,.5);}

@keyframes openTooltip {
  0% {
    display: block;
    opacity: 0;
    visibility: hidden;
  }
  100% {
    display: block;
    opacity: 1;
    visibility: visible;
  }
}   
  
@keyframes closeTooltip {
  0% {
    display: block;
    opacity: 1;
    visibility: hidden;
  }
  100% {
    display: block;
    opacity: 0;
    visibility: visible;
  }
}     
   
.tooltip {
    display: inline-block; 
    position: relative; 
    cursor: help;
}
 
.tooltip:before {
	 content:attr(data-title);
	 box-sizing:border-box;
	 display:none;
	 background:rgba(0,0,0,.7);
	 color:white;
	 padding:10px;
	 position:absolute;
	 left:50%;
	 top:-50px;
	 margin-left:-100px;
	 width:200px;
	 border-radius:5px;
	 z-index: 11111;
}
 
.tooltip:hover:before {
	 display:block;
	 opacity:1;
	 animation-name: openTooltip;
	 animation-duration: .25s;
	 animation-iteration-count: 1;
	 animation-direction: normal;
 	 animation-timing-function: ease-out;
	 animation-fill-mode: forwards;
	 animation-delay: 0s;
}
