body {
    font-family: 'Open Sans', sans-serif;
}

.menu-desk li.open > a {
    background: #CF0915 !important;
    color:#fff !important;
}

ul.dropdown-menu li a {
    background: none !important;
    color:#fff !important;
    padding-top:5px;
    padding-bottom: 5px;
}

ul.dropdown-menu li {
    padding-top:5px;
    padding-bottom: 5px;
}

ul.dropdown-menu {
    padding-top:20px;
    padding-bottom:20px;
    background:rgba(19, 57, 111, 1);
}

ul.dropdown-menu li a {
    padding: 0 5px;
    text-transform: uppercase;
}

img[alt='logo federspev'] {
    display: block;
    margin: 0 auto;
    padding-top:10px;
    padding-bottom: 10px;
}

#slider-bottom {
    border-top: 5px solid #d2d2d2;
    border-bottom: 5px solid #d2d2d2;
    background: url('../images/pattern-slider.jpg');
    margin-top: -5px;
    padding-top:10px;
}

.navbar {
    margin-bottom: 0;
}

header > div {
    padding:0 !important;
}

.carousel-caption {
    text-align: left;
    height: 140px;
    background: rgba(19, 57, 111, 0.8);
    padding: 20px !important;
    font-size: 26px;
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;
    opacity: 1;
    left:0;
    bottom:0;
    line-height: 28px;
}

.carousel-indicators {
    bottom: -62px;
}

.carousel-indicators li {
    height: 8px;
    width: 40px;
    background: #b5b5b5;
    border:none;
    border-radius: 0;
}

.carousel-indicators li.active {
    background:#073a80;
    height: 8px;
    width: 40px;
    top: -1px;
    position: relative;
}

.box-gray {
    background: #F1F3F2;
    padding-top:30px;
    padding-bottom: 45px;
}

.area-contenuti article h1 {
    text-align: center;
    font-weight: bold;
    font-size: 24px;
    color: #073a80;
    border-bottom: 2px solid #073a80;
    padding-bottom: 14px;
    width: 226px;
    display: block;
    margin: 0 auto;;
}

.area-contenuti article a {
    text-decoration: none;
    padding: 8px;
    border: 1px solid #363553;
    text-transform: uppercase;
    color: #363553;
    font-size: 14px;
    margin: 0 auto;
    display: block;
    width: auto;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.area-contenuti article a:hover {
    color: #fff;
    border: 1px solid #fff;
    background: #363553;
}

.box-area {
    padding:0;
}

.box-area li {
    font-weight: bold;
    margin-top: 12px;
    /* margin-bottom: 20px; */
    border: none;
    text-align: center;
    padding: 0;
    display: block;
}

.box-area li a {
    font-size: 14px;
    border: none;
    text-align: center;
    padding: 0;
    display: block;
    text-transform: uppercase;
    color: #656a77;
    height: 40px;
}

.box-area li a:hover {
    background: none;
    text-decoration: underline;
    color:#656a77;
    border:none;
}

.titolo-area-content {
    color: #ca0613;
    font-weight: bold;
    font-size: 22px;
}

a.archivio-content {
    text-decoration: none;
    padding: 10px;
    border: 1px solid #363553;
    text-transform: uppercase;
    color: #363553;
    font-size: 14px;
    margin: 0 auto;
    width: auto;
    text-align: center;
    margin-top: 20px;
    display: block;
}

a.archivio-content:hover {
    color: #fff;
    border: 1px solid #fff;
    background: #363553;
}

.area-content li a {
    text-align: left;
    text-transform: none;
    color: #9c9a98;
}

.area-content li a {
    font-size:14px;
    height: 30px;
    height: 60px;
}

.iscrizione-box {
    margin-top:20px;
    border-top:2px solid #9c9a98;
}

.iscrizione div {
    padding:0 30px;
}

.iscrizione h1 {
    text-align: center;
    text-transform: uppercase;
    color: #ce0813;
    font-size: 34px;
    font-weight: bold;
    border-bottom: 1px solid #363553;
    padding-bottom: 56px;
}

.iscrizione div h2 {
    color: #02357c;
    font-weight: bold;
    font-size: 20px;
    text-transform: uppercase;
}

.iscrizione div p {
    font-size: 15px;
    font-weight: bold;
    margin-top: 20px;
    line-height: 20px;
}

.iscrizione .link-file {
    text-decoration: none;
    padding: 10px;
    border: 1px solid #363553;
    text-transform: uppercase;
    color: #363553;
    font-size: 14px;
    margin: 0 auto;
    width: auto;
    text-align: center;
    margin-top: 20px;
}

.iscrizione .link-file:hover {
    color: #fff;
    border: 1px solid #fff;
    background: #363553;
}

.red {
    background: #CE0714;
    padding-top:40px;
    padding-bottom: 40px;
}

.red h4 {
    font-size: 22px;
    font-weight: normal;
    color:#fff;
    padding:0;
}

input[name='iscrizione'] {
    background-image: url('../images/user.png');
    background-position-x: 8px;
    background-position-y: 8px;
    background-size: 25px;
    background-repeat: no-repeat;
}

input[name='email'] {
    background-image: url('../images/mail.png');
    background-position-x: 8px;
    background-position-y: 8px;
    background-size: 25px;
    background-repeat: no-repeat;
}

::-webkit-input-placeholder { /* WebKit browsers */
    color:    #fff;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    #fff;
    opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    #fff;
    opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    color:    #fff;
}

.red form {
    padding:0;
}

.red input {
    margin-top:5px;
}

.red input[type='text'] {
    height: 40px;
    background-color: #dc484a;
    border: none;
    float: left;
    color: #fff !important;
    padding-left: 45px;
    margin-left: 10px;
    text-transform: uppercase;
    width:266px;
}

.red input[type='submit'] {
    background: #262626;
    cursor: pointer;
    text-align: center;
    padding: 0;
    height: 40px;
    border:none;
    color:#fff;
    text-transform: uppercase;
    margin-left: 10px;
    width:100px;
}

.red input[type='submit']:hover {
    background: #fff;
    color: #000 !important;
}

footer {
    background: #073a80;
    padding-top: 85px;
    padding-bottom: 85px;
}

footer p {
    text-align: center;
    color: #fff;
}

footer p a {
    color:#fff;
    text-decoration: none;
}

/* maps */

.maps {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.contatti {
    list-style: none;
    padding-top: 78px;
}

.contatti li a {
    color: #474747;
}

.sede {
    font-size: 46px;
}

.dati {
    padding-top: 78px;
}

.contatti-box {
    padding-bottom: 40px;
}
/* maps */
/* articoli */
#slider-bottom article {
    margin: 0 auto;
    padding: 60px 190px 60px 80px;
    background: #ffffff;
}

.articoli {
    padding-top:0 !important;
    padding-bottom: 0 !important;
}

.articoli .container {
    padding-left:15px !important;
    padding-right:15px !important;
}

#slider-bottom div {
    padding:0;
}

#slider-bottom article h1 {
    font-size: 22px;
    color: #02357c;
    font-weight: bold;
    margin-bottom: 30px;
}
/* articoli */
/* news */
a.archivio {
    /* float: right !important; */
    text-decoration: none !important;
    text-transform: uppercase !important;
    color: #000 !important;
    text-decoration: none;
    padding: 10px;
    border: 1px solid #363553;
    text-transform: uppercase;
    color: #363553;
    font-size: 14px;
    margin: 0 auto;
    text-align: center;
}
/* news */
/* archivio */
#link-box li a {
    text-decoration: none;
    font-size: 14px;
    text-decoration: none;
    color: #02357c;
    font-weight: bold;
}

#link-box li {
    font-size: 14px;
    display: list-item;
    margin-top: 10px;
    list-style: initial;
    line-height: 20px;
    list-style-position: inside;
    margin-left: 22px;
    color: #656a77;
    list-style-image: url("../images/arrow-list.png");
}

ul.pdf li {
    list-style-image: url('../images/pdf.png') !important;
}

/* archivio */

@media (min-width: 960px) {
    /* menù principale */
    .navbar-default {
        background: none;
        border:none;
    }

    .navbar-default > div {
        padding:0;
    }

    #principale {
        padding:0;
    }

    .menu-desk {
        border-bottom: 8px solid #073a80;
        width: 100%;
    }

    .menu-desk li a {
        font-weight: bold;
        color:#000 !important;
        text-transform: uppercase;
        padding:20px 12px;
    }

    .menu-desk li a i {
        font-size:10px;
    }

    .menu-desk li a:hover {
        color:#fff !important;
    }

    .menu-desk li:hover {
        background: #CF0915;
        color:#fff !important;
    }

    .menu-desk li a.active {
        background: #CF0915;
        color:#fff !important;
    }

    .menu-desk li a.active:hover {
        background: #CF0915;
        color:#fff !important;
    }

    #principale > div {
        padding:0;
    }
    /* menù principale */
    /* slider */
    #slider-bottom {
        padding-bottom: 70px;
    }
    /* slider */
    /* maps */
    .maps {
        height:410px;
    }

    .maps iframe {
        height:400px;
        padding-bottom: 0;
    }

    .embed-responsive-16by9 {
        padding:0;
        height:400px;
    }
    /* maps */
    /* news */
    a.archivio {
        right: -180px;
        text-align: center;
        top: 12px;
        width: auto;
    }
    .titolo-news {
        padding-left:0;
    }
    /* news */
    #slider-bottom {
        margin-top: 208px;
    }

    .posizione {
        position: fixed;
        background-color: #fff;
        z-index: 20;
        top: 0;
        width: 100%;
        border-bottom: 5px solid #d2d2d2;
    }

    .sub-news {
        margin-top: 50px !important;
    }

    .privacy-label {
        margin-left: 288px;
    }

}

@media (max-width: 960px) {
    .red input[type='text'] {
        width:90%;
        margin-top:10px;
    }

    .red select {
        margin-top: 10px !important;
        width: 90% !important;
    }

    .ipad {
        display: none!important;
    }

    .embed-responsive {
        height:300px;
    }

    .red input[type='submit'] {
        width:90%;
        margin-top:10px;
    }
    /* menu */
    .menu-principale-area {
        padding:0;
    }
    .menu-principale-area header > img {
        padding-left:10px;
        padding-right:10px;
    }
    .navbar-header, .navbar-header button, .navbar-toggle {
        background: #CF0915 !important;
        color:#fff;
    }
    .navbar-header button span {
        background-color: #FFF !important;
    }
    .navbar-brand {
        color:#fff !important;
    }
    .navbar-collapse {
        background: #fff;
    }
    .navbar-default .navbar-nav>li {
        border-bottom:1px solid;
    }
    .menu-desk {
        margin:0;
    }
    .navbar-default .navbar-nav>li>a {
        color: #2f4c69;
        text-transform: uppercase;
        font-weight: bold;
        font-size: 18px;
    }
    .container-fluid {
        padding:0;
    }
    .dropdown-menu li a {
        color:#2f4c69;
    }
    .container-fluid>.navbar-collapse {
        margin:0;
    }
    .dropdown-menu li {
        border-top:1px solid;
    }
    .menu-drop {
        padding:0 !important;
    }
    ul.dropdown-menu li a {
        color:#02357c !important;
        font-weight: bold;
    }
    .container-fluid>.navbar-header {
        margin:0;
    }
    /* menu */
    /* maps */
    .dati {
        padding-top:10px;
        border-top:1px solid;
    }
    .line-contatti {
        padding-top:10px;
        border-top:1px solid;
    }
    .contatti {
        padding-top:0;
    }
    /* maps */
    /* articolo */
    #slider-bottom article {
        padding: 20px 20px 60px 20px;
    }

    #slider-bottom article h1 {
        font-size: 22px;
        color: #02357c;
        font-weight: bold;
        margin-bottom: 30px;
    }
    /* articolo */

    .row {
        margin-right: 0;
    }

    .menu-principale-area .row > div {
        padding-right: 0!important;
    }
    /* home */
    .area-contenuti article h1 {
        padding-bottom: 10px;
    }
    .box-area li {
        margin:0;
    }
    .box-area li a {
        margin-top: 0;
        margin-bottom: 0;
        height:auto;
        padding-top: 15px;
        padding-bottom: 15px;
        text-align: left;
        border-bottom: 1px solid;
    }
    .area-contenuti article h1 {
        width: auto;
        text-align: left;
    }
    .titolo-area-content {
        border-bottom: 1px solid;
        padding-bottom: 10px;
        margin-bottom: 0;
    }
    .area-contenuti article a {
        border:none;
        border-bottom: 1px solid;
        font-weight: bold;
        text-align: left;
    }
    /* home */
    .area-contenuti article a {
        padding-left:0;
    }
    .avvisi-box br {
        display: none;
    }
    .iscrizione div br {
        display: none !important;
    }
    .iscrizione .link-file {
        margin-top: 20px;
        display: block;
        margin-bottom: 30px;
    }
    .carousel-caption {
        font-size:20px;
    }
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (-webkit-min-device-pixel-ratio: 2) {
    .titolo-area-content {
        font-size:22px;
    }
}

.red select {
    height: 40px;
    background-color: #dc484a;
    border: none;
    float: left;
    color: #fff !important;
    padding-left: 45px;
    margin-left: 10px;
    text-transform: uppercase;
    width: 266px;
    margin-top: 5px;
}

select[name='regione'] {
    background-image: url('../images/italy.png');
    background-position-x: 8px;
    background-position-y: 8px;
    background-size: 25px;
    background-repeat: no-repeat;
    -webkit-appearance:none;
}

input[name='numero'] {
    background-image: url('../images/cell.png');
    background-position-x: 8px;
    background-position-y: 8px;
    background-size: 25px;
    background-repeat: no-repeat;
}

.privacy-label {
    color: #fff;
    margin-top: 10px;

    font-size: 12px;
}

.privacy-label input {
    margin-right: 10px;
}

hr {
    border-top: 1px solid #6A6A6A;
}