﻿/* class generics */
body.nav-mobile-open {
    overflow-y: hidden;
}

.header {
    position: sticky;
    top: 0;
    z-index: 2;
}

button,
select {
    cursor: pointer;
}

.cursor-pointer {
    cursor: pointer;
}

.hide, .hidden {
    display: none;
}

.header__top {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.header__top-content {
    position: relative;
}

.header__top-info {
    text-align: center;
}

.header__logo {
    height: 120px;
}

.header__bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 3rem;
}

.nav {
    font-weight: 100;
    position: absolute;
    top: 0;
    /* overflow-y: auto; */
    right: 0;
    bottom: 0;
    left: 0;
    text-align: center;
    display: flex;
    align-items: center;
    height: 100vh;
    background-color: var(--color-primary);
}

.nav__container {
    list-style: none;
    width: 100%;
    height: auto;
    /*height: 100%;*/
    /*display: flex;
    flex-direction: column;*/
    /*row-gap: 5rem;*/
    /*justify-content: center;*/
    /*position: relative;*/
    /* align-items: center; */
    flex-wrap: wrap;
    background-color: var(--color-primary);
}

.nav__item {
    padding: 1rem;

    display: block;
    width: 100%;
}

.nav__item-link {
    color: var(--color-white);
    display: inline;
    font-size: var(--h4);
}

.nav__item-link:hover,
.nav--active {
    font-weight: 400;
}

.nav__mobile-toggle,
.nav__mobile-icon,
.nav__mobile-close {
    background-color: unset;
    border: 0;
    font-size: 3.2rem;
    padding: 0;
}

a.nav__item-btn,
.nav__mobile-close {
    border: 0;
    font-size: var(--text-size-lg);
}

.nav__mobile-close {
    background-color: var(--color-white);
    color: var(--color-primary);
    border-radius: 100%;
    width: 3rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 3rem;
    top: 4rem;
}

.nav__mobile-close .fa-close::before {
    line-height: 2; 
}

.nav__dropdown {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--color-secondary);
    padding: 10rem 5rem;
    display: none;
}

.nav__dropdown-bridge {
    display: none;
}

.nav__dropdown-menu {
    background-color: var(--color-secondary);
    height: calc(100vh - 200px - 70px);
    overflow-y: auto;
    color: white;
}

.nav__dropdown-container {
    list-style: none;
    margin-bottom: 4rem;
}

.nav__dropdown-container:last-child {
    margin-bottom: 0;
}

.nav__dropdown-item {
    margin-bottom: 1.5rem;
}

.nav__dropdown-head {
    font-size: var(--h4);
    margin-bottom: 3rem;
}

.nav__dropdown-link {
    color: var(--color-white);
}

.footer {
    width: 100%;
    bottom: 0;
}

.footer i,
.footer a {
    color: var(--color-white);
}

.footer__content {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 3rem 6rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    -moz-gap: 2rem;
}

.footer__content-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer__content-center {
    display: flex;
    width: 100%;
    flex-direction: column;
    column-gap: 2rem;
}

.footer__content-center > div {
    border-top: 1px solid var(--color-white);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

.footer__nav-container {
    list-style: none;
}

.footer__nav-link {
    display: block;
    padding: 1rem 0;
    color: var(--color-white);
}

.footer__bottom {
    padding: .5rem;
    background-color: white;
    color: var(--color-black);
    font-size: var(--text-size-sm);
}

.footer__bottom a {
    color: var(--color-black);
}


/*footer 2*/
.footer2 {
    background: -webkit-radial-gradient(20px top, ellipse, #8f303c, #b40d22, #490009);
    color: #fff;
/*    margin-top: 3.5rem;*/
}

.footer2__top {
    padding: 3rem 5rem;
    color: white;
    display: flex;
    flex-direction: column;
    align-content: center;
    row-gap: 3rem;
}

.footer2__top a {
    color: white;
}

.footer2__logo {
    height: 25vh;
}

.footer2__social-links {
    display: flex;
    gap: 2rem;
}

.footer2__social-links a {
    color: white;
}

.footer2__bottom {
    /* position: absolute;*/
    text-align: center;
    bottom: 0;
    width: 100%;
    background-color: white;
    color: var(--color-text);
    padding: 5px;
    font-size: var(--text-size-sm);
}

.footer2__bottom a {
    color: var(--color-text);
}

.join-us {
    background-image: url('../img/conocenos/separte-del-club.webp');
    background-size: cover;
}

.section {
    padding: 4rem;
}

.section-x-0 {
    padding: 4rem 0;
}

.letter-spacing-normal {
    letter-spacing: normal;
}

.display-block {
    display: block;
}

.display-none {
    display: none;
}

.position-relative {
    position: relative;
}

.btn {
    padding: 1rem 2rem;
    min-width: 25.5rem;
    width: auto;
    display: inline-block;
    border-radius: 3rem;
    font-weight: 400;
    text-align: center;
    letter-spacing: 0.13rem;
    color: var(--color-primary);
    cursor: pointer;
}

.btn:active {
    transform: translateY(.05rem);
    transform: scale(.99);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
}
/*
.btn-secondary-2 {
    background-color: var(--color-secondary-2);
    color: var(--color-white);
}

.btn-secondary-2-dark {
    background-color: var(--color-secondary-2-dark);
    color: var(--color-white);
}
*/
.btn-white {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.btn-gradient {
    background: var(--linear-gradient-left);
    color: var(--color-white);
}

.btn-sm {
    padding: .7rem 3rem;
    font-size: var(--text-size-sm);
    min-width: 13rem;
}

.btn-sm--mw17 {
    min-width: 17rem;
}

.btn-xs {
    padding: .5rem 2rem;
    font-size: var(--text-size-xs);
    min-width: 10rem;
}

.btn-lg {
    padding: 1.5rem 3rem;
    font-size: var(--text-size-18);
    min-width: 30rem;
}

.btn-effect-size:hover {
    transform: scale(1.1);
}

.btn-effect-width,
.btn-effect-size {
    transition: var(--transition-btn);
}

.btn-effect-width {
    width: 20%;
}

.btn-effect-width:hover {
    width: 30%;
}

.btn-sm-effect-width:hover {
    width: 45%;
}

.btn-effect-bg--secondary:hover {
    background-color: var(--color-secondary);
}

/*.btn-effect-bg--secondary-2:hover {
    background: var(--color-secondary-2);
    color: white;
}
*/
/*.btn-effect-bg--secondary-3:hover {
    background: var(--color-secondary);
    color: var(--color-white);
}*/

.btn-effect-bg--white:hover {
    background-color: var(--color-white);
    color: var(--color-secondary);
}

.btn-effect-bg--gradient:hover {
    background: var(--linear-gradient-right);
    color: var(--color-white);
}

.btn-secondary-effect-bg--gradient:hover {
    background: var(--linear-gradient-secondary-right);
    color: var(--color-white);
}

.z-index-1 {
    z-index: 1;
}

/*Image*/
.img-responsive {
    width: 100%;
}

.img-sheet--right {
    border-top-left-radius: 55%;
    border-bottom-right-radius: 55%;
}

.img-sheet__bg {
    background-color: var(--color-secondary);
}

.img-sheet__bg--right {
    display: flex;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.img-sheet__bg--right::after {
    content: ' ';
}

.img-sheet__bg--right::before {
    content: ' ';
}

.container__img-sede-small {
    position: relative;
    cursor: pointer;
}

.container__img-sede-small::after {
    content: '';
    width: 0;

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--h3);
    font-weight: 400;
    color: white;

    transition: all 250ms ease;
}

.container__img-sede-small:hover::after {
    width: 100%;
}

.container__img-sede-small--principal:hover::after {
    content: 'SEDE PRINCIPAL';
    background-color: var(--color-secondary-transparent);
}

.container__img-sede-small--macarena::after {
    right: 0;
    left: unset;
}

.container__img-sede-small--macarena:hover::after {
    content: 'LA MACARENA';
    /*background-color: var(--color-secondary-2-transparent);*/
    background-color: var(--color-secondary-transparent);
}

.img-sede-small {
    display: block;
}

.img-banner {
    width: 100%;
    object-fit: cover;
    height: 25rem;
}

.bg-banner,
.bg-content {
    width: 100%;
    background-repeat: no-repeat;
    -webkit-background-size: auto;
    -moz-background-size: auto;
    background-size: auto;
    position: relative;
    background-color: transparent;
}

.bg-banner {
    background-attachment: fixed;
}

.bg-banner::after, 
.bg-banner::before {
    content: ' ';
    width: 100%;
    height: inherit;
    position: absolute;
}

.bg-banner__img {
    z-index: -1;
    width: inherit;
    height: inherit;
    position: absolute;
    object-fit: cover;
    aspect-ratio: 1980/628;
}

.bg-white {
    background-color: var(--color-white);
}

.bg-linear-gradient-right {
    background: var(--linear-gradient-right);
}

.mini-gallery {
    max-width: 20rem;
    width: 100%;
}

.mini-gallery__img {
    max-width: 24.5rem;
    height: auto;
    aspect-ratio: 245/176;
    display: block;
    margin: 0 auto;
    /*object-fit: cover;*/
}

/*Cards*/
.card-container--absolute {
    display: flex;
    justify-content: center;
    position: absolute;
    left: 0;
    right: 0;
}

.card {
    max-width: 30rem;
    min-height: 31.7rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-card);
    background-color: var(--color-white);
    cursor: pointer;
}

.card,
.card a {
    /*color: var(--color-secondary-2);*/
    color: var(--color-secondary);
}

.card:hover {
    background-color: var(--color-secondary);
}

.card:hover,
.card a:hover {
    color: var(--color-white);
}

.card__image {
    width: 45%;
    height: auto;
    transition: transform 150ms linear 0s;
}

.card-one {
    display: block;
    width: 100%;
    height: 35rem;
    max-height: inherit;
    object-fit: cover;
    border-bottom-right-radius: var(--border-radius-25);
    border-bottom-left-radius: var(--border-radius-25);
    box-shadow: var(--shadow-card);
}

.card-one__head {
    max-height: 20rem;
    height: inherit;
}

.card-one__img {
    display: block;
    width: 100%;
    height: inherit;
    max-height: inherit;
    object-fit: cover;
    border-top-right-radius: var(--border-radius-25);
    border-top-left-radius: var(--border-radius-25);
}

.card-one__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
    height: 15rem;
    border-bottom-right-radius: 25px;
    border-bottom-left-radius: 25px;
}

.card-container--two {
    margin-left: -4rem;
    margin-right: -4rem;
}

.card-two {
    box-shadow: none;
    border: 1px var(--color-border-card) solid;
    border-radius: unset;
    display: flex;
}

.card-two__heading {
    display: flex;
    justify-content: center;
}

.card-two__body {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    overflow-y: auto;
}

.card-two__body-top {
    display: flex;
    justify-content:space-between;
    margin-bottom: 2rem;
    width: 100%;
}

.card-two__body-top > * {
    margin-bottom: 0;
}

.card-two__body-bottom {
    /*margin-bottom: 2rem;*/
}

.card-two__image {
    width: 100%;
    height: auto;
}

.card-three {
    display: flex;
    flex-direction: column;
    border: none;
    border-radius: unset;
    width: 100%;
    color: white;
    /*background-color: var(--color-secondary-2);*/
    background-color: var(--color-secondary);
    border-bottom-left-radius: var(--radius-card);
    border-bottom-right-radius: var(--radius-card);
}

.card-three__header {
    height: auto;
    width: 100%;
}

.card-three__body {
    text-align: center;
    padding: 3rem;
    /*padding-top: 0;*/
    width: 100%;
}

/*.card-three__content {
    height: 100%;
}*/

.card-three__image {
    display: block;
    content-visibility: auto;
}

.card-three__time {
    padding: .6rem 0rem;
    display: block;
    font-weight: 400;
    position: relative;
    top: -2rem;
    font-size: var(--text-size-14);
}

.card-three__content-bottom {
    text-align: center;
    padding-top: 2rem;
}

.card-three--left {
    /*background-color: var(--color-secondary-2);*/
    background-color: var(--color-secondary);
}

.card-three--right {
    background-color: var(--color-secondary);
}

/*.card-three--border .card-three__body {
    padding-top: 3rem;
}*/

.card-three--border .card-three,
.card-three--border .card-three__image {
    border-top-left-radius: var(--radius-card);
    border-top-right-radius: var(--radius-card);
}

.card-three--border .card-three__image {
    background-color: unset;
    display: block;
    max-height: unset;
}

.card-four__image {
    content-visibility: auto;
}

.box-card {
    border-radius: var(--border-radius-30);
    padding: 3rem;
    height: 100%;
    min-height: 14rem;
}

/*.box-card--bg {
    background-image: url('./Assets/img/nosotros/bg-deportes.webp');
}*/

.box-card--round {
    border-radius: var(--border-radius-15);
}

.box-card--primary {
    background-color: var(--color-primary);
}

.box-card--secondary {
    background-color: var(--color-secondary);
}

.bg-primary {
    background-color: var(--color-primary);
}

.bg-primary-light {
    background-color: var(--color-primary-light);
}

.bg-primary-dark {
    background-color: var(--color-primary-dark);
}

.bg-secondary {
    background-color: var(--color-secondary);
}

.width-100 {
    width: 100%;
}

.margin-0 {
    margin: 0;
}
.margin-top-1 {
    margin-top: 1rem;
}

.margin-top-2 {
    margin-top: 2rem;
}

.margin-top-3 {
    margin-top: 3rem;
}

.margin-top-4 {
    margin-top: 4rem;
}

.margin-right-2 {
    margin-right: 2rem;
}

.margin-right-3 {
    margin-right: 3rem;
}

.margin-bottom-1 {
    margin-bottom: 1rem;
}

.margin-bottom-2 {
    margin-bottom: 2rem;
}

.margin-bottom-3 {
    margin-bottom: 3rem;
}

.margin-bottom-4 {
    margin-bottom: 4rem;
}

.margin-bottom-5 {
    margin-bottom: 5rem;
}

.margin-bottom-6 {
    margin-bottom: 6rem;
}

.padding-0 {
    padding: 0;
}

.padding-1 {
    padding: 1rem;
}

.padding-10 {
    padding: 10rem;
}

.padding-y-0 {
    padding-top: 0;
    padding-bottom: 0;
}

.padding-y-10 {
    padding-top: 10rem;
    padding-bottom: 10rem;
}

.padding-top-4 {
    padding-top: 4rem;
}

.padding-bottom-3 {
    padding-bottom: 3rem;
}

.border-radius-25 {
    border-radius: 25px;
}

.text-sm {
    font-size: var(--text-size-sm);
}

.text-xs {
    font-size: var(--text-size-xs);
}

.text-lg {
    font-size: var(--text-size-lg);
}

.text-size-14 {
    font-size: var(--text-size-14);
}

.text-center {
    text-align: center;
}

.text-justify {
    text-align: justify;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-white {
    color: var(--color-white);
}

.text-primary {
    color: var(--color-primary);
}

.text-primary-light {
    color: var(--color-primary-light);
}

.text-primary-dark {
    color: var(--color-primary-dark);
}

.text-secondary {
    color: var(--color-secondary);
}

/*.text-secondary-2 {
    color: var(--color-secondary-2);
}*/

.text-thin {
    font-weight: 100;
}

.text-light {
    font-weight: 300;
}

.text-regular {
    font-weight: 400;
}

.text-medium {
    font-weight: 500;
}

.text-bold {
    font-weight: 700;
}

.text-underline {
    text-decoration: underline;
}

/*Box*/
.box-text {
    width: 100%;
    max-width: 20rem;
    height: 100%;
    background-image: url('../img/home/fondo-cubo.webp');
    aspect-ratio: 200/200;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    text-align: center;
    padding: 1rem;
    display: flex;
    focus-order: visual;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.box-text::after {
    content: ' ';
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    /*background-color: rgba(0, 0, 0, 0.37);*/
}

.box-text__title,
.box-text__subtitle,
.box-text__text {
    margin: 0;
    color: var(--color-white);
}

.know-us {
    top: var(--top-bg-banner);
/*    border-bottom-left-radius: var(--border-radius-mb);
    border-bottom-right-radius: var(--border-radius-mb);
    background-image: url('../img/conocenos/bg-propuesta-valor.webp');
    background-size: cover;*/
}

.know-us__container {
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
}

.know-us__content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    row-gap: 3rem;
    column-gap: 5rem;
}

.know-us__content-area {
    display: grid;
    grid-template-areas: "a" "b" "c";
    column-gap: 5rem;
    row-gap: 3rem;
}

.know-us__content-area--three {
    grid-template-areas: "a" "c" "b";
}

.know-us__content > div {
    width: 100%;
}

.know-us__area {
    display: grid;
    grid-template-areas: "b" "a" "c";
}

.know-us__area-a {
    grid-area: a;
}

.know-us__area-b {
    grid-area: b;
}

.know-us__area-c {
    grid-area: c;
}

/*galeria*/
.gallery-us {
    display: grid;
    grid-template-columns: repeat(5, 5rem);
    grid-template-rows: repeat(4, 8rem);
    gap: .5rem;
    justify-content: center;
}

.gallery-us > div:nth-child(1) {
    grid-area: 1/1/3/3;
}

.gallery-us > div:nth-child(2) {
    grid-area: 1/3/2/6;
}

.gallery-us > div:nth-child(3) {
    grid-area: 2/3/2/5;
}

.gallery-us > div:nth-child(4) {
    grid-area: 2/5/3/6;
}

.gallery-us > div:nth-child(5) {
    grid-area: 4 / 4 / 5 / 6;
}

.gallery-us > div:nth-child(6) {
    grid-area: 4 / 1 / 5 / 4;
}

.gallery-us > div:nth-child(7) {
    grid-area: 3 / 1 / 4 / 6;
}

.gallery-us__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    content-visibility: auto;
}


/*.know-us__img {
}*/

/* Flexbox & GridLayout */
.display-flex {
    display: flex;
}

.display-grid {
    display: grid;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-around {
    justify-content: space-around;
}

.justify-content-start {
    justify-content: flex-start;
}

.justify-content-end {
    justify-content: flex-end;
}

.align-item-center {
    align-items: center;
}

.align-item-start {
    align-items: flex-start;
}

.align-item-end {
    align-items: flex-end;
}

.flex-direction-column {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}


.gap-1 {
    grid-gap: 1rem;
    gap: 1rem;
}

.gap-2 {
    grid-gap: 2rem;
    gap: 2rem;
}

.row-gap-2 { 
    grid-row-gap: 2rem;
    row-gap: 2rem;
} 

/* Grid Bootstrap */
.container {
    width: 100%;
    padding: 1rem;
    margin-right: auto;
    margin-left: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.row > * {
    padding: 0 1rem;
}



#loading,
#deshaceraccion {
    display: none;
    position: fixed;
    top: 0px;
    z-index: 4;
    background-color: #ffc;
    font-weight: bold;
    padding: 5px 10px;
    border: 1px solid #f0c36d;
    left: 0px;
    text-align: center;
}

#msg-result,
.msg-result-alert {
    display: none;
    position: fixed;
    top: 0px;
    z-index: 4;
    width: 100%;
    font-weight: bold;
    padding: 5px 10px;
    margin: 0px;
    text-align: justify;
}

.lds-spinner__container {
    display: none;
    position: fixed;
    z-index: 4;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0, .7) 50% 50% no-repeat;
}

body.loading {
    overflow: hidden;
}

body.loading .lds-spinner__container {
    display: flex;
    justify-content: center;
    -webkit-justify-content: center;
}


body.loading--black .lds-spinner__container {
    background: unset;
    height: 1%;
}

.lds-spinner {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
    top: 45vh;
    /*left: 47vw;*/
}

.lds-spinner div {
    transform-origin: 32px 32px;
    animation: lds-spinner 1.2s linear infinite;
}

.lds-spinner div::after {
    content: " ";
    display: block;
    position: absolute;
    top: 3px;
    left: 29px;
    width: 5px;
    height: 14px;
    border-radius: 20%;
    background: #fff;
}

.loading--black .lds-spinner div::after {
    background: black;
}

.lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}

.lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}

.lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}

.lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}

.lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}

.lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}

.lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}

.lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}

.lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}

.lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}

.lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}

.lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}

/*.lds-spinner__img {
    background-image: url(../img/loading.svg);
    background-position: center;
    margin: auto;
    background-size: 100px;
    width: 100px;
    height: 100px;
}*/

@keyframes lds-spinner {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* Modal */
.modal-content-blank {
    background-color: white;
    border-radius: var(--border-radius-30);
}

.modal .modal-header-blank {
    background-color: white;
    border-top-left-radius: var(--border-radius-30);
    border-top-right-radius: var(--border-radius-30);
    border-bottom: none;
    align-items: flex-start;
}

.modal-header-blank .modal-title {
    max-width: 300px;
    margin: 0;
    margin: 0 auto;
}

.modal-body-blank {
    border-bottom-left-radius: var(--border-radius-30);
    border-bottom-right-radius: var(--border-radius-30);
}

.modal-open {
  overflow: hidden;
}
.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 4;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: .5rem;
  pointer-events: none;
}

.modal.fade .modal-dialog {
     transition: -webkit-transform .3s ease-out;
    transition: transform .3s ease-out;
    transition: transform .3s ease-out, -webkit-transform .3s ease-out;
    -webkit-transform: translate(0, -50px);
    transform: translate(0, -50px);
}

.modal.show .modal-dialog {
    -webkit-transform: none;
    transform: none;
}

.modal.modal-static .modal-dialog {
  -webkit-transform: scale(1.02);
  transform: scale(1.02);
}

.modal-dialog-scrollable {
    display: flex;
    max-height: calc(100% - 1rem);
}

.modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - 1rem);
    overflow: hidden;
}

.modal-dialog-scrollable .modal-header,
.modal-dialog-scrollable .modal-footer {
  flex-shrink: 0;
}

.modal-dialog-scrollable .modal-body {
  overflow-y: auto;
}

.modal-dialog-centered {
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - 1rem);
}

.modal-dialog-centered::before {
    display: block;
    height: calc(100vh - 1rem);
    height: min-content;
    content: "";
}

.modal-dialog-centered.modal-dialog-scrollable {
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.modal-dialog-centered.modal-dialog-scrollable .modal-content {
  max-height: none;
}

.modal-dialog-centered.modal-dialog-scrollable::before {
  content: none;
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  /*color:*/ /* $modal-content-color *//*;*/
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0,0,0,.2);
  outline: 0;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3;
  width: 100vw;
  height: 100vh;
  background-color: #000;
}
.modal-backdrop.fade {
  opacity: 0;
}
.modal-backdrop.show {
  opacity: .5;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 2rem 2rem;
  border-bottom: 1px solid #dee2e6;
}

.modal-header .close {
    padding: 0;
    margin: 0;
    font-size: 2.5rem;
    background-color: transparent;
}

.modal-title {
  margin-bottom: 0;
}

.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 0 2rem 2rem;
}

.modal-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    padding: .75rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: calc(.3rem - 1px);
    border-bottom-left-radius: calc(.3rem - 1px);
}

.modal-footer > * {
  margin: .25rem
}

.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}

/* Scale up the modal */
@media (min-width: 576px) {
  .modal-dialog {
    max-width: 500px;
    margin: 1rem auto;
  }
  .modal-dialog-scrollable {
    max-height: calc(100% - (/* $modal-dialog-margin-y-sm-up */ * 2));
  }
  .modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - (/* $modal-dialog-margin-y-sm-up */ * 2));
  }
  .modal-dialog-centered {
    min-height: calc(100% - (/* $modal-dialog-margin-y-sm-up */ * 2));
  }
  .modal-dialog-centered::before {
    height: calc(100vh - (/* $modal-dialog-margin-y-sm-up */ * 2));
    height: min-content;
  }
  .modal-content {
    /* @include box-shadow($modal-content-box-shadow-sm-up); */
  }
  .modal-sm {
    max-width: 300px;
  }
}

@media (min-width: 992px) {
  .modal-lg,
  .modal-xl {
    max-width: 800px;
  }
}

@media (min-width: 1200px) {
  .modal-xl {
    max-width: 1140px;
  }
}