/**********************************************************************************************************
    STICKY FOOTER
    Sticky Footer by Ryan Fait
    http://ryanfait.com/

***********************************************************************************************************/
*
{
    margin: 0;
}

html, body, form
{
    height: 100%;
}

#sf_wrapper
{
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -100px; /* the bottom margin is the negative value of the footer's height */
}

#sf_push
{
    clear: both;
    height: 100px; /* .push must be the same height as .footer (height + border-top + border-bottom) */
}

#footer
{
    clear: both;
    height: 98px;
    border-top: 2px solid #009ee1;
    background: #1c1c1c url("images/backgrounds/bg_grey_rows.png") 0 0 repeat;
}


/* -------------------- Basic HTML tags -------------------- */

html
{
    overflow: auto;
}

body
{
    font: 12px/1.5 Arial, Helvetica, Sans-Serif;
    color: #444444;
    background: #1c1c1c url("images/backgrounds/bg_lightgrey_noise.png") 0 0 repeat;
}

a:focus
{
    outline: 1px dotted invert;
}

hr
{
    border-color: #ccc;
    border-style: solid;
    border-width: 1px 0 0;
    clear: both;
    height: 0;
}

h1, h2, h3
{
    font-family: "Segoe UI" , Arial, Helvetica, Sans-Serif;
    font-weight: lighter;
    color: #000000;
}


h1
{
    font-size: 36px;
    letter-spacing: -1.5px;
}

h2
{
    font-size: 30px;
    letter-spacing: -1px;
}

h3
{
    font-size: 26px;
}

h4
{
    font-size: 14px;
}

h5
{
    font-size: 12px;
}

h6
{
    font-size: 10px;
}

ol
{
    list-style: decimal;
    list-style-position: inside;
}

ul.bullets
{
    list-style: disc;
    list-style-position: inside;
}

ul.bullets li
{
    margin-left: 20px;
    margin-bottom: 5px;
}

p, dl, hr, h1, h2, h3, h4, h5, h6, ol, ul, pre, table, address, fieldset
{
    margin-bottom: 8px;
}

a, a:visited
{
    color: #0063be;
    text-decoration: none;
}

a:hover, a:active
{
    text-decoration: underline;
}

h1 a, h1 a:visited, h2 a, h2 a:visited, h3 a, h3 a:visited, h4 a, h4 a:visited, h5 a, h5 a:visited, h6 a, h6 a:visited
{
    color: #444444;
}

h1 a:hover, h1 a:active, h2 a:hover, h2 a:active, h3 a:hover, h3 a:active, h4 a:hover, h4 a:active, h5 a:hover, h5 a:active, h6 a:hover, h6 a:active
{
    color: #0063be;
}




/* --------------------  Custom general classes -------------------- */

.align-left
{
    text-align: left !important;
}

.align-right
{
    text-align: right !important;
}

.align-center
{
    text-align: center !important;
}

.align-justify
{
    text-align: justify !important;
}

.float-left
{
    float: left;
}

.float-right
{
    float: right;
}

.bottom-spacing
{
    margin-bottom: 20px;
}




/* -------------------- Page elements -------------------- */



#header
{
    margin-bottom: 20px;
}

#header-status
{
    background: #333333;
    padding: 0;
    color: #aaaaaa;
}

#text-invitation
{
    /*background:url('images/mail-q-bg.jpg') top left no-repeat;*/
    color: #dedede;
    padding: 0;
    margin-left: 10px;
    text-decoration: none;
    line-height: 38px;
}

#message-notification span
{
    color: #444444;
    margin-right: 15px;
    text-align: center;
    display: block;
    float: left;
    width: 32px;
}

#message-notification a:hover, #message-notification a:active
{
    color: #ffffff;
}

a.logout, a.logout:visited
{
    display: block;
    float: right;
    background: url(images/icologout.png) right 9px no-repeat;
    padding: 9px 20px 11px 0px;
    color: #ffffff !important;
}

a.logout:hover, a.logout:active
{
    color: #ffffff;
}

#header-main
{
    height: 50px;
}

#header-main #logo
{
    /*background: url(images/themes/blue/logo.png) no-repeat left 10px; */
    width: 100%;
    height: 70px;
}

#header-main #logo h2
{
    margin-left: 10px;
    color: #ffffff;
}

#header-main #logo h2 a
{
    color: #ffffff;
}

#header-main #logo h2 a:hover
{
    color: #000000;
    text-decoration: none;
}

#subnav
{
    background: transparent url("images/backgrounds/submenu-bg.png") repeat-x bottom left;
    height: 48px;
}

/*
#subnav ul
{
    list-style: none;
    margin: 0;
    padding: 0;
}

#subnav ul li
{
    float: left;
    margin: 0 18px 0 0;
    padding: 0;
}

#subnav ul a, #subnav ul a:visited
{
    display: block;
    float: left;
    color: #0063be;
    font-size: 13px;
    padding: 10px 0 0 0;
    text-decoration: none;
}

#subnav ul a:hover, #subnav ul a:active
{
    text-decoration: underline;
}

*/
/* -------------------- Nav tabs (sliding door technique) -------------------- */



ul#nav
{
    float: left;
    list-style: none;
    font-size: 13px;
    margin-bottom: 0;
}

ul#nav li
{
    background: transparent url(images/themes/blue/tab-left.gif) no-repeat scroll left top;
    float: left;
    margin: 0 5px 0 0;
    padding: 0 0 0 9px;
}

ul#nav li a, ul#nav li a:visited
{
    background: transparent url(images/themes/blue/tab-right.gif) no-repeat scroll right top;
    color: #FFFFFF;
    display: block;
    float: left;
    padding: 7px 15px 6px 6px;
    text-decoration: none;
}

ul#nav li a:hover
{
    padding: 8px 15px 5px 6px;
}

ul#nav li#current
{
    /* give the id="current" to the currently selected tab */
    background: transparent url(images/themes/blue/tab-active-left.gif) no-repeat scroll left top;
}

ul#nav li#current a
{
    background: transparent url(images/themes/blue/tab-active-right.gif) no-repeat scroll right top;
    color: #444444;
}




/* -------------------- Box module -------------------- */

div.module
{
    background-color: #ffffff;
    border: solid 1px #dddddd;
    border-bottom-width: 5px;
    border-top: none;
    float: left;
    width: 100%;
    margin-bottom: 20px;
}

div.module div.module-body
{
    padding: 15px 2%;
    float: left;
    width: 96%;
}

/* Percentage padding in the module dependant on the cell width */
.grid_1 div.module div.module-body
{
    padding: 20px 8% 20px 8%;
    float: left;
    width: 84%;
}
.grid_2 div.module div.module-body
{
    padding: 20px 7% 20px 7%;
    float: left;
    width: 86%;
}
.grid_3 div.module div.module-body
{
    padding: 20px 6% 20px 6%;
    float: left;
    width: 88%;
}
.grid_4 div.module div.module-body
{
    padding: 20px 5% 20px 5%;
    float: left;
    width: 90%;
}
.grid_5 div.module div.module-body
{
    padding: 20px 4% 20px 4%;
    float: left;
    width: 92%;
}
.grid_6 div.module div.module-body
{
    padding: 20px 3% 20px 3%;
    float: left;
    width: 94%;
}
.grid_7 div.module div.module-body
{
    padding: 20px 2.75% 20px 2.75%;
    float: left;
    width: 94.5%;
}
.grid_8 div.module div.module-body
{
    padding: 20px 2.5% 20px 2.5%;
    float: left;
    width: 95%;
}
.grid_9 div.module div.module-body
{
    padding: 20px 2.25% 20px 2.25%;
    float: left;
    width: 95.5%;
}
.grid_10 div.module div.module-body
{
    padding: 20px 2% 20px 2%;
    float: left;
    width: 96%;
}
.grid_11 div.module div.module-body
{
    padding: 20px 1.75% 20px 1.75%;
    float: left;
    width: 96.5%;
}
.grid_12 div.module div.module-body
{
    padding: 20px 1.5% 20px 1.5%;
    float: left;
    width: 97%;
}



div.module div.module-table-body
{
    background: url('images/module-body-right-bg.gif') no-repeat scroll bottom right;
    padding: 0;
    float: left;
    width: 100%;
}

div.module h2
{
    /* Sliding right image */
    background-color: #242424;
    border-top: 2px solid #009EE1;
    display: block;
    float: left;
    height: 42px; /* CHANGE THIS VALUE ACCORDING TO IMAGE HEIGHT */
    padding-top:5px;
    margin-right: 0px;
    padding-right: 0px; /* CHENGE THIS VALUE ACCORDING TO RIGHT IMAGE WIDTH */ /* FONT PROPERTIES */
    text-decoration: none;
    color: #FFFFFF;
    font-family: "Segoe UI" , Arial, Helvetica, sans-serif;
    font-size: 28px;
    font-weight: lighter;
    width: 100%;
    margin-bottom: 0;
    letter-spacing: normal;
}

div.module h2 span
{
    /* Background left image */
    display: block;
    line-height: 20px; /* CHANGE THIS VALUE ACCORDING TO BUTTONG HEIGHT */
    padding: 5px 0 5px 18px;
}

div.module table
{
    width: 100%;
    margin: 0 0 10px 0;
    border-left: 1px solid #d9d9d9;
    border-bottom: 5px solid #eeeeee;
    line-height: 1;
}

div.module table.tr
{
    border-collapse: separate;
    border-right: 1px solid #aaaaaa;
    border-left: 1px solid #aaaaaa;
}

div.module table th
{
    background-color: #eeeeee;
    color: #444444;
    padding: 10px 5px;
    text-align: left;
    border-right: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
}

div.module table td
{
    /*background-color: #ffffff;*/
    padding: 10px 5px;
    border-right: 1px solid #e9e9e9;
    width: 10%;
}

div.module table tr.odd td
{
    /* You can use this style if you want to do zebra-colored tables with other technique than Table Sorter script used here */
    background-color: #EFF8FF;
}


.table-apply
{
    width: 40%;
    float: right;
    text-align: right;
    margin-right: 10px;
}




/* -------------------- Pager -------------------- */
.pager
{
    display: block;
    padding: 0px 10px 10px 10px;
    width: 40%;
    float: left;
}

.pager .first, .pager .prev, .pager .next, .pager .last
{
    margin-bottom: -2px;
}





/* -------------------- Button (sliding door technique) -------------------- */

/* button outside a module box */
a.button
{
    /* Sliding right image */
    background: transparent url(images/button-right-bg.png) no-repeat scroll top right;
    display: block;
    float: left;
    height: 32px; /* 26 CHANGE THIS VALUE ACCORDING TO IMAGE HEIGHT */
    padding-right: 11px; /* CHANGE THIS VALUE ACCORDING TO RIGHT IMAGE WIDTH */ /* FONT PROPERTIES */
    text-decoration: none;
    color: #222222;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}

a.button span
{
    /* Background left image */
    background: transparent url(images/button-left-bg.png) no-repeat top left;
    display: block;
    line-height: 20px; /*15 CHANGE THIS VALUE ACCORDING TO BUTTONG HEIGHT */
    padding: 6px 0 6px 10px;
    text-align: center;
    color: #222222;
    text-shadow: 0 1px 0 #ffffff;
    -moz-text-shadow: 0 1px 0 #ffffff;
    -webkit-text-shadow: 0 1px 0 #ffffff;
    font-weight:bold;
}

a.button:hover
{
    background-position: bottom right;
    color: #0063be;
}

a.button:hover span
{
    background-position: bottom left;
    color: #0063be;
}
a.button span img
{
    /* padding: 0 3px; */
}

/* -------------------- Pagination -------------------- */

.pagination
{
    margin-bottom: 20px;
    float: right;
}
.pagination a.button
{
    margin-right: 10px;
}
.pagination a.last
{
    margin-right: 0;
}
.pagination .numbers
{
    float: left;
    padding-top: 3px;
    margin-right: 15px;
}
.pagination .numbers span
{
    padding: 0 5px 0 5px;
}
.pagination .current
{
    font-weight: bold;
}




/* -------------------- Forms -------------------- */

fieldset
{
    margin: 15px 1%;
    padding-top: 10px;
    border-top: solid 1px #ccc;
}

legend
{
    margin-bottom: 10px;
    display: block;
}

label
{
    display: block;
    margin-bottom: 5px;
}

.input-short, .input-medium, .input-long, .input-full
{
    padding: 3px;
}

select
{
    padding: 2px;
}

textarea
{
    padding: 3px;
    font-family: Arial, Helvetica, Sans-Serif;
    font-size: 12px;
    line-height: 20px;
}

.input-short
{
    width: 25%;
}

.input-medium
{
    width: 50%;
}

.input-long
{
    width: 75%;
}

.input-full
{
    width: 100%;
}

input.input-short, input.input-medium, input.input-long, .input-full, select, textarea
{
    background: url(images/input-bg.gif) top left repeat-x #f6f6f6;
    border: 0;
    border: 1px solid #cccccc;
}

input.input-short:focus, input.input-medium:focus, input.input-long:focus, input.input-full:focus, select:focus, textarea:focus
{
    background: url(images/input-bg-focus.gif) top left repeat-x #ffffff;
    border-color: #a9c2d1;
}


input.submit-green
{
    background: url(images/submit-green-bg.gif) top left repeat-x;
    border: 0;
    border-top: 1px solid #6bd091;
    border-left: 1px solid #6bd091;
    border-right: 1px solid #349c5c;
    border-bottom: 1px solid #349c5c;
    color: #ffffff;
    font-size: 14px;
    padding: 2px 12px;
    margin: 0px 10px 0 0;
    cursor: pointer;
}

input.submit-green-hover
{
    background-image: url(images/submit-green-bg-hover.gif);
}

input.submit-gray
{
    background: url(images/submit-gray-bg.gif) top left repeat-x;
    border: 0;
    border-top: 1px solid #cccccc;
    border-left: 1px solid #cccccc;
    border-right: 1px solid #888888;
    border-bottom: 1px solid #888888;
    color: #ffffff;
    font-size: 14px;
    padding: 2px 12px;
    margin: 0px 10px 0 0;
    cursor: pointer;
}

input.submit-gray-hover
{
    background-image: url(images/submit-gray-bg-hover.gif);
}




/* -------------------- Text input and select input notifications -------------------- */

.notification-input
{
    background: 10px 50% no-repeat;
    margin: 0 0 0 5px;
    padding: 5px 0 5px 32px;
    font-size: 12px;
}

.ni-correct
{
    background-image: url(images/tick-on-white.gif);
    color: #00ae42;
}

.ni-error
{
    background-image: url(images/cross-on-white.gif);
    color: #c9282d;
}




/* --------------------  Boxed notifications -------------------- */

.notification
{
    display: block;
    padding: 20px 20px 20px 45px;
    border: 1px solid;
    margin-bottom: 20px;
    background-repeat: no-repeat;
    background-position: 20px 20px;
}

.n-success
{
    background-color: #a3e6bd;
    border-color: #68d59b;
    background-image: url(images/notification-tick.gif);
}

.n-information
{
    background-color: #9fddea;
    border-color: #5fceea;
    background-image: url(images/notification-information.gif);
}

.n-attention
{
    background-color: #f9e497;
    border-color: #ffcb4f;
    background-image: url(images/notification-exclamation.gif);
}

.n-note
{
    background-color: #FFF1BF;
    border-color: #ffcb4f;
    background-image: url(images/notification-lightbulb.png);
}

.n-error
{
    background-color: #ffc6ca;
    border-color: #efb9c3;
    background-image: url(images/notification-slash.gif);
}

/* -------------------- Indicators -------------------- */


.indicator
{
    width: 220px;
    height: 12px;
    background: url(images/indicator-bg.gif) no-repeat top left;
}

.indicator div
{
    height: 12px;
    background: url(images/indicator-green-to-red.gif) no-repeat top left;
}

.indicator div.reverse
{
    background: url(images/indicator-red-to-green.gif) no-repeat top left;
}




/* -------------------- Category list -------------------- */

a.removable, a.removable:visited
{
    padding: 5px 18px 5px 0px;
}

a.removable:hover, a.removable:active
{
    background: url(images/cross-small.gif) no-repeat center right;
}




/* -------------------- To-do list -------------------- */

a.checkable, a.checkable:visited
{
    padding: 5px 18px 5px 0px;
}

a.checkable:hover, a.checkable:active
{
    background: url(images/tick-small.gif) no-repeat center right;
}

a.completed, a.completed:visited
{
    color: #aaaaaa;
}




/* -------------------- Messages -------------------- */
.separated
{
    border-top: 1px solid #cccccc;
    padding-top: 15px;
}

.user
{
    display: block;
    padding-left: 22px;
    background: url(images/user.gif) left 50% no-repeat;
    font-size: 14px;
    color: #666666;
    font-weight: normal;
}

.user-female
{
    display: block;
    padding-left: 22px;
    background: url(images/user-female.gif) left 50% no-repeat;
    font-size: 14px;
    color: #666666;
    font-weight: normal;
}

.reply
{
    padding-left: 20px;
    background: url(images/arrow-curve-180-left.gif) left 50% no-repeat;
    margin-right: 7px;
}

.forward
{
    padding-left: 20px;
    background: url(images/arrow-curve-000-left.gif) left 50% no-repeat;
    margin-right: 7px;
}

a.delete, a.delete:visited
{
    padding-left: 16px;
    background: url(images/cross-small.gif) left 50% no-repeat;
    color: #C00;
}

h3.mail
{
    display: block;
    padding: 20px 0px 20px 70px;
    background: url(images/Crystal_Project_mail_open.gif) left 50% no-repeat;
}

#p-messages
{
    padding: 20px;
}

/* -------------------- Login page -------------------- */

div.login
{
    background: url(images/locked.png) 100% 10px no-repeat;
}


/* -------------------- Dashboard -------------------- */

a.dashboard-module, a.dashboard-module:visited
{
    width: 142px;
    height: 142px;
    display: block;
    float: left;
    background: url(images/dashboard-module.png) top left no-repeat;
    margin: 0 8px 8px 0;
    text-align: center;
    color: #444444;
}

a.dashboard-module:hover, a.dashboard-module:active
{
    background-position: bottom left;
    text-decoration: none;
    color: #0063be;
}



a.dashboard-module img
{
    margin-top: 30px;
}

a.dashboard-module img.img_scheda
{
    margin-top: 15px;
}

a.dashboard-module span
{
    margin: 25px 0 0 15px;
    display: block;
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    color: #ffffff;
}

a.dashboard-module span.bt_scheda
{
    margin: 8px 5px 0 5px;
    text-align: center;
    font-size: 14px;
    text-transform: uppercase;
    color: #ffffff;
}

/* CLEAR */
div.clearboth
{
    clear: both;
}

div.module table.test label
{
    display: inline !important;
    margin-left: 10px;
}

/* -------------------- Footer -------------------- */

#footer p
{
    padding: 10px 0;
    color: #999999;
}

#footer a
{
    color: #009ee1;
}

#footer .logo
{
    float: right;
    padding: 10px 0 0 0;
}

/*
    Personalizzazioni
-----------------------------------------------------------------------------*/

.idrecord label
{
    display: inline-block;
    padding: 3px 5px;
    border-bottom: 1px solid #cccccc;
}

.idrecord strong
{
    font-size: 28px;
    font-weight: bold;
}


p.inline label
{
    display: inline-block;
    padding: 3px 5px;
}

label.inline-info
{
    color: #835300;
    font-style: italic;
}

label.inline-info.alertimage
{
    background: url("images/icons/alert-24.png") no-repeat scroll left top transparent;
    line-height: 32px;
    padding-left: 32px;
}

.divider10
{
    clear: both;
    display: block;
    height: 10px;
    width: 100%;
}

.divider20
{
    clear: both;
    display: block;
    height: 20px;
    width: 100%;
}

.divider30
{
    clear: both;
    display: block;
    height: 30px;
    width: 100%;
}

.module-body small
{
    font-style: italic;
    display: block;
    padding: 5px 0 0 0;
    color: #835300;
}

label.inline
{
    display: inline;
}

textarea.code, td.code
{
    font-family: Courier;
    font-size: 12px;
    color: #1C5FC4;
}

td.code
{
    line-height: 18px;
}

/* 
    Ecommerce
---------------------------------------------------------------------------------------------*/

/* etichetta stato ordine */
span.order-status
{
    display: block;
    color: #ffffff;
    font-weight: bold;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    padding: 4px;
    text-align: center;
}

div.customer-details
{
    background-color: #f4f4f4;
}

div.customer-details p
{
    padding: 10px;
}

div.customer-details hr
{
    padding: 0 10px;
    border-top: 1px solid #cccccc;
    border-bottom: 1px solid #ffffff;
}

span.bigger
{
    font-size: 18px;
}

span.green
{
    color: #8fc63d;
}

/*
    DIALOG BOXES
--------------------------------------------------------------*/

#dialog
{
    background-color: #ffffff;
    border: 3px solid #242424;
    width: 660px;
    display: none;
}

#dialog .title
{
    position: relative;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 36px;
    background-color: #242424;
}

#dialog .title h2
{
    font-size: 18px;
    color: #ffffff;
    padding: 0 0 0 10px;
}
