/* =Typography
-----------------------------------------------------------------------------*/

html {
    font-size: 62.5%;
}

body {
    font-size: 1.5em;
    line-height: 24px;
    background: #ffffff;
    color: #202020;
}


/* --- */

html {
    position: relative;
    min-height: 100%;
}

body {
    min-height: 100%;
    margin: 0 0 30px 0;
    padding-top: 62px;
    /* = #logo img [margin-top + height + margin-bottom] */
    overflow-x: hidden;
    max-width: 100%;
    background-color: #ffffff;
    font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 2.2rem;
    color: #000;
}

h1,
h2,
h3,
h4,
h5 {
    /*letter-spacing: 0.15rem;*/
    font-weight: 300;
    font-size: 150%;
    font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
}

h6 {
    /*letter-spacing: 0.15rem;*/
    font-weight: 300;
    font-size: 100%;
    font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
}

h1 {
    font-size: 5.4rem;
    font-weight: 400;
    line-height: 5.4rem;
}

h2 {
    font-size: 4rem;
    line-height: 4.6rem;
    padding-bottom: 2rem;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a,
a:visited,
a:hover {
    color: #000;
}

a.inline,
a.inline:visited,
a.inline:hover {
    color: #000088;
    font-weight: lighter;
}

cite {
    color: #000;
    font-size: 100%;
}

ul {
    list-style: none;
    margin: 0;
}

p.aired {
    margin-top: 1em;
    margin-bottom: 1em;
}

.menu ul {
    font-size: 1.6rem;
}

.menu .fa,
.menu-content .fa {
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
}

.menu-content form {
    margin: 2px;
}

.menu-content ul {
    margin: 0 0 0 1rem;
    text-align: center;
    font-size: 1.6rem;
}

.menu-content>ul>li>hr {
    margin-bottom: 2px;
}

.menu-content>ul>li.label {
    border-bottom: 1px solid #efefef;
    background-color: #ededff;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 4;
    /* height: 120px; */
    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    -ms-transition: height 0.3s;
    -o-transition: height 0.3s;
    transition: height 0.3s;
}

header h1 {
    float: left;
    font-family: 'josefin_slabregular';
    font-size: 48px;
    vertical-align: text-top;
}

#logo {
    float: left;
    margin: 0 0 0 1%;
}

#logo img {
    margin-left: 18px;
    margin-top: 26px;
    height: 40px;
    /* max-width: 46px; */
    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    -ms-transition: height 0.3s;
    -o-transition: height 0.3s;
    transition: height 0.3s;
}

#logo a {
    text-decoration: none;
    color: inherit;
}


/* shrink header on scroll */

header.smaller {
    /* height: 68px; */
}

header.smaller #logo img {
    margin-left: 18px;
    margin-top: 26px;
    height: 20px;
}


/* --- */


/* new style begins here */

header a {
    text-decoration: none;
    color: inherit;
}

header nav {
    float: right;
    margin-right: 1%;
}

header nav.menu {
    position: absolute;
    right: 0;
    bottom: 4px;
    display: inline-block;
    width: auto;
    text-align: right;
}

header nav>ul>li {
    padding-left: 1rem;
    padding-right: 1rem;
    align-self: center;
}

header nav a {
    line-height: normal;
    background: transparent;
    border-top: none;
    text-align: center;
    min-width: 75px;
    padding-left: 0;
    padding-right: 0;
}

header nav a:hover {
    text-decoration: underline;
}

header nav>ul {
    display: inline-flex;
}

nav.menu-content div {
    margin: 0;
}

nav.menu-content {
    top: 66px;
    margin-top: 1rem;
    padding-top: 1rem;
    margin-bottom: 1px;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

nav.menu-content a {
    display: inline-block;
    width: 100%;
}

nav.menu-content a:hover {
    background-color: whitesmoke;
}

.hero {
    width: 100%;
    display: block;
    position: relative;
}

.myslider {
    background-color: whitesmoke;
}

.myslider img {
    min-width: 100%;
}

.myslider row {
    margin-bottom: 0;
}

.myslider p {
    padding: 2rem 0 0 3rem;
}

.myslider column p {
    margin-bottom: 1rem;
}

.myslider column p:last-child {
    margin-bottom: 0;
}

.slick-dots {
    padding-left: 2.4rem;
    margin-top: 0;
    padding-bottom: 2rem;
    text-align: left;
    position: static;
    background-color: whitesmoke;
}

.slick-dots li {
    margin: 0;
}

.slick-dots li button:before {
    font-size: 1.2rem;
    opacity: .75;
    color: black;
}

.slick-dots li.slick-active button:before {
    color: transparent;
}

.slick-dots li.slick-active button {
    background-color: white;
    border: 1px solid black;
    border-radius: 50%;
    margin-top: 0.33rem;
    margin-left: 0.35rem;
    width: 1rem;
    height: 1rem;
}

.slick-prev {
    left: 25px;
}

.slick-next {
    right: 25px;
}

.slick-prev,
.slick-next {
    z-index: 1;
    width: 50px;
    height: 50px;
    top: 25%;
}

.slick-prev:before,
.slick-next:before {
    font-size: 50px;
}

.slick-prev:hover,
.slick-next:hover {
    box-shadow: none;
}

.ocircle {
    z-index: 3;
    position: absolute;
    right: 0px;
    margin-right: -5.5rem;
    bottom: 10.5rem;
    display: none;
    border-radius: 50%;
    width: 32rem;
    height: 32rem;
    background: rgba(255, 255, 255, 0.5);
    /* width and height can be anything, as long as they're equal */
    text-align: center;
}

.icircle {
    position: absolute;
    border-radius: 50%;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    background-color: #ad9755;
}

.icircle a {
    display: inline-block;
    padding-top: 7rem;
    line-height: 1;
    color: white;
    font-family: 'alex_brushregular';
    font-size: 3rem;
    text-decoration: none;
}

main {
    padding-bottom: 1rem;
}

table tr td a {
    height: 100%;
    width: 100%;
}

table td a.icon {
  width: auto;
}

table.search-result th,
table.search-result td {
    padding: 2px 0 2px 0;
}

table.search-result tbody tr td a {
    height: 100%;
    width: 100%;
    text-decoration: none;
}

table.search-result tbody tr:hover {
    background-color: #ededed;
}

table.table-stripped tbody tr:nth-child(2n+1):hover td {
    background-color: transparent;
}

table.search-result tbody tr td {
    padding-left: 0;
    padding-right: 0;
}

table.plain tbody tr td {
    border-bottom: 0px;
    padding: 6px 6px 5px;
}

row.no-bottom {
    margin-bottom: 0;
}

form.sliderimage label {
    display: inline-block;
    margin-right: 4px;
}

form.sliderimage select {
    width: initial;
    padding: 0;
    display: inline-block;
    height: inherit;
}

form.sliderimage div.col {
    margin-bottom: 2em;
}

form.sliderimage figure {
    margin: 0;
    padding: 0;
}

form.sliderimage figcaption {
    margin: 0;
    padding: 0;
    top: 0;
}

form.admin label {
    display: inline-block;
}

form.admin span.error {
    display: inline-block;
}

form.admin fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.forms section {
    margin-bottom: 24px;
}

form .row {
    margin-bottom: 24px;
}

form .row:last-child {
    margin-bottom: 4px;
}

form.filter label { display: inline; }
form.filter input[type=number] { 
  width: auto;
  max-width: 4em;
  height: auto;
  display: inline;
  padding: 4px 6px;
}
form.filter .button {
  line-height: 1.75;
  height: auto;
}

#signupform row column {
    margin-right: 6px;
}

#signupform row column:last-child {
    margin-right: 0;
}

#signupform row column[cols="8"]:first-child {
    margin-right: 3px;
}

div.dropdown li form {
    margin-bottom: 0;
}

ul.sub-dropdown {
    margin-left: 1em;
}

.tenantdoc-index-root {
    background-color: aliceblue;
    border-radius: 4px;
    padding: 0.5em;
}

.tenantdoc-index h1 {
    font-size: 20px;
    line-height: 24px;
}

.tenantdoc-index ul {
    margin-bottom: 2em;
}

.tenantdoc-index .fa {
    margin-left: 1em;
}

.tenantdoc .form-field {
    margin-bottom: 1em;
}

footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    /* height: 30px; */
    text-align: center;
    padding-top: 1em;
    font-size: 1.1rem;
    background-color: #fff;
}

footer p {
    margin: 0;
}

footer a {
    font-weight: bold;
}

img {
    max-width: 100%;
}


/* ---- new style ends here ---- */

.hero img {
    width: 100%;
    max-width: 1080px;
}

.inline-hero {
    background-color: #A8A04A;
}

.inline-hero h1 {
    padding: 1em 1em 1em;
    color: #fff;
}

.inline-hero h1 a {
    color: #fff;
}

.inline-hero h1 a:hover {
    text-decoration: none;
}

.inpage {
    padding-top: 90px;
}

.inline-hero button {
    margin-bottom: 10px;
}

.hero-with-bg h1 {
    padding: 1em 1em 1em;
    color: #fff;
    background-image: url(../images/hero-bg.png);
}

.air {
    padding: 2em;
}

.preview-message {
    padding: 1em 2em 0 2em;
    border: 1px solid #dbdbdb;
    border-radius: 4px;
    margin: 1em 0 1em 0;
}

.preview-iframe {
    margin: 0;
    padding: 0;
    overflow: scroll;
    width: 100%;
    height: 30em;
}

.content .inline-hero row {
    margin: 0;
}

button[left-round] {
    border-top-left-radius: 15px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 15px;
    height: 4em;
    color: #fff;
    background-color: #A8A04A;
}

.title-row {
    background-color: #A8A04A;
    padding-bottom: 2em;
    margin-bottom: 24px;
}

.title-row h1 {
    color: #fff;
}

.title-row a {
    color: #fff;
    text-decoration: none;
}

.title-row div {
    margin-top: 3rem;
}

.form-inline {
    display: inline;
    padding-left: 1rem;
    padding-right: 1rem;
}

row.content-row column {
    /*background-color: red;*/
    max-width: 50em;
}

body row.contact column {
    /*background-color: yellow;*/
    max-width: 80em;
}


/* The element at the top of the page right after the fixed navigation bar
 *    MUST have sufficient top margin or else it will be covered by the bar */

.content {
    margin-top: 56px;
    font-size: 1.6rem;
}

.content-row {
    padding-top: 4em;
}


/* info page style */

.content.info {
    background-color: #f7f7f7;
}

div.col.info {
    background-color: #fff;
    padding-top: 3em;
    padding-left: 2em;
    padding-right: 2em;
}

.content.info ul {
    margin: 0;
    padding-top: 1em;
    padding-bottom: 3em;
}

.content.info ul li {
    padding-top: 1em;
}

.content.info button {
    margin-top: 2em;
    margin-bottom: 1em;
    color: #fff;
    background-color: #A8A04A;
}


/* ./ info page style */

.form-title {
    background-color: #A8A04A;
}

.form-title h4 {
    color: #fff;
    padding: 0.2em;
    margin: 0.2em;
    font-weight: bold;
}

.form-row-with-help-text {
    margin-bottom: 0px;
}

.content h3 {
    color: #000;
}

main.content ul {
    list-style: none;
    margin-top: 3em;
    margin-bottom: 3em;
}

#signupform input[type=text]:required {
    font-weight: bold;
}

.content .air {
    padding-top: 3em;
    padding-bottom: 3em;
}

.grey {
    background-color: #f7f7f7;
}

div.upvote { background-color: #f8fff0; border-bottom: 1px black solid; padding: 4px 0 4px 0; }
div.neutral { background-color: #f0f8ff; border-bottom: 1px black solid; padding: 4px 0 4px 0;}
div.downvote { background-color: #fff0f8; padding: 4px 0 0 0; }

div.contact-grey row {
    background-color: #f7f7f7;
}

img.profile {
    max-height: 200px;
    max-width: 200px;
}

.agreement {
    font-size: 1.2rem;
}

address p {
    padding: 0;
    margin: 0;
}

address span.email {
    font-size: 1.2rem;
}

#map {
    margin-bottom: 24px;
}

.map-overlay iframe {
    pointer-events: none;
}

.facility {
    margin-bottom: 1em;
}

#preference ul {
    margin-top: 0;
    margin-bottom: 1em;
}

#meal-option ul {
    margin-top: 0;
    margin-bottom: 0;
}

#homehelp {
    display: inline;
}

.three-column-layout {
    -webkit-column-count: 3;
    /* Chrome, Safari, Opera */
    -moz-column-count: 3;
    /* Firefox */
    column-count: 3;
}

.one-pixel-column-rule {
    -webkit-column-rule-style: solid;
    /* Chrome, Safari, Opera */
    -moz-column-rule-style: solid;
    /* Firefox */
    column-rule-style: solid;
    -webkit-column-rule-width: 1px;
    /* Chrome, Safari, Opera */
    -moz-column-rule-width: 1px;
    /* Firefox */
    column-rule-width: 1px;
}

.five-column-layout {
    -webkit-column-count: 5;
    /* Chrome, Safari, Opera */
    -moz-column-count: 5;
    /* Firefox */
    column-count: 5;
}

tr.clickable-row:hover {
    cursor: pointer;
    text-decoration: underline;
}

.equipment-row {
    margin-left: 0;
}

.equipment-inner-row {
    margin-left: 2px;
    margin-right: 2px;
}

.compact,
form .compact {
    margin-bottom: 0px;
}

.equipment-note-area {}

@media only screen and (min-width: 768px) {
    nav.menu-content {
        display: none;
        position: fixed;
        right: .2em;
        /*bottom: 0;*/
        /*box-shadow: -2px 2px 1px 0px rgba(0, 0, 0, 0.2);*/
        z-index: 11;
        cursor: pointer;
        background-color: #fff;
        padding-top: 0;
        margin-top: 0;
        margin-bottom: 0;
    }
    nav.menu-content ul {
        list-style-type: none;
        margin: 0;
        padding: 1em;
    }
    header nav.menu-noborder>ul>li:first-child {
        border-right: 0px;
    }
    nav.menu-content:hover {
        right: .2em;
    }
    .ocircle {
        display: block;
    }
}

@media only screen and (min-width: 1280px) {
    .ocircle {
        display: block;
        width: 48rem;
        height: 48rem;
        bottom: 7rem;
        margin-right: -7rem;
    }
    .icircle {
        top: 18%;
        left: 18%;
        width: 65%;
        height: 65%;
    }
    .icircle a {
        padding-top: 11rem;
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .menu-content ul {
        margin-top: 10px;
    }
    .nav-toggle {
        display: block;
    }
    row {
        margin: 6px;
    }
    .myslider row {
        margin: 0px;
    }
    .myslider row column[cols] {
        margin-bottom: 0;
    }
    .text-centered-on-small {
        text-align: center;
    }
    .three-column-layout {
        -webkit-column-count: 1;
        /* Chrome, Safari, Opera */
        -moz-column-count: 1;
        /* Firefox */
        column-count: 1;
    }
}


/* alert classes to work with django.contrib.messages */

.alert.info {
    color: #2f77d1;
    background-color: rgba(47, 119, 209, 0.15);
}

.alert.info a,
.alert.info h5 {
    color: #2f77d1;
}

.errorlist li,
.alert.error {
    color: #d11149;
    font-size: small;
    font-weight: bold;
}

.alert.error a,
.alert.error h5 {
    color: #d11149;
}

.alert.warning {
    color: #bca109;
    background-color: rgba(244, 211, 30, 0.23);
}

.alert.warning a,
.alert.warning h5 {
    color: #bca109;
}

.alert.success {
    color: #0a8754;
    background-color: rgba(10, 135, 84, 0.13);
}

.alert.success a,
.alert.success h5 {
    color: #0a8754;
}

/* error in forms should be clearly visable */
form div.input-error {
  background-color: rgba(243,66,72,.1);
  border: 1px solid #f34248;
}

/* Our own button types */

.button {
  text-align: center;
}

.button.red,
.btn[type="red"],
button[type="red"] {
    color: rgba(255, 255, 255, 0.9);
    background: #cc0000;
}

.button.red:hover,
.btn[type="red"]:hover,
button[type="red"]:hover {
    color: rgba(255, 255, 255, 0.7);
    background: #000000;
    background-color: #ff3333;
}

.button.red[disabled]:hover,
.btn[type="red"][disabled]:hover,
button[type="red"][disabled]:hover {
    color: rgba(255, 255, 255, 0.9);
    background: #ff0000;
    cursor: not-allowed;
}

.btn[type="red"][outline],
button[type="red"][outline] {
    background: none;
    color: #ff0000;
    border-color: #ff0000;
}

.btn[type="red"][outline]:hover,
button[type="red"][outline]:hover {
    background: #ff0000;
    border-color: #ff0000;
    color: rgba(255, 255, 255, 0.9);
}

.btn[type="red"][outline][disabled]:hover,
button[type="red"][outline][disabled]:hover {
    background: none;
    border-color: #ff0000;
    color: #ff0000;
}


/* super user menus */

.super-user-menu {
    margin: 0;
    background-color: lightgrey;
    font-size: small;
}

.super-user-menu h1 {
    font-size: 1em;
    line-height: 1.6rem;
    margin: 0;
    border-bottom: 1px solid grey;
}

.super-user-menu ul {
    list-style: none;
    margin: 0;
}

.super-user-menu li {
    float: left;
    padding-left: 0.2em;
    padding-right: 0.2em;
    border-right: 1px solid grey;
}

div.blocks-form-field {
    display: inline-block;
}

.blocks-form-field label {}

.blocks-form-field input {}

.modaal-content-container {
    padding: 0;
}

.modal {
    margin: 0;
}

.tabs {
    margin-bottom: 24px;
}

.tab-nav {
    margin-top: -24px;
    margin-right: 24px;
    height: 24px;
}

.tab-nav a,
.tab-nav a:hover {
    color: rgba(0, 0, 0, .6);
}

.tab-nav .fa-cog {
    color: #202020;
}

.tabs-wrapper {
    border: 1px solid #f8f8f8;
}

.inline-header {
    display: inline;
}

.modal {
    margin: 0 auto;
}

.modal-header h2.main {
    display: inline;
}

.modal-header h3.muted {
    margin-top: 8px;
}

.modal-body {
    font-size: 16px;
}

.fa-4 {
    font-size: 4em;
}

.remodal-overlay {
    background: rgba(43, 46, 56, 0.07);
}

.remodal {
    box-shadow: 0 0 6px black;
    text-align: left;
}

.controls span {
    font-size: inherit;
    background-color: transparent;
    line-height: inherit;
    padding: 0 2px;
}

.thumbnail {
    max-width: 140px;
    border: solid 1px black;
}

#floorplan-collapse {
    margin: 10px;
}

#floorplan-collapse h4 {
    font-size: 18px;
    border-bottom: 1px solid black;
    padding-left: 1em;
}

.floorplan-container {
    margin: 10px 0 10px 0;
    padding: 0;
}

.form-item.inline, 
.form-item.inline label,
.form-item.inline input {
  display: inline;
}

.form-item label {
    font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
}

.form-item.slim {
    margin-bottom: 2px;
}

h2.standalone,
h4.standalone {
    padding-top: 39px;
    padding-bottom: 39px;
}

h4.standalone {
    padding-top: 39px;
    padding-bottom: 9px;
}

.fa-red {
    color: red;
}

.frontpage-row {
    max-width: 1280px;
}

.frontpage-row p {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

input[type=radio],
input[type=checkbox] {
    vertical-align: middle;
}

img.preview {
    max-width: 128px;
}

.text-inactive * {
    font-weight: 300;
    font-style: italic;
}

.text-archived * {
    font-weight: 300;
    font-style: italic;
    text-decoration: line-through;
}

.circle-container {
    display: flex;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
}

.circle-badge-blue,
.circle-badge-green {
    min-width: 200px;
    width: 50%;
    max-width: 300px;
}

.circle-badge-blue:after,
.circle-badge-green:after {
    content: "";
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    background: #f5f5f5;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

.circle-badge-blue:after {
    background: rgba(81, 181, 236, 0.20);
}

.circle-badge-green:after {
    background: rgba(101, 195, 74, 0.20);
}

.circle-badge div {
    float: left;
    width: 100%;
    padding-top: 33%;
    line-height: 1em;
    margin-top: -0.5em;
    text-align: center;
    color: darkgrey;
}

.circle-badge h1 {
    font-size: 3em;
    line-height: 1em;
    margin: 0;
}

.circle-badge h2 {
    font-size: 1.6em;
    line-height: 1em;
}

form button.margin {
    margin-top: 8px;
}

.address {
    padding-bottom: 16px;
}

.pull-left {
  float: left;
}

.clear {
  clear: both;
}

@media print {
    body {
        margin: 0;
        padding: 0;
        min-width: 210mm;
        width: 210mm;
        max-width: 210mm;
    }
    header {
        height: 0;
    }
    .content {
        margin: 0;
        min-width: 210mm;
        width: 210mm;
        max-width: 210mm;
    }
    .row {
        margin: 0;
        height: 37mm;
        width: 210mm;
        flex-wrap: nowrap;
    }
    .col,
    .col-4 {
        margin: 0;
        padding: 6mm 0;
        max-width: 33.3%;
    }
    .address {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .tabs-wrapper {
      border: none;
    }
}

@media only screen {
  .show-only-on-print {
    display: none !important;
  }
}

