﻿body {
    /*padding-top: 50px;*/
    /*padding-bottom: 20px;*/
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
/*input,
select,
textarea {
    max-width: 280px;
}*/

/* Carousel */
.carousel-caption {
    z-index: 10 !important;
}

    .carousel-caption p {
        font-size: 20px;
        line-height: 1.4;
    }

@media (min-width: 768px) {
    .carousel-caption {
        z-index: 10 !important;
    }
}

.disabled-link {
    pointer-events: none;
    color: gray
}

/* ====== basket ====== */
/*.basket-container {
    position: relative;
    display: inline-block;
}

.basket-icon {
    font-size: 18px;
    color: #9d9d9d;
}

    .basket-icon:hover {
        color: #fff;
    }


.badge {
    position: absolute;
    bottom: 10;
    right: -25;
    background-color: #ff0000;
    color: #fff;
    border-radius: 50%;
    font-size: 9px;
}*/

/* ======= mizeriq ========= */
.hidden {
    display: none
}



/* ====================== spinning loading icon ======================= */

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    margin: auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* dropdown with search */

#kitespots-list {
    max-height: 50vh;
    overflow-y: scroll;
}

h2.alert {
    margin-bottom: 0
}

.checkbox {
    transition: opacity 1s ease-in-out;
    color: green;
    display: inline;
}


.overflow-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .hideOnMobile {
        display: none !important;
    }
}

/* Left & right arrows on image */

.image-with-arrows-outer-container {
    display: inline-block;
}

.image-with-arrows-inner-container {
    position: relative;
}

    .image-with-arrows-inner-container img {
        display: block;
    }

    .image-with-arrows-inner-container div {
        opacity: 50%;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 73px;
        height: 50%;
        /*border: 1px solid black;*/
        background-repeat: no-repeat;
        background-position: center center;
    }

        .image-with-arrows-inner-container div:hover {
            opacity: 100%;
        }

        .image-with-arrows-inner-container div.left {
            left: 0;
            background-image: url("/img/left-nav.png");
            z-index: 99;
        }

        .image-with-arrows-inner-container div.right {
            right: 0;
            background-image: url("/img/right-nav.png");
            z-index: 99;
        }

    .image-with-arrows-inner-container i.middle {
        /*color: white;*/
        font-size: 50px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        opacity: 50%;
        text-align: center;
    }

        .image-with-arrows-inner-container i.middle:hover {
            opacity: 100%;
        }


select.select-with-placeholder {
    color: rgb(84, 84, 84);
}

/* on validation of a checkbox I want the color not to be green as it looks out of place */

.form-check-input.is-valid ~ .form-check-label, .was-validated .form-check-input:valid ~ .form-check-label {
    color: inherit;
}


.was-validated .input-group > .form-select:not(:focus):valid {
    z-index: 0;
}

.video-timer {
    position: absolute;
    bottom: 5px;
    right: 5px;
    /*background-color: rgba(0, 0, 0, 0.7);*/
    color: white;
    font-size: 12px;
    padding: 2px 5px;
    border-radius: 3px;
    pointer-events: none; /* Prevent blocking clicks on the video */
    z-index: 90
}