/* CUSTOM CSS PARA LA PAGINA DE VOTACIONES DE TAPAS */
.nav-container > nav.bar {
    pointer-events: none;
}

.nav-container > nav.bar img, .nav-container > nav.bar .modal-instance {
    pointer-events: auto;
}

.custom-tapa-container {
    min-height: fit-content !important;
    margin-bottom: 0 !important;
}

.custom-tapa-container img {
    padding: 0 20px !important;
}
  
.custom-tapa-title, .custom-tapa-title h2 {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background-color: #fafafa;
}
  
.custom-tapa-title h2 {
    color: #252525;
    font-size: 20px;
    font-weight: 700;
}
  
.custom-tapa-slider {
    background-color: #fafafa;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

@media (min-width: 1024px) {
    .custom-tapa-slider {
        padding-bottom: 40px !important;
    }
}
  
.custom-tapa-slider h2 {
    padding-top: 0px !important;
    font-weight: 300;
    font-size: 35px;
    color: #252525;
    margin: 0;
}

.custom-tapa-slider-arrows {
    background-color: #fafafa;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    padding-bottom: 10px !important;
}

.custom-tapa-slider-arrows > svg {
    height: 30px;
    cursor: pointer;
    visibility: hidden;
}

.custom-tapa-slider-arrows > svg:first-child {
    transform: rotate(180deg);
}

.custom-tapa-slider-arrows:has(+ section .owl-stage > .owl-item.active:last-child) > svg:first-child  {
    visibility: visible;
}
.custom-tapa-slider-arrows:has(+ section .owl-stage > .owl-item.active:first-child) > svg:last-child  {
    visibility: visible;
}

.custom-tapa-social-list li {
    width: 300px;
    margin: auto;
    padding: 10px 0;
}

/* .social-list li:nth-child(2) {
    padding-bottom: 20px;
    margin-bottom: 10px !important;
    border-bottom: 1px solid gray;
} */

.custom-tapa-maridaxe, .custom-tapa-enlace {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
}

.custom-tapa-maridaxe img, .custom-tapa-enlace img {
    width: 25px !important;
    height: 25px;
    margin: 0 !important;
    padding: 0 !important;
}

.custom-tapa-enlace p, .custom-tapa-maridaxe p {
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    color: #808080;
}


div.boxed .form-vote {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}
  
div.boxed .form-vote > div {
    background-color: white;
    padding: 20px;
    border-radius: 7px;
    border: 1px solid lightgray;
    width: 100%;
}
  
div.boxed .form-vote .description {
    text-transform: uppercase;
    color: #808080;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 0 !important;
}

div.boxed .form-vote .reset-button {
    width: fit-content;
    margin: auto;
    border: 1px solid lightgray;
    border-radius: 5px;
    padding: 0px 10px;
    background-color: #fafafa;
    font-size: 13px;
    color: #999;
    line-height: 20px;
    cursor: pointer;
}

.star-widget {
    margin-top: 15px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-evenly;
    padding: 0 !important;
}

div.boxed .star-widget input{
    display: none;
}

.star-widget label{
    font-size: 40px;
    color: #e5e5e5;
    margin: 0 !important;
    padding: 0 !important;
    transition: all 0.2s ease;
}

.star-widget input:not(:checked) ~ label:hover,
.star-widget input:not(:checked) ~ label:hover ~ label{
    color: #ffc107;
    cursor: pointer;
}

.star-widget input:checked ~ label{
color: #ffc107 !important;
}

.mail input {
    border: 1px solid lightgray;
    border-radius: 7px;
    padding: 15px;
    margin-top: 15px;
    width: 100%;
    font-size: 15px;
    color: #777777;
}

.mail input:focus {
    outline: #EF3E56;
}

.form-vote button{
    width: 100%;
    margin-top: 20px;
    padding: 10px 0;
    border: 1px solid #EF3E56;
    border-radius: 7px;
    outline: none;
    background-color: #EF3E56;
    color: white;
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}
.form-vote button:hover{
    background-color: white;
    color: #EF3E56;
}

/* OLD STYLES FOR JQUERY PLUGIN RATEIT */

.rateit {
    display: -moz-inline-box;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.rateit .rateit-range {
    position: relative;
    display: -moz-inline-box;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 16px;
    outline: none;
    margin-left: 20px;
}

.rateit .rateit-range * {
    display: block;
}


.rateit .rateit-hover, .rateit .rateit-selected {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
}

.rateit .rateit-hover-rtl, .rateit .rateit-selected-rtl {
    left: auto;
    right: 0;
}

.rateit .rateit-hover {
    color: rgb(239, 197, 41);
}


.rateit .rateit-selected {
    color: rgb(239, 197, 41);
}


.rateit .rateit-preset {
    color: rgb(239, 197, 41);
}

.rateit .rateit-empty, .rateit .rateit-selected, .rateit .rateit-hover {
    letter-spacing: 20px !important;
    text-align: center;
}


.rateit .rateit-reset span {
    display: none;
}


.rateit-font {
    font-size: 24px;
    line-height: 1em;
}

    .rateit-font .rateit-range {
        background: none;
        height: auto;
    }

    .rateit-font .rateit-empty {
        color: #ccc;
    }

    .rateit-font .rateit-range > div, .rateit-font .rateit-range > span {
        background: none;
        overflow: hidden;
        cursor: default;
    }

.rateit.rateit-font .rateit-reset {
    font-size: inherit;
    background: none;
    width: 0.6em;
    height: 0.6em;
    margin-top: 0.2em;
    background: gray;
    border-radius: 50%;
    position: relative;
}


.rateit.rateit-font .rateit-reset:hover, .rateit.rateit-font button.rateit-reset:focus {
    background: rgb(239, 197, 41); 
    background: radial-gradient(ellipse at center, #efc529 55%,rgba(239, 197, 41, 0.5) 77%,rgba(239, 197, 41, 0.3) 100%); 
    background-position: 0 0;
}

.vote-announcement {
    margin-top: 50px;
    padding: 25px;
    border: 1px solid gray;
    background-color: #f5f5f5;
}