/* Style The Dropdown Button */
.dropbtn {
    background-color: transparent;
    color: black;
    /* padding: 10px 20px; */
    padding: 13px 30px;
    /* font-size: 16px; */
    /* border: none; */
    cursor: pointer;
    border: 0px solid #ec373e;
    border-radius: 14px;
    /* margin-left:1em; */
    text-wrap: nowrap;
    outline:0;
    font-weight: 600;
}
.dropbtn:focus{
    outline: 1px solid #ec373e;
}
.dropbtn::after{
    display: inline-block;
    margin-left: .255em;
    vertical-align: .155em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}
/* The container <div> - needed to position the dropdown content */
.dropdown-lang {
    position: relative;
    margin: 0px 22px;
}

/* Dropdown Content (Hidden by Default) test */
.dropdown-lang-content, ul.dropdown-lang-content {
    display: none;
    padding-left: 0;
    position: absolute;
    right: 0;
    border-radius: 20px;
    background-color: #f9f9f9;
    min-width: 100%;
    /* left: 1rem; */
    top: 3em;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
ul.dropdown-lang-content.show{
    display: block!important;
}
/* Links inside the dropdown */
.dropdown-lang-content a, .dropdown-lang-content li a{
    color: black;
    padding: 12px 30px;
    text-decoration: none;
    display: block;
    border: 1px solid transparent;
}
.dropdown-lang-content li{
    border: 1px solid transparent;
}

/* Change color of dropdown links on hover */
.dropdown-lang-content a:hover, ul.dropdown-lang-content li:hover {
    background-color: #f1f1f1;
    border-bottom: 1px solid #ec373e;
    border-top: 1px solid #ec373e;
    
}
.dropdown-lang-content a:first-child:hover, ul.dropdown-lang-content li:first-child:hover{
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-top:1px solid transparent;
}
.dropdown-lang-content a:last-child:hover, ul.dropdown-lang-content li:last-child:hover{ 
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-bottom: 1px solid transparent;
}
/* Show the dropdown menu on hover */
/* .dropdown-lang:hover .dropdown-lang-content {
    display: block;
} */

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown-lang:hover .dropbtn {
 /* background-color: #ec373e; */
    color: #ec373e;
}   

.show { display: block;}

.request_and_search .btn-red-bg{
    text-wrap: nowrap;
    margin-left:2em;
}



.search-block-lang{
    margin: 0px 15px 0 0px;
    /* border: 1px solid red; */
    width: 50px;
    height: 50px;
    border: 1px solid #ccc;
    border-radius: 10px;
    position: relative;
    flex: 1;
    cursor: pointer;
    display: block;
}
.search-block-lang:hover{
    border:1px solid #ec373e;
}
.search-block-lang a{
    position: absolute;
    width: 25px;
    height: 25px;
    display: block;
    top: 50%;
    /* vertical-align: middle; */
    left: 50%;
    transform: translate(-50%, -50%);
}
.search-expanded{
    display: none;
    position: absolute;
    top: 101px;
    width: 100%;
    background-color: white;
    padding: 2em 70px;
    /* border-bottom: 1px solid #d7002b; */
    box-shadow: 0 6px 13px 0px #dedede;
}
.search-expanded input{
    width: 100%;
    display: flex;
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 11px 40px 11px 20px;
    outline: none;
    
}
/* clears the ‘X’ from Internet Explorer */
input[type=search]::-ms-clear { display: none; width : 0; height: 0; }
input[type=search]::-ms-reveal { display: none; width : 0; height: 0; }
/* clears the ‘X’ from Chrome */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }
.searchbar{
    max-width: 1440px;
    margin: 0 auto;
    width:100%;
}
.searchbar div{
    position: relative;
}
.search-expanded .input-searchbar__button{
    position: absolute;
    background: transparent;
    border: transparent;
    top: 11px;
    right: 21px;
    width: 34px;
}
@media (max-width: 1199px){
    .search-expanded{
        display: none;
    }
    .search-block-lang{
        display: none;
    }
    .search-block .search-icon {
        top: 5px;
        right: 4px;
        width: 16px;
    }
    .searchbar{
        width: 100%;
    }
    .input-searchbar__button{
        width: 25px;
        height: 25px;
        top: 7px;
        right: 9px;
    }


}
/* @media (min-width: 1200px){
    .desktop-lang{
        display: inline-block;
    }
    .mobile-lang{
        display:none;
    }
} */

@media(max-width:991px){
    .mobile-lang{
        display:block;
        margin:0;
    }
    .dropbtn:focus{
        outline: 0;
    }
    .mobile-lang button{
        padding: 0;
        outline: 0;
    }
    .dropdown-lang-content, ul.dropdown-lang-content {
        right:unset;
        box-shadow: unset;
        left:0;
        top: unset;
    }
    .dropdown-lang-content a, ul.dropdown-lang-content li{
        
    }
    .desktop-lang{
        display:none;
    }
    .search-expanded{
        display: none !important;
    }
}
@media(min-width:992px){
    .mobile-lang{
        display:none;
    }
    .desktop-lang{
        display:block;

    }
    /* Temp use */
    div.request_and_search a.btn-red-bg {
        margin-right: 2em;
    }
}