@font-face {
    font-family: 'latoitalic';
    src: url('fonts/Lato-Italic.ttf') format('truetype');
    font-weight: normal !important;
    font-style: normal;
}
@font-face {
    font-family: 'latobold';
    src: url('fonts/Lato-Bold.ttf') format('truetype');
    font-weight: normal !important;
    font-style: normal;
}

@font-face {
    font-family: 'latoregular';
    src: url('fonts/Lato-Regular.ttf') format('truetype');
    font-weight: normal !important;
    font-style: normal;
}

@font-face {
    font-family: 'latolight';
    src: url('fonts/Lato-Light.ttf') format('truetype');
    font-weight: normal !important;
    font-style: normal;
}

body {
    font-family: 'latoregular';
}

.text-bold {
    font-weight: normal;
    font-family: 'latobold';
}

header .main-header{
    background-color: #c6c6c6;
}

header .main-header .container > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .main-header .logo-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
}

header .main-header .logo-wrapper p {
    margin-bottom: 3px;
}

header .main-header .logo-wrapper p i {
    width: 20px;
    text-align: center;
}

header .main-header .logo-wrapper p a {
    color: #666;
    transition: all 0.2s ease-in-out;
}

header .main-header .logo-wrapper p a:hover {
    color: #333;
    text-decoration: none;
}

header .main-header .logo-wrapper .logo {
    display: block;
    width: 112px;
    height: 90px;
    margin-right: 15px;
    background: url(/img/logo-dgm.png) no-repeat center;
}
header .main-header .logo-wrapper .logo:hover{
    text-decoration: none;
    color: #e11a29;
}
header .main-header .slogan {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
header .main-header .slogan p {
    margin: 0;
    display: inline-block;
    font-style: italic;
    font-family: 'latobold';
    font-size: 14px;
    color: black;
    text-align: end;
    line-height: 24px;
}
header .main-header .slogan p:first-child {
    font-size: 12px;
    color: #016330;
}
header .main-header .slogan p:last-child {
    text-transform: uppercase;
}
@media (min-width: 480px){
    header .main-header .slogan p {
        font-size: 18px;
    }
    header .main-header .slogan p:first-child {
        font-size: 14px;
    }
}
@media (min-width: 768px){
    header .main-header .slogan {
        flex-direction: row;
        align-items: center;
    }
    header .main-header .slogan p {
        line-height: 40px;
        font-size: 24px;
    }
    header .main-header .slogan p:first-child {
        font-size: 20px;
        margin-right: 40px;
    }
}

header .navigation-header {
    background-color: #f7c800;
    padding: 5px 0;
    box-shadow: #d8d8d8 0 5px 6px;
}

header .navigation-header nav a {
    color: #fff;
    font-size: 14px;
    font-family: 'latobold';
    text-decoration: none;
    display: inline-block;
    margin: 6px 4px;
    transition: color 0.3s;
}
header .navigation-header nav a:hover {
    color: #eee;
}
header .navigation-header nav .divider {
    color: black;
    margin: 3px 6px;
}
header .navigation-header nav .divider::after {
    content: '|';
}
@media (min-width: 768px){
    header .navigation-header nav a {
        font-size: 18px;
        margin: 8px;
    }
    header .navigation-header nav .divider {
        margin: 7px;
    }
}

h1 {
    margin: 40px 0;
    padding-left: 30px;
    font-size: 32px;
    font-style: italic;
    line-height: 50px;
    border-bottom: 1px solid #888888;
    text-transform: uppercase;
}

h2 {
    margin: 30px 0;
    font-size: 26px;
    line-height: 32px;
    color: #666;
    text-transform: uppercase;
}

.text-title {
    font-family: 'latobold';
    margin: 15px 0 5px;
}

.wrap {
    padding: 20px 0;
}

@media (min-width: 576px) {
    .wrap {
        padding: 20px 0 30px;
    }
}
@media (min-width: 768px) {
    .wrap {
        padding-bottom: 40px;
        min-height: calc(100vh - 253px);
    }
}

.carousel-section {
    padding: 0;
}
@media (max-width: 575.98px) {
    .carousel-section .container {
        margin: 0;
        padding: 0;
    }
}

@media (min-width: 576px) {
    .carousel-section {
        padding: 20px 0;
    }
}

.info-section .box-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}
@media (min-width: 768px) {
    .info-section .box-wrapper {
        flex-direction: row;
        justify-content: space-between;
    }
}

.info-section {
    padding: 20px 0;
}

.info-section .box {
    border: 7px solid #666;
    border-radius: 5px;
    width: 220px;
    height: 110px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    box-shadow: #e2e2e2 10px 10px 10px;
    background-size: cover;
    background-position: center;
    margin-bottom: 15px;
}

.info-section .box:nth-child(1) {
    background-image: url(/img/diagnosis-img.JPG);
}

.info-section .box:nth-child(2) {
    background-image: url(/img/parts-img.jpg);
}

.info-section .box:nth-child(3) {
    background-image: url(/img/overhaul-img.JPG);
}

@media (min-width: 992px) {
    .info-section .box {
        margin-bottom: 0;
        width: 270px;
        height: 135px;
    }
}

.info-section .box a {
    background-color: rgba(120, 120, 120, 0.5);
    display: block;
    width: 100%;
    line-height: 40px;
    color: white;
    font-size: 18px;
    transition: all 0.3s;
}
.info-section .box a:hover {
    line-height: 80px;
    text-decoration: none;
}

.info-section p {
    padding-top: 70px;
    font-size: 22px;
    line-height: 32px;
    text-align: center;
}

footer {
    background-color: #666;
    color: white;
}

footer div {
    height: 80px;
}

footer .copyright {
    font-size: 11px;
}
.contact-section a {
    color: #333;
    cursor: pointer;
}
.contact-section a:hover {
    text-decoration: none;
    color: #666;
}
.contact-section i {
    width: 15px;
    margin-right: 10px;
    text-align: center;
}
.contact-section .googlemap {
    width:  100%;
}