.search-navbar {
    display: flex;
    opacity: 0.5;
    text-align: left;
    padding-left: 25px;
    height: 50px;
}

.search-navbar:hover {
    opacity: 0.75;
}


.search-navbar i {
    flex: none;
    min-width: 1.5rem;
    max-width: 1.5rem;
    height: 1.5rem;
    margin: auto 7px auto 0;
}

.search-navbar span {
    padding-top: 2px;
}


.search-modal {
    position: fixed;
    background: var(--background-primary-color);
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    display: none;
    overflow: hidden auto;
}


.search-input {
    width: 90%;
    margin: 0 auto;
    border-bottom: solid 2px var(--border-alpha);
}

.search-input i {
    min-width: 2rem;
    max-width: 2rem;
    height: 2rem;
    opacity: 0.5;
}

.search-input input {
    font-size: 3rem;
    font-weight: bold;
    padding: 0 15px;
    width: 0;
    flex: 1;
}

.search-input .close-search {
    background-color: transparent;
    min-width: 50px;
    max-width: 50px;
    height: 50px;
    font-size: 5em;
    font-weight: 100;
    line-height: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    opacity: 0.5;
}

.search-input .close-search:hover,
.search-input .close-search:focus {
    opacity: 1;
}

.search-input .close-search:active {
    color: var(--highlight-color);
}


.search-country {
    margin-right: 1em;
}

.search-country .country {
    border: none;
    font-size: 0;
    padding: 10px 5px;
}
.search-country .country:hover {
    background-color: var(--border-alpha);
}

.search-country .country i {
    width: 1rem;
    height: 1rem;
    min-width: unset;
}

.search-country .country .chevron {
    display: inline-block;
    vertical-align: middle;
    width: 0.75rem;
}

.search-country .country .icon {
    opacity: 1;
}

.search-country .country span {
    font-size: 1rem;
    vertical-align: middle;
    padding: 0 5px;
}

.search-country .country .country-code {
    text-align: center;
    width: 2.5rem;
    vertical-align: middle;
    text-transform: uppercase;
}

.search-country .countries {
    position: absolute;
    top: 75px;
    border: solid 2px var(--border-alpha);
    border-radius: 7px;
    padding: 5px 0;
    background-color: var(--background-secondary-color);
    box-shadow: 0 0 10px var(--background-secondary-color);
    z-index: 1;
    transform-origin: top;
    -webkit-transform: scaleY(0);
    -moz-transform: scaleY(0);
    -o-transform: scaleY(0);
    -ms-transform: scaleY(0);
    transform: scaleY(0);
    opacity: 0;
    visibility: hidden;
}

.search-country .countries .btn {
    font-weight: normal;
    border: none;
    border-radius: 0;
    text-align: left;
    width: 100%;
    padding: 10px 30px 10px 20px;
}
.search-country .countries .btn:disabled {
    opacity: 0.5;
    pointer-events: none;
}
.search-country .countries .btn:hover {
    background-color: var(--border-alpha);
}

.search-country .countries .flag {
    display: inline-block;
    border-radius: 3px;
    width: 20px;
    height: 15px;
    vertical-align: -2px;
    margin-right: 3px;
}


.search-country.active .country .chevron {
    -webkit-transform: rotate(-180deg);
    -moz-transform: rotate(-180deg);
    -o-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    transform: rotate(-180deg);
}

.search-country.active .countries {
    -webkit-transform: scaleY(1);
    -moz-transform: scaleY(1);
    -o-transform: scaleY(1);
    -ms-transform: scaleY(1);
    transform: scaleY(1);
    opacity: 1;
    visibility: visible;
}


.search-suggestions {
    width: 90%;
    opacity: 0;
    text-align: left;
    background: var(--background-primary-color);
    transform-origin: top;
    -webkit-transform: scaleY(0);
    -moz-transform: scaleY(0);
    -o-transform: scaleY(0);
    -ms-transform: scaleY(0);
    transform: scaleY(0);
    max-height: 0;
    position: relative;
}

.search-suggestions.active {
    -webkit-transform: scaleY(1);
    -moz-transform: scaleY(1);
    -o-transform: scaleY(1);
    -ms-transform: scaleY(1);
    transform: scaleY(1);
    opacity: 1;
}

.search-suggestions li {
    padding: 10px 5px;
}

.search-suggestions li:not(:last-child) {
    border-bottom: solid 1px var(--border-alpha);
}

.search-suggestions li.hover,
.search-suggestions li:hover {
    background-color: #FFFFFF22;
}


.search-suggestions li span,
.search-suggestions li small {
    display: block;
}

.search-suggestions li span {
    font-weight: bold;
}

.search-suggestions li small {
    color: var(--text-secondary-color);
    font-size: 0.65rem;
    padding-top: 3px;
}


.search-results {
    padding-bottom: 100px;
    text-align: left;
}

.search-results ul {
    padding: 0 5px;
}

.search-results h5 {
    padding-top: 1em;
    display: flex;
}

.search-results h5 .title {
    flex: 1;
    padding: 3px 10px;
}

.search-results h5 .swipe {
    height: 0.75em;
    max-width: 0.75em;
    min-width: 0.75em;
    margin-top: 0.2em;
    margin-right: 10px;
    opacity: 0.5;
}


.search-suggestion {
    text-align: center;
}


.search-suggestion h4 {
    font-size: 2rem;
    font-weight: 900;
    padding: 5% 5% 0;
}

.search-suggestion #animation {
    min-height: 200px;
    min-width: 200px;
    max-width: calc(100vh - 200px);
}


.search-sticky {
    background-color: var(--background-primary-color);
    position: sticky;
    top: 0;
    z-index: 1;
    width: 100%;
    padding: 20px 0 10px;
}

.search-scroll {
    overflow: hidden;
}


.change-city .current-location {
    background-color: var(--background-primary-color);
    border: none;
    font-weight: normal;
    height: 40px;
    margin: auto;
    margin-top: 10px;
}

.change-city .current-location:hover {
    background-color: var(--border-alpha);
}

.change-city .current-location i {
    margin-right: 5px;
    opacity: 0.9;
}

.change-city .current-location-blocked {
    color: var(--text-secondary-color);
    font-size: 0.75em;
    height: 50px;
    padding: 10px 10% 0;
}



@media only screen and (min-width: 600px) {

    .search-results {
        padding-bottom: 100px;
    }

}


@media only screen and (max-width: 600px) {

    .search-suggestion h4 {
        font-size: 1.5rem;
    }

    .search-input {
        border-bottom-width: 1px;
    }

    .search-input i {
        min-width: 16px;
        max-width: 16px;
        height: 16px;
    }

    .search-input input {
        font-size: 1.5em;
        padding: 0 5px;
    }

    .search-input .close-search {
        min-width: 25px;
        max-width: 25px;
        height: 25px;
        font-size: 2em;
        -webkit-transform: scale(1.5);
        -moz-transform: scale(1.5);
        -o-transform: scale(1.5);
        -ms-transform: scale(1.5);
        transform: scale(1.5);
    }

    .search-input .countries {
        top: 60px;
    }

}


@media only screen and (max-width: 300px) {

    .search-navbar {
        padding: 0;
    }

    .search-navbar i {
        margin: auto;
    }

    .search-navbar span {
        display: none;
    }

    .search-country {
        margin-right: 0.5em;
    }

    .search-country .country {
        padding: 7px 3px;
        margin-left: -5px;
    }

    .search-country .country span {
        display: none;
    }

    .search-input .countries {
        top: 50px;
    }

}



.search-suggestion #animation:not(.animated) .animable {
	opacity: 0;
}

.search-suggestion #animation.animated #svg-animated-background {
	animation: 1s 1 forwards cubic-bezier(.36, -0.01, .5, 1.38) zoomIn;
	animation-delay: 0s;
}

.search-suggestion #animation.animated #svg-animated-device {
	animation: 1s 1 forwards cubic-bezier(.36, -0.01, .5, 1.38) slideUp;
	animation-delay: 0s;
}

.search-suggestion #animation.animated #character {
	animation: 1.5s Infinite linear floating;
	animation-delay: 0s;
}

@keyframes zoomIn {
	0% {
		opacity: 0;
        -webkit-transform: scale(0.5);
        -moz-transform: scale(0.5);
        -o-transform: scale(0.5);
        -ms-transform: scale(0.5);
		transform: scale(0.5);
	}
	100% {
		opacity: 1;
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -o-transform: scale(1);
        -ms-transform: scale(1);
		transform: scale(1);
	}
}

@keyframes slideUp {
	0% {
		opacity: 0;
        -webkit-transform: translateY(30px);
        -moz-transform: translateY(30px);
        -o-transform: translateY(30px);
        -ms-transform: translateY(30px);
		transform: translateY(30px);
	}
	100% {
		opacity: 1;
        -webkit-transform: inherit;
        -moz-transform: inherit;
        -o-transform: inherit;
        -ms-transform: inherit;
		transform: inherit;
	}
}

@keyframes floating {
	0% {
		opacity: 1;
        -webkit-transform: translateY(0px);
        -moz-transform: translateY(0px);
        -o-transform: translateY(0px);
        -ms-transform: translateY(0px);
		transform: translateY(0px);
	}
	50% {
        -webkit-transform: translateY(-10px);
        -moz-transform: translateY(-10px);
        -o-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
		transform: translateY(-10px);
	}
	100% {
		opacity: 1;
        -webkit-transform: translateY(0px);
        -moz-transform: translateY(0px);
        -o-transform: translateY(0px);
        -ms-transform: translateY(0px);
		transform: translateY(0px);
	}
}
