﻿body {
    /*padding-top: 50px;*/
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

    input[type=text] {
        width: 100%;
    }

#logo h1 {
    margin-top: 15px !important;
}

#topNav {
    border: 1px solid #EEEEEE;
}

    #topNav img {
        padding: 29px 0px 28px 0px;
    }

#sidebar {
    padding-left: 0;
}

.navbar-inverse {
    background-color: #152A41;
    border-color: #152A41;
}

.row {
    margin-right: 0;
    margin-left: 0;
}

.navbar-inverse .navbar-nav > li > a {
    color: #fff;
    margin-top: 10px;
}

.navbar-fixed-left {
    position: relative;
    border-radius: 0;
    height: 100%;
    float: none;
    min-width: 135px;
    max-width: 135px;
    margin: 0px;
}

    .navbar-fixed-left .navbar-nav > li {
        float: none; /* Cancel default li float: left */
        /*width: 139px;*/
    }

    .navbar-fixed-left + .container {
        padding-left: 160px;
    }

    /* On using dropdown menu (To right shift popuped) */
    .navbar-fixed-left .navbar-nav > li > .dropdown-menu {
        margin-top: -52px;
        margin-left: 133px;
        background-color: #156391;
        min-width: 140px;
    }

a:focus, a:hover {
    outline-color: transparent !important;
}
.sidenav a:focus, sidenav a:hover {
    outline:0px solid transparent !important;
}
.dropdown-menu
{
    background-color: #156391 !important;
}

.dropdown-menu > li > a {
    color: #fff !important;
    background-color: transparent !important;
    padding: 10px 20px;
}

/*Focus for all the elements based on their classes*/
input:focus, .k-popup .k-list .k-state-focused, select:focus, .icon-custom-close:focus, button:focus,
.k-dropdown-wrap.k-state-focused, .k-grid tbody tr .k-state-focused /*, li a:focus*/ {
    border: 1px solid black !important;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, .5), 0 0 20px rgba(255, 255, 255, .2) !important;
    outline-color: rgba(255, 255, 255, 0) !important;
    outline-offset: 15px !important;
}

#bodytemplate {
    padding-left: 0px;
}

#createReport {
    margin-top: 20px;
}

.imageCreateReport {
    top: -12px;
    right: 25px;
    position: absolute;
}

#email{
    height: 40px;
    margin-right:10px;
    margin-left:0px !important;
    /*width:280px !important;*/
    max-width: 280px;
}

@media only screen and (min-width: 100px) and (max-width: 360px) {

    .imageCreateReport {
        display: none;
    }
}

@media only screen and (max-width: 375px) {

    .imageCreateReport {
        width: 25%;
        top: -11px;
        right: 21px;
        position: absolute;
    }
}

@media only screen and (max-width: 414px) {

    .imageCreateReport {
        width: 25%;
        top: -15px;
        right: 21px;
        position: absolute;
    }
}

@media only screen and (min-width: 415px) and (max-width: 500px) {
    .imageCreateReport {
        width: 20%;
        top: -11px;
        right: 22px;
        position: absolute;
    }
}
@media only screen and (min-width: 501px) and (max-width: 601px) {
    .imageCreateReport {
        width: 17%;
        top: -16px;
        right: 22px;
        position: absolute;
    }
}
@media only screen and (min-width: 602px) and (max-width: 991px) {
    .imageCreateReport {
        width: 15%;
        top: -19px;
        right: 22px;
        position: absolute;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1023px) {
    .imageCreateReport {
        width: 20%;
        top: 8px;
        right: 22px;
        position: absolute;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1300px) {
    .imageCreateReport {
        width: 20%;
        top: 8px;
        right: 21px;
        position: absolute;
    }
}

@media only screen and (min-width: 1301px) and (max-width: 1400px) {
    .imageCreateReport {
        width: 19%;
        top: 2px;
        right: 21px;
        position: absolute;
    }
}

@media only screen and (min-width: 1400px) and (max-width: 1900px) {
    .imageCreateReport {
        width: 18%;
        /*top: -7px;*/
        top: -1px;
        right: 21px;
        position: absolute;
    }
}


@media only screen and (min-width: 767px) {
    #topMenu {
        display: none;
    }
}

@media only screen and (min-width: 767px) and (max-width: 1400px) {
    #bodytemplate {
        padding-left: 55px;
    }
}
/*@media only screen and (max-width: 767px){
    .navbar-nav .open .dropdown-menu {
        width: 150px !important;
    }
}*/



@media only screen and (min-width: 100px) and (max-width: 766px) {
    #sidebar {
        display: none;
    }

    #sidebarCollapse, 
    #header .navbar.navbar-expand-lg.navbar-light{
        display:block;
    }

    #main {
        margin-left: 20px !important;
    }

    #footer-content {
        margin-left: 0 !important;
    }

    .navbar-inverse {
        background-color: transparent !important;
        border-color: transparent !important;
    }

    #topMenu {
        display: block;
    }

    .dropdown-menu {        
        min-width: 100px !important;
        max-width: 150px !important;
    }

    .container {
        min-width: 75px;
        /*max-width: 13.33%;*/
        float: left;
        margin-top: 32px;
    }

    #logo {
        float: right;
        width: 225px;
        margin-top: 10px;
    }

    .navbar-header {
        margin-left: auto;
        background-color: #FFFFFF;
        border-color: #FFFFFF;
    }


    .navbar-inverse .navbar-toggle {
        border-color: transparent;
    }

    .navbar-inverse .navbar-toggle .icon-bar {
        background-color: black;
    }

    #menuButton:hover, #menuButton:focus {
        background-color: transparent !important;
        border: 1px solid black;
    }

    #footer {
        border-top: 1px solid #e6e6e6;
        padding: 18px 50px 0px 18px;
        height: 100px;
    }
}
