/* RESET di base */
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

/* Display-role RESET per la retro compatibilità (browser obsoleti) */
header, nav, side, footer, aside, figure, figcaption, section, article, hgroup {
    display: block;
}
/*STILE COMUNE A TUTTE LE MISURE*/
html{
    min-height: 100%;
    font: normal 100% 'Maven Pro', 'Arial', sans-serif;
}
body {
    min-height: 100%;
}
.hidden {
    display: none;
}
#wrapper {
    width: 100%;
    margin: auto;
}
.gradient {
    background: linear-gradient(whitesmoke, lightgray);
}
#header_wrapper {
    width: 100%;
    border-bottom: 1px solid black;
    background: white;
    box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.5);
}
header {
    margin: 0.5em 0;
    height: 3em;
    background: url(../img/gas-simbolo.JPG) 0.2em 50% no-repeat;
    background-size: contain;
}
header h1 {
    font-family: 'Caveat', cursive;
    font-size: 1.5em;
    font-style: italic;
    color: #3a7eff;
    padding: 0.3em 2.7em;
}
.home_logo_link {
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    height: 60px;
    width: 60px;
}
nav {
    position: fixed;
    font-family: 'Rajdhani', sans-serif;
    z-index: 2;
    top: 0;
    right: -12.5em;
    font-weight: 700;
    width: 12em;
    margin: 0;
    text-align: center;
    border-left: 1px solid black;
    background-color: lightgray;
    border-bottom-left-radius: 0.2em;
    box-shadow: -3px 3px 10px 0px rgba(0,0,0,0.5);
}
nav ul li {
    padding: 1em 0.4em;
    border-bottom: black dotted 1px;
    list-style-type: none;
}
nav ul li:last-child {
    border-bottom: none;
}
nav a {
    text-decoration: none;
    color: black;
}
nav a:active {
    text-decoration: underline;
}
#medici {
    background-color: #afe9ff;
    height: 210px;
    margin: 0.3em 0;
    border-bottom: 1px solid black;
}
#pul_medici {
    text-decoration: none;
}
#pul_dentisti {
    float: right;
    text-decoration: none;
}
.close_section {
    float: right;
    color: black;
    margin: 0;
    padding-left: 1em;
    padding-top: 0.09em;
    text-decoration: none;
    font: normal 100% 'Maven Pro', sans-serif;
    background: url(../img/close_icon.png) 0% 50% no-repeat;
    background-size: contain;
}
#messaggio_medici-dentisti {
    text-align: justify;
    position: relative;
    top: -55%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5em;
    width: 90%;
    background: white;
    border: 1px solid black;
    box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.5);
}
#dirigenti {
    margin: 0.3em 0;
    background-color: #afffaf;
    height: 210px;
    border-bottom: 1px solid black;
}
#pul_dirigenti {
    text-decoration: none;
}
#odv {
    margin: 0.3em 0;
    background-color: #ffd68b;
    height: 210px;
    border-bottom: 1px solid black;
}
#pul_odv {
    text-decoration: none;
}
#elenco_medici {
    margin-top: 1em;
}
#elenco_dentisti {
    margin-top: 1em;
}
#elenco_odv {
    margin-top: 1em;
}
#elenco_dirigenti {
    margin-top: 1em;
}
.polizza {
    display: inline-table;
    vertical-align: middle;
    text-align: left;
    margin: auto;
    margin-bottom: 0.8em;
    min-width: 17.5em;
    width: 90%;
    max-width: 20em;
    padding: 1em 2em;
    background-color: rgba(255,255,255,0.8);
    border: 1px solid black;
}
.polizza h1 {
    font-size: 1.3em;
}
.polizza ul {
    width: auto;
    margin-top: 0.2em;
}
.polizza ul li {
    font-size: 0.9em;
}
.pol_link {
    display: block;
    color: black;
    width: 9em;
    margin-top: 0.5em;
    background-color: lightgray;
    text-decoration: none;
    padding: 0.5em;
    border: 1px solid black;
}
.pol_link:hover {
    color: white;
    background-color: gray;
}
.sfondo {
    border-top: 1px dotted black;
}
h2 {
    padding: 0.4em 0.5em;
    font-weight: 400;
    font-style: italic;
}
h2 a {
	color: black;
}
#sfondo_medici {
    text-align: center;
    height: 162px;
    background: url(../img/medici.jpg) 50% 0% no-repeat;
    background-size: cover;
}
#sfondo_dirigenti {
    text-align: center;
    height: 162px;
    background: url(../img/pol_pen.jpg) 50% 30% no-repeat;
    background-size: cover;
}
#sfondo_odv {
    text-align: center;
    height: 162px;
    background: url(../img/odv.jpg) 50% 50% no-repeat;
    background-size: cover;
}
#banner {
    text-align: justify;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 1em;
    color: white;
    background-color: rgba(0,0,0,0.8);
}
#banner input[type="checkbox"] {
    margin-top: 10px;
}
#banner input[type="submit"] {
    display: inline-block;
    color: grey;
    text-decoration: none;
    border: none;
    padding: 0.5em 0.7em;
    margin: 0.5em 2em 0em 0em;
    background-color: white;
}
#banner a {
    display: inline-block;
    color: grey;
    text-decoration: none;
    padding: 0.3em 0.5em;
    margin: 0.5em 2em 0em 1em;
    background-color: white;
}
footer {
    font-size: 12px;
    padding: 0.5em;
    background: white;
    box-shadow: 0px -3px 3px rgba(0,0,0,0.5);
}
#style_indicator {
    color: blue;
}
#powered_link {
    display: block;
    width: 11em;
    float: right;
}
#powered_link a {
    color: black;
    text-decoration: none;
}

@media screen and (min-width: 750px) {
/*STILE DESKTOP*/

header {
    max-width: 1000px;
    margin: 0.5em auto;
    margin-top: 0;
    padding-top: 0.5em;
    position: relative;
    height: 4em;
    background: url(../img/gas-simbolo.JPG) 1% 100% no-repeat;
    background-size: 70px;
}
header h1 {
    font-size: 2em;
    padding: 0.2em 3em;
}
header a {
    display: block;
    font: normal 50% 'Maven Pro', sans-serif;
    float: right;
    margin-right: -5em;
    margin-top: 0.8em;
}
.home_logo_link {
    top: -5px;
    height: 70px;
    width: 90px;
}
nav {
    position: static;
    display: inline-block;
    width: 100%;
    background: linear-gradient(transparent,  transparent, lightgray);
    border: none;
}
nav ul li {
    font-size: 1em;
    padding: 0.9em 0.5em;
    display: inline-block;
    border: none;
}
nav a:hover {
    text-decoration: underline;
}
#sections_container {
    max-width: 1000px;
    margin: auto;
}
#medici {
    margin: 0.5em;
    height: 370px;
}
#messaggio_medici-dentisti {
    top: -50%;
    width: 35em;
}
#dirigenti {
    margin: 0.5em;
    height: 370px;
}
#odv {
    margin: 0.5em;
    height: 270px; /*vecchia misura*/
}  
#elenco_medici {
    margin-top: 2em;
}
#elenco_dentisti {
    margin-top: 2em;
}
#elenco_odv {
    margin-top: 2em;
}
#elenco_dirigenti {
    margin-top: 2em;
}
.polizza {
    margin: 0 1.5em;
    margin-bottom: 1em;
    width: 17.5em;
}
.polizza h1 {
    font-size: 1.5em;
}
.polizza ul {
    margin-top: 0.5em;
}
.polizza ul li {
    font-size: 1em;
}
.pol_link {
    margin-top: 1em;
}
h2 {
	padding: 0.4em 1em;
}
#sfondo_medici {
    height: 322px;
}
#sfondo_dirigenti {
    height: 322px;
}
#sfondo_odv {
    height: 222px; /*vecchia misura*/
}
footer {
    font-size: 14px;
    padding: 0.7em;
}
#style_indicator {
    color: red;
}
}/*FINE STILE DESKTOP*/