﻿/* Stylesheet required for Media Queries */
body {
    max-width: 1171px;
    margin: 0 auto;
    font-family: Poppins, sans-serif;
}

#Content,
#HeaderContent {
    padding: 0;
    margin: 0 auto;
}

#HeaderContent {
    box-shadow: 0px -4px 12px #E5E8F2;
}

#Content {
    box-shadow: 0px 14px 16px #E5E8F2;
}

h2 {
    color: #fff;
    margin: 10px 0;
    font-size: 20px;
    font-weight: bold;
}

.font-bold {
    font-weight: bold
}

.glyphicon {
    float: right;
    line-height: 2 !important;
}

#LeftBar {
    padding: 12px;
    box-shadow: 4px 0px 12px #E5E8F2 !important;
    background-color: #F6F7FC !important;
    z-index: 1 !important;
    height: 100%;
}

LeftBar input:hover {
    cursor: pointer;
}

#RightBar {
    min-height: 600px;
    padding: 12px;
}

#GroupTitle {
    font-weight: bold;
    text-align: center;
    padding: 1px;
    min-height: 43px;
}

.ServiceSummary {
    padding: 15px 25px;
}

.ServiceTitle {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 6px;
}

.sidebarBtn {
    margin: 12px 0;
    width: 100%;
    padding: 9px 12px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #A9A9A9;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
}

.preselected {
    border-radius: 6px;
    padding: 10px;
    width: 100%;
    cursor: pointer;
}

select {
    border-radius: 6px;
    padding: 10px;
    width: 100%;
    cursor: pointer;
}

option {
    cursor: pointer;
}

.center {
    text-align: center;
}

.clicker {
    padding: 10px;
    font-size: 20px;
    background-color: #efefef;
    cursor: pointer;
}

.next-available-h {
    padding: 10px;
    font-size: 20px;
    background-color: #efefef;
    cursor: pointer;
}

table {
    width: 100%;
}

td {
    padding: 10px;
}

.answer {
    background-color: #fff;
}

.answer .col-xs-4,
next-available .col-xs-4 {
    padding: 12px;
}

.timeslot {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    padding: 7px 0.25em;
    font-weight: bold;
    text-align: center;
}

.answer a:hover {
    text-decoration: none;
}

#InfoSummary label {
    font-weight: bold;
    margin-bottom: 0;
}

/* Datepicker */

.datepicker-inline {
    background-color: #f6f7fc !important;
    border: 1px solid #e0e0e0;
}

.datepicker table tr td.disabled {
    color: #CCCCCC;
}

.datepicker-inline {
    margin: 0 auto;
    margin-top: 15px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 8px;
}

.datepicker table {
    color: #333333;
}

.datepicker .day,
.datepicker .datepicker-switch,
.datepicker .dow {
    color: #333;
}

.datepicker .new,
.datepicker .old {
    /* hides the greyed-out days of previous and next month */
    visibility: hidden;
}

.datepicker .prev,
.datepicker .next {
    color: #333;
    visibility: hidden;
    /* gets shown (unsing JQuery) with Bootstrap glyphicons on document ready - prevents race condition */
}

td.day {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

    td.day:hover,
    td.active.day {
        background-image: none !important;
        -webkit-border-radius: 50%;
        -webkit-box-shadow: inset 0px 0px 0px 1px rgba(255, 255, 255, 1);
        -moz-box-shadow: inset 0px 0px 0px 1px rgba(255, 255, 255, 1);
        box-shadow: inset 0px 0px 0px 1px #333333;
    }

td.active.day {
    background-color: #f6f7fc !important;
    color: #333333 !important;
}

td.day:hover {
    background-color: none !important;
}

.datepicker .datepicker-switch:hover,
.datepicker .prev:hover,
.datepicker .next:hover,
.datepicker tfoot tr th:hover,
#LeftBar span.month.focused {
    background: transparent;
}

#LeftBar span.month.active {
    background-image: none;
    background: transparent;
    border: 1px solid #fff;
    color: #fff !important;
}

#BookingModal input {
    border-radius: 4px;
    box-shadow: none;
    border: 1px solid #ccc;
    margin: 5px 0px;
    padding: 6px;
    width: 100%;
}

#BookingModal label {
    margin-top: 11px;
}

#BookingModal textarea {
    border-radius: 4px;
    border: 1px solid #ccc;
    width: 100%;
    max-width: 100%;
    margin-top: 5px;
}

#BookingModal .field-validation-error {
    float: right;
    color: red;
    font-size: 12px;
    margin-right: -15px;
    margin-bottom: 10px;
}

#DismissModal {
    display: none;
}

#SearchStatus {
    margin-top: 4px;
}

.ui-autocomplete-loading {
    background: url('images/ajax-loader-desk.gif') no-repeat right center
}

/* 20% items */
.col-xs-15,
.col-sm-15,
.col-md-15,
.col-lg-15 {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}

.col-xs-15 {
    width: 100%;
    float: left;
}

#InputFields {
    padding-top: 0px;
    padding-bottom: 12px !important;
}

.datepicker {
    padding: 0.04vw;
    /* background-color: #5586FF !important; */
}


div.datepicker-inline {
    width: auto;
    max-width: 100%;
    padding: 10px;
}

div.datepicker-days table {
    font-size: 1.2vw;
}

.ui-menu-item {
    border-bottom: 1px solid #ccc;
}

#summaryServiceNameWrapper {
    border: 1px solid #fff;
    padding: 2px 15px;
    text-align: left;
}




/* Media Queries */

@media screen and (min-width: 768px) {
    #LeftBar {
        height: calc(100vh - -860px);
    }

    .col-sm-15 {
        width: 20%;
        float: left;
    }

    #summaryServiceNameWrapper {
        border: none;
        padding: 0;
        border-bottom: none !important;
        /* important tag required to override inline dynamic colour from media query */
    }
}

@media screen and (max-width: 980px) {
    div.datepicker-days table {
        font-size: 1.4vw;
    }

    .datepicker-inline {
        border: none;
    }

    .table-condensed > thead > tr > th {
        padding: 0px;
    }

    div.datepicker-inline {
        padding: 0px;
    }
}


@media screen and (max-width: 768px) {

    .answer .col-xs-4,
    .next-available .col-xs-4 {
        padding: 4px;
    }

    #LeftBar {
        max-height: 200px;
    }

    div.datepicker-days table {
        font-size: 4.0vw;
    }

    .table-condensed > thead > tr > th {
        padding: 2px;
    }

    .datepicker-inline {
        border: none;
    }

    #InputFields {
        padding: 0px;
    }

    #ChangeDate {
        display: normal;
    }

    #banner img {
        float: none;
    }

    .col-xs-12.col-lg-4.field-title {
        width: 200px !important;
    }

    #btnConfirmBooking {
        width: 100% !important;
    }
}

@media (min-width: 768px) {
    #ChangeDate {
        display: none;
    }
}

@media (min-width: 982px) {
    .col-md-15 {
        width: 20%;
        float: left;
    }
}

@media (min-width: 1200px) {
    .col-lg-15 {
        width: 20%;
        float: left;
    }

    #InputFields {
        padding: 24px;
    }

    .datepicker {
        padding: 0px;
    }

    div.datepicker-days table {
        font-size: medium;
    }

    .col-xs-12.col-sm-6 {
        width: 60% !important;
    }

    .col-xs-12.col-sm-7 {
        width: 60% !important;
    }
}

.timeslot {
    font-weight: normal !important;
    border-color: #04529C !important;
    color: #04529C !important;
    background-color: #ffffff !important;
    transition-duration: 0.4s;
}

.timeslot:hover {
    font-weight: normal !important;
    border-color: #04529C !important;
    color: #ffffff !important;
    background-color: #04529C !important;
}

.question {
    background-color: #F6F7FC !important;
    border-bottom: 1px solid #E5E8F2 !important;
    font-size: 16px !important;
    line-height: 2 !important;
}

.availability-header-section {
    color: #333333 !important;
}

#covidServiceName {
    color: #333333 !important;
}

.serviceTitle {
    color: #333333 !important;
}

.age-header-text-style {
    color: #333333 !important;
}

a {
    color: #04529C !important;
    text-decoration: none !important;
}

.age-header-container {
    text-align: left;
    border-style: solid !important;
    border-color: #ffffff !important;
    border-width: medium;
    background-color: #E5E8F2 !important;
    padding: 10px 10px 0px 10px;
    border-radius: 16px
}

#InfoSummary {
    color: #333333 !important;
}


#NameInfoSummary {
    color: #333333 !important;
}

#summaryPharmacyName {
    color: #333333 !important;
}

#AddressInfoSummary {
    color: #333333 !important;
}

#summaryPharmacyAddress {
    color: #333333 !important;
}

#PhoneInfoSummary {
    color: #333333 !important;
}

#summaryPharmacyPhone {
    color: #333333 !important;
}

#ServiceInfoSummary {
    color: #333333 !important;
}

#summaryDuration {
    color: #333333 !important;
}

/* css rules for a div that is the first child of #DatePickerCalender */
#DatePickerCalender > div:nth-child(1) {
    color: #333333 !important;
}

#summaryServiceNameWrapper {
    font-size: 16px !important;
    border-bottom: 2px solid #333333 !important;
}

#btnConfirmBooking {
    background-color: #069B4E !important;
    color: white;
    width: 40%;
}

#btnConfirmBooking:hover {
    background-color: #C0E5CB !important;
    color: #333333;
}

.skinned-btn {
    border-radius: 4px;
    background-color: #04529C !important;
    color: white;
    transition-duration: 0.4s;
}

.skinned-btn:hover {
    border-radius: 3px;
    background-color: #E5E8F2 !important;
    color: #333333;
}

.col-xs-12.col-lg-4.field-title {
    width: 140px;
    padding: 0px !important;
    white-space: pre-wrap !important;
}

.datepicker-dropdown {
    background-color: #F6F7FC !important;
}

/* Forms styling */

input,
select {
    width: 100%;
    padding: 12px 20px;
    margin: 0px;
    display: inline-block;
    border: 1px solid #999999;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type=text]:focus {
    border: 1px solid #04529C;
    box-shadow: 0px 0px 0px 4px #AFFFFF;
}

select:focus {
    border: 1px solid #04529C;
    box-shadow: 0px 0px 0px 4px #AFFFFF;
}

.textField {
    padding: 0px;
    margin-bottom: 4px;
    width: 100%;
}

input[type=checkbox] {
    width: 10px;
    margin-right: 12px;
    transform: scale(2);
}

.divider {
    padding: 10px 15px;
    border-top: none !important;
}


.col-xs-12.col-sm-12.no-padding {
    background-color: #E5E8F2 !important;
    border-radius: 8px !important;
    padding: 12px 12px 8px 20px !important;
    margin-bottom: 14px;
}

b {
    color: #333333 !important;
}
