body{
    /*
        overflow: hidden;
    */
    scroll-behavior: smooth;
}

#nav_principal{
    position: fixed !important;
    width: 100% !important;
}

#nav_principal > div{
    background-color: white !important;
}

.contenedor {
    scroll-snap-type: y mandatory;
}

.entry {
    animation: entry 2s ease forwards;
}

@keyframes entry {
    to {
        transform: translateX(0);
        opacity: 1;
        filter: blur(0px);
    }
}

section{
    transition: all 0.5s ease-in;
}

.contenedor > section{
    scroll-snap-stop: always;
    scroll-snap-align: start;
}

/*section:nth-of-type(1):before {
    content: 'FEDERACION DE GOLF DE MADRID';
    position: absolute;
    top: -0.5em;
    font-size: 6.5rem;
    color: #00000033;
    line-height: 1;
    mix-blend-mode: overlay;
    white-space: nowrap;
}*/

section:after {
    content: 'FEDERACION DE GOLF DE MADRID';
    position: absolute;
    bottom: -0.5em;
    font-size: 6.5rem;
    color: #00000033;
    line-height: 1;
    mix-blend-mode: overlay;
    white-space: nowrap;
    transform: translateX(.5em);
    filter: blur(2px);
    transition: 1.4s ease all;
    overflow: hidden;
    pointer-events: none;
}

section:nth-child(odd) {
    /*background: var(--color8);*/
    background: #f5f5f5;
    color: var(--color2);
}

section:nth-child(even) {
    /*background: var(--color9);*/
    background: #ffde87;
    color: #7a402a;
}

h1.a{
    transform: translateX(-2em);
}

.smallScale{
    transform: scale(0.9);
    transition: all 0.3s ease-in;
}

.videoControls{
    color: whitesmoke;
}

nav{
    color: var(--color7);
}

nav{
    position: fixed;
    z-index: 10;
    top:50vh;
    right: 1vh;
}

.seccionLocalizacion{
    color: white;
}

body.bgAbstracto{
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='border shadow-md' preserveAspectRatio='none' style='width:1351.68px;height:760.32px' viewBox='0 0 1352 760'%3E%3Cpath fill='%23fff' d='M0 0h1352v760H0z' class='bg'/%3E%3Cpath fill='%23FED100' d='M-1552-97S-786-213 0-97s691-74 1552 0 766-63 1551 0h110V960h-4765Z'/%3E%3Cpath fill='%23fed724' d='M-1552 30S-786-33 0 30s647-63 1552 0 766-118 1551 0h110v930h-4765Z'/%3E%3Cpath fill='%23fedd48' d='M-1552 157S-786 38 0 157s766-82 1552 0 766-95 1551 0h110v803h-4765Z'/%3E%3Cpath fill='%23fee36c' d='M-1552 283s766-87 1552 0 766-101 1552 0 596-63 1551 0h110v677h-4765Z'/%3E%3Cpath fill='%23fee990' d='M-1552 410s766-68 1552 0 766-63 1552 0 766-63 1551 0h110v550h-4765Z'/%3E%3Cpath fill='%23feefb4' d='M-1552 537s756-63 1552 0 766-63 1552 0 738-96 1551 0h110v423h-4765Z'/%3E%3Cpath fill='%23fef5d8' d='M-1552 664s700-74 1552 0 733-64 1552 0 766-68 1551 0h110v296h-4765Z'/%3E%3C/svg%3E");
    background-size: cover;
    background-attachment: scroll;
}

#zonaBtnMenu{
    display: none;
}


#LogoFGMNav{
    height: 3em;
}

#navPrincipalContainer{
    padding: .4em;
}


ol li .text-blue-600 {
    font-size: 1.1em;
    display: inline;
}

/*
.fade-in {
    -webkit-animation: fade-in 0.5s cubic-bezier(0.390, 0.575, 0.565, 1.000) 500ms both;
    animation: fade-in 0.5s cubic-bezier(0.390, 0.575, 0.565, 1.000) 500ms both;
}

@-webkit-keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}*/


/***************** Select2 ********************/

/*#select2-location-container {
    max-width: 1px;
}*/

#select2-location-container:empty,
#select2-form_destino-container:empty,
.select2-selection__rendered:empty {
    display: none!important;
}

.select2-selection {
    overflow: hidden;
}

.select2-selection__rendered {
    white-space: normal;
    word-break: break-all;
}
/* -    -   -   -*/

/* SELECT 2 */
#container-aux {
    min-height: 68px;
    width: 100%;
    border-radius: 0.25rem;
    border-width: 1px;
    --tw-bg-opacity: 1;
    background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
}

.select2-container {
    /* The container where the selectbox is housing*/
    position: relative;
    margin: 0px;
    box-sizing: border-box;
    display: inline-block;
    width: 100%;
    vertical-align: middle;
    height: 3rem;
    margin: 0.25rem;
}

.select2-container .select2-selection--single {
    /* Selection box itself */
    box-sizing: border-box;
    display: block;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    /* DIV inside Selection box with text, clear button and arrow down*/
    display: block;
    height: 2.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: 0.25rem;
    padding-right: 1.5rem;
}

.select2-container .select2-selection--single .select2-selection__clear {
    /* The DIV where the X is housing to clear the chosen option */
    position: relative;
    margin: -0.25rem;
}

.select2-container .select2-selection--multiple{
    box-sizing: border-box;
    display: block;
    height: -moz-fit-content;
    height: fit-content;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    overflow: hidden;
}

.select2-container .select2-selection--multiple .select2-selection__rendered{
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    white-space: nowrap;
    padding-left: 0.5rem;
}

.select2-container .select2-search--inline {
    /* Search box*/
    float: left;
    width: 100%;
}

.select2-container .select2-search--inline .select2-search__field{
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    box-sizing: border-box;
    width: 100% !important;
    border-radius: 0.25rem;
    border-width: 1px;
    --tw-bg-opacity: 1;
    background-color: rgba(249, 250, 251, var(--tw-bg-opacity));
    padding-left: 0.25rem;
    font-size: 1rem;
    line-height: 1.5rem;
}

.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{
    -webkit-appearance: none;
    appearance: none;
}

.select2-dropdown {
    /* Dropdown area when the arrow down is clicked */
    position: absolute;
    z-index: 50;
    float: left;
    box-sizing: border-box;
    display: block;
    width: auto;
    border-width: 1px;
    border-style: solid;
    --tw-border-opacity: 1;
    border-color: var(--color6);
    --tw-bg-opacity: 1;
    background-color: var(--color3);
}

/*.select2-results{
    display: block;
    height: 15rem;
}

.select2-dropdown.esIframe .select2-results{
    display: block;
    height: 3.5rem;
}*/

.select2-results__options{
    margin: 0px;
    list-style-type: none;
    padding: 0px;
}

.select2-results__option {
    /* The rows with results that you see after dropdown.
    Increase p-1 to p-2 to have more space between results */
    --tw-text-opacity: 1;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    padding: 0.25rem;
    color: rgba(71, 55, 208, var(--tw-text-opacity));
    font-size: 1.5rem;
    line-height: 2rem;
}

.select2-results__option[aria-selected]{
    cursor: pointer;
}

.select2-container--open .select2-dropdown {
    /* Dropdown container opened and results are shown*/
    left: 0px;
    margin-top: 0.75rem;
}

.select2-container--open .select2-dropdown--above {
    /* The left and right borders of the option rows */
    border-radius: 0.25rem;
    --tw-border-opacity: 1;
    border-color: var(--color6);
    --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.select2-container--open .select2-dropdown--below {
    /* The left and right borders of the option rows */
    border-radius: 0.25rem;
    --tw-border-opacity: 1;
    border-color: rgba(156, 163, 175, var(--tw-border-opacity));
    --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.select2-search--dropdown {
    /* Search dropdown element*/
    display: block;
    padding: 0.5rem;
}

.select2-search--dropdown .select2-search__field {
    /* Search box itself where you can enter text*/
    box-sizing: border-box;
    height: 2.5rem;
    border-radius: 0.25rem;
    border-width: 2px;
    --tw-border-opacity: 1;
    border-color: var(--color6);
    padding: 0.25rem;
    outline: 2px solid transparent;
    outline-offset: 2px;
    width: 100%;
}

.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{
    -webkit-appearance: none;
    appearance: none;
}

.select2-search--dropdown.select2-search--hide{
    display: none;
}

.select2-close-mask{
    margin: 0px;
    display: block;
    width: 3rem;
    min-width: 100%;
    padding: 0px;
    border: 0;
    position: fixed;
    left: 0;
    top: 0;
    min-height: 100%;
    height: auto;
    width: auto;
    opacity: 0;
    z-index: 99;
    background-color: #fff;
    filter: alpha(opacity = 0);
}

.select2-hidden-accessible {
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important;
}
/* Fin Select2 a mano */

/* Default template settings: */
.select2-container--default .select2-selection--single {
    /* Selection bar - Self */
    height: 3rem;
    border: none;
    background-color: var(--color6);
    padding: 0.5rem;
    font-weight: 400;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    /* Selection bar - Text color of the item you selected from the results */
    --tw-text-opacity: 1;
    color: rgba(71, 55, 208, var(--tw-text-opacity));
    font-size: 1.5rem;
    line-height: 2rem;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    /* Selection bar - Clear button - If this property is enabled*/
    float: right;
    cursor: pointer;
    --tw-text-opacity: 1;
    color: rgba(185, 28, 28, var(--tw-text-opacity));
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    /* Selection bar - Color of the placeholder text before selection - If this property is enabled */
    --tw-text-opacity: 1;
    color: rgba(75, 85, 99, var(--tw-text-opacity));
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    /* Selection bar - DIV where the arrow pointing down is living*/
    position: absolute;
    right: 0px;
    top: 0px;
    height: 2.5rem;
    width: 2rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    /* Arrow is a CSS triangle that does not exists in Tailwind without a package */
    position: absolute;
    height: 0px;
    width: 0px;
    border-top-width: 4px;
    border-right-width: 4px;
    border-bottom-width: 0px;
    border-left-width: 4px;
    border-style: solid;
    border-color: #000 transparent transparent transparent;
    left: 50%;
    margin-left: -4px;
    margin-top: -2px;
    top: 50%;
}

.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
    /* Selection bar - Clear button - If this property is enabled from right to left*/
    float: left;
    margin-left: 1rem;
}

.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
    /* Placement of the dropdown arrow when in rtl mode */
    left: 0px;
    right: auto;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    /* Selection by property disabled*/
    cursor: default;
    --tw-bg-opacity: 1;
    background-color: var(--color6);
}

.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
    /* Selection bar - Hide the clear cross when selection bar is disabled*/
    display: none;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #888 transparent;
    border-width: 0 4px 5px 4px;
}

.select2-container--default .select2-selection--multiple{
    border-radius: 0.25rem;
    border-width: 1px;
    border-style: solid;
    --tw-bg-opacity: 1;
    background-color: var(--color6);
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

@media (min-width: 768px){
    .select2-container--default .select2-selection--multiple{
        padding: 0.5rem;
    }
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered{
    margin: 0px;
    box-sizing: border-box;
    min-width: 100%;
    list-style-type: none;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered li{
    list-style-type: none;
}

.select2-container--default .select2-selection--multiple .select2-selection__clear{
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 50;
    float: right;
    margin-top: 0.25rem;
    margin-right: 0.5rem;
    cursor: pointer;
    padding: 0.25rem;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    float: left;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    margin-right: 1rem;
    padding-left: 0.5rem;
    padding-right: 1.5rem;
    color: white;
    padding: .25em 1em;
    font-size: 1.16em;
    box-shadow: rgb(255 255 255) 0px 0px 0px 0px, rgb(5 150 105) 0px 0px 0px 3px, rgb(0 0 0 / 0%) 0px 0px 0px 0px;
    font-weight: 500;
    background: #0fb981;
    max-width: 20rem;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display{
    white-space: break-spaces;
    word-break: break-word;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
    margin-right: 0.25rem;
    display: inline-block;
    cursor: pointer;
    --tw-text-opacity: 1;
    color: rgba(55, 65, 81, var(--tw-text-opacity));
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{
    --tw-text-opacity: 1;
    color: rgba(107, 114, 128, var(--tw-text-opacity));
}

.select2-container--default.select2-container--focus .select2-selection--multiple{
    border-width: 2px;
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.select2-container--default.select2-container--disabled .select2-selection__choice__remove{
    display: none;
}

.select2-container--classic .select2-selection--multiple .select2-selection__choice{
    float: left;
    margin-top: 0.25rem;
    margin-right: 0.25rem;
    cursor: default;
    border-radius: 0.25rem;
    border-width: 2px;
    --tw-bg-opacity: 1;
    background-color: var(--color6);
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    /* The border of the search textbox */
    border-style: solid;
}

.select2-container--default .select2-search--inline .select2-search__field {
    /* Search textbox */
    -webkit-user-select: text;
    -moz-user-select: text;
    user-select: text;
    border-style: none;
    background-color: transparent;
    --tw-bg-opacity: 1;
    background-color: var(--color6);
    --tw-shadow: 0 0 #0000;
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.select2-container--default .select2-results>.select2-results__options {
    /* Hight of the dropdown zone where the options or results are visible */
    height: 100%;
    overflow-y: auto;
}

.select2-container--default .select2-results__option[role=group] {
    /* No clue what this does */
    padding: 0px;
}

.select2-container--default .select2-results__option[aria-disabled=true]{
    --tw-text-opacity: 1;
    color: rgba(209, 213, 219, var(--tw-text-opacity));
}

.select2-container--default .select2-results__option[aria-selected=true] {
    /* The already selected option row color */
    --tw-bg-opacity: 1;
    background-color: var(--color6);
}

.select2-results__option--selected{
    display: none;
}

.select2-container--default .select2-results__option .select2-results__option {
    padding-left: 1em;
}

.select2-container--default .select2-results__option .select2-results__option .select2-results__group {
    padding-left: 0;
}

.select2-container--default .select2-results__option .select2-results__option .select2-results__option {
    margin-left: -1em;
    padding-left: 2em;
}

.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
    margin-left: -2em;
    padding-left: 3em;
}

.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
    margin-left: -3em;
    padding-left: 4em;
}

.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
    margin-left: -4em;
    padding-left: 5em;
}

.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
    margin-left: -5em;
    padding-left: 6em;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    /* Background color and text color of the options rows when select is open */
    background-color: var(--color6);
    --tw-text-opacity: 1;
    color: rgba(71, 55, 208, var(--tw-text-opacity));
    font-size: 1.5rem;
    line-height: 2rem;
}

.select2-container--default .select2-results__group {
    /* Have no idea what this is for */
    display: block;
    cursor: default;
    padding: 6px;
}

.selection .select2-selection:focus-within,
.select2-search__field:focus-within {
    background-color: var(--color6);
}

.okemoji-li {
    display: inline;
    left: 3em;
    position: absolute;
}

[id^="dropdown-"] {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out, visibility 0s 0.2s;
    width: 320px;
    max-width: 90vw;
    left: 0;
    right: auto;
}

[id^="dropdown-"].show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

@media (max-width: 768px) {
    .okemoji-li {
        display: inline;
        left: 1em;
        position: absolute;
    }

    [id^="dropdown-"] {
        position: fixed;
        left: 5%;
        right: 5%;
        width: auto;
        max-width: none;
    }

    [id^="dropdown-"].show::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.1);
        z-index: -1;
    }
}
