/*------------------------------------------------------------------------------
 ******************* Файл постоянных стилей: webberries.css ********************
 ******************* Собственность компании WEBBERRIES *************************
 ******************* https://webberries.ru (C) 2018-2022 ***********************
 ******************* Для вопросов: webberries@yandex.ru ************************
 ******************* Дата обновления: 04.01.2022 *******************************
-------------------------------------------------------------------------------*/

/*------------------------------------------------------------------------------
 ******************* BASE SETTINGS *********************************************
-------------------------------------------------------------------------------*/

/*--------------------------------   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, footer, button {
  font-family: 'Montserrat', sans-serif;
}

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



/*--------------------------------   NOISE FOR BACKGROUNDS   --------------------------------*/

.noise {
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF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adZUbfw177G7j/OGbIs8TahLyynl4X4RinF793Oz+BU0saXtUHrVBFT/DnA3ctNPoGbs4hRIjTok8i+algT1lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==');
}



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

.sh-1 { box-shadow: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.14) !important; }
.sh-2 { box-shadow: 0 3px 6px rgba(0,0,0,0.09), 0 3px 6px rgba(0,0,0,0.16) !important; }
.sh-3 { box-shadow: 0 10px 20px rgba(0,0,0,0.11), 0 6px 6px rgba(0,0,0,0.18) !important; }
.sh-4 { box-shadow: 0 14px 28px rgba(0,0,0,0.13), 0 10px 10px rgba(0,0,0,0.21) !important; }
.sh-5 { box-shadow: 0 19px 38px rgba(0,0,0,0.15), 0 15px 12px rgba(0,0,0,0.23) !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%;
}

.vis {
  overflow: visible !important;
}


.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;
}



.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%; }


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

/* blocs width in percents */
.b-20 { width: 20%; }
.b-30 { width: 30%; }
.b-40 { width: 40%; }
.b-50 { width: 50%; }
.b-60 { width: 60%; }
.b-70 { width: 70%; }
.b-80 { width: 80%; }
.b-90 { width: 90%; }
.b-100 { width: 100%; }

/*--------------------------------   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;
}

textarea {
  width: 100%;
  border: 1px solid #c5c5c5;
  padding: 12px 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.2s;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 0.8em;
  border-radius: 0px;
  background: #232323;
  color: #fff;
  -webkit-appearance: none;
  outline: none;
}

input[type=submit]:hover, button:hover, .btn:hover {
  background: #363636;
}

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

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



/*--------------------------------   MOBILE AND PC VIEW   --------------------------------*/

.mobile {
  display: none !important;
}


/*------------------------------------------------------------------------------
 ******************* 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: 0px;
  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;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  line-height: 30px;
  background: #ccc;
  color: #fff;
  text-align: center;
  font-size: 1.2em;
  transition: 0s;
  cursor: pointer;
}
div.popup .window .close:hover {
  background: rgb(229,57,53);
  transition: 0.25s;
}

div.popup .window input {
  margin-top: 10px;
  text-align: center;
}

div.popup .window button {
  margin-top: 30px;
}


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

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


/*--------------------------------   TYPED.JS CURSOR BLINK   --------------------------------*/

.typed-cursor{
    opacity: 1;
    -webkit-animation: blink 0.7s infinite;
    -moz-animation: blink 0.7s infinite;
    animation: blink 0.7s infinite;
}
@keyframes blink{
  0% { opacity:1; }
  50% { opacity:0; }
  100% { opacity:1; }
}
@-webkit-keyframes blink{
  0% { opacity:1; }
  50% { opacity:0; }
  100% { opacity:1; }
}
@-moz-keyframes blink{
  0% { opacity:1; }
  50% { opacity:0; }
  100% { opacity:1; }
}


/*--------------------------------   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;
}
