@import url('reset.css');

html {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 13px;
    background: #f7f7f7;
    color: #595858;
    line-height: 1;
    padding: 16px;

}
body {
}

h1, h2, h3, h4, h5, h6 {
    color: #a5d036;
    font-weight: bold;
}
h2 {
    font-size:16px;
    padding: 20px 20px 5px 20px;
    margin: 0 20px
}
h3 {
    font-size:14px;
    color: #777;
    padding: 0px 20px 10px 20px;
    margin: 0 20px
}
h4 {
    font-size:14px;
}
h5 {
    font-size:13px;
}

a, a:link, a:visited, a:active {
    color: #1B6BBD;
    text-decoration: underline;
}

b, strong {
    font-weight: bold;
    color: black;
}

p {
    paddinbg-top: 12px;
    padding-bottom: 12px;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

.grey-button{
    width: 90px;
    height: 22px;
    border: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
    color: #000000;
    background: url(../img/button2.gif) no-repeat;
}

.green-button{
    display: block;
    width: 90px;
    height: 22px;
    border: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
    color: #000000;
    background: url(../img/button.gif) no-repeat;
}

.large-grey-button{
    display: block;
    width: 140px;
    height: 22px;
    border: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
    color: #000000;
    background: url(../img/button2large.gif) no-repeat;
}

.large-green-button{
    display: block;
    width: 140px;
    height: 22px;
    border: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
    color: #000000;
    background: url(../img/buttonlarge.gif) no-repeat;
}

/* pagina di login */

#login {
    width: 400px;
    margin: 20px auto;
}

table.login-table {
    border-top: 1px solid #ccc;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
    margin-bottom: 25px;
}

table.login-table td {
    border: 1px solid #ccc;
    padding: 4px 6px;
    vertical-align: middle;
}

table.login-table tfoot tr td {
    text-align: right;
    vertical-align: middle;
    background-color: #ccc;
}

table.login-table tbody tr td:first-child {
    background: #595858;
    color: #fff;
    font-weight: bold;
    font-size: 10px;
    line-height: 1.6em;
    text-align: right;
}

table.login-table tbody tr td input[type="text"],
table.login-table tbody tr td input[type="password"] {
    width: 160px;
    margin: auto;
}

/* intestazione pagina */

#page-header {
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 8px;
    padding-bottom: 0px;
    border-bottom: 1px dotted #CCCCCC;
}
#cell-logo {
    vertical-align: top;
    width: 130px;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 6px;
}
#cell-menu {
    vertical-align: top;
    min-width: 700px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}
#box-menu {
    height: 70px;

}
#logincap {
    font-size: 13px;
    padding-left: 4px;
    float: left;
}
#logoutbtn {
    float: right;
    background-color: #eeeeee;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 4px;
    padding-right: 4px;
}

.buttonbar {
    font-size: 13px;
}
.buttonstart {
}
.button {
    font-size: 10px;
    float: left;
    width: 120px;
    text-align: center;
    padding-top: 2px;
    padding-bottom: 2px;
    margin-left: 2px;
    border: 1px solid #cccccc;
    background-color: #eeeeee;
    color: #595858;
    cursor: pointer;
}
.button:hover, .buttonsel {
    font-size: 10px;
    float: left;
    width: 120px;
    text-align: center;
    padding-top: 2px;
    padding-bottom: 2px;
    margin-left: 2px;
    border: 1px solid #cccccc;
    background-color: #A5CF35;
    color: white;
    cursor: pointer;
}
.buttonsel {
    float: left;
    width: 120px;
    text-align: center;
    padding-top: 2px;
    padding-bottom: 2px;
    margin-left: 2px;
    border: 1px solid #cccccc;
    background-color: #A5CF35;
    color: white;
    cursor: default;
}
.buttonend {
    clear: both;
}

/* contenuto pagina */

td.inner-menu {
    width: 250px;
    vertical-align: top;
    text-align: left;
}
td.inner-panel {
    vertical-align: top;
    text-align: left;
}

#error-message {
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 44px;
    padding-right: 6px;
    margin-left: 4px;
    margin-right: 4px;
    margin-top: 4px;
    margin-bottom: 8px;
    border: 1px solid #d00000;
    background-color: #ffe0e0;
    background-image: url("../img/warning.png");
    background-repeat: no-repeat;
    background-position: 4px center;
    color: #595858;
    font-weight: bold;
    font-size: 13px;
}
/* menù laterale sinistro */

.left-menu {
    width: 230px;
    margin-left: 10px;
    border-top: 0
}
.left-menu li {
    float: left;
    width: 230px;
    border: 1px solid #ccc;
    border-top: 0;
    border-bottom: 0;
    font-size: 10px;
}

.left-menu a {
    display: block;
    background: url(../img/arrow.gif) no-repeat 6px 10px;
    color: #777;
    text-decoration: none;
    padding: 10px 4px 10px 24px;
    border-bottom: 1px solid #ccc;
}

.left-menu a:hover, .left-menu a.link-on {
    background: #eee url(../img/arrow2.gif) no-repeat 6px 10px;
}

.left-menu-outer {
    margin-right: 20px;
}

.left-menu-outer h3 {
    width: 230px;
    margin: 10px 0px 0 10px;
    padding: 10px 0px;
    text-indent: 30px;
    font-size: 12px;
    border: 1px solid #ccc;
    background: #eee;
    color: #777;
    border-bottom: 6px solid #8eba26;
}

/* tabstrip */

.striptabsel {
    cursor: default;
	margin: 0;
	padding: 0;
	height: 25px;
	/* text */
	font-size: 14px;
	text-align: center;
	color: black;
    overflow: hidden;
	/* border */
	border-top: 1px solid #3AB54B;
	border-bottom: 0px none;
	border-left: 1px solid #3AB54B;
	border-right: 1px solid #3AB54B;
	border-top-right-radius: 6px;
	border-top-left-radius: 6px;
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-topright: 6px;
	-webkit-border-top-left-radius: 6px;
	-webkit-border-top-right-radius: 6px;
	/* background */
    background: white;
}

.striptab {
    cursor: pointer;
	margin: 0;
	padding: 0;
	height: 25px;
	/* text */
	font-size: 14px;
	text-align: center;
	color: white;
    overflow: hidden;
	/* border */
	border-top: 1px solid #3AB54B;
	border-bottom: 1px solid #3AB54B;
	border-left: 1px solid #3AB54B;
	border-right: 1px solid #3AB54B;
	border-top-right-radius: 6px;
	border-top-left-radius: 6px;
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-topright: 6px;
	-webkit-border-top-left-radius: 6px;
	-webkit-border-top-right-radius: 6px;
	/* background */
    background: #A5D036; /* Old browsers */
}

.striptabfill {
	border-bottom: 1px solid #3AB54B;
}

.striptabbody {
	border-bottom: 1px solid #3AB54B;
	border-left: 1px solid #3AB54B;
	border-right: 1px solid #3AB54B;
}

/* tabella dati */

table.data-table  {
    font-size: 13px;
	border-collapse: collapse;
	border-spacing: 0;
    padding: 0;
    border: 1px solid #c7f080;
}

table.data-table thead tr {
    background-color: #A5CF35;
    border-top: 3px solid #cee591;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

table.data-table tfoot tr {
    background-color: #A5CF35;
    border-bottom: 3px solid #cee591;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

table.data-table thead th {
    vertical-align: top;
    text-align: left;
    padding-top: 8px;
    padding-left: 3px;
    padding-right: 3px;
    padding-bottom: 8px;
    font-weight: bold;
    border: 1px solid #cee591;
}

table.data-table tfoot td {
    vertical-align: top;
    text-align: left;
    padding-top: 6px;
    padding-left: 3px;
    padding-right: 3px;
    padding-bottom: 3px;
    font-weight: bold;
    border: 1px solid #cee591;
}

table.data-table tbody tr td {
    vertical-align: top;
    text-align: left;
    padding-top: 4px;
    padding-left: 3px;
    padding-right: 3px;
    padding-bottom: 4px;
    border-right: 1px solid #cee591;
    cursor: pointer;
}

table.data-table tbody tr:hover td {
    background-color: #e0e0e0;
}

table.data-table td input[type="checkbox"] {
    padding: 0;
    margin: 0;
}

table.data-table td.cell-header {
    background-color: #A5CF35 !important;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: top;
    text-align: left;
    padding-top: 8px;
    padding-left: 3px;
    padding-right: 3px;
    padding-bottom: 8px;
    font-weight: bold;
    border: 1px solid #cee591;
}

table.data-table tfoot tr td div button,
table.data-table tfoot tr td div input[type="button"],
table.data-table tfoot tr td div input[type="submit"],
table.data-table tfoot tr td div input[type="reset"] {
    margin-right: 12px;
}

table.data-table tfoot tr td div button:first-child,
table.data-table tfoot tr td div input[type="button"]:first-child,
table.data-table tfoot tr td div input[type="submit"]:first-child,
table.data-table tfoot tr td div input[type="reset"]:first-child {
    float: right;
}

/* tabella form */

table.table-form {
    width: 100%;
    font-size: 13px;
	border-collapse: collapse;
	border-spacing: 0;
}

table.table-form thead tr {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

table.table-form thead tr th {
    vertical-align: top;
    text-align: left;
    padding-top: 3px;
    padding-left: 3px;
    padding-right: 3px;
    padding-bottom: 20px;
}

table.table-form thead tr th div {
    font-weight: bold;
    background-color: #A5CF35;
    border-top: 3px solid #cee591;
    padding: 4px;
}

table.table-form tfoot tr {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

table.table-form tfoot tr td {
    vertical-align: top;
    text-align: left;
    padding-top: 20px;
    padding-left: 3px;
    padding-right: 3px;
    padding-bottom: 3px;
}

table.table-form tfoot tr td div {
    font-weight: bold;
    background-color: #A5CF35;
    border-bottom: 3px solid #cee591;
    padding-left: 205px;
    padding-top: 4px;
    padding-right: 4px;
    padding-bottom: 4px;
}

table.table-form tfoot tr td div button,
table.table-form tfoot tr td div input[type="button"],
table.table-form tfoot tr td div input[type="submit"],
table.table-form tfoot tr td div input[type="reset"] {
    margin-right: 12px;
}

table.table-form tbody tr td {
    text-align: left;
    vertical-align: middle;
    padding-top: 1px;
    padding-left: 2px;
    padding-right: 2px;
    padding-bottom: 1px;
}

table.table-form tbody tr td:first-child {
    width: 200px;
    padding-top: 1px;
    padding-left: 2px;
    padding-right: 12px;
    padding-bottom: 1px;
    vertical-align: middle;
    text-align: right;
    font-weight: bold;
}

table.table-form tbody tr td del {
    display: block;
    color: red;
    text-decoration: none;
    font-size: 10px;
    margin-top: 0px;
    margin-bottom: 8px;
}

table.table-form tbody tr td dfn {
    display: block;
    background-color: #f0f0f0;
    padding: 3px;
    margin: 2px;
}

/* tabedit */

table.tabedit-table {
    font-size: 13px;
	border-collapse: collapse;
	border-spacing: 0;
    padding: 0;
    width: 100%;
    min-width: 700px;
}

table.tabedit-table tr {

}

table.tabedit-table tfoot tr {
    border: 0;
}

table.tabedit-table tfoot tr td {
    border: 0;
}

table.tabedit-table tr.tabedit-tr-odd {

}

table.tabedit-table tr.tabedit-tr-even {
    background-color: #eee;
}

table.tabedit-table td,
table.tabedit-table th {
    border: 1px solid #c7f080;
    padding: 2px;
}

table.tabedit-table td.tabedit-td-buttons,
table.tabedit-table th.tabedit-td-buttons {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-weight: bold;
    background-color: #f7f7f7;
    border: 0;
    vertical-align: middle;
    width: 54px;
    padding-left: 1px;
}
.tabExtended table.tabedit-table td.tabedit-td-buttons, .tabExtended  table.tabedit-table th.tabedit-td-buttons {
    width:80px;
}

table.tabedit-table td.tabedit-td-header {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-weight: bold;
    background-color: #A5CF35;
    height: 30px;
    vertical-align: middle;
}

table.tabedit-table button,
table.tabedit-table input[type="button"],
table.tabedit-table input[type="submit"],
table.tabedit-table input[type="reset"] {
    width: 22px;
    height: 22px;
    border: 0;
    margin-left: 3px;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 0;
    padding: 0;
    cursor: pointer;
    color: #000000;
    background: url(../img/button-square.gif) no-repeat;
    text-align: center;
    vertical-align: middle;
}

table.tabedit-table input[type="checkbox"] {
    padding: 0;
    margin-left: 30%;
    margin-top: 0;
    margin-bottom: 0;
}


/* --- Nuova interfaccia per hotel_rrassoc.html ---
Il box ha dimensioni fisse
-> width 900px
-> height 500px
La cella  ha dimensioni fisse
-> width 150px;
-> height 40px;
Uso 2 toni di verde
-> #c7f080 chiaro per bordi
-> #A5CF35 scuro per background
*/
#myRrassocMainDiv {
    position: relative;
    float: left;
    margin-top: 20px;
}
#myRrassocMainDiv #rassocIntestazioni {
    width: 900px;
    height: 550px;
    position: relative;
    float: left;
    overflow: hidden;
}
#myRrassocMainDiv #intestListini {
    /*width: 100%;*/
    position: relative;
    float: left;
    margin-left: 150px;
}
#myRrassocMainDiv #intestCamere {
    width: 150px;
    position: relative;
    float: left;
}
#myRrassocMainDiv #intestListini thead tr{
    background-color: #A5CF35;
}
#myRrassocMainDiv #rassocIntestazioni td, #myRrassocMainDiv #rassocIntestazioni th, #myRrassocMainDiv #rassocIntestazioni thead th, #myRrassocMainDiv #tabDati td {
    min-width: 150px;
    max-width: 150px;
    width: 150px;
    height: 40px;
    text-align: center;
    vertical-align: middle;
    padding: 0px;
}
#myRrassocMainDiv #intestListini td, #myRrassocMainDiv #tabIntestazioni th, #myRrassocMainDiv #intestCamere td, #myRrassocMainDiv #intestCamere th {
    overflow: hidden;

}
#myRrassocMainDiv #intestListini th {
    font-weight: bold;
    border: 1px solid #c7f080;
    border-bottom: none;
}
#myRrassocMainDiv #intestCamere thead tr{
    background-color: #39B44A;
}
#myRrassocMainDiv #intestCamere th {
    font-weight: bold;
    border-right: none;
    border-top: 1px solid #c7f080;
    border-bottom: 1px solid #c7f080;
    border-left: 1px solid #c7f080;
}
#myRrassocMainDiv #scrollableDiv {
    margin-top: 1px;
    position: absolute;
    top: 80px; /* 40px per riga intestazione + 40px per riga filtro */
    left: 150px; /* dimensione di una cella */
    max-width: 769px; /* rassocIntestazioni.width - td.width +19 per barre di scroll -> 900- 150 + 1 */
    max-height: 477px;  /* rassocIntestazioni.height - td.height +10 per barre di scroll -> 500 - 40 + +17 */
    overflow: auto;
    overflow-x: auto;
    width: 769px;
}
#myRrassocMainDiv #tabDati td{
    border: 1px solid #c7f080;
}
#myRrassocMainDiv #tabDati td a.moreDetail{
    background: dodgerblue;
    color: #FFFFFF;
    display: inline-block;
    width: 15px;
    height: 11px;
    padding: 2px 0px;
    margin: 0px;
}
#myRrassocMainDiv #fixedDiv{
    width: 150px;
    height: 80px;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 30;
    background: #F7F7F7;
    border: 1px solid #F7F7F7;
}