﻿/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/
body
{
    background-color: #5c87b2;
    font-size: .75em;
    font-family: Verdana, Sans-Serif;
    margin: 0;
    padding: 0;
    color: #000;
}

a:link
{
    color: #034af3;
    text-decoration: underline;
}
a:visited
{
    color: #505abc;
}
a:hover
{
    color: #1d60ff;
    text-decoration: none;
}
a:active
{
    color: #12eb87;
}

p, ul
{
    margin-bottom: 20px;
    line-height: 1.6em;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6
{
    font-size: 1.5em;
    color: #000;
    font-family: sans-serif;
}

h1
{
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}
h2
{
    padding: 0 0 10px 0;
}
h3
{
    font-size: 1.2em;
}
h4
{
    font-size: 1.1em;
}
h5, h6
{
    font-size: 1em;
}

/* this rule styles <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2
{
    margin-top: 0;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
.page
{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

#header
{
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
}

#header h1
{
    font-weight: bold;
    padding: 5px 0;
    margin: 0;
    color: #fff;
    border: none;
    line-height: 2em;
    font-family: sans-serif;
    font-size: 32px !important;
}

#main
{
    width: 950px;
    margin-left: auto;
	margin-right: auto;
    /*padding: 30px 30px 15px 30px;
    background-color: #fff;
    margin-bottom: 30px;
    _height: 1px;  */ /* only IE6 applies CSS properties starting with an underscore */
}

#footer
{
    color: #999;
    padding: 10px 0;
    text-align: center;
    line-height: normal;
    margin: 0;
    font-size: .9em;
}

/* TAB MENU   
----------------------------------------------------------*/
ul#menu
{
    border-bottom: 1px #5C87B2 solid;
    padding: 0 0 2px;
    position: relative;
    margin: 0;
    text-align: right;
}

ul#menu li
{
    display: inline;
    list-style: none;
}

ul#menu li#greeting
{
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    color: #fff;
}

ul#menu li a
{
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    background-color: #e8eef4;
    color: #034af3;
}

ul#menu li a:hover
{
    background-color: #fff;
    text-decoration: none;
}

ul#menu li a:active
{
    background-color: #a6e2a6;
    text-decoration: none;
}

ul#menu li.selected a
{
    background-color: #fff;
    color: #000;
}

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset 
{
    margin: 0px;
    padding: 0px;
    border: none;
    /*margin: 1em 0;
    padding: 2em;
    border: 1px solid #000;
    background-color: #E4E4E4;*/ 
}

fieldset p 
{
    margin: 2px 12px 10px 10px;
}

legend 
{
    font-size: 1.1em;
    font-weight: 600;
    padding: 2px 4px 8px 4px;
}

input[type="text"] 
{
/*
    width: 200px;
    border: 1px solid #CCC;
*/
  
  
  font-family: sans-serif;
  font-size: 14px;
  appearance: none;
  box-shadow: none;
  border-radius: none;
  width: 190px;
  padding: 2px;
  border: solid 1px #dcdcdc;
  transition: box-shadow 0.3s, border 0.3s;
  text-align: center;
}
input[type="text"]:focus {
  outline: none;
}

input[type="password"] 
{
/*
    width: 200px;
    border: 1px solid #CCC;
*/
  font-family: sans-serif;
  font-size: 14px;
  appearance: none;
  box-shadow: none;
  border-radius: none;
  width: 190px;
  padding: 2px;
  border: solid 1px #dcdcdc;
  transition: box-shadow 0.3s, border 0.3s;
  text-align: center;
}

/* TABLE
----------------------------------------------------------*/

table 
{
  border: solid 1px #e8eef4;
  border-collapse: collapse;
}

table td 
{
  padding: 5px;   
  border: solid 1px #e8eef4;
}

table th
{
  padding: 6px 5px;
  text-align: left;
  background-color: #e8eef4; 
  border: solid 1px #e8eef4;   
}

/* MISC  
----------------------------------------------------------*/
.clear
{
    clear: both;
}

.error
{
    color:Red;
}

#menucontainer
{
    margin-top:40px;
}

div#title
{
    display:block;
    float:left;
    text-align:left;
}

#logindisplay
{
    font-size:1.1em;
    display:block;
    text-align:right;
    margin:10px;
    color:White;
}

#logindisplay a:link
{
    color: white;
    text-decoration: underline;
}

#logindisplay a:visited
{
    color: white;
    text-decoration: underline;
}

#logindisplay a:hover
{
    color: white;
    text-decoration: none;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error
{
    color: #ff0000;
}

.field-validation-valid
{
    display: none;
}

.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors
{
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid
{
    display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label,
.display-field
{
    margin: 0.5em 0;
}

.editor-label
{
    margin:  0.2em 0 0.2em 0;
    width: 70px;
    float: left;
    text-align: left;
}

.editor-field
{
    margin: 0.2em 0 0.2em 0;
    width: 210px;
    text-align: right;
    float: left;
    clear: right;
}

.login-form-row
{
    margin: 0.5em 0;
    text-align: right;
    float:right;
    clear: right;
}

.login-box-spacer
{
	float: left;
    width: 330px;
    min-height: 50px;
}

.login-box
{
	float: left;
	margin: 65px 0 80px 0;
    padding: 1px;
    border: 1px solid #000;
    /*background-color: #E4E4E4; */
    width: 617px;
	height: 171px;
    min-height: 50px;
}

.login-box-image
{
	text-align: left; 
	margin: 0;
	padding: 0;
	
}

.login-box-left-column
{
	float: left;
    width: 280px;
    min-height: 50px;
    vertical-align: top;
}

.login-box-right-column
{
	margin-top: 15px;
	float: left;
    width: 280px;
    min-height: 50px;
}

.news-box
{
	float: left;
    width: 290px;
    height: 200px;
    border: 1px solid #000;
    background-color: #E4E4E4;
}

.news-iframe
{
    width: 290px;
    height: 200px;
    border: none 0px;
}

.news-box-spacer
{
	float: left;
    width: 37px;
    height: 200px;
}


.text-box
{
    width: 30em;
}

.text-box.multi-line
{
    height: 6.5em;
}

.tri-state
{
    width: 6em;
}

/* Registrazione utente demo*/

.demo-box {
    float: left;
	margin: 0 auto 3em auto;
    padding: 2em;
    border: 1px solid #000;
    background-color: #E4E4E4; 
    width: 570px;
    min-height: 50px;
}

.demo-box-column
{
	width: 580px;
    min-height: 50px;
}

.demo-form-row
{
    margin: 0.5em 0;
    text-align: right;
    clear: both;
}

.demo-box-column #testoInformativa .informativa-text {
    height: 300px;
    width: 420px;
    overflow:scroll;
     border: 1px solid #CCCCCC;
     background-color: White;
}

.demo-label
{
    margin:  0.2em 0 0.2em 0;
    width: 150px;
    float: left;
    text-align: left;
}

.demo-daysLeft
{
    color:#FF0000;
    margin-bottom : 0px;
    margin-top : 70px;
}

.demo-field
{
    margin: 0.2em 0 0.2em 0;
    width: 420px;
    text-align: left;
    float: left;
    clear: right;
}

.required 
{
    font-weight: bold; 
}

#modal.modal-popup
{
    position: absolute;
    top: 20%;
    left: -99999px;
    opacity:0;
    z-index: 1000;
    width: 600px;
    /*height: 250px;*/
    background: #ffffff;
    border-radius: 3px;
    box-shadow: 0px 5px 8px 0px #9b9797;
    transition: top ease-in-out .2s, opacity ease-in-out .2s;
}

#modal.modal-popup.show
{
    top:30%;
    left: 34.5%;
    opacity:1;
}

#modal.modal-popup > .modal-content 
{
    position: relative;
    width: 100%;
    height: 93%;
    padding: 20px;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: sans-serif;
    font-size:12px;
    color:#333333;
    
}
#modal.modal-popup > .modal-header  {
position: relative;
    width: 100%;
    height: 25%;
    padding: 20px 10px 5px 20px;
    box-sizing: border-box;
    text-align: left;
    border-bottom: 1px solid #efeeee;
    font-size:14px;
    font-family: Verdana;
}
#modal.modal-popup > .modal-footer 
{
    position: relative;
    width: 100%;
    height: 23%;
    padding: 15px 10px 5px 20px;
    text-align: right;
    box-sizing: border-box;
}
#modal.modal-popup > .modal-footer input[type="button"],
#modal.modal-popup > .modal-footer input[type="submit"] {
    border: 0;
    background: #4c6bdd;
    border-radius: 3px;
    padding: 8px;
    font-size: 13px;
    font-family: sans-serif;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
}
#modal.modal-popup > .modal-footer input[type="button"]:hover,
#modal.modal-popup > .modal-footer input[type="submit"]:hover { background: #4b7af9; }
#modal.modal-popup > .modal-footer input[type="button"]:last-child 
{
    margin: 0 10 0 0;
}
.backdrop-modal 
{
    position: absolute;
    z-index: 999;
    background: #e3e3e3;
    width: 100%;
    height: 100%;
    opacity: 0;
    top: 0;
    left: -99999px;
    transition: opacity ease-in-out .2s;
}
.backdrop-modal.show 
{
    left:0;
    opacity: .7;
}

#modal-i.modal-iframe
{
    position: absolute;
    top: -8%;
    left: -99999px;
    opacity: 0;
    z-index: 1000;
    width: 400px;
    height: 200px;
    background: #ffffff;
    border-radius: 3px;
    box-shadow: 0px 5px 8px 0px #9b9797;
    transition: top ease-in-out .2s, opacity ease-in-out .2s;
    margin: 0 auto;
}
#modal-i.modal-iframe.show {
    top: 3%;
    left: 3%;
    opacity: 1;
    width: 93%;
    height: 90%;
}

#modal-i.modal-iframe > .modal-content 
{
    position: relative;
    width: 100%;
    height: 95%;
    padding: 10px;
    box-sizing: border-box;
    overflow: hidden;
    font-family: sans-serif;
    font-size:12px;
    color:#333333;
}  

#modal-i.modal-iframe > .modal-footer 
{
    position: relative;
    width: 100%;
    height: 5%;
    padding: 5px;
    box-sizing: border-box;
    text-align:right;
    margin: 0 10px 0 10px;
}  
#modal-i.modal-iframe > .modal-footer input[type="button"] {
    border: 0;
    background: #4c6bdd;
    border-radius: 3px;
    padding: 8px;
    font-size: 13px;
    font-family: sans-serif;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
}
#modal-i.modal-iframe > .modal-footer input[type="button"]:last-child { margin: 0 20px 0 0; }
#modal-i.modal-iframe > .modal-footer input[type="button"]:hover { background: #4b7af9; }
#modal-i iframe 
{
    padding: 5px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity ease-in-out .2s;
    transition-delay: 1s;
}
#modal-i iframe.show { opacity: 1; }

#modal-i .modal-loading 
{
    position:absolute;
    opacity: 1;
    transition: opacity ease-in-out .2s;
}
#modal-i .modal-loading.hide 
{
    opacity: 0;
}


