﻿/* ===================================================================================================
HTML
==================================================================================================== */ 
html {
    /* PREVENTS IPHONE FROM ADJUSTING TEXT SIZE IN LANDSCAPE */
    -webkit-text-size-adjust: 100%;
    /*background-color:darkslateblue*/
}
/* ===================================================================================================
RESET AND BORDER BOX
==================================================================================================== */ 
* {
    margin:0px;
    padding:0px;
    box-sizing:border-box;
}
/* ===================================================================================================
ALL RED BORDERS FOR TROUBLESHOOTING LAYOUT
==================================================================================================== */ 
/** {
    border:2px red inset;
}*/
/* ===================================================================================================
BODY
==================================================================================================== */ 
body {
    font-family: 'Roboto', cursive;
    max-width: 100vw;
    position:relative;
    /*background-color:red;*/
}
/* ===================================================================================================
OVERLAY
==================================================================================================== */
#overlay {
    width: 100%;
    height: 100%;
    position:fixed;
    top: 0px;
    left: 0px;
    background-color: rgb(255,255,255);
    display: -ms-flexbox;    
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    z-index:10;
}
.loader {
    border: 10px solid #f3f3f3;
    border-top: 10px solid rgb(100,100,100);
    border-right: 10px solid rgb(200,200,200);
    border-bottom: 10px solid rgb(200,200,200);
    border-left: 10px solid rgb(200,200,200);    
    border-radius: 50%;
    width: 70px;
    height: 70px;
    animation: spin 2s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
#load-message > h2 {
    text-align:center;
    font-size:20px;
    margin-bottom: 1em;
}
#load-message > p {
    text-align: center;
}
/* ===================================================================================================
LOGIN FORM OVERLAY AND STYLES - FOR REFERRAL CALLS PAGES
==================================================================================================== */
#login-overlay {
    width: 100%;
    height: 100%;
    position:fixed;
    top: 0px;
    left: 0px;
    background-color: rgba(255,255,255);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1;
    background-color: #fff;
}
#login-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#login-form {
    display: flex;
    flex-direction: column;
    background-color: #E4E4E4;
    padding: 30px;
    border:1px #999999 solid;
    border-radius: 8px;
}
#login-brand {
    display: flex;
    align-items: center;
}
#un {
    margin-bottom: 10px;
}
/* ===================================================================================================
RESPONSIVE VIDEO - HTML5
==================================================================================================== */
video {
    width: 90%;
    aspect-ratio: 16 / 9;
    background-color: #000;
    margin: 0 auto;
}
/* ===================================================================================================
DIRECTIONS WRAPPER FOR REFERRAL CALLS PAGES
==================================================================================================== */ 
#direction-wrapper {
    margin-bottom:20px;
    margin-top:20px;
}
#directionsp-wrapper {
    border:1px #999999 solid;
    border-radius:8px;
    padding:30px;
    margin-bottom:20px;
}
/* CALL WRAPPER */
.wrapper {
    border:1px #999999 solid;
    border-radius:8px;
    background-color:#DFDFDF;
    padding:30px;
    margin-bottom:20px;
}
#nav-wrapper {
    margin-top:30px;
}
/* print to csv button call report */
#csv {
    float:right;
}
#show-all {
    margin-left:10px;
}
.call-wrapper {
    border: 1px #999999 solid;
    border-radius: 8px;
    padding: 14px;
    margin: 20px;
    background-color: #E9E9E9;
    line-height: 15pt;
}
/* ===================================================================================================
CONTENT WRAPPER
==================================================================================================== */ 
#content-wrapper {
    position:relative;
    z-index:0;
    width:100%;
    /*background-color:rgba(0,0,0,.5);*/
}
/* ===================================================================================================
HEADER
==================================================================================================== */ 
#header {
    width: 100%;
    height:auto;
    background-color:#000;
    background-image: url('../images/CarbonFiberBackground.png');
}
/* ===================================================================================================
HEADER IMAGE
==================================================================================================== */ 
#logo-img {
    max-width: 100%;
    height: auto;
    padding:10px 20px 10px 20px;
}
/* ===================================================================================================
HEADER BAR
==================================================================================================== */ 
.header-bar {
    background-color: #000;
    font-style: italic;
    font-size: 14px;
    color: #fff;
    background-image: url('../images/spacer_background.png');
    background-repeat: repeat-x;
    padding: 5px 0px 5px 0px;
    position: sticky;
    top: 0px;
}
/* ===================================================================================================
MENU BUTTON
==================================================================================================== */ 
#menu-button {
    margin-right:20px;
    font-size:24px;
    cursor: pointer;
    display: block;
    margin-left:auto;
    float:right;
}
/* ===================================================================================================
HOME BUTTON
==================================================================================================== */
#home {
    margin-right:auto;
    font-size:24px;
    cursor: pointer;
    display: block;
    margin-left:20px;
    float:left;
}
/* ===================================================================================================
CONTENT - CONTAINS THE SIDEBARS AND CENTER DIV
==================================================================================================== */ 
#content {
    max-width: 1000px;
    /*background-color:rgba(0,255,0,.5);*/
}
/* ===================================================================================================
PAGE CONTENT - WRAPS THE CONTENT IN THE CENTER DIV
==================================================================================================== */ 
#page-content {
    padding-top: 40px;
    padding-bottom: 40px;
    padding-right:20px;
    padding-left: 20px;
    /*background-color:rgba(255,0,0,.5);*/
}
#page-content > h1 {
	font-size: 26px;
	text-align: left;
	margin: 0px 0px 20px 0px;
	color: #2B4591;
}
#page-content h2 {
	font-size: 18px;
	text-align: left;
	margin: 0px 0px 10px 8px;
	color: #304DA3;
}
#page-content > h2:not(:first-of-type) {
    margin: 50px 0px 10px 0px;
}
#page-content > p {
    text-align: left;
    margin: 0px 20px 10px 20px;
    line-height: 24px;
}
/* ===================================================================================================
ROW WRAPPER
==================================================================================================== */
#row-wrapper {
    min-width: 100%;
}
/* ===================================================================================================
ROW ROW
==================================================================================================== */ 
.row-row {
    width:100%;
}
/* ===================================================================================================
ROW COLUMN
==================================================================================================== */ 
.row-col {
    width:100%;
}
/* ===================================================================================================
ROW ROW DIV
==================================================================================================== */ 
.row-row-div {
    min-width: 260px;
    padding: 30px;
}
/* ===================================================================================================
ROW COLUMN DIV
==================================================================================================== */ 
.row-col-div {
    background-position: 50% top;
    border: 2px solid #999999;
    box-shadow: 5px 5px 5px #C0C0C0;
    background-image: url('../site_v1/images/fade-top.png');
    background-repeat: repeat-x;
    border-radius: 10px;
    width: 100%;
    margin:20px 0px 0px 0px;
    padding-top: 8px;
    padding-bottom: 10px;
    background-color: #EFF0F2;
}
/* ===================================================================================================
FOOTER
==================================================================================================== */ 
#footer {
    width:100%;
    color:#fff;
    height:auto;
    background-color:#000;
    font-size:12px;
    padding:10px 0px 10px 0px;
    background-image:url('../images/spacer_background.png');
    background-repeat:repeat-x;
    text-align:center;
    position:absolute;
    bottom: 0px;
    display:table;
}
#footer img {
    margin-left:1em;
    margin-bottom:-5px;
}
.spacer {
    height: 50px;
    margin: 0 0 -50px 0;
    /* margin: 20px 0 -50px 0; use this if you want #container to have a 'bottom padding', in this case of 20px */
     /*background: transparent; you'll need this if #container's parent element has a different background from #container itself */
}
/* ===================================================================================================
MENU WRAPPER
==================================================================================================== */ 
#menu-wrapper {
    height:100vh;
    width: 300px;
    position: fixed;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-right: -331px;
    background-color: #fff;
    z-index: 1;
}
/* ===================================================================================================
MENU
==================================================================================================== */ 
#menu {
    height:100%;
    width: 300px;
    overflow-y: auto;
    padding-bottom: 200px;
}
/* ===================================================================================================
MENU HEADING
==================================================================================================== */ 
.menu-heading {
    color: rgb(100,100,100);
    font-size: 16px;
    padding: 10px;
    cursor: pointer;
    margin-left:10px;
    margin-right:10px;
    margin-bottom: 10px;
    border-radius: 4px;
    text-align: center;
    border: 1px #999999 solid;
    background-color:#000;
    color:#fff;
    font-family: 'Anton', sans-serif;
}
.menu-heading:hover {
    color: #fff;
    background-color: rgb(100,100,100);
}
.heading-highlight {
    color: #fff;
    background-color: rgb(100,100,100);
}
/* ===================================================================================================
MENU LINK
==================================================================================================== */ 
.menu-link {
    font-size: 14px;
    font-weight: bold;
    border: 2px rgb(150,150,150) solid;
    border-radius: 4px;
    width:82%;
    margin: 0px auto 10px auto;
    padding: 8px 0px 8px 0px;
    cursor: pointer;
    color: rgb(80,80,80);
    background-color: rgb(230,230,230);
    display: flex;
    justify-content:center;
    align-items:center;
}
.menu-link:hover {
    color: #fff;
    background-color: rgb(180,180,180);
}
/* ===================================================================================================
SUBMENU
==================================================================================================== */ 
.submenu {
    display:none;
}
.submenu h1 {
    font-size:14px;
    margin-left: 12px;
    margin-right: 12px;
    text-align: center;
}
/* ===================================================================================================
MENU NOTICE - styling for notice in the small screen menu
==================================================================================================== */ 
.menu-notice {
    border: 1px #000 solid;
    border-radius: 4px;
    margin-right:auto;
    margin-left: auto;
    width: 90%;
    padding:10px;
    margin-bottom: 10px;
    text-align: center;
    background-color:#E0E0E0
}
/* ===================================================================================================
MENU CLOSE X
==================================================================================================== */ 
#closex-wrapper {
    display: flex;
    flex-direction: row-reverse;
}
#closex {
    font-size: 36px;
    color: red;
    padding:18px;
    cursor: pointer;
    font-weight:bold;
}
/* ===================================================================================================
IMAGE CAPTION
==================================================================================================== */ 
.caption {
    font-size: 12px;
    text-align: center;
    width: 80%;
    margin: -10px auto 20px auto;
    border: 1px #808080 solid;
    border-radius: 8px;
    padding:10px;
    background-color:#EBEBEB
}
.center {
    margin-right:auto;
    margin-left: auto;
    display: block;
    max-width: 100%;
}
.page-img {
    border: 1px solid #000000;
    padding: 4px;
    box-shadow: 5px 5px 5px #C0C0C0;
    background-color: #FFFFFF;
}
/* ===================================================================================================
PAGE BUTTON
==================================================================================================== */
.page-button {
    padding: 8px 30px 8px 30px;
    border: 1px #808080 solid;
    border-radius: 4px;
    cursor:pointer;
    background-color: #fff;
}
button {
    color: #000;
}
.page-button:hover {
    background-color:#CCCCCC
}
/* ===================================================================================================
PAGE NAV
==================================================================================================== */
.page-nav {
    width: 100%;
    text-align:center;
    margin-bottom: 40px;
    margin-top:-10px;
}
.page-nav > div {
    padding:0px 10px 0px 10px;
    cursor:pointer;
    display:inline-block;
}
.page-nav > div:hover {
    color:red;
}
.page-nav > div:not(:last-of-type) {
    border-right: 1px #666666 solid;
}
/* ===================================================================================================
STANDARD CLASSES
==================================================================================================== */
/* ===================================================================================================
FONT AWESOME PRE-CURSORS
==================================================================================================== */ 
span[data-tel]:before {
    font-family:"Font Awesome 5 Free";
    content:"\f095";
    font-weight:900;
    margin-right:10px;
    color: #2B4591;
}
span[data-email]:before {
    font-family:"Font Awesome 5 Free";
    content:"\f0e0";
    font-weight:900;
    margin-right:10px;
    color: #2B4591;
}
span[data-fax]:before {
    font-family:"Font Awesome 5 Free";
    content:"\f1ac";
    font-weight:900;
    margin-right:10px;
    color: #2B4591;
}
/* ===================================================================================================
HORIZONTAL ROW
==================================================================================================== */ 
hr {
    border-style: solid;
    border-radius: 50%;
    border-color:#999999;
    background-color:#999999;
    width: 80%;
    margin-bottom: 30px;
    margin-top:30px;
    margin-left:auto;
    margin-right:auto;
}
ul {
    margin: 0px 10px 20px 50px;
    line-height: 24px;
}
ol {
    margin: 0px 10px 0px 50px;
    line-height: 24px;
}
ul > li > ul {
    margin-left: 20px;
    margin-bottom: 0px;
}
blockquote {
    font-style: italic;
    padding-left: 30px;
    padding-right:30px;
}
.blue {
    color: #0000CC
}
.red {
    color:red;
}
.max100 {
    max-width: 100%;
    height:auto;
}
.no-bot-margin {
    margin-bottom:0px;
}
.margin-bot-2 {
    margin-bottom: 2px;
}
.margin-bot-5 {
    margin-bottom:5px;
}
.margin-bot-10 {
    margin-bottom: 10px;
}
.margin-bot-20 {
    margin-bottom: 20px;
}
.margin-top-10 {
    margin-top: 10px;
}
.margin-top-15 {
    margin-top:15px;
}
.margin-top-20 {
    margin-top:20px;
}
.margin-right-5 {
    margin-right: 5px;
}

.margin-right-10 {
    margin-right: 10px;
}
.margin-right-20 {
    margin-right: 20px;
}
.border {
    border: 1px #999999 solid;
}
.hidden {
    overflow:hidden;
}
.italic {
    font-style:italic;
}
.underline {
    text-decoration: underline;
}
/* ===================================================================================================
FORM ELEMENTS
==================================================================================================== */
#form {
    padding: 10px 20px 20px 20px;
}
#form h3 {
    margin-bottom:20px;
}
input:focus, button:focus, radio:focus, textarea:focus {
    outline: none;
    border:1px solid #000;
    box-shadow: 0 0 10px #719ECE;
}
input[type=text], input[type=password] {
    padding: 4px 10px 4px 8px;
}
select {
    padding: 4px 10px 4px 0px;
}
.button {
    font-size: 12px;
    font-weight: bold;
    border: 2px rgb(150,150,150) solid;
    border-radius: 4px;
    width: 100px;
    margin: 1px auto 1px auto;
    padding: 6px 6px 6px 6px;
    cursor: pointer;
    color: rgb(100,100,100);
    background-color: rgb(230,230,230);
    display: flex;
    justify-content:center;
    align-items:center;
    display: inline-block;
    margin-top:10px;
}
.button:hover {
	/*color: #ECECEC;*/
	background-color: rgb(200,200,200);
}
button[data-url]::after {
    font-family:"Font Awesome 5 Free";
    content:"\f35d";
    margin-right:5px;
    font-weight:900;
    color: #2B4591;
    margin-left:.5em;
}
button[data-email]::after {
    font-family:"Font Awesome 5 Free";
    content:"\f0e0";
    margin-right:5px;
    font-weight:900;
    color: #2B4591;
    margin-left:.5em;
}
button[data-pdf]::after {
    font-family:"Font Awesome 5 Free";
    content:"\f1c1";
    margin-right:5px;
    font-weight:900;
    color: red;
    margin-left:.5em;
}
textarea {
    padding: 10px;
    font-family: Arial, Helvetica, sans-serif;
    width:100%;
}
.required-input {
    background-color: #F5A6A9;
}
.required-checkbox {
    outline: 3px solid #F5A6A9;
}
#employer, #contractor, #location, #explanation, #comments {
    width: 100%;
}
/* ===================================================================================================
MEDIA QUERIES
==================================================================================================== */ 
@media screen and (max-width:400px) {
    /* referral calls form */
    #publish, #cancel {
        margin-top:5px;
    }
    #logo-img {
        padding: 5px;
    }
    #footer-text {
        display:none;
    }
    #page-content {
        padding:20px 10px 40px 10px;
    }
    #page-content h1 {
        font-size:20px;
    }
    #page-content h2 {
        font-size:16px;
    }
    #page-content p, ol, ul, blockquote {
        font-size: 14px;
    }
    .page-nav > div {
        font-size: 12px;
    }
}
@media screen and (max-width:500px) {
    #search {
        display:block;
        margin-top:10px;
        margin-bottom:20px;  
    }
    .call-wrapper {
        margin:20px 0px 20px 0px;
        font-size:14px;
    }
}
@media screen and (max-width:600px) {
    /* referral call form */
    .wrapper {
        padding: 20px;
    }
    /* referral call form */
    #directionsp-wrapper {
        padding:12px;
    }
    #logo-img {
        padding: 10px;
    }
    
    #page-content h2, #page-content > p {
        margin-left:0px;
    }
    ol, ul {
        margin-left: 20px;
    }
    label {
        display:block;
    }
    #form {
        padding: 20px 0px 20px 0px;
    }
    blockquote {
        padding-left:0px;
        padding-right:0px;
    }
    
}
@media screen and (max-width:740px) {
    #nav-wrapper > button {
        display:block;    
    }
}
@media screen and (max-width:800px) {
    #button-wrapper > button:not(#search) {
        display:block;
        float:none;
    }
    #show-all {
        margin-left:0px;
        margin-top:10px;
        margin-bottom:5px;
    }
}
@media screen and (max-width:860px) {
    .header-bar p {
        display: none;
    }
    #menu-button {
        display:block;
    }
    .sidebar {
        display: none;
    }
}
@media screen and (min-width:1000px) {
    #content {
        margin-left:auto;
        margin-right:auto;
        width:100%;
        padding-right:20px;
        padding-left:20px;
    }
}

/* ===================================================================================================
SUPPORT QUERY FOR FLEX
==================================================================================================== */ 
@supports (display: flex) {
    /*#header {
        border: 4px solid red;
        color: red;
    }*/
    
/* ===================================================================================================
CONTENT WRAPPER
==================================================================================================== */ 
    #content-wrapper {
        display: flex;
        flex-direction: column;
    }
/* ===================================================================================================
HEADER
==================================================================================================== */ 
    #header {
        display:flex;
        flex-direction: row;
        align-items: center;
        justify-content:center;
    }
/* ===================================================================================================
HEADER BAR
==================================================================================================== */ 
    .header-bar {
        display:flex;
        flex-direction: row;
        align-items:center;
        justify-content:center;
        z-index: 1;
    }
/* ===================================================================================================
CONTENT - CONTAINS THE SIDEBARS AND CENTER DIV
==================================================================================================== */ 
    #content {
        display:flex;
        flex-direction:row;
        flex-grow: 1;
    }
/* ===================================================================================================
ROW ROW
==================================================================================================== */ 
    .row-row {
        display: flex;
        flex-direction:row;
        flex-grow: 1;
        flex-basis: 0px;
    }
/* ===================================================================================================
ROW COLUMN
==================================================================================================== */ 
    .row-col {
        display: flex;
        flex-direction: column;
    }
/* ===================================================================================================
ROW ROW DIV
==================================================================================================== */ 
    .row-row-div {
        flex-grow: 1;
        flex-basis: 0px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
/* ===================================================================================================
FOOTER
==================================================================================================== */ 
    #footer {
        position:relative;
        display:flex;
        flex-direction: row;
        align-items:center;
        justify-content: center;
        align-self: end;
    }
    #footer img {
        margin-bottom:0px;
    }
    .spacer {
        display:none;
    }
/* ===================================================================================================
PAGE NAV
==================================================================================================== */
    .page-nav {
        display:flex;
        flex-direction:row;
        justify-content:center;
    }
    
    @media screen and (max-width:900px) {
        .row-row {
            flex-direction:column;
        }
        .row-row-div {
            min-width: 100%;
            padding: 0px;
        }
    }
}
