@font-face{
    font-family: 'HelvaticaNeue';
    src: url('../fonts/HelveticaNeue.ttf');
}
@font-face{
    font-family: 'SourceSansPro';
    src: url('../fonts/SourceSansPro.ttf');
}
body{
    overflow-x: hidden;
    height:100vh;
}
h1, h2, h3, h4, h5, h6{
    font-family: HelvaticaNeue;
    font-weight: bolder;
}
p, span, b, strong, i, em, mark, small{
    font-family: SourceSansPro
}
a{
    text-decoration: none!important;
}
ul{
   list-style-type: none!important;
}
button:focus,
a:focus {
    outline: none!important;
    box-shadow: none!important;
    /* border: 2px solid transparent; */
}
/* Stick footer to the bottom of site if content is smaller than height of viewport */
.page_content {
    min-height: 83vh;
   flex:1;
}
.pannels a:hover,
.pannels a:active,
.pannels a:visited,
.pannels a:link{
    color: #000000;
}
/* Door panel image height*/
.pannel{
    height: 200px;
}
/* Product profile image height */
.profile{
    max-height: 150px;
}
@media (max-width: 414px){
    .profile{
        max-height: 100px;
    }
    .pannel{
        max-height: 130px;
    }
}
/* Product profile button */
.profile_more_info{
    background-color: #3A3F43;
    color: #ffffff;
    padding: 5px 20px;
}
.profile_more_info:hover,
.profile_more_info:active,
.profile_more_info:visited,
.profile_more_info:link{
    color: #ffffff;
}

.profile_container h6{
    color: #000000;
}

/* === FRONTPAGE CSS === */
/* Slider CSS */
.slider img{
    width: 100%;
}
.slider .slick-slide{
    position: relative;
}
.slider .slick-slide img{
   height: calc(100vh - 60px);
   object-fit: cover
}
.slider .slick-dots{
    left: -35%;
    bottom: 30px;
}
.slider .slick-dots li.slick-active button:before, .slick-dots li button:before {
    color: #cacaca;
    opacity: 1;
    font-size: 14px;
}
.slider .slick-dots li.slick-active button {
    border: 6px solid #ffffff;
    border-radius: 100%;
}
.slider .slick-dots li.slick-active button:before {
    color: transparent;
}
.slider .slick-slide .slider_txt{
    position: absolute;
    top: 40%;
    right: 5%;
}
.slider .slick-slide .frame{
    position: relative;
    color: #ffffff;
}
.slider .slick-slide .banner_text_frame{
    position: absolute;
    border: 12px solid rgba(255, 255, 255, .3);
    left: 40px;
    top: -100px;
    min-width: 75%;
    min-height: 220px;
    animation: square_move 3s linear infinite;
}
@media (max-width: 800px){
    .slider .slick-slide .banner_text_frame{
        left: 0px;
        top: -50px;
        min-width: 96%;
        min-height: 124px;
    }
}
.slider .slick-slide .text_container{
    position: relative;
    overflow: hidden;
    display: inline-block;
}
.slider h1{
    display: inline-block;
}
.slider .banner_title:before{
    content: " ";
    width: 100%;
    position: absolute;
    display: inline-block;
    height: 100%;
    animation: overlay .8s linear forwards;
    background-color: #ffffff;
}
@keyframes overlay{
    0%{
        transform: translateX(-120%)
    }
    100%{
        transform: translateX(150%)
    }
}
@keyframes square_move {
    0%{
        transform: translate(0px, 0px)
    }
    25%{
        transform: translate(3px, 0px)
    }
    50%{
        transform: translate(3px, 3px)
    }
    75%{
        transform: translate(-3px, 3px)
    }
    100%{
        transform: translate(0, 0)
    }
}
/* Isolated Products */
.product-info-container img{
    object-fit: cover;
}
.isolated-products .isolated-product .product-info-container{
    position: relative;
    overflow: hidden;
}
.isolated-products .isolated-product .product_info{
    position: absolute;
    height: 100%;
    z-index: 3;
    transform: translateY(-40%);
    background: rgb(0,0,0);
    background: linear-gradient(360deg, rgba(0,0,0,0.6) 57%, rgba(0,0,0,0.3) 100%);
    transition: all .6s linear;
}
.isolated-products .isolated-product:hover .product_info{
    transform: translateY(-100%);
}
.isolated-products .isolated-product .product_info .see-more-btn{
    border-width: 2px!important;
}
.isolated-products .isolated-product .product_info .see-more-btn:hover{
    background-color: #ffffff;
    color: #314D5D!important;
}
/* Replacement, guarantee, efficiency */
.replacements_guarantees_efficiencies .r_g_e_title{
    position: absolute;
    z-index: 10;
}
.replacements_guarantees_efficiencies h5{
    color: #ffffff;
    background-color: #3A3F43;
    z-index: 10;
}
.replacements_guarantees_efficiencies .r_g_e_container{
    overflow: hidden;
}
.replacements_guarantees_efficiencies .r_g_e_single{
    position: relative;
    overflow: hidden;
    transform: translateX(-150%);
}
.replacements_guarantees_efficiencies .r_g_e_single:hover img{
    transform: scale(1.1);
    transition: all 1s linear;
}
.replacements_guarantees_efficiencies .r_g_e_single:not(:hover) img{
    transform: scale(1);
    transition: all 1s linear;
}
.replacements_guarantees_efficiencies .r_g_e_single img{
    object-fit: cover;
    width: 100%;
}
@media (min-width: 768px) and (max-width: 885px){
    .replacements_guarantees_efficiencies .r_g_e_single img{
        height: 300px;
    }
}
.replacements_guarantees_efficiencies .r_g_e_info{
    position: absolute;
    top: 0;
    bottom: 0;
    background: rgb(0,0,0);
    background: linear-gradient(360deg, rgba(0,0,0,0.6) 57%, rgba(0,0,0,0.3) 100%);
}
/* Counter */
.counter img{
    width: 45px
}
.counter h4, .counter h6{
    color: #314D5D;
}
/* Catalog and about us */
.catalog_about-us .catalog_container{
    min-height: 650px;
}
.catalog_about-us .catalog_container img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.catalog_about-us .why_us_container img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.catalog_about-us .why_us_container{
    overflow: hidden;
    min-height: 650px;
    position: relative;
}
.catalog_about-us .why_us_container .why_us_content{
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.catalog_about-us .why_us_container .why_us_content .top_line{
    height: 5px;
    max-width: 75%;
    background-color: #314D5D;
}
.catalog_about-us .why_us_container:not(:hover) img{
    transform: scale(1);
    transition: all 5s linear;
}
.catalog_about-us .why_us_container:hover img{
    transform: scale(1.2);
    transition: all 5s linear;
}
.catalog_about-us .why_us_container .why_us_content a{
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    display: inline-block;
    font-size: 14px;
    cursor: pointer;
    box-shadow: inset 0 0 0 0 #314D5D;
    -webkit-transition: ease-out 0.4s;
    -moz-transition: ease-out 0.4s;
    transition: ease-out 0.4s;
}
.catalog_about-us .why_us_container .why_us_content a:hover{
    box-shadow: inset 0 0 0 50px #314D5D;
    border: 2px solid #314D5D;
}
/* Partners */
.partners_slider .partners_container_slider img{
    max-width: 100%;
    display:block;
    margin:auto;
}
.partners_slider .partners_container_slider .slick-track{
    display: flex;
    align-items: center;
}
.partners_slider .our_partners{
    color: #ffffff;
    background-color: #314D5D;
}
/* Contact us */
.contact_us_offer{
    background: url('../images/contact_offer.jpg') ;
    min-height: 450px; 
    background-attachment: fixed;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}
.contact_us_content{
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.contact_us_content .contact_us_btn{
    background: #3A3F43;
}
/* Certificates */
.certificates_slider .certificates_container_slider img{
    max-width: 100%;
    display:block;
    margin:auto;
}
.certificates_slider .certificates_container_slider .slick-track{
    display: flex;
    align-items: center;
}
/* Footer */
footer{
    background-color: #3A3F43;
}
footer .footer_categories a{
    border: 1px solid #ffffff;
}
footer .social img{
    width: 30px;
}
footer .footer_contact img{
    width: 20px;
}
footer .catalog_btn button{
    border: 2px solid #ffffff;
    border-radius: 5px;
    background-color: transparent;
    padding: 2px 15px;
    align-items: center;
    cursor: pointer;
    height: 45px;
}
footer .catalog_btn small{
    font-size: 65%!important
}
footer .catalog_btn p{
    line-height: 0.7;
    font-size: 14px;
}
footer .catalog_btn img{
    width: 20px
}
footer .copyright{
    border-top: 2px solid#596269;
}

/* === END FRONTPAGE CSS === */


/* === CONTACT US CSS === */
.contact_us_banner_container{
    background-image: url('../images/contact_us_banner.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 450px;
}
.contact_us_banner_container .banner_title{
    display: flex;
    justify-content: center;
    min-height: 450px;
}
.contact_us_banner_container .banner_title h1{
    align-self: center;
}

.contact_form_container .custom-form::placeholder{ opacity:0; }
.contact_form_container .custom-form:-webkit-input-placeholder{ opacity:0; }
.contact_form_container .custom-form::-ms-input-placeholder{ opacity:0; }
.contact_form_container .custom-form::-moz-placeholder{ opacity:0; }
.contact_form_container .custom-form::-o-placeholder{ opacity:0; }
.contact_form_container .place {
  position: absolute;
  top: 5px;
  font-size: 1.1em;
  margin-left: 13px;
  pointer-events: none;
  color: #314D5D;
  transition: all .2s ease-in-out;
}
.contact_form_container .custom-form:focus ~ .place,
.contact_form_container .value-exists + .place {
  color: #ffffff;
  top: -15px;
  padding: 2px 6px;
  margin-left: 13px;
  background: #314D5D;
  font-weight: 600;
  font-size: calc( 100% - 0.2em );
}
.contact_form_container .custom-form{
    border: 2px solid #314D5D;
}
.contact_form_container .custom-form:focus{
    border: 2px solid #314D5D;
}
.contact_form_container .place{
    color: #314D5D;
}
.contact_form_container textarea#teatarea {
    min-height: 200px;
}
.contact_form_container .submit_form{
    background-color: #314D5D;
    color: #ffffff;
}
.career{
     background-image: url('../images/career.png');
     background-repeat: no-repeat;
     background-size: cover;
     background-position: center;
     height: 250px;
 } 
 /*Hide real input file button */
 .career .send_file .hidden_input{
     display: none;
 }
 .career h2, .career p{
     color: #314D5D;
 }
 .career .send_file button{
     background-color: #314D5D;
     color: #ffffff;
 }
 .career .send_file .upload_cv_btn{
     width: 200px
 }
 .career .career_content{
    min-height: 250px;
 }
 /* === END CONTACT US CSS === */

 /* === ABOUT US CSS === */
 .about_us_banner_container{
    background-image: url('../images/about_us_banner.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 450px;
}
.about_us_banner_container .banner_title{
    display: flex;
    justify-content: center;
    min-height: 450px;
}
.about_us_banner_container .banner_title h1{
    align-self: center;
}
.about_us .about_intro p{
    line-height: 1.8;
}
@media (min-width: 768px){
    .about_us .about_aside_img{
        max-width: 290px;
        height: auto;
    }
}
.about_us h4{
    background-color: #3A3F43;
}
.about_us .motto{
    width: 100vw;
    position: relative;
    margin-left: -50vw;
    left: 49.2%;
}
.why_choose_us{
    background-image: url('../images/why_choose_malijos.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.why_choose_us ul li{
    position: relative;
}
.why_choose_us ul li::before{
    background-color: #3A3F43;
  border-radius: 50%;
  content: "";
  display: inline-block;
  left: -30px;
  top: 5px;
  height: 15px;
  width: 15px;
  position: absolute;
}
.production_steps .step{
    cursor: pointer;
}
.production_steps .step img{
    width: 45px;
}
.production_steps .step .step_description{
    background-color: #314D5D;
    opacity: 0;
    transition: all 1s linear;
    font-size: 85%!important;
}
.production_steps .description_wrapper{
    overflow: hidden;
}

.production_steps .step.active .step_description{
    opacity: 1;
    transition: all 1s linear;
}
.production_steps .step .step_description:before{
    content: " ";
    width: 10px;
    height: 10px;
    position: absolute;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
    border-bottom: 15px solid #314D5D;
    top: 80px;
    left: 0;
    right: 0;
    margin: auto;
}
/* when scroll show elements combined with javascript */
@media (max-width: 992px){
    .production_steps .description_wrapper .step_description{
        opacity: 1;
        transform: translateX(-150%);
    }
    .production_steps .step .step_description:before{
        content: " ";
        width: 10px;
        height: 10px;
        position: absolute;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 15px solid #314D5D;
        top: -15px;
        left: 0;
        right: 0;
        margin: auto;
    }
}

/* REMOVE GALLERY CSS AND IMAGES FROM FOLDER */
/* Create four equal columns that sits next to each other */
.gallery{
    height: 450px;
    overflow-y: auto;
}
.column {
    -ms-flex: 25%; /* IE10 */
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
  }
  .column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
  }
  @media screen and (max-width: 800px) {
    .column {
      -ms-flex: 50%;
      flex: 50%;
      max-width: 50%;
    }
  }
  @media screen and (max-width: 600px) {
    .column {
      -ms-flex: 100%;
      flex: 100%;
      max-width: 100%;
    }
  }

  /* width */
.gallery::-webkit-scrollbar {
    width: 5px;
  }
  
  /* Track */
.gallery::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #0B527A; 
    border-radius: 10px;
}
   
  /* Handle */
.gallery::-webkit-scrollbar-thumb {
    background: #314D5D; 
    border-radius: 10px;
}
 /* === END ABOUT US CSS === */

 /* ==== ** CATEGORIES CSS ** ==== */
 .category_banner{
     background-color: #3A3F43;
     height: 250px;
 }


 /* Single profile product Global css*/
.single_profile .technical_characteristics_icon{
    width: 30px;
}
.single_profile .technical_characteristics_wrapper > div:not(:last-child){
    border-bottom: 2px solid #3A3F43;
}
.related_products_title{
    background-color: #3A3F43;
}
.related_products_slider{
    width: 100%;
}
@media (max-width: 360px){
    .related_products_slider .slick-dots{
        bottom: -40px;
    }
}
.related_products_slider .slick-dots li{
    width: 15px;
    height: 15px;
}
.related_products_slider .related_product{
    height: 130px;
}
.related_products_slider .related_product_img{
    position: relative;
    overflow: hidden;
}
.related_products_slider .see_more_icon_container{
    position: absolute;
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: center;
    top: -70px;
    background-color: rgba(196,196,196, .65);
    transition: all .3s linear;
}
.related_products_slider .related_product_container{
    height: 260px;

}
.related_products_slider .related_product_container:hover .see_more_icon_container{
    top: 0px
}
.related_products_slider .see_more_icon_container img{
    width: 30px;
}
.see_more_single_profile{
    color: #3A3F43;
    border: 2px solid #3A3F43;
}
.see_more_single_profile:hover{
    color: #ffffff;
    background-color: #3A3F43;
}
.related_products_slider .see_more_btn_container{
    transform: translateY(70px);
    transition: all .3s linear;
}
.related_products_slider .related_product_container:hover .see_more_btn_container{
    transform: translateY(0px);
}
@media (max-width: 1023px){
    .related_products_slider .related_product_container .see_more_btn_container{
        transform: translateY(0px);
    }
    .related_products_slider .related_product_container .see_more_icon_container{
        display: none;
    }
    /* .category_banner{
        margin-top: 60px;
    }   */
}
/* End Single product global css */


/* CSS for door pannels */
.categorie_content .panel_pagination .pagination .page-item .page-link.active{
    background-color: #3A3F43!important;
    color: #ffffff!important;

}
.categorie_content .panel_pagination .pagination .page-item .page-link:hover{
    border: 1px solid #3A3F43;
    border-radius: 3px;
}
.categorie_content .panel_pagination .pagination .page-item .page-link{
    color: #3A3F43 !important;
    border: 1px solid transparent;
}
.single_pannel img{
    height:400px;
}
/* End CSS for door pannels*/



.glass_label{
    background-color: #3A3F43;
}
/* Isolated product CSS */
.additional_info_container, .isolated_product_technical_info{
    box-shadow: 0px 4px 10px 1px rgba(0,0,0,0.9)

}
.additional_info b{
    background-color: #3A3F43;
}
/* End isolated product CSS */

/*Energy efficiency CSS*/
.energy_efficiency_banner_container{
    background-image: url('../images/e_g.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 400px;
}
.saving_environment{
    background-image: url('../images/saving_environment.png');
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: 65% 45%;
    max-height: 450px;
}

.saving_per_year{
    background-image: url('../images/money_plants.png');
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    height: 450px;
}
.did_you_know{
    background-image: url('../images/question-mark.png');
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position:65% 45%;
    height: 450px;
}

.saving_environment h1, .saving_per_year h1, .did_you_know h1{
    height: 450px;
}
.checkmark{
    width: 17px;
}
.saving_comparation .comparation{
    background-color: #3A3F43;
}
@media (max-width: 480px){
    .energy_efficiency_banner_container{
        height: 250px;
    }
    .saving_environment, .saving_per_year, .did_you_know{
        height: 250px;
    }
    .saving_environment h1, .saving_per_year h1, .did_you_know h1{
        height: 250px;
    }
}

/*End energy efficiency CSS */

/* Quality guarantee banner container CSS */
 .quality_guarantee_banner_container{
    background-image: url('../images/garancija_banner.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 60% 25%;
    height: 400px;
 }
 .opening_door_bg{
    background-image: url('../images/opening_door.png');
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: 70% 15%;
    height: 450px;
 }
 .opening_door_bg h1 b{
    height: 450px;
}

 @media (max-width: 480px){
    .quality_guarantee_banner_container, .opening_door_bg{
        height: 250px;
    }
    .opening_door_bg h1 b{
        height: 250px;
    }
}
/* End Quality guarantee banner container CSS */

/* Replacement CSS */
.replacement_banner_container{
    background-image: url('../images/zamjena.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 400px;
}
.window_replacement{
    background-image: url('../images/window_replacement.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    height: 450px;
}
@media (max-width: 480px){
    .replacement_banner_container, .window_replacement{
        height: 250px;
    }
}
/* End replacement CSS */

@media (max-width: 480px){
    h1{
        font-size: 1.9rem;
    }
    h2{
        font-size: 1.8rem;
    }
    h3{
        font-size: 1.55rem;
    }
    h4{
        font-size: 1.3rem;
    }
    h5{
        font-size: 1.05rem;
    }
    p, span, strong, a{
        font-size: 16px;
    }
    small{
        font-size: 14px;
    }
    .category_banner{
        height: 150px
    }
    footer .social a img{
        width: 20px;
    }
}

@media (min-width: 480px) and (max-width: 840px){
    h1{
        font-size: 2rem;
    }
    h2{
        font-size: 1.9rem;
    }
    h3{
        font-size: 1.65rem;
    }
    h4{
        font-size: 1.4rem;
    }
    h5{
        font-size: 1.15rem;
    }
    p, span, strong, a{
        font-size: 17px;
    }
    small{
        font-size: 15px;
    }
}