html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Open Sans', sans-serif;
    padding-top: 50px;
    background-image: url("../img/bg.jpg"); background-repeat: no-repeat; background-attachment: fixed; background-size: cover;
}

a { color: #314A97; }

.bg-light { background-color:#574438; }
.bg-middle { background-color:#392F29; }
.bg-dark { background-color:#2A2522; }
.text-white, .text-white a { color: #FFF; }





.navigation { background-color: rgba(97, 0, 19, 255) !important; }
.navigation li a, .navigation .navbar-brand { color: #FFF !important;}
.dropdown-menu { background-color: rgba(97, 0, 19, 128) }
.dropdown.open>a { background-color: rgba(0, 0, 0, 128) }
.dropdown>a:hover, .dropdown-menu:hover { color: #FFF !important; background-color: #00000066 !important; }
.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover { color: #262626;  background-color: transparent; }
.navigation .navbar-toggle { color: #FFF; margin-top: 12px;}
.navigation .navbar-toggle .icon-bar { background-color: #FFF }


.navigation { z-index: 9999; -moz-transition: all 500ms; -o-transition: all 500ms; -webkit-transition: all 500ms; transition: all 500ms; }
.navbar-fixed-top { top: 0px; }
.navbar-brand { height:auto; padding: 7px 10px; font-size:14px }
.navbar-brand .brand-logo { max-height:25px; display: inline }
.nav>li>a { padding: 9px; }
.sticky +.navigation { background-color: rgba(75, 27, 97, 0.75) !important; top:0; }
.navigation-insert { height:30px; }
.dropdown-submenu { position: relative; }
.dropdown-submenu .dropdown-menu { top: 30px; right: 10px; margin-top: -1px; }






.breadcrumbs { padding-top: 10px; padding-bottom:10px; width: 100%; min-height: 40px; background-image: linear-gradient(90deg, #E0D0C1 0%, #E0D0C1 100%); margin: 0 0 20px}
.breadcrumbs a {color:#000;}
.breadcrumbs a:hover {color:#F00;}








.section { padding: 10px 0 }
.section-in { padding: 10px }

.section-error { position: relative; height: 100vh; }
.section-error__in {
    position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%);
    max-width: 520px; width: 100%; line-height: 1.4; text-align: center;
}
.section-error__label { position: relative; height: 200px; margin: 0 auto 20px; z-index: -1; }
.section-error__label h1 {
    font-size: 210px; font-weight: 100; margin: 0; color: #211b19; position: absolute; left: 50%; top: 50%;
    -webkit-transform: translate(-50%,-50%); -ms-transform: translate(-50%,-50%); transform: translate(-50%,-50%);
}
.section-error__label h2 {
    font-size: 28px; font-weight: 400; color: #211b19; background: #fff; padding: 10px 5px; margin: auto;
    display: inline-block; position: absolute; bottom: 0; left: 0; right: 0;
}
.section-error a {
    display: inline-block; font-weight: 700; text-decoration: none; color: #fff; text-transform: uppercase;
    padding: 13px 23px; background: #007cff; font-size: 18px; -webkit-transition: 0.2s all; transition: 0.2s all;
}


.section--partners { padding: 30px 0; background-color: #EEE }
.section--partners .img-logo {max-height:40px; margin: 10px auto}


.section--search { padding:10px 0; }
.section--search form { margin-bottom:0 }
.section--search .srch_group { position: relative; }
.section--search .srch_input { border: 1px solid #666; border-radius: 4px; height: 30px; background-color: #FFF; text-indent: 42px; width: 100%; color:#000 }
.section--search .srch_input:focus { background-color: #fff885; }
.section--search .label_input { display: none; }
.section--search .label_submit { color:#666 }
.section--search .icon_search { position: absolute; top: 7px; left: 10px; display: block; cursor: pointer; width: 20px; height: 20px; }
.section--search .srch_submit { display: none; }
.section_search_results { padding: 0 10px 20px; }





.footer { position: relative; }
.footer-in { padding: 20px }
.footer-copy { font-size:11px; }
.footer h3 { font-size:18px; line-height: 20px; margin-bottom:5px; margin-top: 10px; }
.footer-logo { max-width:150px; margin-top:10px; }
.footer-roll-to-top { background-color: rgba(0,0,0,0.5); color: #FFF; width: 30px; height: 30px; border: 2px solid #ccc; border-radius: 50%; margin-left: -15px; top: -15px; position: absolute;  }
.footer-roll-to-top:hover { background-color: rgba(255,255,255,0.5); color: #666; }
.footer-roll-to-top span { font-size: 32px; font-weight: bold; line-height: 10px; transform: rotate(90deg); display: block; position: absolute; left: 10px; top: 7px; }




.left-menu.col-md-3 {padding-left:0; padding-right:0}
.menu-dropbtn { background-color: rgba(0,0,0,0.8); color: #FFF; padding: 5px 20px; font-size: 16px; margin-bottom: 2px; width: 100%; border: 0; text-align: left; }
.menu-dropbtn.selected { background-color: rgba(255,255,255,0.3); color: #FFF; font-weight: 600 }
.menu-dropbtn a { color: #FFF; }
.menu-dropbtn a:hover { text-decoration: none }
.dropdn-mnu { position: relative; display: inline-block; width: 100%; }
.dropdn-mnu-content { display: none; position: absolute; background-color: rgba(0,0,0,0.75); min-width: 160px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); z-index: 1; left: 100%; top: 0; white-space: nowrap }
.dropdn-mnu-content a { color: #FFF; padding: 4px 16px; text-decoration: none; display: block; }
.dropdn-mnu-content a:hover {background-color: #016EA6;}
.dropdn-mnu:hover .dropdn-mnu-content {display: block;}
.dropdn-mnu:hover .menu-dropbtn {background-color: #016EA6;}



  
  .navigation { background-color: transparent !important; }
  .navbar-nav { margin: 11px -15px; }
  .navbar-fixed-top { top: 50px; }
  .navbar-default { border-color: transparent; }
  .navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover { color: #333; border-bottom: 4px solid #314A97; }
  .brand-logo.brand__color { background-color:#314A97; padding:10px; width:199px; max-height:100%; transition: all 500ms; }
  .sticky +.navigation { background-color: #314A97CC !important; }
  .sticky +.navigation .brand-logo.brand__color { background-color: transparent; padding:3px 0; transition: all 500ms; }
  .sticky +.navigation .navbar-nav { margin: 3px -15px; }
                    
  .breadcrumbs a { color: #899fe0; }
  .breadcrumbs a:hover, .breadcrumbs a:active, .breadcrumbs a:focus { color: #FFF; text-decoration:none }
  .breadcrumbs { color: #899fe0; background-image: linear-gradient(90deg, #314A9722 0%, #314A97CC 100%); }

  .middle--layout-article .content-article { background-color: #FFF; padding: 50px; }

  .banner.banner-small { color:#FFF; margin-top: 50px; }
  .banner.banner-small h1 { font-size: 48px; }
  .banner.banner-small h4 { font-size: 18px; line-height: 33px; max-width: 500px;}

  .section--category { margin-top: 70px; color:#FFF; background-color: #FFF3;}
  .section--category.selected { background-color: transparent; }
  .section--category.selected .section-header .container { background-color: #FFF; color: #000; }
  .products-box { border: 0; margin-bottom: 15px; }
  .products-box .products-box__header { padding: 15px; background-color: #314A97; }
  .products-box .products-box__header h3 { margin: 0; }
  .products-box .products-box__content { padding: 15px; background-color: #FFF; color:#000 }
  .products-box .desc { margin-bottom: 20px; }

  .product-box--rows+.product-box--rows { border-top: 1px solid #314A97; margin-top: 20px; padding-top: 20px; }
  .product-box h4 { color:#314A97; }
  .product-box--colls { height:320px; overflow: hidden; }
  .product-box--colls h4 { text-align:center; }
  .product-box--colls .img-responsive { float:none; display:block; margin:0 auto; max-height: 240px; max-width: 250px; padding:10px }
  .product-box--rows .img-responsive { float:right; max-width: 450px; }
  .product-box--rows .div-hutni-material .img-responsive { float:none; max-width: 100%; }
  
  .table-responsive.table-rexnord .img-responsive { float:none; max-width: 250px; }
  .table-responsive.table-kabel .img-responsive { float:none; max-width: 250px; }
  .table-responsive.table-rr .img-responsive { float:none; max-width: 100%; }
  .table-responsive .img-responsive { float:none; max-width: 100%; }

  @media (max-width: 619px) {
    table.table-responsive, table.table-responsive tbody, table.table-responsive tr, table.table-responsive td { display:block }
    table.table-responsive .img-responsive { max-width: 100%; margin: 0 auto; float: none; }
    table.table-responsive>tbody>tr>td { border-top: 0; }
    table.table-responsive>tbody>tr+tr { border-top: 1px solid #ddd; }
  }

  .section-header__underline {position:relative; height:70px; overflow: hidden;}
  .section-header__underline h2 { display:inline-block; position:absolute; left:50%; transform:translateX(-50%); min-width: 200px; text-align: center; }
  .section-header__underline h2:before { content:"";position:absolute; bottom:3px; left:-1000px; right:100%; height:1px; background-color:#FFF }
  .section-header__underline h2:after { content:"";position:absolute; bottom:3px; left:100%; right:-1000px; height:1px; background-color:#FFF;  }
  .section-header__underline h3 { display:inline-block; position:absolute; left:50%; transform:translateX(-50%); min-width: 200px; text-align: center; }
  .section-header__underline h3:before { content:"";position:absolute; bottom:3px; left:-1000px; right:100%; height:1px; background-color:#FFF }
  .section-header__underline h3:after { content:"";position:absolute; bottom:3px; left:100%; right:-1000px; height:1px; background-color:#FFF;  }

  .section--contacts .section-header__underline { color:#999 }
  .section--contacts .section-header__underline h2:before { background-color:#999 }
  .section--contacts .section-header__underline h2:after { background-color:#999 }
  .section--contacts .section-header__underline h2 { min-width: 150px; }
  
  .section--map .section-header__underline { color:#999 }
  .section--map .section-header__underline h2 { min-width: 250px; }
  .section--map .section-header__underline h2:before { background-color:#999 }
  .section--map .section-header__underline h2:after { background-color:#999 }

  .section--manufacturers .section-header__underline { color:#000; margin-bottom:40px; }
  .section--manufacturers .section-header__underline h2 { min-width: 250px; }
  .section--manufacturers .section-header__underline h2:before { background-color:#000 }
  .section--manufacturers .section-header__underline h2:after { background-color:#000 }

  .section--manufacturers.page--manufacturers { margin-top: 0; padding-top: 40px; }
  .section--manufacturers.page--manufacturers.selected { padding-top: 0; }
  .section--manufacturers.page--manufacturers .brand-box h3 { font-size: 12px; }
  .section--manufacturers.page--manufacturers .brand-box { border: 1px solid #314A97; }
  .section--manufacturers.page--manufacturers .brand-icon { padding:10px; }
  .section--manufacturers.page--manufacturers .brand-arrow { position: absolute; left:auto; bottom: -8px; right: -14px; background-color: #FFF; padding: 7px 0; }

  .section--sections .section-header__underline h2 { min-width: 300px; }
  

  .section--category .section-header__underline h2 { min-width: 250px; }

  
  .section--sections { background-color: #FFF3; margin-top: 30px }
  .section--sections .section-header { color: #FFF; }

  .section-box { height: 150px; background-color: #314A97; color:#FFF; position:relative; margin-bottom: 20px }
  .section-box .section-label { padding: 0 10px 0 10px; overflow-y: hidden; max-height: 136px; }
  .section-box .section-label h3 { font-size: 18px; text-transform:uppercase }
  .section-box .section-label p { font-size: 12px; }
  .section-box .section-icon { float: left; width: 150px; height: 150px; background-color: #FFF;  }
  .section-box .section-icon img { width: 100%; height: auto; margin: 20px 0; }
  .section-box .section-arrow { position: absolute; right: 0px; bottom: 0px; background-color: #314A9788; border-radius: 50%; padding: 10px;  }
  .section-box .section-arrow img { width:30px; height:30px;  }

  .category-box { position:relative; margin-bottom: 20px; }
  .category-box .category-label { background-color: #314A97; color:#FFF; padding:10px; padding-right: 50px; min-height: 70px; overflow-y: hidden;}
  .category-box .category-label.c-label--small { height: auto; }
  .category-box .category-label h3 { font-size: 18px; line-height: 24px; margin:0 }
  .category-box .category-arrow { position: absolute; right: 10px; top: 7px; }
  .category-box .category-arrow img { width:30px; height:30px;  }

  .section--manufacturers { margin-top: 70px; color:#000; background-color:#FFF }
  .section--manufacturers.selected { background-color: transparent; }
  .section--manufacturers.selected .section-header .content-in { background-color: #FFF; color: #000; padding:20px }
  .section--manufacturers .brand-box { background-color: #FFF; color: #000; position: relative; margin-bottom:24px }
  .section--manufacturers .brand-box h3 { margin: 0; background-color: #314A97; font-size: 15px; color: #FFF; padding: 10px; }

  .manufacturers-header-list { padding-top:40px }

  .section--manufacturers .brand-arrow { position: absolute; bottom: 10px; left: 10px; }
  .section--manufacturers .brand-arrow img { width:26px }
  .section--manufacturers .brand-iccon { padding-bottom:20px }

  .section--manufacturers .section-header .container { position: relative }
  .section--manufacturers .section-header .brand-icon { position: absolute; top:10px; right:30px }

  .contacts-address { color: #999; }
  .contacts-address p { margin-bottom: 6px; }
  .contacts-button { width: 100%; background-image: linear-gradient(90deg, #333C 0%, #3339 100%); background-color: transparent; color: #aaa; border-color: #666; }
  .contacts-button:hover { border-color: #FFF; color: #FFF; }

  .contacts-input--50p { height: 50px !important; background-image: linear-gradient(90deg, #333C 0%, #3339 100%); background-color: transparent; color: #aaa; border-color: #666; }
  .contacts-input--100p { height: 110px !important; background-image: linear-gradient(90deg, #333C 0%, #3339 100%); background-color: transparent; color: #aaa; border-color: #666; }
  .contacts-input--50p:hover { border-color: #FFF; }
  .contacts-input--100p:hover { border-color: #FFF; }
  .contacts-col { padding:0 }
  .contacts-name, .contacts-email { padding: 0 10px 0 0; margin: 0 0 10px; }
  .contacts-note { padding: 0; margin: 0 0 10px; }

  @media (max-width: 767px) {
    .contacts-name, .contacts-email { padding-right: 0; }  
    .contacts-address p { text-align: center; font-size: 12px; }
    .contacts-form { max-width: 468px; margin: 0 auto; margin-top: 20px; }
  }
  
  .section--map .gmapa #map { height:300px; filter: grayscale(1); }
  .section--map h1.firstHeading { font-size: 20px}
  .section--map .gm-style-iw.gm-style-iw-c { max-width:300px !important;}

  .footer-roll-to-top { background-color: rgba(0,0,0,0.5); color: #FFF; width: 28px; height: 28px; border: 2px solid #ccc; border-radius: 50%; margin-left: -7px; top: -14px; position: absolute; }
  .footer-roll-to-top span { font-size: 28px; font-weight: bold; line-height: 9px; transform: rotate(90deg); display: block; position: absolute; left: 9px; top: 7px; }
  .footer-logo { margin-bottom:10px; }
  .footer { margin-top: 40px; }
   
  .bg-dark { background-color: #314A97; }
   
   
   
   
  @media (max-width: 479px) {
    .section--categories .section-box .section-icon {
      width: 100px;
      height: 100px;
    }
    .section--categories .section-box {
      min-height: 100px;
      height: auto;
    }
    .section-box .section-label h3 {
      font-size: 16px;
    }
    .section--sections .section-header__underline h2 {
      min-width: 150px;
      font-size: 25px;
    }
    .section-header__underline {
      min-height: 100px;     
    }
    .section--manufacturers .section-header__underline h2 {
      min-width: 190px;
    }
    .section--map .section-header__underline h2 {
      min-width: 150px;
    }
 
  }

  @media (max-width: 768px) {
    body {
        background-image: url("../img/bg-mobile.jpg");
        background-position-x: center;
    }
    .navigation {
      background-color: #314A97CC !important;
    }
    .navbar-default .navbar-toggle:hover {
      background-color: transparent;
    }
    .brand-logo.brand__color {
      background-color: transparent;
    } 
    .sticky +.navigation .navbar-toggle { 
      margin-top: 8px;
    }

     .section-header__underline h3 {
        font-size:20px;
     }
     .products-box .products-box__header h3 {
        font-size:18px;
     }
     .products-box .products-box__header h4 {
        font-size:16px;
     }
     .product-box--colls {
        height: auto;
     }
     .banner.banner-small h1 {
        font-size: 38px;
     }
  }
