@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.ttf');
    font-style: normal;
}


body {
    color: rgba(255, 255, 255, 0.87);
    font-family: Roboto;
    font-size: 14px;
}
a {
    text-decoration: none;
    color: #013B6F;
}
h1, h2, h3, h4 {
    font-size: 1.5em;
    color: #013B6F;
    font-weight: bold;
}
legend {
    border: 0 none;
    font-size: 13px;
    height: 21px;
    line-height: 29px;
    color: #ff0000;
    margin-bottom: 5px;
}
.container-fluid-limited {
    padding-right: 14px;
    padding-left: 15px;
}
fieldset a {
    font-size: .9em;
}
#hero .row {
    margin-left: 0;
    margin-right: 0;
}
#hero.container-fluid-limited {
    padding-left: 0;
    padding-right: 0;
}
#header {
    position: absolute;
    width: 100%;
    height: 138px;
    top: 0;
    z-index: 10;
    background-image: url("../images/header-menu.png");
    background-repeat: no-repeat;
    background-position: center 50px;
}
#header .logo {
    width: 992px;
    height: 88px;
    margin: 50px auto 0;
}
#header .logo a {
    float: left;
    padding: 3px 0 0 70px;
}
#header .logo a img {
    height: 60px;
}
.presidenza-della {
    font-size: 14px;
    position: absolute;
    right: -3px;
    top: 14px;
}
.presidenza-della a {
    color: rgba(255,252,252,1.00)
}
.repubblica b, .repubblica strong {
    font-size: 60px;
    font-weight: 100;
    line-height: 57px;
}
nav ul {
    margin: 43px 0 0 -46px;
    list-style-type: none;
    float: left;
}
nav ul li {
    margin: 0;
    display: inline-block;
    width: 233px;
}
nav ul li a {
    text-transform: uppercase;
    color: #FFF;
    font-size: 13px;
    border-left: 45px solid transparent;
    padding: 0 !important;
    line-height: 45px;
    width: auto;
}
nav ul li a span {
    display: inline-block;
    height: 45px;
    width: 180px;
    margin-right: 5px;
}
nav ul li a:hover {
    color: #fff;
    text-decoration: none;
    border-bottom: 45px solid #12488b;
    display: block;
    line-height: 0px;
    margin-right: 5px;
    width: 225px;
}
nav ul li a:hover span {
    line-height: 45px;
    position: absolute;
    background-color: #12488b;
}
nav ul li:after {
    content: " ";
    border-right: 1px dotted #12488b;
    width: 2px;
    display: inline-block;
    height: 18px;
    margin-top: 13px;
}
nav ul li:nth-child(2) {
}
nav ul li:nth-child(2) a {
    border-left: 0;
}
nav ul li:nth-child(2) a:hover {
    border-bottom: 0;
    width: 191px;
    display: inline-block;
    height: 45px;
}
nav ul li:nth-child(2) a span {
    padding: 0 10px;
    width: 200px;
}
#main {
    overflow-x: hidden;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    margin: 40px 0;
    border-top: 1px solid #dcdcdc;
    border-bottom: 1px solid #dcdcdc;
}
#hero h2 {
    background-color: #808386;
    text-transform: uppercase;
    color: #fff;
    line-height: 26px;
    font-size: 24px;
    padding: 15px;
    margin-bottom: 0;
    margin-top: 0;
}
#main .row {
    border-left: 1px solid #dcdcdc;
    border-right: 1px solid #dcdcdc;
}
#main .itemContent.row {
    padding: 0;
    margin: 0;
}
#main h3 {
    padding: 0 4px;
    margin-top: 5px;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
}
#main h3 a {
    color: rgba(0, 0, 0, 0.8);
}
#main .itemContainer {
    min-height: 120px;
    padding-top: 15px;
}
#main .col-lg-4.itemContainer {
    border-right: 1px solid #dcdcdc;
    border-left: 1px solid #dcdcdc;
}
#main .itemContainer:last-child {
    border: 0;
}
#main .itemContent .content {
    overflow: hidden;
    line-height: 18px;/*padding: 0 0 20px 0;*/
}
.reverse {
    background: #ffffff;
    color: rgba(0, 0, 0, 0.8);
}
.lg-pad {
    padding: 60px;
}
.md-pad {
    padding: 30px;
}
.txt-blu {
    color: #0d0171;
}
.form-control {
    font-weight: 400;
    color: rgba(0, 0, 0, 0.8);
    border-color: #b1b1b1;
}
.form-control, .btn {
    border-radius: 0;
}
.btn-default, .btn-default:focus, .btn-default:hover {
    background-color: #171165;
    border-color: #171165;
    color: #ffffff;
}
.row {
    width: 990px;
    margin: 0 auto;
}
footer {
    background: #0a3871;
    color: #fff;
    padding: 0;
}
footer a {
    color: #fff;
}
footer a:hover {
    color: #fff;
    text-decoration: none;
}
footer p {
    float: left;
    line-height: 156px;
    margin: 0;
}
footer .row {
    border-left: 1px solid #476080;
    border-right: 1px solid #476080;
}
footer .logof {
    float: left;
    margin: 20px 40px;
}
form[name=contatti] label {
    display: block;
}
form[name=contatti] input {
    width: 80%;
    margin-bottom: 10px;
}
form[name=contatti] input[type=submit] {
    width: auto;
    float: left;
    margin: 20px 20px 0 0;
}
form[name=contatti] textarea {
    width: 80%;
    display: block;
}
.back {
    margin: 20px 20px 0 0;
    background-color: grey;
    border-color: grey;
}
li {
    margin-bottom: 10px;
}
/* CAROUSEL FADE */
.carousel-fade .carousel-inner .item {
    transition-property: opacity;
}
.carousel-fade .carousel-inner .item {
    opacity: 0;
}
.carousel-fade .carousel-inner .active {
    opacity: 1;
}
.carousel-fade .carousel-inner .next, .carousel-fade .carousel-inner .prev, .carousel-fade .carousel-inner .active.left, .carousel-fade .carousel-inner .active.right {
    left: 0;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
.carousel-fade .carousel-control {
    z-index: 2;
}

@media (min-width: 320px) and (max-width: 767px) {
.row {
    width: 100%;
}
#main {
    border: 0;
}
#main .itemContainer {
    min-height: auto;
}
#header {
    background-color: #0a3871;
    background-image: none;
    position: relative;
    height: auto;
}
#header .logo {
    height: auto;
    width: auto;
    margin: 20px auto;
}
#header .logo a {
    float: none;
    padding: 0;
}
#header .logo a img {
    width: 100%;
    height: auto;
}
section#hero {
    display: none;
}
footer .row {
    border: 0;
}
footer .logof {
    float: none;
}
footer p {
    float: none;
    line-height: normal;
    margin-bottom: 30px;
}
}

@media (min-width: 768px) and (max-width: 1023px) {
.row {
    width: 100%;
}
#main {
    border: 0;
}
#main .itemContainer {
    min-height: auto;
}
#header {
    background-color: #0a3871;
    background-image: none;
    position: relative;
    height: auto;
}
#header .logo {
    width: auto;
    text-align: center;
}
#header .logo a {
    float: none;
    padding: 0;
}
section#hero {
    display: none;
}
footer .row {
    border: 0;
}
footer .logof {
    float: none;
}
footer p {
    float: none;
    line-height: normal;
    margin-bottom: 30px;
}
}

@media (min-width: 1024px) {
}
.itemContent {
	margin-bottom: 50px;
	overflow: hidden;
}