
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /*outline: 1px solid red !important;*/
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

*::before, *::after {
    box-sizing: border-box;
}

a {
    color: #fff;
    text-decoration: none;
}

.maincontainer {
    max-width: 1920px;
    width: 80%;
    z-index: 1;
}

.home {
    display: flex;
    justify-content: center;
    background-position: center;
    background-size: cover;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.home::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
    background: linear-gradient(to top, rgba(255,255,255,0) 50%, rgba(0,0,0,1) 100%);
}

.home::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 50%, rgba(0,0,0,1) 100%);
}

.home .maincontainer {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: space-between;
}

.nav {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 50px 0;
}

.nav .fa-phone {
    /* color: #0078FF; */
    font-size: 18px;
}

.nav__logo img {
    display: block;
    max-height: 200px;
}

.nav__links {
    display: flex;
    align-items: center;
}

.nav__link {
    text-transform: uppercase;
    margin-right: 2vw;
    display: flex;
    align-items: center;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    /* background-color: #0078FF; */
    transition: .2s ease;
}

.nav__link:hover::after {
    width: 100%;
    left: 0;
}

.nav__dropdown {
    position: relative;
}

.nav__dropdown__title {
    padding: 10px 25px;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 10px 30px 10px 60px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    position: relative;
    border-radius: 5px;
    letter-spacing: 1px;
}

.nav__dropdown__title i {
    position: absolute;
    font-size: 25px;
    left: 15%;
}

.nav__dropdown__content {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    width: 150%;
    left: -25%;
    display: flex;
    flex-flow: row wrap;
    transition: .2s ease;
    z-index: 1;
    background: rgba(0,0,0,0.8);
    border-radius: 5px;
    max-height: 80vh;
    overflow-y: scroll;
}

.nav__dropdown__content::-webkit-scrollbar {
    width: 5px;
}

.nav__dropdown__content::-webkit-scrollbar-track {
    opacity: 0.5;
}

.nav__dropdown__content::-webkit-scrollbar-thumb {
    background: #fff;
}

.nav__dropdown__content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.nav__dropdown:hover .nav__dropdown__content {
    border: 1px solid rgba(255,255,255,0.2);
    opacity: 1;
    pointer-events: all;
}

.nav__dropdown__content a {
    width: 100%;
    padding: 5px 10px;
    text-align: left;
}

.nav__dropdown__content span {
    position: relative;
}

.nav__dropdown__content span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    /* background-color: #0078FF; */
    transition: .2s ease;
}

.nav__dropdown__content a:hover span::after {
    width: 100%;
    left: 0;
}

.meio {
    position: relative;
    width: 100%;
}

.home__title {
    width: 100%;
    text-align: center;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
    font-size: 2.5vw;
    position: absolute;
    bottom: 150%;
}

.busca {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 20px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    /*clip-path: polygon(0% 0%, 98.5% 0%, 100% 50%, 98.5% 100%, 0% 100%);*/
}

.busca:after {
    content: '';
    position: absolute;
    left: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    clip-path: polygon(0% 0%, 0% 0%, 100% 50%, 0% 100%, 0% 100%);
    width: 20px;
    height: 100%;
}

/****** CUSTOM SELECT ******/
/*the container must be positioned relative:*/
.custom-select {
    position: relative;
    font-family: Arial;
    width: 25%;
    margin-right: 20px;
}

.custom-select select {
    display: none; /*hide original SELECT element:*/
}

/*style the arrow inside the select element:*/
.select-selected:after {
    position: absolute;
    content: "";
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #000 transparent transparent transparent;
}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
    border-color: transparent transparent #000 transparent;
}

/*style the items (options), including the selected item:*/
.select-items div,.select-selected {
    color: #000;
    cursor: pointer;
    user-select: none;
    background-color: #fff;
    font-weight: bold;
    padding: 15px 0 15px 15px;
    border: none;
    box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.5);
    font-size: 16px;
    position: relative;
    display: flex;
    align-items: center;
}

/*style items (options):*/
.select-items {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1;
    max-height: 175px;
    overflow-y: scroll;
}

.select-items::-webkit-scrollbar {
    width: 5px;
}

.select-items::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* .select-items::-webkit-scrollbar-thumb { background: #0078FF;} */ 

.select-items::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/*hide the items when the select box is closed:*/
.select-hide {
    display: none;
}

.select-items div:hover, .same-as-selected {
    background-color: #E7E7E7;
}

/***** END CUSTOM SELECT *****/

.busca__select {
    color: #000;
    font-weight: bold;
    padding-left: 15px;
    margin-right: 20px;
    border: none;
    box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.5);
    font-size: 16px;
    width: 25%;
}

/* .busca__select:focus {outline:2px solid #0078FF;} */

.busca__btn {
    border: none;
    /* background-color: #0078FF; */
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 20px 40px;
    clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%);
    cursor: pointer;
    font-size: 16px;
    transition: .2s ease;
}

.busca__btn:hover {
	background-color:#000;
}

.assinatura {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    padding-bottom: 30px;
}

.assinatura__endereco {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
}

.assinatura__endereco i{
    /* color: #0078FF; */
    font-size: 35px;
    flex-basis: 100%;
    display: flex;
    align-items: center;
    flex-flow: row;
    margin-right: 10px;
}

.assinatura__logo {
    align-self: center;
}

.assinatura__logo img {
    display: block;
}

@media (max-width: 1280px) {
    .nav p{
        width: 100%;
        margin-bottom: 20px;
        text-align: center;
    }
}

@media (max-width: 990px) {
    .busca {
        flex-flow: row wrap;
    }

    .custom-select {
        width: 100%;
        margin-right: 0;
        margin-bottom: 5px;
    }

    .busca__btn {
        width: 100%;
        clip-path: unset;
    }

    .busca:after {
        display: none;
    }

    .home__title {
        bottom: 110%;
    }
}

@media (max-width: 790px) {
    .nav {
        justify-content: center;
    }
}

@media (max-width: 720px) {

    .assinatura {
        justify-content: center;
    }

    .home__title {
        display: none;
    }

    .nav {
        padding: 50px 0 0 0;
    }

    .nav__logo {
        margin: 20px 0;
    }

    .nav__links {
        flex-flow: row wrap;
        justify-content: center;
        width: 100%;
    }

	.nav__dropdown__content { max-height: 50vh;}
    .nav__link {
		font-weight: bold;
		font-size: 1.5em;
		padding: 0 10px;
        text-shadow: 0px 0px 10px rgba(255, 255, 255, 1);
    }

    .nav__dropdown {
        width: 100%;
        margin: 20px 0;
        background-color: rgba(0, 0, 0, 0.5)
    }

    .nav__dropdown__title {
        border: 1px solid rgba(255,255,255,1);
        padding: 10px 30px 10px 20px;
    }

    .nav__dropdown__title i {
        position: relative;
        left: unset;
    }

    .nav__dropdown__content {
        width: 100%;
        left: unset;
    }

    .home::after {
        background: linear-gradient(to top, rgba(255,255,255,0) 0, rgba(0,0,0,1) 100%);
    }
}
