a{
    color: black;
    text-decoration: none;
}
/* HEADER */
header{
    height: 70px;
    position: sticky;
    top: 0;
    z-index: 20;
}
header .d-flex.flex-column{
    gap: 10px;
}
/* first number is transtion duration, second is delay */
.header-inner{
    /*If to change the variable time, also change other transitions' time (burger-menu, horizontal-line header)*/
    --x: 0.4s;
    height: 70px;
    padding-left: 30px; 
    padding-right: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 5px 12px rgba(0, 0, 0, 0.100);
    z-index: 5;
    position: absolute;
    transition:
        background var(--x) var(--x),
        height var(--x);
    background-color: white;
    justify-content: start;
}
.header-opened{
    position: fixed;
    height: 100vh; 
    background-color: var(--bs-primary);
    z-index: 5;       
}

.navbar{
    width: 100%;
    max-width: 1440px;
    height: fit-content; 
    padding: 15px 0px 15px 0px;
}
.navbar-side{
    display: flex;
    gap: 16px;
    align-items: center;
}
.navbar-side div{
    display: flex;
    align-items: center;
}
.navbar-side a{
    transition: 0.1s;
    padding-left: 8px;
    padding-right: 8px;
    font-weight: 600;
}
/*Hover scaling for elements*/
.transition-header{
    transition: 0.1s;
}
.transform-scale-header:hover{
    transform: scale(1.05);
}
/*Hover scaling for elements*/
.language a{
    padding-left: 6px;
    padding-right: 0px;
}
.burger-block{    
    height: 100% !important;
    gap: 0.4rem !important;
    cursor: pointer;
}
.burger-menu{
    display: none !important;
    width: 30px;
    height: 4px;    
    background-color: black;
    border-radius: 6px 6px 6px 6px;
    position: relative;
    transition: 
        background 0.4s 0.4s,
        transform 0.4s;
}
.btn-primary:hover{
    transition: 0.3s;
    box-shadow: 0px 0px 10px 0.01px rgba(240, 27, 38, 0.53);
}

/* Burger menu changes after opening  */
.burger-menu:nth-child(1).burger-opened{
    transform: translateX(-5px);
}
.burger-menu:nth-child(3).burger-opened{
    transform: translateX(5px);
}
.burger-opened{
    background-color: white;
}
/* Button's changes after opening  */
.btn-opened.btn-secondary:hover{
    box-shadow: 0px 0px 15px 0.1px rgba(255, 255, 255, 0.478);
}
.btn-opened.btn-primary{
    background-color: white;
    color: var(--bs-primary);
    border-radius: none !important;
    border: 0px;
}
.btn-opened.btn-primary:hover{
    box-shadow: 0px 0px 15px 0.1px rgba(255, 255, 255, 0.478);
    transition: 0.3s;
    border: 0px;
}
.btn-opened.btn-primary:active{
    border: 0px;
}
/* Options after pressing burger */
.header-opened-menu{
    max-width: none !important;  
    visibility: hidden;    

}
.header-opened-menu .btn{
    display: none;
}
.horizontal-line-header{
    padding-top: 8px;
    border-bottom: 2px solid white;
    width: 0%;
    transition: width 0.4s 0.4s;
}
.horizontal-line-header-opened{
    width: 100%;
}
.body-stop-scroll{
    height: 100vh !important;
    overflow-y: hidden !important;
}
.language{
    cursor: pointer;
}
/* Classes for languages dropdown */
.dropdown-header{
    position: relative;
    width: 65px !important;
}
/*Hover for language selection*/
.language:hover{
    transition: 0.1s;
    background-color: var(--bs-input-hover) !important;
}
.header-opened .language:hover{
    background-color: transparent !important;
}
/*Hover for language selection*/
.language img{
    width: 20px;
    height: 20px;
}

.dropdown-language{
    visibility: hidden;
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 100%;
    max-height: 100px;
    background-color: rgb(255, 255, 255);
    top: 100%;
    left: 0;
    border-radius: 0 0 6px 6px;
    overflow-y: auto;
    box-shadow: 0px 5px 10px 3px rgba(0, 0, 0, 0.4);
    z-index: 1;
    overflow-x: hidden;    
}
.dropdown-language::-webkit-scrollbar{
    width: 10px;
    
}
.dropdown-language::-webkit-scrollbar-thumb {
    background-color: darkgray; 
    border-radius: 10px; 
}
.dropdown-language .dropdown-option{
    display: flex;
    gap: 0.25rem;
    width: 100%;    
    padding: 0.25rem 0.5rem;  
    border-bottom: 1px solid #F0F0F0;  
    align-items: center;
}
.dropdown-option{
    cursor: pointer;
}
.dropdown-option img{
    width: 22px !important;
    height: 22px !important;
}
.dropdown-option div{
    font-size: 12px;
    font-weight: 500;
}
.dropdown-option:hover{
    background-color: #EBEBEB;
}
.dropdown-language.active-language{
    visibility: visible;
}
/* HEADER */
/* FOOTER */
.inner-footer{
    padding: 24px 30px;
}
.inner-footer .d-flex.flex-column{
    gap: 10px;
    max-width: none;
}
/* Logo has to be limited by size */
.inner-footer img{
    max-width: 172px;
}
.footer-mobile{
    display: none !important;
}
.inner-footer .px18-text{
    font-size: 20px;
}
.gap-80px{
    gap: 4%;
    width: 100%;
    justify-content: center;
}
.gap-146px{
    gap: 10.8%;
}
.width-footer-inner a{
    white-space: nowrap;
}
.application h1{
    line-height: 150%;
}
.footer-line-desktop{
    border-bottom: solid 2px #DFE4EA;
    margin-bottom: 20px;
    margin-top: 20px;
}
.copyright-bottom{
    display: none;
}
.follow-us-tablet{
    display: none !important;
}
.gap-10{
    gap: 10px !important;
}
.payment-cards-holder img:hover{
    transform: scale(1.2);
}
.header-scale:hover{
    transform: scale(1.05);
}
/*Special class for the footer elements to avoid problems with max-width in mainPage*/
.inner-footer .max-width-footer{
    max-width: 400px !important;
}
.inner-footer .max-width-footer-mobile{
    max-width: 350px !important;
}
/*Social networks images*/
.social-network img{
    max-width: 35px;
}
.footer-transition img, .footer-bank-card img{
    transition: 0.1s;
}
.social-network img:hover{
    transform: scale(1.1);
}
/* FOOTER */
@media all and (max-width: 1100px){
    /* HEADER */
    .nav-menu{
        display: none !important;
    }
    .burger-menu, .burger-menu::after, .burger-menu::before{
        display: block !important;
    }
    .main-section{
        height: auto;
    }
    /* HEADER */
    /* FOOTER */
    .inner-footer .d-flex.justify-content-between {
        flex-direction: column;
        gap: 20px;
    }
    .width-footer-inner{
        justify-content: space-between;
    }
    .d-flex.flex-column.gap-4:nth-child(3){
        display: none !important;
    }
    .footer-line{
        border-bottom: solid 2px #DFE4EA;
    }
    .copyright-bottom{
        display: block;
    }
    .follow-us-tablet{
        display: flex !important;
    }
    .bottom-logo-holder{
        max-width: none !important;
    }
    .bottom-logo-holder img{
        max-width: 155px;
    }
    .bottom-logo-holder a{
        max-width: 290px;
    }
    .inner-footer [class*=gap-4]{
        gap: 14px !important;
    }
    /* FOOTER */
}
@media all and (max-width: 860px){
    /* HEADER */
	.navbar-side {
		gap: 4px;
	}
	.navbar-side:first-child {
		width: 175px;
	}
	.navbar-side .btn.pulse-btn {
		width: initial !important;
		font-size: 0.75rem;
	}
    .navbar-side .btn.no-mobile{
        display: none;
    }
    .header-opened-menu .btn{
        display: block;
    }
    /* HEADER */
}
@media all and (max-width: 660px){
    /* FOOTER */
    .header-inner{
        padding-left: 16px;
        padding-right: 16px;
    }
    .footer-mobile{
        display: flex !important;
    }
    .inner-footer .d-flex.justify-content-between.gap-2{
        display: none !important;
    }
    .inner-footer .d-flex.flex-column{
        max-width: none !important;
    }
    .footer-mobile{
        gap: 30px !important;
    }
    /* FOOTER */
}
@media all and (max-width: 425px){
    /* HEADER */
    .navbar{
        flex-wrap: nowrap;
        gap: 1rem;
    }
    /* HEADER */
    /* FOOTER */
    .inner-footer{
        padding: 2rem 1rem 2rem 1rem !important;
    }
    /* FOOTER */
}
@media all and (max-width: 360px){
     /* FOOTER */
     .inner-footer .d-flex.justify-content-between {
        flex-direction: column;
        gap: 10px;
    }
    .inner-footer .px18-text{
        font-size: 18px;
    }
    .inner-footer a{
        font-size: 16px;
    }
    /* FOOTER */
}
footer .footer-mobile .pd-additional-logo-mobile.d-flex{
    gap: 4px !important;
    max-width: 172px !important;
}
.pd-additional-logo-mobile > div > img{
    margin-left: 32px;
    height: 40px;
}
.pd-additional-logo-mobile > div{
   max-width: 75%;
}
.pd-logo-holder{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 14px;
    padding-right: 14px;
    height: 100%;
}
.pd-logo-holder > img{
    max-width: none !important;
}
