﻿#div-debug {
    width: 100%;
    height: 50px;
    padding: 10px;
    background-color: #00ff90;
    border: solid 2px #00ff21;
    text-align: center;
    vertical-align: middle;
    font-size: 20px;
}



/*========== RESPONSIVE DESIGN ==========*/
/* https://responsivedesign.is/develop/browser-feature-support/media-queries-for-common-device-breakpoints */
/*========== CSS3 TRICKS ==========*/
/* https://css-tricks.com/snippets/css/media-queries-for-standard-devices/ */
@media (max-width:1920px) {
    #div-debug::after { content: '1920px'; }
}
@media (max-width:1680px) {
    #div-debug::after { content: '1680px'; }
}
@media (max-width:1600px) {
    #div-debug::after { content: '1600px'; }
}
@media (max-width:1440px) {
    #div-debug::after { content: '1440px'; }
}
@media (max-width:1366px) {
    #div-debug::after { content: '1366px'; }
}
@media (max-width:1280px) {
    #div-debug::after { content: '1280px'; }
}
@media (max-width:1200px) {
    #div-debug::after { content: '1200px'; }
}
@media (max-width:1024px) {
    #div-debug::after { content: '1024px'; }
}
@media (min-width:768px) and (max-width: 1017px) {
    #div-debug::after { content: '768px - 1017px'; }
    .nav > li > a {  
        padding-right: 3px !important;  
        padding-left: 3px !important;
        font-size: 12px !important;
    }
}
@media (max-width:960px) {
    #div-debug::after { content: '960px'; }
}
@media (max-width:800px) {
    #div-debug::after { content: '800px'; }
}
@media (max-width:768px) {
    #div-debug::after { content: '768px'; }
    .form-horizontal .input-group.date,
    .form-horizontal .k-multiselect { margin-left: 15px; }
}
@media (max-width:640px) {
    #div-debug::after { content: '640px'; }
}
@media (max-width:480px) {
    #div-debug { margin-top: 20px; }
    #div-debug::after { content: '480px'; }

    /* Service Manager */
    h3.service-manager {
    }
    h3.service-manager > span {
        display: block;
        padding-bottom: 5px;
        text-align: left;
    }

    .form-inline .pull-right { float: none !important; }
    .form-inline .control-label { width: 100% !important; }
    .form-inline .bootstrap-select.ddl-one { width: 85% !important; }
    .form-inline .no-btn .bootstrap-select.ddl-one { width: 99% !important; }
    .form-inline .btn-go { width: 13% !important; margin-left: 0; }
    .input-group.date { min-width: 98.5% !important; }
    .form-inline .form-group .input-group.date { margin-top: 20px; }
    .form-inline .form-group .valign-label .input-group.date { margin-top: 0px; }

    .form-horizontal .bootstrap-select.ddl-one { 
        width: 90% !important; 
        margin-left: 15px;
    }
    .k-multiselect-wrap { padding-right: 25px; }
}
@media (max-width:360px) {
    #div-debug::after { content: '360px'; }
    body { min-width: 360px; }
    .form-inline .btn-go { width: 99% !important; margin-top: 5px; }
    .form-inline .ddl-two .bootstrap-select { width: 49% !important; }
    .form-inline .ddl-three .bootstrap-select { width: 33% !important; }
    .form-inline .ddl-four .bootstrap-select { width: 24.5% !important; }
    .form-inline .ddl-five .bootstrap-select { width: 19.5% !important; }
}
@media (max-width:320px) {
    body { min-width: 320px; }
    #div-debug::after { content: '320px'; }
}


/*========== BOOTSTRAP ==========*/
/* http://getbootstrap.com/css/#grid */
/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */
@media only screen and (max-width: 767px) {
    #div-debug::before { content: '(XS) '; }
    
    .label-remark02 { margin-bottom: 0px; display: block; }
    .label-remark03 { text-indent: 0px; }
    .label-remark04 { text-indent: 10px; }
    .label-remark05 { padding-top: 0px; margin: 0 10px; }
    .label-time01 { margin-left: 15px; }
}
/* Small devices (tablets, 768px and up) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    #div-debug::before { content: '(SM) '; }
    /* Chart Layout */
    .col-lg-5.col-lg-offset-3 {
        width: 100%;
        margin-left: 0%;
    }
}
/* Medium devices (desktops, 992px and up) */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    #div-debug::before { content: '(MD) '; }
    /* Chart Layout */
    .col-lg-5.col-lg-offset-3 {
        width: 80%;
        margin-left: 10%;
    }
}
/* Large devices (large desktops, 1200px and up) */
@media only screen and  (min-width: 1200px) {
    #div-debug::before { content: '(LG) '; }
    
    /* Bootstrap Dialog */
    .modal-lg { width: 80%; }
}

@media only screen and (min-width: 1200px) and (max-width: 1600px) {
    /* Chart Layout */
    .col-lg-5.col-lg-offset-3 {
        width: 60%;
        margin-left: 20%;
    }
}