﻿body {
    font-family: Arial;
}

#page-wrapper {
    width: 98%;
    margin: 0 auto;
}

#page-header-wrapper {
    width: 100%;
    height: 100px;
}

#page-body-wrapper {
    width: 100%;
    position: relative;
}

#page-footer-wrapper {
    width: 100%;
    height: 50px;
    border-top: 1px solid #E2E2E2;
}

#mss-header-logo {
    float: right;
    margin-right: 20px;
    margin-top: 0px;
}

#inspector-header-logo {
    margin-left: 20px;
    margin-top: 2px;
    height: 80px;
}

#redstrip {
    clear: both;
    background-image: url('../Images/RedStrip_bg.jpg');
    background-position: -1px 0px;
    width: 101%;
    height: 15px;
    /*margin: -1px;*/
}

#page-header-body {
    float: left;
    width: 98%;
}

#page-header-left-corner {
    background-image: url('../Images/TopLeftSdw.png');
    background-position: left top;
    width: 8px;
    height: 100%;
    float: left;
}

#page-header-right-corner {
    background-image: url('../Images/TopRightSdw.png');
    background-position: 0px top;
    margin-right: 1px;
    width: 9px;
    height: 100%;
    float: right;
}

#page-body-left-topcorner {
    background-image: url('../Images/MidLeftSdw.png');
    background-position: left top;
    background-repeat: repeat-y;
    position: absolute;
    width: 10px;
    top: 0px;
    left: 0px;
    bottom: 100px;
}

#page-body-left-bottomcorner {
    background-image: url('../Images/BtmLeftSdw.png');
    background-repeat: no-repeat;
    position: absolute;
    width: 10px;
    height: 100px;
    bottom: 0px;
    left: 0px;
}

#page-body-right-topcorner {
    background-image: url('../Images/MidRightSdw.png');
    background-position: left top;
    background-repeat: repeat-y;
    position: absolute;
    width: 10px;
    top: 0px;
    right: 0px;
    bottom: 100px;
}

#page-body-right-bottomcorner {
    background-image: url('../Images/BtmRightSdw.png');
    background-repeat: no-repeat;
    position: absolute;
    width: 10px;
    height: 100px;
    bottom: 0px;
    right: 0px;
}

#page-body {
    width: 100%;
    /*margin-left: 10px;*/
}

#page-body-container {
    width: 100%;
    min-height: 420px;
    margin-bottom: 20px;
}

#footer-list {
    list-style-type: none;
    font-size: 11px;
    font-weight: normal;
    font-family: Sans-Serif;
    color: #888888;
    text-align:center;
}

.footer-list-item {
    display: inline;
}
/***site.master starts here***/
#menu-Container {
    background-image: url('../Images/Header-Strip.png');
    background-repeat: round;
    height: 70px;
    width: 99%;
    margin-left: 4px;
}

/*New Menu css start here */
.menu1:hover {
    background-image: url(../Images/Menu/Data-Hover.png);
}

li:hover ul .menu1:hover {
    background-image: url(../Images/Menu/Data-Hover.png);
}

.mainMenu {
    position: absolute;
    top: 0px;
    padding-left: 25px;
    text-decoration: none;
    z-index: 10;
    margin-top: 8px;
}

ul#css3menu1, ul#css3menu1 ul {
    margin: 0;
    list-style: none;
    border-width: 0;
    border-style: solid;
}

    ul#css3menu1 ul {
        background: #525252;
        background: -webkit-gradient(linear, 0 0, 0 bottom, from(#525252), to(#212121));
        background: -webkit-linear-gradient(#525252, #212121);
        background: -moz-linear-gradient(#525252, #212121);
        background: -ms-linear-gradient(#525252, #212121);
        background: -o-linear-gradient(#525252, #212121);
        background: linear-gradient(#525252, #212121);
        border-radius: 0 5px 5px 5px;
        display: none;
        padding: 5px 5px 10px 16px;
        position: relative;
        margin-top: -1px;
        margin-right: -20px;
    }

        ul#css3menu1 ul li {
            margin: 0px;
        }

    ul#css3menu1 li:hover > * {
        display: block;
    }

    ul#css3menu1 .showSub:hover > * {
        display: block;
        margin: 0px 20px 0px 10px;
    }

    ul#css3menu1 li:hover {
        position: relative;
    }

    ul#css3menu1 ul ul {
        position: absolute;
        left: 103%;
        width: 100%;
        top: -4px;
        border-radius: 5px;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
    }

ul#css3menu1 {
    display: block;
    font-size: 0;
    float: left;
    padding-left: 0;
}

    ul#css3menu1 li {
        display: block;
        white-space: nowrap;
        font-size: 0;
        float: left;
    }

    ul#css3menu1 > li, ul#css3menu1 li {
        margin: 0 0 0 0px;
    }

    ul#css3menu1 ul > li {
        margin: 0px 0 0;
    }

    ul#css3menu1 a:active, ul#css3menu1 a:focus {
        outline-style: none;
    }

    ul#css3menu1 a {
        border-width: 1px 1px 0;
        color: #3EC2C5;
        cursor: pointer;
        display: block;
        font-family: Arial;
        font-size: 13px;
        font-weight: bold;
        text-align: left;
        text-decoration: none;
        /*vertical-align: middle;*/
    }

    ul#css3menu1 ul li {
        float: none;
        background-image: url(../Images/Menu/Menu_Item_Seperator_new.png);
        background-repeat: no-repeat;
        background-position: Bottom;
    }

    ul#css3menu1 ul a {
        text-align: left;
        padding: 8px 3px 10px 15px;
        border-width: 1px 0 1px 0;
        border-radius: 0px;
        -moz-border-radius: 0px;
        -webkit-border-radius: 0px;
        color: #FFF;
        text-decoration: none;
        font-family: Arial;
        font-size: 13px;
        font-weight: bold;
        width: 95%;
    }

    ul#css3menu1 li:hover > a {
        font-family: Arial;
        font-size: 13px;
        font-weight: bold;
        color: #155C5D;
        text-decoration: none;
    }

    ul#css3menu1 img {
        border: none;
        vertical-align: top;
    }

        ul#css3menu1 img.hover {
            display: none;
        }

    ul#css3menu1 li:hover > a img.def {
        display: none;
    }

    ul#css3menu1 li:hover > a img.over {
        display: inline;
    }

    ul#css3menu1 span {
        display: block;
        overflow: visible;
        background-repeat: no-repeat;
        padding-right: 0px;
    }

    ul#css3menu1 ul span {        
        background-image: url("../Images/Menu/arrowsub.png");
        background-position: 140px center;
    }

    ul#css3menu1 ul li:hover > a {        
        background-image: url("../Images/Menu/mainbk.png");
        color: #FFF;
        text-decoration: none;
        font-family: Arial;
        font-size: 13px;
        font-weight: bold;
    }

    ul#css3menu1.topmenu {
        margin: 9px 10px 0 0;
        border-radius: 0px;
        -moz-border-radius: 0px;
        -webkit-border-radius: 0px;
    }

    ul#css3menu1 li.topmenu > a {
        height: 21px;
        line-height: 21px;
    }

    ul#css3menu1 li.topmenu:hover > a {
        line-height: 21px;
    }

    ul#css3menu1 li.toproot > a {
        margin: 9px 10px 0 0;
        height: 21px;
        line-height: 21px;
        border-radius: 7px 7px 0 0;
        -moz-border-radius: 7px 7px 0 0;
        -webkit-border-radius: 7px;
        -webkit-border-bottom-right-radius: 0;
        -webkit-border-bottom-left-radius: 0;
    }

    ul#css3menu1 li.toproot:hover > a {
        line-height: 21px;
    }

.overcolor {   
    padding: 0px 0px 0 0;
}

.separator {
    float: left;
    width: 10px;
    height: 1px;
}

.overcolor a:hover {
    /*background-image: url(../Images/Menu/Menu_Configuration_over.png);*/
    background-image: url(../Images/Menu/Configuration_Hover.png);
    background-repeat: no-repeat;
}

.leftside {
    float: left;
}

ul#css3menu1 ul li:last-child {
    background-image: none;
}

    ul#css3menu1 ul li:last-child > a {
        padding-bottom: 5px!important;
    }

/*menu css starts here*/

.menu {
    text-decoration: none;
}

    .menu a {
        text-decoration: none;
    }

.item-top {
    height: 30px;
    vertical-align: middle;
    background-image: url('../Images/Menu/MenuTitle1.png');
    background-repeat: no-repeat;
}

.item-center {
    height: 30px;
    vertical-align: middle;
    background-image: url('../Images/Menu/MenuTitle2.png');
    background-repeat: repeat;
}

.item-center-config {
    height: 30px;
    vertical-align: middle;
    background-image: url('../Images/Menu/MenuTitle2.png');
    background-repeat: repeat;
    border-top-right-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topright: 4px;
}

.item-bottom {
    height: 44px;
    vertical-align: middle;
    background-image: url('../Images/Menu/MenuTitle3.png');
    background-repeat: no-repeat;
    padding-left: -1px;
}

.item-bottom-account {
    height: 44px;
    vertical-align: middle;
    background-image: url('../Images/Menu/MenuTitle3.png');
    background-repeat: no-repeat;
}

.item-center-menu-css {
    height: 30px;
    vertical-align: middle;
    background-image: url('../Images/Menu/MenuTitle2.png');
    background-repeat: repeat;
    border-top-right-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topright: 4px;
}

.item-bottom-menu-css {
    height: 44px;
    vertical-align: middle;
    background-image: url('../Images/Menu/MenuTitle3.png');
    background-repeat: no-repeat;
    border-top-right-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topright: 4px;
}

.item-title {
    font: small Arial, Helvetica, sans-serif;
    color: White;
    font-weight: bold;
    width: 150px;
}

.item-link {
    display: block;
    padding-top: 6px;
    width: 154px;
}

.item-link-bottom {
    display: block;
    padding-top: 12px;
    text-align: left;
    width: 154px;
}

.RadMenu {
    float: left;
    position: relative;
    padding-left: 10px;
    padding-top: 10px;
}

    .RadMenu .rmGroup {
        display: inline-block;
    }
    /* for separator*/
    .RadMenu .rmHorizontal .rmSeparator {
        height: 20px;
        width: 1px;
        line-height: 20px;
        border: 0;
        background-color: transparent;
    }

    .RadMenu .rmVertical .rmSeparator {
        height: 1px;
        width: auto;
        border: 0;
        line-height: 20px;
    }
    /* for items*/
    .RadMenu .rmGroup .rmText {
        padding: 8px 54px 0 28px;
        margin: 5px 0 0 4px;
    }

    .RadMenu .rmVertical .rmText {
        padding: 8px 24px 1px 0;
    }

    .RadMenu .rmHorizontal .rmText {
        padding: 8px 12px 1px 0;
    }

    .RadMenu .rmVertical .rmText, .RadMenu .rmHorizontal .rmVertical .rmText {
        display: block;
        float: none;
    }
    /*for link*/
    .RadMenu .rmLink {
        text-decoration: none;
        position: relative;
        vertical-align: middle;
    }
    /* item in dropdown*/
    .RadMenu .rmItem {
        text-decoration: none;
        font: small Arial, Helvetica, sans-serif;
        color: Black;
        font-weight: bold;
    }

    * html .RadMenu .rmItem {
        display: inline;
    }

    /*.RadMenu .rmVertical .rmItem {
    }*/

    .RadMenu .rmSized .rmVertical .rmItem {
        width: 100%;
    }

    .RadMenu .rmSized .rmRootGroup .rmVertical .rmItem {
        width: auto;
    }
    /*top and bottom border */
    .RadMenu .rmTopFix {
        border-top: 0px none transparent;
    }

    .RadMenu .rmBottomFix {
        border-bottom: 0px none transparent;
    }


/*menu css ends here*/

#advance-Search-Label {
    background-color: #EEEEEE;
    width: 974px;
    height: 40px;
}

#fieldset-container {
    width: 96%;
    margin: 0 auto;
}

.fieldset-Title-Label {
    padding-left: 20px;
    font-family: Arial;
    font-weight: bold;
    font-size: small;
}

.fieldset-Title-company-text-label {    
    font-family: Arial;
    font-weight: bold;
    font-size: small;
}

.fieldset-Title-company-Label {
    padding-left: 5px;
    padding-right: 20px;
    font-family: Arial;
    font-weight: bold;
    font-size: medium;
}

.fieldset-Title-site-text-label {   
    font-family: Arial;
    font-weight: bold;
    font-size: small;
}

.fieldset-Title-site-Label {
    padding-left: 5px;    
    font-family: Arial;
    font-weight: bold;
    font-size: small;
}

.fieldset-Title-site-dropdown {
    /*padding-right: 20px;*/    
    font-family: Arial;
    font-weight: bold;
    font-size: small;
}

#fieldset-header {
    background-color: #78A1C6;
    border-color: #E8E8E8;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -webkit-border-top-left-radius: 5px;
    -moz-border-radius-topright: 5px;
    -webkit-border-top-right-radius: 5px;   
    width: 100%;
    border: 1px solid #78A1C6;    
    padding: 5px 0 5px 0;
    background-image: url('../Images/HeaderBG.png');
    background-repeat: repeat-x;
}

#fieldset-body {
    width: 100%;
    border: 1px solid #78A1C6;
    min-height: 400px;
}

#fieldset-body-inner {
    padding: 15px 10px 10px 10px;
    border: 1px solid white;
    min-height: 400px;
}

#page-title {
    padding: 15px 25px 0px 25px;
}

.link-display-hide {
    display: none;
}

.link-display-show {
    display: inline;
}

.Site-dd-left {
    float: right;
}


.left-header-div {
    text-align: left;
    display: inline-block;
    width: 33%;
}

.middle-header-div {
    text-align: center;
    display: inline-block;
    width: 25%;
}

.right-header-div {
    /*text-align: right;*/
    display: inline-block;
    width: 41%;
}

.fieldset-Inspection-Title-Label {
    padding-left: 9px;
    font-family: Arial;
    font-weight: bold;
    font-size: small;
}

.RadComboBox .rcbActionButton{
    height: auto !important;
}


/*For DashBoard*/

#menu-Container {
            background: #2c3e50;
            padding: 0;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        
        .mainMenu {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .nav-menu {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            justify-content: center;
        }
        
        .nav-menu > li {
            position: relative;
        }
        
        .nav-menu > li > a {
            display: block;
            padding: 15px 20px;
            color: #ecf0f1;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            text-align: center;
        }
        
        .nav-menu > li > a:hover {
            background: #34495e;
            color: #fff;
        }
        
        .nav-menu > li > a i {
            display: block;
            font-size: 24px;
            margin-bottom: 5px;
        }
        
        .nav-menu > li > ul {
            position: absolute;
            top: 100%;
            left: 0;
            background: #fff;
            min-width: 205px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.2);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 1000;
            padding: 10px 0;
            border-radius: 0 0 4px 4px;
        }
        
        .nav-menu > li:hover > ul {
            opacity: 1;
            visibility: visible;
        }
        
        .nav-menu > li > ul li {
            display: block;
        }
        
        .nav-menu > li > ul li a {
            display: block;
            padding: 8px 20px;
            color: #333;
            text-decoration: none;
            transition: all 0.2s ease;
        }

            .nav-menu > li > ul li a:hover {
              
                background: #34495e;
                color: #ffd700;
            }
        
        .menu-separator {
            width: 1px;
            background: rgba(255,255,255,0.1);
            margin: 0 5px;
        }
        
        @media (max-width: 768px) {
            .nav-menu {
                flex-direction: column;
            }
            
            .nav-menu > li > ul {
                position: static;
                box-shadow: none;
                opacity: 1;
                visibility: visible;
                display: none;
                background: #34495e;
            }
            
            .nav-menu > li:hover > ul {
                display: block;
            }
            
            .nav-menu > li > ul li a {
                color: #ecf0f1;
            }
            
            .menu-separator {
                display: none;
            }
        }


/* SubMenuCSS for Reports */
.nav-menu > li > ul .has-submenu {
    position: relative;
}

    .nav-menu > li > ul .has-submenu > ul.submenu {
        position: absolute;
        left: 100%; 
        top: 0;
        background: #fff;
        min-width: 200px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.2);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        padding: 10px 0;
        border-radius: 4px;
    }

    .nav-menu > li > ul .has-submenu:hover > ul.submenu {
        opacity: 1;
        visibility: visible;
    }

    .nav-menu > li > ul .has-submenu > ul.submenu li {
        display: block;
    }

        .nav-menu > li > ul .has-submenu > ul.submenu li a {
            display: block;
            padding: 8px 20px;
            color: #333;
            text-decoration: none;
            transition: all 0.2s ease;
        }

            .nav-menu > li > ul .has-submenu > ul.submenu li a:hover {
                background: #34495e;
                color: #ffd700;
            }
   
    .nav-menu > li > ul .has-submenu > a {
        position: relative;
        padding-right: 30px; 
    }

        .nav-menu > li > ul .has-submenu > a:after {
            content: '\f054'; 
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            color: #333;
        }

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-menu > li > ul .has-submenu > ul.submenu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        display: none;
        background: #34495e;
    }

    .nav-menu > li > ul .has-submenu:hover > ul.submenu {
        display: block;
    }

    .nav-menu > li > ul .has-submenu > ul.submenu li a {
        color: #ecf0f1;
    }

    .nav-menu > li > ul .has-submenu > a:after {
        content: '\f078';
    }
}
