.mobile-menu-btn {
    display: none;
}

#mobileShowNav, #mobileHideNav {
    display: none;
}

/* Main navigation and Main Nav collapse */
@media (max-width: 1174px) {
    /* mobile nav clean up */
    /* Hide standard header menu bars - we'll show them with some script later */

    #header .navbar {
        display: none;
    }

    .masthead {
        display: none;
    }

        .masthead .btn-toolbar {
            display: none;
        }

    .masthead-mobile {
        display: flex;
    }

    .mobile-navbar {
        display: flex;
    }

    .masthead #topRightBtns {
        display: none;
    }

    .masthead .nav li {
        display: block;
        float: none;
    }

    .masthead .btn-toolbar .btn-group {
        margin-left: 5px;
    }

        .masthead .btn-toolbar .btn-group button {
            display: inline-block;
            float: none;
            width: 100%;
            /*width: 90vw;*/
            margin-top: 2px;
            margin-bottom: 2px;
            margin-left: -1px;
            height: 50px;
        }

    .masthead .masthead-btns {
        width: 80vw !important;
        display: inline-block;
    }

        .masthead .masthead-btns .btn-group {
            width: 80vw !important;
            display: inline-block;
        }

    .masthead .login-section {
        width: 80vw;
        position: relative;
    }

    .masthead #navButtonBar {
        display: block;
    }

    .masthead-mobile #navButtonBarMobile {
        display: block;
    }

    /* When the class 'mobile-menu-open' is added to the body tag, display the navigation */

    .mobile-menu-open .masthead .nav.nav-pills, .mobile-menu-open .masthead {
        display: block;
    }

        .mobile-menu-open .masthead .nav.nav-pills, .mobile-menu-open .masthead .btn-toolbar {
            display: block;
        }

    .mobile-menu-open .masthead {
        position: fixed;
        width: 90vw;
        z-index: 20000;
        padding-bottom: 30px;
        top: 0;
        left: -100vw;
        min-height: 100vh;
        -webkit-transform: translate3d(0,0,1px);
        transform: translate3d(0,0,1px);
    }

    .masthead .dropdown-menu {
        margin-top: 0px;
        margin-left: 50%;
    }

    #sideMenuDiv {
        padding-left: 5px;
    }

    .CustomerCard_content {
        position: relative;
    }

    @keyframes slide-in {
        0% {
            left: -100vw;
        }

        100% {
            left: 0vw;
        }
    }

    @keyframes slide-out {
        0% {
            left: 0vw;
        }

        100% {
            left: -100vw;
        }
    }

    .masthead.open {
        animation-name: slide-in;
        animation-duration: 250ms;
        animation-iteration-count: 1;
        left: 0px;
    }

    .masthead.close-menu {
        animation-name: slide-out;
        animation-duration: 250ms;
        animation-iteration-count: 1;
        left: -100vw;
    }


    .mobile-menu-open .masthead .nav.pull-left, .mobile-menu-open .masthead .btn-toolbar.pull-left {
        float: none;
        margin-top: 50px;
    }

    .mobile-menu-open .masthead .nav.pull-right {
        float: none;
        margin-top: 15px;
    }

    .mobile-menu-open #header .masthead .container-fluid {
        height: 100vh;
        overflow: scroll;
    }

    #menuDiv.unpin-sidemenu {
        width: 95%;
    }

    /* Make the header bar smaller */

    .mobile-menu-btn {
        display: inline-block;
        height: 40px;
        z-index: 100;
        padding: 2px;
    }

    .mobile-menu-btn img {
        height: 100%;
    }

   .form-horizontal .control-label-wide {
        width: 100%;
    }

    .usermenu .dropdown-menu {
        left: 0;
        right: auto;
    }
}

/* Forms */
.formDiv-100width {
    width: 100% !important;
}

@media (max-width: 600px) {
    .masthead .dropdown-menu {
        margin-top: 0px;
        margin-left: 30%;
    }

    #tleFormPrevRep {
        display: none;
    }
}

@media (max-width: 600px) {

    /* Modals */
    .modal {
        position: fixed !important;
        border: none;
        border-radius: 0;
        left: 0;
        top: 0 !important;
        margin-left: 0;
        width: 100%;
        max-height: 100%;
        overflow: auto;
    }

    /*10% viewport height for header/70% for body/rest for the footer and done/cancels buttons etc */
    .modal-header {
        max-height: 10vh;
        overflow: hidden;
    }

    /* bootstrap modals default to overflow -scroll within the body, so no need to add that here */
    .modal-body {
        max-height: 70vh;
    }

    .modal-footer {
        padding: 10px;
    }

    .modal .form-horizontal .control-label {
        float: none;
        display: block;
        width: 100%;
        text-align: left;
    }

    .modal .form-horizontal .controls {
        margin-left: 0;
    }

    .run-report-btn {
        display: none;
    }
}

@media (max-height: 700px) {
    /* Modals */
    .modal {
        top: 5% !important;
        max-height: 90%;
        overflow: auto;
    }

   /* .modal-body {
        max-height: none;
    }*/

    .modal .form-horizontal .control-label {
        float: none;
        display: block;
        width: 100%;
        text-align: left;
    }

    .modal .form-horizontal .controls {
        margin-left: 0;
    }

    #help-popup-modal {
    }
}

@media (max-width: 900px) {

    /*Global*/
    option {
        font-size: smaller;
    }

    /*Master header*/
    #repType {
        width: 120px;
        overflow: hidden;
        white-space: nowrap;
        overflow-x: hidden;
        overflow-y: hidden;
    }

        #repType h2 {
            font-size: 14px;
            width: 100%;
        }

    /* Search bars */
    .filterbar {
        display: inline-flex;
    }

    /* Contacts Search bar */
    #filterBarOverlapContainer {
        min-height: 50px;
    }

    .filter-bar-mulitfilter {
        padding-top: 0px;
        position: absolute;
    }

        .filter-bar-mulitfilter select {
            height: 24px;
            font-size: 11px;
            width: 70%;
        }

        .filter-bar-mulitfilter input {
            height: 20px;
            font-size: 11px;
            width: 60% !important;
        }

    .filter-bar-search div {
        display: inline-block;
    }

    .filter-bar-search-input {
        width: 100% !important;
    }

        .filter-bar-search-input > select {
            width: 80% !important;
        }

        .filter-bar-search-input > button {
            width: 18% !important;
        }

        .filter-bar-search-input > .input-control-buttons {
            width: 37%;
            border-radius: 1px;
        }

            .filter-bar-search-input > .input-control-buttons button {
                width: 50%;
            }

    .filter-bar-search-mobilehide {
        display: none !important;
    }

    .filter-bar-search-type {
        width: 50% !important;
    }

    .filter-bar-label {
        width: 100% !important;
    }

    .filterbar-button {
        font-size: 12px;
        max-width: 80px;
        padding: 0px 10px 0px 10px;
        border-radius: 0px;
    }

    /* Modals */
    .modal {
        max-height: 100%;
        height: auto;
    }

  /*  .modal-footer {
        padding-bottom: 25px;
    }
*/
    .mobile-hide {
        display: none;
    }

    .mobile-show {
        display: block !important;
    }

    /* The set default modal requires different spacing on smaller devices */

    .setcircuitdefaultsections div {
        position: relative !important;
        padding-left: 0 !important;
        margin-bottom: 5px !important;
    }

    .setcircuitdefaultsections .control-label {
        padding-left: 10px !important;
    }

    .setrcddefaultsections div {
        position: relative !important;
        padding-left: 0 !important;
        margin-bottom: 5px !important;
    }

    .setrcddefaultsections .control-label {
        padding-left: 10px !important;
    }

    .eicrSections div, .ieicrSections div, .ieicSections div {
        position: relative !important;
        padding-left: 0 !important;
        margin-bottom: 5px !important;
    }

    .eicrSections label, .ieicrSections label, .ieicSections label {
        padding-left: 10px !important;
    }

    .eicrA2Sections div {
        position: relative !important;
        padding-left: 0 !important;
        margin-bottom: 5px !important;
    }

    .eicrA2Sections label {
        padding-left: 10px !important;
    }

    .eicSections div {
        position: relative !important;
        padding-left: 0 !important;
        margin-bottom: 5px !important;
    }

    .eicSections label {
        padding-left: 10px !important;
    }

    .eicA2Sections div {
        position: relative !important;
        padding-left: 0 !important;
        margin-bottom: 5px !important;
    }

    .eicA2Sections label {
        padding-left: 10px !important;
    }

    .evChecklistDwellingSections div {
        position: relative !important;
        padding-left: 0 !important;
        margin-bottom: 5px !important;
    }

    .evChecklistDwellingSections label {
        padding-left: 10px !important;
    }

    .evChecklistOnStreetSections div {
        position: relative !important;
        padding-left: 0 !important;
        margin-bottom: 5px !important;
    }

    .evChecklistOnStreetSections label {
        padding-left: 10px !important;
    }

    .evChecklistCommIndusSections div {
        position: relative !important;
        padding-left: 0 !important;
        margin-bottom: 5px !important;
    }

    .evChecklistCommIndusSections label {
        padding-left: 10px !important;
    }

    .evChecklistFuelFillingSections div {
        position: relative !important;
        padding-left: 0 !important;
        margin-bottom: 5px !important;
    }

    .evChecklistFuelFillingSections label {
        padding-left: 10px !important;
    }

    .min-width.btn {
        min-width: initial;
    }

    /* Main data block */
    .container-fluid {
        padding-right: 0;
        padding-left: 0;
    }

    /*Master header*/

    /* Page title - force to wrap */

    #repType h2 {
        float: none !important;
        display: block;
    }


    #brdnavMenu-reports ul, ol {
        padding: 0;
        margin: 0 0 0px 0px;
    }

    #navMenu {
        min-height: 40px;
    }

    #tleHeader {
        float: none;
        display: inline-block;
    }

    /*#fileBtn {
        display: none;
    }*/


    /*Used to set the width of elements on the reports in master header*/
    /* Nav bar */
    /*.navbar {
        margin-bottom: 0px;
        padding-bottom: 12px;
    }*/
    .navbar .nav li a {
        padding: 4px 9px;
    }

    #navMenu .nav.pull-right {
        float: none;
        display: block;
        text-align: left;
    }


    #brdnavMenu {
        min-height: 44px;
    }


        #brdnavMenu .nav.pull-right {
            float: none;
            display: block;
            text-align: left;
        }

    #navMenu .navbar .pull-right > li.dropdown-menu {
        left: 0;
        right: auto;
    }

    #navMenu .nav.pull-right > li.dropdown-menu {
        left: 0;
        right: auto;
    }

    .navbar .pull-right > li > .dropdown-menu, .navbar .nav > li > .dropdown-menu.pull-right {
        right: auto;
        left: 0;
    }

    #navMenu .nav.pull-right > li.dropdown {
        float: none;
        display: inline-block;
    }

    #navMenu .btn {
        margin-right: 5px;
        margin-left: 0;
    }

    .navbar .pull-right > li > .dropdown-menu:before, .navbar .nav > li > .dropdown-menu.pull-right:before {
        display: none;
    }

    .navbar .pull-right > li > .dropdown-menu:after, .navbar .nav > li > .dropdown-menu.pull-right:after {
        display: none;
    }

    .nav-tabs > li, .nav-pills > li {
        float: none;
    }

    @media (max-width: 800px) {


        .popover {
            min-width: 230px !important;
        }

        #obsHelpTxt {
            right: 25px;
            width: 100%;
        }

        .new-board-modal > .modal-body {
            overflow: hidden !important;
        }

        /* Sub menus */

        #brdtabMenu {
            width: 90vw !important;
            /*overflow: auto;*/
        }

            #brdtabMenu > ul > li {
                vertical-align: top;
                display: inline-block;
                width: 23%;
                font-size: 12px;
                border: 0px;
            }

        #board-ddl {
            width: 8%;
            max-width: 40px !important;
        }
    }

    #pageTitleAndMenuWrapper #brdsubheader .btn {
        min-width: 20px;
        margin-left: 2px;
        margin-right: 2px;
    }

    #pageTitleAndMenuWrapper #btnDivTop {
        padding-right: 0;
    }

    #pageTitleAndMenuWrapper #closeBrdTop {
        margin-right: 2px;
    }

    .sticky-table-header #tableBreadcrumbSection {
        display: none;
    }

    .sticky-table-header thead th .th-right {
        font-size: 12px;
    }

    .sticky-table-header thead th {
        font-size: 12px;
    }

    #btnDivTopPrevRep {
        display: inline;
        margin-top: 4px !important;
    }

    #btnDivTop {
        display: inline-block;
        min-width: 0%;
        margin-top: 4px !important;
    }
    /* allow the main content area to scroll horizontally without it breaking the layout of the rest of the UI */
    #mainForm > .container-fluid {
        overflow-x: visible !important;
    }
    /* ... but don't interfere with the container-fluid in the navbar 
        /* Account section */
    .account-section label {
        text-align: left;
        width: 100%;
    }

    .account-section input {
        width: 100%;
    }

    .account-section .pull-right {
        float: none;
        display: block;
        width: 100%;
    }

    .account-section .btn {
        margin-bottom: 20px;
    }

    /* Jobs page contents */
    /* job page top button section */
    #btnDivTop {
        padding-right: 5px;
    }

    /* The divider between the header and job entry fields section   */
    #blockDividerHeader {
        display: none;
    }


    /* Job details side menu needs to slide over the top of the page content */
    #menuDiv.open {
        left: 0px;
    }

    #menuDiv {
        position: fixed;
        background: #eee;
        padding: 10px;
        min-height: 100vh;
        max-width: 90vw !important;
        top: 85px;
        z-index: 20000;
        left: -100vw;
        transition: all 0.2s ease-in-out;
    }

        #menuDiv.unpin-sidemenu {
            width: 95%;
        }


    #hideNav {
        position: absolute;
    }

    #mobileShowNav, #mobileHideNav {
        display: inline-block;
        background-color: #236689 !important;
        background-image: linear-gradient(#0071B9, #236689);
        background-repeat: repeat-x;
        padding: 6px 10px;
    }

    #mobileHideNav {
        margin-bottom: 15px;
    }

    #mobileShowNav {
        margin-bottom: 0;
    }

    #mobileHideNav i {
        background-image: url(../imgMain/glyphicons-halflings-white-9bbc6e9602.png);
    }

    #mobileShowNav i {
        background-image: url(../imgMain/glyphicons-halflings-white-9bbc6e9602.png);
    }
    /* forms */
    .row-fluid .span10 {
        width: calc(100% - 15px);
    }

    .form-horizontal .control-label {
        float: none;
        width: 100%;
        text-align: left;
    }

    .form-horizontal .controls {
        width: 100%;
        margin-left: 0;
    }

    .form-horizontal .control-label-width90 {
        width: 100% !important;
    }

    .form-horizontal .help-icon-section {
        width: 20%;
        right: 0px;
    }

    .form-horizontal .help-icon-job {
        right: 0px;
        position: absolute;
        text-align: right;
    }

    .form-horizontal .label-text {
        display: inline-block;
        width: 80%;
    }

    .help-icon {
        float: none;
        position: absolute;
        margin-top: -6px;
        width: 100px;
        right: 0px;
    }

        .help-icon > a {
            min-width: 100px !important;
        }

    .popover-content {
        max-width: 230px;
    }

    .form-horizontal .control-group {
        position: relative;
    }

    input[type=text] {
        width: 100%;
    }

    #search-addresses input, #search-contacts input, #search-uprn input, #search-users-contacts input {
        width: 70% !important;
    }

    input[type=tel] {
        width: 100% !important;
    }

    input[type=email] {
        width: 100% !important;
    }

    input[type=number] {
        width: 100% !important;
    }

    input[type=password] {
        width: 100% !important;
    }

    select {
        width: 100% !important;
    }

    textarea {
        width: 100% !important;
        margin-left: 0 !important;
    }

    .jsSearchAllText {
        margin: 20px 0 !important;
        width: 100% !important;
    }

    .form-horizontal .controls .jsInputWithButton {
        width: 70% !important;
    }

    .form-horizontal .controls input.jsShowAllContact {
        width: 70%;
        padding-left: 2px;
        padding-right: 2px;
    }

    .form-horizontal .controls .jsSearchUPRN, .form-horizontal .controls .jsShowAllContact {
        width: 10%;
        padding-left: 2px;
        padding-right: 2px;
    }

    #page-title-wrapper {
        /*min-width: 100%;*/
        max-width: -webkit-fill-available;
        max-width: -moz-available;
    }

        #page-title-wrapper h3 {
            overflow: hidden;
            white-space: nowrap;
            overflow-x: hidden;
            overflow-y: hidden;
        }

    #tleFormHeader {
        display: inline-block;
        /*max-width: 76%;*/
        vertical-align: middle;
        overflow: visible;
    }

    #board-ddl {
        display: none;
    }

    #view-boards a {
        padding-right: 12px;
    }

    .nav > li > a:hover, .nav > li > a:focus {
        background-color: transparent;
        border-color: transparent;
    }

    .nav-tabs > .active > a, .nav-tabs > .active > a:hover, .nav-tabs > .active > a:focus {
        border: 1px solid transparent;
        border-bottom: 2px solid black;
        font-weight: bold;
    }

    #view-boards.caret-active a {
        background-color: transparent;
        border-color: transparent;
        border: 1px solid transparent;
        border-bottom: 2px solid black;
        font-weight: bold;
    }

    #formDiv .page-title {
        line-height: 25px;
    }

    #formDiv {
        overflow-y: visible;
        width: 100%;
    }

        #formDiv .form-horizontal {
            overflow: visible;
        }

    /* Tables */

    /* popover @ 100% on mobiles */
    .textAreaExpand {
        width: 100% !important;
    }

    /* Sticky Table header and title */
    .sticky-table-header {
        /*max-height: 90vh;
        min-height: 70vh;*/
        /*Removes scroll bounce effect - but only on supported browsers*/
        overscroll-behavior: none;
    }

        .sticky-table-header th {
            box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4);
        }
}

.sticky-header-and-title th {
    min-width: 20vw;
    position: sticky !important;
    position: -webkit-sticky !important;
    position: -moz-sticky !important;
    position: -o-sticky !important;
    position: -ms-sticky !important;
    top: 0px !important;
    box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4);
}

.sticky-header-and-title #page-title-wrapper {
    position: relative !important;
}


@media (max-width: 800px) {
    .brdnavmenu-right > span > ul > li > a > b.caret {
        border-right: 5px solid transparent;
        border-left: 5px solid transparent;
    }
}

@media (max-width: 1070px) {
    #tleLoggedIn {
        padding-right: 5px;
        float: right;
        white-space:initial;
        text-overflow:initial;
    }
    .masthead .usermenu {
        width: 100% !important;
    }
}

@media (max-width: 1174px) {
    #sideMenuDiv {
        min-height: 25px;
        overflow: hidden;
    }

    .brand {
        margin-left: 35px;
        height: 25px;
    /* We need to stop using floats */
/*        float: left;*/
    }

    .masthead .usermenu {
        width: 200px !important;
    }

    #tleLoggedIn {
        float: none !important;
    }
}

/* Main Reports page */

@media (max-width: 1350px) {
    .masthead .usermenu {
        padding-right: 0;
        width: 120px;
    }

    #tleLoggedIn {
        white-space: initial;
        text-overflow: initial;
        float: right;
    }
}


@media (max-width: 1232px) {
    /* The Report/Action buttons DDLs on the jobs pages - this keeps them in view on small devices */
    .sticky-table-header-jobspage .dropdown-menu {
        margin-left: -130px !important;
    }

    /* Aligns dropdown list from buttons on table DDLs to the left when button column is last on right*/
    .sticky-table-header .dropdown-menu-leftaligned {
        margin-left: -100px !important;
    }

    .masthead .usermenu {
        width: 75px;
    }

    #tleLoggedIn {
        padding: 1px;
    }
}



/* In-job pages */

@media (max-width: 800px) {
    /* Images */
    img {
        min-width: 10px;
    }

    .help-well {
        display: none;
    }
}


/* Master header */

@media (orientation: portrait)  {
    .hero {
        background: url("../imgMain/login_page_bg_pt-8966abf964.jpg") no-repeat center center;
        background-size: cover;
    }
    .heroAsset {
        background: url("../imgMain/CertsuiteAssetpic-a1fe2864a4.jpg") no-repeat center center;
        background-size: cover;
    }
}

@media (max-width: 500px) {
    /* Login */
    #loginPage .navbar {
        display: none;
    }

    .hero {
        background: #ffffff;
    }

    #loginPage #loginPageContainer {
        height: auto;
    }

    #loginPage .well.login-form {
        width: 100%;
        border: none;
        background: #fff;
        box-shadow: none;
        margin-top: 0;
        padding-top: 10px;
        padding-left: 10px;
        box-sizing: border-box;
    }

    #loginPage .login-form label {
        display: block;
        width: auto;
        margin-bottom: 5px;
    }

    #loginPage .login-form input[type="text"],
    #loginPage .login-form input[type="password"] {
        margin-bottom: 3px !important;
    }

    #LoginUser td {
        width: calc(100vw - 40px);
    }

    #jobBtn {
        font-size: 12px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .brdnavmenu-right > span > ul > li {
        display: inline-block;
        list-style-type: none;
    }

        .brdnavmenu-right > span > ul > li > a {
            padding-left: 8px;
            padding-right: 8px;
            font-size: 12px;
        }

            .brdnavmenu-right > span > ul > li > a > b.caret {
                border-right: 4px solid transparent;
                border-left: 4px solid transparent;
                margin-top: -2px !important;
                margin-left: 4px !important;
            }
}

@media (max-width: 400px) {

    .modal {
        top: 0 !important;
        max-height: 100%;
    }

    #jobBtn {
        padding: 5px;
    }

    .brdnavmenu-right > span > ul > li > a {
        padding: 5px;
    }

    .hv-results-container {
        width: 335px;
        margin: auto;
        overflow: auto;
    }
}

@media (max-width: 340px) {
    #repType h2 {
        font-size: 16px;
    }

    #jobBtn {
        padding: 3px;
        font-size: 11px;
    }

    .brdnavmenu-right > span > ul > li > a {
        font-size: 11px;
        padding: 3px;
    }
}


/* Sections */

/*Preview report section page (on-page PDF)*/


.embedPDF {
    width: 100%;
    height: 100%;
    text-align: center;
    vertical-align: top;
}

#reportSection {
    width: 100%;
}

.pdfUsrInformation {
    font-weight: bold;
    text-align: center;
    margin-left: 10px;
    margin-top: 300px;
    position: absolute;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    background: #236689;
    z-index: 20 !important;
}


    .pdfUsrInformation > a {
        color: #fff;
        font-size: 20px;
        right: 5px;
        position: absolute;
        margin-top: -10px;
        z-index: 21 !important;
    }

        .pdfUsrInformation > a:hover {
            text-decoration: none;
            cursor: pointer;
        }


.downloadreport, .inpagepreview {
    background-color: #236689 !important;
    background-image: linear-gradient(#0071B9, #236689);
    background-repeat: repeat-x;
    color: #FFFFFF !important;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.7);
}

#revealOptions {
    float: right;
    margin-top: -20px;
    cursor: pointer;
}

.revealOptsBtn {
    text-align: center;
    margin-top: -10px;
}


.reveal-options {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 12px;
    vertical-align: top !important;
    border-top: 8px dashed;
    border-top: 8px solid\9;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    /*    color: #E30613;*/
    color: #005580;
    margin-top: 6px;
}

.reveal-options-flip {
    transform: rotate(180deg);
}

.reveal-options-flip-side {
    transform: rotate(225deg);
}

.reveal-options-flip-side-inverse {
    transform: rotate(45deg);
}

.preview-options {
    background-color: #AFB6BD;
    padding: 20px;
    border-top: 1px solid #1D1D1B;
    border-right: 1px solid #1D1D1B;
    border-left: 1px solid #1D1D1B;
}

#reportSection {
    min-height: 80vh;
    background-color: #AFB6BD;
    border-bottom: 1px solid #1D1D1B;
    border-right: 1px solid #1D1D1B;
    border-left: 1px solid #1D1D1B;
}

.prev-options-hidden {
    background-color: #fff;
}


@media (max-width: 400px) {
    #revealOptions {
        font-size: 11px;
    }
}

#formDiv {
    float: none;
}

/* Job details side menu needs to slide over the top of the page content && is a slider menu in cordova */

#menuDiv {
    position: fixed !important;
    background: #eee;
    padding: 5px;
    margin-right: 3px;
    width: fit-content;
    width: -moz-fit-content;
    top: 100px;
    height: calc(100vh - 120px);
    z-index: 1020;
    min-width: 200px;
    left: -100vw;
    transition: all 0.2s ease-in-out;
    -webkit-transform: translate3d(0,0,1px);
    transform: translate3d(0,0,1px);
}

    #menuDiv.unpin-sidemenu {
        width: 25%;
    }

    #menuDiv.open {
        left: 0px;
    }

/*#menuDiv .stickymenu.sticky {
            top: 10px !important;
        }*/

.menudiv-to-top {
    top: 0 !important;
}

.menudiv-fix-button {
    position: fixed;
    top: 0 !important;
}

.menuDivDisplayAsDefault {
    left: initial !important;
    position: relative !important;
    width: auto !important;
    margin-top: -70px;
    top: 0px !important;
    background: #fff !important;
}

#sideMenuDiv {
    min-height: 25px;
    overflow: visible;
    z-index: 1045;
    position: absolute;
}

.pin-sidemenu {
    left: 0 !important;
    position: initial !important;
}

    .pin-sidemenu #menuDiv {
        position: relative !important;
        top: 0;
        left: 0;
    }

.unpin-sidemenu {
    position: absolute !important;
}

#hideNav {
    position: absolute;
    display: none;
}

#mobileShowNav, #mobileHideNav, .menu-pin-link {
    display: inline-block;
    background-color: #0071B9 !important;
    background-image: linear-gradient(#0071B9, #0071B9);
    background-repeat: repeat-x;
    color: #FFFFFF !important;
    text-shadow: 0 -1px 0 rgb(0 0 0 / 70%);
    padding: 6px 10px;
}

#mobileHideNav {
    margin-bottom: 15px;
}

#mobileShowNav {
    margin-bottom: 0;
}

#mobileHideNav i {
    background-image: url(../imgMain/glyphicons-halflings-white-9bbc6e9602.png);
}

#menuPinLinkHBMenu i {
    background-image: url(../imgMain/glyphicons-halflings-white-9bbc6e9602.png);
}

#mobileShowNav i {
    background-image: url(../imgMain/glyphicons-halflings-white-9bbc6e9602.png);
}


/*
    Landscape specific (small devices)
*/


@media (max-width: 1174px) {

    #menuDiv {
        top: 50px;
        max-width: 90vw;
    }

    #menuPinLink {
        display: none;
    }

    /*#general-list-accordion {
        overflow: auto;
        height: calc(100vh - 165px);
        padding-bottom: 10px;
    }*/
}


@media (max-device-height: 414px) and (max-device-width: 736px) and (orientation: landscape) {
    #menuDiv {
        height: 100vh;
        max-width: 25vw;
    }

    .display-noheader #header .masthead {
        display: none !important;
    }

    .display-noheader #header .navbar {
        /*display: none !important;*/
    }

    .display-noheader #menuDiv {
        top: 0px !important;
    }

    .display-noheader #sideMenuDiv {
        top: 58px;
    }

    /*#general-list-accordion {
        overflow: scroll;
        height: calc(100vh - 40px);
        padding-bottom: 10px;
    }*/

    /*

    .display-noheader #menuDiv {
        top: 0px !important;
    }*/
    /*
    #mobileShowNav {
        display: none !important;
    }

    #page-title-wrapper {
        display: none !important;
    }

    #pageTitleAndMenuWrapper {
        display: none !important;
    }

    #general-list-accordion {
        overflow: scroll;
        height: calc(100vh - 40px);
        padding-bottom: 10px;
    }

    #simpleBlock {
        height: 100vh !important;
        width: 100vw !important;
    }*/

    /*.sticky-table-header thead th {
        top: 45px;
    }*/

    /*.sticky-table-header thead #group-header-sticky th {
        top: 0;
    }

    .sticky-table-header thead #sub-group-header-sticky th {
        top: 25px;
    }

    .dropheaderdown-1 th {
        top: 0;
    }

    .dropheaderdown-1 #addAddRow > td {
        top: 40px !important;
    }

    .dropheaderdown-3 th {
        top: 45px;
    }

    .dropheaderdown-3 #addAddRow > td {
        top: 80px !important;
    }

    .kitebox {
        top: 0 !important;
    }

    #sideMenuDiv {
        top: 0 !important;
    }*/
}
