﻿@media print {

    @page {
        size: landscape !important; /* horizontal print */
    }

    body .hidePrint {
        display: none !important;
        opacity:0 !important;
        visibility:hidden !important;
    }

    body .printElement {
        display: block !important;
    }

    th {
        background: #EEE !important;
    }

    td {
        text-overflow: initial !important;
        overflow: visible !important;
        white-space: initial !important;
    }
}

#dmcConfig {
    height:auto;
    max-height:initial;
    overflow-y:initial;
}

#dmcConfig h4 {
    font-size:13px;
    text-align: center;
    margin: 16px 0 0 0;
}

#dmcConfigForm, #newDmcConfigForm {
    z-index:1003;
}

#newDmcConfigForm .vbox.large {
    width: 39% !important;
    height: 26% !important;
}

#newDmcConfigForm form center {
    margin: 0 0 20px 0;
}

#newDmcConfigForm label {
    margin: 0 0 0 40px;
}

#newDmcConfigForm [type="text"] {
    margin: 0 0 0 10px;
    font-size: 18px;
    padding: 2px 6px;
}

#newDmcConfigForm [type="checkbox"] {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

#newDmcConfigForm [type="submit"] {
    margin: 60px 7% 5px 7% !important;
}

#newDmcConfigForm .vbox .button {
    margin: 60px 7% 5px 7%;
    width:84%;
}

#newDmcConfigForm .vbox .button:last-child {
    margin:10px 7% 5px 7%;
}

#dmcConfigs {
    position:relative;
    float:left;
}

#dmcConfigs form {
    float:left;
    margin: 0 0 30px 0px;
    padding: 0 0 10px 0;
    border-bottom: 1px solid black;
}

#dmcConfigs label {
    margin: 0 0 0 40px;
}

#dmcConfigs [type="text"] {
    margin: 0 0 0 10px;
    font-size: 18px;
    padding: 2px 6px;
}

#dmcConfigs [type="checkbox"] {
    width:20px;
    height:20px;
    vertical-align:middle;
}

#dmcConfigs [type="submit"] {
    float:right;
    margin:0 40px 0 0;
    font-size: 0.9em;
    padding: 6px 6px;
    border: 1px solid #CCC;
    border-radius: 6px;
    background: #fefefe; /* Old browsers */
    background: -moz-linear-gradient(top, #fefefe 0%, #eeeeee 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fefefe), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #fefefe 0%,#eeeeee 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #fefefe 0%,#eeeeee 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #fefefe 0%,#eeeeee 100%); /* IE10+ */
    background: linear-gradient(to bottom, #fefefe 0%,#eeeeee 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefefe', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
    cursor:pointer;
    width:128px;
}

#dmcConfigs [type="submit"]:hover {
    background:#FFF;
}

#dmcConfigs p {
    margin:0 0 0 40px;
}

#dmcConfigs textarea {
    margin:0 40px;
    width:calc(100% - 80px);
    resize:none;
    height:120px;
    border:none;
    background:#FFF;
}

#dmcConfigs > div {
    position:relative;
	float:left;
	width: 96%;
    margin: 10px 2%;
	padding:20px 10px;
	border:3px solid black;
	border-radius:6px;
	box-sizing:border-box;
	cursor:pointer;
	background:#FFF;
	opacity:1;
	transition:all .3s ease-in-out;
	transition-delay:.1s;
}

#dmcConfigs > div:first-child {
    margin:20px 2%;
}

#dmcConfigs > div:hover{
	background:#fefefe;
	border:3px solid blue;
}

#scheduleVoucherOverlay #dmcConfigs {
    float:none;
}

#scheduleVoucherOverlay #dmcConfigs > div {
    float:none;
    cursor:auto;
}

#scheduleVoucherOverlay #dmcConfigs textarea {
    border:1px solid;
    resize:vertical;
}

#scheduleVoucherOverlay #dmcConfigs form {
    margin: -20px 0 30px 0;
    padding:10px 0;
    float:left;
    width:100%;
}

#scheduleVoucherOverlay #dmcConfigs form label:first-child {
    font-weight:700;
    float:left;
}

#scheduleVoucherOverlay #dmcConfigs form label:last-child {
    float:right;
    margin:-5px 40px 0 0;
}

/*
This seems a better approach but somehow does not work:

@media print {
    body * {
        display: none;
    }
    body .printable {
        display: block !important; <- can cause problems because not all elements are originally 'block' 
    }
} */

body, html, footer {
    font-family: 'Arial', sans-serif;
    color: #333;
    min-width: 1298px;
    width: 100% !important;
    height: 100% !important;
    background: #fefefe;
}

    body .printElement {
        display: none;
    }

a {
    color: #34495e;
}

.bold{
    font-weight:700;
}

.no-padding{
    padding:0 !important
}

.margin-top{
    margin:10px 0 0 0 !important;
}

.topbar {
    height: 40px;
    width: 100%;
    border-bottom: 1px solid #CCC;
    background: #efefef; /* Old browsers */
    background: -moz-linear-gradient(top, #efefef 0%, #dddddd 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#efefef), color-stop(100%,#dddddd)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #efefef 0%,#dddddd 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #efefef 0%,#dddddd 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #efefef 0%,#dddddd 100%); /* IE10+ */
    background: linear-gradient(to bottom, #efefef 0%,#dddddd 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#efefef', endColorstr='#dddddd',GradientType=0 ); /* IE6-9 */
}

    .topbar .column {
        width: 32%;
        height: 40px;
        float: left;
        text-align: center;
    }

    .topbar .column:first-child{
        width: 38%;
    }

    .topbar .column:last-child{
        width:30%;
    }

    .topbar .column:last-child h3{
        float:left;
        margin:10px 0 0 90px;
    }

    .topbar .content {
        width:100%;
        padding:4px 0 0 0;
        height: 40px;
    }

    .topbar .floatRight{
        position:relative;
        float:right;
        text-align:right;
        line-height:30px;
    }

    .floatRight .red{
        color:red;
    }

    .topbar .button {
        font-size: 0.9em;
        float: left;
        margin-left: 4px;
        padding: 6px 6px;
        border: 1px solid #CCC;
        border-radius: 6px;
        background: #fefefe; /* Old browsers */
        background: -moz-linear-gradient(top, #fefefe 0%, #eeeeee 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fefefe), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, #fefefe 0%,#eeeeee 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, #fefefe 0%,#eeeeee 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top, #fefefe 0%,#eeeeee 100%); /* IE10+ */
        background: linear-gradient(to bottom, #fefefe 0%,#eeeeee 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefefe', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
    }

        .topbar .button .overlay {
            background-image: url("images/add-sign.png");
            background-position: left 0 4px;
            background-repeat: no-repeat;
            background-size: 16px;
            padding-left: 22px;
            line-height: 16px;
        }

        .topbar .button .noText {
            padding-left: 0px !important;
            width: 18px;
            height: 16px;
            background-position: center !important;
        }

        .topbar .button:hover {
            cursor: pointer;
            background: #fff;
        }


    .topbar .dateview {
        display: inline-block;
        padding: 6px 14px;
        background: #fefefe;
        border: 1px solid #CCC;
        border-radius: 6px;
        text-align: center;
        font-size: 0.95em;
        cursor: pointer;
    }

    .topbar .roundedNotifier {
        background: #eee;
        padding: 6px 12px;
        float: left;
        border: 1px solid #ccc;
        border-radius: 14px;
        color: #666;
        -webkit-box-shadow: inset 0px 1px 2px 0px rgba(0,0,0,0.15);
        -moz-box-shadow: inset 0px 1px 2px 0px rgba(0,0,0,0.15);
        box-shadow: inset 0px 1px 2px 0px rgba(0,0,0,0.15);
        max-width:69px;
        overflow:hidden;
    }

.redBackground {
    background: #ffbfbf !important;
    border: 1px solid #ff9999 !important;
}

.greenBackground {
    background: #83e88b !important;
    border: 1px solid #81b989 !important;
}

.dataview, .dataview-over {
    width: 100%;
    /*height: 80%;*/
    font-size: 0.95em;
}

.dataview th, .dataview-over th {
    background: #EEE !important;
    padding: 8px;
    font-weight: bold;
    font-size: 0.9em;
}

.dataview-over th {
    white-space:nowrap;
}

.dataview-over tr.error td {
    border-top:2px solid red;
    border-bottom:2px solid red;
}

.dataview-over tr.error td:first-child {
    border-left:2px solid red;
}

.dataview-over tr.error td:last-child {
    border-right:2px solid red;
}

.dataview th, .dataview td,
.dataview-over th, .dataview-over td {
    border: 1px solid #ddd;
    padding: 14px 8px !important;
    vertical-align: middle;
    box-sizing:border-box;
}

.dataview .full, .dataview-over .full{
    color:#FFF;
    background:rgba(255, 0, 0, .7);
}

.dataview .full a, .dataview-over .full a{
    color:#FFF;
}

.dataview .full:hover, .dataview-over .full:hover{
    background:rgba(255,0,0, .9) !important;
}

.vcenter {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.hcenter {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.login {
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/tile-01.png');
    background-position: center;
}

.vbox {
    width: 320px;
    background: #f8f8f8;
    border-radius: 6px;
    border: 1px solid #CCC;
    position: relative;
    top: 38%;
    transform: translateY(-50%);
    margin-left: auto;
    margin-right: auto;
    padding: 16px 20px;
    -webkit-box-shadow: 0px 0px 8px 1px rgba(50, 50, 50, 1);
    -moz-box-shadow: 0px 0px 8px 1px rgba(50, 50, 50, 1);
    box-shadow: 0px 0px 8px 1px rgba(50, 50, 50, 1);
}

#realocateOverlay .vbox.large {
    width:520px;
}

.inputHolder .item span {
    float:right;
}

.vbox.cruises{
    width:400px;
}

    .vbox.top {
        top: 30px;
        transform: none;
        margin-bottom: 30px;
    }

    .vbox.large {
        width: 420px;
    }

    .vbox .button {
        margin-bottom: 5px;
        margin-top: 5px;
        text-align: center;
        width: 100%;
        padding: 8px 0px;
        border: 1px solid #CCC;
        border-radius: 6px;
        cursor: pointer;
        background: #fefefe; /* Old browsers */
        background: -moz-linear-gradient(top, #fefefe 0%, #eeeeee 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fefefe), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, #fefefe 0%,#eeeeee 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, #fefefe 0%,#eeeeee 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top, #fefefe 0%,#eeeeee 100%); /* IE10+ */
        background: linear-gradient(to bottom, #fefefe 0%,#eeeeee 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefefe', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
    }

        .vbox .button:hover {
            background: #fff;
        }

.blackOverlay {
    position: fixed;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.40);
    z-index: 1000;
    overflow-y: auto;
}

.nearBlackBackground {
    background: rgba(0,0,0,0.80) !important;
}

.checkbox {
    width: 18px;
    height: 18px;
    float: left;
    margin-right: 10px;
    cursor: pointer;
}

    .checkbox:hover {
        background: #ccc;
    }

#tourHeader h2 {
    font-weight: bold;
    margin-bottom: 2px;
    margin-top: 4px;
    font-size: 18px !important;
}

#tourHeader h3 {
    margin-bottom: 2px;
    /*margin-top: 4px;*/
    font-size: 14px;
    font-weight: bold;
}

tr.paid {
    background:palegreen;
}

tr.clickableRow.missing,
tr.clickableRow.missing:hover {
    background: palevioletred !important;
}

.clickable:hover,
.clickableRow:hover {
    cursor: pointer;
    background: #f6f6f6 !important;
}

.clickable:hover {
    color: #333 !important;
}

.overflowEllipsis {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.contextMenu {
    margin: 0px;
    padding: 0px;
    position: absolute;
    z-index: 20000;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #FBFBFB;
    -webkit-box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.3);
    -moz-box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.3);
    box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.3);
    min-width: 200px;
}

    .contextMenu .contextOption {
        padding: 16px 24px;
        cursor: pointer;
        font-size: 0.95em;
        border-bottom: 1px solid #eee;
    }

        .contextMenu .contextOption:hover {
            background: #eee;
        }

        .contextMenu .contextOption:first-child {
            border-top-left-radius: 6px;
            border-top-right-radius: 6px;
        }

        .contextMenu .contextOption:last-child {
            border-bottom-left-radius: 6px;
            border-bottom-right-radius: 6px;
            border-bottom: none;
        }

.column h2 {
    font-size: 16px;
    font-weight: bold;
}

.column h3 {
    font-size: 14px;
    line-height:18px;
    font-weight: bold;
}

.dateLabel{
    margin:11px 35px 0 0px;
    float:right;
}

.longField {
    text-overflow: ellipsis;
    max-width: 120px;
    overflow: hidden;
    white-space: nowrap;
}

.topbar .rightMenuItem {
    float: right;
    cursor: pointer;
    margin-right: 10px;
}

.handCursor {
    cursor: pointer;
}

.contentMaster {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
}

.sidebar {
    width: 300px;
    order: 1;
    padding: 12px 8px;
    /*background: #f8f8f8;
    border: 1px solid #ccc;
    border-radius: 6px;*/
}

.contentView {
    margin: 12px 8px;
    /*padding: 12px 8px;*/
    order: 2;
    flex: 2;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow-y: auto;
    max-height: 600px;
}

.iconItem {
    padding-left: 26px;
    background-repeat: no-repeat;
    background-position: left;
}

.config ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.config li {
    color: #777;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 8px 2px;
    padding-left: 28px;
    background-repeat: no-repeat;
    background-position: left;
    background-position-x: 8px;
    background-size: 16px;
    margin: 0;
    margin-right: 20px;
    list-style-type: square;
    margin-top: 10px;
}

    .config li:hover {
        cursor: pointer;
        background-color: #eee;
    }

.config .selected {
    background-color: #eee;
    font-weight: bold;
}

.borderless {
    border: none !important;
}

/* outerborderNone can be applied to elements which already have a container with border 
.outerBorderNone {
}
*/
    .outerBorderNone th:first-child,
    .outerBorderNone td:first-child {
        border-left: none;
    }

    .outerBorderNone th:last-child,
    .outerBorderNone td:last-child {
        border-right: none;
    }

    .outerBorderNone tr:last-child td {
        border-bottom: none;
    }

#ctxMenu {
    animation-duration: 0.5s;
    -webkit-animation-duration: 0.5s;
    -moz-animation-duration: 0.5s;
    -o-animation-duration: 0.5s;
}

.peekOverlay {
    z-index: 100000;
    background: #fff;
    border: 1px solid #ccc;
    position:fixed;
    left: 20px;
    right: 20px;
    top: 20px;
    bottom: 20px;
    padding: 20px;
    overflow: auto;
}

.horizontal-center-text {
    text-align: center;
}

.inputHolder {
    height: 180px;
    overflow: auto;
}

.inputHolder .item {
    border-bottom: 1px solid #ccc;
    border-radius: 4px;
    margin: 6px !important;
    background-color: #fefefe;
    box-sizing: border-box;
    padding: 8px 6px;
    color: #666;
    cursor: pointer;
}

.inputHolder .item:hover {
    background-color: #eee;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight{
    font-weight:700;
}

#privateGuidesCalendar > div, #guidesCalendar > div, #driversCalendar > div {
    width: auto !important;
}

#privateGuidesCalendar tbody td, #guidesCalendar tbody td, #driversCalendar tbody td {
    font-size: 15px;
    line-height: 18px;
    padding: 0 !important;
}

#privateGuidesCalendar tbody td a, #guidesCalendar tbody td a, #driversCalendar tbody td a {
    color: #FFF;
    border: none;
    cursor: default;
    text-align: center;
    transition: background .6s ease-in-out;
}

.guides{
    background:rgba(0, 196, 0, .7) !important;
}

.no-guides{
    background:rgba(255, 0, 0, .7) !important;
}

.warning, .alert, .clear{
    padding:11px 4px;
    margin:0 !important;
}

.warning{
    background:yellow !important;
}

.alert{
    color:#FFF !important;
    background:red !important;
}

#privateGuidesCalendar tbody div, #guidesCalendar tbody div, #driversCalendar tbody div {
    position: relative;
    float: left;
    width: 100%;
    padding: 0 10px !important;
    box-sizing: border-box;
}

#privateGuidesCalendar tbody div:last-child, #guidesCalendar tbody div:last-child, #driversCalendar tbody div:last-child {
    padding: 10px 6px 16px 6px !important;
}

#privateGuidesCalendar tbody label, #guidesCalendar tbody label, #driversCalendar tbody label {
    float: left;
    margin: 9px 0 0 0;
    font-size: 12px;
}

#privateGuidesCalendar tbody label:last-child,
#privateGuidesCalendar tbody input:last-child,
#guidesCalendar tbody label:last-child,
#guidesCalendar tbody input:last-child,
#driversCalendar tbody label:last-child,
#driversCalendar tbody input:last-child {
    float: right;
}

#privateGuidesCalendar tbody input, #guidesCalendar tbody input, #driversCalendar tbody input {
    width: 54px;
    line-height: 28px;
    text-align: center;
    float: left;
}

#privateGuidesCalendar .regular-transparency, #guidesCalendar .regular-transparency, #driversCalendar .regular-transparency {
    opacity: 1;
    filter: none;
}

#addGuideOverlay label{
    cursor:pointer;
}

#inGuideSelect .external{
    display:none;
}

#inGuideSelect .external, #inGuideSelect .living{
    padding:4px 0;
    margin:4px 0;
}

#inGuideSelect .external:nth-child(odd), #inGuideSelect .living:nth-child(odd) {
    background:#F6F6F6;
}

#inGuideSelect .external::before, #inGuideSelect .living::before{
    content:"";
    display:inline-block;
    vertical-align:middle;
    margin:0 6px 0 0;
    width:24px;
    height:24px;
}

#inGuideSelect .living::before{
    background:url(images/living-icon.png);
    background-size:cover;
}

.roundedNotifier.living::after{
    content:"";
    display:inline-block;
    width:16px;
    height:16px;
    margin:0 0 0 4px;
    background:url(images/living-icon.png);
    background-size:cover;
}

.livingGuideTd{
    margin:-4px 0 -4px 4px;
    float:right;
}

.pre-reservation{
    background:#fffa00;
}

.pre-reservation:hover{
    background:#fce909 !important;
}

#additionalList {
    padding:0;
    height:60vh;
    overflow:auto;
}

#additionalList li {
    list-style-type:none;
    margin:0 0 24px 0;
    border-bottom:1px solid #999;
    padding:4px 0 20px 0;
    height:206px;
}

#additionalList p {
    width:100%;
    margin:0 0 20px 0;
}

#additionalList p input {
    margin:-6px 0 0 40px;
    width:60px;
    line-height:24px;
    text-align:center;
    float:right;
}

#additionalList .additionalPrice, #additionalList .additionalCost,
#additionalList .additionalChildrenPrice, #additionalList .additionalChildrenCost,
#additionalList .additionalBabiesPrice, #additionalList .additionalBabiesCost,
#additionalList .additionalToPay {
    margin: -6px 4px 0 0;
}

#additionalList .additionalReceptionist,
#additionalList .additionalObservations {
    width: 142px;
}

#additionalList .additionalSupplier, #additionalList .additionalOperator {
    width: calc(100% - 50px);
    margin-bottom: 0;
}

#additionalList .additionalOperator {
    width: 100%;
}

#additionalList .additionalSupplier {
    height: 29px;
}

#additionalList p [type="button"] {
    margin:-1px 0 0 4px;
    line-height:30px;
    height:30px;
    width:34px;
}

#additionalList .additionalName {
    font-weight:700;
}

.additionals {
    margin:20px 0;
}

.additionals th {
    font-weight:900;
    font-size:11px;
    white-space:nowrap;
    padding:10px 24px;
    background:lightgrey;
    border:2px solid #f8f8f8;
}

.additionals td {
    background:white;
    padding:10px;
    border:2px solid #f8f8f8;
    font-size:13px;
}

.additionalSupplier {
    width:80%;
    height:24px;
}

.no-show {
    text-decoration:line-through;
}

#addProductsToProductOverlay {
    z-index:1001;
}

/*Produtos*/
#productsList {
    padding:0;
}

#productsList li {
    list-style-type:none;
    margin:0 0 24px 0;
    border-bottom:1px solid #999;
    padding:0 0 10px 0;
    height:162px;
}

#productsList p {
    width:100%;
    margin:0 0 10px 0;
}

#productsList p input {
    margin:0 0 0 40px;
    width:130px;
    line-height:24px;
    text-align:center;
    float:right;
}

#productsList p select {
    height:30px;
    box-sizing:border-box;
    width:100%;
}

#productsList .productDate {
    margin:0 32px 0 71px;
    width:144px;
}

#productsList .productRemove {
    padding:4px 7px;
    cursor:pointer;
}

#productsList p [type="button"] {
    margin:0 0 0 4px;
    line-height:30px;
    height:30px;
    width:34px;
}

#productsList .productName {
    font-weight:700;
}

#addProductsToProductOverlay {
    z-index:1001;
}

#additionalProductsOverlay {
    display: none;
    position: absolute;
    right: -92px;
    top: 104px;
    margin: -36px -182px 0 0;
    background: white;
}

#additionalProductsOverlay ul {
    list-style-type: none;
    padding: 0 16px;
    font-size: 12px;
    width: 240px;
    text-align: left;
}

#additionalProductsOverlay li {
    margin:4px 0;
}

footer {
    position:fixed;
    bottom:0;
    left:0;
    width:100vw !important;
    min-height:40px;
    height:auto !important;
    padding:0 10px;
    box-sizing:border-box;
    background:grey;
}

footer > div > p {
    float:left;
    margin:2px 0 0 0;
}

footer.topbar > .button {
    float:right;
    top:auto;
    transform:none;
    margin:4px 0 0 0;
}

footer.topbar > .button:last-child .overlay {
    background-image: url(images/minus-sign.png);
    background-position: left 0 4px;
    background-repeat: no-repeat;
    background-size: 16px;

}

#emailReservationOverlay,
#emailCancellationOverlay {
    z-index:1001;
}

#emailReservationOverlay iframe, #emailCancellationOverlay iframe,
#emailReservationOverlay embed, #emailCancellationOverlay embed,
#emailReservationOverlay object, #emailCancellationOverlay object {
    width:60%;
    height:94%;
    background:white;
    margin:1% 20%;
}

#emailReservationsOverlay .vbox,
#emailCancellationsOverlay .vbox {
    width:94%;
    height:80%;
    overflow:auto;
}

#emailReservationsOverlay h3,
#emailCancellationsOverlay h3 {
    margin:0 0 10px 0;
}

#emailReservationsOverlay .label,
#emailCancellationsOverlay .label {
    position:relative;
    float:left;
    min-width:100px;
}

#emailReservationsOverlay p,
#emailCancellationsOverlay p {
    font-size:14px;
    margin:4px 0;
}

#emailReservationsOverlay ul,
#emailCancellationsOverlay ul {
    list-style-type:none;
}

#emailReservationsOverlay li,
#emailCancellationsOverlay li {
    position:relative;
    float:left;
    width:100%;
    background:white;
    padding:10px 20px;
    margin:0 0 20px 0;
    box-sizing:border-box;
    border:2px solid white;
    transition:all .3s ease-in-out;
    transition-delay:.1s;
}

#emailReservationsOverlay li:hover,
#emailCancellationsOverlay li:hover {
    border:2px solid #666;
}

#emailReservationsOverlay li div,
#emailCancellationsOverlay li div {
    position:relative;
    float:left;
    width:70%;
}

#emailReservationsOverlay li div:last-child,
#emailCancellationsOverlay li div:last-child {
    width:30%;
}

#emailReservationsOverlay input,
#emailCancellationsOverlay input {
    width:100%;
    cursor:pointer;
    height:34px;
    font-weight:700;
    margin:10px 0;
    color:white;
    background:green;
    border:3px solid transparent;
    box-sizing:border-box;
    transition:all .3s ease-in-out;
    transition-delay:.1s;
}

#emailReservationsOverlay input:hover,
#emailCancellationsOverlay input:hover {
    border:3px solid black;
}

#emailReservationsOverlay .email,
#emailCancellationsOverlay .email {
    background:slategrey;
}

#emailReservationsOverlay .accept,
#emailCancellationsOverlay .accept {
    background:green;
}

#emailReservationsOverlay .remove,
#emailCancellationsOverlay .remove {
    background:red;
}

#emailReservationsErrors {
    margin:13px 0 0 13px;
    float:left;
    color:red;
    font-weight:700;
}

textarea.hoverable {
    width:100%;
    height:278px;
    box-sizing:border-box;
    margin:0;
    resize:none;
    cursor:pointer;
    transition:all .3s ease-in-out;
    transition-delay:.1s;
}

textarea.hoverable:hover {
    border-color:blue;
}

ul.ui-autocomplete.ui-front {
    z-index:999999;
}

.dataview-wrapper {
    height: calc(100vh - 80px);
    overflow: auto;
}

/* table.dataview.printable tr:last-child td, */
.dataview-over.printable tr:last-child td {
    border:none;
}

table.dataview.printable + table, table.dataview.printable + table + table,
table.dataview-over.printable + table, table.dataview-over.printable + table + table {
    margin:18px 0 0 0;
}

table.dataview-over {
    margin:16px 0 0 0;
}

table.dataview-over tbody {
    font-size:12px;
}

table.dataview-over tbody tr {
    cursor:pointer;
}

table.dataview-over tbody tr:hover {
    background:#FFF;
}

.dataview .dmc {
    background:#DDD;
}

#notificationsOverlay fieldset {
    margin:8px 0 28px 0;
    border-bottom:2px solid #000;
}

#notificationsOverlay .noteInput {
    width:auto;
}

#notificationsOverlay .paymentMode {
    width:148px;
}

#notificationsOverlay .paymentDate {
    margin:0 0 8px 6px;
}

#notificationsOverlay legend, #notificationsOverlay label {
    line-height:32px;
    position:relative;
    float:left;
    width:100%;
}

#notificationsOverlay legend {
    line-height:24px;
    font-size:14px;
    font-weight:700;
}

#notificationsOverlay legend a {
    transition:all .3s ease-in-out;
}

#notificationsOverlay legend a:hover {
    color:gold;
}

#notificationsOverlay fieldset [type="button"] {
    position:relative;
    float:right;
    width:80px;
    background:green;
    color:white;
    font-weight:700;
    cursor:pointer;
    line-height:22px;
    border:none;
    margin:4px 0 0 0;
}

#notificationsOverlay fieldset [type="button"]:hover {
    text-decoration:underline;
}

@media screen and (max-width:1365px) {
    .topbar .roundedNotifier {
        padding: 4px 4px;
        border-radius: 8px;
    }

    .column h2 {
        font-size:14px;
    }
}