﻿.mainWrapper {
    position: relative;
    font-family: 'EB Garamond', 'Georgia', 'Arial', serif;
    color: #000;
    font-size: 14pt;
}

@media print {
    .mainWrapper {
        font-size: 12pt;
    }

    .printHidden {
        display: none !important;
    }
}

.map {
    width: 400px;
    height: 400px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: rgba(0,0,0,0.5);
    text-align: center;
}

    .overlay span {
        color: white;
        font-size: 22px;
        font-weight: bold;
        top: 50%;
        position: relative
    }

.memberStatement {
    color: #F06730;
}

.requiredFieldIndicator::after {
    content: "  *";
    color: red;
}

ul.paginater {
    padding: 0;
    margin: 4px 0 0 10px;
    list-style: none;
}

    ul.paginater li {
        padding: 0 4px 0 0;
        margin: 0;
        display: inline;
    }

.nonMember {
    color: black;
}

span.title {
    font-weight: bold;
}

div.title {
    padding: 5px;
    background-color: #f6f3ee;
    vertical-align: middle;
    margin-top: 10px;
    font-size: 1em;
    font-weight: bold;
}

a {
    text-decoration: none;
    outline: none;
    color: #F26522;
}

    a:hover {
        text-decoration: underline;
    }

.grid-container {
    display: grid;
    display: -ms-grid;
}

    .grid-container.oneColumn {
        grid-template-columns: repeat(1, 1fr);
        -ms-grid-columns: 1fr;
    }

    .grid-container.twoColumn {
        grid-template-columns: repeat(2, 1fr);
        -ms-grid-columns: 1fr 1fr;
    }

    .grid-container.threeColumn {
        grid-template-columns: repeat(3, 1fr);
        -ms-grid-columns: 1fr 1fr 1fr
    }

    .grid-container.fourColumn {
        grid-template-columns: repeat(4, 1fr);
        -ms-grid-columns: 1fr 1fr 1fr 1fr
    }

    .grid-container.fiveColumn {
        grid-template-columns: repeat(5, 1fr);
        -ms-grid-columns: 1fr 1fr 1fr 1fr 1fr;
    }

.tab-nav:nth-child(1) {
    -ms-grid-column: 1;
}

.tab-nav:nth-child(2) {
    -ms-grid-column: 2;
}

.tab-nav:nth-child(3) {
    -ms-grid-column: 3;
}

.tab-nav:nth-child(4) {
    -ms-grid-column: 4;
}

.tab-nav:nth-child(5) {
    -ms-grid-column: 5;
}

.tab-nav {
    cursor: pointer;
    color: #000;
    background-color: #DADCDE;
    padding: 10px;
    border-bottom: 3px solid #F26631;
    text-transform: uppercase;
    font-size: 12pt;
}

@media print {
    .tab-nav {
        padding: 0px;
        text-transform: uppercase;
    }
}


.tab-nav:hover {
    border: 0;
    font-weight: bold;
    background-color: #F4F3EF;
}

.tab-nav.active {
    font-weight: bold;
    background-color: #F4F3EF;
    border: 0;
}

.tab-pane {
    display: none;
    background-color: #F4F3EF;
    padding: 10px;
    border-bottom: 3px solid #F26522;
}

@media print {
    .tab-pane {
        display: none;
        background-color: white;
        border-bottom: 0px;
    }
}

.tab-pane.active {
    display: block;
}

h2 {
    text-align: center;
    font-weight: normal;
    margin-bottom: 0;
}

form.flex {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(1fr, 1fr));
    grid-column-gap: 3em;
    grid-row-gap: 1em;
}

    form.flex > div {
        display: grid;
        grid-template-columns: 11em auto;
    }

    form.flex > div.displayHidden {
        display: none;
    }

    form.flex div > label {
        padding-right: 1em;
    }

    form.flex input[type=text] {
        width: 100%;
        height: 18pt;
        font-family: 'EB Garamond', 'Georgia', 'Arial', serif;
        box-sizing: border-box;
    }

    form.flex select {
        width: 100%;
        height: 18pt;
        font-family: 'EB Garamond', 'Georgia', 'Arial', serif;
        box-sizing: border-box;
    }

.button {
    width: 90px;
    height: 25px;
    border: 0;
    cursor: pointer;
}

.primary-button {
    background-color: #F26631;
    color: #FFF;
}

.secondary-button {
    background-color: #7E9699;
    color: #FFF;
}

.frmButtons {
    margin: 0 auto 0 auto
}

.resultTable {
    background-color: white;
    width: 100%;
    border-collapse: collapse;
}

    .resultTable thead {
        background-color: #F4F3EF;
        text-align: left;
        border-top: 3px solid #F26522;
    }

    .resultTable th {
        padding-bottom: 8px;
        padding-top: 8px;
    }

    .resultTable tbody td {
        border-bottom: solid 1px #f6f3ee;
        padding-top: 3px;
    }

    .resultTable .solicitorOptionDetail {
        padding-right: 10em;
    }


.sectionHighlight {
    border: 1px solid black;
    padding: 10px;
}

.detailTable {
    overflow-x: auto;
    border-top: 1px solid #ccc;
    border-collapse: collapse;
    width: 100%;
    margin-top: 5px;
}

    .detailTable ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }

        .detailTable ul li {
            margin: 0;
            padding: 0;
        }

    .detailTable tr {
        background-color: #fff;
    }

    .detailTable td {
        padding: 5px;
        vertical-align: top;
    }

    .detailTable tr td:first-child {
        word-wrap: break-word;
        width: 30%;
        background: #F4F3EF;
    }

.displayBlock {
    display: block;
}

.displayTable {
    display: table;
}

.displayHidden {
    display: none;
}

.addressDetail {
    text-transform: uppercase;
}

.pageSizes {
    padding: 0.5rem 0px;
    vertical-align: top;
}

    .pageSizes select {
        padding: 0.1rem 0.2rem;
        vertical-align: top;
    }

.display-flex {
    display: flex;
}

.vertical-center {
    align-items: center;
    justify-content: flex-start;
}

.flex-row {
    flex-direction: row;
}

.flex-column {
    flex-direction: column;
}

.input {
    width: 100%;
}

.search-options {
    min-width: 350px;
    width: 350px;
}

/****************/
.autocomplete-suggestions {
    text-align: left;
    cursor: default;
    border: 1px solid #ccc;
    border-top: 0;
    background: #fff;
    box-shadow: -1px 1px 3px rgba(0,0,0,.1);
    /* core styles should not be changed */
    position: absolute;
    display: none;
    z-index: 9999;
    max-height: 254px;
    overflow: hidden;
    overflow-y: auto;
    box-sizing: border-box;
}

.autocomplete-suggestion {
    position: relative;
    padding: 0 .6em;
    line-height: 23px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    color: #333;
}

    .autocomplete-suggestion b {
        font-weight: normal;
        color: #1f8dd6;
    }

    .autocomplete-suggestion.selected {
        background: #f0f0f0;
    }

/*************/

.btn {
    display: inline-block;
    min-width: 150px;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .5rem 2.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0;
    font-family: 'EB Garamond', 'Georgia', 'Arial', serif;
    -webkit-transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    text-transform: capitalize;
}

    .btn:focus, .btn:hover {
        text-decoration: none
    }

    .btn.focus, .btn:focus {
        outline: 0;
        -webkit-box-shadow: 0 0 0 .2rem rgba(242,101,34,.25);
        box-shadow: 0 0 0 .2rem rgba(242,101,34,.25)
    }

    .btn.disabled, .btn:disabled {
        opacity: .65
    }

    .btn:not(:disabled):not(.disabled) {
        cursor: pointer
    }

        .btn:not(:disabled):not(.disabled).active, .btn:not(:disabled):not(.disabled):active {
            background-image: none
        }

a.btn.disabled, fieldset:disabled a.btn {
    pointer-events: none
}

.btn-primary {
    color: #fff;
    background-color: #F26522;
    border-color: #f26522;
}

    .btn-primary:hover {
        color: #fff;
        background-color: #A3A8AD;
        border-color: #A3A8AD
    }

    .btn-primary.focus, .btn-primary:focus {
        -webkit-box-shadow: 0 0 0 .2rem rgba(242,101,34,.5);
        box-shadow: 0 0 0 .2rem rgba(242,101,34,.5)
    }

    .btn-primary.disabled, .btn-primary:disabled {
        color: #fff;
        background-color: #f26522;
        border-color: #f26522
    }

    .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
        color: #fff;
        background-color: #d54d0d;
        border-color: #c8490c
    }

        .btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show > .btn-primary.dropdown-toggle:focus {
            -webkit-box-shadow: 0 0 0 .2rem rgba(242,101,34,.5);
            box-shadow: 0 0 0 .2rem rgba(242,101,34,.5)
        }

.btn-outline-dark {
    color: #47525b;
    background-color: transparent;
    background-image: none;
    border-color: #47525b;
}

    .btn-outline-dark:hover {
        color: #fff;
        background-color: #47525b;
        border-color: #47525b
    }

    .btn-outline-dark.focus, .btn-outline-dark:focus {
        -webkit-box-shadow: 0 0 0 .2rem rgba(71,82,91,.5);
        box-shadow: 0 0 0 .2rem rgba(71,82,91,.5)
    }

    .btn-outline-dark.disabled, .btn-outline-dark:disabled {
        color: #47525b;
        background-color: transparent
    }

    .btn-outline-dark:not(:disabled):not(.disabled).active, .btn-outline-dark:not(:disabled):not(.disabled):active, .show > .btn-outline-dark.dropdown-toggle {
        color: #fff;
        background-color: #47525b;
        border-color: #47525b
    }

        .btn-outline-dark:not(:disabled):not(.disabled).active:focus, .btn-outline-dark:not(:disabled):not(.disabled):active:focus, .show > .btn-outline-dark.dropdown-toggle:focus {
            -webkit-box-shadow: 0 0 0 .2rem rgba(71,82,91,.5);
            box-shadow: 0 0 0 .2rem rgba(71,82,91,.5)
        }

.backButton {
    margin-top: 5px;
}

/********************/

/* input validation */
.has-error {
    border: 1px solid red;
    box-shadow: 0px 0px 2px red;
}

/********************/

/* utility */
.spacer-small { padding-top: 10px; }
.spacer { padding-top: 20px; }
.spacer-large { padding-top: 30px; }

/********************/

@media only screen and (max-width: 800px) {
    .tab-display-flex {
        display: flex;
    }

    .tab-flex-row {
        flex-direction: row;
    }

    .tab-flex-column {
        flex-direction: column;
    }

    .search-options {
        min-width: 100%;
        width: 100%;
    }
}

/********************/

@media only screen and (min-width: 601px) and (max-width: 800px) {
    form.flex div > label {
        padding-right: 1em;
        display: block;
    }

    .search-options {
        font-size: 10pt;
        padding: 0.25em 0px;
    }
}

/********************/

@media only screen and (max-width: 600px) {
    .mainWrapper {
        font-size: 8pt;
    }

    .tab-nav {
        font-size: 8pt;
        padding: 1px;
    }

    .grid-container.oneColumn {
        grid-template-columns: repeat(1, 1fr);
    }

    .grid-container.twoColumn {
        grid-template-columns: repeat(1, 1fr);
    }

    .grid-container.threeColumn {
        grid-template-columns: repeat(1, 1fr);
    }

    .grid-container.fourColumn {
        grid-template-columns: repeat(1, 1fr);
    }

    .grid-container.fiveColumn {
        grid-template-columns: repeat(1, 1fr);
    }

    form.flex {
        display: block;
    }

        form.flex > div {
            display: block;
        }

        form.flex div > label {
            padding-right: 1em;
            display: block;
        }

        form.flex input[type=text] {
            display: block;
        }

    .btn {
        display: block;
        width: 100%;
        margin-top: 3px;
    }
}

/********************/

@media only screen and (max-width: 400px) {
    .mob-display-flex {
        display: flex;
    }

    .mob-flex-row {
        flex-direction: row;
    }

    .mob-flex-column {
        flex-direction: column;
    }

    .mob-flex-row.vertical-center {
        align-items: flex-start;
        justify-content: flex-start;
    }

    .search-options {
        min-width: 100%;
        width: 100%;
    }
}

/********************/

.pdf, .pdf * {
    /*font-family: Calibri, Arial, sans-serif !important;*/
}

.referralLetter {
    background-color: white;
    padding: 100px;
    width: 900px;
    font-size: 13px;
}

    .referralLetter.pdf {
        width: auto;
        padding: 60px;
        font-size: 12pt;
    }

.referralLetter .firmRow > td {
    padding-top: 5px;
    padding-bottom: 5px;
}

@media print {
    .referralLetter {
        padding: 0px;
        width: 95%;
    }
}

.printOnly {
    display: none;
}

@media print {
    .screenOnly {
        display: none;
    }

    .printOnly {
        display: block;
    }
}


@page {
    size: auto;
    margin: 0mm;
}
