/* --------------- reset.css --------------- */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, em, img, strong, sub, sup, b, u, i,  dl, dt, dd, ol, ul, li, fieldset, form, label, table, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;                               /* обнуляем отступы и убираем бордюры */
	vertical-align: baseline;          /* приводим все к одной базовой линии */
	background: transparent;      /* чтобы не проскакивали левые фоны, установленные по умолчанию */
	font-size: 100%;                     /* размер шрифта всем одинаковый */
}
a {                                      	     /* ссылка не в общем списке чтобы не сбрасывать outline по умолчанию */
	margin:0;
	padding:0;
	font-size:100%;
	vertical-align:baseline;
	background:transparent;
	outline:none;
}
table {						/* устраняем отступы между ячейками таблицы */
	border-collapse: collapse; 
	border-spacing: 0;
}
td, td img {
	vertical-align: top;			/* возвращаем привычное вертикальное выравнивание */
} 
input, select, button, textarea {
	margin: 0; 				/* убираем отступы по умолчанию для элементов форм (в частности для checkbox и radio) */
	font-size: 100%; 			/* делаем размер шрифтов везде одинаковым */
	outline: none;
}
input[type="text"], input[type="password"], textarea {
	padding: 0; 				/* убираем внутренние отступы для текстовых полей */
}
input[type="checkbox"] { 		/* вертикальное выравнивание чекбоксов и радиобатонов относительно меток */
	vertical-align: middle;
}
input[type="radio"] {
	vertical-align: text-bottom;
}
sub {
	vertical-align: sub;
	font-size: smaller;
}
sup {
	vertical-align: super;
	font-size: smaller;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, section {
	display:block;
}

/* --------------- /reset.css --------------- */

/* --------------- базовые настройки ---------*/
html {
	min-height:100%; /* всегда показываем вертикальную полосу прокрутки  */
}
body {
	color: #404040;
	text-align: left;
	font-size: 1em; /* используем безопасные шрифтовые CSS стеки */
	min-height:100%;
	background: #f9f9f9;
        font-family: 'Open Sans', sans-serif;
}
a, a:visited { /* порядок правил для ссылок имеет значение */
	color: #e6618c;
	text-decoration: underline;
}
a:hover {
	color: #fdf208;
	text-decoration:none;
}
a:focus, a:active {
	color: #c83867;
	text-decoration: underline;
}
h1, h2, h3, h4, h5, h6{
	font-weight:normal;
}
img{

	max-width:100%;
}
.clr{
	clear:both;
}
.clearfix:after {
    clear: both;
    content: "";
    display: table;
}
/* --------------- /базовые настройки ---------*/

   header>h1 {
	font-size: 3.75em; /* 1em=16px */
        margin-bottom: 25px;
   }

   header>h2 {
        margin-left: 43%; /*убираем отступы*/
	font-size: 2em; /* 1em=16px */
        margin-top: 20px;
   }

   header>h3 {
	font-size: 1.125em; /* 1em=16px */
        margin-bottom: 50px;
        font-style: italic;
   }
   header>p {
	font-size: 0.75em; /* 1em=16px */
   }

article {
   max-width: 1200px;
   margin: 0 auto;
   padding: 50px 20px;
} 

   article>h1 {
      font-size: 3em; /* 1em=16px */
      text-align: center;
      margin-bottom: 25px;
   } 
   article>p {
/*      margin-bottom: 30px; */
   } 

   .imgl {
      float: left;
      margin: 0 30px 20px 0;
   }
   .imgr {
      float: rigth;
      margin: 0 10px 20px 600px;
   }
 
  .common {
	background: rgba(86,78,241,0.15);
  }

  .contact {
	background: rgba(210,210,210,0.15);
  }

body{
 background-image: url("../media/ep_naturalwhite.png");
}

.footer{
    position:fixed;
    bottom:0px;
    right:0px;
    border-top: 1px solid #ccc;
    clear: both;
}

::-webkit-input-placeholder { /* для webkit-браузеров */
     color: rgba(0,0,0,0.5);
     font-style: italic;
}
::-moz-placeholder { /* для браузеров Firefox 19+ */
     color: rgba(0,0,0,0.5);
     font-style: italic;
}
:-moz-placeholder { /* для браузеров Firefox 18- */
     color: rgba(0,0,0,0.5);
     font-style: italic;
}
:-ms-input-placeholder { /* для браузеров IE */
     color: rgba(0,0,0,0.5);
     font-style: italic;
}

h2 {
	padding-right: 5%;
	margin-top: 5px;
	font-weight: bold;
	text-align: justify;
        font-size: 1.4em; /* 1em=16px */
	padding-bottom: 10px;
}

h3 {
	padding-left: 5%;
	padding-right: 5%;
	margin-top: 5px;
	font-weight: bold;
	text-align: justify;
        font-size: 1.4em; /* 1em=16px */
        color: #6DC7D0;
	padding-bottom: 10px;
}

h4 {
	margin-top: 5px;
	font-weight: bold;
        font-size: 1.2em; /* 1em=16px */
	padding-bottom: 10px;
}

.ank {
        line-height: 1.8; 
    max-width: 100vw;
//	width: 53%; 
	text-align: left;
	float: left;
	margin-top: 10px;
	background-color: #F8F8F8;
	padding-bottom: 10px;
	margin-left: 0px;
	margin-right: 10px;
	border-radius: 3px;
	padding-left: 5px;
	padding-top: 0px;
	border-left: 4px solid #6DC7D0;
	border-right: 4px solid #6DC7D0;
	border-top: 4px solid #6DC7D0;
	border-bottom: 4px solid #6DC7D0;
}

.anklmb {
        line-height: 1.8; 
    max-width: 100vw;
//	width: 53%; 
  height: 425px;
	text-align: left;
	float: left;
	margin-top: 10px;
	background-color: #F8F8F8;
	padding-bottom: 10px;
	margin-left: 0px;
	margin-right: 10px;
	border-radius: 3px;
	padding-left: 5px;
	padding-top: 0px;
	border-left: 4px solid #6DC7D0;
	border-right: 4px solid #6DC7D0;
	border-top: 4px solid #6DC7D0;
	border-bottom: 4px solid #6DC7D0;
}

.ankmkk {
        line-height: 1.8; 
    max-width: 100vw;
//	width: 53%; 
  height: 480px;
	text-align: left;
	float: left;
	margin-top: 10px;
	background-color: #F8F8F8;
	padding-bottom: 10px;
	margin-left: 0px;
	margin-right: 10px;
	border-radius: 3px;
	padding-left: 5px;
	padding-top: 0px;
	border-left: 4px solid #6DC7D0;
	border-right: 4px solid #6DC7D0;
	border-top: 4px solid #6DC7D0;
	border-bottom: 4px solid #6DC7D0;
}

.parc {
        line-height: 1.8; 
    max-width: 100vw;
//	width: 53%; 
  height: 480px;
	text-align: left;
	float: left;
	margin-top: 10px;
	background-color: #F8f8e8;
	padding-bottom: 10px;
	margin-left: 0px;
	margin-right: 10px;
	border-radius: 3px;
	padding-left: 5px;
	padding-top: 0px;
	border-left: 4px solid #6DC7D0;
	border-right: 4px solid #6DC7D0;
	border-top: 4px solid #6DC7D0;
	border-bottom: 4px solid #6DC7D0;
}

.opt {
        line-height: 1.8; 
    max-width: 100vw;
	text-align: left;
	float: left;
	margin-top: 10px;
	background-color: #F8F8F8;
	padding-bottom: 10px;
	margin-left: 0px;
	margin-right: 10px;
	border-radius: 3px;
	padding-left: 5px;
	padding-top: 0px;
	border-left: 4px solid #6DC7D0;
	border-right: 4px solid #6DC7D0;
	border-top: 4px solid #6DC7D0;
	border-bottom: 4px solid #6DC7D0;
}

.ank input[name="seller_pbr"], .ank input[name="seller_pid"], .ank input[name="seller_addr"],
.ank input[name="buyer_pbr"], .ank input[name="buyer_pid"], .ank input[name="buyer_addr"],
.ank input[name="ts_model"], .ank input[name="ts_category"], .ank input[name="ts_color"], .ank input[name="ts_pts_desc"], 
.ank input[name="ts_sts_desc"],
.ank input[name="place"],
.ank input[name="pbr"], .ank input[name="pid"], .ank input[name="addr"], .ank input[name="faddr"], 
.ank input[name="jname"], .ank input[name="rname"], .ank input[name="post"], .ank input[name="waddr"], .ank input[name="paddr"], .ank input[name="whereby"], 
.ank input[name="fname"], .ank input[name="sname"], .ank input[name="nceo"],
.ank textarea[name="fname"],
.ank input[name="email"], .ank input[name="bank_name"], .ank input[name="condtxt"] {
        padding: 0;
        border: 1;
        width: 700px;
        box-sizing: border-box;
}

@media screen and (max-width: 1350px) {
.ank, .park, .opt {
    max-width: 100vw;
//	width: 80%;
}
}

@media screen and (max-width: 1100px) {
.ank, .park, .opt {
    max-width: 100vw;
//	width: 90%;
}

}

@media screen and (max-width: 950px) {

.ank input[name="seller_pbr"], .ank input[name="seller_pid"], .ank input[name="seller_addr"],
.ank input[name="buyer_pbr"], .ank input[name="buyer_pid"], .ank input[name="buyer_addr"],
.ank input[name="ts_model"], .ank input[name="ts_category"], .ank input[name="ts_color"], .ank input[name="ts_pts_desc"], 
.ank input[name="ts_sts_desc"],
.ank input[name="place"],
.ank input[name="pbr"], .ank input[name="pid"], .ank input[name="addr"], .ank input[name="faddr"], 
.ank input[name="jname"], .ank input[name="rname"], .ank input[name="post"], .ank input[name="waddr"], .ank input[name="paddr"], .ank input[name="whereby"], 
.ank input[name="fname"], .ank input[name="sname"], .ank input[name="nceo"],
.ank textarea[name="fname"],
.ank input[name="email"], .ank input[name="bank_name"], .ank input[name="condtxt"] {
        padding: 0;
        border: 1;
        width: 600px;
        box-sizing: border-box;
}

.ank, .park, .opt {
    max-width: 100vw;
//	width: 100%;
}

}

@media screen and (max-width: 800px) {

.ank input[name="seller_pbr"], .ank input[name="seller_pid"], .ank input[name="seller_addr"],
.ank input[name="buyer_pbr"], .ank input[name="buyer_pid"], .ank input[name="buyer_addr"],
.ank input[name="ts_model"], .ank input[name="ts_category"], .ank input[name="ts_color"], .ank input[name="ts_pts_desc"], 
.ank input[name="ts_sts_desc"],
.ank input[name="place"],
.ank input[name="pbr"], .ank input[name="pid"], .ank input[name="addr"], .ank input[name="faddr"], 
.ank input[name="jname"], .ank input[name="rname"], .ank input[name="post"], .ank input[name="waddr"], .ank input[name="paddr"], .ank input[name="whereby"], 
.ank input[name="fname"], .ank input[name="sname"], .ank input[name="nceo"],
.ank textarea[name="fname"],
.ank input[name="email"], .ank input[name="bank_name"], .ank input[name="condtxt"] {
        padding: 0;
        border: 1;
        width: 500px;
        box-sizing: border-box;
}

.ank, .park, .opt {
    max-width: 100vw;
//	width: 100%;
}

}

@media all and (max-width: 600px){

.ank input[name="seller_pbr"], .ank input[name="seller_pid"], .ank input[name="seller_addr"],
.ank input[name="buyer_pbr"], .ank input[name="buyer_pid"], .ank input[name="buyer_addr"],
.ank input[name="ts_model"], .ank input[name="ts_category"], .ank input[name="ts_color"], .ank input[name="ts_pts_desc"], 
.ank input[name="ts_sts_desc"],
.ank input[name="place"],
.ank input[name="pbr"], .ank input[name="pid"], .ank input[name="addr"], .ank input[name="faddr"], 
.ank input[name="jname"], .ank input[name="rname"], .ank input[name="post"], .ank input[name="waddr"], .ank input[name="paddr"], .ank input[name="whereby"], 
.ank input[name="fname"], .ank input[name="sname"], .ank input[name="nceo"],
.ank textarea[name="fname"],
.ank input[name="email"], .ank input[name="bank_name"], .ank input[name="condtxt"] {
        padding: 0;
        border: 1;
        width: 400px;
        box-sizing: border-box;
}
}

@media all and (max-width: 400px){

.ank input[name="seller_pbr"], .ank input[name="seller_pid"], .ank input[name="seller_addr"],
.ank input[name="buyer_pbr"], .ank input[name="buyer_pid"], .ank input[name="buyer_addr"],
.ank input[name="ts_model"], .ank input[name="ts_category"], .ank input[name="ts_color"], .ank input[name="ts_pts_desc"], 
.ank input[name="ts_sts_desc"],
.ank input[name="place"],
.ank input[name="pbr"], .ank input[name="pid"], .ank input[name="addr"], .ank input[name="faddr"], 
.ank input[name="jname"], .ank input[name="rname"], .ank input[name="post"], .ank input[name="waddr"], .ank input[name="paddr"], .ank input[name="whereby"], 
.ank input[name="fname"], .ank input[name="sname"], .ank input[name="nceo"],
.ank textarea[name="fname"],
.ank input[name="email"], .ank input[name="bank_name"], .ank input[name="condtxt"] {
        padding: 0;
        border: 1;
        width: 300px;
        box-sizing: border-box;
}

}

.list-adm {
    line-height: 1.8; 
	width: 33%;
	text-align: left;
	float: left;
	margin-top: 10px;
	background-color: #F8F8F8;
	padding-bottom: 10px;
	margin-left: 0px;
	margin-right: 10px;
	border-radius: 3px;
	padding-left: 5px;
	padding-top: 0px;
	border-left: 4px solid #6DC7D0;
	border-right: 4px solid #6DC7D0;
	border-top: 4px solid #6DC7D0;
	border-bottom: 4px solid #6DC7D0;
}

.pdn { 
	font-size:1.1em;  
	font-weight: bold;
	width: 160px; 
	display: inline-block; 
	vertical-align: top; 
        padding-top: 2px;
        padding-left: 5px;
}

.pdn1 { 
	font-size:1.1em;  
	font-weight: bold;
	display: inline-block; 
	vertical-align: top; 
        padding-top: 2px;
        padding-left: 5px;
}

.error { 
       border:1px solid red;
   box-shadow:0 2px 5px rgba(0,0,0,0.2);
}

.consul { 
	font-size:1.1em;  
	font-weight: bold;
        padding-top: 10px;
}

input { 
        font-size:1.1em; 
        font-weight:bold;
}

textarea { 
        font-size:1.1em; 
        font-weight:bold;
        font-family: 'Open Sans', sans-serif;
}

input[type="file"]:after {
   content: 'Загрузить';
   margin:0 0 0 0.5em;
   display: inline-block; left: 100%;
   position: relative;
   padding:0.3em 0.5em; 
   border: solid 1px #ccc !important;
   -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.2); 
   box-shadow: 0 1px 3px rgba(0,0,0,0.2);
   border-radius:4px;
}	
 
input[type="file"]:active:after {
   box-shadow:none;
}

input[type="number"] { 
   width: 60px; 
   padding:0.3em 1em; 
   line-height:1em; 
   font-weight:bold; 
   font-size:inherit;
   border:solid 1px #ccc;
}
 
input[type="submit"], input[type="button"] { 
   padding:0.5em 1em; 
   line-height:1em; 
   cursor:pointer;
   border-radius:4px; 
   color:#000; 
   font-weight:bold; 
   font-size:inherit;
   border:solid 1px #ccc;
   box-shadow:0 1px 5px rgba(0,0,0,0.2);
   background-position: center bottom;
}
 
input[type="submit"]:active, input[type="button"]:active {
    -webkit-box-shadow: none;
    box-shadow:none;
}

input[type="submit"]:disabled {
    background-color: #cccccc;
   box-shadow:0 2px 5px rgba(25,0,0,0.2);
}

/* Стилизация таблиц */
table { 
    font-size:1.2em; 
    border-collapse:separate; 
    border:none; 
    border-spacing:0; 
    margin:8px 12px 18px 6px; 
    line-height:1.2em; 
    margin-left:0; 
    margin-right:auto; 
    overflow: auto 
}

table th { 
    font-size:1.0em; 
    font-weight:bold; 
    background:#fff; 
    color:black; 
    border:1px solid #666; 
    border-right:1px solid white 
}

table th:last-child { 
    border-right:1px solid #666 
}

table caption { 
    font-style:italic; 
    margin:10px 0 20px 0; 
    text-align:center; color:#666; 
    font-size:1.4em 
}

tr { 
    border:1px 
}

td { 
    border:1px solid #666; 
    border-width:1px 1px 0 0 
}

td, th { 
    padding:5px 
}

tr td:first-child { 
    border-left-width:1px 
}

tr:last-child td { 
    border-bottom-width:1px 
}

tr, td { 
    border-bottom-width:1px 
}

#menu1{
    position:relative;
    display:block;
    width:100%;
    height:auto;
    z-index:10;
}
#menu1 ul{
    position:relative;
    display:block;
    margin:0px;
    padding:0px;
    width:100%;
    height:auto;
    list-style:none;
    background: #454547;
}
#menu1 > ul{
    font-size:1px;
    line-height:1px;
}
#menu1 > ul::after{
    display:inline-block;
    width:100%;
    height:0px;
    content:" ";
}
#menu1 ul li{
    position:relative;
    display:inline-block;
    width:auto;
    height:auto;
    vertical-align:top;
    text-align:left;
}
#menu1 ul li.razd{
    height:28px;
    width:1px;
    background:#ffffff;
    margin-top:4px;
}
#menu1 ul li a{
    display:block;
    padding:9px 45px 0px 45px;
    font-size:14px;
    font-family:Arial, sans-serif;
    color:#ffffef;
    line-height:1.3em;
    text-decoration:none;
    font-weight:bold;
    text-transform:uppercase;
    height:36px;
    box-sizing:border-box;
}
#menu1 ul li > a:hover, #menu1 ul li:hover > a{
    background:#EBBD5B;
    color:#2B45E0;
}
#menu1 ul li ul{
    position:absolute;
    top:36px;
    left:0px;
    display:none;
    width:auto;
    background:#EBBD5B;
    white-space:nowrap;
}
#menu1 > ul > li:last-child > ul{/*последний пункт будет прикреплен по правому краю*/
    left:auto;
    right:0px;
}
#menu1 ul li:hover > ul{display:block;}/*эта строчка реализует механизм выпадения*/
#menu1 ul li ul li{
    display:block;
    width:auto;
}
#menu1 ul li ul li a{
    display:block;
    text-transform:none;
    height:auto;
    padding:7px 45px;
    width:100%;
    box-sizing:border-box;
    border-top:1px solid #ffffff;
}
#menu1 ul li ul li:first-child > a{border-top:0px;}
#menu1 ul li ul li a:hover, #menu1 ul li ul li:hover > a{
    background:#FDDC96;
    color:#6572BC;
}
#menu1 ul li ul li ul{
    top:0px;
    left:100%;
    display:none;
    background:#fddc96;
}
#menu1 > ul > li:last-child > ul ul{left:auto; right:100%;}
#menu1 ul li ul li ul a{color:#F38A01;}

.buttonup {
width:40px; 
height:60px;
position:fixed;
top:0px;
left:0px;
}

.raz { /* стиль текста, наведя или нажав на который появится пояснение */
  display: inline-block;
  position: relative;
  background: #E6E6E6; /* цвет фона */
  text-indent: 0px;
  cursor: help; /* вид курсора */
}
.raz > span { /* стиль появляющейся подсказки */
  position: absolute;
//  bottom: 100%;
  top: 100%;
  left: -20em; /* = max-width */
  right: -20em; /* = max-width */
  width: -moz-max-content;
  width: -webkit-max-content;
  width: max-content;  /* ширина подсказки может быть не более содержимого */
  max-width: 20em;  /* ширина подсказки может быть не более 20em */
  max-height: 80vh; /* необязательное ограничение по высоте подсказки, 1vh &#8212; это 1% от ширины окна */
  overflow: auto;
  visibility: hidden;
  margin: 0 auto .4em; /* поднята на .4em над текстом, наведя или нажав на который появится пояснение */
  padding: .3em;
  border: solid rgb(200,200,200);
  font-size: 90%;
  background: #fff;
  line-height: normal;
  cursor: auto;
}
.raz.left > span { /* начинается от левого края */
  left: 0;
  right: -20em;
  margin: 0 0 .4em;
}
.raz.right > span { /* начинается от правого края */
  left: -20em;
  right: 0;
  margin: 0 0 .4em auto;
}
.raz:after { /* треугольничек под подсказкой; тут тоже везде .4em */
  content: "";
  position: absolute;
  top: -.4em;
  left: 50%;
  visibility: hidden;
  margin: 0 0 0 -.4em;
  border: .4em solid;
  border-color: rgb(200,200,200) transparent transparent transparent;
  cursor: auto;
}
.raz.left:after {
  left: 1em;
}
.raz.right:after {
  left: auto;
  right: .6em; /* 1em - .4em */
}
.raz:before { /* поле между текстом, наведя или нажав на который появится пояснение, и подсказкой нужно чтобы, если перевести курсор мышки на подсказку, та не исчезла; тут тоже везде .4em */
  content: "";
  position: absolute;
  top: -.4em;
  left: 0;
  right: 0;
  height: .4em;
  visibility: hidden;
}
.raz:hover > span,
.raz:hover:before,
.raz:hover:after,
.raz:focus > span,
.raz:focus:before,
.raz:focus:after {
  visibility: visible;
  transition: 0s .4s;
}
.raz:focus { /* убрать рамку в Хроме */
  outline: none;
}
.raz.anim > span,
.raz.anim:after { /* анимация */
  opacity: 0;
  transform: translateY(1.5em) scale(.3);
  transform-origin: center bottom;
}
.raz.anim:after {
  transform: translateY(.7em) scale(.3); /* 1.7 = 1.5 / (1.4*2) */
}
.raz.anim:hover > span,
.raz.anim:hover:after,
.raz.anim:focus > span,
.raz.anim:focus:after {
  opacity: 1;
  transition: .6s .4s;
  transform: translateY(0);
}
@media (max-width: 20em) { /* ширина подсказки может быть не более ширины окна браузера */
  .raz > span {
    max-width: 100vw;
    box-sizing: border-box;
  }
}

.subscribe {
    width: 100%;
    padding: 2px;
    margin: 0 auto 10px auto;
    border-radius: 5px;
}
.subscribe input {
    float: left;
}
.subscribe input:hover {
    background: rgba(106, 255, 15, 0.77);
}
.subscribe input:active {
    background: background: #527505;
}

.mintext {
    font-size:12px; 
    font-weight:bold;
}

.amax {float:left; width:100%;}
