.view {
    width: 360px;
    height: 250px;
    margin: 10px;
    float: left;
    overflow: hidden;
    position: relative;
    text-align: center;
    -webkit-box-shadow: 1px 1px 2px #e6e6e6;
    -moz-box-shadow: 1px 1px 2px #e6e6e6;
    box-shadow: 1px 1px 2px #e6e6e6;
    cursor: default;
}
.view .mask,.view .content {
    width: 360px;
    height: 260px;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
}
.view img {
    display: block;
    position: relative;
}
.view h3 {
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    position: relative;
    font-size: 17px;
    padding: 10px;
    margin: 60px 0 0 0;
}
.view p {
    font-style: italic;
    font-size: 13px;
    position: relative;
    color: #fff;
    line-height: 1.8em;
    padding: 10px 20px 20px;
    text-align: center;
}
.view a.info {
    display: inline-block;
    text-decoration: none;
    padding: 7px 14px;
    background: #000;
    color: #fff;
    text-transform: uppercase;
    -webkit-box-shadow: 0 0 1px #000;
    -moz-box-shadow: 0 0 1px #000;
    box-shadow: 0 0 1px #000;
}
.view a.info: hover {
    -webkit-box-shadow: 0 0 5px #000;
    -moz-box-shadow: 0 0 5px #000;
    box-shadow: 0 0 5px #000;
}
.view-fourth img {
    -webkit-transition: all 0.4s ease-in-out 0.2s;
    -moz-transition: all 0.4s ease-in-out 0.2s;
    -o-transition: all 0.4s ease-in-out 0.2s;
    -ms-transition: all 0.4s ease-in-out 0.2s;
    transition: all 0.4s ease-in-out 0.2s;
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
}
.view-fourth .mask {
    background-color: rgba(0,0,0,0.8);
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    -webkit-transform: scale(0) rotate(-180deg);
    -moz-transform: scale(0) rotate(-180deg);
    -o-transform: scale(0) rotate(-180deg);
    -ms-transform: scale(0) rotate(-180deg);
    transform: scale(0) rotate(-180deg);
    -webkit-transition: all 0.4s ease-in;
    -moz-transition: all 0.4s ease-in;
    -o-transition: all 0.4s ease-in;
    -ms-transition: all 0.4s ease-in;
    transition: all 0.4s ease-in;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}
.view-fourth h2 {
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    background: transparent;
    margin: 60px 40px 0px 40px;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.view-fourth p {
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.view-fourth a.info {
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.view-fourth:hover .mask {
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
    -webkit-transform: scale(1) rotate(0deg);
    -moz-transform: scale(1) rotate(0deg);
    -o-transform: scale(1) rotate(0deg);
    -ms-transform: scale(1) rotate(0deg);
    transform: scale(1) rotate(0deg);
    -webkit-transition-delay: 0.2s;
    -moz-transition-delay: 0.2s;
    -o-transition-delay: 0.2s;
    -ms-transition-delay: 0.2s;
    transition-delay: 0.2s;
}
.view-fourth:hover img {
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -o-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    -webkit-transition-delay: 0s;
    -moz-transition-delay: 0s;
    -o-transition-delay: 0s;
    -ms-transition-delay: 0s;
    transition-delay: 0s;
}
.view-fourth:hover h2,
.view-fourth:hover p,
.view-fourth:hover a.info {
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
    -webkit-transition-delay: 0.5s;
    -moz-transition-delay: 0.5s;
    -o-transition-delay: 0.5s;
    -ms-transition-delay: 0.5s;
    transition-delay: 0.5s;
}
@media(max-width:1024px){
    .view-fourth h2 {
        margin: 35px 40px 0px 40px;
    }
}
@media(max-width:768px){
    .view-fourth h2 {
        margin: 15px 40px 0px 40px;
    }
}
@media(max-width:640px){
    .view-fourth h2 {
        margin: 8px 40px 0px 40px;
    }
    .view p {
        font-size: 11px;
        padding: 2px 3px 8px;
    }
}
@media(max-width:320px){
    .view-fourth h2 {
        margin: 24px 40px 0px 40px;
    }
}
@media(max-width:1024px){
    .view {
        width: 290px;
        height: 210px;
    }
    .view .mask, .view .content {
        width: 290px;
        height: 210px;
    }
    .view h3 {
        margin: 35px 0 0 0;
    }
    .view p {
        padding: 0px 20px 20px;
    }
}
@media(max-width:768px){
    .gallery-top p {
        width: 70%;
    }
    .gallery {
        padding: 3em 0em 3em 0em;
    }
    .gallery-top h3 {
        font-size: 2em;
    }
    .gallery-top {
        padding: 0em 0em 2em 0em;
    }

    .view {
        width: 220px;
        height: 159px;
    }
    .view .mask, .view .content {
        width: 220px;
        height: 160px;
    }
    .view h3 {
        margin: 15px 0 0 0;
        font-size: 13px;
        padding: 7px;
    }
    span.gall {
        font-size: 0.9em;
    }
}
@media(max-width:640px){
    .view {
        width: 177px;
        height: 127px;
    }
    .view .mask, .view .content {
        width: 178px;
        height: 128px;
    }
    .view h3 {
        font-size: 11px;
        padding: 7px;
        margin: 8px 0 0 0;
    }
    .view p {
        font-size: 12px;
        padding: 2px 6px 7px;
    }
    span.gall {
        font-size: 0.75em;
        padding: 0.3em 1em;
    }
}
@media(max-width:480px){
    .view {
        width: 196px;
    }
    .view .mask, .view .content {
        width: 196px;
    }
}
@media(max-width:320px){
    .gallery {
        padding: 1.2em 0em 1em 0em;
    }
    .gallery-top p {
        width: 100%;
        font-size: 0.8em;
    }
    .gallery-top {
        padding: 0em 0em 1em 0em;
    }
    .gallery-top h3 {
        font-size: 1.6em;
        margin-bottom: 0.1em;
    }
    .view {
        width: 250px;
        height: 162px;
    }
    .view .mask, .view .content {
        width: 250px;
        height: 162px;
    }
    .view h3 {
        margin: 40px 0 0 0;
    }
}
.header-navigation .search-box:after {
    border-bottom: 8px solid #e6400c;
}
.header-navigation .search-box {
    border-top: solid 2px #ea4c1d;
}
/* BEGIN max width 480px */
@media (max-width: 480px) {
    .pre-header .list-inline li {
        display: block;
        border: none;
        margin-bottom: 10px;
        padding: 0;
    }
    .pre-header .col-md-6 {
        float: left;
    }
    .pre-header .additional-nav {
        float: right;
        text-align: right;
    }

    .nav-catalogue .pi-price {
        margin-bottom: 10px;
    }
    .nav-catalogue .pi-price,
    .nav-catalogue .product-item .add2cart {
        float: none;
    }

    .top-cart-block {
        clear: both;
        float: left;
        padding-top: 0;
        margin: 0 0 29px;
        width: 100%;
    }
    .top-cart-info {
        float: none;
    }
    .top-cart-block .fa-shopping-cart {
        top: 0;
    }
    .top-cart-content-wrapper {
        left: 0;
        right: auto;
    }
    .top-cart-content:after {
        left: 15px;
    }

    .ls-fullwidth .ls-nav-prev, .ls-fullwidth .ls-nav-next {
        display: none;
    }

    .checkout-content {
        padding: 0 0 40px;
    }
    .checkout-page h2 a {
        padding: 9px 10px 8px;
    }
    .table-wrapper-responsive {
        overflow-x: scroll;
    }

    .shopping-cart-page .btn-default {
        float: right;
    }
    .shopping-cart-page .btn-primary {
        clear: both;
        margin-top: 10px;
    }
    .checkout-page .btn-default {
        clear: both;
        margin-top: 10px;
        margin-right: 0 !important;
    }

    .product-item:hover > .pi-img-wrapper>div {
        display: none;
    }

    .steps-block-simple h2 {
        font-size: 21px;
    }
    .steps-block-simple em {
        font-size: 14px;
        text-transform: inherit;
    }

    .ecommerce .pre-footer-subscribe-box h2,
    .corporate .pre-footer-subscribe-box h2 {
        float: none;
    }

    .list-view-sorting .pull-right {
        float: left !important;
        margin: 0 30px 10px 0;
    }

    .header .top-cart-block {
        margin-top: 0;
    }
    .reduce-header .top-cart-block {
        margin-top: 0;
        margin-bottom: 19px;
    }

}
/* END max width 480px */
/* BEGIN max width 480px */
@media (max-width: 480px) {
    .pre-header .list-inline li {
        display: block;
        border: none;
        margin-bottom: 10px;
        padding: 0;
    }

    .pre-header .col-md-6 {
        float: left;
    }

    .pre-header .additional-nav {
        float: right;
        text-align: right;
    }
}
/* BEGIN max width 767px */
@media (max-width: 767px) {
    .pre-header .pull-right {
        float: left !important;
    }
    .pre-header .pull-right li:first-child {
        padding-left: 0;
    }
    .ecommerce .pre-footer-subscribe-box form {
        float: none;
        width: auto;
    }

    .header .header-navigation {
        margin: 0 -10px 0;
        padding: 0 10px;
    }
    .header-navigation-content {
        min-width: 100px;

    }


}
/* END max width 767px */


/* BEGIN min width 1025px */
@media (min-width: 1025px) {
    .header .header-navigation {
        display: block !important;
    }
}
/* END min width 1025px */

/* BEGIN min width 1025px max width 1205 */
@media (min-width: 1025px) and (max-width: 1205px) {
    body.page-header-fixed {
        padding-top: 121px !important; /* height of the header */
    }

    .header .header-navigation {
        display: block !important;
        clear: both;
        margin-top: -10px;
        float: left !important;
    }
    .reduce-header .header-navigation {
        margin-top: -6px;
    }
    .header .header-navigation > ul > li {
        margin-right: 27px;
    }
    .header .header-navigation > ul > li > a {
        padding: 5px 0 18px;
    }
    .reduce-header .header-navigation > ul > li > a {
        padding-bottom: 13px;
    }
    .header .header-navigation > ul > li.active > a, .header .header-navigation > ul > li > a:hover, .header .header-navigation > ul > li > a:focus, .header .header-navigation > ul > li.open > a, .header .header-navigation > ul > li.open > a:hover, .header .header-navigation > ul > li.open > a:focus {
        background: none;
    }
    .header-navigation > ul > li.dropdown:hover > a:after {
        margin-left: 10px;
    }

    .dropdown-fix-right .dropdown-menu {
        left: 0;
        right: auto;
    }

    .header .header-navigation li.menu-search {
        top: 1px;
        margin-left: -20px;
    }
    .ecommerce .header .header-navigation li.menu-search {
        top: 2px;
    }
    .header .header-navigation li.menu-search span.sep {
        top: 2px;
        margin-right: 26px;
    }
    .header .header-navigation li.menu-search i {
        top: -4px;
    }
}
/* END min width 1025px max width 1205 */

/* BEGIN max width 1024px */
@media (max-width: 1024px) {
    body.page-header-fixed {
        padding-top: 107px !important; /* height of the header */
    }

    .header .mobi-toggler {
        display: block;
    }
    .header .header-navigation {
        float: none !important;
        display: none;
        clear: both;
        background: #F9F9F9;
        padding: 0 20px;
        margin: 0 -20px 25px;
        font-size: 16px;
    }
    .header .header-navigation li {
        float: none;
        padding: 0;
        clear: both;
    }
    .header .header-navigation li > a,
    .header .dropdown.open .dropdown-toggle,
    .header .header-navigation li.open > a {
        border-bottom: 1px solid #efefef !important;
        padding: 8px 10px 9px;
        margin: 0 -10px;
        position: relative;
        color: #666 !important;
        background: none !important;
    }
    .ecommerce .header .header-navigation li > a,
    .ecommerce .header .dropdown.open .dropdown-toggle,
    .ecommerce .header .header-navigation li.open > a {
        padding: 12px 10px 9px;
    }
    .header .header-navigation li > a:hover,
    .header .header-navigation li.active > a,
    .header .header-navigation li.open > a:hover {
        border-bottom: 1px solid #efefef !important;
        background: none !important;
        color: #dd4632 !important;
        text-decoration: none;
    }

    .header-navigation > ul > li.dropdown:hover > a:after {
        border: none;
    }

    .header-navigation > ul > li > a > i.fa-angle-down {
        display: block;
        float: right;
        margin: 3px 0 0;
    }

    /* dropdown menu */
    .header-navigation .dropdown-menu,
    .header-navigation > ul > li > .dropdown-menu {
        position: static;
        width: 100%;
        margin: 0;
        border: none;
        box-shadow: none;
        background: none;
        margin-top: 0;
        border-top: none;
        z-index: 22;
    }
    .header-navigation .dropdown-menu li {
        border: none !important;
        margin-left: 20px;
    }
    .header-navigation .dropdown-menu li > a {
        padding: 10px 10px 9px;
        z-index: 999;
        position: relative;
    }
    .header-navigation .dropdown-menu li > a > i {
        display: none;
    }

    .header-navigation .dropdown-menu .dropdown-menu {
        display: block;
    }
    .header-navigation .header-navigation-content {
        border: none;
    }
    .dropdown-megamenu .header-navigation-content {
        padding: 5px 0 0;
        margin-left: -20px;
    }
    .dropdown-megamenu .header-navigation-content .row {
        margin: 0;
    }
    .dropdown-megamenu .header-navigation-content .header-navigation-col {
        padding: 0;
        float: none;
        width: 100%;
    }
    .dropdown-megamenu .header-navigation-content h4 {
        font-size: 13px;
        padding: 10px 10px 9px;
        margin: 0 -10px 0 10px;
    }
    .header-navigation .dropdown-megamenu .header-navigation-content li > a {
        padding: 10px 10px 9px;
    }

    .header-navigation-content-ext {
        background: none;
    }
    .header-navigation-description {
        height: auto !important;
        background: none;
        box-shadow: none;
        padding: 0;
        margin: 0 10px;
    }
    .header-navigation-content-ext .col-md-6,
    .header-navigation-content-ext .col-md-3 {
        float: none;
        width: 100%;
    }
    .dropdown-megamenu .header-navigation-content-ext .col-md-3 h4 {
        border-bottom: 1px solid #EFEFEF;
    }
    .header-navigation .dropdown-menu .header-navigation-content-ext li > a {
        display: block;
    }
    .header-navigation-content-ext .col-md-3, .header-navigation-content-ext .col-md-6 {
        padding: 0;
    }
    .header-navigation-content-ext .col-md-6 {
        margin-left: 10px;
    }
    .header-navigation-content-ext .col-md-6 h4 {
        margin-left: 0;
        padding-left: 0;
    }

    .header .nav-brands {
        margin: 15px 10px;
        padding: 0;
        width: 100%;
        background: #fff;
    }
    .header .nav-brands ul {
        border: 1px solid #F0F0F0;
        padding: 10px;
    }
    .header .nav-brands li {
        max-width: 50%;
        display: inline-block;
        border: none;
        margin-left: 0
    }
    .header .nav-brands li a,
    .header .nav-brands li a:hover {
        border: none !important;
        margin: 0 !important;
    }

    .nav-catalogue .dropdown-menu > li {
        margin-left: 0;
    }
    .nav-catalogue .header-navigation-content {
        padding: 20px 0 0;
    }
    .nav-catalogue .product-item {
        margin-bottom: 20px;
    }

    .header-navigation li.menu-search,
    .ecommerce .header-navigation li.menu-search {
        top: 0;
        padding: 20px 0 10px;
        position: relative;
    }
    .header-navigation li.menu-search span.sep {
        display: none;
    }
    .header-navigation .search-box {
        position: relative;
        right: auto;
        left: 0;
    }
    .header-navigation .search-box:after {
        right: auto;
        left: 0;
    }

    .top-cart-block {
        margin-top: 3px;
    }

    .page-header-fixed .header-navigation {
        height: 300px;
        overflow: auto;
    }
}
/* END max width 1024px */
