html, body {
    height: 100%;
}
img {
    width: 100%;
    height: auto;
    border: none;
}
.reset-padding-margin {
    margin: 0;
    padding: 0;
}
.header-call-message {
    background-color: #111;
    color: #fff;
    text-align: center;
    height: 50px;
    line-height: 50px;
    font-size: 20px;
}
.navbar.navbar-expand-lg {
    background-color: #288dd4;
}
.navbar.navbar-expand-lg .nav-item {
    line-height: 2.5;
    margin-right: 10px;
    padding-left: 10px;
    padding-right: 10px;
}
.navbar.navbar-expand-lg .nav-item a.nav-link {
    color: #fff;
    font-size: 20px;
}
.navbar.navbar-expand-lg .nav-item a.nav-link:hover {
    color: #288dd4;
}
.navbar.navbar-expand-lg .nav-item:hover {
    background-color: #fff;
}
.navbar.navbar-expand-lg .nav-item:hover > a {
    color: #288dd4;
}
.navbar.navbar-expand-lg .nav-item.active {
    background-color: #fff;
}
.navbar.navbar-expand-lg .nav-item.active a {
    color: #288dd4;
}
.navbar-brand {
    display: inline-block;
    width: 200px;
    margin-right: 80px;
}
.navbar-expand-lg {
    padding-left: 20%;
}
.header-img-bg {
    width: 100%;
    height: 80%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.icon-img-bg {
    background-color: #f0f0f0;
}
.icon-img-wrapper {
    height: auto;
    padding:60px;
}
.wrapper {
    text-align: center;
    margin: 0 auto;
    width: 60%;
    padding: 30px;
}
.bg-blue-light {
    background-color: #d7e9f5;
}
.blue {
    background-color: #288dd4;
}
.padding-30 {
    padding: 30px;
}
.h1-blue, .h2-blue {
    color: #288dd4;
}
h1 {
    margin-bottom: 30px;
}
.button a {
    display: inline-block;
    color: #fff;
    background-color: #288dd4;
    padding: 0 45px 0 45px;
    font-size: 20px;
    border-radius: 10px;
    text-decoration: none;
    line-height: 40px;
}
.red {
    color: #f11111;
}
.home-card-1 {
    background-image: url("../img/home-card-1.jpg");
    min-height: 570px;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}
.carrozzeria-card-1 {
    background-image: url("../img/carrozzeria-card-1.jpg");
    min-height: 350px;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}
.carrozzeria-card-2 {
    background-image: url("../img/carrozzeria-card-2.jpg");
    min-height: 400px;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}
.carrozzeria-card-3 {
    background-image: url("../img/carrozzeria-card-3.jpg");
    min-height: 400px;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}
.servizi-auto-card-1 {
    background-image: url("../img/servizi-auto-card-1.jpg");
    min-height: 600px;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}
.servizi-auto-card-2 {
    background-image: url("../img/servizi-auto-card-2.jpg");
    min-height: 400px;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}
.servizi-auto-card-3 {
    background-image: url("../img/servizi-auto-card-3.jpg");
    min-height: 600px;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}
.noleggio-card-1 {
    background-image: url("../img/noleggio-card-1.jpg");
    min-height: 400px;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}

.wrapper-card {
    padding: 20px;
}
.bg-white {
    background-color: #fff;
}
.img-card {
    margin-top: 9%;
}
.white {
    color: #fff;
}
.bg-black {
    background-color: #000;
}
.h-width {
    width: 60%;
    margin: 0 auto;
}
.popup-link {
    text-decoration: underline;
    cursor: pointer;
}
/*Popup*/
.popup-wrapper {
    display: none;
    background: rgba(0, 0, 0, .8);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.popup-container {
    width: 500px;
    height: 500px;
    margin: 20vh auto 0 auto;
    background-color: #d7e9f5;
    color: #444;
    padding: 10px;
}
.popup-close {
    text-align: right;
}
.popup-close span {
    font-weight: bold;
    cursor: pointer;
    font-size: 25px;
}
.popup-content {
    overflow-y: auto;
    padding: 30px;
    background-color: #fff;
    height: 415px;
}
/*Popup*/

.noleggio-card {
    margin: 0 auto 30px auto;
    width: 60%;
}
.my-gallery {
    margin: 0 auto;
}
.noleggio-card .my-gallery{
    height: 313px;
}
.contact-card {
    width: 60%;
}
.blue-color {
    color: #288dd4;
}
.contact-card {
    width: 60%;
    margin: 0 auto;
}


/*Gallery style*/

.my-gallery {
    width: 100%;
    float: left;
}
.my-gallery img {
    width: 100%;
    height: auto;
}
.my-gallery figure {
    display: block;
    float: left;
    margin: 0 5px 5px 0;
    width: 150px;
}
.my-gallery figcaption {
    display: none;
}

.spliter {
    margin-top: 50px;
    margin-bottom: 50px;
    padding-top: 50px;
    padding-bottom: 50px;
}


@media (max-width: 575px) {
    .icon-img-wrapper {
        width: 400px;
        margin: 0 auto;
    }
}
@media (max-width: 430px) {
    .navbar-brand {
    display: inline-block;
    width: 200px;
    margin-right: 0px;
}
.d-none-mk {
    display: none;
}
h1, h2 {
    font-size: 25px;
}

.icon-img-wrapper {
    width: 300px;
}
.wrapper {
    width: 100%;
}
.carrozzeria-card-1 {
    background-image: url("../img/carrozzeria-card-1.jpg");
    min-height: 250px;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}
.carrozzeria-card-2 {
    background-image: url("../img/carrozzeria-card-2.jpg");
    min-height: 200px;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}
.carrozzeria-card-3 {
    background-image: url("../img/carrozzeria-card-3.jpg");
    min-height: 200px;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}
.noleggio-card {
    width: 98%;
}
.contact-card {
    width: 100%;
}
.popup-container {
    width: 100%;
    height: 500px;
    margin: 20vh auto 0 auto;
    background-color: #d7e9f5;
    color: #444;
    padding: 10px;
}
}