﻿/* for non dynamic - move any dynamic into the layout file */

/* -----------------------------
Switch */

.uk-switch {
    position: relative;
    display: inline-block;
    height: 28px;
    width: 50px;
}

    /* Hide default HTML checkbox */
    .uk-switch input {
        opacity:0;
    }
/* Slider */
.uk-switch-slider {
    background-color: rgba(0,0,0,0.22);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    border-radius: 500px;
    bottom: 0;
    cursor: pointer;
    transition-property: background-color;
    transition-duration: .2s;
    box-shadow: inset 0 0 2px rgba(0,0,0,0.07);
}
    /* Switch pointer */
    .uk-switch-slider:before {
        content: '';
        background-color: #fff;
        position: absolute;
        width: 24px;
        height: 24px;
        left: 2px;
        bottom: 2px;
        border-radius: 50%;
        transition-property: transform, box-shadow;
        transition-duration: .2s;
    }
/* Slider active color */
input:checked + .uk-switch-slider {
    background-color: #39f !important;
}
    /* Pointer active animation */
    input:checked + .uk-switch-slider:before {
        transform: translateX(22px);
    }

/* Modifiers */
.uk-switch-slider.uk-switch-on-off {
    background-color: #f0506e;
}

input:checked + .uk-switch-slider.uk-switch-on-off {
    background-color: #32d296 !important;
}

/* Style Modifier */
.uk-switch-slider.uk-switch-big:before {
    transform: scale(1.2);
    box-shadow: 0 0 6px rgba(0,0,0,0.22);
}

.uk-switch-slider.uk-switch-small:before {
    box-shadow: 0 0 6px rgba(0,0,0,0.22);
}

input:checked + .uk-switch-slider.uk-switch-big:before {
    transform: translateX(32px) scale(1.2);
}

/* Inverse Modifier - affects only default */
.uk-light .uk-switch-slider:not(.uk-switch-on-off) {
    background-color: rgba(255,255,255,0.22);
}


::placeholder{
    opacity:0.25;
}

@media screen and (max-width: 900px) {
    .av-table-responsive {
        border: 0;
    }

    table.av-table-responsive thead {
        display: none;
    }

    table.av-table-responsive tr {
        display: block;
        margin-bottom: 2em;
    }

    table.av-table-responsive td {
        border-bottom: 1px solid #ddd;
        display: block;
        text-align: right;
        padding: 6px 6px;
        min-height: calc(1em + 6px);
    }


    table.av-table-responsive td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    table.av-table-responsive td:last-child {
        border-bottom: 0;
    }

    table.av-table-responsive td:empty {
        display: none;
    }

    td.av-table-responsive-hide {
        display: none !important;
    }
}


/*  CIRCLE COLORS CSS*/
.color-picker {
    background-image: url(/img/checkedsmall.png);
    margin-top: 5px;
    margin-bottom: 5px;
    border: 1px solid lightgray;
    border-radius: 5px;
}

    .color-picker > div {
        width: 40px;
        display: inline-block;
        height: 40px;
        margin: 5px;
        border-radius: 100%;
        border: 1px solid darkgray;
    }

.picker-wrapper {
    padding: 20px;
}

.color-picker > div:hover {
    border: 1px solid blue;
}



.cookie-banner {
    position: fixed;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 9999;
}

.close {
    height: 20px;
    background-color: #777;
    border: none;
    color: white;
    border-radius: 2px;
    cursor: pointer;
}

.uk-tab > * > a {
    border-bottom: 3px solid transparent;
}

/*.uk-tab > .uk-active > a {
    font-size: larger;
    font-weight: bolder;
}*/

.uk-tab-bottom > * > a {
    border-top: 3px solid transparent;
    border-bottom: none;
}

.av-cal-booked {
    background: #FF6347;
}

.av-cal-bookedonwards {
    background: linear-gradient(to bottom right, #b3ffb3 0%, #b3ffb3 50%, #FF6347 50%, #FF6347 100%);
}

.av-cal-bookedtoday {
    background: linear-gradient(to top left, #b3ffb3 0%, #b3ffb3 50%, #eeeeee 50%, #eeeeee 100%);
}

.av-cal-bookedbackwards {
    background: linear-gradient(to top left, #b3ffb3 0%, #b3ffb3 50%, #FF6347 50%, #FF6347 100%);
}

.av-cal-outofmonth {
    background: #eeeeee;
}

.av-cal-available {
    background: #b3ffb3;
}

.av-cal-availabledate {
    background: #9bd19b;
}

.av-cal-bankholiday {
    background:  powderblue;
}

.av-calday {
    display:inline-block;
    padding: 3px;
    width: 25px;
    height:18px;
    text-align: center;
    font-size: 11px !important;

}

.av-calinfo {
    display: inline-block;
    text-align: center;
    font-size: 10px !important;
    text-overflow: ellipsis;
    /*white-space: nowrap;*/
    overflow: hidden; 
}

.av-calbh {
    display: inline-block;
    text-align: center;
    font-size: 10px !important;
    background-color: powderblue;
    padding: 3px 1px 3px 1px;
    width: 20px;
    font-size: 11px !important;
}

.av-calday-outofmonth {
    background: #eeeeee;
    color: #68756c;
}

.av-calday-available {
    color: white;
    background: #7d7d7d;
}

.av-calday-availabledate {
    color: white;
    background: #336329;
}


.av-calprice {
    color: black;
    margin: 0px;
    padding: 5px;
    font-size: large;
    font: bold;
}

.av-calprice-selected p {
    color: white;
    background-color: green !important;
}

.av-calprice-selected {
    background-color: green !important;
}

/*all sizes*/
.uk-table .av-cal {
    border: 1px solid silver;
    padding: 4px;
}

.av-cal {
    height: 70px;
}

.av-cal-nights {
    margin-top: -5px;
    margin-left: 10px;
    padding-top: -2px;
}

/* If the screen size is 600px wide or less, set the padding-size*/
@media screen and (max-width: 600px) {
    .av-cal {
        padding: 0px !important;
        font-size: 10px !important;
        height: 60px;
    }

    .av-calprice {
        font-size: small !important;
        padding: 0px !important;
    }

    .av-cal-nights {
        margin-left: 5px !important;
        padding: -2px !important;
    }

    .uk-navbar-nav > li > a,
    .uk-navbar-item,
    .uk-navbar-toggle {
        min-height: 50px;
    }


    .av-cal-nights {
        font-size: 8pt;
    }

    .av-bottomsection {
        padding-top: 10px !important;
    }
}

@media screen and (max-width: 400px) {
    .av-cal {
        height: 50px;
    }

 /*   .uk-container {
        padding-left: 2px;
        padding-right: 2px;
    }*/

    .uk-dotnav > * {
        padding-left: 6px;
    }

    .uk-card-small, .uk-card-body, .uk-card-small.uk-card-body {
        padding: 10px 10px;
    }

    .av-cal-nights {
        font-size: 7pt;
    }
}


.StripeElement {
    box-sizing: border-box;
    height: 40px;
    padding: 10px 12px;
    border: 1px solid lightgray;
    border-radius: 0px;
    background-color: white;
    box-shadow: 0 0px 0px 0 #e6ebf1;
    -webkit-transition: box-shadow 150ms ease;
    transition: box-shadow 150ms ease;
}


.uk-subnav li a {
    border-radius: 3px;
}


.uk-card .cat-txt {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.01em;
}

img[data-src][src*='data:image'] {
    background: rgba(0,0,0,0.1);
}

.uk-logo {
    font-weight: normal;
}

.uk-card-small {
    padding: 0px 0px;
}

.av-topsection {
    padding-top: 0px;
    padding-bottom: 0px;
    background-repeat: repeat;
    background-position-y: 0px;
    font-weight: bold;
}


.av-bottomsection {
    padding-top: 20px;
}



.av-topsection-dropdown {
    background-repeat: repeat;
    background-position-y: 0px;
    border-style: solid;
    border-width: 1px;
    border-color: #ddd;
    border-radius: 4px;
    margin-top: 0px;
}

/*.uk-button {
    border-radius: 4px;*/
/*border-bottom-width: 2px;*/
/*-webkit-appearance: none;
    border-width: 1px;
    border-style: solid;
}

.uk-button-primary {*/
/*border-bottom-color:darkblue;*/
/*background: #2c1984;*/ /* Old browsers */
/*background: -moz-linear-gradient(top, #2c1984 0%, #207cca 83%, #18156d 100%);*/ /* FF3.6-15 */
/*background: -webkit-linear-gradient(top, #2c1984 0%,#207cca 83%,#18156d 100%);*/ /* Chrome10-25,Safari5.1-6 */
/*background: linear-gradient(to bottom, #2c1984 0%,#207cca 83%,#18156d 100%);*/ /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
/*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2c1984', endColorstr='#18156d',GradientType=0 );*/ /* IE6-9 */
/*}*/


.pages table {
    border-collapse: collapse;
    font-size: smaller;
    width: 100%;
}

.pages td {
    border: 1px silver solid;
    padding: 3px;
}


@media screen and (max-width: 640px) {
    .uk-navbar-nav > li {
        margin-right: -10px;
        margin-left: -10px;
    }
}


.dotcontainer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.dot {
    width: 10px;
    height: 10px;
    border: 2px solid silver;
    border-radius: 50%;
    float: left;
    margin: 0 5px;
    transform: scale(0);
    -webkit-animation: fx 1000ms ease infinite 0ms;
    animation: fx 1000ms ease infinite 0ms;
}

    .dot:nth-child(2) {
        -webkit-animation: fx 1000ms ease infinite 150ms;
        animation: fx 1000ms ease infinite 150ms;
    }

    .dot:nth-child(3) {
        -webkit-animation: fx 1000ms ease infinite 300ms;
        animation: fx 1000ms ease infinite 300ms;
    }

    .dot:nth-child(4) {
        -webkit-animation: fx 1000ms ease infinite 450ms;
        animation: fx 1000ms ease infinite 450ms;
    }

    .dot:nth-child(5) {
        -webkit-animation: fx 1000ms ease infinite 600ms;
        animation: fx 1000ms ease infinite 600ms;
    }

@-webkit-keyframes fx {
    50% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fx {
    50% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}
