/* Full-width input fields */

#logged-user {
    flex-basis: 30%;
    margin: 4px;
    text-align: center;
    font-size: 1vw;
    white-space: nowrap;
    padding: 5px;
}

.icon:hover {
    color: var(--color3);
}

#logged-user.conectado {
    border: 2px solid;
    border-color: var(--color3);
}


#logged-user.admin {
    cursor: pointer;
}

#logged-user.admin::after {
    content: " (admin)";
}

#logged-user.impersonado::before {
    content: " (admin as) ";
}

#logged-user.user::after {
    content: "";
}


.divForm {
    background-color: white;
}

#copyright-text a:hover {
    color: var(--color3);
}


#copyright-text a {
    color: var(--color1);
}

#copyright-text a:visited {
    color: var(--color1);
}

#copyright-text a:active {
    color: var(--color2);
}




@-moz-document url-prefix() {

    html {
        padding-bottom: 50px;
    }
}


.sidenav {
    height: 100%;
    width: 250px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #1A1469;
    overflow-x: hidden;
    padding-top: 120px;
}

#textoSobre {
    background-color: #FFA85C;
    margin-left: 250px;
    border: #1A1469 15px solid;
    padding: 20px;
}

.paragrafoSobre {
    text-indent: 30px;
    color: #1A1469;
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 20px;
    padding: 10px;
    text-align: justify;
}

.featuresListing {
    color: #1A1469;
    font-size: 20px;
    padding-left: 40px;
}

.innerList {
    font-size: 15px;
    font-style: italic;
    padding-left: 20px;
    list-style-type: none;
    font-family: 'Montserrat', Arial, sans-serif !important;
}

.headerSobre {
    color: #1A1469;
    font-weight: bold;
    float: none;
    margin: 0;
    position: relative;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}


h1.headerSobre {
    font-size: 30px;
    padding-left: 10px;

}

div.anchor {
    display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
}

h2.headerSobre {
    font-size: 25px;
    padding-left: 20px;
}



.sidenav a {
    padding: 6px 8px 6px 16px;
    text-decoration: none;
    font-size: 20px;
    color: white;
    display: block;
}

.sidenav a:hover {
    color: #FFA85C;
}

body.loggedout {
    padding-top: 40px;
}

body.loggedin {
    padding-top: 100px;
}

.genderSign {
    font-size: 80%;
    font-weight: bold;
    margin-left: 5px;
    height: 100%;
    vertical-align: middle;
    display: inline-block;
}

.beta {
    font-size: 60%;
    color: dodgerblue;
}

.genderMas {
    color: darkorange;
    text-shadow: -0.1px 0 navy, 0 0.1px navy, 0.1px 0 navy, 0 -0.1px navy;
}

.genderFem {
    color: navy;
    text-shadow: -0.1px 0 darkorange, 0 0.1px darkorange, 0.1px 0 darkorange, 0 -0.1px darkorange;
}




#security-test {
    position: fixed;
    bottom: 0;
    right: 0;
    height: 37.5px;
}

html {
    margin-bottom: 50px;
}


#botaoVoltar {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 34px;
    color: var(--color2);
    background-color: var(--color1);
    width: 250px;
    margin: 3px 10px;
    border-radius: 10px;
    font-size: 120%;
}



/* Set a style for all buttons */
button {
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
}

button:hover {
    opacity: 0.8;
}

/* Extra styles for the cancel button */
.cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: #f44336;
    border-radius: 10px;
}

.newbtn {
    width: auto;
    padding: 10px 18px;
    background-color: transparent;
    border-radius: 10px;
    border: 2px #808284 solid;
    color: #808284;
}

.criarjogobtn {
    display: block;
    margin: 0 2px 15px 0;
    padding: 5px 5px;
    background-color: transparent;
    border: 2px white solid;
    border-radius: 10px;
    float: right;
    text-align: center;
    color: white;
    font-weight: bolder;
}



.welcometext {
    font-size: 90%;
    max-width: 180px;
    height: 40px;
    margin: 10px;

}

#submitMail {
    color: darkgreen;
    width: 75%;
}



.submitbtn {
    padding: 10px 18px;
    background-color: navy;
    border-radius: 10px;
}

.submitsmall {
    width: auto;
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #666;
    width: 100%;
}

.separator hr {
    flex: 1;
    border: none;
    border-top: 1px solid #ccc;
    margin: 0 10px;
}

.separator span {
    font-weight: bold;
    color: #555;
    white-space: nowrap;
}

/* Ensure Google button container takes full width */
.g_id_signin {
    width: 100%;
}

/* This targets the iframe inside if needed, but data-width often handles it */
/* This targets the iframe inside explicitly */
.g_id_signin>div, .g_id_signin iframe {
    width: 100% !important;
}

/* Center the image and position the close button */
.imgcontainer {
    text-align: center;
    margin: 10px 0 10px 0;
    position: relative;
}

img.avatar {
    width: 100px;
    border-radius: 50%;
    height: 100px;
}

.pointer {
    cursor: pointer;
}

.container {
    padding: 5px;
}

span.psw {
    float: right;
    padding-top: 16px;
}

/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 30;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: hidden;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
    padding-top: 60px;
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 5% auto 15% auto;
    /* 5% from the top, 15% from the bottom and centered */
    border: 1px solid #888;
}

.larger {
    width: 30%;
    /* Could be more or less, depending on screen size */
}

.smaller {
    width: 15%;
    text-align: center;
}

/* The Close Button (x) */
.close {
    position: absolute;
    right: 25px;
    top: 0;
    color: #000;
    font-size: 35px;
    font-weight: bold;
    z-index: 10;
}

.close:hover,
.close:focus {
    color: red;
    cursor: pointer;
}

/* Add Zoom Animation */
.animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes animatezoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
    span.psw {
        display: block;
        float: none;
    }

    .cancelbtn {
        width: 100%;
    }
}

.alert {
    padding: 20px;
    border-radius: 5px;
    float: bottom;

}


.alert-success {
    background-color: lightgreen;
    color: green;
}

.alert-danger {
    background-color: indianred;
    color: white;
}


#usermenu {
    display: flex;
    flex-flow: row;
    /*padding: 20px 0 0 10px;*/
    height: 60px;
    background-color: #FF800E;
    color: navy;
    z-index: 6;
    vertical-align: middle;
    font-family: 'Ubuntu', Arial, sans-serif !important;
}

#top-bar {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    height: 40px;
    font-family: 'Gugi', Arial, sans-serif !important;
    font-size: 25px;
    z-index: 50;
    justify-content: space-between;
}

#bottom-bar {
    height: 40px;
    font-family: 'Ubuntu', Arial, sans-serif !important;
    font-size: 1rem;
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    line-height: 40px;
    z-index: 50;


}



.areapais {
    height: 100px !important;
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}


.elementoFixo {
    position: fixed;
    top: 0;
    width: 100%;
}

.offsetTopo {
    top: 40px;
}

/* Menus dropdown */

.dropdown-button {
    background-color: transparent;
    color: white;
    padding: 10px;
    font-size: 16px;
    border: 2px solid white;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    border-radius: 10px;
}

.dropdown {

    position: relative;
    float: right;
    margin: 0 3px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(255, 214, 178, 0.8);
    width: auto;
    height: auto;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    right: 0px;

}

.dropdown-content a {
    color: #e56b00;
    border-color: #e56b00;
    text-decoration: none;
    display: block;
    margin: 3px;
    padding: 10px;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: flex;
    flex-flow: column wrap
}

.dropdown:hover .dropbtn {
    background-color: #3e8e41;
}

.dropdown-button.arbitragem:before {

    display: block;
    content: url('/images/icons/arbitragem5.png');
    width: 20px;
    height: 20px;
    float: left;
    margin: 0 6px 0 0;
}

.dropdown-button.ranking:before {

    display: block;
    content: url('/images/icons/ranking.png');
    width: 20px;
    height: 20px;
    float: left;
    margin: 0 6px 0 0;
}

.dropdown-button.usuario:before {

    display: block;
    content: url('/images/icons/usuario.png');
    width: 20px;
    height: 20px;
    float: left;
    margin: 0 6px 0 0;
}

.dropdown-button.admin:before {

    display: block;
    content: url('/images/icons/admin.png');
    width: 20px;
    height: 20px;
    float: left;
    margin: 0 6px 0 0;
}


.dropdown-content a.criar:before {
    display: none;
    content: url('/images/icons/create2.png');
    width: 20px;
    height: 20px;
    float: left;
    margin: 0 6px 0 0;
}

.dropdown-content a.import:before {
    display: none;
    content: url('/images/icons/import2.png');
    width: 20px;
    height: 20px;
    float: left;
    margin: 0 6px 0 0;
}

.icon {
    margin-left: 5px;
}

.dropdown-content a.add-user:before {
    display: none;
    content: url('/images/icons/add-user2.png');
    width: 20px;
    height: 20px;
    float: left;
    margin: 0 6px 0 0;
}

.dropdown-content a.password:before {
    display: none;
    content: url('/images/icons/password2.png');
    width: 20px;
    height: 20px;
    float: left;
    margin: 0 6px 0 0;
}

.dropdown-content a.tabela:before {
    display: none;
    content: url('/images/icons/tabela.png');
    width: 20px;
    height: 20px;
    float: left;
    margin: 0 6px 0 0;
}

input[type=text],
input[type=password],
input[type=email],
textarea,
#numbets {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* Tabs */
.tab {
    overflow: hidden;
    border-bottom: 1px solid #ccc;
    background-color: #f1f1f1;
    display: flex;
}

.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
    flex-grow: 1;
    width: 50%;
    color: black;
    margin: 0;
}

.tab button:hover {
    background-color: #ddd;
}

.tab button.active {
    background-color: #ccc;
    border-bottom: 3px solid var(--color1);
    font-weight: bold;
}

.tabcontent {
    display: none;
    padding: 6px 12px;
    animation: fadeEffect 1s;
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* media queries */
@media only screen and (max-width: 55rem) {
    .dropdown-button {
        font-size: 0;
    }

    .dropdown-content a.criar:before {
        display: block;
    }

    .dropdown-content a.import:before {
        display: block;
    }

    .dropdown-content a.add-user:before {
        display: block;
    }

    .dropdown-content a.password:before {
        display: block;
    }

    .dropdown-content a.tabela:before {
        display: block;
    }

    .dropdown-content a {
        font-size: 0;
    }

    #botaoVoltar {
        width: 50px;
    }

    #botaoVoltar i {
        position: relative;
        /* top: calc(50% - 10px); /* 50% - 3/4 of icon height */
        display: inline-block;
        line-height: 37px;
    }

    #botaoVoltar:after {
        content: none;
    }

    #usermenu {
        position: absolute;
    }

    #welcomemsg {
        position: absolute;
    }


    .welcometext {
        font-size: 90%;
        max-width: 180px;
        height: 40px;
        margin: 10px;

    }


    .quadro-principal {
        display: block;
        float: none;
        margin: 10px auto;
        width: 80%;
    }

    .tabela-quadros {
        width: 100%;
    }

    .modal-content {
        width: 100%;
        height: 100%;
        position: absolute;
        margin: 0;
        top: 0;
        z-index: 120;

    }

    .modal {
        z-index: 110;
    }

    /* Tabelas */

    /* Force table to not be like tables anymore */
    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    tr {
        border: 1px solid #ccc;
    }

    td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        text-align: center;
        min-height: 20px;
    }


    td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: center;
        font-weight: bolder;
    }

    td span {
        text-align: center;
        display: block;
    }

    .nopadding {
        padding: 8px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #copyright-text {
        float: left;
        margin-left: 70px;
        margin-right: 140px;
        margin-top: 5px;
        font-size: 1rem;
        line-height: 18px;
    }



}


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


    #copyright-text {
        margin-right: 0;
    }

    #logged-user {
        font-size: 3vw;
    }

    #logo-text {
        font-size: 3vw;
    }

    #language-bar {
        visibility: hidden;
        width: 0;
    }

    #top-menu {
        display: flex;
        flex-direction: row;
        flex-wrap: no-wrap;
        font-size: 5vw;
        margin: 0;
    }

    #toolbar {
        visibility: hidden;
        width: 0;
    }
}