﻿/************************************
LAYOUT
************************************/
.container {
    width: 67%;
    margin: 22px auto;
    padding: 45px 10%;
    background: #fff;
}

.form .container {
    padding: 0 0 46px;
    margin: 0;
    width: 100%;
    height: auto;
}

.g-recaptcha {
    margin-top: 20px;
}


div.form-group.member-year-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

div.member-select {
    flex-basis: 50%;
    margin-right: 20px;
}

div.year-select {
    flex-basis: 24%;
}

div.hcaptcha-row, div.submit-button-row {
    display: flex;
    justify-content: center;
}

div.submit-button-specs {
    width: 16%;
    margin-top: 30px;
}

/************************************
Global Styles
************************************/

body {
    margin: 0 auto;
    padding: 0;
    font-family: Arial, sans-serif;
    /* font-size: 1.2em; */
    line-height: 1.2em;
    background: #092541;
}

div.body-text {
    padding: 0 0 13px;
    line-height: 1.4em;
    font-size: 1.2vw;
}

h1, h2, h3 {
    margin: 0;
    padding: 0.5em 0 0;
    color: #5d5d5d;
    font-family: "Times New Roman", serif;
}

.h3, h3 {
    font-size: 1.5vw;
    font-weight: bold;
}


ul {
    list-style: none;
}

.mandatory-text {
    color: #AA0002;
    font-style: italic;
    padding: 0 0 30px;
    font-size: 0.7em;
}
/************************************
Header Title Styles
************************************/

header {
    background: #fff;
}

.franking-logo {
    margin: 0 auto 44px;
    padding: 0 0 0 20px;
    height: 77px;
}

.fc-title {
    text-align: center;
}

    .fc-title a {
        font-family: "Times New Roman", "serif";
        margin: 0;
        font-size: 4.7vw;
        padding: 0;
        text-align: center;
        color: #092541;
        font-weight: 600;
    }

        .fc-title a:hover {
            text-decoration: none;
        }

.fc-subtitle {
    font-family: "Times New Roman", "serif";
    font-size: 1.3vw;
    font-style: italic;
    padding: 15px 23px 0 0;
    margin: 0;
    color: #092541;
    text-align: right;
}

.faq-button {
    width: 20%;
    margin: 60px 0 0 11%;
}

/************************************
Button Styles
************************************/
.btn {
    margin: 0 2px 15px;
    padding: 1em 1.5em;
    text-transform: uppercase;
    border: 1px solid #545759;
    border-radius: 1px;
    box-shadow: none;
    width: 100%;
    color: #fff;
}

#Exit-btn, #Back-btn, #Clear-btn, #Next-btn, #Print-btn, #Log-btn.btn, #Session-btn.btn {
    display: inline-block;
    width: 150px;
    margin: 0 5px;
    padding: 10px 0;
}

    #Exit-btn.btn, #Back-btn.btn, #Clear-btn.btn, #Next-btn.btn, #Print-btn.btn, #Log-btn.btn, #Session-btn.btn {
        border-radius: 0;
    }

#Exit-btn {
    background: #951212 !important;
    color: #fff;
}

    #Exit-btn:hover {
        background: #c43737 !important;
    }

#Session-btn:hover {
    background: #c43737 !important;
}

#Session-btn {
    background: #951212 !important;
}

#Back-btn {
    background: #6C767A !important;
    color: #fff;
}

#Clear-btn {
    background: #6C767A !important;
    color: #fff;
}

    #Clear-btn:hover, #Back-btn:hover {
        background: #CCCCCC !important;
    }

#Next-btn {
    background: #05435A !important;
    color: #fff;
}

    #Next-btn:hover {
        background: #0877a0 !important;
    }

#Log-btn.btn {
    background: #05435A !important;
}

    #Log-btn.btn:hover {
        background: #0877a0 !important;
    }

#Print-btn {
    background: #027430 !important;
}

    #Print-btn:hover {
        background: #01973d !important;
    }


.submit-button {
    background: #05435A;
    border: none;
    color: #fff;
    padding: 7px;
    height: 50px;
    text-transform: uppercase;
    margin: 0 auto;
    width: 100%;
    line-height: 1em;
}


.btn-warning {
    color: #092541;
    background-color: #FFD160;
    border-color: #092541;
}

    .btn-warning:hover {
        color: #fff;
        background-color: #092541;
        border-color: #092541;
    }

/************************************
Form 
************************************/
input[type=text], select {
    -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
    outline: none;
}

    input[type=text]:focus {
        border: 1px solid rgba(81, 203, 238, 1);
    }

.fa-asterisk {
    color: #922525;
    font-size: 10px;
}

input value {
    color: #ccc;
}

.form {
    background: #fff;
    padding: 0;
}

.form-content {
    background: #fff;
    padding: 0;
}


/************************************
Content
************************************/

#Content {
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.advisory-view img {
    width: 100%;
    height: auto;
}

.body-text li {
    padding: 16px 0 0;
}

.instructions {
    text-align: left;
    padding: 0 3%;
}


/************************************
SEARCH RESULTS TABLE 
************************************/
table.fc-results {
    border: 0px solid #1C6EA4;
    background-color: #FCFCFC;
    width: 100%;
    text-align: left;
    border-collapse: collapse;
    margin: 11px 0 0;
    color: #092541;
}

    table.fc-results td, table.fc-results th {
        border: 1px solid #AAAAAA;
        padding: 3px 10px;
    }

    table.fc-results tbody td {
        font-size: 13px;
    }

    table.fc-results tr:nth-child(even) {
        background: #E0E0E0;
    }

    table.fc-results thead {
        background: #092541;
        border-bottom: 2px solid #444444;
    }

        table.fc-results thead th {
            font-size: 15px;
            font-weight: bold;
            color: #FFFFFF;
            border-left: 2px solid #D8EDFF;
            padding: 10px;
        }

            table.fc-results thead th:first-child {
                border-left: none;
            }

    table.fc-results tfoot {
        font-size: 14px;
        font-weight: bold;
        color: #FFFFFF;
        border-top: 2px solid #444444;
    }

        table.fc-results tfoot td {
            font-size: 14px;
        }

        table.fc-results tfoot .links {
            text-align: right;
        }

            table.fc-results tfoot .links a {
                display: inline-block;
                background: #05435A;
                color: #FFFFFF;
                padding: 2px 8px;
                border-radius: 5px;
            }

/************************************
Select2 Elements
************************************/


h3:nth-child(2) {
    padding: 1em 0;
}

#searchResults {
    font-size: 24px;
    padding: 2px;
    font-weight: bold;
    text-align: center;
    width: 100%;
    margin: 30px 0 0;
    background: #ffffff;
}

.text-danger {
    color: rgb(146, 5, 5);
    padding: 6px 0 0;
    line-height: 1.4em;
}

#searchInstructions .body-text ul {
    line-height: 1.3em;
    margin-bottom: 0px;
}

.select2-container {
    box-sizing: border-box;
    display: inline-block;
    margin: 0;
    position: relative;
    vertical-align: middle;
    font-size: 1.1vw;
    width: 100% !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 38px;
}

select.input-lg {
    height: 46px;
    font-size: 1em;
    padding: 0 0 0 7px;
    color: #999;
    line-height: 46px;
}

.input-lg {
    height: 46px;
    padding: 10px 0 0 5px;
    font-size: 1.2vw;
    line-height: 1.3333333;
    border-radius: 6px;
}

    .input-lg + .form-control-feedback, .input-group-lg + .form-control-feedback, .form-group-lg .form-control + .form-control-feedback {
        width: 46px;
        height: 46px;
        line-height: 28px;
    }

.select2-container .select2-selection--single .select2-selection__rendered {
    display: block;
    padding-left: 8px;
    padding-right: 20px;
    overflow: hidden;
    text-overflow: initial;
    white-space: nowrap;
}
.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 4px;
    height: 40px;
}
    /************************************
Footer
************************************/
    footer {
    padding: 0;
}

.footer-bar {
    background: #092541;
    height: 10px;
    width: 100%;
    margin: 0 auto 39px;
}

.footer-text {
    text-align: center;
}


/************************************
FAQ POP UP
************************************/
.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
    z-index: 400;
}

    .overlay:target {
        visibility: visible;
        opacity: 1;
    }

.popup {
    margin: 50px auto;
    padding: 20px;
    background: #092541;
    border-radius: 5px;
    width: 30%;
    position: relative;
    transition: all 5s ease-in-out;
}

    .popup h2 {
        margin: 0 0 20px;
        color: #fff;
        font-family: serif;
        font-size: 3em;
    }

    .popup .close {
        position: absolute;
        top: 20px;
        right: 30px;
        transition: all 200ms;
        font-size: 30px;
        font-weight: bold;
        text-decoration: none;
        color: #fff;
    }

        .popup .close:hover {
            color: #fff;
        }

    .popup .content {
        max-height: 800px;
        overflow: auto;
        color: #fff;
        line-height: 1.5em;
    }

#accordion p {
    color: #000;
}

#collapseTwo ul li {
    list-style-type: disc;
    color: #000;
}

/********************************
MEDIA QUERIES 
********************************/


@media screen and (max-width: 1024px) {
    .container {
        width: 90%;
        padding: 29px 10%;
        margin: 22px 7%;
    }


    .fc-title a {
        font-size: 6.5vw;
    }

    .popup {
        width: 90%;
    }

    .select2-container {
        font-size: 1.7vw;
    }

    #searchResults {
        font-size: 21px;
    }

    .popup .content {
        max-height: 200px;
        overflow: auto;
    }
}

@media screen and (min-width:359px) and (max-width: 813px) {
    .container {
        width: 100%;
        padding: 0;
        margin: 4px 11px;
    }

    .franking-logo {
        margin: 0 0 23px 0px;
        padding: 0;
        background: url("../images/clerk-logo-mobile.jpg") #092541 no-repeat;
    }

        .franking-logo img {
            display: none;
        }

    .fc-title a {
        font-size: 9vw;
    }

    .fc-subtitle {
        font-size: 4vw;
        padding: 15px 12px 0 0;
    }

    .faq-button {
        width: 100%;
        margin: 30px 0 0;
    }

    .select2-container {
        font-size: 4vw;
    }

    .g-recaptcha {
        margin: 0 36px;
        padding-top: 20px;
    }

    .popup {
        width: 90%;
        margin: 5px auto;
    }

        .popup .content {
            max-height: 270px;
            overflow: auto;
        }

    footer {
        padding: 0 0 37px;
    }

    .footer-bar {
        width: 87%;
        margin: 0 auto 26px;
    }

    .body-text li {
        padding: 16px 0 0;
        font-size: 3em;
        line-height: 1.5em;
    }

    #searchResults {
        width: 92%;
        margin: 30px 0 0px 15px;
    }

    div.member-select {
        flex-basis: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    div.year-select {
        flex-basis: 100%;
    }

    div.submit-button-specs {
        width: 100%;
    }
}
