
/* 
-----------------------------------------------------------------
-----------------------------------------------------------------
Title : BHT-STYLE
Author : A. Ghisellini, R. Barbatano - Makkie Srl.
-----------------------------------------------------------------
-----------------------------------------------------------------
*/



html, form {
    height: 100%;
}

body {
    font: 14px Arial, Helvetica, sans-serif;
    color: #333;
    -webkit-font-smoothing: antialiased;
    height: 100%;
    min-width: 980px;
}







#home-1 a:link {
    color: #0070B8;
    text-decoration: underline;
}

#home-1 a:visited {
    color: #0070B8;
    text-decoration: none;
}

#home-1 a:active {
    color: #0070B8;
    text-decoration: none;
}

#home-1 a:hover {
    color: #0070B8;
    text-decoration: none;
}









/* TABS LEFT
------------------------*/
ul.tabNavigation li a:hover {
    color: #65CBB1;
}

ul.tabNavigation li a.selected_tab {
    color: #65CBB1;
}


#aside h1 {
    border-bottom: 5px solid #D5F0EA;
}

#content h1 {
    border-bottom: 5px solid #D5F0EA;
}

#content h2 {
    color: #65CBB1;
}


.filter_title {
    color: #65CBB1;
}

.tr_selected {
    background-color: #D5F0EA;
}



/* CALSS MISC
------------------------*/
.autowidth {
    min-width: 50px;
}

.form-error {
    border: solid 1px #f00;
}






/* Layout
------------------------*/
#container {
    min-height: 100%;
    line-height: 1.5em;
}

#wrapper {
    overflow: hidden;
    padding-bottom: 60px;
    width: 100%;
    margin: 0 auto;
}

#main {
    overflow: hidden;
    padding: 20px;
    margin: 0 auto;
    padding-top: 20px;
}


/* BOX-dashboard
------------------------*/
#dashboard_info {
    margin-bottom: 20px;
    border: 1px solid #CCC;
    padding: 15px;
}

#dashboard_catalogo {
    margin-bottom: 20px;
    border: 1px solid #CCC;
    padding: 15px;
}

#dashboard_ecommerce {
    margin-bottom: 20px;
    border: 1px solid #CCC;
    padding: 15px;
}

#dashboard_banner {
    margin-bottom: 20px;
    border: 1px solid #CCC;
    padding: 15px;
}

#dashboard_utenti {
    margin-bottom: 20px;
    border: 1px solid #CCC;
    padding: 15px;
}

#dashboard_info, #dashboard_catalogo, #dashboard_ecommerce, #dashboard_banner, #dashboard_utenti {
    width: 95.6%;
    margin-right: 8px;
    float: left;
}





/* BREADCRUMB
------------------------*/
#breadcrumb_box {
    overflow: hidden;
    padding-left: 5px;
    font-size: 12px;
    background: #fff;
    border-bottom: 1px solid #CCC;
    margin: 0 auto;
    color: #999;
}

#breadcrumb {
    height: 35px;
    float: left;
    width: 500px;
}

    #breadcrumb li {
        float: left;
        padding-left: 15px;
    }

        #breadcrumb li a {
            background: url(../layout/crumbs.gif) no-repeat right center;
            display: block;
            line-height: 35px;
            padding: 0 15px 0 0;
        }

        #breadcrumb li.current {
            background: url(../layout/crumbs.gif) no-repeat right center;
            display: block;
            line-height: 35px;
            padding: 0 15px 0 15px;
        }

/* box destro */
#breadcrumb_right {
    line-height: 35px;
    padding-right: 20px;
    float: right;
}

/* breadcrumb
------------------------*/
#breadcrumb a:link {
    color: #0070B8;
    text-decoration: underline;
}

#breadcrumb a:visited {
    color: #0070B8;
    text-decoration: none;
}

#breadcrumb a:active {
    color: #0070B8;
    text-decoration: none;
}

#breadcrumb a:hover {
    color: #0070B8;
    text-decoration: none;
}




/* NAV FADE
------------------------*/
#nav {
    height: 40px;
    position: fixed;
    top: 0px;
    margin: 0 auto;
    background: #096;
    z-index: 999999;
}





/* MAIN
------------------------*/


/* ASIDE */
#aside {
}

    #aside h1 {
        padding: 10px 0;
        font-size: 15px;
        text-transform: uppercase;
        margin-bottom: 15px;
    }

    #aside p {
        clear: both;
        margin-bottom: 10px;
        overflow: hidden;
    }

    #aside hr {
        margin: 20px 0;
    }

/* ASIDE LEFT */
.aside_left {
    float: left;
    width: 220px;
    position: fixed;
}
/* ASIDE RIGHT */
.aside_right {
    float: right;
    margin-top: 0px;
    width: 220px;
}




/* WRAPPER CONTENT */
#content_wrapper {
    overflow: hidden;
}

/* WRAPPER CONTENT RIGHT */
.wrapper_right {
    float: right;
    width: 100%;
    margin-left: -220px;
}
/* WRAPPER CONTENT LEFT */
.wrapper_left {
    float: left;
    width: 100%;
    margin-right: -220px;
}




/* CONTENT */
#content {
}

    #content h1 {
        padding: 10px 0;
        font-size: 22px;
        font-family: Signika, Arial, Helvetica, sans-serif;
        font-weight: 600;
        margin-bottom: 15px;
        color: #164272;
    }

    #content h2 {
        padding: 10px 0;
        font-size: 22px;
        font-family: Signika, Arial, Helvetica, sans-serif;
        font-weight: 600;
        border-bottom: 1px solid #CCC;
        margin-bottom: 15px;
        color: #45C9B9;
    }

/* CONTENT RIGHT */
.content_right {
    margin-left: 220px;
    padding-left: 20px;
}

    .content_right label {
        width: 153px;
        background-color: #ececec;
        padding-left: 10px;
    }

/* CONTENT LEFT */
.content_left {
    margin-right: 220px;
    padding-right: 20px;
}

.content_full {
    margin-right: 0px;
    padding-right: 0;
}






/* FORM OBJECTS */
#content p {
    clear: both;
    margin-bottom: 10px;
    overflow: hidden;
}

    #content p label {
        float: left;
        margin-right: 10px;
        padding-top: 5px;
        padding-bottom: 6px;
    }

        #content p label span {
            color: #999;
            font-style: italic;
        }

#content hr {
    margin: 20px 0;
}

#content ul {
    list-style-image: url(../layout/icon_li.png);
    margin-left: 40px;
    margin-bottom: 10px;
}

#content li {
}

input {
    vertical-align: middle;
    padding: 5px;
    font: 14px Arial, Helvetica, sans-serif;
    margin-top: 0px;
    border: 1px #ccc solid;
}

select {
    vertical-align: middle;
    padding: 5px;
    font: 13px Arial, Helvetica, sans-serif;
}

textarea {
    padding: 5px;
    font: 13px Arial, Helvetica, sans-serif;
    min-width: 400px;
}



/* align checkboxes, radios, text inputs with their label */
input[type="radio"] {
    vertical-align: text-bottom;
    margin-top: 10px;
}

input[type="checkbox"] {
    vertical-align: bottom;
    margin-top: 10px;
}

/* hand cursor on clickable input elements */
input[type=button], input[type=submit], button {
    cursor: pointer;
}

.box_auto {
    width: 65%;
}











/* TABS LEFT
------------------------*/

.tab {
    float: right;
    width: 100%;
}

ul.tabNavigation {
    list-style: none;
    margin: 0;
    padding: 0;
    float: left;
    width: 100%;
    min-height: 400px;
    font-size: 14px;
}

    /* UL.tabNavigation LI {display: inline;} */
    ul.tabNavigation li a {
        text-transform: uppercase;
        font-weight: bold;
        font-size: 13px;
        padding: 12px 14px;
        display: block;
        color: #0070B8;
        text-decoration: none;
    }

        ul.tabNavigation li a:hover {
            text-decoration: underline;
        }

        ul.tabNavigation li a.selected_tab {
            background-color: #fff;
            padding: 11px 14px;
            border: 1px solid #ccc;
            text-decoration: none;
            border-left: none;
            -webkit-border-radius: 0px 4px 4px 0px;
            -moz-border-radius: 0px 4px 4px 0px;
            -ms-border-radius: 0px 4px 4px 0px;
            -o-border-radius: 0px 4px 4px 0px;
            border-radius: 0px 4px 4px 0px;
        }



/* TABLE
------------------------*/

.datatable {
    width: 100%;
    height: 100%;
    border-top: 1px solid #cccccc;
    border-left: 1px solid #cccccc;
    margin: 0px;
    padding: 0px;
}

    .datatable th {
        vertical-align: top;
        border: 1px solid #cccccc;
        border-width: 0px 1px 1px 0px;
        text-align: left;
        padding: 25px 5px; /*position:relative;*/
    }


    .datatable td {
        vertical-align: middle;
        border: 1px solid #cccccc;
        border-width: 0px 1px 1px 0px;
        /*text-align: left;*/
        padding: 7px 5px;
    }

    .datatable thead:first-child {
        background: #f5f5f5;
        font-size: 12px;
        color: #999;
    }

    .datatable input[type="checkbox"] {
        margin-top: 0px;
    }

    .datatable input[type=radio] {
        margin-top: 0px;
    }

    .datatable input {
        border: 1px solid #CCCCCC;
        font: 12px Arial,Helvetica,sans-serif;
        padding: 5px;
        vertical-align: middle;
        width: 100%;
        text-align: center;
    }

.rangesearch input {
    text-align: left;
}



.datatable select {
    border: 1px solid #CCCCCC;
    font: 12px Arial,Helvetica,sans-serif;
    padding: 5px;
    vertical-align: middle;
}

/* filtri tabella */
.filter_left {
    min-width: 98%;
    float: left;
}

.filter_right {
    float: right;
    text-align: right;
}

.filter_title {
    padding: 0px 0px 3px 0px;
    font-weight: bold;
    margin-top: -20px;
}

.filter_title_alt {
    /*margin-top: -34px;*/
    float: left;
}

.icon_up {
    float: right;
    margin: 0;
    padding: 0;
    height: 25px;
}

.icon_down {
    clear: both;
    float: right;
    height: 25px;
    margin-top: 20px;
}




/* tabella senza bordi */
.datatable_noborder {
    width: 100%;
    height: 100%;
    border-top: none;
    border-left: none;
    margin: 0px;
    padding: 0px;
}

    .datatable_noborder th {
        border: none;
        text-align: left;
        padding: 0;
    }

    .datatable_noborder td {
        border: none;
        padding: 0;
    }




/* paginatore */
.pager {
    border: 1px solid #CCC;
    border-top: 2px solid #CCC;
    background: #fff;
    padding: 7px 10px;
    color: #999;
}

    .pager a:link {
        color: #00447B;
        font-size: larger;
        padding: 7px;
        text-decoration: underline;
        background-color: #F1F1F1;
    }

    .pager a:visited {
        text-decoration: underline;
        color: #00447B;
    }

    .pager a:active {
        text-decoration: underline;
        color: #00447B;
    }

    .pager a:hover {
        text-decoration: none;
        color: #000;
    }




/* Menu navigazione orizzontale
--------------------------------------*/
#menu {
    width: auto;
    height: 50px;
    margin: auto 0;
    padding: 0;
    display: block;
    font-size: 14px;
    line-height: 1;
}

    #menu h1, #menu ul, #menu p, #menu img {
        margin: 0;
        padding: 0;
        border: 0;
    }

    #menu h1 {
        font-weight: normal;
    }

    #menu ul {
        list-style: none;
    }

    #menu a {
        text-decoration: none;
    }

    #menu .menu-label {
        font-weight: normal;
    }

    /* Top buttons */
    #menu .menu-top > li {
        float: left;
        position: relative;
        text-align: center;
        -webkit-transition: background-color 0.2s;
        -moz-transition: background-color 0.2s;
        -ms-transition: background-color 0.2s;
        -o-transition: background-color 0.2s;
        transition: background-color 0.2s;
    }

        #menu .menu-top > li:hover {
            -webkit-transition: background-color 0.2s;
            -moz-transition: background-color 0.2s;
            -ms-transition: background-color 0.2s;
            -o-transition: background-color 0.2s;
            transition: background-color 0.2s;
        }

    #menu .menu-top .menu-right {
        float: right;
    }

    #menu .menu-button {
        display: block;
        line-height: 50px;
        padding: 0 20px;
        -webkit-transition: color 0.2s;
        -moz-transition: color 0.2s;
        -ms-transition: color 0.2s;
        -o-transition: color 0.2s;
        transition: color 0.2s;
    }

    #menu li:hover .menu-button {
        -webkit-transition: color 0.2s;
        -moz-transition: color 0.2s;
        -ms-transition: color 0.2s;
        -o-transition: color 0.2s;
        transition: color 0.2s;
    }

    #menu .menu-drop {
        padding-right: 20px;
    }

        #menu .menu-drop .menu-label {
            padding-right: 20px;
            background: url("../layout/drop1.png") no-repeat right;
            -webkit-transition: background 0.2s;
            -moz-transition: background 0.2s;
            -ms-transition: background 0.2s;
            -o-transition: background 0.2s;
            transition: background 0.2s;
        }



    #menu li:hover .menu-drop .menu-label {
        background: url("../layout/drop2.png") no-repeat right;
        -webkit-transition: background 0.2s;
        -moz-transition: background 0.2s;
        -ms-transition: background 0.2s;
        -o-transition: background 0.2s;
        transition: background 0.2s;
    }


    /* Dropdown */
    #menu .menu-dropdown {
        text-align: left;
        -webkit-border-radius: 0 0 3px 3px;
        -moz-border-radius: 0 0 3px 3px;
        -ms-border-radius: 0 0 3px 3px;
        -o-border-radius: 0 0 3px 3px;
        border-radius: 0 0 3px 3px;
        position: absolute;
        left: -5000px;
        opacity: 0;
        z-index: 100;
        width: 183px;
    }

    #menu li:hover .menu-dropdown {
        left: 0;
        opacity: 1;
        -webkit-transition: opacity 0.2s;
        -moz-transition: opacity 0.2s;
        -ms-transition: opacity 0.2s;
        -o-transition: opacity 0.2s;
        transition: opacity 0.2s;
    }

    #menu .menu-right:hover .menu-dropdown {
        left: auto;
        right: 0;
    }

    #menu .menu-sub {
        margin: 5px 0;
    }


        /* Dropdown content */
        #menu .menu-sub li {
            white-space: nowrap;
            min-width: 150px;
            -webkit-transition: background-color 0.1s;
            -moz-transition: background-color 0.1s;
            -ms-transition: background-color 0.1s;
            -o-transition: background-color 0.1s;
            transition: background-color 0.1s;
        }

            #menu .menu-sub li:hover {
                -webkit-transition: background-color 0.2s;
                -moz-transition: background-color 0.2s;
                -ms-transition: background-color 0.2s;
                -o-transition: background-color 0.2s;
                transition: background-color 0.2s;
            }

    #menu .menu-subbutton {
        display: block;
        padding: 7px 20px;
        line-height: 1.3;
        -webkit-transition: color 0.2s;
        -moz-transition: color 0.2s;
        -ms-transition: color 0.2s;
        -o-transition: color 0.2s;
        transition: color 0.2s;
    }

    #menu .menu-sub li:hover .menu-subbutton {
        -webkit-transition: color 0.2s;
        -moz-transition: color 0.2s;
        -ms-transition: color 0.2s;
        -o-transition: color 0.2s;
        transition: color 0.2s;
    }

    #menu .menu-row {
        display: inline-block;
        zoom: 1;
        float: left;
        display: inline;
    }

        #menu .menu-row .menu-sub {
            margin: 0;
        }

    #menu h1 {
        font-size: 14px;
        line-height: 1.6em;
    }


    /* Dropdown 2 */
    #menu .menu-dropdown2 {
        padding-top: 5px;
        white-space: nowrap;
    }

        #menu .menu-dropdown2 h1 {
            margin: 0 0 5px 20px;
        }

        #menu .menu-dropdown2 .menu-row {
            margin: 5px 0;
        }

            #menu .menu-dropdown2 .menu-row:last-child {
                border-right: none;
            }


.selected {
    background-color: #D5F0EA;
    border: 1px solid #65CBB1;
    color: #65CBB1;
    padding: 2px;
}




ul#admin_menu li a {
    color: #fff;
}

    ul#admin_menu li a.active, ul#admin_menu li a:hover {
        background-color: #fff;
        color: #65CBB1;
    }



/* Menu navigazione orizzontale
------------------------*/
#menu {
    background-color: #12345B;
}

    #menu a {
        color: #d0d0d0;
    }

    #menu .menu-top > li:hover {
        background-color: #2B5B91;
    }

    #menu li .menu-button {
        color: #d0d0d0;
    }



    #menu li:hover .menu-button {
        color: #ffffff;
    }

    /* Dropdown */
    #menu .menu-dropdown {
        background-color: #3E74AD;
    }

    #menu .menu-sub li:hover {
        background: #2a2a2a;
    }

    #menu .menu-subbutton {
        color: #fff;
    }

    #menu .menu-sub li:hover .menu-subbutton {
        color: #ffffff;
    }

    #menu .menu-desc {
        color: #a0a0a0;
    }

    #menu .menu-sub li:hover .menu-desc {
        color: #d0d0d0;
    }

    #menu h1 {
        color: #FACB4D;
    }

    #menu p {
        color: #e5e5e5;
    }

















/* Footer
------------------------*/
#footer {
    display: block;
    overflow: hidden;
    background-color: #f5f5f5;
    color: #999;
    border-top: 1px solid #CCC;
    padding: 10px 0;
}

.push {
    height: 40px;
}

.footer {
    position: relative;
    margin-top: -36px; /* negative value of footer height */
    clear: both;
}


#footer_left {
    font-size: 12px;
    width: 40%;
    line-height: 15px;
    float: left;
    padding: 0 10px;
}

#footer_right {
    font-size: 12px;
    width: 30%;
    line-height: 15px;
    text-align: right;
    float: right;
    padding: 0 10px;
}

.label {
    display: block;
}









/* BOX SALVA
------------------------*/
#box_save {
    width: 200px;
    right: 20px;
    position: fixed;
    bottom: 50px;
    height: 100px;
    z-index: 20;
}

    #box_save .btn_grey, #box_save .btn_black, #box_save .btn_green, #box_save .btn_red, #box_save .btn_pink, #box_save .btn_blue, #box_save .btn_skyblue, #box_save .btn_orange {
        padding: 8px 0px;
        text-align: center;
        width: 198px;
        clear: both;
        margin-bottom: 10px;
        text-decoration: none !important;
    }











/* Class EFFECTS
------------------------*/


/* transition_grey */
.transition_grey {
    background: #ffffff;
    -webkit-transition: background 200ms ease-in-out;
    -moz-transition: background 200ms ease-in-out;
    -ms-transition: background 200ms ease-in-out;
    -o-transition: background 200ms ease-in-out;
    transition: background 200ms ease-in-out;
}

    .transition_grey:hover {
        background: #f5f5f5;
        -webkit-transition: background 200ms ease-in-out;
        -moz-transition: background 200ms ease-in-out;
        -ms-transition: background 200ms ease-in-out;
        -o-transition: background 200ms ease-in-out;
        transition: background 200ms ease-in-out;
    }





/* gradient_grey */
.gradient_grey {
    background: #ffffff;
}

    .gradient_grey:hover {
        background: #f9f9f9; /* Old browsers */
        background: -moz-linear-gradient(top, #f9f9f9 0%, #e9e9e9 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f9f9), color-stop(100%,#e9e9e9)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, #f9f9f9 0%,#e9e9e9 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, #f9f9f9 0%,#e9e9e9 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top, #f9f9f9 0%,#e9e9e9 100%); /* IE10+ */
        background: linear-gradient(to bottom, #f9f9f9 0%,#e9e9e9 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9f9f9', endColorstr='#e9e9e9',GradientType=0 ); /* IE6-9 */
    }








/* boxmodel */
.boxmodel {
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border: 1px solid #E4E4E4;
    width: auto;
    margin: 0 auto;
    -webkit-box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.1);
    background: #FFF;
}




















/* BUTTONS Class
------------------------*/


.btn_grey, .btn_black, .btn_green, .btn_red, .btn_pink, .btn_blue, .btn_skyblue, .btn_orange {
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    display: inline-block;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 15px;
    font-weight: normal;
    padding: 8px 24px;
    text-decoration: none !important;
}





/* grey */
.btn_grey {
    -moz-box-shadow: inset 0px 0px 0px 0px #ffffff;
    -webkit-box-shadow: inset 0px 0px 0px 0px #ffffff;
    box-shadow: inset 0px 0px 0px 0px #ffffff;
    background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f9f9f9), color-stop(1, #e9e9e9) );
    background: -moz-linear-gradient( center top, #f9f9f9 5%, #e9e9e9 100% );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e9e9e9');
    background-color: #f9f9f9;
    border: 1px solid #dcdcdc;
    color: #222 !important;
    text-shadow: 1px 1px 0px #ffffff;
    width: 15px;
    height: 15px;
    padding: 0px;
    vertical-align: middle;
}

    .btn_grey:hover {
        background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #e9e9e9), color-stop(1, #f9f9f9) );
        background: -moz-linear-gradient( center top, #e9e9e9 5%, #f9f9f9 100% );
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e9e9e9', endColorstr='#f9f9f9');
        background-color: #e9e9e9;
    }

    .btn_grey:active {
        position: relative;
        top: 1px;
    }

    .btn_grey img {
        width: 13px;
        height: auto !important;
    }

.btn_grey-mini {
    font-size: 12px;
    min-height: 40px;
    min-width: 40px;
    padding: 0;
    margin-left: 10px;
}

    .btn_grey-mini img {
        margin: 10px;
        width: 20px;
    }

.btn_grey-add {
    height: 20px;
    padding: 0 !important;
    width: 20px;
}

.btn_grey-csv {
    font-size: 11px !important;
    height: 33px;
    padding: 8px !important;
    width: 36px !important;
}













/* black */
.btn_black {
    -moz-box-shadow: inset 0px 0px 0px 0px #0070B8;
    -webkit-box-shadow: inset 0px 0px 0px 0px #0070B8;
    box-shadow: inset 0px 0px 0px 0px #0070B8;
    background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #0070B8), color-stop(1, #000000) );
    background: -moz-linear-gradient( center top, #0070B8 5%, #000000 100% );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#666666', endColorstr='#000000');
    background-color: #0070B8;
    border: 1px solid #0070B8;
    color: #ffffff !important;
    text-shadow: 1px 1px 0px #000000;
}

    .btn_black:hover {
        background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #000000), color-stop(1, #0070B8) );
        background: -moz-linear-gradient( center top, #000000 5%, #0070B8 100% );
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#0070B8');
        background-color: #000000;
    }

    .btn_black:active {
        position: relative;
        top: 1px;
    }
















/* green */
.btn_green {
    -moz-box-shadow: inset 0px 0px 0px 0px #45C9B9;
    -webkit-box-shadow: inset 0px 0px 0px 0px #45C9B9;
    box-shadow: inset 0px 0px 0px 0px #45C9B9;
    background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #45C9B9), color-stop(1, #1C6159) );
    background: -moz-linear-gradient( center top, #45C9B9 5%, #1C6159 100% );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='##45C9B9', endColorstr='#1C6159');
    background-color: #45C9B9;
    border: 1px solid #45C9B9;
    color: #ffffff !important;
    text-shadow: 1px 1px 0px #1C6159;
}

    .btn_green:hover {
        background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #1C6159), color-stop(1, #45C9B9) );
        background: -moz-linear-gradient( center top, #1C6159 5%, #45C9B9 100% );
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#45C9B9');
        background-color: #1C6159;
    }

    .btn_green:active {
        position: relative;
        top: 1px;
    }





/* pink */
.btn_pink {
    -moz-box-shadow: inset 0px 0px 0px 0px #fbafe3;
    -webkit-box-shadow: inset 0px 0px 0px 0px #fbafe3;
    box-shadow: inset 0px 0px 0px 0px #fbafe3;
    background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ff5bb0), color-stop(1, #ef027d) );
    background: -moz-linear-gradient( center top, #ff5bb0 5%, #ef027d 100% );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bb0', endColorstr='#ef027d');
    background-color: #ff5bb0;
    border: 1px solid #ee1eb5;
    color: #ffffff !important;
    text-shadow: 1px 1px 0px #c70067;
}

    .btn_pink:hover {
        background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ef027d), color-stop(1, #ff5bb0) );
        background: -moz-linear-gradient( center top, #ef027d 5%, #ff5bb0 100% );
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ef027d', endColorstr='#ff5bb0');
        background-color: #ef027d;
    }

    .btn_pink:active {
        position: relative;
        top: 1px;
    }







/* red */
.btn_red {
    -moz-box-shadow: inset 0px 0px 0px 0px #f29c93;
    -webkit-box-shadow: inset 0px 0px 0px 0px #f29c93;
    box-shadow: inset 0px 0px 0px 0px #f29c93;
    background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #fe1a00), color-stop(1, #ce0100) );
    background: -moz-linear-gradient( center top, #fe1a00 5%, #ce0100 100% );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fe1a00', endColorstr='#ce0100');
    background-color: #fe1a00;
    border: 1px solid #d83526;
    color: #ffffff !important;
    text-shadow: 1px 1px 0px #b23e35;
}

    .btn_red:hover {
        background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ce0100), color-stop(1, #fe1a00) );
        background: -moz-linear-gradient( center top, #ce0100 5%, #fe1a00 100% );
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ce0100', endColorstr='#fe1a00');
        background-color: #ce0100;
    }

    .btn_red:active {
        position: relative;
        top: 1px;
    }








/* blue */
.btn_blue {
    -moz-box-shadow: inset 0px 0px 0px 0px #97c4fe;
    -webkit-box-shadow: inset 0px 0px 0px 0px #97c4fe;
    box-shadow: inset 0px 0px 0px 0px #97c4fe;
    background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #3d94f6), color-stop(1, #1e62d0) );
    background: -moz-linear-gradient( center top, #3d94f6 5%, #1e62d0 100% );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3d94f6', endColorstr='#1e62d0');
    background-color: #3d94f6;
    border: 1px solid #337fed;
    color: #ffffff !important;
    text-shadow: 1px 1px 0px #1570cd;
}

    .btn_blue:hover {
        background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #1e62d0), color-stop(1, #3d94f6) );
        background: -moz-linear-gradient( center top, #1e62d0 5%, #3d94f6 100% );
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1e62d0', endColorstr='#3d94f6');
        background-color: #1e62d0;
    }

    .btn_blue:active {
        position: relative;
        top: 1px;
    }










/* skyblue */
.btn_skyblue {
    -moz-box-shadow: inset 0px 0px 0px 0px #cae3fc;
    -webkit-box-shadow: inset 0px 0px 0px 0px #cae3fc;
    box-shadow: inset 0px 0px 0px 0px #cae3fc;
    background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #79bbff), color-stop(1, #4197ee) );
    background: -moz-linear-gradient( center top, #79bbff 5%, #4197ee 100% );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#79bbff', endColorstr='#4197ee');
    background-color: #79bbff;
    border: 1px solid #469df5;
    color: #ffffff !important;
    text-shadow: 1px 1px 0px #287ace;
}

    .btn_skyblue:hover {
        background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #4197ee), color-stop(1, #79bbff) );
        background: -moz-linear-gradient( center top, #4197ee 5%, #79bbff 100% );
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4197ee', endColorstr='#79bbff');
        background-color: #4197ee;
    }

    .btn_skyblue:active {
        position: relative;
        top: 1px;
    }










/* orange */
.btn_orange {
    -moz-box-shadow: inset 0px 0px 0px 0px #ff6600;
    -webkit-box-shadow: inset 0px 0px 0px 0px #ff6600;
    box-shadow: inset 0px 0px 0px 0px #ff6600;
    background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ffcc33), color-stop(1, #f9a60c) );
    background: -moz-linear-gradient( center top, #ffcc33 5%, #f9a60c 100% );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffcc33', endColorstr='#f9a60c');
    background-color: #ffcc33;
    border: 1px solid #f5c26a;
    color: #ffffff !important;
    text-shadow: 1px 1px 0px #db9525;
}

    .btn_orange:hover {
        background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f9a60c), color-stop(1, #ffcc33) );
        background: -moz-linear-gradient( center top, #f9a60c 5%, #ffcc33 100% );
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9a60c', endColorstr='#ffcc33');
        background-color: #f9a60c;
    }

    .btn_orange:active {
        position: relative;
        top: 1px;
    }


/* W3 FORMS - Generic style
================================================== */

fieldset {
    margin: 0;
    border: 1px solid #CCC;
    margin-bottom: 15px;
    padding: 20px;
    background: #fff;
}

    fieldset legend {
        padding: 5px 10px;
        background: #12345B;
        color: #FFF;
        font-size: 14px;
        text-transform: uppercase;
        border: 1px solid #CCC;
    }

    fieldset p {
        padding: 5px;
        overflow: hidden; /* margin-bottom:15px;*/
    }

        fieldset p label {
            float: left;
            width: 25%;
            border-bottom: 3px dotted #f5f5f5;
            color: #666;
            display: block;
            font-weight: normal
        }

    /* campo di testo */
    fieldset input {
        padding: 8px; /*min-width:50%;*/
    }

        fieldset input[type="text"] {
            /*min-width: 60%;*/
            padding: 8px; /*min-width:50%;*/
        }


    /* area di testo */
    fieldset textarea {
        padding: 8px;
        /* min-width: 50%;*/
    }
    /* button */
    fieldset button {
        padding: 8px 10px;
    }
    /* Tendina */
    fieldset select {
        /* min-width: 62%;*/
        padding: 8px;
    }

    fieldset input[type="radio"] {
        vertical-align: text-bottom;
    }

    fieldset input[type="checkbox"] {
        vertical-align: bottom;
        vertical-align: baseline;
    }


#paginatore select {
    min-width: 100px;
}


input[type="file"] {
    background: #ececec;
}

/*.search
{
    min-width: 90%;
}*/

.validation_summary {
    background: none repeat scroll 0 0 #B94A48;
    border: 1px solid;
    color: #FFFFFF;
    font-weight: bold;
    margin: 5px 3px 7px;
    padding: 15px 0 10px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.35);
    -moz-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.35);
    box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.35);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
}

    .validation_summary ul {
        margin: 0;
        padding: 0;
        margin-left: 80px;
        list-style: square;
    }

.input-error {
    background: none repeat scroll 0 0 #B94A48;
    color: #FFFFFF;
    display: block;
    float: none;
    font-size: 12px;
    font-weight: bold;
    overflow: hidden;
    padding: 5px 10px;
    width: 50% !important;
}




.HideLoadingOverlay {
    position: absolute; /* makes the div go into a position that’s absolute to the browser viewing area */
    left: 0%; /* makes the div span all the way across the viewing area */
    top: 0%; /* makes the div span all the way across the viewing area */
    background-color: black;
    -moz-opacity: 0.7; /* makes the div transparent, so you have a cool overlay effect */
    opacity: .70;
    filter: alpha(opacity=70);
    width: 100%;
    height: 100%;
    z-index: 90; /* makes the div the second most top layer, so it’ll lay on top of everything else EXCEPT for divs with a higher z-index (meaning the #overlay ruleset) */
}

.OverlayLoadingMessage {
    position: absolute; /* makes the div go into a position that’s absolute to the browser viewing area */
    left: 25%; /* positions the div half way horizontally */
    top: 25%; /* positions the div half way vertically */ /*padding: 25px;  	border: 2px solid black; 	background-color: #ffffff; 	width: 50%; 	height: 50%;*/
    z-index: 100; /* makes the div the top layer, so it’ll lay on top of the other content */
}


.ui-datepicker {
    z-index: 300 !important;
}

.ui-dialog {
    z-index: 300 !important;
}



table img {
    margin: 1px;
}


.clear-search {
    border-bottom: 1px dashed #CCCCCC;
    display: block;
    /*margin-top: 30px !important;*/
    overflow: hidden;
    padding-top: 10px;
    position: relative !important;
    right: 0 !important;
    width: auto !important;
    margin-bottom: 4px
}

    .clear-search .btn_black {
        clear: none !important;
        float: left !important;
        margin-right: 10px;
    }

.btn_grey a {
    padding: 8px !important;
}


.btn_grey img {
    height: 20px;
}

.alertconsumi {
    background: url("../layout/alert.png") no-repeat scroll 0 0 / 44px auto #FFDDB0;
    border: 1px solid;
    border-radius: 5px;
    box-shadow: 0 0 5px 0 rgba(50, 50, 50, 0.35);
    color: #555555;
    font-weight: bold;
    margin: 5px 3px 7px;
    padding: 15px 10px 10px 65px;
    transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
}


.questionario input[type="text"] {
    display: block;
    width: 60%;
}

.calendar-next, .calendar-prev {
    display: inline-block;
    margin-left: 349px;
    margin-top: -30px;
    position: absolute;
}

.calendar-prev {
}


.calendar-next {
    margin-left: 360px;
}


    .calendar-next img {
        transform: rotate(-90deg);
        -ms-transform: rotate(-90deg); /* IE 9 */
        -webkit-transform: rotate(-90deg); /* Safari and Chrome */
    }

.calendar-prev img {
    transform: rotate(-90deg);
    -ms-transform: rotate(-90deg); /* IE 9 */
    -webkit-transform: rotate(-90deg); /* Safari and Chrome */
}

.btn_conferma {
    float: left;
    height: 35px;
    margin-right: 5px;
    padding: 0 24px;
}


.errore403 {
    background: url("../layout/error2.png") no-repeat scroll 0 50% rgba(0, 0, 0, 0);
    display: block;
    padding: 41px 150px;
}


@media only screen and (min-width: 400px) and (max-width: 1200px) {
    #menu .menu-button {
        display: block;
        line-height: 50px;
        padding: 0 10px;
        transition: color 0.2s ease 0s;
        font-size: 13px;
    }
}

.validator {
    display: inline;
    margin-left: 10px;
    width: auto;
    color: #CC4A4A;
    font-size: 0.8em;
    margin: 0.41667em 0.08333em 0;
}

.questionario_resp {
    min-width: 0 !important;
    display: inline;
}

.questionario_sino {
    width: 60px !important;
}

.questionario_perc {
    width: 60px !important;
    display: inline;
}

.questionario_num {
    width: 100px !important;
}

.centrodicosto_resp {
    min-width: 0 !important;
}

.centrodicosto_num {
    width: 200px !important;
}

.calendar_ev_details {
}

    .calendar_ev_details input {
        width: 100%;
    }

        .calendar_ev_details input.time {
            width: 80px;
        }

        .calendar_ev_details input.date {
            width: 80px;
        }

    .calendar_ev_details select {
        width: 100%;
    }

    .calendar_ev_details td {
        padding: 4px;
        vertical-align: middle;
    }

.calendar_ev_details {
    width: 90%;
}

    .calendar_ev_details textarea {
        height: 100px;
    }


p.crmreadonly {
}

    p.crmreadonly input {
        background-color: #efefef;
    }

input.crmreadonly {
    background-color: #efefef;
}

table.centridicosto, table.questionario {
}

    table.centridicosto td, table.questionario td {
        border-bottom: 1px dashed #e9e9e9;
        padding: 2px;
        vertical-align: middle;
    }

    table.centridicosto input, table.questionario input {
        text-align: right;
    }

table.fileupload {
}

    table.fileupload td.preview {
        width: 10%;
    }

    table.fileupload td.filename {
        width: 40%;
    }

.btn-danger {
    background-color: #D9534F;
    border-color: #D43F3A;
    color: #FFFFFF;
    -moz-user-select: none;
    background-image: none;
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857;
    margin-bottom: 0;
    padding: 8px 24px;
    text-align: center; /*vertical-align: middle;*/
    white-space: nowrap;
}

.decimalfield2 {
    text-indent: -15px;
}

.dashboard_block {
    width: 30%;
    min-width: 300px;
    float: left;
    overflow: visible;
    display: block;
    border: 1px solid #CCC;
    min-height: 600px;
    padding: 10px;
    margin-right: 10px;
}

    .dashboard_block img {
        max-height: 150px;
        max-width: 100%;
    }

.dashboard_block_img {
    height: 152px;
}


.transition_grey {
    background: none repeat scroll 0 0 #FFFFFF;
    transition: background 200ms ease-in-out 0s;
}

    .transition_grey:hover {
        background: none repeat scroll 0 0 #F5F5F5;
        transition: background 200ms ease-in-out 0s;
    }


.dashboard_msg {
    padding: 10px;
}

select.statoofferta_yellow, span.statoofferta_yellow {
    background-color: #F7F7CA;
}

select.statoofferta_green, span.statoofferta_green {
    background-color: #e6eed6;
}

select.statoofferta_red, span.statoofferta_red {
    background-color: #F7CACA;
}

span.statoofferta_yellow {
    padding: 4px;
    border-radius: 3px;
    border: 1px solid #777;
    width: 90%;
    font-weight: bold;
    display: block;
    font-size: small;
    color: #555;
}

span.statoofferta_green {
    padding: 4px;
    border-radius: 3px;
    border: 1px solid #777;
    width: 90%;
    font-weight: bold;
    display: block;
    font-size: small;
    color: #555;
}

span.statoofferta_red {
    padding: 4px;
    border-radius: 3px;
    border: 1px solid #777;
    width: 90%;
    font-weight: bold;
    display: block;
    font-size: small;
    color: #555;
}


.btn_green {
    float: right;
}

label {
    font-weight: normal;
}


fieldset p label {
    border-bottom: 3px dotted #f5f5f5;
    color: #666;
    display: block;
    float: left;
    font-weight: normal;
    width: 25%;
}

.preview img {
    width: 97%;
}


