a:hover{
    color: #e5272a;
}
.badge-outline-success{
    border: 1px solid #28a745;
    color: #28a745;
}

.bg-gray-light{
    background-color: #eeeeee!important;
}

btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
    transition: 0.2s linear all;
}

btn-outline-secondary:hover {
    color: #FFFFFF;
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 16px!important;
    margin-top: 6px!important;
}
.select2-container .select2-selection--single{
    height: inherit!important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b{
    top: calc(50% + 5px)!important;
}

html {
    scroll-behavior: smooth;
}

.d-flex{
    display: flex;
}

img{
    max-width: 100%!important;
    height: auto!important;
}

.pg-eventos h2, .pg-eventos-resultados h2{
    font-size: 28px!important;

}
.modal-backdrop{
    z-index: 60!important;
}
header{
    background: #eeeeee;
    position: fixed;
    width: 100%;
    z-index: 50;
    .head{
        display: flex;
        justify-content: flex-end;
        .segura-login{
            display: flex;
            width: 170px;
            padding: 8px 15px;
            background: black;
            color: white;
            border-bottom-left-radius: 18px;
            border-bottom-right-radius: 18px;
            font-size: 16px;

            justify-content: center;
            button {
                background-color: transparent;
                padding: 0;
                color: white;
                transition: 0.2s linear all;
                &:hover {
                    color: #e5272a;
                }
            }
            i{
                font-size: 20px;
            }
            .segura-redes{
                margin-left: 20px;
            }
        }
    }
    .segura-menu{
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: 700;
        .menu{
            display: flex;
            list-style: none;
            margin-bottom: 0;
            .menu-item{
                margin: 4px 15px;
                & a {
                    color: black;
                    transition: 0.2s linear all;

                    &:hover, &.active {
                        color: #e5272a;
                    }
                }
            }
        }
    }
}

main{
    padding-top: 125px;
    h1{
        font-size: 36px!important;
        margin-top: 0;
        margin-bottom: 40px;
        text-align: center;
        font-weight: 700;
        position: relative;
        &:after {
            width: 200px;
            height: 8px;
            background-color: #e5272a;
            border-radius: 4px;
            display: block;
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translate(-50%);
        }
    }
}



h2{
    font-size: 20px!important;
    margin-bottom: 15px;
    margin-top: 30px;
    font-weight: 700;
}

p,li{
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 10px;
}

.fx1{
    padding: 70px 0;
    background: white;

}

.btn-padrao{
    font-weight: 700;
    border: 1px solid #777;
    width: 180px!important;
    height: 51px!important;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #e5272a;
    background-color: white;
    transition: 0.2s linear all;
    margin-bottom: 15px;
    &:hover{
        background-color: #777;
        color: white;
    }
}
.segura-paginacao{
    display: flex;
    justify-content: flex-end;
}

.form-search{
    position: relative;
}

.btn-busca{
    position: absolute;
    right: 1px;
    top: 1px;
    width: 36px;
    height: 36px;
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
    transition: 0.2s linear all;
    &:hover,&.active{
        background-color: black;
        color: #e5272a;
    }
}

.accordion-button {
    text-align: left !important;
    width: 100%;
    background: #e7e7e7;
    padding: 8px 15px;
    align-items: center;
    border-radius: 5px;
    h3{
        margin-bottom: 0;
    }
    span {
        font-size: 16px !important;
        text-align: left !important;
        color: #777777;
        font-width: 700;
    }
    & .segura-detalhe{
        background-color: #e5272a;
        font-size: 12px;
        width: 16px;
        height: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 2px;
        color: white;
    }
}

.accordion-body{
    padding: 8px 15px;
    background: #f0f0f0 !important;
    color: #777;
    border-bottom: 1px solid #e5272a;
    border-radius: 5px;
    margin-bottom: 15px;
    .segura-detalhe{
        color: #e5272a;
    }
    .segura_inscricao{
        margin-bottom: 0.5rem;
    }
}

h3{
    font-size: 22px!important;
    font-weight: 700;
    color: red;
}

.pg-evento{
    h1{
        &:after{
            display: none;
        }
    }
    .btn-padrao{
        width: 280px!important;
    }
    & h2{
        font-size: 22px!important;
    }

    & .fx2{
        background-color: #eeeeee;
        padding: 50px 0;

    }

    & .fx3{
        padding: 40px 0 80px 0;
    }
}

.pg-ranking,.pg-home .fx2 {

    h2{
        font-size: 28px!important;
        text-align: center;
        margin-top: 0;
    }
    .select-filtro, .btn-padrao{
       border: 1px solid #777777;
        height: 38px!important;
    }

    .table {
        background: white!important;
        .td-pontuacao, .td-colocacao {
            font-size: 32px;
            color: #ca0202;
        }

        .td-atleta {
            font-size: 18px;
            font-weight: 700;
            color: #ca0202;

            & span {
                color: #777;
            }
        }
    }
}

.btn-paginacao.next,.btn-paginacao.prev{
    width: 140px!important;
}
.btn-paginacao{
    border: 1px solid #888;
    border-radius: 2px;
    width: 35px;
    height: 35px!important;
    display: flex;
    margin: 4px;
    justify-content: center;
    align-items: center;
    color: #e5272a;
    background-color: white;
    transition: 0.2s linear all;
    font-size: 14px;
    &:hover,&.active{
        background-color: #888;
        color: white;
    }
}

.pg-home{
    .fx2{
        padding: 80px 0;
    }
    .fx3 {
        padding: 80px 0;
        .card-chamada{
            background-color: white;
            -webkit-box-shadow: 4px 4px 5px 0px rgba(221,221,221,1);
            -moz-box-shadow: 4px 4px 5px 0px rgba(221,221,221,1);
            box-shadow: 4px 4px 5px 0px rgba(221,221,221,1);
            display: flex;
            flex-direction: column;
            .segura-texto{
                padding: 15px;
                min-height: 140px;
                h3{
                    text-align: center;
                }
                p{
                    text-align: center;
                }
            }

        }
    }
    .fx4{
        padding: 80px 0;
        .card-videos{
            .segura-texto{
                padding: 15px;
                min-height: 140px;
                h3{
                    text-align: center;
                }
                p{
                    text-align: center;
                }
            }
        }
    }
    .modal-dialog{
        max-width: 800px!important;
    }
}

.segura-tabela{
    overflow-x: auto;
}

.tabela-equipes{
    min-width: 600px;
    width: 100%;
}

.fa-info-circle {
    color: #777;
    &:hover {
        color: black;
    }
}

.select-filtro{
    border: 1px solid #777777!important;
    border-radius: 0!important;
}

.card-evento{
    margin-bottom: 30px;
    background-color: white;
    border: 1px solid #e7e7e7;
    .blue{
        background: #007bff!important;
        color: white;
        width: 40%;
        padding: 7px 15px;
    }
    .purple{
        background: #8633ff!important;
        color: white;
        width: 40%;
        padding: 7px 15px;
    }
    .green{
        background: #28a745!important;
        color: white;
        width: 40%;
        padding: 7px 15px;
    }
    .orange{
        background: #ff5733!important;
        color: white;
        width: 40%;
        padding: 7px 15px;
    }
    .red{
        background: #dc3545!important;
        color: white;
        width: 40%;
        padding: 7px 15px;
    }
    .cidade{
        padding: 7px 15px;
        color: #777777!important;
    }
}

#modalEquipes,#modalAtletas {
    .modal-header {
        background-color: #e5272a;
        color: white;
        & .close{
            opacity: 1!important;
            & span{
                color: white;
            }
        }
    }

    .modal-body{
        h3{
            color: black;
            font-size: 20px;
            margin-bottom: 5px;
        }

        h4{
            color: #555;
            font-size: 18px;
            line-height: 20px;
            &:not(:last-child) {
                margin-bottom: 30px;
            }

        }
    }
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(8, 100px);
    gap: 30px;
}
.grid-item {
    position: relative;
}

.card-chave{
    background: #d30000;
    border-radius: 15px;
    overflow: hidden;
    color: white;
    width: 100%;
    max-width: 235px;
    position: absolute;
    h3{
        background: #fc5555;
        padding: 10px 15px;
        margin-bottom: 0;
        color: black;
    }
    h5{
        font-size: 12px;
        padding: 5px 15px;
    }
}

.margin-zero{
    margin: 0!important;
}

.accordion-body{
    background-color: transparent!important;
}

.pg-atletas-equipes,.pg-atletas-categorias{
    h1{
        margin-bottom: 20px;
    }
    h2{
        margin-top: 70px!important;
        font-size: 30px!important;
        text-align: center;
        color: #e5272a;
        margin-bottom: 50px;
    }
    #busca{
        margin-bottom: 50px;
    }


}

footer{
    background: black;
    padding-top: 40px;
    border-top: 4px solid #c20000;
    color: white;
    .footer{
        h3{
            font-size: 18px;
            text-align: center;
            margin-bottom: 15px;
            margin-top: 0;
            font-weight: 700;
        }
        ul{
            list-style: none;
            padding-left: 0;
            margin-left: 0;
            text-align: center;
        }
        p, li{
            font-size: 14px;
            text-align: center;
            a{
                transition: 0.2s linear all;
            }
            a:hover{
                color:#e5272a;
            }
        }
        .media{
            align-items: center;
            .media-body{
                margin-left: 10px;
            }
        }
        .segura-redes {
            display: flex;
            align-items: center;
            justify-content: center;
            .rede-social {
                border: 2px solid white;
                display: inline-flex;
                width: 36px;
                height: 36px;
                justify-content: center;
                align-items: center;
                margin: 3px;
                padding: 3px;
                transition: 0.2s linear all;
                &:hover{
                    color: #e5272a;
                    border-color: #e5272a;
                }
            }
        }

        .form-control{
            border-radius: 0;
        }

        .btn-padrao{
            border-color: white;
            background-color: transparent;
            &:hover{
                background-color: white;
                color: #e5272a;
            }
        }
    }
    .copyright{
        background-color: #e5272a;
        padding: 10px 0;
        color: black;
        .container {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            font-size: 14px;
        }
    }
}

.pg-inscricoes{
    .btn-padrao {
        width: 100% !important;
        height: 41px !important;
    }
    h2{
        margin-top: 0!important;
    }
}

.modal-body iframe {
    width: 100%;
    height: 80vh; /* 80% da altura da tela */
}

.segura-inscricao{
    margin-bottom: 0.5rem;
}

.meios_pagamentos{
    display: none;
}

.logo-mobile, .menu-hamburguer{
    display: none;
}

.logo-mobile{
    width: 300px;
}

.menu-hamburguer{
    width: 30px;
}

.count-atletas{
    font-size: 18px;
    display: inline-block;
    margin-bottom: 5px;
    margin-top: 15px;
    font-weight: 600;
    color: black;
}

.pg-eventos-resultados .tabela-equipes thead{
    background-color: black;
    color: white;
}

.highlighted {
    background-color: #ffeeba; /* amarelo clarinho */
    transition: background-color 0.5s ease;
}

@media(min-width: 1500px){
    .container{
        max-width: 1500px!important;
    }
}
.mobile{
    display: none;
}

@media (max-width: 996px){
    .mobile{
        display: block;
    }
    header {
        & .segura-menu {
            flex-direction: column;
            position: fixed;
            left: -260px;
            top: 0;
            width: 250px;
            border: 0 solid #eeeeee;
            background: #eeeeee;
            height: 100vh;
            justify-content: flex-start;
            box-shadow: 3px 3px 5px #aaa;
            transition: 0.4s linear all;
            &.active{
                left: 0;
            }
            .segura-logo{
                margin-top: 30px;
            }
            .menu {
                flex-direction: column;
                padding-left: 0;
                align-items: flex-start;
                width: 100%;
                margin-top: 30px;
            }
        }
        .head {
            justify-content: space-between;
            padding:20px 0;
            .segura-login {
                display: none;
            }
            .logo-mobile{
                display: inline-block;
            }
            .menu-hamburguer{
                font-size: 30px;
                display: block;
            }
        }
    }
    .select2{
        width: 100%!important;
        max-width: 100%!important;
    }
    .footer .segura-redes{
        margin-bottom: 30px;

    }
    .footer .media{
        .media-body{
            width: auto!important;
        }
    }

    .copyright .container{
        flex-direction: column;
        align-items: center!important;
    }
}

@media(max-width: 771px){
    .tabela-equipes{
        width: 100%;
        min-width: 600px;
        overflow-x: auto;
    }

    .card-body{
        overflow-x: auto;
    }
}

@media(max-width: 578px){
    .head img{
        max-width: 200px!important;
    }
}
.video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 30px;
}

.video-container iframe {
    width: 100%;
    height: 100%;
}