Raleway /* CSS Document */
body {
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
}

h1,
h2,
h4,
h5,
h6 {
    margin: 20px 0;
    letter-spacing: .05em;
    font-family: Raleway, sans-serif;
    text-transform: uppercase
}

h3 {
    margin: 20px 0;
    letter-spacing: .05em;
    font-family: Raleway, sans-serif;
}

#realizzazioni {
    text-align: center;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    font-style: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-transform: inherit
}

a:hover,
h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover,
p a:hover {
    color: #999
}

h1 {
    font-size: 40px;
    line-height: 1.275em
}

h2 {
    font-size: 35px;
    line-height: 1.314em
}

h3 {
    font-size: 30px;
    line-height: 1.4em
}

h4 {
    font-size: 25px;
    line-height: 1.44em
}

h5 {
    font-size: 22px;
    line-height: 1.5em
}

h6 {
    font-size: 18px
}

a,
p a {
    text-decoration: none;
    -webkit-transition: color .2s ease-out;
    -moz-transition: color .2s ease-out;
    transition: color .2s ease-out
}

p {
    margin: 10px 0
}

.container-fluid.larga {

    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (min-width: 1200px) {
    .container-fluid {
        width: 1140px;
    }

    .container-fluid.larga {
        width: 100%;

    }
}

@media (min-width: 1400px) {

    .container-fluid.larga {
        width: 1340px;
    }
}


.fixed {
    background-color: #23292E;
    z-index: 30;
}

.fixed.zindex {
    z-index: 0;

}

.header_top {
    height: 30px;
    background-color: #23292E;
    font-size: 12px;

}


.header_top_inner {
    height: 100%;
}

.header_top_inner span {
    color: #959EA3;
    margin-right: 40px;
    line-height: 30px;

}

.header_top_inner span i {

    margin-right: 10px;


}

.header_top_inner span a {
    color: #959EA3;
}

.header_top_inner span a:hover {
    color: #ebebeb;
    text-decoration: none;
}

/* Social Icons */
.social_wrap {
    display: block;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-left: 1px solid #959EA3;
}

.social_wrap .social_wrap_inner {
    height: 100%;
    text-align: right;
}

.social_wrap .social_wrap_inner:after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

.social_wrap ul {
    list-style: none;
    display: inline-block;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

.social_wrap li {
    display: inline-block;
    margin: 0 5px 0 0;
    padding: 0;
    position: relative;
    vertical-align: middle;
    float: left;
    text-align: right;

}

.social_wrap li:last-child {
    margin: 0;
}

.social_wrap li:before {
    display: none;
}

.social_wrap a {
    display: block;
    width: 30px;
    height: 30px;
    position: relative;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    color: #d6dddf;
    line-height: 28px;
}

.social_wrap a:hover {
    color: #828c92;
}

.social_wrap a:before {
    width: 1em;
    height: 1em;
    margin: auto !important;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}


.header_top .social_wrap {
    height: 100%;

    border-left-width: 1px;
    border-left-style: solid;
    float: right;
}

.bg-light {
    background-color: rgba(255, 255, 255, 1) !important;
}


.header_mid {
    width: 100%;
    background-color: rgba(255, 255, 255, 1);
    height: 100px;
    transition: height 0.5s;
    -webkit-transition: height 0.5s;
    -moz-transition: height 0.5s;
    position: absolute;
    z-index: 100;
    border-top: 2px solid #FF0000;
}

.header_mid .container-fluid {

    padding: 0;
}

.logo img {
    height: 90px;
    transition: height 0.5s;
    -webkit-transition: height 0.5s;
    -moz-transition: height 0.5s;
    padding-top: 10px;

}

.header_mid.small {
    background-color: rgba(255, 255, 255, 1);
    height: 80px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 20;
    margin-top: 0;
    font-size: 90%;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.75);
    box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.75);
}

.header_mid.small .container-fluid {
    border-top: none;
}

.header_mid.small .logo img {
    height: 70px;

}

.fixed {
    position: fixed;
    width: 100%
}

.spazio {
    height: 130px;
}

@media (max-width: 470px) {

    .dropdown-menu {
        margin-left: 0;
        padding-left: 0;
        border: none;
    }

    .dropdown-item {
        padding-left: 0;
    }

    .header_top {
        height: 40px;
    }

    .header_top .social_wrap, .social_wrap {
        border: none;
        border-left-width: 0px;
        border-left-style: none;
        float: none;
        height: 40px;
    }

    .social_wrap .social_wrap_inner {
        text-align: center;
    }

    .header_top_inner {
        text-align: center;
    }

    .header_mid {
        width: 100%;
        height: 80px;
        /*position: relative;*/
        /*top:0;*/
    }

    .header_mid.small {
        height: 80px;
        /*position: relative;*/
    }

    .header_mid.small .container-fluid {
        border-top: 1px solid #d6dddf;
    }

    .logo img {
        height: 70px;
    }

    .header_top_inner span {
        line-height: 40px;
    }

    .fixed {
        position: relative;
        width: 100%
    }

    .spazio {
        height: 0px;
    }

    #home header {
        height: 33vh !important;
        webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    header video {
        position: absolute;
        /*top: 50%;*/
        left: 50%;
        /*min-width: 100%;*/
        /*min-height: 100%;*/
        width: 100% !important;
        /*height: 220px !important;*/
        margin-top: 60px !important;
        z-index: 0;
        -ms-transform: translateX(-50%) translateY(-50%);
        -moz-transform: translateX(-50%) translateY(-50%);
        -webkit-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%);
    }

}

.navbar {

    padding: 0 1rem;
}

.form-inline .form-control {

    display: inline-block;
    width: auto;
    vertical-align: middle;

}


.blocco-tx-home {
    position: relative;
    margin-top: 100px;
    text-align: center;
    width: 100%;
}

.blocco-tx-home .col-12 {
    background-color: #2C343B;
    width: 100%;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.75);
    box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.75);
    padding: 10px;

}

.blocco-tx-home .col-12 div {
    border: 3px solid #FF0000;
    padding: 20px;
    font-family: Raleway, sans-serif;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: .05em;
    font-weight: 300;
    color: white;
}


@media (min-width: 470px) {

    .blocco-tx-home {

        z-index: 10;
        margin-top: 50px;
        text-align: center;
        width: 100%;
    }


    .blocco-tx-home .col-12 div {
        font-size: 20px;
        line-height: 40px;


    }

}

@media (min-width: 992px) {

    .blocco-tx-home {
        margin-top: 220px;
    }

    .blocco-tx-home .col-12 div {
        font-size: 26px;
        line-height: 44px;

    }

}


.navbar-light .navbar-nav .nav-link {
    color: #22282D;
    font-weight: bold;
    letter-spacing: .05em;
}


.item {
    position: relative;
    padding: 70px;
    background-color: #fff;
    box-shadow: 20px 20px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease-out 0s;
    box-sizing: border-box;
    border-bottom: 3px solid #FF0000;
    text-align: center
}

.home-block {
    height: 430px !important;
}


.item i {
    color: #2C343B;
    font-size: 60px;
    margin-bottom: 20px;

}

.item .tit {
    box-sizing: border-box;
    color: rgb(39, 39, 39);

    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 23px;
    margin-bottom: 16px;
    margin-top: 10px;
    text-align: center;
    text-rendering: auto;
}


.itm-image img {
    width: 100%;
}

.itm-image {
    width: 40%;
    float: left;
    margin: 0 30px 20px 0px;
}

.navbar-light .navbar-nav .nav-link.active {
    color: #FF0000;
}


.addon-title {
    margin-bottom: 3px;
    line-height: 40px;
    color: #888;
    font-weight: 300;
    font-size: 18px;

}

.TitMod {
    box-sizing: border-box;
    color: rgb(39, 39, 39);
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 50px;
    margin-bottom: 3px;
    margin-top: 0px;
    text-align: left;
    text-rendering: auto;
    display: block;
    position: relative;
    padding-bottom: 20px;
    margin: 20px 0;
}

.TitMod::after {
    content: "";
    position: absolute;
    left: 45%;
    width: 10%;
    height: 2px;
    background-color: #FF0000;
    bottom: 0;
}

.owl-carousel .owl-item img {
    height: 400px;
    object-fit: cover;
}

.owl-carousel .item {
    position: relative;
    padding: 0;

    box-shadow: none;
    transition: all 0.3s ease-out 0s;
    box-sizing: border-box;
    border-bottom: none;
    text-align: left;
    background-color: transparent;
}

.owl-carousel .item h4 {
    font-size: 20px;
    margin: 0;
    margin-top: 5px;
}

footer {
    background-color: #23292E;
    padding-bottom: 20px;
    padding-top: 20px;
    color: #ffffff;
    font-size: 12px;
}

footer a {

    color: #ffffff;

}

footer img {
    max-width: 150px;

}

h4 {
    text-transform: none;
    margin: 0;
    padding: 0;
}

footer h6 {

    margin: 0;
    padding: 0;
    margin-top: 10px;
}

#search-form {
    -moz-transition: max-height, 0.5s;
    -o-transition: max-height, 0.5s;
    -webkit-transition: max-height, 0.5s;
    transition: max-height, 0.5s;
    max-height: 0;
    overflow: hidden;
    background-color: #2C343B;
    position: absolute;
    margin-top: 8px;
    width: 100%


}

#search-form.open {
    max-height: 80px;
    padding-top: 15px;
    padding-bottom: 15px;
}


#search-form .form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 18px;
    line-height: 1.5;
    color: #000000;
    background-color: #ffffff;
    background-clip: padding-box;
    border: none;
    border-radius: .25rem;
    transition: none;
}

#search-form .btn-cerca {
    background-color: #FF0000;
    border-radius: 0;
    color: #ffffff;

    font-weight: 400;
    font-size: 16px;
    letter-spacing: 1px;
}

#search-form .form-control:focus {
    box-shadow: none
}


.navbar-light .navbar-toggler {
    color: #ffffff;
    border-color: #FF0000;
    background-color: #FF0000;
}

.btn-outline-success {
    color: #FF0000;
    background-color: transparent;
    background-image: none;
    border-color: #FF0000;
}

.no-padding {
    padding-left: 0;
    padding-right: 0;

}


.box-img {
    position: relative;
    width: 100%;
    height: 100%;
}

.box-img > img {
    height: 100%;
}

.image {
    display: block;
    width: 100%;
    height: auto;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: rgba(255, 0, 0, .70);
}

.box-img:hover .overlay {
    opacity: 1;
}

.text {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

.contattaci {
    background-color: #2C343B;
    padding-top: 50px;
    padding-bottom: 50px;
    color: white
}

.contattaci a {
    color: white
}


.contattaci .addon-title {
    margin-bottom: 3px;
    line-height: 40px;
    color: #ffffff;
    font-weight: 300;
    font-size: 18px;

}

.contattaci .TitMod {
    box-sizing: border-box;
    color: #ffffff;
    font-size: 26px;
    font-style: normal;
    font-weight: 600;
    line-height: 50px;
    margin-bottom: 0px;
    margin-top: 0px;
    text-align: left;
    text-rendering: auto;
    display: block;
    position: relative;
    padding-bottom: 20px;
    margin: 20px 0;
}

.contattaci .TitMod::after {
    content: "";
    position: absolute;
    left: 0;
    width: 10%;
    height: 2px;
    background-color: #FF0000;
    bottom: 0;
}


.btn-dieffe {

    color: #ffffff;
    background-color: #FF0000;
    border-color: transparent;
    border-radius: 0;
}

.btn-dieffe:hover {
    color: #ffffff;
    text-decoration: none;
    background-color: rgba(255, 0, 0, 1.00);
    border-color: transparent;
}

.btn-dieffe:focus {
    color: #ffffff;
    text-decoration: none;
    background-color: #FF0000;
    border-color: transparent;
}


.form-control {
    margin-bottom: 10px;
}


#map-canvas {
    width: 100%;
    height: 510px;
    position: relative;
    z-index: 10;
    margin-top: 40px;
    border: 3px solid #FF0000;
    color: #000000;
}

@media (min-width: 768px) {
    .advinser {
        text-align: right;
    }
}

.footer-bottom {
    border-top: 1px solid rgba(44, 52, 59, 1.00);
    margin-top: 15px;
    padding-top: 15px;
    color: #959EA3
}

.footer-bottom a {
    color: #959EA3
}


header {
    position: relative;
    background-color: #ffffff;
    min-height: 130px;
    width: 100%;

    webkit-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.75);
    box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.75);
}

#home header {
    height: 75vh;
    webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

header video {
    position: absolute;
    /*top: 50%;*/
    left: 50%;
    /*min-width: 100%;*/
    /*min-height: 100%;*/
    /*width: auto;*/
    /*height: auto;*/
    width: 100% !important;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

header .container {
    position: relative;
    z-index: 2;
}

header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 0.5;
    z-index: 1;
}

@media (pointer: coarse) and (hover: none) {
    header {
        background: url('https://source.unsplash.com/XT5OInaElMw/1600x900') black no-repeat center center scroll;
    }

    /*header video {*/
    /*    display: none;*/
    /*}*/
}


.accordion .card-header:after {
    font-family: 'FontAwesome';
    content: "\f068";
    float: right;
}

.accordion .card-header.collapsed:after {
    /* symbol for "collapsed" panels */
    content: "\f067";
}


.card-title {
    font-family: Raleway, sans-serif;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 1.44em;
    font-weight: bold;

}

.card-header {
    background-color: rgba(150, 207, 0, .2);
    padding-top: 30px;
    padding-bottom: 30px;

}


.owl-carousel a h4 {
    color: #000000;
    text-decoration: none;
}

.owl-carousel a h4:hover {
    color: #000000;
    text-decoration: none;

}

.altezza-100 {
    height: 100%;
}

.contact-link {
    color: #212529;
    text-decoration: none;
}

.contact-link:hover {
    color: red;
}


