﻿body {
    background-image: url('/img/powerzada_webpage_fundo.svg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.select-box {
    position: relative;
    justify-content: center;
    min-width: 300px;
    /*    width: 19rem;
    margin: 7rem;*/
}

    .select-box input {
        width: 100%;
        padding: 1rem .6rem;
        font-size: 1.1rem;
        border: .1rem solid transparent;
        outline: none;
    }

input[type="tel"] {
    border-radius: 0 .5rem .5rem 0;
}

.select-box input:focus {
    border: .1rem solid blue;
}

.selected-option {
    background-color: grey;
    border-radius: .5rem;
    overflow: hidden;
    position: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
/*    margin-left: 10%;
    margin-top: -30%;
    margin-bottom: -60%;*/
}

/*    .selected-option div {
        position: relative;
        width: 5rem;
        padding: 0 2.8rem 0 .5rem;
        text-align: center;
        cursor: pointer;
    }*/

      /*  .selected-option div::after {
            position: absolute;
            content: "";
            right: .8rem;
            top: 50%;
            transform: translateY(-50%) rotate(45deg);
            width: .8rem;
            height: .8rem;
            border-right: .12rem solid var(--primary);
            border-bottom: .12rem solid var(--primary);
            transition: .2s;
        }

        .selected-option div.active::after {
            transform: translateY(-50%) rotate(225deg);
        }*/

.select-box .options {
    position: absolute;
    top: 4rem;
    width: 100%;
    background-color: white;
    border-radius: .5rem;
    display: none;
    overflow-y:auto;
    z-index:10;
}

    .select-box .options.active {
        display: block;
    }

    .select-box .options::before {
        position: absolute;
        content: "";
        left: 1rem;
        top: -1.2rem;
        width: 0;
        height: 0;
        border: .6rem solid transparent;
        border-bottom-color: var(--primary);
    }

input.search-box {
    background-color: var(--primary);
    color: black;
    border-radius: .5rem .5rem 0 0;
    padding: 1.4rem 1rem;
}

.select-box ol {
    list-style: none;
    max-height: 23rem;
}

    .select-box ol::-webkit-scrollbar {
        width: 0.6rem;
    }

    .select-box ol::-webkit-scrollbar-thumb {
        width: 0.4rem;
        height: 3rem;
        background-color: #ccc;
        border-radius: .4rem;
    }

    .select-box ol li {
        padding: 1rem;
        display: flex;
        justify-content: space-between;
        cursor: pointer;
    }

        .select-box ol li.hide {
            display: none;
        }

        .select-box ol li:not(:last-child) {
            border-bottom: .1rem solid #eee;
        }

        .select-box ol li:hover {
            background-color: lightcyan;
        }

        .select-box ol li .country-name {
            margin-left: .4rem;
        }


.campo {
    margin-bottom: 1em;
}

    .campo label {
        margin-bottom: 0.2em;
        color: white;
        display: block;
    }

fieldset.grupo .campo {
    float: left;
    margin-right: 1em;
}

.campo input[type="text"], .campo input[type="email"], .campo select, .campo textarea {
    padding: 0.2em;
    border: 1px solid white;
    box-shadow: 2px 2px 2px ;
    display: block;
}

    .campo select option {
        padding-right: 1em;
    }

    .campo input:focus, .campo select:focus, .campo textarea:focus {
        background: white;
    }

.botao {
    font-size: 1.2em;
    background: blue;
    border: 0;
    margin-bottom: 1em;
    color: white;
    padding: 0.2em 0.6em;
    box-shadow: 2px 2px 2px ;
    text-shadow: 1px 1px 1px ;
    position: absolute;
    top: 90%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}

    .botao:hover {
        background: blue;
        box-shadow: inset 2px 2px 2px;
        text-shadow: none;
    }
.bottomBar-style {
    background-color: #595959;
}

.fill-height {
    height: 100vh;
}

.rec-img {
    width:8em;
}

.footer-font {
    font-size: 12pt;
    white-space: nowrap;
}

.fs-sm {
    font-size: 1rem !important;
}

#right-items,
#left-items {
    flex:1;
}

#right-items {
    text-align: end;
}
    #right-items > div.d-flex.flex-wrap {
        place-content: flex-end;
    }


.img-powerbank {
    width: 35vw;
    height: 48vh;
}

.img-slot {
    height: 15vh;
    padding: 0 0.435vw;
}

.box-container {
    position: relative;
}

.box {
    position: absolute;
}

.overlay {
    z-index: 9;
    position: relative;
    padding-top: 10.25vw;
    padding-left: 4.34vh;
    padding-right: 4.34vh;
    padding-bottom: 5.65vw;
}

.btn-size {
    margin-top: 1vh;
    display:block;
    justify-content:center;
    width:100%;
}
btn-register-pt {
    width: 100%; 
    margin: auto; 
    display: block; 
}
btn-register-en {
    width: 100%; 
    margin: auto; 
    display: block; 
}

#page {
    display: grid;
    width: 100%;
    grid-template-areas:
        "head  head  head  head  head  head  head  head  head  head"
        "split  split  split  split  split  split  split  split  split  split"
        "slot1  slot2  slot3  slot4  slot5  slot6  slot7  slot8  slot9  slot10"
        /*"split1 split1 split1 split1 split1 split1 split1 split1 split1 split1"
                                                        "footer footer footer footer footer footer footer footer footer footer"*/
        ;
    grid-template-rows: 0.4fr 0.05fr 1fr /*0.05fr 0.4fr*/;
    grid-template-columns: 0.1fr 0.1fr 0.1fr 0.1fr 0.1fr 0.1fr 0.1fr 0.1fr 0.1fr 0.1fr;
}

    #page > header {
        grid-area: head;
        background-color: gray;
        border-radius: 10px;
        margin: 1vh 1.5vw;
    }

    #page > split {
        grid-area: split;
        background-color: gray;
        padding: 0.3vh 0;
        margin: 2vh 1vw;
    }

    #page > split1 {
        grid-area: split1;
        background-color: gray;
        padding: 0.3vh 0;
        margin: 2vh 1vw;
    }

    #page > slot1 {
        grid-area: slot1;
        padding-bottom: 2vh;
        padding-left: 1vw;
    }

    #page > slot2 {
        grid-area: slot2;
        padding-bottom: 2vh;
    }

    #page > slot3 {
        grid-area: slot3;
        padding-bottom: 2vh;
    }


    #page > slot4 {
        grid-area: slot4;
        padding-bottom: 2vh;
    }

    #page > slot5 {
        grid-area: slot5;
        padding-bottom: 2vh;
    }

    #page > slot6 {
        grid-area: slot6;
        padding-bottom: 2vh;
    }

    #page > slot7 {
        grid-area: slot7;
        padding-bottom: 2vh;
    }

    #page > slot8 {
        grid-area: slot8;
        padding-bottom: 2vh;
    }

    #page > slot9 {
        grid-area: slot9;
        padding-bottom: 2vh;
    }

    #page > slot10 {
        grid-area: slot10;
        padding-bottom: 2vh;
        padding-right: 1vw;
    }

    #page > footer {
        grid-area: footer;
    }
.terms-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    gap:10px;
}
/*    justify-content: flex-start;
    width: 100%;*/


.checkbox-container {
    display: flex;
    align-items: center;
/*    justify-content: center;*/
    padding-right: 7px;
}

.text-container {
    display: flex;
    align-items: center;
    /*flex-grow: 1;*/
    flex-wrap: wrap;
    /*    flex-direction: column;
    justify-content: center;*/
}
html {
    box-sizing: border-box;  Define box-sizing globalmente para border-box 
}
    .text-container p {
        margin: 0;
        line-height: 1.5;
    }
.container, .text-container, .checkbox-container, .terms-container {
    box-sizing: border-box;
}
.error-message {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 24px;
    margin: 0 auto 10px;
    margin-bottom: 10px;
    text-align: center;
    flex-grow: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.bottomBar-style {
    background-color: #595959;
    padding: 0.5rem 0;
}
.container {
    max-width: 1140px;
    margin: auto;
    padding: 0 15px;
}
.footer-upper {
    display: flex;
    justify-content: space-between;
    align-items:center;
}
#left-items {
    text-align: left;
    margin-left: 15px; 
}
#right-items {
    padding-right: 2rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
    .footer-links a {
        color: white;
        text-decoration: none;
        display:block;
    }
.language-selector img {
    height: 20px;
    display: inline-block;
    cursor: pointer;
    margin: 0 10px;
}
.rec-img {
    height: auto;
    max-width: 100%;
    width: auto; 
}

.language-selector {
    margin-left: 10px;
}
#center-email {
    flex: 1;
    text-align: center;
    display: block; 
}
#right-address {
    text-align: right;
}
.footer-lower {
    padding:0.5rem 0;
    flex-direction:column;
    text-align:center;
    margin-top:0.5rem;
    align-items: center;
}
.bottomBar-style .container {
    padding: 0;
    max-width: 100%;
}
.footer-upper > div, .footer-lower > span {
    margin: 0;
}
#left-items, #right-items, .footer-lower > span, .language-selector {
    margin: 0;
}
.rec-img, .footer-links a {
    padding: 0;
}
/*.lang-en {
    display: none;
    position: absolute;
    left: -9999px;
}*/
#btn-register-pt, #btn-register-en {
    width: auto;
    padding: 10px 20px;
    
}
#registerForm > div {
    display: flex;
    justify-content: center;
}
/*
.powerbankCharging-style {
    position: absolute;
    top: 15vh;
    left: 108vh;
    height: 98px;
    width: 32px;
}

.powerbank-style {
    position: absolute;
    width: 475px;
    height: 258px;
    left: 70vh;
}

.powerbankFull-style {
    position: absolute;
    top: 15vh;
    left: 123vh;
    height: 98px;
    width: 57px;
}

.powerbankIn-style {
    position: absolute;
    top: 15vh;
    left: 119vh;
    height: 98px;
    width: 34px;
}

.powerbankOut-style {
    position: absolute;
    top: 15vh;
    left: 84vh;
    height: 98px;
    width: 60px;
}*/

@media (max-width: 575.98px ) {
    .rec-img {
        width: 7em;
    }

    .fs-sm {
        font-size: 0.9rem !important;
    }
    .footer-upper, .footer-lower {
        flex-direction: column;
        text-align: center;
    }


    #right-items,
    #left-items,
    #center-email{
        flex: 1;
        padding: 5px 0;
    }

}

