#page-title.tips-title-container {
    background: url("../images/tips/mg-tips-title-back-desktop.jpg") no-repeat center 45% / cover;
    padding: 150px;
    background-color: black;
    background-position: center 60%;
}

#page-title .container {
    width: fit-content;
    border-bottom: 1px solid white;
    padding-bottom: 1rem;
    padding-left: 0px;
    padding-right: 0px;
    float: left;
}

#page-title .container h1 {
    font-size: 2.8rem;
    text-transform: none;
    font-weight: normal !important;
}

#content .content-wrap {
    padding-top: 0px;
    background-color: black;
    background: url("../images/tips/mg-tips-section-back.jpg") no-repeat center top / cover;
    padding-top: 2rem;
    padding-bottom: 2rem;
    transition: 1s all;
}

.fbox-effect .fbox-icon i.icon-line-play {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: rgba(255, 255, 255, 0.7);
}
.fbox-effect .fbox-icon i.icon-line-play::before {
    margin-left: 5px;
}
.fbox-effect .fbox-icon i.icon-line-play:hover {
    border: 1px solid rgba(255, 255, 255, 1);
    color: rgba(255, 255, 255, 1);
    background-color: transparent;
}
.fbox-effect .fbox-icon i:hover,
.fbox-effect:hover .fbox-icon i {
    background-color: transparent !important;
}

.dark .fbox-effect .fbox-icon i:after {
    box-shadow: none;
    background-color: transparent;
}
.dealer-detail-info {
    padding: 4rem;
}

.gmap_canvas .fluid-width-video-wrapper {
    position: absolute;
    padding: 0;
    height: 100%;
}

.dealer-detail-info h1,
.dealer-detail-info h1 span#dealer-detail-name {
    color: white;
    font-weight: normal;
}

.dealer-name-container {
    padding: 1rem 0;
    border-bottom: 1px solid white;
}

.dealer-info-section {
    flex-direction: column;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    padding: 1rem 0;
}

.dealer-info-section .dealer-info-subtitle,
.dealer-info-section .dealer-info-detail {
    font-size: 1.6rem;
    color: white;
    padding-top: 0.5rem;
}

.dealer-info-section .dealer-info-detail a:not(.button) {
    color: rgba(255, 255, 255, 0.6);
    transition: 0.4s all;
}
.dealer-info-section .dealer-info-detail a:not(.button):hover {
    color: white;
    background-color: transparent !important;
}

.dealer-social-icons a {
    padding: 10px;
}
.close.back {
    position: relative;
    margin: 3rem 0px;
    left: 0;
    font-size: 3rem;
    line-height: 1.1;
}
.gmap_canvas,
#gmap_canvas {
    overflow: hidden;
    background: none !important;
    height: 100%;
    width: 100%;
    min-height: 500px;
}

.map-container #map {
    height: calc(100vh - 100px);
}
#dealer-info-map .fluid-width-video-wrapper {
    background: url("../images/mg-logo-footer%401x.png") no-repeat center center / auto;
    background-color: rgba(255, 255, 255, 0.1);
}
.tips-controls .section {
    margin-top: 0px;
    background-color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    margin-bottom: 0px;
}

.tips-controls .right {
    text-align: right !important;
}

.tips-controls .select-controls {
    padding: 1rem;
    border-left: 6px solid var(--themecolor);
}

#content .content-wrap {
    padding-top: 0px;
    background-color: black;
}

.dealer-container {
    border: 1px solid rgba(255, 255, 255, 0.6);
    height: 240px;
}

.dealer-container .video-title {
    font-size: 1rem;
    padding: 0.8rem 1rem 1rem;
}

.dealer-state {
    font-size: 1.1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}
.dealer-buttons {
    padding-top: 1rem;
}

.gallery-thumbnail {
    width: 100%;
    height: 90%;
    background-size: cover;
    padding: 0px;
    background-repeat: no-repeat;
    background-position: center;
}

div.model-container {
    margin-top: 3rem;
}
.mg-marker-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 1rem;
}

.mg-merker-title,
.mg-merker-link {
    color: #1a1a1a;
    font-size: 1.2rem;
    font-weight: normal;
}

.mg-marker-title {
    margin-top: 1rem;
}

.close.close-modal {
    position: absolute;
    top: 2%;
    right: 2%;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid white;
    width: 60px;
    height: 60px;
    opacity: 0.4;
    transition: 0.4s all;
    color: white;
    border-radius: 0 !important;
}
.modal-fullscreen .modal-content {
    height: 100vh;
}

#map-modal .modal-content .container {
    height: 80vh;
}
#map-modal .fluid-width-video-wrapper {
    display: flex;
    justify-content: center;
}
#map-modal .fluid-width-video-wrapper iframe,
#map-modal .fluid-width-video-wrapper object,
#map-modal .fluid-width-video-wrapper embed {
    height: 80vh;
}

/** Carousel **/
.model-container button.owl-next,
.model-container button.owl-prev {
    opacity: 0.6 !important;
    border-radius: 0px !important;
    color: white;
    background-color: transparent;
    font-size: 30px !important;
    width: 50px !important;
    height: 50px !important;
    border: 1px solid white;
    margin-top: -45px !important;
}

.model-container button.owl-prev:hover,
.model-container button.owl-next:hover {
    opacity: 1 !important;
}

@media screen and (max-width: 767px) {
    #page-title.tips-title-container {
        padding: 0px 10px;
        justify-content: center;
        background: url("../images/tips/mg-tips-title-back-mobile.jpg") no-repeat center 45% / cover;
    }

    #content .content-wrap .tips-content {
        padding-top: 0px;
        padding-bottom: 0px;
    }

    #page-title.tips-title-container h1 {
        font-size: 2rem;
        text-align: left;
    }

    .dealer-detail-info {
        padding: 1rem;
    }
    .dealer-info-section .dealer-info-subtitle,
    .dealer-info-section .dealer-info-detail {
        font-size: 1.2rem;
    }
    #map-modal .fluid-width-video-wrapper iframe,
    #map-modal .fluid-width-video-wrapper object,
    #map-modal .fluid-width-video-wrapper embed {
        height: 95vh;
    }
    .close.close-modal {
        top: 10%;
        right: 5%;
    }
    .modal-fullscreen .modal-content {
        height: 95vh;
    }
}
