/* Public */
@font-face {
    font-family: OpenSans;
    src: url(../incl/fonts/OpenSans/OpenSans-Regular.ttf);
}

html,body {
    border: 0;
    margin: 0;
    font-family: OpenSans;
    font-size: 16px;
    width: 100%;
    height: 100%;
    position: fixed;
    overflow: hidden;
    background: linear-gradient(rgba(19,158,208,1), rgba(255,255,255,1));
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    /*padding-top: constant(safe-area-inset-top);/*for iOS 11.2 and above*/
    /*padding-top: env(safe-area-inset-top);/*for iOS 11.1 and below*/
}

.arriveDate, .arriveTime  {
    -webkit-appearance: none;
    -moz-appearance: none;
}

a {
    margin: auto;
    display: block;
    width: 100%;
}

a:link {
    text-decoration: none;
    color:inherit;
}

a:visited {
    text-decoration: none;
    color:inherit;
}

a:active {
    text-decoration: none;
    /*background-color: lightgray;*/
    color: inherit;
}

input {
    border: 0;
    font-size: 14px;
    width: 100%;
    text-indent: 5px;
}

textarea {
    border: 0;
    font-size: 14px;
    width: 100%;
    text-indent: 5px;
}

select {
    border: 0;
    font-size: 14px;
    width: 100%;
    text-indent: 5px;
}

select:invalid {
    color:grey
}

#main_content {
    width: inherit;
    /*height: calc(100% - 105px);*/
    height: calc(100% - 50px);
    overflow-y: auto;
}

#outer {
    display: table;
    height: 100%;
    width: inherit;
    border: 0;
    margin: 0;
}

#middle {
    display: table-cell;
    vertical-align: middle;
}

#inner {

    margin-left: auto;
    margin-right: auto;
    padding: 0 10px;
    max-width: 380px;
    min-width: 240px;
}

#header {
    background-color: #000;
    color: white;
    width: 100%;
    height: 50px;
    margin-bottom: 5px;
    /* filter: invert(100%); */
}

#header_container {
    background-color: #fff;
    color: black;
    width: 100%;
    height: 45px;
    margin-bottom: 5px;
    /*filter: invert(100%);*/
    padding-top: constant(safe-area-inset-top);/*for iOS 11.2 and above*/
    padding-top: env(safe-area-inset-top);/*for iOS 11.1 and below*/
}

#header_container div{
    display: inline-block;
}

#header_right {
    float: right;
    padding: 15px 10px 0 0;
}

#header_left {
    padding-left: 15px;
    text-align: left;
}

#header_left div {
    display: inline-block;
}

#header_left_container {
    font-size: 20px;
    padding-top: 10px;
}

#header img {
    height: 25px;
    vertical-align: middle;
    padding-left: 10px;
}

#header_title {
    padding-left: 5px;
    vertical-align: bottom;
}

#header_page_name {
    font-size: 15px;
    vertical-align: middle;
}

#footer {
    display: none;
    font-size: 20px;
    background-color: #000;
    color: white;
    width: 100%;
    height: 45px;
    border: 0;
    margin: 5px 0 0 0;
    margin-bottom: constant(safe-area-inset-bottom); /* iOS 11.0 */
    margin-bottom: env(safe-area-inset-bottom); /* iOS 11.2 */
}

#footer div{
    text-align: center;
}

#footer a{
    font-weight: bold;
    color: white;
    text-decoration: none;
    width: 100%;
    height: 45px;
    line-height: 45px;
    //-webkit-tap-highlight-color: rgba(251, 185, 250, 0.9);

}

#footer a:link {
    text-decoration: none;
    color:inherit;
}

#footer a:visited {
    text-decoration: none;
    color:inherit;
}

#footer a:active{
    text-decoration: none;
    background-color: white;
    opacity: 0.8;
    color: grey;
}

#footer_left {

    float: left;
    background-color: #0099cb;
    width: 50%;
}

#footer_right {
    float: right;
    background-color: #00ccff;
    width: 50%;
}


/* Public end */

/* Home */

#home {
    position: relative;
    height: calc(100vh - 110px);
}

#slogan {
    width: 100%;
    position: absolute;
    top: 10px;
    font-size: 22px;
    text-align: center;
    color: white;
    text-transform: uppercase;
}

#buttons {
    width: 100%;
    position: absolute;
    bottom: 40px;
}

#non_emergency{
    height: 50px;
    //width: calc(100% - 5px);
    border-radius: 35px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    background-color: white;
}

#non_emergency a{
    line-height: 50px;
    height: 50px;
}
.home_button{
    height: 50px;
    //width: calc(100% - 5px);
    margin: 20px 0 0 0;
    border-radius: 35px;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
}

#call_911 {
    background-color: red;
    color: white;
}

#metro_emergency {
    background-color: deepskyblue;
    color: white;
}

#call_metro {
    background-color: #ffcc59;
    color: black;
}

#text_metro {
    background-color: #ffcc59;
    color: black;
}

.home_button {
    line-height: 50px;
    height: 50px;
}
/* Home end */

/* Report */


/* Report end */

/* login */
.page_title {
    display: block;
    width: calc(100% - 5px);
    height: 60px;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: white;
    padding: 10px 0;
}

.page_sub_title {
    display: block;
    width: calc(100% - 5px);
    height: 40px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: white;
    padding-bottom: 5px;
}

#login_text {
    display: block;
    width: calc(100% - 5px);
    height: 40px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: black;
    padding-bottom: 5px;
}

#page_message_container {
    display: block;
    width: 100%;
    height: 50px;
}





.report_record_bold_top{
	font-weight: bold;
	color: black;
	text-decoration: none;
	display: inline;
	white-space: nowrap;
}

.report_record_bold{
	font-weight: bold;
	color: black;
	text-decoration: none;
}

.report_record_light{
	color: grey;
	text-decoration: none;
	font-size: 12px;
}



.report_record_light_proper_case{
	color: grey;
	text-decoration: none;
	font-size: 12px;
	text-transform: capitalize;
}



.report_box {
	width: calc(100% - 20px);
	height: auto;
	background-color: white;
	padding: 10px;
}

.report_box table {
	width:100%;
	padding:10px
}

.report_box td {
	padding-bottom: 10px;
}

.login_message {
    background-color: #f4bc42;
    border-radius: 5px;
    text-align: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 10px;
}




.success_message {
    background-color: #16a81a;
    border-radius: 5px;
    text-align: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 10px;
}

.error_msg {
    background-color: #f44d47;
    border-radius: 5px;
    text-align: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 10px;
}

#form {
    height: 100%;
}

#login{
    width: 90%;
    height: 100%;
    margin: 0 auto;
}

.login_input{
    display: block;
	height: 40px;
    width:100%;
    margin-top: 15px;
    border-radius: 10px;
    text-align: left;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    vertical-align: middle;
}


.login_input input,.login_input select{
    width: 100%;
	height: 100%;
    font-size: 16px;
    border: 0;
    padding: 0;
    text-indent: 1.5em;
    border-radius: 2px;
}

.button{
    width: 100%;
    height:100%;
    font-size: 20px;
    color: white;
    background-color: black;
    border: 0;
    padding: 0;
    margin: 0;
    border-radius: 2px;
}

button:disabled {
    background-color: darkgray;
}

/* index/login end */

/* sign up */

#next {
    float: right;
}
/* sign up end */

/* report incident */

#submit_incident_confirmation_background {
    display: none;
    position: absolute;
    background-color: black;
    opacity: 0.6;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

#submit_incident_confirmation_container {
    display: none;
    position: absolute;
    top: 20%;
    left: 50%;
}
#submit_incident_confirmation{
    border: 0;
    border-radius: 10px;
    position: relative;
    padding: 30px 15px;
    left: -50%;
    background-color: white;
    color: black;
    text-align: center;
    max-width: 400px;
    min-width: 300px;
}
#alert_img{
    display: block;
    text-align: center;
    width: 100%;
}
#alert_img>img{
    width: 100px;
}
#alert_message{
    padding: 30px 0 10px 0;
}
#alert_buttons div{
    display: none;
    position: relative;
    margin: 7px auto;
    color: white;
    background-color: dodgerblue;
    width: 50%;
    height: 30px;
    text-align: center;
    line-height: 30px;
}

#report_title {
    display: block;
    width: calc(100% - 5px);
    height: 40px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: white;
    padding-bottom: 5px;
}

#report {
    width:90%;
    margin: 0 auto;
}
.section {
    margin-top: 10px;
}

.section input{
    height: 25px;
    border-radius: 2px;
}

.location {
    display: none;
}


#section_1 select{
    width: 100%;
    height: 25px;
    text-indent: 5px;
    border: 0;
    padding: 0;
    margin: 0;
    border-radius: 2px;
}

#section_2 {
    height: 50px;
}

#section_2 textarea {
    font-size: 14px;
    width: 100%;
    height: inherit;
    border: 0;
    padding: 0;
    margin: 0;
    text-indent: 5px;
}

#section_3 input{
    width: 100%;
    display: block;
    border: 0;
    padding: 0;
    text-indent: 5px;
    margin-top: 10px;
}

#section_3 textarea{
    margin-top: 10px;
}

#onboard_div input{
    width: 30px;
    display: inline-block;
}

#section_4 {
    width: 100%;
}

#incident_datetime{

    min-height: 25px;
    height: auto;
    display: block;
    border: 0;
    padding: 0;
    text-indent: 5px;
}

input[type="datetime-local"]:before {
    content: attr(placeholder) !important;
    color: #aaa;
    margin-right: 0.5em;
}
input[type="datetime-local"]:focus:before,
input[type="datetime-local"]:valid:before {
    content: "";
}

#divider {
    width:100%;
    text-align:center;
    margin: 10px 0;
}

#divider span {
    padding:0 10px;
}

#section_5 input{
    background-color: white;
    width: 100%;
    display: block;
    border: 0;
    padding: 0;
    text-indent: 5px;
}

#section_6 input{
    width: 100%;
    display: block;
    border: 0;
    padding: 0;
    text-indent: 5px;
    margin-top: 10px;
}
#section_7 input{
    width: 30px;
    display: inline-block;
}
#submit button{
    background-color: black;
    border:none;
    border-radius: 2px;
    width: 100%;
    height: 50px;
    font-size: 20px;
    font-weight: bold;
    color: white;
}
/* report incidents end */

/* Reports */
#reports_table {
    display: table;
    width: 100%;
    height: auto;
    border-spacing: 0px;
}
#reports_table_title, .reports_table_row{
    display: table-row;
    width: inherit;
    height: 30px;
}

.reports_table_cell {
  padding:3px;
  padding-top:4px;
    display: table-cell;
    font-size: 12px;
	border-style: none;
	cursor:pointer;
}

.reports_table_caption {
    display: table-caption;
}

#reports_table_title>div, .reports_table_cell>div {
    color: #676e78;
    display: table-cell;
    border-collapse:collapse;
    text-indent: 5px;
    vertical-align: middle;
	border-style: none;

}
#reports_table_title {
    background-color: #a3e0fd;
    font-weight: bold;
}
.odd_row {
    background-color: #f2f2f2;
}
.even_row {
    background-color: white;
}
/* Reports end */

@media screen and ( max-width: 560px) {

    /* report */
    #title_1 {
        font-size: 18px;
    }

    #title_2 {
        font-size: 14px;
        padding-top: 10px;
    }

    .full_text {
        display: none;
    }
    #section_2 img {
        display: block;
    }

    table#report {
        font-size: 12px;
        word-break: break-all;
    }
    /* report end */
}
