﻿html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
}

#contentcontainer {
    display: flex;
    flex-flow: column;
    height: 100%;
}

#viewcontainer {
    padding: 40px 60px;
    padding-top: 10px;
}

#searchcontainer {
    width: calc(100% - 120px);
    display: inline-block;
    padding: 40px 60px;
}

    #searchcontainer li {
        margin-bottom: 5px;
    }

#topbar,
#middlecontainer,
#tilecontainer {
    margin-bottom: 10px;
}

#topbar {
    height: calc((100vh - 110px) * .2);
    width: 100%;
}

#logo {
    height: 100%;
    width: 100%;
    position: relative;
}

    #logo img {
        height: 100%;
    }

#datebar {
    text-align: right;
    position: relative;
}

    #datebar div {
        position: absolute;
        bottom: 0;
        right: 0;
        font-size: 1.2em;
    }

#middlecontainer {
    height: 40vh;  /*calc((100vh - 110px) * .45);*/
    width: 100%;
    position: relative;
}

#leftbox {
    background-color: rgba(255,255,255,.8);
    display: table;
    height: 100%;
    width: calc((100vw - 120px) * .2);
    text-align: center;
    float: left;
}

#rightbox {
    display: table;
    height: 100%;
    width: calc(((100vw - 120px) * .8) - 10px);
    background-color: rgba(255,255,255,.8);
    float: left;
    margin-left: 10px;
}

#widgetbox {
    height: 100%;
    width: 100%;
    background: white;
    border: none;
    position: relative;
}

#widgetiframe {
    height: 100%;
    width: 100%;
    border: none;
}

#leftboxcontainer, #rightboxcontainer {
    display: table-cell;
    vertical-align: middle;
}

#rightboxcontainer {
    padding-left: 3em;
}

#welcomemessage {
    font-size: 2em;
}

#locationname {
    font-size: 1.5em;
}

#announcementtitle {
    font-size: 1em;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1em;
}

#announcementmessage {
    font-size: 2em;
    font-weight: 300;
}

#tilecontainer {
    height: 15vmin; /*calc((100vh - 110px) * .2 + 5px);*/
    width: 100%;
}

/*@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    #tilecontainer {
        height: calc((100vh - 110px) * .2 + 10px);
        width: 100%;
    }
}*/

.tile {
    height: 15vmin;  /*calc(((100vw - 120px) * .1) - 5px);*/
    width: 15vmin;  /*calc(((100vw - 120px) * .1) - 5px);*/
    margin-right: 10px;
    color: white;
    text-transform: uppercase;
    text-align: center;
    float: left;
}

.tile > .center {
    font-size: 2vmin;
    padding-top: 2.5vmin;
}

    .tile div div {
        margin-top: 10px;
        font-weight: 600;
    }

    .tile .kioskicon {
        font-size: 5vmin;
    }

#bottomcontainer {
    height: 100%;
    width: 100%;
    padding: 40px 60px;
    margin: 0 -60px 0 -60px;
    position: fixed;
}



#loginheader {
    font-weight: 700;
    font-size: .9vw;
    margin-bottom: 1vw;
}

#logincontainer {
    position: fixed;
    bottom:6vh;
    left: 60px;
}

#logincontainer input {
    background-color: white;
    border: 1px solid rgba(70, 130, 180, .6);
    padding: .6vw;
    font-size: .9vw;
    /*margin-right: 10px;*/
}

    #logincontainer input:-webkit-autofill {
        -webkit-box-shadow: 0 0 0px 1000px white inset;
    }

#logincontainer #signin {
    /*height: 2.4vw;*/
    text-transform: uppercase;
    border: 1px solid transparent;
    color: white;
    font-size: large;
    font-weight: 700;
    padding: 0 20px;
    min-height:40px;
}

#logincontainer #registerkeycard {
    height: 2.4vw;
    text-transform: uppercase;
    border: 1px solid transparent;
    color: white;
    font-size: .9vw;
    font-weight: 700;
    padding: 0 20px;
}

#logincontainer #cancelkeycard {
    height: 2.4vw;
    text-transform: uppercase;
    border: 1px solid transparent;
    color: white;
    font-size: .9vw;
    font-weight: 700;
    padding: 0 20px;
}

#loginformcontainer {
    float: left;
}

#searchmessage,
#bookingsbarmessage {
    font-size: 1.2em;
    margin-bottom: 1em;
}

/*#searchform {
}

    #searchform input {
        background-color: white;
        border: 1px solid rgba(70, 130, 180, .6);
        padding: .5vw;
        font-size: .9vw;
        margin-right: 10px;
    }

        #searchform input:-webkit-autofill {
            -webkit-box-shadow: 0 0 0px 1000px white inset;
        }*/

#searchform .easy-autocomplete-container {
    bottom: 2em;
    /*max-height: 70vh;
    overflow: auto;
    overflow-y: auto;
    overflow-x: hidden;*/
}

#searchform .easy-autocomplete.eac-square {
    display: inline-block;
}

    #searchform .easy-autocomplete.eac-square ul {
        border-top: 1px solid #7f8c8d;
    }


#scanyourcard {
    position: fixed;
    right: 60px;
    bottom: 6vh;
}

    #scanyourcard span {
        font-size: 3vmin;
        font-weight: 500;
        margin-right: 2vmin;
    }

    #scanyourcard .kioskicon:before, #scanyourcard .kioskicon:after {
        font-size: 10vmin;
        font-weight: 300;
    }

    #scanyourcard i {
        font-weight: 300;
    }

/*#scanyourcard .kioskicon {
    font-size: 5vmin;
}*/

.center {
    margin: auto;
    padding-top: 30%;
}

header {
    font-size: 1.2em;
    height: 2em;
    color: white;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    line-height: 2em;
}

#mapcontainer {
    flex: 2;
    overflow: auto;
    position: relative;
    overflow-x: hidden;
}

svg text {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
svg text::selection {
    background: none;
}

#svgmap {
    height: 100%;
    width: 100%;
}

#svgcontainer {
    height: 100%;
    overflow: hidden;
}

#svgimage {
    text-align: center;
}

#detailpanel {
    height: 100%;
    width: calc(25% - 3em);
    min-width: 370px;
    position: absolute;
    right: calc(100% * -1);
    top: 0;
}

#detailtitle {
    margin: 30px 0 20px 0;
    font-size: 2em;
    font-weight: 500;
    padding-left: 30px;
}

#detailtitletext {
    max-width: calc(100% - 2em);
    display: inline-block;
}

#detailtitle,
#detailspacedescription,
#detailspacelocation,
#detailbookingtimerange,
#detailbookingemail,
#detailbookingphone,
#detailbookingdepartment {
    width: calc(100% - 60px);
}

#detailtitletext,
#detailspacedescription,
#detailspacelocation,
#detailbookingtimerange,
#detailbookingemail,
#detailbookingphone,
#detailbookingdepartment {
    overflow: hidden;
    text-overflow: ellipsis;
}

#detailspacelocation,
#detailbookingtimerange {
    font-size: 1em;
    font-weight: 700;
    padding-left: 30px;
    text-transform: uppercase;
    margin-bottom: 1em;
}

#detailspacedescription,
#detailbookingemail,
#detailbookingphone,
#detailbookingdepartment {
    font-size: 1.2em;
    font-weight: 500;
    padding-left: 30px;
    line-height: 1.5em;
}

#detailspacerecommendations {
    padding-left: 30px;
    margin-top: 20px;
    overflow: auto;
    height: 25%;
}

#longtermreservation {
    display: none;
}

#detailfooter,
#detailcheckout {
    position: absolute;
    bottom: 0;
    left: 2em;
    right: 2em;
    vertical-align: middle;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#detailcloseicon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: large;
    font-weight: 300;
    cursor: pointer;
}

#mapbarcollapseicon {
    float: right;
    margin-right: -30px;
}

#buttonassign,
#buttonunassign,
#buttonbook,
#buttonconfirm,
#buttoncheckin,
#buttoncheckout,
#buttonstartnow,
#buttonclosefooter,
#buttoncancelassign,
#buttonclosecheckout,
#buttondeletecheckout {
    display: inline-block;
    color: white;
    padding: 1em 2em;
    font-weight: 700;
    margin-left: 8px;
    margin-bottom: 8px;
}

#detailconfirm {
    position: absolute;
    bottom: 0;
    left: 2em;
    right: 2em;
    padding: 2em 0;
    vertical-align: middle;
    background-color: inherit;
}

#detailerror {
    position: absolute;
    bottom: 0;
    left: 2em;
    right: 2em;
    padding: 2em 0;
    vertical-align: middle;
    color: red;
    overflow: hidden;
    text-overflow: ellipsis;
}

#confirmmessage {
    font-size: 1.2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1em;
}

#buttoncancel,
#buttondelete {
    float: right;
    color: white;
    padding: 1em 2em;
    font-weight: 700;
}

#buttonassign,
#buttonunassign,
#buttonconfirm,
#buttoncancel,
#buttonbook,
#buttoncheckin,
#buttoncheckout,
#buttonstartnow,
#buttondelete,
#buttonclosefooter,
#buttoncancelassign,
#buttonclosecheckout,
#buttondeletecheckout,
.footertab,
.tile,
.bookingtile,
#footerlogout,
#scanyourcard,
#buttonsearch,
#sortspace,
#sortuser,
.resulttile {
    cursor: pointer;
}

#detailcomplete {
    position: absolute;
    bottom: 0;
    left: 2em;
    right: 2em;
    padding: 2em 0;
    vertical-align: middle;
    text-align: center;
}

    #detailcomplete .kioskicon {
        font-size: 2.5em;
        font-weight: 500;
        background-color: white;
        border-radius: 50%;
    }

#completemessage {
    font-size: 1.2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1em;
}

#detailtitle .kioskicon:before {
    font-family: 'kioskicons' !important;
    font-weight: 900 !important;
    font-size: .8em;
    vertical-align: super;
    padding-left: 5px;
}

#buttonsearch {
    display: inline-block;
    color: white;
    padding: 1em 2em;
    font-weight: 700;
    margin-left: 4em;
}

#mapbar {
    height: 8em;
    padding: 1em 3em;
    font-weight: 700;
}

#maptiles,
#bookingtiles {
    /*padding: 10px 0;*/
    margin-top: 1em;
}

.mapkiosktile {
    height: 2.5em;
    width: 10em;
    display: inline-block;
    margin-right: .5em;
    color: white;
    text-align: center;
    padding: 1em 1em;
    cursor: pointer;
}

.mapkiosktiletitle {
    width: 100%;
    font-size: 1.2em;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.mapresourcetile {
    height: 2.5em;
    width: 10em;
    float: left;
    margin-right: .5em;
    color: white;
    text-align: center;
    padding: 1em 1em;
}

    .mapresourcetile.selected {
        background-color: white;
        padding: .9em;
    }

.bookingtile {
    height: 2.5em;
    width: 10em;
    float: left;
    margin-right: .5em;
    color: white;
    text-align: center;
    padding: 1em 1em;
}

    .bookingtile.selected {
        background-color: white;
        padding: .9em;
    }

.mapnodetile {
    height: 2.5em;
    width: 10em;
    float: left;
    margin-right: .5em;
    color: black;
    text-align: center;
    padding: 1em 1em;
}

    .mapnodetile a:link,
    .mapnodetile a:visited,
    .mapnodetile a:hover,
    .mapnodetile a:active {
        color: white;
        text-decoration: none;
        font-weight: 700;
    }

.maptiletitle,
.bookingtiletitle {
    width: 100%;
    font-size: 1.2em;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bookingtiletime {
    font-weight: 300;
}

#maptiles .slick-slide,
#bookingtiles .slick-slide {
    width: 10em !important;
}

footer {
    height: 4em;
}

#footertabs {
    background-color: white;
    float: left;
    height: 4em;
    margin: 0 3em;
    padding: 0 4px;
    border: none;
}

.footertab {
    height: 4em;
    display: inline-block;
    line-height: 4em;
    text-align: center;
    vertical-align: middle;
    padding: 0 1em;
    border: none;
    margin: 0 -1px;
}

    .footertab i {
        margin-right: .5em;
    }

#footertabs .kioskicon:before, #footertabs .kioskicon:after {
    font-size: 1.5em;
    font-weight: 300;
}

#mapbar .slick-prev:before, #mapbar .slick-next:before {
    color: black;
}

#footerlogininfo {
    float: right;
    margin-right: 2em;
    height: 4em;
    line-height: 4em;
    text-align: center;
    vertical-align: middle;
}

#footerloginname {
    margin-right: 2em;
    font-weight: 700;
}

#daterangecontainer {
    display: inline-block;
}

#daterange {
    border-bottom: 1px solid black;
}

#calendaricon {
    cursor: pointer;
}

.dateselector {
    padding: 0;
    margin: 0;
    background-color: transparent;
    border: 0;
    font-weight: 700;
    font-size: 1em;
    cursor: pointer;
}

.input-sizer {
    visibility: hidden;
    white-space: pre;
}

.timepicker {
    background: none;
    border: 1px solid #111111;
    border-radius: 0;
    border-width: 0 0 1px;
    text-align: center;
    font-size: 1em;
    font-weight: 700;
    width: 8em;
}

#timerange {
    display: inline-block;
    width: 30%;
    margin-left: 20px;
}

#mapbar .slick-prev:before, #mapbar .slick-next:before {
    font-family: 'kioskicons' !important;
    font-weight: 900;
    font-size: 30px;
}

#mapbar .slick-prev:before {
    content: "\e90b";
}

#mapbar .slick-next:before {
    content: "\e90c";
}

#mapbar .slick-prev {
    left: -35px;
}

#mapbar .slick-next {
    right: -35px;
}

#mapbar .slick-prev,
#mapbar .slick-next {
    height: 40px;
    width: 30px;
}

.favorite .maptiletitle:before {
    font-family: 'kioskicons' !important;
    font-weight: 900;
    font-size: 16px;
    margin-right: 5px;
}

.favorite .maptiletitle:before {
    content: "\e90d";
}

.maphotspot,
.mapnodespot,
.mapresourcetile,
.timepicker {
    cursor: pointer;
    outline: none;
}

    .maphotspot.selected polygon {
        fill-opacity: 0.25;
        stroke: none;
    }

    .maphotspot.selected.reserved polygon {
        fill-opacity: 0.25;
        stroke: none;
    }

    .mapnodespot polygon,
    .maphotspot polygon {
        fill: white;
        fill-opacity: 0;
        stroke: none;
    }

.iconplus circle {
    fill-opacity: 0.7;
}

.maphotspot.reserved .iconplus circle {
    fill-opacity: 0.7;
}

.maphotspot.selected .iconplus circle {
    fill: white;
    stroke-width: 2;
}

.maphotspot.selected.partial > .iconplus > circle {
    fill: white;
    stroke-width: 2;
}

.maphotspot.selected.reserved circle {
    fill: white;
    stroke-width: 2;
}

    .maphotspot.selected.reserved circle.solid {
        stroke: none;
    }

.maphotspot text,
.mapnodespot text {
    fill: white;
    font-size: 30px;
}

.maphotspot.selected text {
}

.maphotspot.selected.reserved .iconplus text {
}

#spacesbar .noUi-connect {
}

#searchbar.collapsed {
    margin-top: -10px;
}

    #searchbar.collapsed > #searchform #inputsearch {
        padding: 6px 12px;
    }

#searchbar.collapsed > #searchform #buttonsearch {
    padding: 0.5em 2em;
}

    #eac-container-inputsearch .eac-category.resources {
        color: white;
        font-weight: 700;
    }

#eac-container-inputsearch .eac-category.reservations {
    color: white;
    font-weight: 700;
}

#eac-container-inputsearch .eac-category.users {
    color: white;
    font-weight: 700;
}

#detailfooter > .easy-autocomplete {
    width: 100% !important;
    display: none;
    margin-bottom: 8px;
}

#detailconfirm > .easy-autocomplete {
    width: 100% !important;
    margin-bottom: 8px;
}

#usersearch, #userbooksearch {
    width: 100%;
    padding: 12px 15px 12px 15px;
    margin-left: -15px;
    min-width: inherit;
}

#eac-container-usersearch > ul {
    border-top: 1px solid #7f8c8d;
    border-bottom: 0 !important;
}

#eac-container-userbooksearch > ul {
    border-top: 1px solid #7f8c8d;
    border-bottom: 0 !important;
}

#AccessId {
    position: absolute;
    top: -100000px;
}

#Pin {
    display: none;
}

.validation-summary-errors {
    color: red;
    display: inline-block;
}

    .validation-summary-errors ul {
        margin: 0;
    }

#searchcontainer h1 {
    margin: 0 0 .5em 0;
}

#resulttiles {
    margin-top: 1em;
}

.resulttile {
    height: 3.6em;
    width: 12em;
    padding: 1em;
    margin: 0 .5em .5em 0;
    float: left;
    color: white;
    text-align: center;
}

.resultresource {
    font-weight: 600;
    font-size: 1.1em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.resulttimerange {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.resultusername {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#resultsort .selected {
    font-weight: 600;
}

/* Pin Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: calc(50vh - 130px);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 300px;
    text-align: center;
    position: relative;
}

.close {
    color: #aaaaaa;
    position: absolute;
    font-size: 28px;
    font-weight: bold;
    right: 10px;
    top: 0;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

#pincontainer span {
    margin-right: 10px;
}

#pinbuttoncontainer {
    text-align: center;
    position: relative;
    margin-top: 10px;
}

#buttoncancelpin,
#buttonokpin {
    display: inline-block;
    color: white;
    padding: 1em 2em;
    font-weight: 700;
    cursor: pointer;
}

/* **/

/** input wrapper */

.input-wrapper {
    position: relative;
    display: -moz-inline-box;
    display: inline-block;
    zoom: 1;
    vertical-align: middle;
}

    .input-wrapper input {
        z-index: 2;
        margin: 0;
        border: 0;
        background: transparent;
    }

    .input-wrapper label {
        z-index: 1;
        position: absolute;
        padding: .6vw;
        font-size: .9vw;
        color: #999;
        overflow: hidden;
    }

    .input-wrapper.focus label {
        filter: alpha(opacity=50);
        opacity: 0.4;
    }

    .input-wrapper.filled label {
        display: none;
    }

/* **/


/* Mobile modifications */
@media screen and (max-width: 860px) {
    html, body {
        overflow-y: auto;
    }

    #viewcontainer {
        height: 100%;
        padding: 10px;
    }

    #bottomcontainer {
        position: inherit;
        padding: 0 20px;
        margin: 0 -10px 0 -10px;
    }

    #middlecontainer {
        height: auto;
    }

    #leftbox {
        width: 100%;
        margin-bottom: 10px;
        padding: 10px 0 10px 0;
        float: none;
    }

    #rightbox {
        width: 100%;
        margin-left: 0;
        margin-bottom: 10px;
        padding: 10px 0 10px 0;
        float: none;
    }

    #loginheader {
        font-size: inherit;
        margin: 0;
        padding: 10px;
    }

    /*#logincontainer {
        position: inherit;
        bottom: auto;
        left: auto;
    }

    #loginformcontainer .input-wrapper {
        width: 0;
        display: block;
        position: inherit;
    }
    #loginformcontainer .input-wrapper>label {
        position: inherit;
        padding: 0;
        font-size: inherit;
    }
    #loginformcontainer .input-wrapper > input {
        font-size: inherit;
        margin: 0;
    }

    #logincontainer #signin {
        height: auto;
        font-size: inherit;
        margin-top: 10px;
    }

    #scanyourcard {
        position: inherit;
        margin-top: 20px;
        right: auto;
        bottom: auto;
    }

    #scanyourcard span {
        font-size: inherit;
        
    }*/
    
}

@media screen and (max-width: 700px) {
    .kiosk-icon-label {
        display: none;
    }

    .footertab i {
        margin-left: .5em;
    }

    #footertabs {
        margin: 0;
    }
}