.img-banner-col {
    border:1px solid #e7eef6;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.img-banner-col:hover {
    border:1px solid #e7eef6;
    -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.175);
    -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.175);
    -o-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.175);
    -ms-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.175);
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.175);
}

.img-banner-col h2 {
    border-bottom:5px solid #6699cc;
    background: #E7EEF6;
    text-align:center;
}
.img-banner-col h2 span {
    display:block;
    font-weight:normal;
    padding-top:5px;
}
.img-banner-col h2 a {
    display:block;
    padding:15px;
}
.img-banner-col img {
    margin: 0 auto;
    display:block;
}
.img-banner-col p {
    padding: 10px 30px 30px 30px;
}

.block-contact.col-md-3 {
    width:auto;
}

body.page-cms h1 {
    text-align: left;
}
#content.page-cms h2 {
    margin:0 0 30px 0;
}

#content.page-cms table {
    margin:0 0 30px 0;
}

#content.page-cms img {
    display:block;
}
#content.page-cms hr {
    clear:both;
    border-color:#fff;
    height:1px;
    margin:0;
    display:block;
}

#content.page-cms img.fright {
    float:right;
    margin:0 0 30px 30px;
    background: #69c;
    padding:5px;
}

#content.page-cms img.fleft {
    float:left;
    margin:0 30px 30px 0;
    padding:5px;
}


#content.page-cms ul {
    list-style-type: disc;
    padding: 30px 30px 30px 50px;
    margin:0 0 30px 0;
    border-left:5px solid #6699cc;
    background: #E7EEF6;
    color:#003b6d;
}
#content.page-cms li::marker {
    color:#6699cc;
}

body.page-index .tabs-top .nav-tabs {
    padding: 30px;
    background:#E7EEF6;
}


.product-prices > div.product-attributes-label {
  display:none;
}

.usps .usp {
    padding:15px;
    background:#E7EEF6;
    overflow: hidden;
}
.usps .usp img {
    max-width:100px;
    float:left;
    margin: 0 30px 0 0;
}
.usps .usp h4 {
    font-size:20px;
    color:#003972;
    padding-top:15px;
}
.usps .usp p {
    color:#003972;
}


.header-top .container {
    width:100%;
}
.right-header {
    position:static;
    flex: 0 0 auto;
}


#leo_search_block_top form {
    position:absolute;
    visibility:hidden;
    max-width:500px;
}

#leo_search_block_top #click_show_search {
    display:block;
}

#leo_search_block_top.active form {
    visibility:visible;
}

#navigation_container {
    display:none;
}

.header-top .box-header {
  background: #6699cc;
  padding: 0;
  margin: 0 0 30px; }

.header-flex .center-header {
  position: relative !important;
    -webkit-flex: 1 0 auto;
    -ms-flex: 1 0 ato;
    flex: 1 0 auto;
}

#header.navbar-fixed-top .mini-navbar .box-header {
  padding: 0; }
#header.navbar-fixed-top .header-flex {
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
  transition: none; }

.leo-megamenu .navbar-nav > li {
  border-right: 1px solid rgba(143, 143, 143, 0.25);
}
.leo-megamenu .navbar-nav > li > a {
    padding: 21px 30px;
    margin:0;
}

.leo-megamenu .navbar-nav > li.big-item > a {
    padding: 12px 30px 12px 30px;
    margin:0;
}

.leo-megamenu .navbar-nav > li > a .sub-title {
    display:block;
    font-weight:normal;
    text-transform: none;
}

.leo-megamenu .navbar-nav > li > a.dropdown-toggle:after {
    position:absolute;
    right:0;
    top:50%;
    line-height:1;
    font-weight:bold;
    font-size:14px;
    margin:-5px 8px 0 0;
    margin-top:-9px;
}

.header-menu {
    width:100%;
}


.hp_sec_banner_trumpf, .hp_sec_banner_amada {
    width:100%;
    margin-bottom:15px;
}

.hp_sec_banner .block_content h2 {
    font-size:20px;
}

.hp_main_banners {
    width:auto;
    margin:0 auto 30px auto;
    padding:0;
}
.hp_main_banners .row, .hp_sec_banners .block_content {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    margin:0;
}
.hp_main_banners .hp_main_banner {
    width:100%;
    padding:150px 15px 15px 15px;
    margin:0;
    background:#e7eef6 url("/themes/ohybacinastroje/assets/img/banner-main.jpg") no-repeat 0 -240px;
    margin-bottom:15px;
}
.hp_main_banners .hp_main_banner .block {
    padding:15px 15px 0 15px;
    margin:0;
    background:#f4f4f4;
    overflow: hidden;
}
.hp_main_banners .hp_main_banner h1 {
    font-size:36px;
}
.hp_main_banners .hp_main_banner h1 {
    font-size:36px;
}
.hp_main_banners .hp_main_banner h2 {
    font-size:24px;
    margin:0 0 15px 0;
    color:#6699cc;
}
.hp_main_banners .hp_main_banner p {
    font-size:20px;
    margin:0 0 15px 0;
}
 .hp_sec_banners {
    width:100%;
    padding:0;
}

.hp_main_banners .hp_sec_banners .block {
    width:100%;
    padding:0;
    margin:0;
}

.hp_main_banners .hp_main_banner p {
  margin-bottom: 1rem;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.25;
  color: #003b6d;
}
.hp_sec_banner .block_content h2, .hp_sec_banner .block_content h2 a {
    display:block;
    width:100%;
    height:100%;
    cursor:pointer;
    margin:0;
 }
.hp_sec_banner .block_content h2 {
   padding:0;
}
.hp_sec_banner .block_content h2 a {
   text-align: center;
    height:250px;
    overflow:hidden;

}
.hp_sec_banner .block_content h2 a span {
    display:block;
    font-weight: normal;
}


.block_content .hp_sec_banner_trumpf h2 a {
    background:#ebedf3 url("/themes/ohybacinastroje/assets/img/banner-trumpf.png") no-repeat 50% 30px;
    padding:150px 15px 15px 15px;
}

.block_content .hp_sec_banner_amada h2 a {
    background:#ebedf3 url("/themes/ohybacinastroje/assets/img/banner-amada.png") no-repeat 50% 30px;
    padding:120px 15px 15px 15px;
}

.leo-megamenu .navbar-nav > li > .caret {
    color:#fff;
}

.leo-megamenu .navbar-nav > li{
      -webkit-transition: all 350ms ease-out;
      -moz-transition: all 350ms ease-out;
      -ms-transition: all 350ms ease-out;
      -o-transition: all 350ms ease-out;
      transition: all 350ms ease-out;
}

.leo-megamenu .navbar-nav > li:hover {
    background:#5788b9;
}
.leo-megamenu .navbar-nav > li.item-trumpf,
.leo-megamenu .navbar-nav > li.item-trumpf + a
 {
    background:#004f9f;
    color:#fff;
}

.leo-megamenu .navbar-nav > li.item-trumpf:hover,
.leo-megamenu .navbar-nav > li.item-trumpf a.nav-link.dropdown-toggle.has-category:hover {
    background:#003972;
    color:#fff;
}


.leo-megamenu .navbar-nav > li.item-amada {
    background:#ef2d38;
}

.leo-megamenu .navbar-nav > li.item-amada:hover,
.leo-megamenu .navbar-nav > li.item-amada a.nav-link.dropdown-toggle.has-category:hover {
    background:#c51820;
}

.popup-over .popup-title:before {
    width:0;
}
.header-flex {
    padding:15px 0;
}
.left-header {
    width:auto;
    padding-right:0;
}
.left-header .logo {
    margin-right:60px;
    max-height:50px;
}
.center-header {
    width:auto;
    padding:0;
}
.right-header {
    width:auto;
    padding-left:0;
    position:static;
}
.navbar-toggleable-md .navbar-nav {
    margin:0;
}

#cart-block {
    padding:15px 16px 15px 8px;
    margin:0;
}
#leo_search_block_top #click_show_search {
    padding:0 0 0 8px;
}

.navbar-toggleable-md .navbar-nav {
background:#6699cc;
}

.box-header .header-menu {
background: #6699cc;
}


@media (min-width: 576px) {
}

@media (min-width: 768px) {
.hp_main_banners {
    width:970px;
    padding-left:15px;
    padding-right:15px;
    }
}

@media (min-width: 992px) {

    .header-flex {
        padding:30px 0;
    }

    #navigation_container {
        display:block;
    }

    #leo_search_block_top {
        margin-right:30px;
    }


    #leo_search_block_top form {
    position:relative;
    visibility:visible;
    -webkit-transform: scaleY(1);
    -moz-transform: scaleY(1);
    -ms-transform: scaleY(1);
    -o-transform: scaleY(1);
    opacity: 1;
    -ms-opacity: 1;
    -o-opacity: 1;
    -moz-opacity: 1;
    -webkit-opacity: 1;
    filter: alpha(opacity=1);
    }

    #leo_search_block_top #click_show_search {
        display:none;
    }

    .hp_main_banners {
    width:970px;
    padding-left:15px;
    padding-right:15px;
    }

    .hp_sec_banners {
        padding:0;
    }
    .hp_sec_banners .block_content {
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
    }

    .hp_sec_banner_trumpf, .hp_sec_banner_amada {
        width:50%;
    }
    .hp_sec_banner_trumpf {
        border-right:7px solid #fff;
    }
    .hp_sec_banner_amada {
        border-left:7px solid #fff;
    }

}

@media (min-width: 1200px) {

    .header-top .container {
        width:1500px;
    }


    .hp_main_banners {
        width:1500px;
    }

    .hp_main_banners .row {
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        align-items: stretch;
    }

    .hp_main_banners .hp_main_banner {
        width:70%;
        margin:0;
        float:none;
        padding-top:15px;
    }

    .hp_sec_banner_trumpf, .hp_sec_banner_amada {
        width:100%;
        border:0;
    }
    .hp_sec_banner_trumpf {
        margin-bottom:30px;
    }
    .hp_sec_banner_amada {
        margin-bottom:0;
    }

    .hp_main_banners .hp_main_banner .block {
        padding:50px 30px 0 10%;
    }


    .hp_main_banners .hp_main_banner .block {
        background:none;
    }


    .hp_main_banners .hp_sec_banners {
        width:30%;
        padding:0 0 0 30px;
        margin:0;
        }

    .hp_main_banners .hp_sec_banners .hp_sec_banner {
        height:100%;
        margin:0;
    }

    .hp_sec_banner .block_content h2 a {
        height:auto;
        padding-bottom:30px
    }

    .hp_main_banners .hp_main_banner h1 {
        font-size: 60px;
    }
    .hp_main_banners .hp_main_banner h2 {
        font-size: 40px;
        margin:0 0 3rem 0;
    }
    .hp_sec_banner .block_content {
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        -webkit-align-content: stretch;
        -ms-flex-line-pack: stretch;
        align-content: stretch;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
        height:100%;
    }
    .hp_sec_banner_trumpf {
        -webkit-order: 1;
        -ms-flex-order: 1;
        order: 1;
        -webkit-flex: 1 1 auto;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        -webkit-align-self: stretch;
        -ms-flex-item-align: stretch;
        align-self: stretch;
    }


    .hp_sec_banner_amada {
        -webkit-order: 2;
        -ms-flex-order: 2;
        order: 2;
        -webkit-flex: 1 1 auto;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        -webkit-align-self: stretch;
        -ms-flex-item-align: stretch;
        align-self: stretch;
    }


    .hp_main_banners .hp_main_banner .block {
        padding:50px 30px 0 20%;
    }

    .hp_main_banners .hp_main_banner {
    background-position:0 0;
    }

}

@media (min-width: 1281px) {

    .hp_main_banners .hp_main_banner .block {
        padding:50px 30px 0 40%;
    }

    .hp_main_banners .hp_main_banner {
    background-position-x:-10%;
    }

}

@media (min-width: 1400px) {


    .hp_main_banners .hp_main_banner .block {
        padding:50px 30px 0 40%;
    }

    .hp_main_banners .hp_main_banner {
    background-position-x:0;
    }
}
