﻿.row {
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-12 {
    padding-left: 3px;
    padding-right: 3px;
}

.only {
    white-space: pre-line;
}

.black_ground, html, body, #page-wrapper {
    /*background-image: url("~/assets/SRTTimetableWebM03202501.png");*/
    /*        min-height: 100vh;*/
    /*        background-repeat: repeat;
        width: 100%;*/
    /*filter: var(--img-gray);*/
}


@media only screen and (min-width: 992px) {
    .timetable-row {
        display: flex;
    }

    .equal {
        display: flex;
        flex-wrap: wrap;
    }

    .dash {
        width: 30%;
        background-image: var(--train-detail-dash);
        background-position: center;
        background-size: 1vw 0.1vw;
        background-repeat: repeat-x;
    }

    ._remark {
        color: gray !important;
        font-size: 14px !important;
        /*border-radius: 25px !important;
            border: 2px solid gray !important;*/
        padding: 5px !important;
    }
}

@media only screen and (max-width: 992px) {
    .dash {
        width: 30%;
        background-image: linear-gradient( to right, #aaa 35%, rgba(255, 255, 255, 0) 0% );
        background-position: center;
        background-size: 1vw 0.1vw;
        background-repeat: repeat-x;
    }
}

@media only screen and (max-width: 600px) {
    .timetable-row {
        display: block;
    }

    .equal {
        display: block;
        flex-wrap: wrap;
    }

    .dash {
        width: 20%;
        background-image: linear-gradient( to right, #575757 35%, rgba(255, 255, 255, 0) 0% );
        background-position: center;
        background-size: 1vw 0.2vw;
        background-repeat: repeat-x;
    }

    .font_in_device {
        font-size: 17px !important;
    }

    .font_in_device_header {
        font-size: 25px !important;
    }

    .right_left_0px {
        padding-right: 0px !important;
        padding-left: 0px !important;
    }

    .only {
        white-space: normal;
    }

    .title_ {
        display: block;
    }

    ._none {
        display: none;
    }

    ._remark {
        color: gray !important;
        font-size: 14px !important;
        padding: 5px !important;
    }

    .font-head-box {
        font-size: 17px !important;
    }

    .font-time-box {
        font-size: 1.8rem !important;
    }

    .font-time-box1 {
        font-size: 3.0rem !important;
    }

    .font-time-box2 {
        font-size: 1.3rem !important;
    }

    .font-left-box {
        font-size: 12px !important;
    }

    .none-mobile {
        display: none;
    }
}

@media only screen and (max-width: 320px) {
    .timetable-row {
        display: block;
    }

    .equal {
        display: block;
        flex-wrap: wrap;
    }

    .dash {
        width: 15%;
        background-image: linear-gradient( to right, #575757 35%, rgba(255, 255, 255, 0) 0% );
        background-position: center;
        background-size: 1vw 0.2vw;
        background-repeat: repeat-x;
    }

    .font_in_device {
        font-size: 10px !important;
    }

    .font_in_device_header {
        font-size: 25px !important;
    }

    .right_left_0px {
        padding-right: 0px !important;
        padding-left: 0px !important;
    }

    .only {
        white-space: normal;
    }

    ._none {
        display: none;
    }

    ._remark {
        color: gray !important;
        font-size: 14px !important;
        padding: 5px !important;
    }
}


.select2-hidden-accessible {
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important
}

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s
}

.select2-container--default .select2-selection--single,
.select2-selection .select2-selection--single {
    border: 1px solid #d2d6de;
    border-radius: 0;
    padding: 6px 12px;
    height: 34px
}

.select2-container--default .select2-selection--single {
    background-color: var(--option-bg);
    border: 1px solid #aaa;
    border-radius: 4px
}

.select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 28px;
    user-select: none;
    -webkit-user-select: none
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-right: 10px
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    padding-right: 0;
    height: auto;
    margin-top: -3px
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--option-color);
    line-height: 28px;
    font-size: var(--font-option);
}

.select2-container--default .select2-selection--single,
.select2-selection .select2-selection--single {
    border: 1px solid #d2d6de;
    border-radius: 0 !important;
    padding: 6px 12px;
    height: 40px !important
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 6px !important;
    right: 1px;
    width: 20px
}

.table-font-size {
    font-size: 1.8rem;
}

.table, .chosen-disabled .chosen-single, div.selector, .content-box-header.bg-default > .ui-tabs-nav li > a, .content-box-header.bg-gray > .ui-tabs-nav li > a, .content-box-header.bg-white > .ui-tabs-nav li > a, .content-box-header > .ui-tabs-nav li.ui-tabs-active > a, body .content-box-header > .ui-tabs-nav li.ui-tabs-active > a:hover, .pagination > li > a, .pagination > li > span, .btn-link, a {
    color: white;
}

.dropbtn {
    background-color: transparent;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 45px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

    .dropdown-content div {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        .dropdown-content div:hover {
            background-color: #f1f1f1
        }

.dropdown:hover .dropdown-content {
    display: block;
}