/* hero */
html, body {
    overflow-x: hidden;
    background-color: #e7eff2;
}

html.modal-open {
    overflow: hidden;
}

.custom-header{
    position:fixed !important;
}

.body-container-wrapper{
    padding-top:75px;
}

.blocker{
    z-index: 10 !important;
}

.hero{
    padding: 50px;
    z-index: 1;
    position:relative;
    display:none !important;
}
.hero.active{
    display:flex !important;
}
.hero .bg-container{
    z-index: 1 !important;
    border-radius: 5px;
}
.hero>.row-fluid-wrapper{
    z-index: 2 !important;
}

/* wrapper */

.wrapper{
    padding-top:30px;
    position:relative;
}

.wrapper .row-fluid-wrapper .row-fluid{
    /*display:flex;*/
    /*align-items:stretch;*/
}
@media(max-width:1199px){
    
    .wrapper{
        padding: 0 10px;
    }
}

@media(max-width:767px){
    .wrapper .row-fluid-wrapper .row-fluid{
        align-items: center;
        flex-wrap: wrap;
    }
    
    .wrapper .row-fluid-wrapper .row-fluid>.widget-span{
        width: 100%;
    }
}

/* filters */

.filters-holder{
    position:relative;   
}

#filters{
    list-style:none;
    padding:0;
    border-radius: 5px;
    background: #FFF;
    margin-left: 0;
    margin-bottom: 30px;
    box-shadow: 0px 9px 54px -1px rgba(0,0,0,0.12);
    width: 100%;
    overflow:hidden;
    opacity:0;
    transition: opacity 0.20s ease;
}
#filters.more{
    overflow: visible;
    height: auto !important;
}

#filters li a{
    border-bottom: 1px solid #F1F2F6;
    padding: 20px;
    display:block;
    
    font-family: "Montserrat",Helvetica,sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #33385C;
    position:relative;
}
#filters>li.hasChilds>a:after {
    content: '';
    transform: rotate(-45deg);
    border-bottom: solid 3px #BEC4D5;
    border-right: solid 3px #BEC4D5;
    height: 12px;
    width: 12px;

    position:absolute;
    transition: all 0.3s;
    
    right: 20px;
    top: 27px;
}

#filters>li.active.hasChilds>a:after {
    transform: rotate(45deg);   
}

#filters li a:hover{
    color: #5E6782;
}

#filters li:not(.morebtn):last-child{
    border-bottom: none;
}

#filters li.morebtn{
    position: absolute;
    bottom:-2px;
    left:0;
    width: 100%;
}
#filters li.morebtn a{
    padding: 8px 20px;
    background: #FFF;
}
#filters.more li.morebtn{
    position:relative;
}

#filters li ul{
    margin:0;
    list-style:none;
    padding:0;
    max-height: 1px !important;
    height: auto !important;
    
    opacity: 0;
    overflow: visible;
    visibility: hidden;
    transition: max-height 0.50s linear, visibility 0.25s linear, opacity 0.25s linear;
}
#filters li.active ul{
    max-height: 1080px !important;
    opacity: 1;
    visibility: visible;
    transition-delay:0s;   
}
#filters li ul li a{
    color: #A3A9B6;
    text-transform:uppercase;
    font-size: 12px;
}
@media(max-width:767px){
    #filters{
        position:relative;   
    }
}


/* product listing */
#products{
    /*display: -ms-grid;*/
    /*display: grid;*/
    /*-ms-grid-columns: calc((100% - 60px) / 3) calc((100% - 60px) / 3) calc((100% - 60px) / 3);*/
    /*grid-template-columns: repeat(3, calc((100% - 60px) / 3));*/
    /*grid-gap: 30px;*/
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    
    opacity:0;
    transition: opacity 0.20s ease;
}

#products .item{
    width:calc((100% - 60px) / 3);
    margin-bottom: 30px;
    
    /*width: 100%;*/
    background: #FFF;
    text-align:center;
    padding:48px 24px;
    margin-right: 30px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    
    box-shadow: 0px 9px 54px -1px rgba(0,0,0,0.12);
    position:relative;
    
    transition: all .3s linear;
    border-radius: 5px;
}

#products .item.last-fix{
    margin-right: 0px;
}

@media(min-width:768px) and (max-width:1023px){
    #products{
        /*-ms-grid-columns: calc((100% - 30px) / 3) calc((100% - 30px) / 3);*/
        /*grid-template-columns: repeat(2, calc((100% - 30px) / 2));*/
    }
    #products .item{
        width:calc((100% - 60px) / 2);
    }
}
@media(max-width:767px){
    #products{
        /*grid-template-columns: 100%;*/
    }
    #products .item{
        width: 100%;
        margin-right: 0;
    }
}

#products .item a{
    position:absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border:2px solid #FFF;
    border-radius: 30px;
    background: #33529d;
    color: #FFF;
    min-width:80%;
    padding: 15px 20px;
    
    transition: visibility .3s linear;
    visibility:hidden;
    opacity:0;
    
    font-family: "Montserrat",Helvetica,sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    
    cursor:pointer;
}

#products .item p{
    font-family: "Montserrat",Helvetica,sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #33385C;
    
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#products .item img{
    mix-blend-mode: multiply;
}

#products .item:hover{
    background: #33529d;
    color: #FFF;
    transform: translateY(-10px);
}
#products .item:hover a{
    visibility:visible;
    opacity:1;
}
#products .item:hover p{
    color:#FFF;   
}

#products-loader{
    text-align:center;
    opacity: 0;
    visibility: hidden;
    transition: visibility 0.25s linear, opacity 0.25s linear;
}
#products-loader.active{
    visibility: visible;
    opacity:1;
}
#products-loader img{
    width: 80px;
    height: 80px;
}

.form-area{
    position:relative;
    padding-bottom: 20px;
}

#form-modal{
    display:none;
    max-width: 80%;
    z-index:99;
}
#form-modal>.row-fluid-wrapper>.row-fluid{
    display:flex;
    align-items:stretch;
}
#form-modal .image-area{
    position:relative;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
#form-modal .image-area a.btn-pdf{
    position:absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    border:2px solid #FFF;
    border-radius: 30px;
    background: #33529d;
    color: #FFF;
    padding: 15px 50px;
    
    font-family: "Montserrat",Helvetica,sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    
    cursor:pointer;
    
}

#form-modal .hs-form-field>label{
    display:none;
}
#form-modal .hs-form-field input{
    margin-bottom: 10px;
}
#form-modal .hs-error-msgs label{
    font-size:12px;
}

#form-modal .disclaimer{
    color: #999;
    text-align: center;
    display: block;
    font-size: 14px;
    
    position:absolute;
    bottom:0;
    right:0;
}

@media (max-width:991px){
    .hero{
        padding: 50px 50% 50px 20px;
    }
    
    #form-modal{
        max-width: 90%; 
        width: 80%;
        padding: 10px;
    }
    #form-modal h1{
        font-size: 1.3rem;
    }
    
}
@media (max-width:767px){
    
    #form-modal{
        max-width: 98%; 
        width: 90%;
        padding: 10px;
        text-align: center;
    }
    #form-modal>.row-fluid-wrapper>.row-fluid{
        display: block;
    }
    #form-modal>.row-fluid-wrapper>.row-fluid>.widget-span{
        width: 100%;
        margin: 0;
    }
    
    #form-modal .hs-button{
        display: block;
        width: 100%;
    }
}