﻿/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="select"] {
    max-width: 280px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }

    .body-content {
        padding: 0;
    }
}

/*ResidentPortal classes*/
html, body, form {
    height: 100%;
    min-height: 100%;
    width: 100%;
    margin: 0px;
    padding: 0px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    overflow: hidden;
    color: #676767;
}

.body-content {
    height: 100%;
}

.centertext {
    text-align: center;
}

.formViewTable tr td {
    padding: 2px;
    /*text-align:right !important;*/
}

.formViewTable tr th, .formViewTable tr td {
    vertical-align: top;
}

td {
    text-align: left;
}

.gridHeaderTemplate {
    width: 100%;
    text-align: center;
}

.gridHeaderText {
    font-weight: bold;
}

.rightText {
    text-align: right;
}

.fullHeight {
    height: 100%;
}

.floatLeftBox {
    float: left;
    margin: 10px;
}

.clear {
    clear: both;
}

.centerColumn {
    min-height: 500px;
    padding: 10px;
}

.floatWrapper {
    clear: both;
}

.floatLeft {
    float: left;
}

.floatRight {
    float: right;
}

.startColumn {
    width: 50%;
    text-align: center;
    padding-top: 100px;
}

.fullWidth {
    width: 100%;
}

.spacer {
    height: 20px;
}

.block {
    display: block !important;
}

.inline {
    display: inline;
}

.inlineBlock {
    display:inline-block;
}

/*mobile master page*/
#wrapper-outer {
    width: 100%;
    height: 100%;
}

#wrapper-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

#header-outer, #footer-outer {
    flex: none;
    text-align: center;
    width: 100%;
}

#footer-outer {
    background-color: lightgray;
    font-size: 0px;
}

#header-inner, #footer-inner {
    display: inline-block;
}

#header-inner {
    padding-top: 20px;
    width: 100%;
    height: 100%;
    border-bottom: 1px solid black;
}

a.header-link {
    font-size: 1.8em;
    vertical-align: middle;
}

.header-row {
    display: table;
    width: 100%;
}

.header-cell-outer {
    display: inline-block;
    min-width: 20%;
    overflow:hidden;
    vertical-align:top;
    padding-top:10px;
}

.header-cell-middle {
    display: inline-block;
    vertical-align:top;
}

#body-outer {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: auto;
    text-align: center;
}

#body-inner {
    display: inline-block;
    text-align: unset;
    margin-top: 20px;
    padding-left: 5px;
    padding-right: 5px;
    width:100%;
}

.RadGrid {
    display:inline-block;
}

.overflowAuto {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.two-char-tb {
    width: 40px;
}

.four-char-tb {
    width: 80px;
}

/*mobile*/

#modal-launcher {
    /*padding-top:30px;*/
}

#modal-background {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: .8;
    -webkit-opacity: .8;
    -moz-opacity: .8;
    filter: alpha(opacity=80);
    z-index: 1000;
}

#modal-content {
    background-color: white;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    box-shadow: 0 0 20px 0 #222;
    -webkit-box-shadow: 0 0 20px 0 #222;
    -moz-box-shadow: 0 0 20px 0 #222;
    display: none;
    padding: 10px;
    position: absolute;
    top:50px;
    left:50%;
    width: 300px;
    z-index: 1001;
    margin-left:-150px;
    text-align:center;
}

    #modal-background.active, #modal-content.active {
        display: block;
    }

#modal-content-completeDialog.active, #modal-background-completeDialog.active {
    display: block;
}

.mobileRadMenu {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}

li.rmItem {
    width: 100%;
}

.mobileRadMenu ul, .mobileRadMenu ul li, .mobileRadMenu ul li div.rmText {
    width: 100%;
}

.rmRootGroup {
    background: none !important;
    border: none !important;
}

.RadComboBoxDropDown .rcbScroll {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.menuItemBox {
    margin: 2px;
}

input[type=checkbox] {
    margin-top: 10px;
    margin-bottom: 10px;
}

.RadUpload {
    width: 0px !important;
}

.RadCalendar .rcRow th[scope=row] {
    display: none !important;
}

.largeButton {
    min-width: 150px;
    margin: 10px;
    text-align: center;
}

.home-menu {
    list-style-type: none;
    padding: 0;
}

    .home-menu li {
        margin-top: 15px;
    }

        .home-menu li a {
            width: 250px;
            margin: 2px;
            display: inline-block;
            font-size: 1.8em;
        }

#top-logo {
    max-height: 50px;
    /*padding-left:2%;*/
}

.top-login-link-container {
    /*padding-top:30px;*/
}

.centerFormWrapper {
    text-align:center;
    width:100%;
}

#newWorkOrder {
    display:inline-block;
}

.work-requested-textarea {
    min-height: 200px;
    width: 100%;
    min-width: 250px;
    max-width: 450px;
    width: 100%;
    overflow: auto;
}

.checkbox-right {
    margin-right: 15%;
    float: right;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

.warning {
    color: red;
}

.image-list-wrapper {
    clear: both;
}

.image-list-image {
    border: 1px solid #ccc;
    display: table;
    border-spacing: 0;
    border-collapse: separate;
    margin-top: 20px;
    margin-right: 20px;
    height: 100%;
}

.workorder-thumbnail {
    display: table-cell;
    vertical-align: middle;
}

    .workorder-thumbnail img {
        max-width: 150px;
    }

.delete {
    display: table-cell;
    vertical-align: middle;
    margin: 0;
    padding: 0;
    height: 100%;
}

    .delete input {
        border-left: 0.5px solid grey;
        border: 0;
        background: none;
        box-shadow: none;
        text-align: center;
        width: 40px;
        height: 100%;
        border-radius: 0;
    }

.file-input {
    display: none !important;
}

.file-input-wrapper {
    padding: 6px 12px;
    font-size: 1em;
    font-weight: normal;
    text-align: center;
    background-color: #fff;
    border: 1px solid #cccccc;
    border-radius: 4px;
    margin-top: 10px;
    cursor: pointer;
}

    .file-input-wrapper:hover {
        padding: 6px 12px;
        font-size: 1em;
        font-weight: normal;
        text-align: center;
        background-color: #fff;
        border: 2px solid #000;
        border-radius: 4px;
        margin-top: 10px;
        cursor: pointer;
    }

.form-table th {
    font-weight: normal;
    font-size: 1.4em;
}

.form-table input[type=text] {
    min-height: 40px;
}

.form-table input[type=text], .form-table textarea {
    border-radius: 4px;
    border: 1px solid #ccc;
}

.form-table input.rcbInput {
    border: none !important;
}

.clickable {
    cursor: pointer;
}

.make-payment-button, .make-payment-button:visited, .make-payment-button:focus {
    background-color: #266294;
    border: 1px solid #676767;
    border-radius: 4px;
    font-size: 20px;
    padding: 5px;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: normal;
    cursor: pointer;
    text-align: center;
}

    .make-payment-button:hover {
        background-color: #FFFFFF;
        border: 1px solid #676767;
        border-radius: 4px;
        font-size: 20px;
        padding: 5px;
        color: #266294;
        text-decoration: underline;
        font-weight: normal;
        cursor: pointer;
        text-align: center;
    }

    .make-payment-button:disabled {
        opacity:0.3;
    }

.disabled-link {
    opacity: 0.3;
}


    .portal-button {
        background: none;
        border: 1px solid #266294;
        border-radius: 4px;
        font-size: 20px;
        padding: 5px;
        color: #676767;
        text-decoration: none;
        font-weight: normal;
        cursor: pointer;
        text-align: center;
    }

    .portal-button:hover {
        color: #266294;
        background-color: #ebebec;
        text-decoration: none !important;
    }

.wide-button {
    min-width: 250px;
}

.rcbInput {
    border: none;
}

.portal-rcb input {
    border: none !important;
}

.tenant-form-table {
}

    .tenant-form-table .RadComboBox {
        margin: 3px;
    }

    .tenant-form-table input[type=text] {
        border-radius: 3px;
        height: 35px;
        margin: 3px;
    }

    .tenant-form-table th {
        vertical-align: middle;
    }
/*.tenant-form-table th, .tenant-form-table td {
    padding-top:3px;
    padding-bottom:3px;
}*/
.button-row {
    margin-top: 20px;
    margin-bottom: 20px;
}

.pnl-is-default {
    padding-bottom: 10px;
}

.disclaimer {
    font-size: 9px;
    padding-top: 9px;
}

.rgCommandItemHeader {
    width: 100%;
    text-align: center;
}

.rgAddNewButton {
    float: left;
}

/*payments*/

.payment-form {
    font-size: 1.2em;
    margin-top: 10px;
    margin-bottom: 10px;
}

    .payment-form td {
        padding: 3px;
    }

    .payment-form th {
        vertical-align:top;
    }

    .payment-method-list-header {
        font-size: 1.8em;
        padding: 5px;
    }

.payment-method-list-wrapper {
    margin-top: 30px;
    margin-bottom: 30px;
}

.payment-method-list-row {
    /*margin:5px;
    padding: 5px; 
    border-radius: 5px; 
    border: 1px solid darkgrey; 
    border-image: none;*/
}

.payment-method-list-row-button {
    /*margin: 2px;*/
    color: #428bca;
    background-color: #FFFFFF;
    font-size: 1.4em;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid darkgrey;
    width: 100%;
    display: block;
    white-space: normal !important;
}

    .payment-method-list-row-button:focus, .payment-method-list-row-button:hover {
        /*margin: 2px;*/
        color: #2a6496;
        border: 1px solid darkgrey;
        background-color: #ebebec;
    }

.payment-method-list-selected-item {
    margin: 5px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #2a6496;
    border-image: none;
    font-size: 1.6em;
    font-weight: bold;
    background-color: #ebebec;
    color: #2a6496;
    width: 100%;
    display: block;
}

.stacked-button {
    margin: 10px;
    display: block;
}

.modal-dialog-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: grey;
    transition: opacity 500ms;
    visibility: visible;
    opacity: 1;
    z-index:4999;
    overflow-y:auto;
}

.modal-dialog-content {
    margin: 50px auto 0px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 70%;
    min-width: 250px;
    max-width: 550px;
    position: relative;
    transition: all 5s ease-in-out;
}

.infoBox-red {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid red;
    color: red;
}

.infoBox-green {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid green;
    color: green;
}

.terms-box {
    margin-top:10px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid black;
    max-width:550px;
}

.disclaimerBox {
    margin-top: 25px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid gray;
    background-color: #f5f5f5;
}

.checkImage {
    width:450px;
}

.forceRight {
    text-align:right !important;
}

table.runningTotalTable td {
    font-weight:bold;
    font-size:1.2em;
    text-align:right;
}

.checkboxBig > input[type=checkbox] {
     width:20px;
     height:20px;
}

#lblSelectMessage {
    color: red;
    font-size:1.5em;
}

.rcOutOfRange {
    opacity:0.3;
}

.scrollY {
    overflow-y:auto;
}

.marginCenter {
    margin:0px auto;
}

.smallText {
    font-size:0.8em;
}

.desktopOnly {
    display: none;
}

.menuIcon {
    width:20px;
}

.mobileOnly-block {
    display:block;
}

.header-cell-outer.desktopOnly {
    display: none;
}

.offsetRows td {
    padding-left:10px;
    padding-bottom:3px;
}

.mobileMenuButtonBox {
    margin-top:10px;
    margin-bottom:10px;
    font-size:1.2em;
}

.radioButtonListWrapper {
    padding-top:10px;
    padding-bottom:10px;
}

.buttonStackWrapper {
    display:inline-block;
    width:auto;
    margin: 10px 0;
}

.buttonStackWrapper .portal-button {
    width: 100%;
}

.help ol li {
    text-align:left;
    font-size:1.2em;
}

.blueText {
    color: #4472C4;
    font-weight:bold;
}

.italMessage {
    align-self:center;
    font-style:italic;
    display:block;
}
/*Fix day alignment in radatepicker*/
.rcWeek th.rcViewSel {
    display: none;
}

.help h1, .help h2, .help h3, .help h4 {
    text-align: left;
    margin: 10px;
    color: #538135;
}

.helpLink {
    font-size:1.4em;
    margin:10px;
}

.leftText{
    text-align:left;
}

img.helpImage {
    max-width:90%;
    margin:10px;
    border:1px solid;
}

@media screen and (min-width: 768px) {
    td .desktopOnly, th.desktopOnly {
        display: table-cell;
    }

    #headerLoginStatusBox.desktopOnly {
        display: inline-block;
    }

    .mobileOnly-block {
        display: none;
    }

    .header-cell-outer.desktopOnly {
        display:inline-block;
    }

    #header-inner {
        padding: 20px;
        width: 100%;
        height: 100%;
        border-bottom: 1px solid black;
    }

    #top-logo {
        max-height: 60px;
        /*padding-left:2%;*/
    }
}

.about-hidden {
    visibility:hidden;
}

.announcements-wrapper {
    font-size: 1.3em;
    background-color: lightblue;
    margin: 0px 20px 30px 20px;
    border-radius: 6px;
    padding: 15px;
}