﻿body {
    margin: 10px;
}
.dl-menuwrapper button, body, h1, h2, h3, h4, h5, h6, input, button, select, textarea, .navbar-search .search-query {
    font-family: 'Open Sans',sans-serif;
}

.row{
    margin: 10px;
}

#sectionNote{
    margin: 5px 0px 5px 5px;
}

#welcome {
    font-size: 16px;
    line-height: 21px;
    background-color: #f1f4f7;
    color: #65676f;
    padding: 30px;
    margin: 0px 20px 20px 20px;
}

#train_panel, #station_panel {
    color: #333;
    background-color: #47484D;
    border-color: #ddd;
    border: 1px solid transparent;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.columnpanel {
    float: left;
    width: 100%;
}

.columnTrains {
    float: left;
    width: 50%;
}

.subsTrain {
    margin-top: 20px;
    float: right;
}

/*currently subscribed panel*/
.sns-subscription {
    background-color: #ccc;
    border: 1px solid #86909a;
    padding: 10px 15px 15px 15px;
    font-size: 14px;
    margin-right: 25px;
    margin-bottom: 40px;
}

#subscribed_head {
    color: #ddd;
    text-decoration: none;
}

.red-links {
    color: #ef3e42;
}

.red-links:hover, .red-links:visited {
    text-decoration: underline;
    color: #ef3e42;
}

a:hover, a:focus {
    text-decoration: none;
}

/*tables inside accordions*/
table {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
    font-size: 15px;
    border: 0;
}

table,
th,
td {
    font-size: 15px;
}

th,
td {
    padding: 6px 20px;
    white-space: normal;
    vertical-align: top;
    font-size: 15px;
    border: 1px solid #ccc;
}

.train_accordion thead tr th:first-child,
.train_accordion tbody tr td:first-child {
    width: 300px;
}


/*button styles*/
#button_row{
    margin:10px 0px 0px 0px;
}

#save_button, #unsubscribe_button, .login {
    border: none;
    background: #ef3e42;
    padding: 0 30px;
    color: #fff;
    font-size: 16px;
    height: 34px;
}

#sns_logout {
    border: none;
    background: #ef3e42;
    padding: 0 30px;
    color: #fff;
    float: right;
    font-size: 16px;
    height: 34px;
    margin-top: 25px;
    margin-right: 5px;
}

/*accordion styles*/
.accordion {
    border: 0;
}

a.accordion-toggle {
    color: #ddd;
    text-decoration: none;
    font-size: 18px;
}

a.accordion-toggle:hover {
    color: #fff;
}

.fa-chevron-right{
    padding-top: 3px;
}

a[aria-expanded=true] .fa-chevron-right {
    
    display: none;
}

a[aria-expanded=false] .fa-chevron-down {
   
    display: none;
}

.service_details {
    float: left;
    width: 50%;
    display: table;
}

.row-fluid:after {
    content: "";
    display: table;
    clear: both;
}

.met_button1:hover {
    text-decoration: none;
    background-color: #5B5E65;
}

.met_bgcolor {
    background-color: #ef3e42;
}

/*form inputs*/
#notification:focus, #mobilevalue:focus, #emailvalue:focus, #codevalue:focus {
    border-color: #ef3e42;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(239, 62, 66, .6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(239, 62, 66, .6);
}

/*accordion panels*/
.mb-0 {
    color: #fff;
    width: 90%;
    /*background: #ef3e42;*/
    background: #53565e;
    display: block;
    line-height: 21px;
    padding: 13px 10px 13px 65px;
}

.mb-0 > a {
    color: #fff;
}

.mb-0 > a:before {
    float: right !important;
    font-family: "Font Awesome 5 Free";
    content: "\f0d7";
    color: #fff;
    padding-right: 5px;
}

.mb-0 > a.collapsed:before {
    font-family: "Font Awesome 5 Free";
    float: right !important;
    color: #fff;
    content: "\f0d7";
}

.mb-0 > a:hover,
.mb-0 > a:active,
.mb-0 > a:focus {
    color: #fff;
    text-decoration: none;
}

.accordion-inner-subscribed-panel{
    background: #fff;
    padding: 10px;
}

/*Media Queries*/
@media (max-width: 1110px) {
    .train_accordion thead tr th:first-child,
    .train_accordion tbody tr td:first-child {
        width: 125px;
    }
}
@media (max-width: 835px) {
    #accordionEx {
        width: 85%;
    }

    .sns-subscription {
        margin-right: 0px;
    }
}

@media (max-width: 702px) {
    #button_div {
        min-width: 470px;
    }

    .sns_logout {
        margin-right: 35px;
        
    }
}

@media (max-width: 600px) {
    #button_div {
        min-width: 435px;
    }

    .sns_logout {
        margin-right: 35px;
    }
}

@media (max-width: 500px) {
    #button_div {
        min-width: 400px;
    }

    .sns_logout {
        margin-right: 75px;
    }
    .train_accordion thead tr th:nth-child(2),
    .train_accordion tbody tr td:nth-child(2) {
        width: 150px;
        word-break: break-word;
        white-space: normal;
    }
}

@media (max-width: 375px) {
    #sns_button {
        padding: 0 10px;
    }

    #save_button {
        margin-top: 0px;
    }

    #sns_logout {
        padding: 0 10px;
        margin-right: 0px;
    }

    #button_div {
        width: 350px;
    }
}

@media (max-width: 350px) {
    #sns_button {
        padding: 0 5px;
    }
}

@media (max-width: 324px) {
    table,
    th,
    td {
        font-size: 14px;
    }
}

@media (max-width: 288px) {
    table,
    th,
    td {
        font-size: 10px;
    }
}

/* Login Page */

.option {
    margin-bottom: 15px;
}

.option > label {
    font-weight: bold;
    color: #ef3e42;
    font-size: 16px;
    margin-left: inherit;
}

.option-details {
    padding-bottom: 20px;
}

    .option-details > .row {
        margin-left: 55px;
        margin-bottom: 0;
    }

    .option-details > p {
        margin-left: 65px;
    }

.option-textbox-label {
    padding-left: 0 !important;
    font-weight: bold !important;
}

.login {
    margin-left: -20px;
}

#emailConsent, mobileConsent {
    margin-top: 0;
}