body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    word-break: break-word;
}

a {
    user-select: none;
}

.dpv-results {
    margin-left: -15px;
    width: calc(100% + 15px);
}

.ui-widget {
    font-family: "avenirnext", Arial !important;
}

.welcome-wrap .title h1 {
    line-height: 88px;
    min-height: 88px;
}

.welcome-wrap .title p {
    line-height: 26px;
    min-height: 26px;
}

.transport-lines li div a span {
    position: relative;
    top: 1px;
}

#transport-search-tabs li > a {
    text-decoration: none !important;
}

.hp-news .news-item {
    margin-bottom: 40px;
    flex-basis: 0;
    flex: 1 1 33%;
    max-width: 33%;
}

#google_translate_element_mobile > div > div,
#google_translate_element > div > div {
    border: none;
}

#google_translate_element_mobile > div > div > span > a,
#google_translate_element > div > div > span > a {
    text-decoration: none !important;
}

.hp-news .news-item:nth-child(3) {
    border-right: none;
}

.hp-news {
    display: flex;
    flex-wrap: wrap;
    /*align-items: center;*/
}

.hp-news .last-show-all {
    white-space: nowrap;
    flex: none;
    margin-left: auto;
    align-self: center;
    width: 100%;
    padding-left: 20px !important;
}

.transport-lines li div a {
    min-width: 29px;
    width: auto;
    padding: 0 5px;
}

.transport-lines li div a.long {
    padding: 0 11px;
}

.footer-row .social {
    margin-bottom: 10px;
}

.footer-row .right {
    margin-left: auto;
}

.footer-row .middle > p,
.footer-row .middle > a {
    color: white !important;
}

header .logo img {
    padding-top: 0;
    max-height: 85px;
}

.oil-sale h1 > a {
    font-weight: 900;
}

.footer-row .middle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-row > a {
    margin-right: auto;
    width: 100%;
    max-width: 300px;
}

.f-notice {
    font-size: 7px;
    top: -5px;
    position: relative;
}

.has-time-picker input {
    background-color: white !important;
}

label[for="line_search_barrierFree"],
label[for="line_search_directConnections"] {
    width: auto;
    display: inline-block;
}

.line-detail-shortcut {
    color: black !important;
}

#transport-search-tabs .fa-search {
    margin-right: 7px;
}

.dp {
    margin-bottom: 20px;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

/*.search-form button {*/
/*    display: inline-block !important;*/
/*}*/

.container-vehicle .gallery-slider img:not(.nav-arrow) {
    object-fit: cover;
    width: 280px;
    height: 150px;
    padding: 5px;
}

.container-vehicle {
    padding-bottom: 20px;
}

.dotted.smaller-margin {
    margin: 20px 0;
}

.vehicle-sale .gallery-slider img:not(.nav-arrow) {
    object-fit: cover;
    width: 280px;
    height: 150px;
    padding: 5px;
}

.gallery-slider .nav-arrow.right {
    margin-left: 5px;
}

.gallery-slider .nav-arrow.left {
    margin-right: 5px;
}

.gallery-slider .nav-arrow {
    display: block;
    height: 25px;
}

.vehicle-sale .files span {
    margin-bottom: 5px;
}

.btn-force-desktop {
    display: none;
}

.vehicle-sale .files {
    display: flex;
    flex-direction: column;
}

.container-vehicle .gallery-slider {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.pb-30 {
    padding-bottom: 30px;
}

#newsItems > .news-preview > .row {
    border-bottom: dashed #dadada 1px;
    padding-bottom: 30px;
}

#newsItems > .news-preview:last-of-type > .row {
    border-bottom: none;
}

.vehicle-sale .gallery-slider {
    width: 70%;
    min-width: 70%;
    max-width: 70%;
    display: flex;
    align-items: center;
}

.vehicle-sale .vehicle .desc {
    width: 30%;
    min-width: 30%;
    max-width: 30%;
}

.vehicle-sale .vehicle {
    display: flex;
    width: 100%;
}

.container-vehicle .tab_2col {
    margin-top: 20px;
}

.container-vehicle .container {
    margin-bottom: 0px;
}

.container-vehicle:nth-child(even) {
    background: #F7F7F7;
}

.breadcrumb-title-left h1 {
    margin-top: 11px;
    margin-bottom: 10.5px;
}

.breadcrumb li a {
    text-decoration: none;
}

.button-next-wrapper {
    margin-top: 20px;
}

.detail-title {
    padding-bottom: 10px;
    padding-top: 10px;
}

.detail-content .right-content img {
    margin-bottom: 25px;
}

.detail-content .right-content {
    padding-top: 0;
}

.european-card-row .info-card-text {
    margin-bottom: 15px;
}

.european-card-row {
    margin-top: -2px;
}

.me-black {
    color: black !important;
    text-decoration: none !important;
}

header .logo {
    padding-top: 20px;
}

header .logo img {
    max-height: 60px;
}

#transport-search-tabs ul.nav-tabs > li a {
    position: relative;
    top: 1px;
}

.center-dat-thing input {
    height: 15px !important;
    width: 15px;
    margin-right: 15px;
    margin-top: 0;
}

.center-dat-thing {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px 0;
}

#transport-search-tabs ul.nav-tabs > li.active a {
    position: relative;
    top: 2px;
}

.modal-only-image img {
    object-fit: contain;
}

.modal-tinymce {
    background-size: cover;
}

#wellHelloThereModal button.close {
    color: black;
    background: none;
    position: absolute;
    top: 15px;
    right: 15px;
    width: 25px;
    height: 25px;
    z-index: 9;
    opacity: .4;
}

@media screen and (max-width: 767px) {
    form[name="inquiry_form"] .col-sm-85 {
        display: flex;
        flex-direction: column;
    }

    .btn-force-desktop {
        display: block;
    }

    .line-change-preview tbody {
        width: 100%;
        display: block;
    }

    .line-change-preview tbody > tr {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 100%;
    }

    .line-change-preview tbody > tr > td > center {
        width: 100%;
    }

    .line-change-preview tbody > tr > td {
        width: 100%;
        display: block;
    }

    .dpv-results {
        margin-left: 0;
        width: 100%;
        font-size: 75%;
    }

    .connection-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .connection-nav li {
        width: auto;
        min-width: 100px;
        margin: 5px;
    }

    .table-mobile-switch tbody tr,
    .table-mobile-switch thead tr {
        display: flex;
        flex-direction: column;
    }

    .table-mobile-switch tbody tr > td,
    .table-mobile-switch thead tr > th {
        border-top: 1px solid !important;
        border-right: 1px solid !important;
        border-bottom: 0 !important;
        border-left: 1px solid !important;
    }

    .table-mobile-switch tbody tr > td:nth-child(odd) {
        background-color: white !important;
    }

    .table-mobile-switch tbody tr > td:nth-child(even) {
        border-top: 1px solid #ddd !important;
        background-color: #f2f2f2 !important;
    }

    .table-mobile-switch thead tr > th:nth-child(even) {
        border-top: 1px solid #ddd !important;
    }

    .vehicle-sale .vehicle .desc {
        text-align: center;
        width: 100%;
        max-width: unset;
        min-width: unset;
        margin-bottom: 20px;
    }

    .hp-news .news-item {
        max-width: 100%;
    }

    .vehicle-sale .gallery-slider {
        width: 100%;
        max-width: unset;
        min-width: unset;
    }

    .vehicle-sale .vehicle {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 20px;
        box-shadow: 0 5px 11px rgba(0, 0, 0, 0.09);
        padding: 15px;
    }

    .vehicle-sale .gallery-slider img:not(.nav-arrow) {
        width: 100%;
    }

    .footer-row > a {
        margin-right: unset;
        text-align: center;
    }

    .footer-row .middle {
        margin: 20px 0;
        text-align: center;
        padding: 0px 15px;
    }

    .footer-row .right {
        margin-left: unset;
        text-align: center;
    }

    .hp-news .last-show-all {
        text-align: right;
    }

    .hp-news .news-item {
        flex: 1 1 100%;
    }
}

footer.gray-background {
    margin-top: 0;
}

.relTop1px {
    position: relative;
    top: 1px;
}

.peopleNum label {
    width: 100%;
    text-align: left !important;
}

.goog-te-menu-frame {
    max-width: 100% !important;
    overflow: scroll !important;
}

.responsive-menu .search-form > div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-level-1 > li > div > a {
    padding: 20px 37px 20px 30px !important;
}

@media screen and (max-width: 1400px) {
    .menu-level-1 > li > div > a {
        padding: 10px 18px 10px 15px !important;
    }

    #google_translate_element {
        margin-left: 10px;
    }
}

@media screen and (min-width: 1401px){
    .menu-wrap{
        .has-submenu{
            .submenu-wrap{
                transform: translateY(-7px);
            }
        }

    }
}

.welcome-text-column h1 {
    font-family: 'avenirnext', Arial !important;
}

#google_translate_element_mobile > div > div > img,
#google_translate_element_mobile > div > div > span,
#google_translate_element > div > div > img,
#google_translate_element > div > div > span {
    display: none;
}

#google_translate_element_mobile > div > div,
#google_translate_element > div > div {
    display: block;
    width: 25px;
    height: 25px;
    background: url("./../img/ico/uk.svg");
    background-size: 25px 25px;
    background-position: center;
    background-repeat: no-repeat;
}

.radio-inline {
    margin-left: 0 !important;
}

.btn {
    height: auto !important;
    min-height: 39px;
}

.oil-sale > h1 > a {
    font-size: 20px;
}

#transport-search-tabs ul.nav-tabs {
    display: flex;
}

#transport-search-tabs ul.nav-tabs > li {
    width: unset;
    display: flex;
    flex-basis: 0;
    flex: 1 1 33%;
    padding-top: 0;
    justify-content: center;
}

#transport-search-tabs ul.nav-tabs > li {
    border-radius: 8px 8px 0 0;
}

#transport-search-tabs ul.nav-tabs > li a {
    width: 100%;
    margin-right: 0;
}

.row-newsletter a {
    margin: 0 !important;
    height: unset !important;
}

.row-newsletter h2 {
    margin: 0;
    padding: 0;
}

.row-newsletter {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    min-height: 125px;
    padding: 15px;
}

button.close > span[aria-hidden="true"] {
    position: relative;
    top: -2px;
    font-size: 17px;
}

.line-search-detail-modal .modal-header button {
    margin-right: 15px;
    margin-top: 15px;
}

.line-search-detail-modal .modal-header {
    height: 0;
    padding: 0;
}

.dpvTimeline ul {
    padding-right: 0;
}

.modal-google-map-line .modal-header button.close {
    right: 15px;
    top: -12px;
    z-index: 99;
}

.modal-google-map-line .modal-header h4 {
    margin-bottom: 0;
    padding-bottom: 0;
    line-height: 15px;
    position: relative;
    top: 5px;
    text-align: center;
}

.modal-google-map-line .modal-body {
    padding: 0;
}

.modal-google-map-line .modal-header {
    padding: 0;
    height: 0;
}

.modal-google-map-line {
    padding: 0 !important;
}

.search-form form,
nav.navbar ul li.search-form.search-form form {
    display: flex;
    justify-content: center;
    align-items: center;
}

.responsive-menu nav.navbar ul.menu-level-1 .search-form button {
    position: unset;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-form button i,
.responsive-menu nav.navbar ul.menu-level-1 .search-form button i {
    height: 17px;
    width: 17px;
}

.responsive-menu nav.navbar ul.menu-level-1 li {
    display: flex;
    align-items: center;
}

.responsive-menu nav.navbar ul.menu-level-1 li button i {
    width: auto;
}

.responsive-menu nav.navbar ul.menu-level-1 li button {
    position: unset;
    margin-left: auto;
    margin-right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container.max-width {
    padding-right: 15px;
}

.search-form .btn {
    top: 0 !important;
    min-height: 33px !important;
}

#transport-search-tabs .radio-inline {
    margin-right: 10px !important;
    margin-top: 5px !important;
}

.radio-inline-with-margin {
    margin-right: 10px !important;
}

.welcome-text-column .title h1 > a,
.h3-smaller-line-height a {
    font-weight: 900;
}

.transport-lines.preview > li > div > a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.picker-item {
    font-size: 20px;
}

.picker-cancel,
.picker-confirm,
.picker-cell__header,
.picker-title {
    font-size: 1.525rem;
}

.picker-cell__header {
    margin-top: 10px;
}

.picker-picked {
    font-size: 21px !important;
    font-weight: bold;
}

.responsive-menu-text {
    font-size: 12px;
    letter-spacing: 0;
    color: #be232b;
    position: relative;
    bottom: 2px;
}

span.color-red {
    color: #cd2029;
}

.responsive-menu-text:hover {
    color: #931b21;
}

.connection-nav li img {
    max-height: 32px;
}

li.has-submenu > div > div.submenu-wrap > ul > li:last-child > div > a:last-child {
    line-height: normal;
    position: relative;
    top: 4px;
}

@media screen and (max-width: 1025px) {
    .welcome-text-column {
        display: none !important;
    }

    .row-newsletter {
        justify-content: center;
    }


    .footer-row > a {
        margin-right: unset;
        text-align: center;
        margin-bottom: 15px;
    }

    .footer-row .right {
        margin-left: unset;
        margin-top: 15px;
    }

    .footer-row {
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

}

@media screen and (max-width: 1015px) {
    .welcome-wrap {
        background-image: none !important;
        padding-bottom: 0 !important;
    }

    .welcome-alternative-title {
        display: none !important;
    }

    .hp-main-container {
        padding-top: 0 !important;
    }

    .h3-smaller-line-height a {
        font-size: 25px;
    }

    .navbar li.has-submenu a:focus,
    .navbar li.has-submenu a:hover {
        color: #be232b !important;
        background: white !important;
    }
}

@media screen and (min-width: 766px) {
    .peopleNum div.col-sm-85 {
        margin-left: 15%;
    }

    .peopleNum label {
        margin-left: 15%;
    }
}

@media screen and (max-width: 767px) {
    .news-preview .transport-lines.preview {
        padding-top: 15px;
        justify-content: center;
        align-items: center;
        display: flex;
    }

    .news-preview img {
        margin: 0 auto;
        display: block;
        margin-bottom: 5px;
    }

    .welcome-wrap {
        min-height: auto !important;
    }

    .footer-row .right img.mt-md-0 {
        margin-bottom: 0;
    }

    .footer-row .right {
        margin-left: unset;
        text-align: center;
    }

    .welcome-wrap {
        padding-top: 0 !important;
    }

    #transport-search-tabs ul.nav-tabs > li a {
        padding: 10px 11px;
    }

    #transport-search-tabs ul.nav-tabs > li {
        width: auto;
    }

    .modal-pick-place .modal-header button span {
        font-size: 17px;
        position: relative;
        top: -2px;
    }

    .modal-pick-place .modal-header button {
        right: 5px !important;
        top: 5px !important;
    }

    .modal-pick-place {
        padding: 0 !important;
    }

    .map-coords-selector-modal-body .map-wrapper {
        margin: 0 -15px -15px -15px;
    }

    .responsive-menu .menu-level-2 {
        width: 100%;
    }

    .row-newsletter a {
        padding-left: 35px !important;
        padding-right: 35px !important;
        margin-top: 15px !important;
    }

    .row-newsletter {
        justify-content: center;
    }
}

.dpvComments {
    background-color: #e9ebf0;
    border-radius: 8px;
    padding: 20px;
}

.dpvComments .dpvComments__item {
    margin-bottom: 10px;
}

.dpvComments .dpvComments__item .fa {
    margin-right: 5px;
    color: #be232b;
}

.dpvComments .dpvComments__item:last-child {
    margin-bottom: 0;
}

.menu-index-1-2 .merged-menu-items.menu-index-2-5 a {
    position: relative !important;
    top: -15px !important;
}

.mouse-pointer-on-hover:hover {
    cursor: pointer;
}

header {
    display: flex;
}

.header-desktop {
    margin-inline: auto;
}

.header-desktop > div {
    display: flex;
}

.search-form {
    padding-top: 35px;
}

.header-desktop .logo {
    margin-right: 20px;
}

.header-mobile .logo img,
.header-desktop .logo img {
    width: 100%;
}

.header-mobile .responsive-menu {
    margin-left: auto;
}

.header-mobile .logo img {
    margin-left: 0;
}

@media (max-width: 1200px) {
    header .header-desktop {
        display: none;
    }

    header .header-mobile {
        display: block;
    }
}

/** Accessibility */

.info-card-text {
    &:hover, &:active, &:visited {
        .info-card-title {
            text-decoration: none;
            color: white;
        }
    }

    .info-card-title {
        word-break: break-word;
        font-family: "Open Sans", "avenirnext", Arial;
        font-weight: 900;
        letter-spacing: 1px;
        margin-top: 21px;
        margin-bottom: 10.5px;
        color: white;
        font-size: 20px;
        line-height: 25px;
    }
}

.info-card-text.oil-sale {
    .info-card-title {
        margin-top: 5px;
        margin-bottom: 0;

        a {
            font-size: 20px;
            font-weight: 900;
            color: white;

            &:focus, &:hover, &:visited, &:active {
                color: white;
            }

            &:hover {
                text-decoration: underline;
            }
        }
    }
}

.font-size-25 {
    font-size: 25px;
    line-height: 35px;
}

.font-size-20 {
    font-size: 20px;
    line-height: 35px;
}

.font-size-h6 {
    font-size: 14px;
    line-height: 35px;
    word-break: break-word;
    font-weight: 900;
    color: inherit;
    letter-spacing: 1px;
}

.font-size-16 {
    font-size: 16px;
    line-height: 35px;
}

.news-preview {
    h2 {
        margin-top: 0;
        margin-bottom: 0;
        font-size: 25px;
        line-height: 35px;

        a {
            color: #000;
        }
    }
}

.skip-link {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    background-color: #FFFFFF;
    overflow: hidden;
}

.skip-link:focus, .skip-link:active {
    left: 5px;
    top: 5px;
    z-index: 1000;
    width: auto;
    height: auto;
    overflow: visible;
    text-decoration: underline;
}

@media screen and (max-width: 1200px) {
    .skip-link[href="#search"] {
     display: none;
    }
}

[tabindex="0"], a, button {
    &:focus-visible {
        outline: none;
        box-shadow: 0 0 0 2px green !important;
    }
}

.breadcrumb-wrap{
    [tabindex="0"], a, button {
        &:focus-visible {
            outline: none;
            box-shadow: 0 0 0 2px yellow !important;
        }
    }
}

footer.gray-background{
    [tabindex="0"], a, button {
        &:focus-visible {
            outline: none;
            box-shadow: 0 0 0 2px yellow !important;
        }
    }
}

input[type=checkbox]:focus-visible + label {
    box-shadow: 0 0 0 2px  green;
}

label:has(input[type=checkbox]:focus-visible) {
    box-shadow: 0 0 0 2px green;
}
label:has(input[type=radio]:focus-visible) {
    box-shadow: 0 0 0 2px green;
}

.custom-file-input:has(input[type=file]:focus-visible) {
    box-shadow: 0 0 0 2px green;
}

a.info-card-text:focus-visible {
    &.red{
        box-shadow: 0 0 0 3px green !important;
    }
    outline: none;
    box-shadow: 0 0 0 3px red !important;
}

