/*==========  Desktop First Method  ==========*/
@media only screen and (max-width : 1500px) {
  .nav-item {
    width: 208px;
  }
  .main-menu {
    margin-right: 34px;
  }
  section.s-cuz img {
    width: 100%;
  }
.s-cuz br, .s-cuz-2 br, .s-cuz-3 br {
display: none;
}
}
/* Large Devices, Wide Screens */
@media only screen and (max-width : 1366px) {
  h2.color-blue, h2.color-green {
    margin-top: 74px;
  }
  .vozm-item h4 {
    font-size: 28px;
    margin: 24px 0 46px;
  }
  .zp-item {
    min-height: 574px;
  }
  .s-zp-2 {
    padding: 70px 0 50px;
  }
  .uzm_item h5 {
    font-size: 18px;
  }
h1 {
font-size: 46px;
margin-top:45px;
}
.video {
top: 62%;
}
.diagram-wrap {
padding:0
}
section.main-head {
min-height: 660px;
}
}
@media only screen and (max-width : 1198px) {
  .uzm_item h5 {
    font-size: 20px;
  }
  section.s-navigation h5 {
    font-size: 18px;
  }
  .main-menu {
    display: none;
  }
  .zp-item  {
    min-height: 272px;
  }
  .main-menu-mobile {
    display: inline-block;
    float: right;
  }
  .header-btn {
    width: 410px;
  }
  .diagram-wrap {
    margin: 25px 0;
  }
  h2.color-blue, h2.color-green {
    margin-top: 0;
  }
  .s-zp-2 {
    padding: 70px 0 50px;
  }
  .zp-item {
    max-width: 1000px;
    width: 100%;
    text-align: left;
  }
  .zp-item img {
    float: left;
    margin-right: 20px;
  }
  section.s-rp {
    padding: 45px 0 28px;
  }
  .zakupki-line li {
  }
  .zakupki-line ul {
    padding: 29px 10px;
  }
  .under-line {
    padding-bottom: 30px;
  }
  .s-green .s-g-item h4, .s-blue .s-g-item h4 {
    font-size: 40px;
  }
  .s-zp-3 p {
    font-size: 20px;
    line-height: 36px;
  }
  .s-cuz br {
    display: none;
  }
  .s-zp-3 {
    padding: 70px 0;
  }
  .s-grey-2 .s-g-item {
    max-width: 1000px;
  }
    body {
    font-size: 16px;
  }
  .tab p {
    font-size: 14px;
  }
  .vozm-item h4 {
    font-size: 20px;
  }
  h1 {
    font-size: 44px;
  }
  .header-btn h6 {
    font-size: 18px;
  }
    .s-adv-item h4 {
    font-size: 20px;
  }
    .s-g-item {
    font-size: 16px;
  }
    .header-btn h6 {
    font-size: 18px;
  }
    .s-cuz h2{
    font-size: 28px;
  }
  .s-rp h2 {
    font-size: 28px;
  }
    #inline-popups a {
    font-size: 20px;
  }
    .s-grey-2 .h3-green, .s-grey-2 .h3-blue {
    font-size: 24px;
    margin-bottom: 12px;
  }

    h2.color-blue, h2.color-green {
    font-size: 28px;
  }
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
    .diagram-wrap {
    padding: 15px;
  }
  
  .vozm-item .vmibg6 h6{
    width: auto;
    text-transform: none;
    padding: 3px 18px;
    left: 30%;
    top: 39%;
  }
  .s-green .s-g-item, .s-blue .s-g-item {
    min-height: 120px;
  }
  .vmibg1::after, .vmibg2::after, .vmibg3::after, .vmibg4::after, .vmibg5::after, .vmibg6::after {
    top: 38%;
  }

  .b2b-item {
    width: 100%;
    padding: 30px;
  }
  .s-green .s-g-item, .s-blue .s-g-item {
    padding: 40px 12px;
  }
  .s-green .s-g-item h4, .s-blue .s-g-item h4 {
    font-size: 30px;
  }
  .text-padding {
    padding: 0;
  }
  .s-cuz-2 br{
    display: none;
  }

  section.s-cuz-3 {
    padding: 10px 0 40px;
  }
  .header-btn {
    margin: 64px 10px 0;
    padding-top: 22px;
    height: 88px;
    width: 290px;
    padding-left: 5%;
  }

  .header-btn h6#cuz::before  {
    top: 4px;
    background-size: 66%;
    left: 12px;
  }
  .header-btn h6#znp::before {
    top: -5px;
    background-size: 66%;
    left: 12px;
  }
  section.main-head {
    min-height: 700px;
  }
  section.s-about-us {
    padding: 45px 0;
  }


  br {
    display: none;
  }
  .cont-under-line {
    margin: 40px 0;
  }
  section.s-b2b {
    padding: 45px 0;
  }
  .s-b2b h2 {
    margin-bottom: 60px;
  }
  .s-safe {
    padding: 45px 0;
  }
  .shield {
    background-size: 45%;
  }
  .s-adv-item {
    margin-bottom: 35px;
  }
  .s-adv-1, .s-adv-2, .s-adv-3 {
    height: 100px;
  }
  .bd-r-item img {
    width: 100%;
  }
  section.s-bd {
    padding: 45px 0;
  }
  section.main-head {
    padding-bottom: 45px;
  }
  section.s-grey-2{
    padding: 30px 0;
  }

  .s-zp-2 {
    padding: 45px 0 45px;
    margin-top: 40px;
  } 

.s-footer li {
margin-left: 40px;
}
.s-footer ul {
display: none;
}
}

/* Small Devices, Tablets */
@media only screen and (max-width : 767px) {
  .uzm_item {
    margin-bottom: 20px;
  }
  .uzm_item h5 {
    font-size: 20px;
  }
  .s-okp {
    font-size: 28px;
  }
  .vozm-item .vmibg6 h6{
    padding: 3px 10px;
    left: 30%;
    top: 37%;
  }
  .tab p {
    font-size: 12px;
  }
  .s-tabs .tb5::after {
    width: 90px;
  }
  h3-zakupki {
    margin-top: 0;
  }
  .s-zp-3 p {
    line-height: 32px;
  }
  .header-btn h6 {
    font-size: 16px;
  }
  .header-btn {
    width: 260px;
  }

  .vozm-item h4  {
    font-size: 18px;
  }
  .login-top {
    display: none;
  }
  .in-tabs img {
    margin-top: 30px;
  }
  .b2b-item {
    margin: 20px 0;
  }
  .b2b-btn {
    left: 30px;
  }
  .s-adv-1, .s-adv-2, .s-adv-3 {
    height: 250px;
  }
  .shield {
    background: url(../img/protect-alpha.png) no-repeat;
    background-position: center;
  }
  #inline-popups a {
    font-size: 18px;
  }
  .s-safe .btn-podr, .in-tabs .btn-podr {
    margin: auto;
    display: block;
  }
  .shield br, .au-first br {
    display: none;
  }
  h1 {
    font-size: 38px;
  }
  body {
    font-size: 16px;
  }
  section.main-head {
    min-height: 630px;
  }
  section.s-about-us {
    padding: 50px 0 60px;
  }
  .s-b2b h2 {
    text-align: center;
    margin-bottom: 70px;
  }
  section.s-b2b {
    padding-top: 50px;
    padding-bottom: 70px;

  }
  .f-btn, .f-number {
    width: 100%;
    max-width: 768px;
  }
  .f-number input {
    max-width: 768px;
    margin-bottom: 30px;
  }
  .ft-left {
    text-align: left;
  }
  section.s-bd {
    padding: 50px 0;
  }
  .bd-r-item img{
    display: none;
  }
  .p-orange {
    float: none;
    text-align: left;
    max-width: 768px;
    width: 100%;
  }
  .p-orange br {
    display: none;
  }
  .s-grey-2 .s-g-item{
    margin-bottom: 35px;
  }
  .section.s-grey-2 {
    padding: 50px 0;
  }
  .s-rp br{
    display: none;
  }
  .s-cuz img {
    margin-top: 0;
  }
  section.s-about-us button, .btn-green {
    margin-top: 35px;
  }
  section.s-cuz-2 {
    padding: 35px 0;
  }
  .img-shdw {
    margin-top: 35px;
  }
  .s-cuz-2 br{
    display: none;
  }
  #inline-popups li {
    display: block;
    width: 100%;
  }
  .zp-pc {
    display: none;
  }
  .zp-mobile {
    display: block;
  }
  .vmibg1::after, .vmibg2::after, .vmibg3::after, .vmibg4::after, .vmibg5::after, .vmibg6::after {
    top: 42%;
  }
  .vmibg1, .vmibg2, .vmibg3, .vmibg4, .vmibg5, .vmibg6 {
    background-position: left center;
  }
  #form_2 {
    font-size: 16px;
  }
}

@media only screen and (max-width : 730px) {
  .tab p, .s-tabs .tb5::after {
    display: none;
  }
  .s-tabs .tab {
    width: 5%;
  }
}
@media only screen and (max-width : 610px) {


  .header-btn h6 {
    font-size: 14px;
    margin-top: 6px;
    display: block;
  }
  .header-btn-wrap {
    margin-top: 35px;
  }
  .header-btn {
    width: 100%;
    max-width: 480px;
    margin: 10px 0 0;
    height: 70px;
    padding-left: 17%;
  }
  .header-btn h6#znp::before {
    top: -16px;
  }
  .header-btn h6#cuz::before {
    top: -8px;
  }
  .s-steps .s-steps-item span {
    display: block;
    margin-left: 0;
  }
  .s-okp {
    padding: 30px 0;
    font-size: 24px;
  }
  .s-grey-2 .s-g-item ul, li {
    margin: 20px 0 0;
  }
  .zp-item {
    min-height: 350px;
  }
  .news-item h4 {
    font-size: 18px;
  }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
  .tab p, .s-tabs .tb5::after {
    display: none;
  }
  .zpi3 {
    max-height: 330px;
  }
  .s-steps .s-steps-item h3 {
    font-size: 24px;
  }
  .s-zp-2 {
    margin-top: 0;
  }
  .s-about-us h2 {
    margin-bottom: 10px;
  }
  .img100 img {
    margin-top: 0;
    margin-bottom: 10px;
  }
  section.s-about-us button, .btn-green {
    margin-top: 10px;
  }
  .header-btn-wrap {
    margin-top: 10px;
  }
  .menu-top {
    height: 66px;
  }
  section.s-rp, section.s-blue, section.s-cuz, section.s-bd {
    padding: 30px 0 0;
  } 
  .header-btn {
    padding-top: 20px;
  }
  .header-btn h6#cuz::before {
    position: relative;
    display: inline-block;
    float: left;
    left: -9px;
    top: -9px;
  }
  .header-btn h6#znp::before {
    position: relative;
    display: inline-block;
    float: left;
    left: -9px;
    top: -17px;
  }
  .tab_item {
    padding: 0 10px;
  }
  body {
    line-height: 22px;
  }
  .s-header p {
    line-height: 22px;
  }

  .s-tabs .tab {

  }
  .zakupki-line h3 {
    margin-top: 20px;
  }
  section.s-grey-2 {
    padding: 20px 0;
  }
  .zp-item img {
    max-width: 120px;
  }
  .s-zp-3 p {
    font-size: 16px;
  }
  .s-zp-3 {
    padding: 20px 0;
  }
  section.s-steps {
    padding: 20px 0;
  }
  section.s-advantages {
    padding: 30px 0;
  }
  .s-adv-item {
    margin-bottom: 45px;
  }
  body{
    font-size: 14px;
  }
  h1 {
    font-size: 32px;
    margin-top: 10px;
  }
  .s-header p {
    margin: 20px 0 10px; 
  }

  section.in-tabs {
    padding: 54px 0;
  }
  h2, .s-rp h2, .s-cuz h2 {
    font-size: 28px;
  }
  .s-b2b h2 {
    margin-bottom: 66px;
  }
  .s-safe {
    padding: 20px 0;
  }
  
  .nav__showmenu {
    font-size: 38px;
  }
  .top-menu-wrap {
    height: 66px;
  }
  .logo {
    background: url(../img/compla_logo.png) no-repeat 0 16px;
  }
  .zp-item img {
    float: none;
  }
  .zp-item {
    text-align: center;
  }
  .logo {
    width: 66px;
    background: url(../img/compla_logo.png) no-repeat 0 24px;
    background-size: auto auto;
    background-size: 100%;
  }
  .nav__showmenu {
    font-size: 24px;
    margin-top: 10px;
  }

  section.main-head {
    padding-bottom: 40px;
    min-height: 400px;
  }
  section.s-about-us {
    padding: 40px 0 25px;
  }
  .in-tabs h2 {
    margin-bottom: 0;
    margin-top: 10px;
  }
  .s-adv-item h4 {
    font-size: 18px;
  }
  .in-tabs .btn-podr {
    margin-top: 10px;
  }
  .s-b2b h2 {
    margin-bottom: 35px;
  }
  section.s-b2b {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  section.in-tabs {
    padding: 10px 0;
  }
  .cont-under-line {
    margin: 20px 0;
  }
  .diagram-wrap {
    margin: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  .di-u-line {
    display: none;
  }
  .diagram-item {
    margin-bottom: 25px;
  }
  .s-tabs .tb5::after {
    display: none;
  }
  .zp-mobile {
    display: block;
  }
  .zp-pc {
    display: none;
  }
  .diagram-wrap .di-r1 img, .diagram-wrap .di-r2 img, .diagram-wrap .di-r3 img, .diagram-wrap .di-r4 img{
    width: 85px;
  }
  .diagram-wrap .di-r5 img {
    width: 70px;
  }
  .diagram-wrap .di-r6 img {
    width: 70px;
  }
  .diagram-item span {
    font-size: 18px;
  }
  .diagram-item i {
    font-size: 24px;
  }
  .diagram-item {
    min-height: 90px;
  }
  .diagram-item p {
    padding-top: 10px;
  }
  .b2b-item h5 {
    font-size: 18px;
  }
  .b2b-item {
    height: 220px;
  }
  h2, .s-rp h2, .s-cuz h2 {
    font-size: 24px;
  }
  .shield {
    background: none;
  }
  .shield img {
    display: block;
    width: 75%;
    margin: auto;
  }
  .shield2 img {
    display: block;
    width: 75%;
    margin: auto;
  }
  .shield .btn-podr {
    margin-top: 30px;
  }
  .s-adv-1, .s-adv-2, .s-adv-3 {
    height: 120px;
  }
  .s-footer, .s-safe h2 {
    text-align: center;
  }
  .ft-left {
    text-align: center;
  }
  .logo-footer {
    margin: auto;
  }
  .s-green .s-g-item, .s-blue .s-g-item {
    padding: 20px 12px;
  }
  section.s-cuz-2, section.s-cuz-3{
    padding: 20px 0;
  }
  h2.color-blue, h2.color-green {
    font-size: 22px;
  }
  .under-line {
    padding-bottom: 5px;
  }
  .zp-item img  {
    margin: 0;
  }
  .zp-item {
    min-height: 330px;
  }
  .s-header {
    background: none;
  }
  .s-g-item {
    font-size: 14px;
  }
  .s-grey-2 .s-g-item ul, li {
    margin: 10px 0;
  }
  .vozm-item h4 {
    margin: 24px 0;
  }
}

@media only screen and (max-width : 420px) {
  .vozm-item .vmibg6 h6{ 
    padding: 3px 32px;
    left: 36%;
    top: 41%;
  }
  .form-mail-a {
    text-align: left;
    margin-bottom: 30px !important;
  }
  .in-form p {
    margin: 0;
    padding: 0 10px;
  }
  .img-shdw {
    margin: 0;
  }
  #form_2 h2 {
    margin-bottom: 10px;
  }
  .zakupki-line li::after {
    margin: 6px 0;
    display: block;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
  }
  .zakupki-line li {
    display: block;
  }
  section.s-rp, section.s-blue, section.s-cuz, section.s-bd {
    padding: 10px 0;
  }
  .s-grey-2 .s-g-item ul, li {
    line-height: 22px;
    font-size: 14px;
  } 
  .s_dnp .dnp_item li {
    line-height: 28px;
  }
  .s-green .s-g-item, .s-blue .s-g-item {
    min-height: 120px;
  }
  section.s-green {
    padding: 30px 0 40px;
  }
  .s-green h3, .s-blue h3 {
    margin: 0 0 30px;
  }
  .s-green .s-g-item p {
    font-size: 14px;
  }
  .s-green .s-g-item h4, .s-blue .s-g-item h4 {
    font-size: 24px;
  }

  .s-green h3, .s-blue h3 {
    font-size: 18px;
  }
  .b2b-item  {
    height: 220px;
  }
  h1 {
    font-size: 24px;
  }
  .uzm_item h5 {
    font-size: 18px;
    padding-left: 140px;
  }
  .uzm1 h5::before, .uzm2 h5::before, .uzm3 h5::before {
    background-size: 62%;
  }
  .uzm_item h5::before {
    top: 32px;
  }
  .uzm_item::before {
    left: 122px;
    height: 120px;
  }
  .uzm_item h5 {
    height: 120px;
  }
}

@media only screen and (max-width : 380px) {
  .news-item h4 {
    height: 25px;
  }
  .header-btn-wrap br {
    display: block;
  }
  .header-btn {
    padding-left: 15%;
  }
  .header-btn h6#cuz::before, .header-btn h6#znp::before  { 
    left: 10px;
  }
  .header-btn h6 {
    margin-top: 0;
  }
  section.main-head {
    padding-bottom: 30px;
  }
  .header-btn h6#cuz::before {
    top: -2px;
  }
  .header-btn h6#znp::before {
    top: -12px;
  }
  .shield {
    padding: 0;
  }
  .uzm_item h5 {
    font-size: 16px;
  }

}

@media only screen and (max-width : 350px) {
  .uzm_item h5 {
    font-size: 14px;
  }
  .vmibg1::after, .vmibg2::after, .vmibg3::after, .vmibg4::after, .vmibg5::after, .vmibg6::after { 
    top: 35%;
  }
  .vozm-item .vmibg6 h6 {
    top: 40%;
    left: 30%;
  }
 
  .tab {
    min-height: 10px;
    padding: 14px 0;
  }
  .zp-item {
    min-height: 350px;
  }
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {

}


/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {

}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {

}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {

}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {

}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

}

