@font-face {
    font-family: 'myfonts';
  font-style: normal;
  font-weight: 400;
  src: url("/admin/css/fonts.ttf"); 
}
*{margin:0;padding:0;font-family:'myfonts';}
html{background: none;font-size:16px;line-height:17px;color:#00538A;}

header{display:block;position:relative;z-index:100;}

h2{color:#146DA8;}
header{background:#2EA8E2;color:#fff;border-bottom:1px #CFE6FF solid;}
header a{color:#fff;text-decoration:none;}
header h1 span{font-size:15px;font-weight:100;}
.bg{background:url("http://web-mastera.com/public/style_images/master/bg.jpg")repeat;}

.content{padding:15px 20px;max-width:1700px;margin:0 auto;position:relative;z-index:100;}
.content_adm{padding:5px 20px;max-width:1700px;margin:0 auto;}
.options{max-width:1920px;margin:0 auto;}
.stats{width:100%;}

.clr{clear:both;}
.f_l{float:left;}
.f_r{float:right;}

#ahrefh a {text-decoration:underline; }
#ahrefh a:hover{text-decoration:none; }

.cart{background:#E2F3FF;box-shadow:1px 1px 7px #6F9EC3;padding:10px;border-radius:4px;float:left;width:300px;margin:0 20px 20px 0;color:#3477B4;}
.cart input[type=text],input[type=email]{background:#fff;outline:none;border:1px #88B6CC solid;border-radius:4px;padding:5px 10px;width:277px;color:#333;margin:3px 0 10px 0;}
.description{min-width:500px;}

.tb_header{background:#378FCA !important;text-align:center;color:#fff !important;}
.tb_header td{padding:3px 10px !important;color:#fff !important;}

.href{margin: 0 0 0 20px;}
.show{font-size:19px;text-decoration:none;border-bottom: 1px #fff dashed;color:#fff;float:left;}
.click_show{color:#FFC376;margin:-3px 0 0 5px;display: block;float:left;font-size:10px;cursor:default;}

td{padding:10px;color:#3477B4;}

tr:nth-child(1n) {
    background: #fff;
}
tr:nth-child(2n) {
    background: #EDF7FD;
}

.del{background:#7CA300;padding:3px 5px 5px 5px;text-decoration:none;color:#fff;font-size:11px;text-align:center;}

.b{font-weight:bold;font-size:14px;}
.grey{color:#919191;}
.red{color:#C50000;font-weight:bold;}
.price{color:#B30202;font-weight:bold;font-size:15px;}
.str_rek,.bg_rek{list-style:none;float:left;background:#53A9DA;padding:3px 16px;margin:0 1px 10px 0;color:#fff;cursor:pointer;}
.str_rek:hover,.bg_rek:hover{background:#1D84BE;}
#bg{display:none;}

/*Авторизация*/
.login{background:#43A7E0;width:273px;margin:10% auto 0;border-radius:4px;border:1px #B4E3FD solid;padding:10px 20px;text-align:center;}
.login input[type=text],input[type=password]{background:#fff;border:1px #008EC5 solid;border-radius:4px;outline:none;padding:5px 10px;width:250px;margin:10px 0;}
.login input[type=text]:focus,input[type=password]:focus{box-shadow:0 0 5px #fff;border:1px #fff solid;}
.login h3{color:#fff;}
.adm_in{background:#006FAD;color:#fff;padding:8px 10px;outline:none;border:none;width:271px;cursor:pointer;border-radius:4px;}
.adm_in:hover{background:#016096;}
.adm_error{background:#000;padding:3px 10px;color:#fff;margin:4px 0 -3px 0;}
.submit{background:#729E00;outline:none;border:none;color:#fff;width:300px;padding:7px 0;cursor:pointer;}
.submit:hover{background:#648A02;}

/*---Админ-панель---*/

.logo{display:block;float:left;margin:0 10px 0 0;width:30px;}
.version{text-align:right;margin:-20px 0 0 0;color:#ccc;font-size:12px;}
.adm_header{background:#4E4E4E;color:#fff;border-bottom:1px #CFE6FF solid;font-size:17px;}
.out{color:#FFAD00;font-size:13px;}
.out:hover{color:#fff;}
.error_adm{font-size:21px;color:#C50000;text-align:center;margin:10% auto;}

.content2{padding:0 20px;max-width:1700px;margin:0 auto;}

.menu{background:#333333;width:100%;padding:5px 0;margin:-3px 0 0 0;}
.menu li{float:left;list-style:none;}
.menu a{color:#fff;text-decoration:none;padding:5px 20px;border-right:1px #000 solid;}
.menu a:hover{background:#000;}
#wake{color:#fff;text-decoration:none;padding:5px 20px;border-right:1px #000 solid;cursor:pointer;position:relative;}
.wake{border-right:1px #000 solid;cursor:pointer;position:relative;background:none;outline:none;border:none;color:#fff;padding:5px 20px;margin:-5px 0 -5px 0;}
.wake:hover{background:#000;}
#sleep{position:absolute;top:25px;left:0;background:#333333;padding:10px;}
#sleep textarea{width:200px;padding:5px 10px;}
#sleep input[type=submit]{width:222px;height:20px;border:none;background:#CE0303;color:#fff;outline:none;cursor:pointer;}

.deli{background:#76C2EC;padding:10px;margin:0 10px 10px 0;border:1px #fff solid;width:170px;height:170px;float:left;position:relative;}
.del_img{border:1px #fff solid;box-shadow:2px 2px 3px #669BC5;margin:0 auto;display:block;}
.delete{color:#fff;font-weight:bold;text-decoration:none;position:absolute;top:0;right:0;background:#DA0000;padding:0 3px;}
.href{color:#fff;font-size:10px;margin:3px 0 0 8px;}

.config{background:#4E4E4E;padding:10px;width:212px;margin:0 auto;color:#A0A0A0;}
.config input[type=text]{padding:3px 5px;margin:3px 0 10px 0;width:200px;border:none;background:#C9C9C9;outline:none;}
.config input[type=submit]{background:#FF7000;width:210px;color:#fff;border:none;outline:none;cursor:pointer;padding:5px 0;margin:5px 0 0 0;}
.config input[type=submit]:hover{background:#E91C00;}

.result_msg{background:#C2FF00;padding:3px 0;color:#4E7A00;text-align:center;font-weight:bold;position:absolute;width:100%;}
.result_msg_del{background:#D50000;padding:3px 0;color:#fff;text-align:center;font-weight:bold;position:absolute;width:100%;}

.btn{background:#4E4E4E;padding:3px 5px;outline:none;border:none;color:#fff;}

/*---ЧАТ---*/

#chat{background:#C3E5FF;padding:10px 20px 10px 10px;border:#3992CE 3px solid;}
.chat_window{background:#fff;overflow-y: scroll;width:100%;height:350px;white-space:normal;font-size:11px;border:#3992CE 1px solid;padding:5px 0 0 5px;}
.chat_window a{color:#B20000;font-weight:bold;}
#msg{background:#fff;width:200px;padding:3px 10px;margin:5px 0;}
.sait{color:#DEDEDE;font-size:10px;}
#sleep{display:none;}