/**
 * Reservation
 *
 * @author    JMSinfo SAS <dev@jmsinfo.co>
 * @copyright 2016-2018 JMSinfo SAS
 */

/*
 * Icons
 * Source: https://icomoon.io
 */
@font-face {
    font-family: 'icomoon';
    src:  url('../fonts/icomoon.eot?jdu63h');
    src:  url('../fonts/icomoon.eot?jdu63h#iefix') format('embedded-opentype'),
        url('../fonts/icomoon.ttf?jdu63h') format('truetype'),
        url('../fonts/icomoon.woff?jdu63h') format('woff'),
        url('../fonts/icomoon.svg?jdu63h#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}
[class^='resa-icon-'] {
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: middle;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.resa-icon-calendar:before {
    content: '\e953';
}
.resa-icon-left:before {
    content: '\ea44';
}
.resa-icon-right:before {
    content: '\ea42';
}
.resa-icon-clock:before {
    content: '\e94e';
}
.resa-icon-droplet:before {
    content: '\e90b';
}


/*
 * Hover effect: shutter out vertical
 * Source: https://ianlunn.github.io/Hover
 */
#calendar .shutter-out-vertical {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    transition-property: color;
    -webkit-transition-property: color;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-transition-duration: .2s;
    transition-duration: .2s;
    -moz-osx-font-smoothing: grayscale;
}
#calendar .shutter-out-vertical::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    border-radius: .5em;
    /* TODO attr(): not yet supported */
    background: attr(data-bgcolor);
    transform: scaleY(0);
    -webkit-transform: scaleY(0);
    transform-origin: 50%;
    -webkit-transform-origin: 50%;
    transition-duration: .2s;
    -webkit-transition-duration: .2s;
    transition-timing-function: ease-out;
    -webkit-transition-timing-function: ease-out;
    -webkit-transition-property: transform;
    transition-property: transform;
}
/* TODO attr(): not yet supported */
#calendar .shutter-out-vertical:hover,
#calendar .shutter-out-vertical:focus,
#calendar .shutter-out-vertical:active {
    border-color: attr(data-color) !important;
    color: attr(data-color) !important;
}
#calendar .shutter-out-vertical:hover::before,
#calendar .shutter-out-vertical:focus::before,
#calendar .shutter-out-vertical:active::before {
    transform: scaleY(1);
    -webkit-transform: scaleY(1);
}
