﻿@media screen {
    .page {
        margin: auto;
    }

    .print-only {
        display: none !important;
    }
}



@media print {

    .no-print, .no-print * {
        display: none !important;
    }
}

/*#region Base*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
}





/* #region Header */

.header {
    padding: .1vh;
    display: flex;
    color: black;
    font-size: 2vh;
    width: 90%;
    margin: auto;
    align-items: center;
    justify-content: space-between;
}

.nav-container {
    background-color: #F1EACF;
    user-select: none;
}

.bar1 {
    display: block;
    height: 0.7vh;
    background-color: black;
}

.bar2 {
    display: block;
    height: 1vh;
    background-color: #741416;
}

.title {
    font-size: 1.6em;
    flex: 1;
    justify-content: flex-start;

}

.app-title1 {
    font-size: 4vh;
    font-weight: bold;
}

.app-title2 {
    font-size: 6vh;
    font-weight: bold;
}

.address {
    font-size: 1.5vh;
    padding: 1em;
    text-align: right;
}

.address2 {
    display: none;
}

.nav-wrapper {
    background-color: black;
    color: white;
}

#nav {
    font-size: 1vh;
    width: 90%;
    margin: auto;
}

    #nav div {
        background-color: blue;
        color: black;
        border: .2vh solid white;
        border-radius: .3vh;
        display: inline-block;
        font-size: 2vh;
        padding: .2vh;
        margin-top: .3vh;
        margin-bottom: .3vh;
        cursor: pointer;
    }

        #nav div:hover {
            background-color: #FFFFFF;
        }

.logo {
    height: 10vh;
    width: auto;
}

/* #endregion */


.content-wrapper {
    position: relative;
    display: block;
    overflow-y: auto;
    color: white;
    flex: 1;
    background-color: #333333;
    background-image: url('Images/COBH_Parchment.jpg');
    background-size: cover;
}

.content {
    width: 90%;
    flex: 1;
    height: 100%;
    margin: auto;
    position: relative;
}

/*#region Footer*/
.footer-container {
    font-size: 2vh;
    background-color: black;
}

.footer {
    color: #F1EACF;
    width: 90%;
    margin: auto;
}
/*#endregion*/

.hidden {
    opacity: 0;
}

/*#endregion*/

/*#region Screen block*/
#screenBlock {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100vh;
    background-color: #111111;
    flex: 1;
    -webkit-transition: background-color 100ms linear;
    transition: background-color 100ms ease-in-out;
    background-color: rgba(11, 11, 11, 0.65);
}

    #screenBlock.fade {
        pointer-events: none;
        background-color: rgba(11, 11, 11, 0);
    }

/*#endregion*/

.progressBox {
    height: 100%;
    display: inline-flex;
    align-self: center;
    justify-content: center;
}

.progressBar {
    display: inline-flex;
    align-self: center;
    border: 1px solid black;
    width: 60px;
    height: .6em;
    padding: 0px;
    text-align: left;
    background-color: white;
}

.progressPct {
    display: block;
    height: 100%;
    background-color: #741416;
}


.sb {
    padding-top: .5em;
    padding-bottom: .5em;
}

.ar {
    width: 100%;
    text-align: right;
}

.ac {
    width: 100%;
    text-align: center;
}

.cx {
    display: flex;
    flex: 1;
    justify-content: space-between;
    border-bottom: 1px dotted grey;
}

    .cx div {
        display: inline-block;
    }


.fl * {
    width: 100%;
}


.il * {
    display: inline-block;
    width: auto;
}

.cv {
    column-rule: none;
    column-count: 3;
}

    .cv div {
        width: 100%;
        display: inline-block;
    }



.dataTable {
    display: table;
    width: 100%;
    background-color: white;
    border-collapse: collapse;
}

    .dataTable .tr {
        display: table-row;
    }

    .dataTable .td {
        display: table-cell;
        border: 1px solid black;
        white-space: nowrap;
        padding: 5px;
    }

.tableStyle {
    display: table;
    width: 100%;
}

    .tableStyle div {
        display: table-cell;
    }

    .tableStyle span {
        text-align: center;
    }



#dtx {
    width: 100%;
    border-spacing: 0;
    border: 1px solid black;
}

    #dtx th {
        background-color: lightslategray;
        border: 1px solid black;
    }

    #dtx td {
        padding: 0;
        border-collapse: separate;
        padding: 7px;
        text-align: center;
    }

.licenseSelect {
    max-height: 200px;
    overflow-y: auto;
}



.formTitleBar {
    display: flex;
    width: 100%;
    background-color: #F1F1FF;
    -moz-box-shadow: 1px 1px 2px #000000;
    -webkit-box-shadow: 1px 2px 15px #000000;
    box-shadow: 1px 1px 2px #000000;
    color: black;
    border-radius: 2px 2px 0px 0px;
    align-items: center;
    justify-content: space-between;
    padding: 0.2em;
}

.formTitle {
    flex: 1;
    text-align: left;
    font-weight: bold;
    padding: 0.2em;
    font-size: 1.2em
}

.formBlock {
    padding: 10px;
    height: 350px;

    overflow-y: auto;
}

.formSection {
    padding: .5em;
    width: 100%;
}

.sectionTitle {
    width: 100%;
    font-weight: bold;
}

.formNav {
    text-align: right;
    padding: .2em;
}

.btn {
    padding: .5em;
    border-radius: .5em;
    font-weight: bolder;
    margin: .1em;
    background-color: #F1F1FF;
    cursor: pointer;
}

    .btn:hover {
        background-color: #cecedb;
    }

.ButtonRow {
    padding: .3em;
    width: 100%;
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    margin: 0 auto;
}



.InputRow {
    padding: .3em;
    width: 100%;
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    margin: 0 auto;
}

    .InputRow label {
        flex: 1;
        text-align: right;
        padding-right: 1em;
        white-space: nowrap;
    }

    .InputRow input[type=text] {
        flex: 5;
        font-size: 1.2em;
    }


.label {
    font-size: 1.2em;
}




/*#region Validation*/
.validationAttention {
    background-color: #FFCCCC;
}

.validationresponse {
    font-weight: bold;
}

.validationresponse li {
    margin-left: 2em;
    color: red;
}

.validationMessage {
    color: red;
    font-size:.8em;
}
/*#endregion*/




/*#region largeRes */
@media (min-width:800px) {

    .dialogForm {
        display: flex;
        flex-direction: column;
        font-size: 1em;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        color: black;
        margin: auto;
        border: 1px solid black;
        border-radius: 0.3em;
        -moz-box-shadow: 5px 5px 15px #555555;
        -webkit-box-shadow: 5px 5px 15px #555555;
        box-shadow: 5px 5px 15px #555555;
        background-color: white;
        padding: .5em;
    }

    .contentForm {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        color: black;
        margin: auto;
        border: 1px solid black;
        border-radius: 0.3em;
        -moz-box-shadow: 5px 5px 15px #000000;
        -webkit-box-shadow: 5px 5px 15px #000000;
        box-shadow: 5px 5px 15px #000000;
        background-color: white;
        padding: .5em;
        font-size: 14px;
    }

    .dialogContent {
        padding: 1em;
    }

    #userInfoFrm {
        width:500px;
    }

    #userInfoFrm > .dialogContent input {
        width:100%;
    }
}
/*#endregion*/




/*#region smallRes */

@media (max-width:799px) {

    .page-wrapper {
        display: block;
        flex-direction: column;
        height: 100vh;
    }

    .header {
        padding: .1vh;
        display: block;
        color: black;
        font-size: 2vh;
        width: 90%;
        margin: auto;
        align-items: center;
        text-align: center;
    }

    .logo {
        height: 10vh;
        width: auto;
    }

    .title {
        font-size: 0.9em;
        flex: 1;
        justify-content: flex-start;
    }

    .app-title1 {
        font-size: 3vh;
        font-weight: bold;
    }

    .app-title2 {
        font-size: 5vh;
        font-weight: bold;
    }

    .address {
        display: none;
    }

    .address2 {
        background-color: #AAAAAA;
        border: 1px solid black;
        font-size: .6em;
        padding: 1em;
        text-align: center;
    }

    .content-wrapper {
        position: relative;
        display: block;
        color: Black;
        height: auto;
        background-color: #333333;
        background-image: url('Images/COBH_Parchment.jpg');
        background-size: cover;
    }

    .content {
        top: 0px;
        position: relative;
        display: block;
        width: 95%;
        height: 100%;
    }

    .contentForm {
        position: relative;
        display: block;
        background-color: #777777;
        color: black;
        border: 1px solid black;
        background-color: white;
        padding: .5em;
        font-size: 14px;
    }

    .dialogForm {
        position: relative;
        display: block;
        color: black;
        margin: 0px auto;
        border: 1px solid black;
        background-color: white;
        padding: .5em;
    }


    .formTitleBar {
        display: flex;
        width: 100%;
        background-color: #F1F1FF;
        -moz-box-shadow: 1px 1px 2px #000000;
        -webkit-box-shadow: 1px 2px 15px #000000;
        box-shadow: 1px 1px 2px #000000;
        color: black;
        border-radius: 2px 2px 0px 0px;
        align-items: center;
        justify-content: space-between;
        padding: 0.2em;
    }

    .formTitle {
        flex: 1;
        text-align: left;
        font-weight: bold;
        padding: 0.2em;
        font-size: 1.6em

    }


    .formBlock {
        flex: 1;
        padding: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;

    }

    .formBlock > div {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        flex: 1;
    }

    .formSection {
        padding: .5em;
        width: 100%;
    }

    .sectionTitle {
        width: 100%;
        font-weight: bold;
    }

    .formNav {
        text-align: right;
        padding: .2em;
    }

        .formNav input[type="button"] {
            padding: .5em;
            border-radius: .5em;
            font-weight: bolder;
            margin: .1em;
            background-color: #F1F1FF;
            cursor: pointer;
        }

            .formNav input[type="button"]:hover {
                background-color: #cecedb;
            }

    .label {
        font-size: 1.2em;
    }


    .tableStyle {
        display: block;
        width: 100%;
    }

        .tableStyle div {
            display: block;
        }

        .tableStyle span {
            text-align: center;
        }

    .dataTable {
        display: block;
        width: 100%;
    }

        .dataTable .tr {
            display: block;
            padding: .5em;
            border: 1px solid black;
        }

        .dataTable .td {
            display: block;
            border: none;
        }



    .cv {
        column-rule: none;
        column-count: 1;
    }

        .cv div {
            width: 100%;
            display: inline-block;
        }

    .lg {
        display: none !important;
    }

    .st {
        font-weight: bold;
    }

    .lt {
        padding: .1em;
        padding-left: 1em;
    }
}
/*#endregion*/






#selectedBusiness {
    font-weight: bold;
}






.notDisplayed {
    display: none;
}



.contactContainer {
    height: 270px;
    display: block;
    overflow-y: scroll;
}

.contactRow {
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: center;
    padding: .3em;
    border-bottom: 1px solid black
}

    .contactRow > div {
        display: inline-block;
    }

.currencyBox {
    text-align: right;
}
