/**
 * all.css - The main css file used for customizing the AIC Contractor's site
 *
 * @author James Kinsman <jkinsman@hrtransit.org>
 * @copyright 2022 Hampton Roads Transit
 */

/* PRINT */
@media print {

    *{
        color: #000 !important;
        background-color: none !important;
    }

    body{
        padding: 0px !important;
    }

    header, footer, #nav-menu-modal, #morphsearch{
        display: none !important;
    }
}

/* MOBILE-FIRST - The majority of this css is for mobile-first except where specified **/

.error {
    color: red;
    background-color: pink;
}

.box {
    border: 1px solid;
    padding: 5px;
    margin: 2px;
    text-align: center;
}

/* hide this error box until it gets shown by javascript */
.jserror {
    display: none;
}

.error.box {
    border: 1px solid red;
}

/** for flash messages **/
.message.box {
    border: none;
}

label {
    margin-right: 3px;
}

menu.top-bar-menu {
    display: none;
    list-style-type: none;
    position: absolute;
    right: 0;
    padding-left: 0;
    margin-top: -1px;
    z-index: 1;
}

menu.top-bar-menu li{
    padding: 0;
    border-left: 1px solid #3b5aa8;
    border-right: 1px solid #3b5aa8;
    border-top: 1px solid #3b5aa8;
    border-bottom: 0;
    margin: 0 auto;
    text-align: center;
    background-color: #38b2e6;
}

menu.top-bar-menu li a {
    display: block;
    padding: 5px;
}
menu.top-bar-menu li a,menu.top-bar-menu li a:visited,menu.top-bar-menu li a:hover,menu.top-bar-menu li a:active {
    color: inherit;
}
menu.top-bar-menu li a:hover {
    background-color: #80D6FF;
    color: black;
}

menu.top-bar-menu li:last-child{
    border-bottom: 1px solid navy;
}

menu .top-bar-item {
    border: 1px dashed darkblue;
}

.top-bar {
    display: flex;
    background-image: linear-gradient(to right, whitesmoke, #2f6c9e);
    border-bottom-right-radius: 10px;
    margin-top: -8px;
    border-bottom-left-radius: 10px;
    padding-right: 10px;
    width: 99.8%;
    margin-bottom: 10px;
}


.top-bar-item a.box-shadow-menu {
    color: white;
}

.box-shadow-menu {
    position: relative;
    padding-left: 1.25em;
    font-size: 22px;
}

.box-shadow-menu:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25em;
    width: 1em;
    height: 0.15em;
    background: #82e9ff;
    box-shadow:
            0 0.25em 0 0 #82e9ff,
            0 0.55em 0 0 #82e9ff;
}

.top-bar-item.center {
    margin-right: auto;
}

.loggedinusername {
    color: white;
    margin-right: 3px;
}

.loggedout {
    color: white;
    margin-right: 3px;
}

.passwordStrengthForcer {
    margin-bottom: 5px;
    border: 1px solid black;
    padding: 5px;
}


main {
    padding-left: 10px;
    padding-bottom: 10px;
}

input[type="text"], input[type="password"], input[type="email"] {
    width: 100%;
}
.nowrap {
    white-space: nowrap;
}

.input-list{
    list-style-type: none;
    margin: 0px 0px 30px;
    padding: 0px;
    border-bottom: 1px solid #ddd;
}

.input-list > li{
    border-top: 1px solid #ddd;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    min-height: 40px;
	overflow: auto; /* JC */
}

.input-list > li label{
    /* width: 99%; 99% prevents a horizontal scrollbar */
	width: auto; /* JC */
    display: inline-block;
    padding-top: 5px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    line-height: 30px;
}

#upload-photos label.lbltag{ line-height: 40px; } /* JC */


.input-list > li input{
    position: absolute;
    top: 10px;
    right: 5px;
    z-index: 10;
    vertical-align: middle;
}

div.stop_description {
    margin-bottom: 10px;
}
/** mobile-first design so by default show mobile-only **/
.mobile-only {
    display: block;
}
span.mobile-only {
    display: inline-block;
}
/** by default hide desktop-only **/
.desktop-only {
    display: none;
}
span.desktop-only {
    display: none;
}

/* MOBILE */
/* @media screen and (max-width: 767px) and (min-width: 200px){ */

@media screen and (max-width: 900px) and (min-width: 200px) {
    html, body{
        font-size: 16px;
        line-height: 24px;
    }
}

/** super small screens old phones with 320px for example **/
@media screen and (max-width: 355px) {
    #logo{ margin-left: -15px; }
    main.page {
        padding: 0;
        padding-left: 5px;
    }
}



/* GENERAL TAG */
html, body{
    font-family: Roboto, Helvetica, sans-serif;
    font-size: 18px;
    height: 100%;
    line-height: 28px;
    margin: 0px;
    padding: 0px;
    position: relative;
    width: 100%;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

h3 {
    margin-bottom: 15px;
}

h4 {
    margin-top: 15px;
}

textarea {
    width: 90%;
}

/** by default hide the comment box **/
textarea[name=hrtaddress_comments] {
    display: none;
    height: 125px;
    width: 100%;
}

a#lnkMenu {
    position: absolute;
    right: 0;
    top: 0;
    line-height: 60px;
    margin-right: 15px;
    display: block;
}

/* also add */
a#lnkMenu > i { vertical-align: middle; }

#lnkMenu .fa.fa-bars {
    font-size: 2em;
}

/* SERVICE ALERTS changed to Menu */
nav#nav-menu-modal{
    background-color: rgb(56,178,230); /* was ce5151 */
    height: 40px;
    line-height: 40px;
    /* padding: 0px 15px; -- JAY 10/5 */
    position: fixed;
    right: 0px;
    top: 0px;
    z-index: 200;
    min-width: 0%;
    width: 180px;
    text-align: center;


    -webkit-transition: min-width .25s ease-in, height .25s ease-in;
    -moz-transition: min-width .25s ease-in, height .25s ease-in;
    transition: min-width .25s ease-in, height .25s ease-in;

}

nav#nav-menu-modal .fa{
    color: rgb(43, 133, 171);
}
nav#nav-menu-modal a, nav#nav-menu-modal a:link, nav#nav-menu-modal a:active, nav#nav-menu-modal a:visited {
    color: #fff;
    text-decoration: none;
}
nav#nav-menu-modal a:hover{

}

nav#nav-menu-modal #menu-modal{
    display: block;
    width: 0;
    /* height: 0px; */
    overflow: hidden; /* IF THERE ARE PROBLEMS... */
    max-width: 900px;
    padding: 0;
    margin: 0;
    text-align: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

nav#nav-menu-modal.open #menu-modal{
    width: 100%;
    /* overflow: auto; */
    padding: 50px 30px;
    margin: auto;
    /* height: auto; */
}
#menu-modal h3{
    font-size: 4.5em;
    color: rgb(36, 113, 145);
    font-weight: 700;
    width: 0%;
    overflow: hidden;

    opacity: 0;
    transform: translateY(100px);
}


nav#nav-menu-modal.open #menu-modal h3{
    margin-bottom: 0px;
    width: 100%;
    overflow: inherit;

    font-size: 4.5em;
    border-bottom: 1px solid rgba(43, 133, 171, 0.5);
    color: rgb(29, 90, 115);
    font-weight: 700;

    opacity: 1;
    transform: translateY(0px);

    -webkit-transition: opacity .7s, transform .7s;
    -moz-transition: opacity .7s, transform .7s;
    transition: opacity .7s, transform .7s;

    -webkit-transition-delay: .4s;
    transition-delay: .4s;
}



nav#nav-menu-modal.open{

    min-width: 100%;
    height: 100%;
    z-index: 20000;

    -webkit-transition: min-width .4s, height .4s;
    -moz-transition: min-width .4s, height .4s;
    transition: min-width .4s, height .4s;
}
nav#nav-menu-modal.open > a{
    opacity: 0;
    /*
    -webkit-transition: all .2s ease-in;
    -moz-transition: all .2s ease-in;
    transition: all .2s ease-in;
    */
}
nav#nav-menu-modal.open span.close::before {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
nav#nav-menu-modal.open span.close::after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
nav#nav-menu-modal.open span.close::before, nav#nav-menu-modal.open span.close::after {
    background: #000;
    content: '';
    height: 100%;
    left: 50%;
    opacity: 0.4;
    position: absolute;
    top: 0;
    width: 2px;
}

nav#nav-menu-modal.open span.close:hover::before, nav#nav-menu-modal.open span.close:hover::after {
    opacity: 1;
}

nav#nav-menu-modal span.close{
    opacity: 0;

    transform: scale(1);
}
nav#nav-menu-modal.open span.close {
    cursor: pointer;
    height: 36px;
    opacity: 1;
    overflow: hidden;
    /* pointer-events: none; */
    position: absolute;
    right: 40px;
    text-indent: 100%;
    top: 40px;
    width: 36px;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    transform: scale(1);

    -webkit-transition: opacity .3s, transform .3s;
    -moz-transition: opacity .3s, transform .3s;
    transition: opacity .3s, transform .3s;

    -webkit-transition-delay: 0.5s;
    transition-delay: 0.5s;
}

/** make lines dividing items and on top too **/
nav#nav-menu-modal #menu-modal li:first-child{
    border-top: 1px solid rgba(43, 133, 171, 0.5);
}

nav#nav-menu-modal #menu-modal li{
    position: relative;
    padding: 30px 0px;
    margin: 0px;
    opacity: 0;
    /*
    transform: translateY(100px);
    */
    border-bottom: 1px solid rgba(43, 133, 171, 0.5);

    /*
    -webkit-transition: opacity .4s, transform .4s;
    -moz-transition: opacity .4s, transform .4s;
    transition: opacity .4s, transform .4s;

    -webkit-transition-delay: 1s;
    transition-delay: 1s;
     */
}


nav#nav-menu-modal .last-updated{
    font-size: 14px;
    display: none;
    text-align: center;
    line-height: 20px;
    margin-top: 60px;
}

nav#nav-menu-modal .last-updated span{
    /* color: #ce5151; */
    color: rgb(43, 133, 171);
    /* text-shadow: 2px 2px 0px rgba(150,30,30,.8); */
    /* background: rgba(150, 30, 30, .2); */
    display: inline-block;
    padding: 15px;
    border-radius: 5px;
}

nav#nav-menu-modal.open .last-updated{
    display: block;
}

nav#nav-menu-modal.open #menu-modal li{
    opacity: 1;
    /*
    transform: translateY(0px);

    -webkit-transition: opacity .7s, transform .7s;
    -moz-transition: opacity .7s, transform .7s;
    transition: opacity .7s, transform .7s;

    -webkit-transition-delay: .6s;
    transition-delay: .6s;
     */
}

#menu-modal li h4{
    font-weight: 400;
    letter-spacing: 0.03em;
    text-shadow: 2px 2px 0 rgba(43, 133, 171, 0.8);
    font-size: 28px;
    line-height: 30px;
    margin: 0;
    padding: 0;
    color: #fff;
}

#menu-modal li time{
    font-size: 14px;
    display: block;
    line-height: 20px;
}

ul.current-menu-items{
    list-style-type: none;
    margin: 0;
    padding: 0;
    margin-top: 60px;
}

.current-menu-items li.logout h4 {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

nav#nav-menu-modal.open{
    overflow: auto;
}

nav#nav-menu-modal.open span.close{
    position: fixed;
}

nav#nav-menu-modal.open #menu-modal{
    padding: 52px 40px 30px 40px;
}

nav#nav-menu-modal{
    top: 0;
    right: auto;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 0;
}

nav#nav-menu-modal.open #menu-modal h3{
    font-size: 2em;
}

nav#nav-menu-modal.open #menu-modal li{
    padding: 15px 0px;
}

#menu-modal li h4 {
    font-size: 20px;
    line-height: 24px;
}

header {
    height: 60.11px;
}

h2{
    font-size: 29px;
}

.submitrow {
    text-align: right;
}
.submitrow.center {
    text-align: center;
}

.center {
    text-align: center;
}

i.eyeslashicon, i.fa.fa-eye-slash,i.fa.fa-eye{
    cursor: pointer;
    padding: 3px;
    margin-left: -25px;
}

footer {
    color: #7F8CA3;
    font-size: 14px;
    line-height: 16px;
    padding-top: 30px;
    text-align: center;
    padding-bottom: 60px;
}

/* JC */
/*  
.input-list > li label.lblfile {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 3px 6px;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 5px;
    z-index: 10;
    vertical-align: middle;
    width: auto;
    font-size: smaller;
}
*/

.input-list > li label.lblfile {
	width: auto;
	margin-top: 5px;
	float: right;
}
/* JC */


.error-message {
    display: none;
}
.error-message {
    display: none;
    border: 1px solid rgba(255,0,0,.35);
    background: rgba(255,0,0,.15);
    padding: 20px;
    border-radius: 2px;
    margin-bottom: 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.error-message h4 {
    color: #900;
    font-size: 24px;
    letter-spacing: 0;
    line-height: 26px;
    margin: 0 0 20px 0;
}

div.message.box.success {
    margin: -20px 0px 0px 0px;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 10px;
    background: rgba(77,175,124,.2);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-bottom: 10px;
}

div.err{
    background: #ce5151;
    color: #fff;
    margin: 10px auto;
    width: 100%;
    padding: 15px;
    font-weight: bold;
    text-align: center;
    text-shadow: 1px 1px 0px #961e1e;
    letter-spacing: 0.03em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

div.err h4{
    color: #fff;
}

main{
    min-height: 70vh;
    padding: 0 30px;
}

[disabled]{
    background-color: silver;
    color: gray;
}

button{
    margin-top: 10px;
}

main.settings label {
    margin-top: 10px;
}

/* DESKTOP */
@media screen and (min-width: 650px) {
    /*
    .input-list > li input, .input-list > li label.lblfile {
        position: static;
        vertical-align: middle;
    }
    .input-list > li label {
        width: auto;
    }


    .submitrow {
        text-align: center;
    }
     */
    main {
        max-width: 650px; margin: auto
    }
    .mobile-only {
        display: none;
    }
    span.mobile-only {
        display: none;
    }
    span.desktop-only {
        display: inline-block;
    }
    .desktop-only {
        display: block;
    }
}

.page.login form label {
    display: block;
    margin-bottom: 5px;
}

body {
    font-family: Roboto, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 20px;
    font-weight: 300;
}

.form-item {
    margin-bottom: 30px;
}

.page form input[type="text"],
.page form input[type="email"],
.page form input[type="password"],
.page form input[type="time"] {
    font-size: 16px;
    line-height: 40px;
    height: 40px;
    padding: 0 15px;
    margin: 0;
    border: 0;
    width: 100%;
    background: rgba(56,178,230,.5) !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


.form-item button, .form-item input[type="submit"] {
    background: #68bd45;
    border: none;
    border-collapse: collapse;
    border-radius: 3px;
    box-shadow: 0px 2px 5px rgba(0,0,0,.15);
    color: #fff;
    font-size: 16px;
    height: 40px;
    letter-spacing: 0.08em;
    line-height: 42px;
    padding: 0px 15px;
    cursor: pointer;
    position: relative;
    text-transform: uppercase;
    vertical-align: bottom;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
}



#not-amenity-warning{
	color: #fff;
	background: #CE5151;
	font-weight: bold;
	text-align: center;
	padding: 15px;
	margin: 0px 0px 30px;
	font-size: 20px;
	line-height: 24px;
}