/* General table styling */
#availability-container .boat-slider {
    width: 90%;
    margin: auto;
}

#availability-container .week-slide,
#availability-container .boat-slider h6 {
    text-align: center;
}

/* Table cell styling */
#availability-container .week-slide {
    border: 1px solid white !important;
    background: linear-gradient(55deg, #8FBC8F, #8FBC8F99); /* Default background */
    padding: 10px;
    margin: 0px;
    border-radius: 5px;
}

#availability-container .week-slide.reserved {
    background: linear-gradient(55deg, #CD5C5C, #CD5C5C99);
}


/* First column styling */
#availability-container .boat-slider .boat-info-calendar-name {
    background: linear-gradient(90deg, #AA8768, #AA876855);
    border-radius: 25px 0 0 25px;
    height: 20%;
    padding: 10px;
}

.slide-arrow-calendar {
    position: absolute;
    top:75%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    border: none;
}
.n-arrow {
    right: -40px;
    clip-path: polygon(0 0, 0% 100%, 100% 50%);
    background: linear-gradient(90deg,transparent, var(--primaryClr));
}
.p-arrow {
    left: -40px;
    z-index: 1;
    clip-path: polygon(100% 0, 0 50%, 100% 100%);
    background: linear-gradient(-90deg,transparent, var(--primaryClr));
}

.button-remove {
    position: absolute;
    bottom: -2px;
    right: 5%;
    width: 50px;
    height: 50px;
    padding: .75rem 0;
    border: none;
    background: linear-gradient(0deg, white 20% , transparent 140%);
    border-radius: 20px 20px 0 0 ;
    font-weight: bold;
}

.button-details {
    position: absolute;
    bottom: -2px;
    right: 12%;
    width: 50px;
    height: 50px;
    padding: .75rem 0;
    border: none;
    background: linear-gradient(0deg, white 20%, transparent 140%);
    border-radius: 20px 20px 0 0 ;
    font-weight: bold;
}

.button-details i {
    transition: all .3s ease-in-out;
}

.button-details:hover i {
    transform: scale(1.1);
    color: #3174b2 !important;
}

.button-vote-yes {
    position: absolute;
    top: 10%;
    right: -2px;
    width: 75px;
    padding: .75rem 0;
    border: none;
    background: linear-gradient(-90deg, white 20%, transparent 140%);
    border-radius: 0px 0 0 20px;

    z-index: 2;

}

.button-vote-yes i{
    transition: all .3s ease-in-out;
}

.button-vote-yes:hover i {
    transform: translateX(5px) rotateZ(-20deg) scale(1.1);
    color: #8FBC8F !important;
}

.button-vote-no {
    position: absolute;
    top: 35%;
    right: -2px;
    width: 75px;
    padding: .75rem 0;
    border: none;
    background: linear-gradient(-90deg, white 20%, transparent 140%);
    border-radius: 20px 0 0 0px;

    z-index: 2;
}

.button-vote-no i{
    transition: all .3s ease-in-out;
}

.button-vote-no:hover i {
    transform: translateX(5px) rotateZ(20deg) scale(1.1);
    color: #CD5C5C !important;
}

.vote-counter {
    text-shadow: 1px 1px 2px black;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 22.5%;
    right: 70px;
    width: 50px;
    height: 50px;
    padding: .75rem 0;
    border: none;
    background: linear-gradient(-90deg, transparent 0%, white 100%);
    border-radius: 50%;
    font-weight: bold;
    z-index: 1;
}

@media screen and (max-width: 1400px) {
    .button-vote-no {
        width: 60px;
    }
    .button-vote-yes {
        width: 60px;
    }
    .vote-counter {
        right: 55px;
    }
    .button-details {
        right: 15%;
    }
}

@media screen and (max-width: 550px) {

    .button-remove,
    .button-details,
    .button-vote-no,
    .button-vote-yes,
    .vote-counter {
        background: none;
    }

    .button-vote-no {
        top: 27%;
        width: 50px;
    }
    .button-vote-yes {
        top: 0%;
        width: 50px;
    }
    .vote-counter {
        top: 13%;
        right: 0;
    }



    .button-vote-yes:hover i,
    .button-vote-no:hover i {
        transform: none;
    }
}