main{
    height: calc(100svh - var(--header-height));
    background: var(--blue);
    background: linear-gradient(180deg, var(--blue) 0%, var(--light-blue) 100%);
}

.form-control:focus{
    box-shadow: 0px 0px 10px 1px var(--pink) !important;
    border-color: var(--pink) !important;
}

.logo-wrapper{
    height: 80px;
    width: 100%;
}

.logo-wrapper .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper .header-option{
    padding: 10px;
    font-size: 1.3rem;
    color: white;
    background-color: transparent;
    outline: none;
    border: none;
    cursor: pointer;
}

.top-logo{
    display: block;
    height: 70px;
}

.option-menu{
    width: 100%;
    height: calc(100svh - var(--header-height) - 70px);
    backdrop-filter: blur(5px);
    position: fixed;
    top: 70px;
    left: 0;
    z-index: 999;
    background: #17233C;
    background: linear-gradient(180deg, rgba(34, 52, 79, 0.835) 0%, rgba(109, 178, 218, 0.834) 100%);
    overflow: auto;
}

.option-nav{
    list-style-type: none;
}

.option-link{
    margin-bottom: 1rem;
    color: white;
    font-size: 1rem;
}

.option-link a, .option-link button{
    padding: 0;
    color: inherit;
    border: none;
    background-color: transparent;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content{
    height: calc(100svh - 80px - var(--header-height));
    overflow: auto;
    opacity: 0;
    padding-bottom: 1.5rem;
}

/* Racetimes */
.table-button-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.modal-wrapper{
    width: 100%;
    height: 100svh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    backdrop-filter: blur(5px);
    background-color: rgba(23, 35, 60, 0.701);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
}

.conferm-delete{
    width: 80%;
    padding: 3rem 10px;
    background-color: white;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: scale(0.1);
    opacity: 0;
}

.modal-title{
    font-size: 1.3rem;
    color: var(--pink);
    margin-bottom: 1rem !important;
    line-height: 1em !important;
}

.modal-text{
    font-size: 1.1rem;
    margin-bottom: 1rem !important;
}

.ms_table-title{
    font-size: 1.1rem;
    color: var(--light-blue);
    margin: 10px 0;
    margin-bottom: 0 !important;
}

.ms_table-text{
    margin-bottom: 0 !important;
    text-align: center;
}

.ms_table-time{
    font-size: 2rem;
    font-weight: bold;
    color: var(--pink);
    margin-bottom: 0 !important;
}
/* /Racetimes */

/* Profile */
.profile-top{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.top-profile-border{
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #D9D9D9;
    border-radius: 50%;
    overflow: hidden;
    padding: 0 !important;
    margin-top: 23px;
}

.top-profile-counter{
    padding: 0 !important;
    overflow: hidden;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #2A425E;
}

.img-border{
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #D9D9D9;
    padding: 0 !important;
    overflow: hidden;
}

.profile-single-picture{
    width: 140px;
    height: 140px;
    display: block;
    overflow: hidden;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.post-counter-wrapper, .followers-counter, .profile-picture-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.post-counter-wrapper, .followers-counter{
    width: 65px;
}

.top-profile-counter-counter{
    font-size: 1rem !important;
    color: white;
    margin: 0 !important;
}

.top-profile-counter-text{
    font-size: .9rem !important;
    margin: 5px 0 0 0 !important;
    color: white;
    font-weight: 500;
}

.h-r-right-side.profile-evidence-racetime{
    width: 80% !important;
}

.h-r-socials.profile-evidence-racetime{
    width: 20% !important;
}

.h-r-race-time.profile-evidence-racetime{
    font-size: 2rem !important;
    margin: 5px 0 0 0 !important;
}

.h-r-t{
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0 !important;
    color: var(--pink);
}

#avatar{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    cursor: pointer;
    border: 1px solid var(--pink);
    box-shadow: 0px 0px 10px 1px var(--pink);
}

.big-profile-section{
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.profile-text{
    margin-bottom: 0 !important;
}

.profile-information{
    display: flex;
    justify-content: center;
    align-items: self-end;
    gap: 5px;
}

.profile-athletes{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.timeraces-to-add{
    border: 3px dotted white;
    width: 85%;
    height: 85px;
    padding: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: white;
    text-decoration: none;
    margin: 10px auto 0 auto;
    border-radius: 30px;
    cursor: pointer;
}

.profile-racetime{
    width: 100%;
    height: 100px;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    border-radius: 30px;
    background-color: white;
    cursor: pointer;
}

.profile-racetime-title{
    color: var(--light-blue);
    text-align: center;
    font-size: 1rem;
    margin-bottom: 0 !important;
}

.profile-racetime-time{
    color: var(--pink);
    text-align: center;
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 0 !important
}

.profile-text{
    font-size: 1.2rem;
    margin: 0 !important
}

.button-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

/* Create and edit */
.timerace-time-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}



/* /Create and edit */

@media screen and (min-width: 1024px){
    .timeraces-to-add{
        width: 50%;
        margin: 10px auto;
    }

    .profile-racetime{
        width: 50%;
        margin: 10px auto;
    }

    #avatar{
        width: 200px;
        height: 200px;
    }
}
/* /Profile */

/* Edit profile */

.img-preview-wrapper{
    width: 200px;
    height: 200px;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--pink);
    box-shadow: 0px 0px 10px 1px var(--pink);
    margin: 1rem auto;
}

.img-preview-wrapper img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    cursor: pointer;
}

.img-preview-wrapper .add-img{
    position: absolute;
    bottom: 0;
    left: 0;
    height: 50px;
    width: 100%;
    z-index: 2;
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.add-img svg{
    fill: white;
    width: 1.4rem;
}
/* /Edit profile */

/* Logged Home */
.home-racetime{
    background-color: white;
    border-radius: 5px;
    width: 85%;
    margin: 15px auto;
    height: 85px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.h-r-right-side{
    width: 45%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    flex-direction: column;
    height: 100%;
    box-shadow: 3px 0 3px 0px #00000047;
}

.h-r-left-side{
    width: 40%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    flex-direction: column;
    height: 100%;
}

.h-r-socials{
    width: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 5px;
    flex-direction: column;
    text-align: center;
    background-color: var(--pink);
    height: 100%;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.h-r-avatar-wrapper{
    display: block;
    position: absolute;
    left: 0px;
    transform: translate(-50%, -50%);
    top: 50%;
}

.h-r-avatar{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.h-r-user-detail{
    font-size: .9rem;
    color: var(--text-black) !important;
    font-weight: 600;
    text-align: center;
    margin-left: 20px;
}

.social-interations{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.h-r-race-title{
    font-size: .9rem;
    margin-top: 5px !important;
    margin-bottom: 0 !important;
    color: var(--text-black) !important;
    font-weight: 600;
    text-align: center;
    line-height: 1em;
}

.h-s-race-title{
    font-size: 1rem;
    margin-top: 5px !important;
    margin-bottom: 0 !important;
    color: var(--text-black) !important;
    font-weight: 600;
    text-align: center;
    line-height: 1em;
}


.h-r-race-time{
    font-size: 1.7rem;
    color: var(--text-dark-blue);
    margin: 10px !important;
    font-weight: 600;
    text-align: center;
}

.h-s-race-time{
    font-size: 2.5rem;
    color: var(--text-dark-blue);
    margin: 10px !important;
    font-weight: 600;
    text-align: center;
}

.h-r-socials img{
    width: 1.4rem;
}

.mow-type{
    color: var(--text-dark-blue);
    font-weight: bold;
    margin-bottom: 5px !important;
}

.social-btn{
    position: relative;
}

.likes-counter{
    color: white;
    position: absolute;
    top: 26px;
    right: -10px;
    font-size: 0.7rem;
    text-align: center;
    display: block;
    width: 20px;
}

.is-mow{
    background-color: var(--blue) !important;
    background-position: 200% 108%;
    background-repeat: no-repeat;
}

.is-mow-all{
    background-color: var(--blue) !important;
    background-position: 200% 108%;
    background-repeat: no-repeat;
}

.is-mow *, .is-mow-all *{
    color: white !important;
}

/* /Logged Home */

/* Racetime Show */
.racetime-show-wrapper{
    height: 100%;
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.racetime-show{
    position: relative;
    z-index: 1;
    width: 80%;
    background-color: white;
    border-radius: 5px;
    padding: 10px;
    margin: 1rem auto 0 auto;
}

.r-s-user-info{
    display: flex;
    gap: 5px;
    align-items: center;
}

.r-s-top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.r-s-top .h-r-user-detail{
    margin-left: 30px;
}

.r-s-avatar-wrapper{
    position: absolute;
    top: -11px;
    left: -27px;
}

.h-r-type{
   font-size: .9rem;
   margin: 0 !important;
   margin-bottom: 5px !important;
}

.racetime-show-social{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 85px;
    height: 40px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    background-color: var(--pink)
}

.r-s-social-wrapper{
    position: relative;
    top: -4px;
    width: 80%;
    margin: 0 auto;
}

.r-s-socials{
    display: flex;
    gap: 10px;
}

.show-likes-counter {
    position: absolute;
    top: 20px !important;
    left: -9px !important;
}
/* /Racetime Show */

/* More Option Modal */
.more-option-modal{
    width: 100%;
    height: 100svh;
    position: fixed;
    overflow: hidden;
    z-index: 998;
    top: 0;
    left: 0;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    opacity: 0;
}

.close-option-modal{
    width: 100%;
    height: 50svh;
}

.more-option-wrapper{
    width: 100%;
    height: 50svh;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-color: var(--blue);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    position: relative;
    bottom: -50svh;
}

.more-option-modal-menu{
    padding: 0 !important;
    margin: 0 !important;
    list-style-type: none;
}

.more-option-modal-menu-link{
    margin-bottom: 10px;
    color: white;
    font-size: 1rem;
}

.more-option-modal-menu-link button, .more-option-modal-menu-link a{
    color: inherit;
    text-decoration: none;
    padding: 5px;
    cursor: pointer;
    background-color: transparent;
    border: none !important;
}

/* /More Option Modal */

/* All time races */
.hidden{
    display: none;
}

.pagination-wrapper nav{
    width: 100%;
    margin-top: 1rem;
}

.pagination-wrapper .flex{
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.pagination-wrapper .flex span, .pagination-wrapper .flex a{
    padding: 0 !important;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px !important;
    text-decoration: none;
    color: var(--pink)
}
/* /All time races */

/* Search */
.user-search-single{
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
}

.user-search-avatar{
    display: block;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.user-search-username{
    margin-bottom: 0 !important;
    color: white;
}
/* /Search */

/* Communications */
.communications-admin-wrapper{
    width: 100% !important;
}

.communications-wrapper{
    width: 85%;
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    position: relative;
    z-index: 1;
}

.communications-title{
    text-align: center;
    color: var(--text-dark-blue);
    margin-bottom: 10px;
    font-weight: bold;
}

.communications-descritpion{
    font-size: 1rem;
    color: var(--text-black);
    margin-bottom: 10px;
    font-weight: 500;
}

.sent-to{
    margin-bottom: 3px;
}

.communications-user-list{
    margin: 0 !important;
    padding: 0 !important;
    list-style-type: none;
}

.communications-user-list li{
    font-size: 1rem;
    color: var(--text-dark-blue);
    font-weight: 500;
}

.communications-social-wrapper{
    width: 85%;
    margin: 0 auto;
    position: relative;
    top: -4px;
}

.communications-social{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 85px;
    height: 40px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    background-color: var(--pink);
}

.communications-container-home .communications-wrapper{
    margin: 0 auto;
}

.communications-container-home .communications-social{
    width: 60px;
}
/* /Communications */

/* swimbiz */
.sb-logo{
    display: block;
    width: 170px;
    margin: 10px auto;
}

.sb-card{
    display: block;
    width: 80%;
    margin: 10px auto;
    height: 100px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-radius: 5px;
}

.sb-overlay{
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: rgba(23, 35, 60, 0.896);
    padding: 10px;
}

.sb-title{
    color: white;
    font-size: 1rem;
    font-weight: 400;
    margin: 0 !important;
}
/* swimbiz */

/* POSTS */
.post-wrapper{
    width: 300px;
    height: 300px;
    margin: 10px auto;
    overflow: hidden;
}

.with-img{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
}

.post-preview{
    display: block;
}

.post-add-wrapper{
    width: 100%;
    height: 100%;
    border: 2px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 2rem;
    color: white
}

.post-modal-wrapper{
    width: 100%;
    height: 100svh;
    position: fixed;
    top: 0;
    left: 0;
    backdrop-filter: blur(5px);
    background-color: #17233cd6;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 999;
    opacity: 0;
}

.close-post-modal{
    background-color: transparent;
    border: none;
    padding: 5px;
    font-size: 1.6rem;
    color: white;

}

.post-modal{
    padding: 1rem;
    border-radius: 5px;
    background-color: white;
    opacity: 0;
    transform: scale(0.1);
}

.single-post{
    background-color: white;
    position: relative;
    z-index: 1;
    width: 80%;
    background-color: white;
    border-radius: 5px;
    padding: 10px;
    margin: 1rem auto 0 auto;
}

.post-center{
    margin: 10px 0;
    overflow: hidden;
}

.single-post-img-wrapper{
    width: 100%;
    max-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    overflow: hidden;
}

.single-post-img{
    display: block;
}

.is-vertical{
    height: 300px;
}

.is-not-vertical{
    width: 100%;
}

.post-description-wrapper{
    margin-top: 10px;
}

.post-description{
    margin: 0 !important;
    font-size: .9rem;
    color: var(--text-black);
}

.post-bottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-date{
    font-size: .8rem;
    color: #A7A7A7;
    margin: 0 !important;
}

.post-social{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
/* /POSTS */

/* NOTIFICATION PAGE */
.notification-wrapper{
    width: 100%;
    height: 100px;
    padding: 10px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--light-blue);
}

.notification-communication{
    background: #17233C;
    background: linear-gradient(90deg, rgba(23, 35, 60, 1) 0%, rgba(109, 178, 218, 1) 100%);
}

.notification-communication * {
    color: white !important;
}

.normal-notification{
    background-color: white;
}

.inner-notification{
    display: flex;
    align-items: center;
    gap: 20px;
}

.inner-notification-user-avatar{
    position: relative;
}

.inner-notification-user-avatar img{
    display: block;
    width: 70px;
    height: 70px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}


.notification-type{
    width: 30px;
    height: 30px;
    overflow: hidden;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    position: absolute;
    bottom: -12px;
    right: -13px;
}

.notification-type-inner{
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: .8rem;
    color: white;
    border-radius: 50%;
}

.type-follower{
    background-color: var(--text-dark-blue);
}

.type-like{
    background-color: var(--pink);
}

.inner-notification-right-side{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    flex-grow: 1;
}

.notification-text{
    margin: 0 !important;
    line-height: 1em;
    color: var(--text-dark-blue);
}

.notification-subtext{
    margin: 0 !important;
    line-height: 1em;
}

.date-notification{
    margin: 0 !important;
    justify-self: flex-end;
    align-self: flex-end;
    font-size: .8rem;
    color: #A7A7A7;
}

/* /NOTIFICATION PAGE */

/* Sponsor card */
.sponsor-text{
    font-size: 1rem;
    text-align: center;
    margin-bottom: 0 !important;
}

.sponsor-card{
    display: block;
    width: 80%;
    height: 200px;
    margin: 10px auto;
}

.sponsor-card-img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
/* /Sponsor card */
