/*
* Base CSS for Search Functionality
* Last Update: 2022-11-11
*/


/* Search icon - color and position as needed */
.search-icon {
    display: block;
    position: absolute;
    right: 206px;
    top: 91px;
    transform:translateY(-50%);
    z-index: 2;
    transition:.4s ease-in all;
}

.search-icon {
    color:#222;
    cursor: pointer;
}

.search-icon i {
    font-size:20px;
}

.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:400;
    letter-spacing:2px;
    text-transform: uppercase;
    background:#222;
    color:#fff;
    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:flex;
    width:100%;
    max-width:100%;
    justify-content: space-between;
    align-items: stretch;
}

.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;
    margin-right: -18px;
}

.mobile-search-form > button {
    width:120px;
    margin-left:20px;
    font-size:16px;
    font-weight:400;
    letter-spacing:2px;
    text-transform: uppercase;
    color:#fff;
    border:none;
    border-radius:3px;
    cursor: pointer;
    padding: 0 1.8rem;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color:#000;
    opacity: .9; /* Firefox */
}
  
:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #000;
    opacity: .9;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: #000;
    opacity: .9;
}

.content h1 {
    margin-top: 60px;
}

.search-result {
    margin-top: 30px;
}

@media screen and (max-width: 1024px) {
    .search-icon {
        display: none;
    }
}

@media (min-width: 1024px) and (max-width: 1200px) {
    .search-icon {
        top: 90px;
        right: 50px;
    }
}

@media (min-width: 1200px) and (max-width: 1350px) {
    .search-icon {
        top: 71px;
        right: 185px;
    }
}
@media (min-width: 1351px) and (max-width: 1540px) {
    .search-icon {
        top: 75px;
        right: 204px;
    }
}

.container .content {
    padding-left: 30px;
    padding-right: 20px;
}