/*
* Base CSS for Search Functionality
* Last Update: 2022-11-11
*/


/* Search icon - color and position as needed */
.search-icon {
    display: block;
    position: absolute;
    right: 123px;
    top: 38px;
    transition: .4s ease-in all;
    z-index: 2;
    cursor: pointer;
}

.search-icon i {
    font-size:22px;
    color:#d9b690;
}

/* Inline search icon within top-right */
.search-icon-inline {
    margin-left: 10px;
    cursor: pointer;
    transition: .4s ease-in all;
}

.search-icon-inline i {
    font-size: 17px;
    color: #d9b690;
    margin: 0 10px;
}

.search-icon-inline i:hover {
    color: #e3e3e3;
}

.search-icon svg {
    width:50px!important;
    height:50px;
}

/* Search overlay - color as needed */
.search-overlay {
    position:fixed;
    top: 0;
    bottom:0;
    left:0;
    right:0;
    z-index: 9999999999990;
    background: rgba(255,255,255,.9);
    width:100%;
    height:0;
    display:flex;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    transition:.4s ease-in all;
    opacity: 0;
    
}

.search-overlay.active {
    height:100%;
    opacity:1;
}

.search-close {
    position: absolute;
    right:3.3rem;
    top:5.2rem;
    color:#222;
    font-size:36px;
    font-weight:bold;
    cursor: pointer;
}

/* Search overlay form - color as needed */
.search-overlay > form {
    display:flex;
    width:100%;
    max-width:480px;
    justify-content: space-between;
    align-items: stretch;
}

.search-overlay > form > input {
    width:100%;
    background:transparent;
    border:none;
    border-bottom:1px solid #222;
    font-size:20px;
    color:#222;
    padding:8px 12px;
}

.search-overlay > form > button {
    width:200px;
    margin-left:20px;
    font-size:18px;
    font-weight:700;
    letter-spacing:2px;
    text-transform: uppercase;
    background:#333A61;
    color:#d9b690;
    border:none;
    border-radius:6px;
    cursor: pointer;
}

.search-overlay > form > button:hover {
    background:#fff;
    color:#222;
}


/* Mobile search form - style and color as needed */
.mobile-search-form {
    display:none;
    width:100%;
    max-width:100%;
    justify-content: space-between;
    align-items: stretch;
    margin:60px 0 40px;
}

.mobile-search-form > input {
    width:100%;
    background:rgba(255,255,255,.2);
    border:1px solid #eee;
    font-size:18px;
    color:#fff;
    padding:8px;
    font-weight:400;
    border-radius: 7px;
}

.mobile-search-form > button {
    width:120px;
    margin-left:20px;
    font-size:18px;
    font-weight:400;
    letter-spacing:2px;
    text-transform: uppercase;
    color:black;
    border:none;
    border-radius:3px;
    cursor: pointer;
    background-color: #fff;
    opacity: .6;
}

@media screen and (max-width: 1280px) {
    .mobile-search-form  {
        display: none;
    }
}

@media screen and (max-width: 1042px) {
    .mobile-search-form  {
        display: flex;
    }
}



.search-input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: black;
    opacity: .7; /* Firefox */
}
  
.search-input:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: black;
    opacity: .7;
}

.search-input::-ms-input-placeholder { /* Microsoft Edge */
    color: black;
    opacity: .7;
}

/* @media screen and (max-width:1300px){
    .search-icon {
        right:60px;
    }
} */

@media screen and (max-width:1024px){
    .search-icon, .search-icon-inline {
        display:none;
    }
    #phone-label, #menu-label {
        display:none;
    }
}

@media screen and (min-width: 1024px) {
    .search-icon {
        top: 34px;
    }
}

@media screen and (min-width: 1300px) {
    .search-icon {
        top: 38px;
        right: 123px;
    }
}