﻿#siteFixedHeader {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100%;
    direction: ltr;
    clear: both;
    height: 67px !important;
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmMDAwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjIwJSIgc3RvcC1jb2xvcj0iI2ZmZmYwMCIgc3RvcC1vcGFjaXR5PSIwLjc3Ii8+CiAgICA8c3RvcCBvZmZzZXQ9IjQwJSIgc3RvcC1jb2xvcj0iIzAwZmYwMCIgc3RvcC1vcGFjaXR5PSIwLjU1Ii8+CiAgICA8c3RvcCBvZmZzZXQ9IjQ3JSIgc3RvcC1jb2xvcj0iIzAwZmY1OSIgc3RvcC1vcGFjaXR5PSIwLjQ3Ii8+CiAgICA8c3RvcCBvZmZzZXQ9IjYwJSIgc3RvcC1jb2xvcj0iIzAwZmZmZiIgc3RvcC1vcGFjaXR5PSIwLjYiLz4KICAgIDxzdG9wIG9mZnNldD0iODAlIiBzdG9wLWNvbG9yPSIjMDAwMGZmIiBzdG9wLW9wYWNpdHk9IjAuOCIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjZmYwMGZmIiBzdG9wLW9wYWNpdHk9IjEiLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZ3JhZC11Y2dnLWdlbmVyYXRlZCkiIC8+Cjwvc3ZnPg==);
    background: -moz-linear-gradient(left, rgba(255,0,0,1) 0%, rgba(255,255,0,1) 20%, rgba(0,255,0,1) 40%, rgba(0,255,89,1) 47%, rgba(0,255,255,1) 60%, rgba(0,0,255,1) 80%, rgba(255,0,255,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,0,0,1)), color-stop(20%,rgba(255,255,0,1)), color-stop(40%,rgba(0,255,0,1)), color-stop(47%,rgba(0,255,89,1)), color-stop(60%,rgba(0,255,255,1)), color-stop(80%,rgba(0,0,255,1)), color-stop(100%,rgba(255,0,255,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left, rgba(255,0,0,1) 0%,rgba(255,255,0,1) 20%,rgba(0,255,0,1) 40%,rgba(0,255,89,1) 47%,rgba(0,255,255,1) 60%,rgba(0,0,255,1) 80%,rgba(255,0,255,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left, rgba(255,0,0,1) 0%,rgba(255,255,0,1) 20%,rgba(0,255,0,1) 40%,rgba(0,255,89,1) 47%,rgba(0,255,255,1) 60%,rgba(0,0,255,1) 80%,rgba(255,0,255,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left, rgba(255,0,0,1) 0%,rgba(255,255,0,1) 20%,rgba(0,255,0,1) 40%,rgba(0,255,89,1) 47%,rgba(0,255,255,1) 60%,rgba(0,0,255,1) 80%,rgba(255,0,255,1) 100%); /* IE10+ */
    background: linear-gradient(to right, rgba(255,0,0,1) 0%,rgba(255,255,0,1) 20%,rgba(0,255,0,1) 40%,rgba(0,255,89,1) 47%,rgba(0,255,255,1) 60%,rgba(0,0,255,1) 80%,rgba(255,0,255,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff0000', endColorstr='#ff00ff',GradientType=1 ); /* IE6-8 */
    cursor: default;
    z-index: 100;
}

#siteFixedHeader , #siteSubPanel {
    font-size: 11px;
    font-family: 'Droid Sans', sans-serif !important;
    color: rgba(255,255,255, 0.5);

}


    #siteFixedHeader a, #siteSubPanel a {
        color: #FFF;
        text-decoration: none;
        -webkit-transition: all 0.2s ease 0s !important;
        -moz-transition: all 0.2s ease 0s !important;
        transition: all 0.2s ease 0s !important;
        /* vertical-align: middle; */
    }

        #siteFixedHeader a:hover, #siteSubPanel a:hover {
            color: #2eb8fb;
        }




@media screen and (min-width: 1100px) {
    #ControlBar_ControlPanel ~ #pageWrapper > #siteFixedHeader {
        top: 53px !important;
    }
}

@media screen and (max-width: 1099px) {
    #ControlBar_ControlPanel {
        display: none;
    }

        #ControlBar_ControlPanel ~ #pageWrapper,
        #ControlBar_ControlPanel ~ #pageWrapper > #siteFixedHeader {
            top: 0;
        }
}



.megaMenuToggle .fa,
#smp_centerDiv ul.smp_SubMenu1 > li.smp_backDivButton,
#smp_centerDiv ul.smp_SubMenuX > li.smp_backDivButton {
    display: none;
}

/* Barra principale del portale */
#siteMainPanel {
    top: 2px;
    left: 0;
    right: 0;
}

#siteMainPanel, #siteSubPanel {
    position: relative;
    margin: 0;
    padding: 0;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    -webkit-box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1);
    -moz-box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1);
    box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

#siteMainPanel {
    height: 40px !important;
    background-color: #6B6B6B;
    background: #3d3d3d url(../images/black2_bkg.png) top left repeat-x;
    background: -webkit-gradient(linear, left top, left bottom, from(#6B6B6B), to(#3d3d3d));
    background: -webkit-linear-gradient(top, #6B6B6B, #3d3d3d);
    background: -moz-linear-gradient(top, #6B6B6B, #3d3d3d);
    background: -ms-linear-gradient(top, #6B6B6B, #3d3d3d);
    background: -o-linear-gradient(top, #6B6B6B, #3d3d3d);
    border: 1px outset #6B6B6B;
}


/* Barra secondaria */
#siteSubPanel {
    height: 27px !important;
    background-color: #6B6B6B;
    z-index: 100;
    border: 1px outset #6B6B6B;
    clear: both;
}


/* Contenitori allineati a sinistra dedicati a logo e breadcrumb */
#smp_leftDiv, #ssp_leftDiv {
    float: left;
    margin: 0px;
    padding: 0px 5px;
}

#smp_leftDiv {
    line-height: 40px;
}

#ssp_leftDiv {
    line-height: 25px;
}


#smp_leftDiv a {
    width: 170px;
    height: 34px;
}

    #smp_leftDiv a > img {
        width: 170px;
        height: 34px;
        background-position: 0 0;
    }

/* Contenitore allineato a destra, dedicato a bandierine e azioni utente*/
#smp_rightDiv, #ssp_rightDiv {
    float: right;
    margin: 0px;
    padding: 0px 5px;
    text-align: right;
}

#smp_rightDiv {
    line-height: 40px;
}

#ssp_rightDiv {
    line-height: 25px;
}



/* bandierine scelta della lingua */
#smp_rightDiv #smp_language span {
    margin-left: 10px;
    opacity: 0.8;
    -webkit-opacity: 0.8;
    -moz-opacity: 0.8;
}

    #smp_rightDiv #smp_language span:hover {
        opacity: 1;
        -webkit-opacity: 1;
        -moz-opacity: 1;
    }

    #smp_rightDiv #smp_language span.selected {
        -webkit-opacity: 1 !important;
        -moz-opacity: 1 !important;
        opacity: 1 !important;
    }

        #smp_rightDiv #smp_language span.selected img {
            border: 1px solid #FFF;
        }

/* azioni utente */


#ssp_leftDiv #ssp_plantcode {
    float: left;
    text-align: center;
    font-weight: bold;
    padding: 0px;
    margin-right: 10px;
}


#ssp_leftDiv #ssp_breadcrumb {
    float: left;
}



#ssp_rightDiv #smp_user {
}

    #ssp_rightDiv #smp_user .login, #smp_user .user {
        padding: 7px 0 5px 25px;
    }

    #ssp_rightDiv #smp_user .login {
        background: url(../images/logout-ico.png) center left no-repeat;
    }

    #ssp_rightDiv #smp_user .user {
        background: url(../images/user-ico.png) center left no-repeat;
    }




/* Contenitore centrale dedicato alle voci Menu */
#smp_centerDiv {
    text-align: center;
    width: auto;
    margin: auto;
}



    #smp_centerDiv a.smp_disabledNode {
        font-size: 12px;
        font-weight: bold;
        padding: 15px 15px 0px;
        width: auto;
        display: block;
        white-space: nowrap;
        color: rgb(136, 136, 136);
    }

        #smp_centerDiv a.smp_disabledNode:hover {
            color: rgb(182, 182, 182);
        }

        #smp_centerDiv a.smp_disabledNode,
        #smp_centerDiv a.smp_disabledNode:hover,
        #smp_centerDiv a.smp_disabledNode > span,
        #smp_centerDiv a.smp_disabledNode > span:hover {
            cursor: default !important;
        }

    #smp_centerDiv #smp_Menu > li > a.smp_disabledNode {
        color: rgb(182, 182, 182);
    }

        #smp_centerDiv #smp_Menu > li > a.smp_disabledNode:hover {
            color: #2eb8fb;
        }




    /* root del menu */
    #smp_centerDiv #smp_Menu {
        display: block;
        zoom: 1;
        width: auto;
        z-index: 101;
        list-style: none outside none;
        margin: 0px;
        padding: 0px;
        position: relative;
        overflow: visible;
        height: 0px;
    }

        #smp_centerDiv #smp_Menu > li {
            box-sizing: content-box;
            color: rgb(68, 68, 68);
            display: inline-block;
            /* float: left; */
            /* height: 40px; */
            line-height: 35px;
            margin: 0px;
            padding: 0px;
            visibility: visible;
            z-index: 102;
            zoom: 1;
            white-space: nowrap;
        }

            #smp_centerDiv #smp_Menu > li > a {
                border-left: 1px solid rgb(0, 0, 0);
                cursor: pointer;
                display: block;
                float: none;
                margin: 0px;
                padding: 0px 15px;
                visibility: visible;
                z-index: 103;
                zoom: 1;
                white-space: nowrap;
            }

            #smp_centerDiv #smp_Menu > li:last-child > a {
                border-right: 1px solid rgb(0, 0, 0);
                white-space: nowrap;
            }



    #smp_centerDiv > #smp_Menu > li > div.smp_SubMenuContainer {
        position: absolute;
        left: 0;
        text-align: center;
        width: 100%;
        margin-top: -5px;
        color: rgba(255, 255, 255, 0.498039);
    }

    #smp_centerDiv ul.smp_SubMenu1 {
        display: inline-block;
        line-height: 18px;
        margin: auto;
        padding-bottom: 10px;
        z-index: 104;
        box-shadow: none;
        background-color: rgba(61, 61, 61, 0.95);
        -webkit-box-shadow: rgb(110, 110, 110) 1px 1px 1px 0px;
    }

        #smp_centerDiv ul.smp_SubMenu1 > li {
            box-sizing: content-box;
            display: inline-block;
            line-height: 18px;
            list-style-image: none;
            list-style-position: outside;
            list-style-type: none;
            margin: 5px 1px;
            padding: 0px;
            white-space: nowrap;
            border-left: 1px dotted #6B6B6B;
            vertical-align: top;
        }

            #smp_centerDiv ul.smp_SubMenu1 > li:first-child {
                border-left-style: none;
            }



            #smp_centerDiv ul.smp_SubMenu1 > li > a > span {
                cursor: pointer;
                display: block;
                font-family: 'Open Sans', HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, sans-serif;
                font-size: 12px;
                font-weight: bold;
                line-height: 16.8%;
                list-style-image: none;
                list-style-position: outside;
                list-style-type: none;
                margin: 0px;
                padding: 0px;
                text-align: left;
                white-space: nowrap;
            }

            #smp_centerDiv ul.smp_SubMenu1 > li > div > ul.smp_SubMenuX {
                -webkit-box-shadow: none;
                box-sizing: content-box;
                color: rgb(136, 136, 136);
                display: block;
                font-family: 'Open Sans', HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, sans-serif;
                font-size: 11px;
                line-height: 18px;
                list-style-image: none;
                list-style-position: outside;
                list-style-type: none;
                margin: 5px 17px 17px;
                padding: 0px;
                /* position: relative; */
                text-align: left;
                z-index: 105;
            }

                #smp_centerDiv ul.smp_SubMenu1 > li > div > ul.smp_SubMenuX > li {
                    box-sizing: content-box;
                    color: rgb(136, 136, 136);
                    display: block;
                    font-family: 'Open Sans', HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, sans-serif;
                    font-size: 11px;
                    /* line-height: 18px; */
                    list-style-image: none;
                    list-style-position: outside;
                    list-style-type: none;
                    margin: 0px;
                    /* min-height: 20px; */
                    /* min-width: 100px; */
                    padding: 0px;
                    text-align: left;
                    white-space: nowrap;
                }


                    #smp_centerDiv ul.smp_SubMenu1 > li > div > ul.smp_SubMenuX > li a {
                        color: #FFF;
                    }

                        #siteMainPanel a:hover, #smp_centerDiv ul.smp_SubMenu1 > li > div > ul.smp_SubMenuX > li a:hover {
                            color: #2eb8fb;
                        }

    #smp_centerDiv img ~ span {
        padding-left: 5px;
    }

    #smp_centerDiv .mainToggle {
        display: none;
        padding: 10px 15px;
        cursor: pointer;
        font-size: 10px;
        text-transform: uppercase;
        text-align: left;
        float: right;
        border-left: 1px solid rgb(0, 0, 0);
        cursor: pointer;
        font-weight: bold;
    }


    #smp_centerDiv #megaMenuToggle .megaMenuToggle-icon {
        display: inline-block;
        background: #999;
        background: rgba(230, 230, 230, 0.7);
        height: 2px;
        width: 16px;
        position: relative;
        margin-top: 10px;
        text-align: left;
    }

        #smp_centerDiv #megaMenuToggle .megaMenuToggle-icon:before {
            content: '';
            position: absolute;
            background: #999;
            background: rgba(230, 230, 230, 0.8);
            height: 2px;
            width: 16px;
            top: -4px;
        }

        #smp_centerDiv #megaMenuToggle .megaMenuToggle-icon:after {
            content: '';
            position: absolute;
            background: #999;
            background: rgba(230, 230, 230, 0.9);
            height: 2px;
            width: 16px;
            top: -8px;
        }

/* > Media Query : 1024*/

@media screen and (max-width: 880px) {
    #smp_leftDiv a {
        width: 38px;
        height: 34px;
    }

        #smp_leftDiv a > img {
            width: 38px;
            height: 34px;
            background-position: -171px 0;
        }


    #smp_centerDiv ul.smp_SubMenu1 > li {
        width: 30%;
        float: left;
    }

        #smp_centerDiv ul.smp_SubMenu1 > li:nth-child(4n+0) {
            clear: both;
        }

    #smp_centerDiv #smp_Menu > li > a {
        padding: 0px 10px;
    }
}

@media screen and (max-width: 650px) {
    #smp_centerDiv > #smp_Menu > li > div.smp_SubMenuContainer {
        background-color: rgba(61, 61, 61, 1);
    }

    #smp_centerDiv #smp_Menu {
        height: auto;
        position: fixed;
        top: 40px;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 10px;
        background-color: rgba(61, 61, 61, 1);
    }

    #smp_centerDiv a {
        display: block;
        border-radius: 3px;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        border-bottom: 1px solid rgb(148,158,158);
    }

    #siteMainPanel a:hover, #smp_centerDiv ul.smp_SubMenu1 > li > div > ul.smp_SubMenuX > li a:hover {
        color: #FFF;
    }

    #smp_centerDiv a.smp_disabledNode {
        padding: 0px;
        border-bottom: none !important;
    }

    #smp_centerDiv #smp_Menu > li:last-child > a {
        border-right: none;
        white-space: initial;
    }

    #ControlBar_ControlPanel ~ #pageWrapper > #siteFixedHeader {
        top: 0px !important;
    }

    #smp_centerDiv > #smp_Menu > li > div.smp_SubMenuContainer {
        position: relative;
        left: auto;
        width: auto;
        margin-top: 0px;
    }


    #smp_centerDiv ul.smp_SubMenu1 > li {
        width: 100%;
        float: none;
    }

    .MR_HideInMobile {
        display: none !important;
    }

    #siteFixedHeader {
        height: 42px !important;
    }

    #smp_rightDiv, #siteSubPanel {
        display: none;
    }

    .megaMenuToggle .fa {
        display: inline-block;
    }

    #smp_centerDiv .mainToggle {
        display: block;
    }


    #ssp_leftDiv {
        display: none;
    }


    #siteSubPanel {
        height: 50px !important;
    }

    #ssp_rightDiv {
        line-height: 50px !important;
    }

    #smp_rightDiv {
        position: absolute;
        top: 40px;
        float: none;
        z-index: 101;
        line-height: 50px;
    }

    .smp_SubMenuContainer {
        /* width: 100%; */
        padding: 10px 10px 0px;
    }

    #smp_centerDiv #smp_Menu > li > a {
        border-left: none;
        padding: 0;
    }

    #smp_centerDiv #smp_Menu,
    #smp_centerDiv #smp_Menu > li > div > ul.smp_SubMenu1,
    #smp_centerDiv ul.smp_SubMenu1 > li > div > ul.smp_SubMenuX {
        display: none;
        padding-bottom: 0;
        -webkit-box-shadow: none;
    }

    #smp_centerDiv ul.smp_SubMenu1 > li > div > ul.smp_SubMenuX {
        /* padding: 10px 10px 5px 25px; */
        margin: 0px;
    }

        #smp_centerDiv #smp_Menu > li,
        #smp_centerDiv ul.smp_SubMenu1 > li,
        #smp_centerDiv ul.smp_SubMenu1 > li > div > ul.smp_SubMenuX > li {
            display: block;
            line-height: 25PX;
            text-align: left;
            border-left: none;
            letter-spacing: 2px;
            font-weight: bold;
            padding: 3px;
        }

            #smp_centerDiv #smp_Menu > li[data-selected='true'] > a,
            #smp_centerDiv ul.smp_SubMenu1 > li[data-selected='true'] > a,
            #smp_centerDiv ul.smp_SubMenu1 > li > div > ul.smp_SubMenuX > li[data-selected='true'] > a {
                background: rgb(148,158,158); /* Old browsers */
                background: -moz-linear-gradient(top, rgba(148,158,158,1) 0%, rgba(126,129,150,1) 21%, rgba(105,109,131,1) 49%, rgba(128,135,150,1) 80%, rgba(148,158,158,1) 100%); /* FF3.6-15 */
                background: -webkit-linear-gradient(top, rgba(148,158,158,1) 0%,rgba(126,129,150,1) 21%,rgba(105,109,131,1) 49%,rgba(128,135,150,1) 80%,rgba(148,158,158,1) 100%); /* Chrome10-25,Safari5.1-6 */
                background: linear-gradient(to bottom, rgba(148,158,158,1) 0%,rgba(126,129,150,1) 21%,rgba(105,109,131,1) 49%,rgba(128,135,150,1) 80%,rgba(148,158,158,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
                filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#949e9e', endColorstr='#949e9e',GradientType=0 ); /* IE6-9 */
            }


            #smp_centerDiv ul.smp_SubMenu1 > li > a > span,
            #smp_centerDiv ul.smp_SubMenuX > li > a > span {
                cursor: auto;
                /*display: inline;*/
                line-height: 10px;
                margin: 0px;
                padding: 0px;
                text-align: left;
                white-space: nowrap;
            }

    #smp_centerDiv .smp_SubMenuContainer > div.megaMenuToggle {
        padding: 0px;
        margin: 0px;
        cursor: pointer;
        font-size: 10px;
        text-transform: uppercase;
        text-align: center;
        width: 18%;
        float: right;
        position: relative;
    }

    #smp_centerDiv .smp_SubMenuContainer .megaMenuToggle-icon {
        display: inline-block;
        background: #999;
        background: rgba(230, 230, 230, 0.7);
        height: 2px;
        width: 16px;
        position: relative;
        margin-top: 10px;
        text-align: left;
    }

        #smp_centerDiv .smp_SubMenuContainer .megaMenuToggle-icon:before {
            content: '';
            position: absolute;
            background: #999;
            background: rgba(230, 230, 230, 0.8);
            height: 2px;
            width: 16px;
            top: -4px;
        }

        #smp_centerDiv .smp_SubMenuContainer .megaMenuToggle-icon:after {
            content: '';
            position: absolute;
            background: #999;
            background: rgba(230, 230, 230, 0.9);
            height: 2px;
            width: 16px;
            top: -8px;
        }

    .smp_backDivButton span {
        cursor: pointer;
        padding-right: 10px;
    }

    #smp_centerDiv a[href='#'] {
        font-size: 12px;
        font-weight: bold;
        padding: 15px 15px 0px;
        width: auto;
        display: block;
        white-space: nowrap;
        color: rgb(182, 182, 182);
        border-bottom: none;
    }

        #smp_centerDiv a[href='#'],
        #smp_centerDiv a[href='#']:hover,
        #smp_centerDiv a[href='#'] > span,
        #smp_centerDiv a[href='#'] > span:hover {
            cursor: default !important;
        }
}

@media screen and (max-width: 299px) {
    #smp_centerDiv {
        text-align: center;
        min-width: 230px;
    }

    #smp_leftDiv {
        display: none;
    }
}
