.d-flex {
    display: flex;
}

.w-50 {
    width: 50%;
}

.mr-5 {
    margin-right: 5px;
}

.mb-5 {
    margin-bottom: 5px;
}

.close-dropdown-cities {
    position: absolute;
    right: 20px;
    bottom: 4px;
    z-index: 2;
}

.t-center {
    text-align: center;
}


/* parts: display 6 and then none */

.category-list li:nth-child(n+7) {
    display: none;
}

.category-list.open li:nth-child(n+7) {
    display: list-item;
}


/* boat tech details */

.boat_rental-tech {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.additional-info-item {
    margin-right: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
    border-radius: 4px;
    background: #dae1e7;
    text-align: center;
    padding: 2px 4px;
    white-space: nowrap;
    margin-top 2px;
}

.additional-info-item {
    margin-top: 10px;
}


/* cities selection on admin rental settings */

#cities-accordion .region-wrapper {
    background-color: #F0F0F0;
    border-color: #00436a;
}

#cities-accordion .panel-heading,
#cities-according .panel-default {
    color: #fff;
    background-color: #00436a;
    border-color: #00436a;
}

#cities-accordion .panel-heading .panel-title {
    display: flex;
    justify-content: space-between;
    color: white;
}

.panel-title.more-ads-from-dealer,
#contant-form-wrapper .panel-title,
.financing .panel-title {
    color: #030303;
}

#cities-accordion h4 {
    padding: 5px;
}

#cities-accordion a {
    text-decoration: none;
}

#cities-accordion a h4.panel-title {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    box-sizing: border-box;
    font-weight: 600 !important;
}

#cities-accordion a.collapsed h4 span.icon:before {
    content: "\f067";
    /* plus sign */
    margin-right: 5px;
}

#cities-accordion a:not(.collapsed) h4 span.icon:before {
    content: "\f068";
    /* minus sign */
    margin-right: 5px;
}

#cities-accordion .panel-body .child {
    padding-left: 15px;
}

#cities-accordion div.child label {
    display: block;
}

#cities-accordion .panel-body label.checkbox-container {
    font-size: 14px;
}

label.checkbox-container .checkmark {
    border: 1px solid #BEBEBE;
}


/* Rental slick slider*/

.rental-slick {
    width: 92%;
    margin: auto;
}

.rental-slick div.item {
    min-height: 280px;
}

.rental-slick .slick-slide {
    margin: 5px;
    padding: 5px;
    border: 1px solid #F3F3F3;
}

.rental-slick .slider-rental-img {
    height: 200px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.rental-slick .slick-prev:before,
.rental-slick .slick-next:before {
    color: red;
}

.rental-slick .slick-prev {
    z-index: 3;
}

.rental-slick .slick-next {
    z-index: 3;
}

.slick-prev:before {
    content: "<" !important;
    font-size: 30px;
    line-height: 30px;
}

.slick-next:before {
    content: ">" !important;
    font-size: 30px;
    line-height: 30px;
}

.rental-slick .slick-arrow {
    border: 1px solid #F3F3F3;
    border-radius: 50%;
    background-color: #F3F3F3;
}

.rental-slick .slick-arrow:hover,
.rental-slick .slick-arrow:focus {
    background-color: #F3F3F3;
}

.rental-slick a:focus,
.rental-slick a:active {
    border: none;
    color: initial;
    outline-color: #fff;
}

form.rental-form#search label {
    font-size: 14px;
}

.search-section-wrapper {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.2);
}

.search-section {
    padding: 50px 0;
}

.search-section select,
.search-section input {
    font-size: 14px;
    height: 50px;
}

.search-section form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.search-section form .form-flex-item {
    width: 200px;
}

.search-section form .form-flex-item button {
    height: 50px;
    margin-top: 22px;
}

.search-section form#search .form-flex-item label {
    color: #fff;
    font-weight: 600;
    margin-bottom: 6px !important;
    font-size: 16px;
}

@media screen and (max-width: 1045px) {
    .search-section-wrapper form .form-flex-item:last-child {
        flex-grow: 1;
    }
}

@media screen and (max-width: 792px) {
    .search-section-wrapper form {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .search-section-wrapper form .form-flex-item:not(:first-child) {
        margin-top: 15px;
    }
}

.search-section:before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position-x: 0;
    -ms-background-size: cover;
    -o-background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-size: cover;
}

.search-section.athens:before {
    background-image: url('/assets/img/athens-city.jpg?v=1');
    background-position-y: 9%;
}

.search-section.thessaloniki:before {
    background-image: url('/assets/img/thessaloniki-banner.jpg');
    background-position-y: 65%;
}

.search-section {
    width: 80%;
    margin: auto;
}

.dealers-section ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px;
    border: 1px solid #dedede;
}

.dealers-section ul li a.btn {
    font-size: 15px;
}

.dealers-section ul li {
    min-width: 350px;
    margin: 5px 0;
}

.dealers-section ul li a {
    color: black;
    padding: 20px 20px;
}

.dealers-section ul li a:hover {
    color: white;
}

.rental-section .rentals-items-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    list-style: none;
    padding: 10px;
    border: 1px solid #dedede;
}

.rental-section .rentals-items-container .rental-item {
    border: 2px solid #F3F3F3;
    height: 210px;
    flex-basis: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 10px;
    cursor: pointer;
}

.rental-section .rentals-items-container .rental-item .rental-img {
    width: 200px;
    height: 150px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.rental-section .rentals-items-container .rental-item h4 {
    text-align: center;
}

.text-section img {
    float: left;
    margin: 0 15px 10px 0;
    max-width: 506px;
}

.text-section p {
    font-size: 16px;
    line-height: 20px;
    white-space: pre-line;
}

.text-section a {
    font-size: 16px;
}

.categories-section ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.categories-section ul li {
    background: #eee;
    border-bottom: 1px solid #dedede;
    width: 30%;
    margin-bottom: 10px;
    max-width: 580px;
    font-size: 16px;
}

.categories-section ul li:nth-child(1) {
    order: 1;
}

.categories-section ul li:nth-child(2) {
    order: 4;
}

.categories-section ul li:nth-child(3) {
    order: 7;
}

.categories-section ul li:nth-child(4) {
    order: 10;
}

.categories-section ul li:nth-child(5) {
    order: 2;
}

.categories-section ul li:nth-child(6) {
    order: 5;
}

.categories-section ul li:nth-child(7) {
    order: 8;
}

.categories-section ul li:nth-child(8) {
    order: 11;
}

.categories-section ul li:nth-child(9) {
    order: 3;
}

.categories-section ul li:nth-child(10) {
    order: 6;
}

.categories-section ul li:nth-child(11) {
    order: 9;
}

.categories-section ul li:nth-child(12) {
    order: 12;
}

.parking-max-width {
    max-width: 70px;
}

.options .list-group-item:first-child {
    border-top: none;
}

.options .list-group-item {
    padding: 10px 5px;
}

.list-group-item.admin-actions span {
    font-size: 14px;
    background-color: #ec9b28;
}

.options hr {
    margin-top: 5px;
    margin-bottom: 5px;
}

.options.icons-only-options {
    justify-content: center;
    margin-bottom: 5px;
    margin-top: 5px;
}

.photo_container {
    min-height: 370px;
}

.photo_container .actions {
    display: flex;
    justify-content: space-evenly;
}

.photo_container .actions a:first-child {
    background-color: #fa6800;
}

.photo_container .actions a.call-btn,
.call-buttom-last-wrapper a,
.photo_container .actions a {
    background-color: #c55200;
    color: white;
}

.photo_container .actions a {
    width: 25%;
    color: white;
    padding: 5px;
    margin-left: 3px;
    margin-right: 3px;
    font-size: 16px;
}

.breadcrumb>.active {
    color: #545454;
}

.categories-section ul li a {
    padding: 10px 10px;
    display: block;
    max-width: 560px;
}

.categories-section ul li a:hover {
    color: #fff;
    text-decoration: none;
}

.categories-section ul li.disabled a:hover {
    color: #1A3970;
    text-decoration: none;
    cursor: not-allowed;
}

.categories-section ul li:hover {
    text-decoration: none;
    background-color: #1ba1e2;
    color: #fff;
}

.categories-section ul li.disabled:hover {
    text-decoration: none;
    background-color: #eee;
}

.categories-section .category-all {
    font-size: 16px;
}

.rental-section,
.text-section,
.widget-section,
.categories-section,
.dealers-section {
    margin: 20px 0;
}

.rental-section h2,
.text-section h2,
.widget-section h2,
.categories-section h2,
.dealers-section h2 {
    margin: 25px 0;
}

.area-wrapper {
    display: flex;
}

.area-wrapper .area-item {
    display: flex;
    flex-direction: column;
    max-width: 200px;
    align-items: center;
    margin-right: 22px;
    margin-bottom: 22px;
}

.area-wrapper .area-item img {
    border: 1px solid #cecece;
    margin-bottom: 10px;
    cursor: pointer;
}

@media screen and (max-width: 465px) {
    .categories-section ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .area-wrapper {
        flex-direction: column;
        align-items: center;
    }
}

/* Dealer page*/

.no-wrap {
    white-space: nowrap;
}

.dealer-listing.clsfd_list_row {
    min-height: 160px;
}

.dealer-additional-details {
    color: #4b4b4b;
}

.clsfd_details div.dealer-additional-details {
    color: #4b4b4b;
}

.dealer-price-mobile {
    display: none;
}

.dealer-listing span.seperator,
.listing-wrapper .visible-xs .seperator {
    font-size: 10px;
}

.dealer-listing .info-wrapper {
    white-space: nowrap;
}

.dealer-listing .classified_title .limitText {
    white-space: normal;
}

#container>#top_main {
    padding: 15px 10px;
}

@media screen and (max-width: 767px) {
    .dealer-price-mobile {
        display: block;
        position: absolute;
        bottom: 7px;
        right: 7px;
    }
    div.dealer-listing.clsfd_list_row .clsfd_details div.dealer-additional-details {
        font-size: 12px;
    }
}

@media screen and (min-width: 1024px) {
    .dealer-listing .classified_title {
        font-size: 17px;
    }
    .clsfd_details div.dealer-additional-details {
        font-size: 15px;
    }
}

footer.footer {
    clear: both;
    border-top: 1px solid #ccc;
    text-align: center;
    color: #666;
    margin-top: 20px;
    padding-top: 10px;
    padding-bottom: 40px;
}

footer.footer .text {
    padding: 0 50px;
}

footer.footer .footer-item {
    color: #666;
}

.pagination a.same-size {
    min-width: 50px;
    margin-left: 0;
}

#header_bg,
#header_box,
.business-title a {
    color: inherit;
}

ul.makes-wrapper-list {
    list-style: none;
    column-count: 2;
    padding: 0;
}

ul.makes-wrapper-list li.make-search-item {
    text-align: center;
    background-color: #eee;
    margin-bottom: 10px;
}

ul.makes-wrapper-list li.make-search-item a {
    margin: 0px;
    display: block;
    width: 100%;
    height: 100%;
    padding: 10px;
    font-size: 16px;
}

@media screen and (max-width: 720px) {
    ul.makes-wrapper-list {
        column-count: 1;
    }
}

#search label {
    font-size: 14px;
}

.breadcrumb {
    white-space: nowrap;
    overflow-x: auto;
    padding: 3px 10px;
    font-size: 14px;
}

.breadcrumb li.active a:hover,
.breadcrumb li.active a {
    color: inherit;
    text-decoration: inherit;
}

.feature-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.feature-wrapper>.feature-item {
    width: 50%;
    padding: 5px;
    border-top: 1px solid #ddd;
}

.feature-wrapper>.feature-item:nth-child(4n+1),
.feature-wrapper>.feature-item:nth-child(4n+2) {
    background-color: #f4f4f4;
}

.bx-wrapper .bx-prev,
.bx-wrapper .bx-next {
    transform: scale(1.25);
}

.parkHandler {
    width: fit-content;
    color: #ffffff;
    cursor: pointer;
    align-self: flex-end;
    margin-bottom: 10px;
}

.parkHandler.in-classified-ad {
    margin-bottom: 10px;
}

.parkHandler label {
    background-color: #1a3970;
    cursor: pointer;
    width: 34px;
    height: 34px;
    text-align: center;
    line-height: 34px;
    margin: 0;
}

.parkHandler input {
    display: none;
}

.list-group-item.parking-max-width {
    font-weight: 800;
    padding-top: 5px;
    padding-bottom: 5px;
}

.parking-icon-images.added-to-parking {
    background-color: #37A1E2;
}

.list-group-item.parking-max-width .parking-icon-images {
    line-height: initial;
}

input.comp:checked+label {
    background-color: #1a3970ad;
}

.page-header {
    display: flex;
    justify-content: space-between;
}

.page-header h1 {
    word-break: break-word;
}

.description_div {
    word-break: break-word;
}

.brands-show-more-wrapper {
    font-size: 15px;
    line-height: 19px;
    margin-bottom: 15px;
}

.free-text-search-wrapper {
    margin-bottom: 16px;
    display: flex;
}

.free-text-search-wrapper .free-text-search-text {
    width: 70%;
}

.free-text-search-wrapper .free-text-search-button {
    width: 30%;
}

@media screen and (max-width: 768px) {
    .page-header {
        display: flex;
        flex-direction: column;
    }
    /* sidebar: fix issue with not clickable last option */
    form#facet_form>div.panel:last-child {
        margin-bottom: 50px;
    }
    .free-text-search-wrapper {
        flex-direction: column;
    }
    .free-text-search-wrapper div.free-text-search-text,
    .free-text-search-wrapper div.free-text-search-button {
        width: 100%;
    }
}

.panel-body.dealer-ads {
    padding: 0;
}

.panel-body.dealer-ads .entry {
    /* width: 98% !important;
    text-align: center; */
    border: 4px solid white;
    /* margin: 5px; */
    text-decoration: none;
    display: flex;
}

.panel-body.dealer-ads .entry .entry-description {
    margin-left: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
		align-items: flex-start;
}

.panel-body.dealer-ads .entry img {
    width: 25%;
    object-position: center;
}

.panel-body.dealer-ads .entry .title {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    word-break: break-all;
}

.panel-body.dealer-ads .entry .price {
    text-align: center;
		font-weight: bold;
}

.features>.form-group .checkbox {
    display: inline-block;
    width: 32%;
    margin-top: 0;
}

@media screen and (max-width: 768px) {
    .features>.form-group .checkbox {
        width: 49%;
    }
}

@media screen and (max-width: 420px) {
    .features>.form-group .checkbox {
        width: 99%;
    }
}

.read-more-state {
    display: none;
}

.features>.form-group .checkbox.read-more-target {
    display: none;
    opacity: 0;
    max-height: 0;
    font-size: 0;
    transition: 1s ease;
}

.read-more-state:checked~.checkbox.read-more-target {
    display: inline-block;
    opacity: 1;
    font-size: inherit;
    max-height: 999em;
}

.read-more-state~.read-more-trigger:before {
    content: 'Περισσότερα';
}

.read-more-state:checked~.read-more-trigger:before {
    content: 'Λιγότερα';
}

.read-more-trigger {
    cursor: pointer;
    display: block;
    color: blue !important;
    text-decoration: underline;
    text-align: center;
    font-size: 16px;
    line-height: 2;
    border-radius: .25em;
}

.listing-banner {
    text-align: center;
    width: 100%;
    margin-top: 0px;
    margin-bottom: 30px;
}

.listing-banner a {
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 150px;
    display: block;
}

.listing-banner.logothetiskremagiera a {
    background-image: url('/_data/campaigns/logothetiskremagiera/desktop.gif');
}

.listing-banner.panagiotou-1 a {
    background-image: url('/_data/campaigns/panagiotou-banner1-desktop.gif');
}

.listing-banner.panagiotou-2 a {
    background-image: url('/_data/campaigns/panagiotou-banner2-desktop.gif');
}

.additional-info-color {
    color: #4b4b4b;
}

.dataTables_wrapper .row div {
    width: 100%;
}

.page-header {
    margin-bottom: 5px;
}

.page-header h1 {
    font-size: 20px;
}

.details table tr td {
    word-break: break-word;
}

.suggested-links {
    margin: 10px 0 15px 0;
}

.suggested-links .panel-primary .panel-title {
    color: #030303;
}

.suggested-links .panel-body {
    padding: 0;
}

.call-buttom-last-wrapper a {
    color: white;
    padding: 10px 6vw;
    margin-bottom: 10px;
    font-size: 1.3em;
}

#finance_form button {
    background-color: #1A3970;
}

.table-makes tr td {
    min-width: 65px;
}

span.price {
    color: #c55200;
}

#parked_inner a.btn-warning {
    background-color: #c55200;
}

.sidebar.suggested-links {
    position: relative;
    height: auto;
    width: auto;
    margin-left: auto;
    padding: 0;
    top: auto;
    bottom: auto;
}

.sidebar.suggested-links .panel {
    margin-bottom: 0;
}

.largePrice {
    color: #b74c00;
}


/* selected filters */

.btn-clear {
    background-color: #c55200;
}

#facet_form .panel-default {
    border-color: rgb(241, 241, 241);
}

.panel-heading.sidebar-section-title {
    color: #020408;
    background-color: rgb(241, 241, 241);
    cursor: pointer;
}

.picked i,
.pickable i.fa-check-square-o {
    color: blue;
    font-size: 16px;
}

.pickable small.text-muted {
    color: #757575
}

.pickable i {
    margin-right: 4px;
    font-size: 16px;
}

.selected-filters-tags {
    margin: 0;
}

.selected-filters-tags a {
    position: relative;
    display: inline-block;
    margin: 7px 3px 5px;
    background-color: #E0E0E0;
    padding: 8px 25px 8px 5px;
    color: rgb(97, 97, 97);
    font-size: 14px;
    font-weight: 500;
}

.selected-filters-tags a:hover {
    text-decoration: none;
}

.selected-filters-tags a::after {
    content: 'x';
    position: absolute;
    top: 50%;
    right: 0;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    margin: 0;
    border-left: 1px solid #c4c3c3;
    color: rgb(97, 97, 97);
    width: 19px;
    display: inline-block;
    line-height: 30px;
    font-size: 14px;
    padding-left: 5px;
}

.ribbon-black-friday {
    background: url(../img/ribbon-blackfriday.png?v=3) no-repeat top right;
}

.responsive-contact-page-ad {
  max-width: 100%;
  width: 1100px;
  min-height: 90px;
  height: 90px;
}

.responsive-freespace-dealer-classified-view-desktop {
  max-width: 100%;
  width: 1100px;
  min-height: 90px;
  height: 90px;
	display: inline-block;
}

.responsive-freespace-dealer-classified-view-mobile {
	max-width: 100%;
  width: 1100px;
  min-height: 90px;
  height: 90px;
	display: none;
}

.features-wrapper-dealer-page {
	display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
	gap: 10px;
}

.features-wrapper-dealer-page .feature-column {
	display: flex;
  flex-direction: column;
  flex-basis: 180px;
	font-size: 1rem;
}

@media (max-width: 768px) {
	.responsive-freespace-dealer-classified-view-desktop {
		display: none;
	}
	.responsive-freespace-dealer-classified-view-mobile{
		display:block;
	}
}

@media (max-width: 991.98px) {
  .responsive-contact-page-ad {
    width: 728px;
    height: 90px;
  }
}
@media (max-width: 575.98px) {
  .responsive-contact-page-ad {
    width: 320px;
    height: 50px;
  }
}

@media screen and (max-width: 768px) {
    .categories-section ul li {
        width: 48%;
    }
    .categories-section ul li {
        order: initial !important;
    }
    .call-buttom-last-wrapper a {
        display: block;
    }
    .photo_container .actions a {
        background-color: #1A3970;
        color: white;
    }
    .selected-filters-tags {
        overflow: auto;
        white-space: nowrap;
    }
    .show_filter a {
        color: #000!important;
    }
}

@media screen and (max-width: 600px) {
    .listing-banner a {
        min-height: 190px;
        background-position: center;
    }
    .listing-banner.listing-banner.logothetiskremagiera a {
        background-image: url('/_data/campaigns/logothetiskremagiera/mobile.gif');
    }
    .listing-banner.panagiotou-1 a {
        background-image: url('/_data/campaigns/panagiotou-banner1-mobile.gif');
    }
    .listing-banner.panagiotou-2 a {
        background-image: url('/_data/campaigns/panagiotou-banner2-mobile.gif');
    }
    a.list-group-item:last-child>span {
        margin-top: 0px!important;
    }
    .ribbon {
        background-size: cover !important;
        width: 100px;
        height: 100px;
    }
    .ribbon.ribbon-black-friday {
        width: 110px;
    }
    .pagination:first-of-type {
        display: none;
    }
}

@media print {
    .slick-arrow {
        display: none !important;
    }
}
