/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.fdc-header {
    position: relative;
    background-image: url(../images/background-desktop.png);
    background-size: contain;
    display:inline-block;
    width: 100%;
    height: 400px;
    background-repeat: no-repeat;
}
.fdc-header .content {
    width: 50%;
    float: right;
    background-color: #7DBDB7;
}

#fdc {
    background-color: #7DBDB7;
    display: inline-block;
    width: 100%;
}

.fdc-header .header-image--mobile {
    display: none;
}

.fdc p {
    color: #000;
    margin: 0;
}
.fdc .fdc-heading {
    color: white;
    font-size: 32px;
    line-height: 1em;
    margin-bottom: 16px;
    text-align: center;
    -webkit-hyphens: none; /* Safari */
}

.fdc-header .fdc-heading {
    text-align: left;
    margin-top: 24px;
    margin-left: 20px;
    height: 64px;
}

#fdc .fdc-heading {
    color: black;
    margin: 20px 0 8px 0;
}

.fdc .fdc-container {
    padding: 20px 20px 10px;
}

.fdc-header .fdc-container {
    background-color: #7DBDB7;
    padding: 0 20px 10px;
    height: 296px;
}

.fdc .fdc-container .fdc-error {
    color: red;
}
.fdc .fdc-container.fdc-result-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.fdc .fdc-container .fdc-block-container {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
    width: 814px;
}

.fdc-header .fdc-container .fdc-block-container {
    padding: 0;
}

.fdc .fdc-container .fdc-block-container .block {
    background: #D6D9DC;
    color: #000;
    font-family: "ProximaNovaA-Bold","Helvetica",sans-serif;
    font-size: 18px;
    line-height: 21px;
    margin: 10px 0 0 0;
    min-height: 144px;
    padding: 18px;
    width: 31%;
}

.fdc-header .fdc-container .fdc-block-container .block {
    color: #000;
    font-family: "ProximaNovaA-Bold","Helvetica",sans-serif;
    font-size: 18px;
    margin: 0;
    width: 100%;
    min-height: 0;
    line-height: normal;
    background: none;
    padding: 0;
}

.fdc .fdc-container .fdc-block-container .block .block-title {
    min-height: 65px;
    -webkit-hyphens: none;
}

.fdc-header .fdc-container .fdc-block-container .block .block-title {
    min-height: 0;
    text-align: left;
    -webkit-hyphens: none;
}

.fdc .fdc-container .fdc-block-container .block span {
    display: block;
    margin-bottom: 10px;
}

.fdc-header .fdc-container .fdc-block-container .block span {
    display: block;
    margin-bottom: 0;
}

.fdc .fdc-container .fdc-block-container .block .date {
    font-size: 24px;
    line-height: 32px;
    margin-top: 11px;
    -webkit-hyphens: none;
}

.fdc-header .fdc-container .fdc-block-container .block .date {
    font-size: 20px;
    color: white;
    text-align: left;
    line-height: normal;
    margin-top: 0;
    -webkit-hyphens: none;
}

.fdc-header .fdc-container .fdc-block-container .warning {
    font-size: 11px;
    margin-top: 14px;
    text-align: left;
}

.fdc-header .fdc-container .fdc-block-container .warning {
    margin-top: 14px;
    text-align: left;
}

.fdc .fdc-container .fdc-block-container .block a {
    color: #7DBDB7;
    text-decoration: underline;
    transition: color 80ms ease-out;
}

.fdc-header .fdc-container .fdc-block-container .block a {
    color: white;
}

.fdc .fdc-container .fdc-block-container .block a:hover {
    color: #F97E7B;
}
.fdc .fdc-label {
    color: #000;
    display: block;
    font-family: "ProximaNovaA-Bold","Helvetica",sans-serif;
    font-size: 17px;
    line-height: 1em;
    margin-bottom: 20px;
}
.fdc .fdc-text-input,
.fdc .fdc-select-input {
    -moz-appearance:    none;
    -webkit-appearance: none;
    appearance:         none;
    background-color: white;
    border: none;
    color: #000;
    cursor: pointer;
    font-family: "ProximaNovaA-Bold","Helvetica",sans-serif;
    font-size: 16px;
    height: 36px;
    line-height: 36px;
    padding: 0 8px;
    width: 100%;
}

#fdc #fdc-date {
    font-family: "ProximaNovaA-Regular","Helvetica",sans-serif;
}

.fdc .fdc-text-input {
    background-image: url(../images/calendar.png);
    background-position: calc(100% - 10px) 50%;
    background-repeat: no-repeat;
    background-size: 14px;
}
.fdc .fdc-select-input {
    background-image: url(../images/select.png);
    background-position: calc(100% - 10px) 50%;
    background-repeat: no-repeat;
    background-size: 9px;
}
.fdc ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #000;
    font-family: "ProximaNovaA-Bold","Helvetica",sans-serif;
    opacity: 1;
}
.fdc ::-moz-placeholder { /* Firefox 19+ */
    color: #000;
    font-family: "ProximaNovaA-Bold","Helvetica",sans-serif;
    opacity: 1;
}
.fdc :-ms-input-placeholder { /* IE 10+ */
    color: #000;
    font-family: "ProximaNovaA-Bold","Helvetica",sans-serif;
    opacity: 1;
}
.fdc :-moz-placeholder { /* Firefox 18- */
    color: #000;
    font-family: "ProximaNovaA-Bold","Helvetica",sans-serif;
    opacity: 1;
}
.fdc #fdc-date-container {
    margin-bottom: 34px;
}
.fdc #fdc-select-container {
    margin-bottom: 21px;
}
.fdc .fdc-button {
    -moz-appearance:    none;
    -webkit-appearance: none;
    appearance:         none;
    background: white;
    border-radius: 0;
    border: none;
    box-shadow: none;
    color: black;
    cursor: pointer;
    display: block;
    font-size: 20px;
    line-height: 1em;
    padding: 14px 0;
    text-align: center;
    text-decoration: none;
    transition: background-color 80ms ease-out;
    width: 100%;
}

.fdc .fdc-button:hover,
.fdc .fdc-button:focus {
    background-color: #F97E7B;
    color: white;
}

.fdc .fdc-button i {
    color: #FFF;
    font-weight: bold;
    margin-left: 15px;
}

/** Jquery UI Datepicker css overrides  **/
div.ui-datepicker.ui-widget-content {
    background: #FFF;
    border-radius: 0;
    border: none;
    box-shadow: 0 0 25px 0 rgba(0,0,0,.5);
    color: #000;
    width: 15em;
    z-index: 999 !important;
}
div.ui-datepicker .ui-datepicker-header {
    background: none;
    border: none;
}
div.ui-datepicker .ui-datepicker-title {
    color: #000;
    font-size: 17px;
    line-height: 25px;
}
div.ui-datepicker .ui-datepicker-prev {
    left: 3%;
    top: 0;
    transition: all .2s linear;
}
div.ui-datepicker .ui-datepicker-next {
    right: 3%;
    top: 0;
    transition: all .2s linear;
}
div.ui-datepicker .ui-datepicker-prev.ui-state-hover,
div.ui-datepicker .ui-datepicker-next.ui-state-hover {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transform: scale(1.4);
}
div.ui-datepicker .ui-datepicker-prev span,
div.ui-datepicker .ui-datepicker-next span {
    align-items: center;
    background: none;
    color: #FFF;
    display: flex;
    justify-content: center;
    margin: 0;
    text-indent: -9px;
    transform: translate(-50%,-50%);
}
div.ui-datepicker .ui-datepicker-prev span {
    background-image: url(../images/angle-left.png);
    background-position: 0;
    background-repeat: no-repeat;
    background-size: 70%;
}
div.ui-datepicker .ui-datepicker-next span {
    background-image: url(../images/angle-right.png);
    background-position: 0;
    background-repeat: no-repeat;
    background-size: 70%;
}
div.ui-datepicker th {
    padding: 0;
}
div.ui-datepicker th span {
    font-size: 14px;
    font-weight: normal;
    padding: 0;
    text-transform: uppercase;
}
div.ui-datepicker tr {
    border-bottom: none;
}
div.ui-datepicker td {
    background: transparent;
    padding: 1px 1px 7px 1px;
}
div.ui-datepicker a.ui-state-default,
div.ui-datepicker span.ui-state-default {
    align-items: center;
    background: #FFF;
    border: 2px solid #99A7A8;
    color: #000;
    display: flex;
    font-size: 17px;
    height: 30px;
    justify-content: center;
    transition: all .1s linear;
    width: 30px;
}

div.ui-datepicker a.ui-state-default.ui-state-hover,
div.ui-datepicker span.ui-state-default.ui-state-hover,
div.ui-datepicker a.ui-state-default.ui-state-active,
div.ui-datepicker span.ui-state-default.ui-state-active {
    background: #F97E78;
    border-color: #F97E78;
}

@media only screen and (max-width: 536px) {
    div.ui-datepicker.ui-widget-content {
        left: 0 !important;
        right: 0;
        width: auto;
    }
    .fdc .fdc-container .fdc-block-container {
        justify-content: center;
    }
    .fdc .fdc-container .fdc-block-container .block {
        width: 250px
    }
    .fdc .fdc-container .fdc-block-container .block .block-title {
        min-height: 0;
    }
}

@media screen and (max-width: 1024px) {
    .fdc-header .content {
        width: 100%;
    }

    .fdc-header .header-image--mobile {
        display: block;
    }

    .fdc-header,
    .fdc-header .fdc-heading,
    .fdc-header .fdc-container {
        height: auto;
    }

    #fdc .fdc-heading {
        margin: 20px 15px 8px 20px;
        font-size: 21px;
        text-align: left;
    }

    .fdc-header .fdc-container #fdc-refresh {
        position: relative;
        width: 100%;
    }
}