body {
    color: #353230;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    text-align: justify;
    background-color: #f3f3f3;
}

* {
    outline: #B31209;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

b,
strong {
    font-weight: 600;
}

a {
    color: #353230;
    -webkit-transition: all 500ms ease-in-out;
    -moz-transition: all 500ms ease-in-out;
    -ms-transition: all 500ms ease-in-out;
    -o-transition: all 500ms ease-in-out;
    transition: all 500ms ease-in-out;
    background-color: transparent;
    text-decoration: none;
}

a:active,
a.hover,
a.active,
a:focus,
a:hover,
a:active {
    background-color: transparent;
    text-decoration: none;
    color: #B31209;
}

.rosso {
    color: #B31209 !important;
}

.nav>li>a:hover,
.nav>li>a:focus {
    text-decoration: none;
    background-color: transparent;
    color: #fff;
}

.navbar {
    background-color: #1e1e1e;
    border: 0;
}

.navbar .navbar-nav {
    float: right;
}

.navbar a {
    color: #e1e1e1;
    text-transform: uppercase;
}

.navbar a.active {
    color: #fff;
}

@media only screen and (min-width: 768px) {
    .navbar {
        min-height: 100px;
    }
}

@media only screen and (min-width: 768px) {
    .nav li a {
        padding: 40px 15px;
    }
}

.scrolling {
    min-height: 50px;
}

@media only screen and (min-width: 768px) {
    .scrolling .nav li a {
        padding: 15px 15px;
    }
    .allign-menu {
        padding-bottom: 33px !important;
        padding-top: 47px !important;
    }
}

.head-carousel .slide {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 300px;
}


/*header*/

.logo {
    max-height: 80px;
    max-width: 200px;
    margin: 10px 0;
    float: left;
}

@media screen and (min-width: 300px) and (max-width: 767px) {
    #main-menu {
        padding-right: 0;
        padding-left: 0;
        background-color: #fff;
        text-transform: uppercase;
    }
    #navbarCollapse {
        background-color: #fff;
        padding-left: 0;
        box-shadow: 0 4px 3px -3px #bababa;
    }
    .logo {
        padding-left: 15px;
    }
}

.navbar {
    width: 100%;
    height: 100px;
    position: fixed;
    background-color: #fff;
    z-index: 900;
    box-shadow: 0 5px 3px 0px rgba(0, 0, 0, 0.5);
    border-radius: 0 !important;
}

.navbar a {
    color: #353230 !important;
}

.navbar a:hover,
.navbar li.rosso a {
    background-color: #B31209 !important;
    color: #fff !important;
}

.navbar-collapse {
    padding-right: 0;
}

.header-content-menu {
    font-size: 1.2em;
    padding-top: 27px;
    height: 100%;
}

.optional-text {
    background-image: url(https//www.civico51.it/wp-content/uploads/2015/10/scritta-logo.gif);
    height: 100%;
    background-repeat: no-repeat;
}

.optional-text .hide {
    display: none;
}

.nav li a {
    height: 100%;
    font-weight: 600;
}

@media screen and (min-width: 1200px) {
    #main-menu {
        padding: 0;
        height: 100px;
        float: right;
    }
    #main-menu li {
        height: 100%;
        display: inline-block;
        float: left;
        font-size: 1em;
    }
}

.expand-transition,
.unexpand-transition {
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.expand {
    margin-top: -14px;
}

.small {
    margin-top: 20px;
    max-height: 70px;
}

.header-owl #owl-carousel-home .item {
    background-size: cover;
    height: 300px;
}

@media screen and (min-width: 768px) {
    .header-owl #owl-carousel-home .item {
        height: 600px;
    }
}

.arrow {
    position: absolute;
    top: 50%;
    z-index: 99;
    cursor: pointer;
    margin-top: -30px;
}

.arrow.left {
    left: 15px;
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.arrow.right {
    right: 15px;
}

.arrow svg {
    height: 60px;
    width: 60px;
}

.arrow svg circle {
    -webkit-transition: all .6s ease;
    -moz-transition: all .6s ease;
    -o-transition: all .6s ease;
    transition: all .6s ease;
}

.arrow:hover circle {
    fill: #fff;
}

.arrow svg path {
    -webkit-transition: fill .6s ease;
    -moz-transition: fill .6s ease;
    -o-transition: fill .6s ease;
    transition: fill .6s ease;
}

.arrow:hover path {
    fill: #B31209;
}


/*content*/

.titolo-con-barra {
    display: inline-block;
}

.allign-title {
    float: left;
    height: 80px;
    padding-left: 10px;
    padding-top: 25px;
    margin: 0;
}

.allign-text {
    float: left;
    padding-top: 20px;
}

.content-home {
    padding-bottom: 30px;
    background-color: #f3f3f3;
}

.col-sm-6.text-center.float {
    float: right;
}


/*footer*/

footer {
    background-color: #353230;
    color: #fff;
}

footer a {
    color: #fff;
}

footer a:hover,
footer a:active {
    color: #B31209 !important;
}

.footer-content {
    width: 100%;
    height: 100%;
}

.footer-location,
.footer-informazioni,
.footer-resta-in-contatto {
    padding-top: 10px;
    padding-bottom: 0px;
}

@media screen and (min-width: 768px) {
    .footer-location,
    .footer-informazioni,
    .footer-resta-in-contatto {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

.footer-text {
    padding: 10px 10px 10px 0;
    text-transform: none;
}

#email {
    width: 70%;
    float: left;
    margin-right: 5px;
}

.form-giorni {
    width: 70%;
    float: left;
    margin-bottom: 10px;
}

span.wpcf7-form-control-wrap {
    position: initial !important;
}

.form-control:focus {
    border-color: #B31209;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(179, 18, 9, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(179, 18, 9, 0.6);
}

.form-group {
    margin-bottom: 0;
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .allign-giorni {
        padding-top: 0 !important;
    }
}

@media screen and (min-width: 300px) and (max-width: 433px) {
    .allign-giorni {
        padding-top: 0 !important;
    }
}

.btn {
    transition: all 500ms ease-in-out;
    color: #353230;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
}

.btn:hover {
    color: #fff;
    background-color: #B31209;
}

.btn:focus {
    outline: #B31209;
}


/* max width 1199px */

@media screen and (min-width: 1025px) and (max-width: 1199px) {
    /*header*/
    .header-content-menu {
        padding-top: 27px;
        padding-left: 40px;
        height: 100%;
    }
    .col-sm-3.text-left.header-content-menu {
        padding-left: 10px;
    }
    .navbar li a {
        padding: 40px 10px 40px 10px;
    }
    #main-menu {
        padding: 0;
        height: 100px;
        float: right;
    }
    #main-menu li {
        height: 100%;
        display: inline-block;
        float: left;
        font-size: 1em;
    }
}


/* max width 1024 */

@media screen and (min-width: 768px) and (max-width: 1024px) {
    /*header*/
    .header-content-menu {
        padding-top: 27px;
        height: 100%;
    }
    .navbar li a {
        padding: 40px 5px 40px 5px;
    }
    #main-menu {
        padding: 0;
        height: 100px;
        float: right;
    }
    #main-menu li {
        height: 100%;
        display: inline-block;
        float: left;
        font-size: 1em;
    }
}


/* max width 768px */

@media screen and (min-width: 500px) and (max-width: 767px) {
    /*header*/
    .botton-style {
        border: 1px solid #353230;
    }
    .botton-allign {
        margin-top: 30px;
    }
    .botton-allign-after {
        margin-top: 40px;
    }
    .navbar-header {
        height: 100%;
    }
    .col-sm-3.text-left.header-content-menu {
        display: none;
    }
    /*content*/
    .col-sm-6.text-center.float {
        float: none;
    }
}


/*max width 499px*/

@media screen and (max-width: 499px) {
    /*header*/
    .col-sm-2.text-center {
        float: left;
    }
    .botton-style {
        border: 1px solid #353230;
    }
    .botton-allign {
        margin-top: 30px;
    }
    .botton-allign-after {
        margin-top: 40px;
    }
    .navbar-header {
        height: 100%;
    }
    .col-sm-3.text-left.header-content-menu {
        display: none;
    }
    /*content*/
    .col-sm-6.text-center.float {
        float: none;
    }
}


/* pag alloggi */

.img-alloggi {
    height: 300px;
    width: 100%;
    background-size: cover;
    background-position: center;
}


/*pag udine e dintorni */

.container-centrato {
    margin: 0 auto;
    max-width: 800px;
}

.carousel-item {
    min-height: 500px;
    background-size: cover;
    background-position: top center;
}

.img1-udine-e-dintorni {
    background-image: url(https//www.civico51.it/wp-content/uploads/2015/08/1.jpg);
    background-size: cover;
    height: 250px;
    width: 100%;
}

.img2-udine-e-dintorni {
    background-image: url(https//www.civico51.it/wp-content/uploads/2015/08/2.jpg);
    background-size: cover;
    height: 250px;
    width: 100%;
}

.img3-udine-e-dintorni {
    background-image: url(https//www.civico51.it/wp-content/uploads/2015/08/1.jpg);
    background-size: cover;
    height: 250px;
    width: 100%;
}


/* pag foto */

#griglia-foto li {
    display: inline-block;
    float: left;
    margin: 10px 10px 10px 20px;
}

#griglia-foto a div {
    min-height: 200px;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 20px;
}

#griglia-foto a div:hover {
    border-color: rgba(164, 52, 58, 0.5);
    -moz-box-shadow: 0 0 5px rgba(164, 52, 58, 0.8);
    -webkit-box-shadow: 0 0 5px rgba(164, 52, 58, 0.8);
    -o-box-shadow: 0 0 5px rgba(164, 52, 58, 0.8);
    box-shadow: 0 0 5px rgba(164, 52, 58, 0.8);
}


/* pag contatti */

#mappa-google-civico51 {
    width: 100% !important;
    height: 400px !important;
    margin-top: 20px;
}


/* ========================================================================== PLUGINS ========================================================================== */


/*  Owl Carousel - Animate Plugin */

.owl-carousel .animated {
    -webkit-animation-duration: 1000ms;
    animation-duration: 1000ms;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.owl-carousel .owl-animated-in {
    z-index: 0;
}

.owl-carousel .owl-animated-out {
    z-index: 1;
}

.owl-carousel .fadeOut {
    -webkit-animation-name: fadeOut;
    animation-name: fadeOut;
}

@-webkit-keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}


/*  Owl Carousel - Auto Height Plugin */

.owl-height {
    -webkit-transition: height 500ms ease-in-out;
    -moz-transition: height 500ms ease-in-out;
    -ms-transition: height 500ms ease-in-out;
    -o-transition: height 500ms ease-in-out;
    transition: height 500ms ease-in-out;
}


/*  Core Owl Carousel CSS File */

.owl-carousel {
    display: none;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
    /* position relative and z-index fix webkit rendering fonts issue */
    position: relative;
    z-index: 1;
}

.owl-carousel .owl-stage {
    position: relative;
    -ms-touch-action: pan-Y;
}

.owl-carousel .owl-stage:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.owl-carousel .owl-stage-outer {
    position: relative;
    overflow: hidden;
    /* fix for flashing background */
    -webkit-transform: translate3d(0px, 0px, 0px);
}

.owl-carousel .owl-controls .owl-nav .owl-prev,
.owl-carousel .owl-controls .owl-nav .owl-next {
    cursor: pointer;
    cursor: hand;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.owl-carousel .owl-controls .owl-dot {
    cursor: pointer;
    cursor: hand;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.owl-carousel.owl-loaded {
    display: block;
}

.owl-carousel.owl-loading {
    opacity: 0;
    display: block;
}

.owl-carousel.owl-hidden {
    opacity: 0;
}

.owl-carousel .owl-refresh .owl-item {
    display: none;
}

.owl-carousel .owl-item {
    position: relative;
    min-height: 1px;
    float: left;
    -webkit-backface-visibility: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.owl-carousel .owl-item img {
    display: block;
    width: 100%;
    -webkit-transform-style: preserve-3d;
}

.owl-carousel.owl-text-select-on .owl-item {
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}

.owl-carousel .owl-grab {
    cursor: move;
    cursor: -webkit-grab;
    cursor: -o-grab;
    cursor: -ms-grab;
    cursor: grab;
}

.owl-carousel.owl-rtl {
    direction: rtl;
}

.owl-carousel.owl-rtl .owl-item {
    float: right;
}


/* No Js */

.no-js .owl-carousel {
    display: block;
}


/*  Owl Carousel - Lazy Load Plugin */

.owl-carousel .owl-item .owl-lazy {
    opacity: 0;
    -webkit-transition: opacity 400ms ease;
    -moz-transition: opacity 400ms ease;
    -ms-transition: opacity 400ms ease;
    -o-transition: opacity 400ms ease;
    transition: opacity 400ms ease;
}

.owl-carousel .owl-item img {
    transform-style: preserve-3d;
}

.owl-carousel .owl-video-wrapper {
    position: relative;
    height: 100%;
    background: #000;
}

.owl-carousel .owl-video-play-icon {
    position: absolute;
    height: 80px;
    width: 80px;
    left: 50%;
    top: 50%;
    margin-left: -40px;
    margin-top: -40px;
    background: url("owl.video.play.png") no-repeat;
    cursor: pointer;
    z-index: 1;
    -webkit-backface-visibility: hidden;
    -webkit-transition: scale 100ms ease;
    -moz-transition: scale 100ms ease;
    -ms-transition: scale 100ms ease;
    -o-transition: scale 100ms ease;
    transition: scale 100ms ease;
}

.owl-carousel .owl-video-play-icon:hover {
    -webkit-transition: scale(1.3, 1.3);
    -moz-transition: scale(1.3, 1.3);
    -ms-transition: scale(1.3, 1.3);
    -o-transition: scale(1.3, 1.3);
    transition: scale(1.3, 1.3);
}

.owl-carousel .owl-video-playing .owl-video-tn,
.owl-carousel .owl-video-playing .owl-video-play-icon {
    display: none;
}

.owl-carousel .owl-video-tn {
    opacity: 0;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    -webkit-transition: opacity 400ms ease;
    -moz-transition: opacity 400ms ease;
    -ms-transition: opacity 400ms ease;
    -o-transition: opacity 400ms ease;
    transition: opacity 400ms ease;
}

.owl-carousel .owl-video-frame {
    position: relative;
    z-index: 1;
}