.schedule-search__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.schedule-search__time-note {
    color: var(--main, #017A3F);
    font-size: 0.75em;
    font-weight: 700;
    margin-left: 1px;
    vertical-align: super;
    line-height: 0;
}

.schedule-search__form-wrap {
    background: #017A3F;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.schedule-search__form {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.schedule-search__field {
    flex: 1;
    min-width: 180px;
}

.schedule-search__field label {
    display: block;
    font-size: 14px;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 600;
}

.schedule-search__input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
	height: 40px;
	cursor: pointer;
}

.schedule-search__input:focus {
    outline: none;
    border-color: #2e7d32;
}

/* Searchable combobox */
.ss-combobox {
    position: relative;
}

.ss-combobox__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 250px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 6px 6px;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ss-combobox__option {
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
}

.ss-combobox__option:hover {
    background: #e8f5e9;
}

.ss-combobox__input:focus ~ .ss-combobox__dropdown {
    border-color: #2e7d32;
}

body .maincontent table.schedule-search__table tr:first-child {background: none;}
.maincontent  table.schedule-search__table {overflow: visible; margin-bottom: 24px; border: none}
.maincontent table.schedule-search__stops-table  {overflow: visible; margin-bottom: 12px; border: none}
body .maincontent table.schedule-search__table > thead > tr > th {border-top: none;}
.maincontent table.schedule-search__table > tbody > tr:first-child > td:first-child    {border-radius: 8px 0 0 0; width: 26.5%;}
.maincontent table.schedule-search__table > tbody > tr:first-child > td:last-child    {border-radius: 0px 8px 0 0;}
.maincontent table.schedule-search__table > tbody > tr:last-child > td:last-child    {border-radius: 0px 0px 8px 0;}
.maincontent table.schedule-search__table > tbody > tr:last-child > td:first-child    {border-radius: 0px 0px 0 8px;}

.maincontent table.schedule-search__table > tbody > tr:nth-last-child(2) > td:first-child {border-radius: 0px 0px 0 8px;}
.maincontent table.schedule-search__table > tbody > tr:nth-last-child(2) > td:last-child {border-radius: 0px 0px 8px 0;}

.maincontent table.schedule-search__table > tbody > tr:nth-last-child(2) > td:first-child:after  {border-radius: 0px 0px 0 8px;}
.maincontent table.schedule-search__table > tbody > tr:nth-last-child(2) > td:last-child:after {border-radius: 0px 0px 8px 0;}
table.schedule-search__table:has(.table-row) > tbody > tr:nth-last-child(2) > td:last-child:after  {border-radius: 0px}
table.schedule-search__table:has(.table-row) > tbody > tr:nth-last-child(2) > td:first-child:after  {border-radius: 0px}

.maincontent table.schedule-search__table > tbody > tr > td { border-right: none; font-size: 14px;}
.maincontent table.schedule-search__table > tbody > tr > td[colspan="5"] {padding:20px 24px 0 }
.maincontent table.schedule-search__table > tbody > tr > td:before {       
	  content: '';
      position: absolute;
      top: 11px; 
	  bottom: 11px;
      right: 0;
      width: 1px;
      z-index:0;
      background: #E0E0E0;
}
.maincontent table.schedule-search__table > tbody > tr > td.schedule-search__daily:before { display: none}
.maincontent table.schedule-search__table > tbody > tr > td.schedule-search__empty + td:before {display: none}
.maincontent table.schedule-search__table > tbody > tr > td:last-child:before {display: none}
.schedule-search__swap {
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    color: #fff;
    user-select: none;
    align-self: flex-end;
    margin-bottom: 0;
	border-radius: 8px;
	background:#FFF;
	color: #797979;
	width: 40px;
	height: 40px;
	line-height: 0.9;
	display: inline-flex;
    align-items: flex-start;
    justify-content: center;
}
body .maincontent table.schedule-search__stops-table > thead > tr > th {border-top: none;  padding: 0px;  padding-bottom: 8px;}

table.schedule-search__table tbody td {
       position: relative;
       background-color: white;
}

table.schedule-search__table tbody td:after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
      box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
}

body .maincontent table.schedule-search__table tr:first-child  td:last-child:after {
	  border-radius: 0px 8px 0 0;
}
body .maincontent table.schedule-search__table tr:last-child  td:last-child:after {
	  border-radius: 0px 0 8px 0;
}
body .maincontent table.schedule-search__table tr:first-child  td:first-child:after {
	  border-radius: 8px 0 0 0;
}
body .maincontent table.schedule-search__table > tbody > tr:nth-last-child(2) > td:last-child:after {
	border-radius: 0px 0px 0px 8px;
}

.maincontent table.schedule-search__table > tbody > tr:nth-last-child(2) > td:first-child:after {
	border-radius: 0px 0px 8px 0;
}
.schedule-search__stop-icon.schedule-search__stop-icon--departure {
	    position: relative;
}
.schedule-search__stop-icon.schedule-search__stop-icon--departure:before {
    content: "";
    display: block;
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 100%;
    border: 2px solid #017A3F;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.schedule-search__swap:hover {
    color: var(--main);
}

.schedule-search__btn {
    padding: 10px 30px;
    background: #FF9802;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
	height: 40px;
}

.schedule-search__btn:hover {
    background: #e65100;
}
.hidden-desktop,
.maincontent table.schedule-search__table > tbody > tr > th:empty,
.maincontent table.schedule-search__table > tbody > tr > td:empty {}

body .flatpickr-weekdays {
	height: 40px;
	border-bottom: 1px solid #E0E0E0;
	border-top: 1px solid #E0E0E0;	
}
body .dayContainer {
	width: 276px;
    min-width: 276px;
	max-width: 276px;
	gap: 4px;
}

body .flatpickr-innerContainer {
	width: 300.875px;
    min-width: 300.875px;
	max-width: 300.875px;
}
body .flatpickr-current-month .flatpickr-monthDropdown-months {font-weight: 400;}
body .flatpickr-current-month .flatpickr-monthDropdown-months:hover {background: transparent;}
body .flatpickr-calendar {border-radius: 12px;}
body .flatpickr-rContainer, body .flatpickr-calendar, body .flatpickr-days {width: 300px;}
body .flatpickr-weekdays span.flatpickr-weekday {font-size: 12px;}
body span.flatpickr-weekday {color: #797979; font-size: 12px; font-weight: 400;}
body .flatpickr-day {max-width: 36px; height: 36px; line-height: 36px;}
body .flatpickr-day.selected:hover, body .flatpickr-day.selected:focus {background: var(--main);}
body .flatpickr-day.selected {
	background: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #017A3F;
    border-color: #017A3F;
}
body .flatpickr-day.flatpickr-day--past:not(.selected):not(.today) {
    color: #c4c4c4;
    opacity: 0.55;
}
body .flatpickr-day.flatpickr-day--past:not(.selected):not(.today):hover {
    color: #797979;
    opacity: 0.85;
}
body .flatpickr-months .flatpickr-prev-month,
body .flatpickr-months .flatpickr-next-month {padding: 0 10px}
body .flatpickr-current-month .flatpickr-monthDropdown-months,
body .flatpickr-months .flatpickr-prev-month svg, 
body .flatpickr-months .flatpickr-next-month svg,
body .flatpickr-months .flatpickr-month {height: 54px; font-weight: 400;}
body .flatpickr-current-month { padding: 0; height: 54px;}
body .flatpickr-current-month input.cur-year {font-weight: 400;}
.flatpickr-days { justify-content: center;}
.schedule-search__input.schedule-search__datepicker {background: #fff url(/upload/calendar-black.svg) 96% center no-repeat;} 

@media (max-width: 768px) {
  
    .schedule-search__field {
        min-width: 100%;
    }	
	.schedule-search__field:first-child {
        min-width: calc(100% - 90px);
    } 
    .schedule-search__swap {
        transform: rotate(90deg);
    }
	.schedule-search__btn {width: 100%;} 
	.schedule-search__detail:has(.schedule-search__details-btn.shown),
	.schedule-map-button, .hidden-mobile, 
	.maincontent table.schedule-search__table > tbody > tr > td.schedule-search__name:before,
	.maincontent table.schedule-search__table > tbody > tr > td.schedule-search__daily:before, 
	.maincontent table.schedule-search__table > tbody > tr > td:after {display: none}
	
	.hidden-desktop {display: block}
	.schedule-search__table-tr {display: flex; flex-wrap: wrap; border-radius:16px;}
	.schedule-search__table-tr ~ .schedule-search__table-tr {margin-top:24px}
	body .maincontent table.schedule-search__table > tbody > tr.schedule-search__table-tr {border-radius:16px; box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);}
	body .maincontent table.schedule-search__table > tbody > tr.schedule-search__table-tr  > td.schedule-search__name,
	body  .maincontent table.schedule-search__table > tbody > tr > td.schedule-search__detail	{width: 100%;flex: 1 0 100%;} 
	.schedule-search__arrival, .schedule-search__departure, .schedule-search__name  {flex: 0 0 33%;}
	.schedule-search__empty  {flex: 0 0 64%;}
	.schedule-search__table-tr .mobile-th {font-size: 12px;color: #797979 }
	.schedule-search__results .table-wrapper {overflow: visible;}
	div[class*="swapMob"] svg > path {fill: #fff;}
	.maincontent table.schedule-search__table > tbody > tr > td.schedule-search__name {font-weight: 600; font-size: 16px; padding-bottom: 0;}	
	table.schedule-search__table tbody td { background-color: transparent;}
    table.schedule-search__table tbody td.schedule-search__detail {background: rgba(1, 122, 63, 0.1);}	
	.maincontent table.schedule-search__table > tbody > tr > td.schedule-search__name, 
	.maincontent table.schedule-search__table > tbody > tr > td[colspan="5"],
	.maincontent table > tbody > tr > td.schedule-search__departure,
	.maincontent table.schedule-search__table > tbody > tr > td	{border-top: none;}	
    .maincontent table.schedule-search__table > tbody > tr.schedule-search__table-tr > td.schedule-search__detail {text-align: center; border-radius: 0 0 16px 16px; padding:  0;}
	.schedule-search__detail .schedule-search__details-btn {width: 100%;justify-content: center;padding: 13px;}		
    .maincontent table.schedule-search__table > tbody > tr > td[colspan="5"] {padding: 16px 16px 0;}
	.schedule-search__detail-row .schedule-search__collapse-bar {margin: 0 -16px; border-radius: 0 0 16px 16px;}
    body .maincontent table.schedule-search__stops-table > thead > tr > th {padding-right: 10px;} 
	body .maincontent table.schedule-search__table:has(.schedule-search__detail-row.table-row) tr.schedule-search__table-tr {
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -4px 8px 0 rgba(0, 0, 0, 0.08);
    }
	.maincontent table.schedule-search__table .schedule-search__detail-row.table-row {    
		display: table-row;
		box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 8px 0px;
		top: -8px;
		position: relative;
		z-index: 999;
		border-radius: 0 0 16px 16px;}
	.schedule-search-layout .schedule-infobus {margin-bottom: 40px}
}

@media (max-width: 380px) {
	.maincontent table.schedule-search__table > tbody > tr > td {padding: 15px;}
}
.schedule-search__results h3 {
    margin-bottom: 15px;
	font-size: 20px;
}

.schedule-search__empty {
    padding: 30px;
    text-align: center;
    color: #999;
    background: #f5f5f5;
  
}

.schedule-search__table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-search__table th,
.schedule-search__table td {
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    text-align: left;
    font-size: 14px;
}

.schedule-search__table th {
    background: transparent;
    font-weight: 400;
    font-size: 14px;
    color: #797979;
    border: none;
    border-bottom: 1px solid #e0e0e0;
}

.schedule-search__table td {
    border-left: none;
    border-right: none;
}

.schedule-search__table tbody tr:hover {
    background: #fafafa;
}

.schedule-search__route-cell-cont {
    border-top: none !important;
}

.schedule-search__details-btn {
	padding: 0;
    background: none;
    color: var(--main);
    border: none;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    line-height: 1;

}

.schedule-search__details-btn:hover {
    color: var(--main-hover);
}

.schedule-search__day-badge {
    display: inline-block;
    padding: 3px 8px;
    background: #e3f2fd;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #1565c0;
}

.schedule-search__table .schedule-search__detail-row .schedule-search__stops-table td {
    border: none;
	padding: 8px 0;	
	position: relative;
    
}
.schedule-search__table .schedule-search__detail-row .schedule-search__stops-table td:after {
	box-shadow: none;
	display: none;
}
.schedule-search__table .schedule-search__detail-row .schedule-search__stops-table td:before {
	position: absolute;
    content: "";
    bottom: 0;
    width: 100%;
    height: -webkit-fill-available;
    border-bottom: 1px solid #E0E0E0;
}
.schedule-search__table .schedule-search__detail-row .schedule-search__stops-table td:first-child:before {
	left: 24px;	
}
.schedule-search__table .schedule-search__detail-row .schedule-search__stops-table tr:last-child td:before {
	display: none;	
}
.schedule-search__stops-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
	border: none;
}

.schedule-search__stops-table th,
.schedule-search__stops-table td {
    padding: 8px 12px;
    border: none;
    border-bottom: 1px solid #E0E0E0;
    font-size: 12px;
}

.schedule-search__stops-table th {
    color: #797979;
    font-weight: 400;
	font-size: 12px;
}

.schedule-search__stop-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 1px solid #E0E0E0;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
	top: -2px;
    position: relative;
}

.schedule-search__stop-icon--departure {
    background: #2e7d32;
    border-color: #2e7d32;
	width: 5px;
    height: 5px;
	transform: translateX(5px);
    margin-right: 16px;
}

.schedule-search__collapse-bar {
    background: #e8f5e9;
    text-align: center;
    padding: 8px;
    cursor: pointer;
    color: #2e7d32;
    font-size: 12px;
    font-weight: 600;
	margin: 0 -24px;
    border-radius:0;
}

.schedule-search__collapse-bar:hover {
    background: #c8e6c9;
}

.schedule-search__all-routes h3 {
    margin-bottom: 15px;
}

.schedule-search__routes-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.schedule-search__route-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #f5f5f5;
    border-radius: 6px;
    font-size: 14px;
}

.schedule-search__route-item:hover {
    background: #e8e8e8;
}

.schedule-search__route-num {
    font-weight: 700;
    color: #2e7d32;
    min-width: 60px;
}

/* Type badges */
.schedule-search__type-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    vertical-align: middle;
    margin-left: 0;
}

.schedule-search__type-badge--suburban {
    background: #e8f5e9;
    color: #2e7d32;
}

.schedule-search__type-badge--intercity {
    background: #e3f2fd;
    color: #1565c0;
}

.schedule-search__type-badge--international {
    background: #fce4ec;
    color: #c62828;
}

/* Infobus widget */
.schedule-infobus {
    margin-bottom: 64px;  
}
.schedule-infobus .InfBusRW .container-fluid__1d67c {
	padding:0;
	--bs-gutter-x: 0;
}

.schedule-infobus #root {margin-bottom: 22px}

.schedule-infobus__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.schedule-infobus__content p {
    margin: 0 0 12px;    
}

.schedule-infobus__link {
    display: inline-block;
    padding: 10px 24px;
    background: #2e7d32;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}

.schedule-infobus__link:hover {
    background: #1b5e20;
    color: #fff;
}

/* Map button */


.schedule-map-button a.schedule-map-button__link {
    display: inline-flex;
    padding: 14px 20px;
    background:#FF9802;
    color: #fff;
    text-decoration: none;
    border-radius:16px;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.2s;
	align-items: center;
	gap: 4px;
	width: 100%;
	justify-content: space-between;
}

.schedule-map-button a.schedule-map-button__link:hover {
    background: #e65100;
    color: #fff;
}

/* Bottom text */
.schedule-bottom-text {
    margin-top: 30px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
}

.schedule-bottom-text p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}
.ss-combobox {position: relative}
.ss-combobox:has([style="display: block;"]):after {
	transform: rotate(180deg);
}

div[class^="dateToRemove__"] > svg > path {stroke: #00ABFF;}

.ss-combobox:after {
    content: "";
    display: block;
    width: 14px;
    height: 20px;
    position: absolute;
    right: 13px;
    top: 10px;
	z-index: 0;
    pointer-events: none;
	background: #fff url(/upload/schedule-arrow.svg) 95% center no-repeat;
 }
body .InfBusRW .dateToRemove__f4d50 {	
    display: inline-flex; 
    top: 0;
	right: 0;
    align-items: center;
}

body .InfBusRW .suggestionsList__a11b4 li:before { opacity: 0;}

body .InfBusRW .suggestionsList__a11b4 li {padding: 8px 20px;}

@media (min-width: 769px) {
	.schedule-search__table-tr {position: relative;} 
	.schedule-search__table-tr:has(.schedule-search__details-btn.shown):after {position: absolute; height: 100%; width: 100%; content: ""; display: block;left: 0;} 
	.schedule-search__table:has(.table-row) .schedule-search__table-tr:has(.schedule-search__details-btn.shown):after {
		position: absolute;
		height: 100%;
		width: 100%;
		content: "";
		display: block;
		bottom: 0;
		left: 0;
		box-shadow: -1px 6px 8px 0 rgba(0, 0, 0, 0.04);
		z-index: 99999;
	}
	.schedule-search__details-btn.shown {    z-index: 999999; position: relative;} 
	.schedule-search__table:has(.table-row) .table-row td[colspan="5"] {border-top: none;} 	
	.schedule-search__stop-departure td:first-child {width: 27%;}
	.schedule-search__stop-departure td:nth-child(2)  {width: 19%;}
}

@media (min-width: 992px) {
	body .InfBusRW .dateToRemove__f4d50 {right: -10px}
	body .InfBusRW .col-lg-4__6479d {width: 30%;}
	body .InfBusRW .col-lg-4__6479d:last-child {width: 39%;}
}

@media only screen and (max-width: 768px) {
    .InfBusRW .btnSwap__33f35 {border-left: 15px solid #fff;}	
}

@media (max-width: 768px) {
	.hidden-desktop.mobile-th {display: block;}    
	.table-wrapper table.schedule-search__table tbody { background: #fff;}
}
