/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 16px/26px Helvetica, Helvetica Neue, Arial;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* ===================
    ALL: Orange Theme
   =================== */

.header-container {
    border-bottom: 20px solid #e44d26;
}

.footer-container,
.main aside {
    border-top: 20px solid #e44d26;
}

.header-container,
.footer-container,
.main aside {
    background: #f16529;
}

.title {
    color: white;
}

/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;
}

nav a {
    display: block;
    margin-bottom: 10px;
    padding: 15px 0;

    text-align: center;
    text-decoration: none;
    font-weight: bold;

    color: white;
    background: #e44d26;
}

nav a:hover,
nav a:visited {
    color: white;
}

nav a:hover {
    text-decoration: underline;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 30px 0;
}

.main article h1 {
    font-size: 2em;
}

.main aside {
    color: white;
    padding: 0px 5% 10px;
}

.footer-container footer {
    color: wheat;
    padding: 20px 0;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body{
    font-family: 'Arial';
}
footer .text a{
    color:#fff;
}
footer nav a:hover{
    text-decoration: underline;
}
.footer-container{
    border:0px;
    background: #868475;
    color:#fff;    
}
.main {
    padding: 12px 0;
}
.main article h1 {
    color:#2c789c;
}
article section{
    font-size: 0.9em;
    

}
.header-container{
    border-bottom-width:0px;
    background: #fff;
}

.main aside {
    background: #f3f3f3;
    border:1px solid #e7e7e7;
    padding:0 1% 10px;
    color:#8f8f8f;    
}
.main article {
    background: none repeat scroll 0 0 #fefcf9;
    margin-right: 1%;
    padding: 1% 1.5%;
    border: 1px solid #fff2f2;
    border-radius: 5px;
    box-shadow: 1px 1px 5px #666;
    height: 100%;
}
aside{    
    padding:0!important;

}
aside nav {
    width: 100%!important;
}
aside nav li{
    border-width: 0 0 1px!important;
    border-style: solid!important;
    border-color: #e7e7e7!important;
    width: 100%;
    float:left;
}
aside nav a{
    padding:10px 3%!important;
    display: block;
    background: transparent;
    color:#8f8f8f!important;
    margin: 0 1.7%!important;
    font-size: 0.85em!important;
    font-weight: normal;
    float:left;
    width: 100%;
    text-align: left;
    text-transform: uppercase;

}
header nav a, footer nav a{
    background-color:#fff;
    color:#3f3f3f!important;
    text-transform:uppercase;
    font-size:.8em;
    font-weight:bold;
    font-family:Droid sans;
    padding: 23px 0 0 5%!important;
    float: left!important;
    width:auto!important;
}
header nav, footer nav {
    width: 50%!important;
}
footer .text{
    width: 55%;
    float:left; 
    font-size: 0.85em;
}
footer nav{
    width: 46%;
}


footer nav a{
    padding:2px 0 0 2%!important;
    background:none;

}
footer nav a:hover{text-decoration: underline;}

.main article h1,.main article h2 {
    font-size: 1.4em;
    margin-bottom: 15px;
    margin-top: 1%;

}
.main article h3{
    margin-top: 0px;
}
.main article{
    width:72%!important;
    margin-bottom: 25px;
    font-size: 1em;
    color:#787878;
}    
.main aside{
    width:25%!important;

}
h1,h2,h3,h4,h5{
    color:#2c789c;
}
#abstracts-block h1,#abstracts-block h2,#abstracts-block h3,#abstracts-block h4,#abstracts-block h5{
    color:white;
}
.abstract h5 {
	font-weight:bold;
}

#abstracts-block{
    text-align: justify;
    color:white;
    font-size: 0.9em;
    /*    line-height: 1.2em;*/
    background: #2c789c; /* Old browsers */
    background: -moz-linear-gradient(left, #2c789c 0%, #2c789c 50%, #868475 51%, #868475 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#2c789c), color-stop(50%,#2c789c), color-stop(51%,#868475), color-stop(100%,#868475)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left, #2c789c 0%,#2c789c 50%,#868475 51%,#868475 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left, #2c789c 0%,#2c789c 50%,#868475 51%,#868475 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left, #2c789c 0%,#2c789c 50%,#868475 51%,#868475 100%); /* IE10+ */
    background: linear-gradient(to right, #2c789c 0%,#2c789c 50%,#868475 51%,#868475 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2c789c', endColorstr='#868475',GradientType=1 ); /* IE6-9 */
    height: 113px;
}
.abstract-left{
    padding-left:0px!important;
    height:113px;}
.abstract-center{background: url('/themes/lavoripubblici-responsive/web/img/abstract-center-bg.png') no-repeat top left #008ad1;padding-bottom: 10px!important;height: 113px;padding-left:48px!important;}
.abstract-right {background: url('/themes/lavoripubblici-responsive/web/img/abstract-right-bg.png')  no-repeat top left #868475;padding-bottom: 10px!important;height: 113px;padding-left:48px!important;}
.abstract{
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
    width: 33.3333%;
    float:left;
}
.logo{
    float:left;
}
.border-top{
    background-image: url('/themes/lavoripubblici-responsive/web/img/bg-top.png');
    background-repeat: repeat-x;
    height:22px;
    width:100%;
}    
header nav, footer nav{
    float:right;

}
span.glyphicon{
    margin-right: 5px;
}
aside nav li.in-path a, header nav li.active a{
    color:#3ea7dc!important;
}

#contact_captcha {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555555;
/*    display: block;*/
    margin-right: 1%;
    font-size: 1em;
    height: 34px;
    line-height: 1.42857;
    padding: 6px 1%;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    vertical-align: middle;
/*    width: 100%;*/
}
.msg-state-ok{
    border: solid 2px rgb(56, 156, 56);
    background-color: rgb(192, 255, 176);
    padding: 10px 3%;
	margin-bottom:10px;
}

.required{
	color:red;
	margin-right:3px;
	font-family: verdana;
}
.error_list {
list-style:none;
padding:0;
}
.error_list li{
    background-color: #ffcccc;
    color: #990000;
    list-style: outside none none;
    padding: 0;
	border-radius:3px;
	padding:2px 4px;
}
.main article form img{
width:auto!important;
height:auto!important;}
/*  MEDIA QUERIES  */    
@media only screen  and (max-width:480px){
    .header-image{
        background: url('/themes/lavoripubblici-responsive/web/img/slide.jpg') no-repeat top center #fff;
        height:105px;
        display: none;
    }
    .logo
    {
        background:url('/themes/lavoripubblici-responsive/web/img/logo.png') no-repeat top left #fff;
        width:31%;
        height:50px;
    }    
    .main article, .main aside{
        width: 100%!important;
        float: left!important;
    }
    .abstract-text{
        display:none;   
    }
    .rightmenu .last-item{
        border-bottom: 0px!important;
    }
    .logo {
        background: url("/themes/lavoripubblici-responsive/web/img/logo.png") no-repeat scroll center top #fff;
        float: none;
        height: 79px;
        width: 100%;
    }
    #abstracts-block{
        font-size: 0.7em;
        min-height: 36px!important;
        height: auto!important;
        display:none;
    }    
    .abstract
    {
        height:36px!important;
        text-align: center;  
        padding-left:1em!important;
        padding-right:1em!important;
        height: 100%;
        background-image: none!important;


    }

    .abstract-center{
        background-color: #008AD1;
    }
    #abstracts-block h1,#abstracts-block h2,#abstracts-block h3,#abstracts-block h4,#abstracts-block h5{
        font-size: 1.15em;
        margin-top: 8px!important;
    }
    header nav    {
        width: 100%!important;
        float: none!important;
        border-width:0px!important;
        border-style: solid!important;
        border-color: #e7e7e7!important;
    }
    header nav li{
        width: 100%!important;
        float: left!important;
        border-width: 0 0 1px!important;
        border-style: solid!important;
        border-color: #e7e7e7!important;
        margin-bottom: 5px!important;

    }
    header nav li a{
        width: 100%!important;
        padding-top: 6px ! important;
        padding-bottom: 6px ! important;
        margin-bottom: 0px!important;
        background: #f3f3f3;
        margin-bottom: 5px;
        font-size: 0.85em;
        
    }
    footer{
        padding-top: 6px!important;
        padding-bottom: 21px!important;
    }
    footer nav{
        display:none;
    }
    footer .text{
        width:100%;
        text-align: center;

    }
    .main article {
    margin-bottom: 15px!important;
    }
    .main article img{
        width:50%!important;
        height:50%!important;
    }
    .main aside nav a{
        text-align: center;
        text-transform: uppercase;
    }
    .main aside{
        margin-bottom:10px;
    }
    span.glyphicon{
        display: none;
        margin:0;
    }
    

}
@media only screen and (min-width: 481px) and (max-width: 767px){
    .header-image{
        background: url('/themes/lavoripubblici-responsive/web/img/slide-480.jpg') no-repeat top center #fff;
        height:152px;
    }
    .logo
    {
        background:url('/themes/lavoripubblici-responsive/web/img/logo-480.png') no-repeat top left #fff;
        width:31%;
        height:78px;
    }

    header nav li a{
        background-color:#fff;
        color:#3f3f3f!important;
        font-size:.8em;
        padding: 23px 0 0 3%!important;
        float: left!important;
        width:auto!important;
        text-align: right!important;
    }

    header nav{
        width: 65%!important; 
    }

    .main article, .main aside{
        width: 100%!important;
        float: left!important;
    }
    .abstract-text{
        display:none;   
    }
    .main aside nav a{
        text-align: center;
        text-transform: uppercase;
    }
    .main aside{
        margin-bottom:10px;
    }
    span.glyphicon{
        display: none;
        margin:0;
    }
    .rightmenu .last-item{
        border-bottom: 0px!important;
    }
    #abstracts-block{
        font-size: 0.7em;
        min-height: 36px!important;
        height: auto!important
    }
    #abstracts-block h1,#abstracts-block h2,#abstracts-block h3,#abstracts-block h4,#abstracts-block h5{
        font-size: 1.15em;
        margin-top: 12px!important;
    }
    .abstract
    {
        height:36px!important;
        text-align: center;  
        padding-left:1em!important;
        padding-right:1em!important;
        height: 100%;
        background-image: none!important;


    }
    .abstract-left{
    }
    .abstract-center{
        background-color: #008AD1;
    }
    .abstract-right{
    }
    .footer-container footer{
        padding-top: 6px;
        padding-bottom: 24px;
    }
    footer nav{
        display:none;
    }
    footer .text{
        width:100%;
        text-align: center;
        font-size: 0.8em;

    }
    .main article img{
        width:50%!important;
        height:50%!important;
    }    
}
@media only screen and (min-width: 768px) and (max-width:1139px) {
    .header-image{
        background: url('/themes/lavoripubblici-responsive/web/img/slide-768.jpg') no-repeat top center #fff;
        height:225px;
    }
    .logo
    {
        background:url('/themes/lavoripubblici-responsive/web/img/logo-768.png') no-repeat top left #fff;
        width:35%;
        height:62px;
    }    
    header nav{
        width:40%!important
    }
    footer nav{
        width:40%!important
    }    
    header nav a{
        padding-left:3%!important;
    }
    #abstracts-block{
        font-size: 0.7em;
    }
    article section {
/*        font-size: 0.8em;*/
    }
    .footer-container footer{
        padding-top: 6px;
        padding-bottom: 24px;
    }
    footer .text{
        font-size: 0.8em;
    }
    .main aside {
        width: 28% !important;
        float:right!important
    }
    .main article{
        width:69%!important;
        margin-bottom: 25px;
    } 
}

@media only screen and (min-width: 1140px) {
    body{

    }
    .logo
    {
        background:url('/themes/lavoripubblici-responsive/web/img/logo-1140.png') no-repeat top left #fff;
        width:39%;
        height:62px;
    }
    .header-image{
        background: url('/themes/lavoripubblici-responsive/web/img/slide-1140.jpg') no-repeat top center #fff;
        height:248px;
    }


    .title{
        color:#868475;
        font-size:0.75em;
    }
    header nav, footer nav {
        width: 32%!important;
    }
    article section {
        font-size: 0.9em;
    }
    .footer-container footer{
        padding-top: 13px;
        padding-bottom: 27px;
    }
    footer .text{
        font-size: 0.85em;
    }
    .main aside {
        width: 25% !important;
        float:right!important;
    }
    .main article{
        width:73%!important;
        margin-bottom: 0px;
    } 

}










/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {

    /* ====================
        INTERMEDIATE: Menu
       ==================== */

    nav a {
        float: right;
        width: 20%;
        margin: 0 1.7%;
        padding: 25px 2%;
        margin-bottom: 0;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }

    /* ========================
        INTERMEDIATE: IE Fixes
       ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
}

@media only screen and (min-width: 768px) {

    /* ====================
        WIDE: CSS3 Effects
       ==================== */

    /*    .header-container,
        .main aside {
            -webkit-box-shadow: 0 5px 10px #aaa;
               -moz-box-shadow: 0 5px 10px #aaa;
                    box-shadow: 0 5px 10px #aaa;
        }*/

    /* ============
        WIDE: Menu
       ============ */

    .title {
        float: left;
    }

    nav {
        float: right;
        width: 38%;
    }

    /* ============
        WIDE: Main
       ============ */

    .main article {
        float: left;
        width: 57%;
    }

    .main aside {
        float: right;
        width: 28%;
    }
	.footer-container footer{
	padding-bottom: 30px!important;
	}
}

@media only screen and (min-width: 1140px) {

    /* ===============
        Maximal Width
       =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
		.footer-container .footer{
	padding-bottom: 30px;
	}
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

#contact_website {
    width: 1px;
    height: 1px;
    padding: 0;
    margin: 0;
    opacity: 0;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


.form-alert {
    background-color: #DBF2FF !important;
    text-align: left;
    font-size: 14px !important;
    line-height: 21px;
    font-style: normal;
    letter-spacing: 0px;
    color: #055160;
    margin-top: 20px;
    border-color: #9EEAF9 !important;
}


.form-alert .text-warn {

    font-weight: bold;

}
.form-alert a {

    color: #428BCA;
}

.form-alert .fa-circle-info {

    font-size: 20px !important;
}
.form-alert p{
    padding: 0px !important;
    margin: 0px !important;
    font-size: 14px !important;

}
.c_label {
        cursor: pointer;

    }
.c_label:hover {
        opacity: 0.8;
    }
.c_label a {
        text-decoration: none;
        z-index: 1000 !important;

    }

#serialcookie {
    margin:20px;
    background-color: #0C364F !important;
    color: #FFFFFF !important;
    text-align: left !important;

}
#serialcookie-accept {
    background: #3ea7dc 0% 0% no-repeat padding-box !important;
    color: #FFFFFF !important;
    padding: 10px 20px 10px 24px !important;
    width: 126px !important;
    height: 40px !important;
    letter-spacing: 1.4px;
}
#serialcookie-accept:hover {
    background: #2c789c 0% 0% no-repeat padding-box !important;
}
#serialcookie-accept:hover{
    transform:none !important;
    box-shadow:0 10px 15px rgba(0, 0, 0, .15);
}

#serialcookie-policy{
    color: #FFFFFF;
    text-decoration: underline 1px solid #FFFFFF;
    -webkit-text-decoration-line: underline;
    -webkit-text-decoration-style: solid;
    -webkit-text-decoration-color: #FFFFFF;
    text-underline-offset: 5px;
    margin-left: 30px;
    padding-top: 10px;
    width: 126px !important;
    height: 37px !important;
    letter-spacing: 1.4px;
}

#serialcookie-policy a, #serialcookie-col-1 a{
    color: #FFFFFF;
    text-decoration: underline 1px solid #FFFFFF;
    -webkit-text-decoration-line: underline;
    -webkit-text-decoration-style: solid;
    -webkit-text-decoration-color: #FFFFFF;
}

