/*******************************************
 *** Фреймворк WEBBERRIES v4 
 *** Собственность компании WEBBERRIES
 *** https://webberries.ru (C) 2005-2022
 *** Для вопросов: webberries@yandex.ru
 *** Дата обновления: 25.09.2022
 *** Версия файла: V4.01
 *******************************************/

/*--------------------------------   MAIN CSS   --------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

* { box-sizing: border-box; }

html, body, h1, h2, h3, h4, h5, h6, div, span, input, textarea, table, td, th, nav, section, nav, header, select, footer, button {
  font-family: 'Montserrat', sans-serif;
}

html, body, div, span, input, textarea, select, button { font-size: 12pt; }
span { font-size: 1em; }
body { background: #ffffff; margin: 0; }
img { max-width: 100% !important; }

/*--------------------------------   SHADOW FOR DIV   --------------------------------*/

.shadow-1 { box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24) !important; }
.shadow-2 { box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23) !important; }
.shadow-3 { box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23) !important; }
.shadow-4 { box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22) !important; }
.shadow-5 { box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22) !important; }

.shadow-1--low { box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.12) !important; }
.shadow-2--low { box-shadow: 0 3px 6px rgba(0,0,0,0.08), 0 3px 6px rgba(0,0,0,0.11) !important; }
.shadow-3--low { box-shadow: 0 10px 20px rgba(0,0,0,0.09), 0 6px 6px rgba(0,0,0,0.11) !important; }
.shadow-4--low { box-shadow: 0 14px 28px rgba(0,0,0,0.12), 0 10px 10px rgba(0,0,0,0.11) !important; }
.shadow-5--low { box-shadow: 0 19px 38px rgba(0,0,0,0.15), 0 15px 12px rgba(0,0,0,0.11) !important; }



/*--------------------------------   HEADERS   --------------------------------*/

h1, h2, h3, h4, h5, h6 {
  text-transform: none;
  font-weight: bold;
  padding: 0;
  margin: 0;
  text-align: left;
}

h1, h2 {font-size: 2em; }
h3, h4, h5, h6 {font-size: 1.5em; }



/*--------------------------------   SECTION, DIV.CONTAINER AND BLOCKS   --------------------------------*/

section, header, footer, nav, article, main { 
  width: 100%; 
  min-width: 1220px; 
  padding: 0 20px; 
  overflow: hidden; 
  position: relative; 
}

div.con { 
  width: 1180px; 
  overflow: hidden; 
  margin: 0 auto; 
  position: relative; 
  height: 100%;
}

div.con-10 {
  width: calc(100% + 20px);
  position: relative;
  right: 10px;
}

div.con-20 {
  width: calc(100% + 40px);
  position: relative;
  right: 20px;
}

div.con-30 {
  width: calc(100% + 60px);
  position: relative;
  right: 30px;
}

.vis {
  overflow: visible !important;
}

.las {
  font-size: 1.5em;
  position: relative;
  top: 0.125em;
}

.las.no {
  font-size: 1em;
  position: unset;
  top: unset;
}


div.conf {
  display: flex;
  flex-wrap: wrap;
}

div.conf > div {
  flex-grow: 1;
  flex-shrink: 0;
  min-width: 187px;
}

div.conf.conf-c {
  justify-content: center;
}

div.conf.conf-c > div {
  flex-grow: 0;
  flex-shrink: 1;
}

div.conf.conf-1 > div {
  width: 100%;
}

div.conf.conf-2 > div {
  width: 50%;
}

div.conf.conf-3 > div {
  width: 33.33333333%;
}

div.conf.conf-4 > div {
  width: 25%;
}

div.conf.conf-5 > div {
  width: 20%;
}

.item {
  position: relative;  
}

.item.item-100:before {
  content: "";
  float: left;
  padding-top: 100%;
}

.item.item-80:before {
  content: "";
  float: left;
  padding-top: 80%;
}

.item.item-75:before {
  content: "";
  float: left;
  padding-top: 75%;
}

.item.item-56:before {
  content: "";
  float: left;
  padding-top: 56.25%;
}

.item.item-50:before {
  content: "";
  float: left;
  padding-top: 50%;
}

.item.item-40:before {
  content: "";
  float: left;
  padding-top: 40%;
}

.item > .inside {
  position: relative;
}

.con-10 .item > .inside {
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: 10px;
  left: 10px;
}

.con-20 .item > .inside {
  position: absolute;
  top: 20px;
  right: 20px;
  bottom: 20px;
  left: 20px;
}

.con-30 .item > .inside {
  position: absolute;
  top: 30px;
  right: 30px;
  bottom: 30px;
  left: 30px;
}


.itembasis100 {
  flex-basis: 100%;
}



.b-1, .b-2, .b-3, .b-4, .b-5, .b-6, .b-7, .b-8, .b-9, .b-10, .b-3f, .b-4f, .b-5f,
.b-20, .b-30, .b-40, .b-50, .b-60, .b-70, .b-80, .b-90, .b-100  {
  display: block;
  float: left;
  margin: 0;
  padding: 0;
  position: relative;
}


/* blocs standart */
.b-1 {width: 100%; }
.b-2 {width: 50%; }
.b-3f {width: 66.66666666%; }
.b-3 {width: 33.33333333%; }
.b-4f {width: 75%; }
.b-4 {width: 25%; }
.b-5f {width: 80%; }
.b-5 {width: 20%; }
.b-6 {width: 16.66666666%; }
.b-7 {width: 14.28571428%; }
.b-8 {width: 12.5%; }
.b-9 {width: 11.11111111%; }
.b-10 {width: 10%; }



.ob-5 {
  position: relative;
  width: calc(100% + 10px);
  right: 5px;
}
.ob-10 {
  position: relative;
  width: calc(100% + 20px);
  right: 10px;
}
.ob-15 {
  position: relative;
  width: calc(100% + 30px);
  right: 15px;
}
.ob-20 {
  position: relative;
  width: calc(100% + 40px);
  right: 20px;
}
.ob-25 {
  position: relative;
  width: calc(100% + 50px);
  right: 25px;
}
.ob-30 {
  position: relative;
  width: calc(100% + 60px);
  right: 30px;
}

.ob-40 {
  position: relative;
  width: calc(100% + 80px);
  right: 40px;
}

.ob-50 {
  position: relative;
  width: calc(100% + 100px);
  right: 50px;
}



/*--------------------------------   LINKS   --------------------------------*/

a:link {color: unset; text-decoration: none;}
a:visited {color: unset; text-decoration: none; }
a:active {color: unset; text-decoration: none;}
a:hover {color: unset; text-decoration: none;}

a.blue:link {color: #006699; text-decoration: underline;}
a.blue:visited {color: #006699; text-decoration: underline; }
a.blue:active {color: #006699; text-decoration: underline;}
a.blue:hover {color: #009999; text-decoration: none;}

/*--------------------------------   CLEAR DIV   --------------------------------*/

div.clear { 
  clear: both !important; 
}


/*--------------------------------   PARAGRAPH AND INPUT STYLES   --------------------------------*/

p {
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

input:focus, textarea:focus {
  outline: none;
} 

input[type=text], input[type=number], input[type=tel], input[type=password], select {
  width: 100%;
  border: 0;
  padding: 0 12px;
  text-align: left;
  background: #fefefe;
  height: 50px;
  line-height: 50px;
  margin: 0;
  font-size: 1em;
  outline: none;
  -webkit-appearance: none;
  border: 1px solid #c5c5c5;
}

textarea {
  width: 100%;
  border: 1px solid #c5c5c5;
  padding: 12px;
  text-align: left;
  background: #fefefe;
  margin: 0;
  font-size: 1em;
}

input[type=submit], button, .btn {
  display: inline-block;
  border: 0;
  padding: 0 36px;
  height: 50px;
  line-height: 50px;
  cursor: pointer;
  transition: 0.1s;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9em;
  border-radius: 0px;
  background: #03A9F4;
  color: #fff;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, .2);
  -webkit-appearance: none;
  outline: none;
}

input[type=submit]:hover, button:hover, .btn:hover {
  background: #0288D1;
  transition: 0.2s;
}

input:required, button:required {
  box-shadow:none;
}

input:invalid, button:invalid {
  box-shadow:0;
}



/*------------------------------------------------------------------------------
 ******************* END OF BASE SETTINGS **************************************
-------------------------------------------------------------------------------*/






/*------------------------------------------------------------------------------
 ******************* ADDITIVE SETTINGS *****************************************
-------------------------------------------------------------------------------*/


/*--------------------------------   OVERLAY WINDOWS SETTINGS   --------------------------------*/

div.popup {
  z-index: 9999999;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.75);
  display: none;
}

div.popup .window {
  width: 600px;
  padding: 60px;
  background: #eee;
  color: #111;
  border-radius: 3px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

div.popup .window h3 {
  padding: 0;
  margin: 0;
  margin-bottom: 10px;
  color: #111;
  text-transform: uppercase;
  font-size: 1.2em;
  text-align: center;
}
div.popup .window p.sub {
  color: #232323;
  font-size: 0.8em;
  margin-bottom: 30px;
  text-transform: none;
  text-align: center;
}
div.popup .window p.down {
  color: #575757;
  font-size: 0.65em;
  margin-top: 15px;
  text-transform: none;
  text-align: center;
  padding: 0 15%;
}
div.popup .window .close {
  position: absolute;
  top: 10px;
  right: 10px;
  line-height: 30px;
  color: #111;
  text-align: center;
  font-size: 1.75em;
  transition: 0s;
  cursor: pointer;
}
div.popup .window .close:hover {
  color: rgb(229,57,53);
  transition: 0.25s;
}

div.popup .window input {
  margin-top: 10px;
  text-align: center;
  width: 70%;
  height: 50px;
  line-height: 50px;
  border: 0;
  border-radius: 3px;
}

div.popup .window button {
  margin-top: 30px;
  width: 70%;
  height: 60px;
  line-height: 60px;
  border-radius: 3px;
  padding: 0;
}


/*--------------------------------   STOP ANIMATE ON HOVER   --------------------------------*/

.stopanimate {
  animation-play-state: running;
}
.stopanimate:hover {
  animation-play-state: paused;
}


/*--------------------------------   CUSTOM-BTN - BLINK ON BUTTON AND DIVS   --------------------------------*/

.custom-btn {
    display: inline-block;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border: none;
    position: relative;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    -webkit-transition: ease 0.3s;
    transition: ease 0.3s;
}

.custom-btn:after {
    content: "";
    display: block;
    width: 30px;
    height: 300px;
    margin-left: 60px;
    background: #fff;
    background: -moz-linear-gradient(top, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.2) 100%);
    background: -webkit-linear-gradient(top, rgba(255,255,255,0.2) 0%,rgba(255,255,255,0.8) 50%,rgba(255,255,255,0.2) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,0.2) 0%,rgba(255,255,255,0.8) 50%,rgba(255,255,255,0.2) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b3ffffff', endColorstr='#b3ffffff',GradientType=0 );
    position: absolute;
    left: -40px;
    top: -150px;
    z-index: 1;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all 0.1s;
    transition: all 0.1s;
    -webkit-animation-name: slideme;
    animation-name: slideme;
    -webkit-animation-duration: 3s;
    animation-duration: 3s;
    -webkit-animation-delay: 0.05s;
    animation-delay: 0.05s;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}
 
@-webkit-keyframes slideme {
    0% { left: -30px; margin-left: 0px; }
    30% { left: 110%; margin-left: 80px; }
    100% { left: 110%; margin-left: 80px; } 
}

/*------------------------------------------------------------------------------
 ******************* END OF ADDITIVE SETTINGS **********************************
-------------------------------------------------------------------------------*/







/*------------------------------------------------------------------------------
 ******************* CHECKBOX & RADIO BUTTONS **********************************
-------------------------------------------------------------------------------*/


input[type="checkbox"]:checked, 
input[type="checkbox"]:not(:checked), 
input[type="radio"]:checked, 
input[type="radio"]:not(:checked) 
{
    position: absolute;
    left: -9999px;
}

input[type="checkbox"]:checked + label, 
input[type="checkbox"]:not(:checked) + label, 
input[type="radio"]:checked + label, 
input[type="radio"]:not(:checked) + label {
    display: inline-block;
    position: relative;
    padding-left: 28px;
    line-height: 20px;
    cursor: pointer;
}

input[type="checkbox"]:checked + label:before, 
input[type="checkbox"]:not(:checked) + label:before,
input[type="radio"]:checked + label:before, 
input[type="radio"]:not(:checked) + label:before {
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    width: 18px;
    height: 18px;
    border: 1px solid #dddddd;
    background-color: #ffffff;
}

input[type="checkbox"]:checked + label:before, 
input[type="checkbox"]:not(:checked) + label:before {
    border-radius: 0px;
}

input[type="radio"]:checked + label:before, 
input[type="radio"]:not(:checked) + label:before {
    border-radius: 100%;
}

input[type="checkbox"]:checked + label:after, 
input[type="checkbox"]:not(:checked) + label:after, 
input[type="radio"]:checked + label:after, 
input[type="radio"]:not(:checked) + label:after {
    content: "";
    position: absolute;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

input[type="checkbox"]:checked + label:after, 
input[type="checkbox"]:not(:checked) + label:after {
    left: 3px;
    top: 4px;
    width: 10px;
    height: 5px;
    border-radius: 0px;
    border-left: 4px solid #535353;
    border-bottom: 4px solid #535353;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

input[type="radio"]:checked + label:after, 
input[type="radio"]:not(:checked) + label:after {
    left: 5px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: #535353;
}

input[type="checkbox"]:not(:checked) + label:after, 
input[type="radio"]:not(:checked) + label:after {
    opacity: 0;
}

input[type="checkbox"]:checked + label:after, 
input[type="radio"]:checked + label:after {
    opacity: 1;
}
