@import url(https://db.onlinewebfonts.com/c/f83531ae85a3fcd9345c4267e28833ee?family=DIN+Next+Rounded+LT+Pro+Medium);
/* The above import directives are aggregated from content. */
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
.ui-datepicker {
    display: none;
    z-index: 999999 !important;
}
.ui-datepicker .ui-datepicker-header {
    position: relative;
    padding: .2em 0;
}
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
    position: absolute;
    top: 2px;
    width: 1.8em;
    height: 1.8em;
    cursor: pointer;
}
.ui-datepicker .ui-datepicker-next-hover span, .ui-datepicker .ui-datepicker-prev-hover span {
    border-color: transparent #ff8400 transparent transparent;
}
.ui-datepicker .ui-datepicker-prev {
    left: 2px;
}
.ui-datepicker .ui-datepicker-next {
    right: 2px;
}
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span {
    display: block;
    position: absolute;
    left: 50%;
    margin-left: -8px;
    top: 50%;
    margin-top: -5px;
    font-size: 0px;
    width: 0px;
    height: 0px;
    border: solid;
    border-width: 5px 8px 5px 0;
    border-color: transparent #ff9635 transparent transparent;
}
.ui-datepicker .ui-datepicker-next span {
    margin-left: 0px;
    top: 50%;
    margin-top: -5px;
    border-width: 5px 0 5px 8px;
    border-color: transparent transparent transparent #ff9635;
}
.ui-datepicker .ui-datepicker-title {
    margin: 0 2.3em;
    line-height: 1.8em;
    text-align: center;
}
.ui-datepicker .ui-datepicker-title select {
    font-size: 1em;
    margin: 1px 0;
}
.ui-datepicker select.ui-datepicker-month-year {
    width: 100%;
}
.ui-datepicker table {
    width: 100%;
    font-size: .9em;
}
.ui-datepicker td span, .ui-datepicker td a {
    display: block;
    padding: 4px;
    text-align: right;
    text-decoration: none;
    color: #000000;
}
.ui-datepicker .ui-datepicker-buttonpane button {
    float: right;
}
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
    float: left;
}
.ui-datepicker-rtl {
    direction: rtl;
}
.ui-datepicker-rtl .ui-datepicker-prev {
    right: 2px;
    left: auto;
}
.ui-datepicker-rtl .ui-datepicker-next {
    left: 2px;
    right: auto;
}
.ui-datepicker-rtl .ui-datepicker-prev:hover {
    right: 1px;
    left: auto;
}
.ui-datepicker-rtl .ui-datepicker-next:hover {
    left: 1px;
    right: auto;
}
.ui-datepicker-rtl .ui-datepicker-buttonpane {
    clear: right;
}
.ui-datepicker-rtl .ui-datepicker-buttonpane button {
    float: left;
}
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current {
    float: right;
}
.ui-datepicker-rtl .ui-datepicker-group {
    float: right;
}
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header {
    border-right-width: 0;
    border-left-width: 1px;
}
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
    border-right-width: 0;
    border-left-width: 1px;
}
.ui-timepicker-div .ui-widget-header {
    margin-bottom: 8px;
}
.ui-timepicker-div dl {
    text-align: left;
}
.ui-timepicker-div dl dt {
    height: 25px;
    margin-bottom: -22px;
}
.ui-timepicker-div dl .ui_tpicker_time_label {
    margin-bottom: -25px;
}
.ui-timepicker-div dl dd {
    margin: 0 10px 10px 65px;
}
.ui-timepicker-div td {
    font-size: 90%;
}
.ui-tpicker-grid-label {
    background: none;
    border: none;
    margin: 0;
    padding: 0;
}
.ui-datepicker {
    padding: 15px;
    border: #ffffff 4px solid;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: #efefef;
    -webkit-box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.35);
    box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.35);
}
.ui-datepicker .ui-datepicker-header {
    background: transparent;
    border: none;
    padding-bottom: 10px;
}
.ui-datepicker .ui-datepicker-title .ui-datepicker-month {
    width: 47%;
    margin-right: 6%;
}
.ui-datepicker .ui-datepicker-title .ui-datepicker-year {
    width: 47%;
}
.ui-datepicker .ui-datepicker-calendar td {
    border: #cfcfcf 1px solid;
}
.ui-datepicker .ui-datepicker-calendar td a {
    padding: 4px;
    display: block;
}
.ui-datepicker .ui-datepicker-calendar td .ui-state-hover {
    background: #f9eae7;
}
.ui-datepicker .ui-datepicker-calendar {
    background: #ffffff;
    border: #cfcfcf 1px solid;
    border-collapse: collapse;
}
.ui-datepicker .ui-datepicker-calendar th {
    background: #efefef;
    border: #cfcfcf 1px solid;
    padding: 4px;
    text-transform: uppercase;
}
.ui-datepicker .ui-datepicker-calendar .ui-datepicker-week-col {
    text-align: center;
    border: #cfcfcf 1px solid;
}
.ui-datepicker {
    width: auto;
}
.ui-datepicker .ui-datepicker-calendar .ui-datepicker-today {
    background: #f3d7d2;
}
.ui-datepicker .ui-datepicker-calendar .ui-state-active {
    background: #ffdf66;
}
.ui-timepicker-div .ui-widget-header {
    margin-bottom: 8px;
}
.ui-timepicker-div dl {
    text-align: left;
}
.ui-timepicker-div dl dd {
    margin: 0 0 10px 65px;
}
.ui-timepicker-div td {
    font-size: 90%;
}
.ui-tpicker-grid-label {
    background: none;
    border: none;
    margin: 0;
    padding: 0;
}
.ui-slider {
    position: relative;
    text-align: left;
}
.ui-slider-horizontal .ui-slider-handle {
    margin-left: -5px;
}
.ui-slider .ui-slider-handle {
    position: absolute;
    z-index: 2;
    cursor: default;
}
.ui-slider-horizontal {
    height: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    border: none;
    background: #dadada;
}
.ui-slider-handle {
    height: 10px;
    width: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #f98b25;
    display: block;
    position: absolute;
}
.ui-timepicker-div {
    padding: 10px 0 5px 0;
}
.ui-datepicker .ui-datepicker-buttonpane {
    overflow: hidden;
    padding-top: 10px;
    border-top: #cfcfcf 1px solid;
}
.ui-datepicker .ui-datepicker-calendar .ui-state-disabled {
    background: #f9f9f9;
}
.ui-datepicker .ui-datepicker-calendar .ui-state-disabled span {
    color: #959595;
}
/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
.ui-datepicker-cover {
    position: absolute; /*must have*/
    z-index: -1; /*must have*/
    filter: mask(); /*must have*/
    top: -4px; /*must have*/
    left: -4px; /*must have*/
    width: 200px; /*must have*/
    height: 200px; /*must have*/
}










.webforms {
    margin-bottom: 1.5rem;
}

.webforms .field {
    box-sizing: border-box;
    padding-left: 1rem;
    padding-right: 1rem;
}

.webforms .fieldset {
    box-sizing: border-box;
    padding-left: 1rem;
    padding-right: 1rem;
}

.webforms .actions-toolbar {
    box-sizing: border-box;
    padding-left: 2rem;
    padding-right: 2rem;
    clear: both;
}

.webforms .inline-elements .choice {
    display: inline-flex;
}

/* Success text */
.webforms-success-text {
    margin-bottom: 2rem;
}

/* Starry script */

div.starry {
    width: auto;
    margin: -4px 0 10px 0;
    padding: 5px;
    width: auto;
}

div.standard_star {
    background-repeat: no-repeat;
    cursor: pointer;
    float: left;
    display: inline;
    background-image: url(../../frontend/Ecloud/novamil/es_MX/VladimirPopov_WebForms/images/stars.gif);
}

div.feedback {
    border: 1px solid #ddd;
    padding: 5px 3px 3px;
    display: inline;
}

/* Date of birth */

.customer-dob .dob-month,
.customer-dob .dob-day,
.customer-dob .dob-year {
    float: left;
    width: 8.5rem;
}

.customer-dob input.input-text {
    display: block;
    width: 7.4rem;
}

.customer-dob label {
    font-size: 10px;
    font-weight: normal;
    color: #888;
}

.customer-dob .dob-day,
.customer-dob .dob-month {
    width: 6rem;
}

.customer-dob .dob-day input.input-text,
.customer-dob .dob-month input.input-text {
    width: 4.6rem;
}

.customer-dob .dob-year {
    width: 14rem;
}

.customer-dob .dob-year input.input-text {
    width: 13.4rem;
}

/* Tooltip */

.ot-content {
    text-align: left;
}

.tooltip-icon {
    background-image: url('../../frontend/Ecloud/novamil/es_MX/VladimirPopov_WebForms/images/tooltip.png');
    background-size: 1.5rem 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    margin: 0 0 0.2rem 0.5rem;
}

/* Select images */
.webforms figcaption {
    padding: 5px 0;
    margin: 5px;
}

/* Form */

.webforms-description-text {
    margin-bottom: 4rem;
}

.webforms-fields-comment {
    font-size: 90%;
    clear: both;
    margin-top: 1rem;
    margin-bottom: 0;
}

.please-wait {
    padding-top: 0.5rem;
}

.please-wait .loading-indicator {
    background: #fff url(../../frontend/Ecloud/novamil/es_MX/VladimirPopov_WebForms/images/ajax-loader-big.gif) no-repeat;
    background-size: 1.8rem;
    display: inline-block;
    width: 1.8rem;
    height: 1.8rem;
    vertical-align: bottom;
    margin-bottom: 0.2rem;
}

/* reCaptcha v2 */

.recaptcha2 {
    clear: both;
    box-sizing: border-box;
    padding: 0 2rem 2rem 0;
    width: 100%;
    float: left;
}

/* Validation */

.validation-advice {
    margin-top: 0.7rem;
    font-size: 1.2rem;
    color: #e02b27;
    clear: both;
}

input.validation-failed, textarea.validation-failed {
    border-color: #ed8380;
}

/* Customer Account */

.webforms-customer-account-form {
    margin-top: 3rem;
    border: 1px solid #eee;
    padding: 2rem;
}

.webforms-customer-account-message {
    background: rgba(255, 212, 96, 0.26);
    padding: 3rem;
}

.block-webforms-form .actions-toolbar {
    margin: 17px 0;
}

/* Results */

.webforms-results-block {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dotted #cccccc;
    float: left;
    width: 100%;
    clear: both;
}

.webforms-results-field {
    margin-bottom: 5px;
    width: 100%;
}

.webforms-results-label {
    font-weight: bold;
    width: 100%;
}

.webforms-results-value {
    padding: 5px 0;
}

.webforms-results-value .webforms-image {
    float: left;
    margin-right: 2rem;
}

/* Star rating */

.stars {
    padding: 0 5px;
    width: 80px;
    display: inline;
    float: left;
}

.stars-bar {
    list-style: none;
    margin: 0px;
    padding: 0px !important;
    height: 16px;
    position: relative;
    background: url(../../frontend/Ecloud/novamil/es_MX/VladimirPopov_WebForms/images/results_stars.png) top left repeat-x;
}

.stars-bar li {
    padding: 0px;
    margin: 0px;
    /*\*/
    float: left;
    /* */
}

.stars-bar li.stars-value {
    background: url(../../frontend/Ecloud/novamil/es_MX/VladimirPopov_WebForms/images/results_stars.png) left bottom;
    position: absolute;
    height: 16px;
    display: block;
    z-index: 1;
}

.webforms-rating-summary {
    margin-bottom: 15px;
}

.webforms-results-table .col.id {
    width: 15%;
}

/* Auto-complete */
.autocomplete-suggestions {
    text-align: left;
    cursor: default;
    border: 1px solid #ccc;
    border-top: 0;
    background: #fff;
    box-shadow: -1px 1px 3px rgba(0, 0, 0, .1);

    /* core styles should not be changed */
    position: absolute;
    display: none;
    z-index: 9999;
    max-height: 254px;
    overflow: hidden;
    overflow-y: auto;
    box-sizing: border-box;
}

.autocomplete-suggestion {
    position: relative;
    padding: 0 .6em;
    line-height: 23px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.02em;
    color: #333;
}

.autocomplete-suggestion b {
    font-weight: normal;
    color: #1f8dd6;
}

.autocomplete-suggestion.selected {
    background: #f0f0f0;
}

/* File preview */

.file-preview {
    list-style: none;
    padding: 0;
    margin: 0;
}

.file-preview h3 {
    font-size: 12px;
}

.file-preview li {
    margin: 0;
    padding: 10px 0;
    margin: 0;
    overflow: auto;
    position: relative;
}

.file-preview li img {
    border: solid 1px #999;
    border-radius: 3px;
    padding: 3px;
    margin: 0 10px 0 0;
    display: block;
    float: left;
}

.file-cancel {
    margin-top: 1rem;
    cursor: pointer;
}

.file-progress {
    font-size: 90%;
    color: #777;
}

/* Calendar */

.webforms-datepicker {
    margin-bottom: 1rem;
}

.webforms-calendar {
    position: relative;
    width: 20rem;
    display: inline-block;
    margin-right: .5rem;
    margin-bottom: .5rem;
}

.webforms-calendar .ui-datepicker-trigger {
    margin-left: -3.2rem;
    height: 2.8rem;
    position: absolute;
    top: .4rem;
    right: .5rem;
}

.webforms-time {
    display: inline-block;
}

.webforms-time .hours, .webforms-time .minutes {
    display: inline;
    width: 6rem;
}

.multiselect {
    height: auto;
    background-image: none;
}

/* Date picker button */



.webforms-datepicker ._has-datepicker ~ .ui-datepicker-trigger {
    background-image: none;
    background: none;
    -moz-box-sizing: content-box;
    border: 0;
    box-shadow: none;
    line-height: inherit;
    margin: 0;
    padding: 0;
    text-shadow: none;
    font-weight: 400;
    display: block;
    text-decoration: none;
    display: inline-block;
    margin-top: -4px;
    vertical-align: middle;
}

.webforms-datepicker ._has-datepicker ~ .ui-datepicker-trigger:focus,
.webforms-datepicker ._has-datepicker ~ .ui-datepicker-trigger:active {
    background: none;
    border: none;
}

.webforms-datepicker ._has-datepicker ~ .ui-datepicker-trigger:hover {
    background: none;
    border: none;
}

.webforms-datepicker ._has-datepicker ~ .ui-datepicker-trigger.disabled,
.webforms-datepicker ._has-datepicker ~ .ui-datepicker-trigger[disabled],
fieldset[disabled] .webforms-datepicker ._has-datepicker ~ .ui-datepicker-trigger {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.5;
}

.webforms-datepicker ._has-datepicker ~ .ui-datepicker-trigger > span {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.webforms-datepicker ._has-datepicker ~ .ui-datepicker-trigger:before {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 23px;
    line-height: 23px;
    color: #7d7d7d;
    content: '\e612';
    font-family: 'luma-icons';
    vertical-align: middle;
    display: inline-block;
    font-weight: normal;
    overflow: hidden;
    speak: none;
    text-align: center;
}

.webforms-datepicker ._has-datepicker ~ .ui-datepicker-trigger:focus {
    box-shadow: none;
    outline: 0;
}

/* Drop-zone */

.drop-zone {
    padding: 2rem .7rem;
    color: #777;
    border: .2rem dashed #ddd;
    border-radius: .4rem;
    opacity: .9;
    cursor: pointer;
}

.drop-zone-preview-container {
    margin-bottom: 10px;
}

.drop-zone:hover {
    background-color: #f5f5f5;
}

.drop-zone-label {
    display: inline-block !important;
    vertical-align: top !important
}

.icon-paperclip {
    color: rgb(240, 120, 0) !important;
    fill: rgb(240, 120, 0) !important;
}

.icon-paperclip svg {
    transform: rotate(45deg) scaleX(-1);
}

.text-center {
    text-align: center !important
}

.drop-zone-preview {
    background: #f8f8f8;
    border: .09167rem solid #dadada;
    border-radius: .33333rem;
    color: #999;
    padding: 5px;
    margin-bottom: 5px;
    line-height: inherit;
    position: relative;
}

.drop-zone-attachment {
    overflow: auto;
    height: auto;
    z-index: 2;
    width: 100% !important;
    position: relative;
}

.drop-zone-preview-icon-file {
    padding-right: .66667rem;
    float: left !important;
}

.drop-zone-preview-icon-file svg path {
}

.drop-zone-preview-file {
    width: 70%;
    float: left !important;
}

.drop-zone-preview-filename {
    max-width: 62%;
    color: #333;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-wrap: normal !important;
    white-space: nowrap !important;
    float: left !important;
    vertical-align: top !important;
}

.drop-zone-preview-filename-end {
    color: #333;
}

.drop-zone-preview-size, .drop-zone-error {
    clear: left;
    float: left !important;
}

.drop-zone-error {
    color: red;
}

.drop-zone-preview-icon-close {
    position: absolute;
    top: 50%;
    right: .41667rem;
    margin-top: -2.2rem !important;
    padding-top: 1rem;
    border: 0;
    cursor: pointer !important;
    float: right !important;
}

.drop-zone-preview-icon-close svg {
    fill: #999;
}

.drop-zone-progress, .drop-zone-progress-success {
    position: absolute;
    border-radius: .33333rem;
    background-color: #00ff08;
    opacity: .1;
    height: 100% !important;
    z-index: 1;
    top: 0;
    left: 0;
    display: block;
}

.drop-zone-progress-success {
    opacity: 0;
}

.webforms .webforms-gdpr {
    padding-left: 2rem;
    padding-right: 2rem;
    box-sizing: border-box;
    float:left;
}

.webforms .webforms-gdpr-checkbox {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    padding-left: 0;
}

.webforms-popup {
    position: relative;
    background: #FFF;
    padding: 2rem;
    margin: 2rem auto;
    box-sizing: border-box;
    border-radius: .7rem;
}

@media screen and (min-width: 20em) {
    .webforms-popup {
        width: 100%;
    }
}

@media screen and (min-width: 48em) {
    .webforms-popup {
        width: 90%;
    }
}

@media screen and (min-width: 64em) {
    .webforms-popup {
        width: 80%;
    }
}

/* Customer result action buttons */

.webforms-result-action{
    display: block;
    background: #f5f5f5;
    text-align: center;
    padding: .3rem .1rem;
    margin: .5rem .1rem;
    white-space: nowrap;
    color: #888;
    text-decoration: none;
}
.webforms-result-action:hover{
    text-decoration: none;
    color:white;
    background: #8bc53f;
}
.result-action-delete {
    border-color: red;
}
.result-action-delete:hover{
    background: red;
}

/* File pool */
.webforms-file-pool {
    display: table;
    margin-bottom: 10px;
}
.webforms-file-pool-selectall{
    margin-bottom:5px;
}
.webforms-file-pool-selectall label{
    font: bold 10px/16px Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    color: #888;
    float:none !important;
    margin-left:5px;

}
.webforms-file-cell{
    float:left;
    flex:1;
    height: auto;
    text-align: center;
    font: bold 9px/16px Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    color: #888;
    display: table-cell;

}
.webforms-file-cell p label{
    color: #888;

}
.webforms-file-cell p {
    padding-top: 5px;
    margin-left: -10px;
    float: left;
    clear: both;
    width: 100%;
}
.webforms-file-cell label{
    float:none !important;
    margin-left:5px;
}

.webforms-file-link{
    display: block;
    border-radius:5px;
    float:left;
    margin-right:10px;
    height:auto;
    box-shadow: 0 0 3px rgba(0,0,0,0.6);
    background: #f5f5f5;
    max-width:200px;
    padding:5px 10px;
}
.webforms-file-link:hover {
    box-shadow: 0 0 7px rgba(0,0,0,0.6);
    background: white;
    color: #888;

}
.webforms-file-link figure p{
    margin:10px 0 5px 0;
}
.webforms-file-link figure img{
    background:white;
}

.webforms-file-link-name {
    display:inline;
    max-width:60%;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-wrap: normal !important;
    white-space: nowrap !important;
    float:left;
}
.webforms-file-link-name-end {display:inline;}

.webforms-file-delete-checkbox{
    vertical-align: baseline;
}
@media screen and (min-width: 20em) {
    .wf-sm-row{
        clear:left;
    }
    .wf-sm-1,
    .wf-sm-1-1,
    .wf-sm-1-2,
    .wf-sm-1-3,
    .wf-sm-2-3,
    .wf-sm-1-4,
    .wf-sm-3-4,
    .wf-sm-1-6,
    .wf-sm-1-5,
    .wf-sm-2-5,
    .wf-sm-3-5,
    .wf-sm-4-5,
    .wf-sm-5-6,
    .wf-sm-1-12,
    .wf-sm-2-12,
    .wf-sm-3-12,
    .wf-sm-4-12,
    .wf-sm-5-12,
    .wf-sm-6-12,
    .wf-sm-7-12,
    .wf-sm-8-12,
    .wf-sm-9-12,
    .wf-sm-10-12,
    .wf-sm-11-12,
    .wf-sm-12-12 {
        display: inline-block;
        *display: inline;
        zoom: 1;
        letter-spacing: normal;
        word-spacing: normal;
        vertical-align: top;
        text-rendering: auto;
        float:left;

    }

    .wf-sm-1-12 {
        width: 8.3333%;
        *width: 8.3023%;
    }

    .wf-sm-1-6,
    .wf-sm-2-12 {
        width: 16.6667%;
        *width: 16.6357%;
    }

    .wf-sm-1-5 {
        width: 20%;
    }

    .wf-sm-1-4,
    .wf-sm-3-12 {
        width: 25%;
        *width: 24.9690%;
    }

    .wf-sm-1-3,
    .wf-sm-4-12 {
        width: 33.3333%;
        *width: 33.3023%;
    }

    .wf-sm-2-5 {
        width: 40%;
    }

    .wf-sm-5-12 {
        width: 41.6667%;
        *width: 41.6357%;
    }

    .wf-sm-1-2,
    .wf-sm-6-12 {
        width: 50%;
        *width: 49.9690%;
    }

    .wf-sm-7-12 {
        width: 58.3333%;
        *width: 58.3023%;
    }

    .wf-sm-3-5 {
        width: 60%;
    }

    .wf-sm-2-3,
    .wf-sm-8-12 {
        width: 66.6667%;
        *width: 66.6357%;
    }

    .wf-sm-3-4,
    .wf-sm-9-12 {
        width: 75%;
        *width: 74.9690%;
    }

    .wf-sm-4-5 {
        width: 80%;
    }

    .wf-sm-5-6,
    .wf-sm-10-12 {
        width: 83.3333%;
        *width: 83.3023%;
    }

    .wf-sm-11-12 {
        width: 91.6667%;
        *width: 91.6357%;
    }

    .wf-sm-1,
    .wf-sm-1-1,
    .wf-sm-12-12 {
        width: 100%;
    }
}

@media screen and (min-width: 48em) {
    .wf-md-row{
        clear:left;
    }
    .wf-sm-row{
        clear:unset;
    }
    .wf-md-1,
    .wf-md-1-1,
    .wf-md-1-2,
    .wf-md-1-3,
    .wf-md-2-3,
    .wf-md-1-4,
    .wf-md-3-4,
    .wf-md-1-6,
    .wf-md-1-5,
    .wf-md-2-5,
    .wf-md-3-5,
    .wf-md-4-5,
    .wf-md-5-6,
    .wf-md-1-12,
    .wf-md-2-12,
    .wf-md-3-12,
    .wf-md-4-12,
    .wf-md-5-12,
    .wf-md-6-12,
    .wf-md-7-12,
    .wf-md-8-12,
    .wf-md-9-12,
    .wf-md-10-12,
    .wf-md-11-12,
    .wf-md-12-12 {
        display: inline-block;
        *display: inline;
        zoom: 1;
        letter-spacing: normal;
        word-spacing: normal;
        vertical-align: top;
        text-rendering: auto;
        float:left;

    }

    .wf-md-1-12 {
        width: 8.3333%;
        *width: 8.3023%;
    }

    .wf-md-1-6,
    .wf-md-2-12 {
        width: 16.6667%;
        *width: 16.6357%;
    }

    .wf-md-1-5 {
        width: 20%;
    }

    .wf-md-1-4,
    .wf-md-3-12 {
        width: 25%;
        *width: 24.9690%;
    }

    .wf-md-1-3,
    .wf-md-4-12 {
        width: 33.3333%;
        *width: 33.3023%;
    }

    .wf-md-2-5 {
        width: 40%;
    }

    .wf-md-5-12 {
        width: 41.6667%;
        *width: 41.6357%;
    }

    .wf-md-1-2,
    .wf-md-6-12 {
        width: 50%;
        *width: 49.9690%;
    }

    .wf-md-7-12 {
        width: 58.3333%;
        *width: 58.3023%;
    }

    .wf-md-3-5 {
        width: 60%;
    }

    .wf-md-2-3,
    .wf-md-8-12 {
        width: 66.6667%;
        *width: 66.6357%;
    }

    .wf-md-3-4,
    .wf-md-9-12 {
        width: 75%;
        *width: 74.9690%;
    }

    .wf-md-4-5 {
        width: 80%;
    }

    .wf-md-5-6,
    .wf-md-10-12 {
        width: 83.3333%;
        *width: 83.3023%;
    }

    .wf-md-11-12 {
        width: 91.6667%;
        *width: 91.6357%;
    }

    .wf-md-1,
    .wf-md-1-1,
    .wf-md-12-12 {
        width: 100%;
    }
}

@media screen and (min-width: 64em) {
    .wf-lg-row{
        clear:left !important;
    }
    .wf-md-row, .wf-sm-row{
        clear:unset;
    }
    .wf-lg-1,
    .wf-lg-1-1,
    .wf-lg-1-2,
    .wf-lg-1-3,
    .wf-lg-2-3,
    .wf-lg-1-4,
    .wf-lg-3-4,
    .wf-lg-1-5,
    .wf-lg-2-5,
    .wf-lg-3-5,
    .wf-lg-4-5,
    .wf-lg-1-6,
    .wf-lg-5-6,
    .wf-lg-1-12,
    .wf-lg-2-12,
    .wf-lg-3-12,
    .wf-lg-4-12,
    .wf-lg-5-12,
    .wf-lg-6-12,
    .wf-lg-7-12,
    .wf-lg-8-12,
    .wf-lg-9-12,
    .wf-lg-10-12,
    .wf-lg-11-12,
    .wf-lg-12-12 {
        display: inline-block;
        *display: inline;
        zoom: 1;
        letter-spacing: normal;
        word-spacing: normal;
        vertical-align: top;
        text-rendering: auto;
        float:left;

    }

    .wf-lg-1-12 {
        width: 8.3333%;
        *width: 8.3023%;
    }

    .wf-lg-1-6,
    .wf-lg-2-12 {
        width: 16.6667%;
        *width: 16.6357%;
    }

    .wf-lg-1-5 {
        width: 20%;
    }

    .wf-lg-1-4,
    .wf-lg-3-12 {
        width: 25%;
        *width: 24.9690%;
    }

    .wf-lg-1-3,
    .wf-lg-4-12 {
        width: 33.3333%;
        *width: 33.3023%;
    }

    .wf-lg-2-5 {
        width: 40%;
    }

    .wf-lg-5-12 {
        width: 41.6667%;
        *width: 41.6357%;
    }

    .wf-lg-1-2,
    .wf-lg-6-12 {
        width: 50%;
        *width: 49.9690%;
    }

    .wf-lg-7-12 {
        width: 58.3333%;
        *width: 58.3023%;
    }

    .wf-lg-3-5 {
        width: 60%;
    }

    .wf-lg-2-3,
    .wf-lg-8-12 {
        width: 66.6667%;
        *width: 66.6357%;
    }

    .wf-lg-3-4,
    .wf-lg-9-12 {
        width: 75%;
        *width: 74.9690%;
    }

    .wf-lg-4-5 {
        width: 80%;
    }

    .wf-lg-5-6,
    .wf-lg-10-12 {
        width: 83.3333%;
        *width: 83.3023%;
    }

    .wf-lg-11-12 {
        width: 91.6667%;
        *width: 91.6357%;
    }

    .wf-lg-1,
    .wf-lg-1-1,
    .wf-lg-12-12 {
        width: 100%;
    }
}.opentip-container,
.opentip-container * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.opentip-container {
    position: absolute;
    max-width: 300px;
    z-index: 100;
    -webkit-transition: -webkit-transform 1s ease-in-out;
    -moz-transition: -moz-transform 1s ease-in-out;
    -o-transition: -o-transform 1s ease-in-out;
    -ms-transition: -ms-transform 1s ease-in-out;
    transition: transform 1s ease-in-out;
    pointer-events: none;
    -webkit-transform: translateX(0) translateY(0);
    -moz-transform: translateX(0) translateY(0);
    -o-transform: translateX(0) translateY(0);
    -ms-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
}
.opentip-container.ot-fixed.ot-hidden.stem-top.stem-center,
.opentip-container.ot-fixed.ot-going-to-show.stem-top.stem-center,
.opentip-container.ot-fixed.ot-hiding.stem-top.stem-center {
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -o-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
}
.opentip-container.ot-fixed.ot-hidden.stem-top.stem-right,
.opentip-container.ot-fixed.ot-going-to-show.stem-top.stem-right,
.opentip-container.ot-fixed.ot-hiding.stem-top.stem-right {
    -webkit-transform: translateY(-5px) translateX(5px);
    -moz-transform: translateY(-5px) translateX(5px);
    -o-transform: translateY(-5px) translateX(5px);
    -ms-transform: translateY(-5px) translateX(5px);
    transform: translateY(-5px) translateX(5px);
}
.opentip-container.ot-fixed.ot-hidden.stem-middle.stem-right,
.opentip-container.ot-fixed.ot-going-to-show.stem-middle.stem-right,
.opentip-container.ot-fixed.ot-hiding.stem-middle.stem-right {
    -webkit-transform: translateX(5px);
    -moz-transform: translateX(5px);
    -o-transform: translateX(5px);
    -ms-transform: translateX(5px);
    transform: translateX(5px);
}
.opentip-container.ot-fixed.ot-hidden.stem-bottom.stem-right,
.opentip-container.ot-fixed.ot-going-to-show.stem-bottom.stem-right,
.opentip-container.ot-fixed.ot-hiding.stem-bottom.stem-right {
    -webkit-transform: translateY(5px) translateX(5px);
    -moz-transform: translateY(5px) translateX(5px);
    -o-transform: translateY(5px) translateX(5px);
    -ms-transform: translateY(5px) translateX(5px);
    transform: translateY(5px) translateX(5px);
}
.opentip-container.ot-fixed.ot-hidden.stem-bottom.stem-center,
.opentip-container.ot-fixed.ot-going-to-show.stem-bottom.stem-center,
.opentip-container.ot-fixed.ot-hiding.stem-bottom.stem-center {
    -webkit-transform: translateY(5px);
    -moz-transform: translateY(5px);
    -o-transform: translateY(5px);
    -ms-transform: translateY(5px);
    transform: translateY(5px);
}
.opentip-container.ot-fixed.ot-hidden.stem-bottom.stem-left,
.opentip-container.ot-fixed.ot-going-to-show.stem-bottom.stem-left,
.opentip-container.ot-fixed.ot-hiding.stem-bottom.stem-left {
    -webkit-transform: translateY(5px) translateX(-5px);
    -moz-transform: translateY(5px) translateX(-5px);
    -o-transform: translateY(5px) translateX(-5px);
    -ms-transform: translateY(5px) translateX(-5px);
    transform: translateY(5px) translateX(-5px);
}
.opentip-container.ot-fixed.ot-hidden.stem-middle.stem-left,
.opentip-container.ot-fixed.ot-going-to-show.stem-middle.stem-left,
.opentip-container.ot-fixed.ot-hiding.stem-middle.stem-left {
    -webkit-transform: translateX(-5px);
    -moz-transform: translateX(-5px);
    -o-transform: translateX(-5px);
    -ms-transform: translateX(-5px);
    transform: translateX(-5px);
}
.opentip-container.ot-fixed.ot-hidden.stem-top.stem-left,
.opentip-container.ot-fixed.ot-going-to-show.stem-top.stem-left,
.opentip-container.ot-fixed.ot-hiding.stem-top.stem-left {
    -webkit-transform: translateY(-5px) translateX(-5px);
    -moz-transform: translateY(-5px) translateX(-5px);
    -o-transform: translateY(-5px) translateX(-5px);
    -ms-transform: translateY(-5px) translateX(-5px);
    transform: translateY(-5px) translateX(-5px);
}
.opentip-container.ot-fixed .opentip {
    pointer-events: auto;
}
.opentip-container.ot-hidden {
    display: none;
}
.opentip-container .opentip {
    position: relative;
    font-size: 13px;
    line-height: 120%;
    padding: 9px 14px;
    color: #4f4b47;
    text-shadow: -1px -1px 0px rgba(255,255,255,0.2);
}
.opentip-container .opentip .header {
    margin: 0;
    padding: 0;
}
.opentip-container .opentip .ot-close {
    pointer-events: auto;
    display: block;
    position: absolute;
    top: -12px;
    left: 60px;
    color: rgba(0,0,0,0.5);
    background: rgba(0,0,0,0);
    text-decoration: none;
}
.opentip-container .opentip .ot-close span {
    display: none;
}
.opentip-container .opentip .ot-loading-indicator {
    display: none;
}
.opentip-container.ot-loading .ot-loading-indicator {
    width: 30px;
    height: 30px;
    font-size: 30px;
    line-height: 30px;
    font-weight: bold;
    display: block;
}
.opentip-container.ot-loading .ot-loading-indicator span {
    display: block;
    -webkit-animation: otloading 2s linear infinite;
    -moz-animation: otloading 2s linear infinite;
    -o-animation: otloading 2s linear infinite;
    -ms-animation: otloading 2s linear infinite;
    animation: otloading 2s linear infinite;
    text-align: center;
}
.opentip-container.style-dark .opentip,
.opentip-container.style-alert .opentip {
    color: #f8f8f8;
    text-shadow: 1px 1px 0px rgba(0,0,0,0.2);
}
.opentip-container.style-glass .opentip {
    padding: 15px 25px;
    color: #317cc5;
    text-shadow: 1px 1px 8px rgba(0,94,153,0.3);
}
.opentip-container.ot-hide-effect-fade {
    -webkit-transition: -webkit-transform 0.5s ease-in-out, opacity 1s ease-in-out;
    -moz-transition: -moz-transform 0.5s ease-in-out, opacity 1s ease-in-out;
    -o-transition: -o-transform 0.5s ease-in-out, opacity 1s ease-in-out;
    -ms-transition: -ms-transform 0.5s ease-in-out, opacity 1s ease-in-out;
    transition: transform 0.5s ease-in-out, opacity 1s ease-in-out;
    opacity: 1;
    -ms-filter: none;
    filter: none;
}
.opentip-container.ot-hide-effect-fade.ot-hiding {
    opacity: 0;
    filter: alpha(opacity=0);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}
.opentip-container.ot-show-effect-appear.ot-going-to-show,
.opentip-container.ot-show-effect-appear.ot-showing {
    -webkit-transition: -webkit-transform 0.5s ease-in-out, opacity 1s ease-in-out;
    -moz-transition: -moz-transform 0.5s ease-in-out, opacity 1s ease-in-out;
    -o-transition: -o-transform 0.5s ease-in-out, opacity 1s ease-in-out;
    -ms-transition: -ms-transform 0.5s ease-in-out, opacity 1s ease-in-out;
    transition: transform 0.5s ease-in-out, opacity 1s ease-in-out;
}
.opentip-container.ot-show-effect-appear.ot-going-to-show {
    opacity: 0;
    filter: alpha(opacity=0);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}
.opentip-container.ot-show-effect-appear.ot-showing {
    opacity: 1;
    -ms-filter: none;
    filter: none;
}
.opentip-container.ot-show-effect-appear.ot-visible {
    opacity: 1;
    -ms-filter: none;
    filter: none;
}
@-moz-keyframes otloading {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-webkit-keyframes otloading {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-o-keyframes otloading {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-ms-keyframes otloading {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes otloading {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
/* WHATSOCK, 2016 */
/* Specific styles for ARIA Calendar */

#datepicker-demo {
    background: #E0E0E0;
    padding: 1rem;
    margin: 1rem 0 2rem;
}

	#datepicker-demo em {display: block; font-size: 90%;}

#date, #party {
    width: 90%;
    max-width: 25em;
	vertical-align: 20px;
}

a.accCalendar {
	display: inline-block;
	background: transparent;
}

div.calendar {
    text-align: center;
    color: #FFF;
    background: #2E3135;
    padding: 0.5rem;
    border-radius: 0.3rem;
    -webkit-box-shadow: 0 10px 6px -6px #777;
    -moz-box-shadow: 0 10px 6px -6px #777;
    box-shadow: 0 10px 6px -6px #777;
}

table.calendar {
    border-collapse: separate;
    border-spacing: 1px;
}

table.calendar td, table.calendar th {
    padding: 0.3em 0.5em;
    border-radius: 0.15rem;
}

td.empty {
    background: rgba(255, 255, 255, .07);
}

th.week {}

td.nav, td.day {cursor: pointer;}

td.day {
    text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
    color: #000;
    background: #63B7C2;
}

td.day:hover {background: #E2A037;}

td.selected {background: #E2A037;}

div.calendar *:focus, div.commentAdd *:focus {
    background: #E2A037;
}

td.month {
    font-weight: 600;
    color: #63B7C2;
    text-shadow: 0 1px 0 #000;
}

td.comment {position: relative;}
td.comment span::after {
	display: block;
	position: absolute;
	width: 7px;
	height: 7px;
	top: 0.2rem;
	right: 0.2rem;
	content: "";
	background: #49182E;
	border-radius: 7px;
}

td.comment.selected {
	background: #E2A037; 
}


td.disabled, td.disabled:hover {
	color: #CCC;
    background: #bdbdbd;
    cursor: auto; 
}

td.disabled.selected {background: #C2C2C2;}

div.commentTooltip {
	width: 271px;
	padding: 0.5rem;
	color: #FFF;
	background: #3D4043;
	font-size: 0.8em;
	font-weight: bold;
	max-height: 50px;
	overflow-x: hidden;
	overflow-y: auto;
	word-wrap: break-word;
	text-align: left;
}

div.commentAdd {
	background: #2E3135;
	border-radius: 0.3rem;
}

	div.commentAdd button {
		font-size: 100%;
		text-transform: uppercase;
	    color: #FFF;
	    background: #2E3135;
	    padding: 0.5rem;
		margin-top: -5px;
		border: none;
	    border-bottom-left-radius: 0.3rem;
	    border-bottom-right-radius: 0.3rem;
	    -webkit-box-shadow: 0 10px 6px -6px #777;
	    -moz-box-shadow: 0 10px 6px -6px #777;
	    box-shadow: 0 10px 6px -6px #777;
	}

div.commentAdd textarea {
	width: 270px;
	height: 2em;
	overflow: auto;
	word-wrap: break-word;
	text-align: left;
	padding: 0.2em;
	margin: 0.5rem 0.5rem 0;
}
/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8; }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; }

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #CCC; }
    .mfp-preloader a:hover {
      color: #FFF; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
  touch-action: manipulation; }

button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover,
  .mfp-close:focus {
    opacity: 1; }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #333; }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: transparent; }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover,
  .mfp-arrow:focus {
    opacity: 1; }
  .mfp-arrow:before,
  .mfp-arrow:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
  .mfp-arrow:after {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
  .mfp-arrow:before {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after {
    border-right: 17px solid #FFF;
    margin-left: 31px; }
  .mfp-arrow-left:before {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after {
    border-left: 17px solid #FFF;
    margin-left: 39px; }
  .mfp-arrow-right:before {
    border-left: 27px solid #3F3F3F; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }
  .mfp-iframe-holder .mfp-close {
    top: -40px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444; }
  .mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; } }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; } }
