* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	border: 0;
}
html,
body {
	width: 100%;
	height: 100%;
}
body {
	background-color: #FFF;
	font-family: 'Rubik', sans-serif;
	line-height: 1.1;
	color: #000000;
}
.arab {
	font-family: 'Tajawal', sans-serif;
	line-height: 1.2;
}
.rus {
	line-height: 1.2;
}
.wrapper {
	direction: rtl;
    text-align: center;
	max-width: 1100px;
	padding: 0 20px;
	margin: auto;
}
.nowrap {
	white-space: nowrap;
}
.rus .wrapper, .eng .wrapper {
	direction: ltr;
}
header {
	background: url(img/haifa.jpg) no-repeat center center;
	background-size: cover;
	direction: rtl;
	text-align: center;
}
.rus header, .eng header {
	direction: ltr;
}
main {
	padding: 20px 0;
}
.gradient {
	background: linear-gradient(0deg, rgba(29,79,163,0.9) 0%, rgba(29,79,163,0) 80%);
}
header .wrapper{
	min-height: 340px;
	display: flex;
	flex-direction: column;
	width: 100%;
	justify-content: flex-start;
}
.topfloat {
	position: absolute;
	z-index: 450;
	transition: all;
}
.topfloat.languages {
	right: auto;
	left: 20px;
}
.heb .topfloat, .arab .topfloat {
	right: 20px;
}
.rus .topfloat, .eng .topfloat {
	left: 20px;
}
.heb .topfloat.languages, .arab .topfloat.languages {
	right: auto;
	left: 20px;
}
.rus .topfloat.languages, .eng .topfloat.languages {
	left: auto;
	right: 20px;
}
.topfloat a {
	font-size: 16px;
	position: relative;
	top: -10px;
	display: inline-block;
	vertical-align: middle;
	color: #000;
	background: #FFF;
    text-decoration: none;
    z-index: 800;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	padding: 15px 15px 7px 15px;
	box-shadow: 2px 2px 11px #00000034;
	transition-duration: 0.3s;
}
.topfloat a:hover { top: -5px; }
.logos {
	background-color: #FFF;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 30px;
	padding: 10px 25px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	margin: 0 auto;
}
.logos img { max-width: 100%; }
.title {
	color: #FFF;
	padding: 40px 0;
	margin: auto 0 auto;
}
h1 { font-size: 60px; }
.rus h1 { font-size: 54px; }
h2 { font-size: 30px; }
h3 { color: #1d4fa3; font-size: 50px; padding: 10px 0 20px; }
.rus h3 {
	font-size: 42px;
}
h4 {
	font-size: 28px;
	padding: 5px 10px;
}
.rus h4 {
	font-size: 22px;
	padding: 10px;
}
.lines-table {
	border: 1px solid #000;
	text-align: right;
	margin: 10px 0 30px;
}
.rus .lines-table, .eng .lines-table {
	text-align: left;
}
.new-lines h4 {
	background: #1d4fa3;
	color: #FFF;
}
.canceled-lines h4 {
	background: #ee2d2a;
	color: #FFF;
}
.changed-lines h4 {
	background-color: #02aa4e;
	color: #FFF;
}
.switched-lines h4 {
	background-color: #233c47;
	color: #FFF;
}
.row {
	padding: 20px 10px;
	display: flex;
	gap: 20px;
	border-bottom: 1px solid #000;
	align-items: center;
}
.row:last-child {
	border-bottom: none;
}
.line-logos {
	display: flex;
	gap: 20px;
	align-items: center;
	justify-content: center;
	min-width: 160px;
}
.rus .line-logos { min-width: 230px; }
.v-dev {
	height: 50px;
	width: 1px;
	background-color: #1d4fa3;
}
.cable-line {
	background: #00aeef;
	color: #FFF;
}
.cable-line:hover {
	background: #00aeefcc;
}
.line-4 {
	background: #92c844;
	color: #6f286f;
}
.line-4:hover {
	background: #92c844cc;
}
.line-25 {
	background: #02aa4e;
	color: #FFF;
}
.line-25:hover {
	background: #02aa4edd ;
}
.line-data {
	margin: 0 auto;
	font-size: 16px;
}
.rus .line-data {
	padding-top: 6px;
	font-size: 14px;
}
.line-data a {
	text-decoration: underline;
	color: #1d4fa3;
}
.line-data a:hover {
	text-decoration: none;
}
.line-text {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	text-align: center;
	font-size: 28px;
	font-weight: 600;
}
.rus .line-text { font-size: 22px; }
.line-text img {
	object-fit: contain;
}
.smaller {
	font-size: 20px;
	text-align: center;
}
.rus .smaller {
	font-size: 18px;
	padding: 6px;
}
.shorter-arrows {
	width: 70px;
}
.minuts {
	background: url(img/white-arrows.png) no-repeat center center;
	background-size: contain;
	padding: 0 30px;
}
.minuts span {
	background: #FFF;
	color: #25408f;
	font-size: 14px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	line-height: 0.9;
	border-radius: 60px;
}
.rus .minuts span { font-size: 12px; }
.line-box {
	width: 50%;
	display: flex;
	align-items: center;
	gap: 10px;
}
.line-number {
	height: 80px;
	flex-basis: 80px;
	min-width: 80px;
	text-align: center;
	color: #FFF;
	font-size: 25px;
	font-weight: 600;
	padding-top: 18px;
	transition: all 0.2s ease-in-out;
	position: relative;
}
.active {
	cursor: pointer;
}
.line-number.active:hover {
	font-size: 28px;
	padding-top: 16px;
}
.line-number.egged {
	background: url(img/lineNumberEgged.png) no-repeat center center;
}
.line-number.superbus {
	background: url(img/lineNumberSuperbus.png) no-repeat center center;
}
.line-number.egged-switched {
	background: url(img/lineNumberEggedSwitched.png) no-repeat center center;
}
.line-number.canceled::after {
	content: '';
	position: absolute;
	width: 2px;
	height: 100px;
	left: 50%;
	top: -10px;
	transform: rotate(-45deg);
	background-color: #ee2d2a;
}
.line-route {
	display: inline-flex;
	align-items: center;
	font-weight: 600;
	font-size: 18px;
	gap: 7px;
}
.rus .line-route {
	font-size: 15px;
}
.switched-to {
	font-size: 10px;
	text-align: center;
	flex-basis: 40px;
	margin: 0 -7px;
}
.rus .switched-to img {
	transform: rotate(180deg);
}
.rem {
	position: absolute;
	top: -17px;
	right: 50%;
	width: 70px;
	padding: 2px;
	line-height: 0.9;
	background-color: #02aa4e;
	font-size: 11px;
	font-weight: 400;
	border-radius: 4px;
	border: 2px solid #FFF;
	box-shadow: 1px 1px 5px #00000034;
}
.rus .rem {
	right: auto;
	top: -16px;
    left: -5px;
    width: 86px;
}
footer {
	background: #00aeef;
	color: #FFF;
	font-size: 12px;
	padding: 40px 20px;
	direction: rtl;
	text-align: center;
}
.arab footer {
	font-size: 13px;
}
.rus footer, .eng footer {
	direction: ltr;
}
footer div {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 10px;
}
#black {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
}
#line_map {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 80px 20px 20px 20px;
}
#line_map iframe {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    background: #FFF;
}
.line_map_top {
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px 20px 0 20px;
    height: 80px;
    line-height: 60px;
    width: 100%;
}
.line_map_top div { background: #fff; width: 100%; height:100%; padding: 0 20px; }
.heb .line_map_top div, .arab .line_map_top div { direction: rtl; text-align: right; }
.rus .line_map_top div, .eng .line_map_top div { text-align: left; }
#map_line_number {
	width: 50px;
	height: 50px;
	margin-top: 5px;
	text-align: center;
	font-size: 18px;
	line-height: 50px;
	font-weight: 600;
	color: #FFF;
	background: var(--main-color);
	border-radius: 50px;
	position: relative;
	box-shadow: inset 0 3px 4px #0000004d;
}
.heb #map_line_number, .arab #map_line_number { float: right; margin-left: 10px; }
.rus #map_line_number, .eng #map_line_number { float: left; margin-right: 10px; }
#map_line_name { font-weight: 600; }
#close {
	cursor: pointer;
	font-size: 16px;
	background: url(img/close.png) no-repeat;
}
.heb #close, .arab #close { float: left; background-position: left center; padding-left: 16px; }
.rus #close, .eng #close { float: right; background-position: right center; padding-right: 16px; }
.arrows {
    width: 20px;
    height: 12px;
    background: url(img/arrows.png) no-repeat center center/contain;
    display: inline-block;
}
#no_map{
	display: none;
	width: 100%;
	height: 100%;
	background-color: #FFF;
}
.nomap_message_holder {
	width: 100%;
	height: 100%;
	display: table;
}
.nomap_message {
	font-size: 30px;
	line-height: 1.1;
	padding: 30px;
	text-align: center;
	display: table-cell;
	vertical-align: middle;
}
.nomap_icon {
	width: 80px;
	height: 80px;
	background-color: #eee;
	background-image: url(img/nomap.png);
	background-position: center center;
	background-repeat: no-repeat;
	border-radius: 40px;
	display: inline-block;
	margin-bottom: 5px;
}
#map_line_number.egged {
	background-color: #02aa4e;
}
#map_line_number.superbus {
	background-color: #1d4fa3;
}
#map_line_number.metronit {
	background-color: #6f286f;
}
#map_line_number.cable {
	background-color: #00aeef;
	font-size: 13px;
}
.download {
	background: #1d4fa3;
    color: #FFF;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 18px;
    margin: 0 10px 10px 0;
    display: inline-block;
}
.rus .download {
	margin: 0 0 10px 10px;
}

@media (max-width: 1400px) {
	.logos {
		border-radius: 0;
		display: flex;
		padding: 10px 195px;
	}
}

@media (max-width: 1000px) {
	#line_map { padding: 70px 10px 10px 10px; }
	.line_map_top { height: 70px; padding: 10px 10px 0 10px; }
	.line_map_top div { padding: 0 10px; position: relative; }
	.heb #map_line_number, .arab #map_line_number { margin-left: 5px; }
	.rus #map_line_number, .eng #map_line_number { margin-right: 5px; }
	#close { position: absolute; top: 5px; line-height: 11px; width: 11px; height: 11px; font-size: 0; }
	.heb #close, .arab #close { left: 5px; }
	.rus #close, .eng #close { right: 5px; }
	.logos {
		gap: 16px;
		padding: 50px 20px 10px 20px;
	}
}

@media (max-width: 960px) {
	.row {
		flex-wrap: wrap;
		gap: 10px;
		padding: 10px 0;
	}
	.line-logos {
		width: 100%;
		padding-top: 10px;
	}
	
	.line-text {
		font-size: 22px;
	}
	.line-box {
		width: 100%;
		padding: 10px;
	}
	.line-box:first-child {
		border-bottom: 1px solid #000;
	}
	.line-box:last-child {
		padding-top: 0;
		border-bottom: none;
	}
}

@media (max-width: 740px) {
	.rus .cable-line .line-data {
		flex-direction: column;
	}
	.rus .minuts {
		padding: 20px 0;
		background-image: url(img/white-arrows-v.png);
	}
	.line-box div:nth-child(2) {
		width: 100%;
	}
	.line-route {
		justify-content: center;
		text-align: center;
	}
	.line-data {
		text-align: center;
	}
}

@media (max-width: 600px) {
	.topfloat a {
		font-size: 14px;
	}
	header .wrapper {
		min-height: 270px;
	}
	h1 {
		font-size: 46px;
	}
	.rus h1 {
		font-size: 37px;
	}
	h2 {
		font-size: 26px;
	}
	.rus h2 {
		font-size: 20px;
	}
	h3 {
		font-size: 32px;
    	padding: 0px 0 10px;
	}
	.rus h3 {
		font-size: 24px;
	}
	.rus h4 {
		font-size: 20px;
	}
	.line-text {
		font-size: 20px;
		gap: 5px;
	}
	.rus .line-text {
		font-size: 16px;
	}
	.smaller {
		font-size: 16px;
		padding: 5px;
	}
	.rus .smaller {
		font-size: 14px;
		padding: 6px;
	}
	.cable-line, .line-25, .line-4 {
		padding-bottom: 14px;
	}
	.cable-line .line-data {
		flex-direction: column;
	}
	.minuts {
		padding: 20px 0;
		background-image: url(img/white-arrows-v.png);
	}
	.line-box {
		flex-direction: column;
		justify-content: center;
		text-align: center;
	}
	.line-route {
		justify-content: center;
	}
	.switched-lines .line-box {
		flex-direction: row;
		flex-wrap: wrap;
	}
	.switched-route {
		width: 100%;
	}
	.rem {
		top: -3px;
		right: 78%;
	}
	.rus .line-data {
		font-size: 14px;
		padding: 8px;
	}
	.rus .download {
		width: 100%;
		text-align: center;
		margin-left: 0;
	}
}
@media (max-width: 400px) {
	.wrapper {
		padding: 0 14px;
	}
	h1 {
		font-size: 40px;
	}
	h2 {
		font-size: 23px;
	}
	h3 {
		font-size: 23px;
	}
	h4 {
		font-size: 20px;
	}
	.heb .topfloat, .arab .topfloat {
		right: 8px;
	}
	.rus .topfloat, .eng .topfloat {
		left: 8px;
	}
	.heb .topfloat.languages, .arab .topfloat.languages {
		right: auto;
		left: 8px;
	}
	.rus .topfloat.languages, .eng .topfloat.languages {
		left: auto;
		right: 8px;
	}
	.line-text {
		font-size: 18px;
	}
	.shorter-arrows {
		width: 50px;
	}
	.line-number {
		width: 76px;
		flex-basis: 76px;
		padding-top: 16px;
		background-size: contain !important;
	}
	.line-route {
		font-size: 16px;
	}
	.line-data, .smaller {
		font-size: 14px;
	}
	.download {
		width: 100%;
		margin-right: 0;
		text-align: center;
	}
}