﻿/* company colors */
.dan {
	--main-color: #0050a0;
}
.egged {
	--main-color: #00a13e;
}
.metropoline {
	--main-color: #f28c00;
}
.kavim {
	--main-color: #283583;
}
.afikim {
	--main-color: #9aca3c;
}
.canceled {
	--main-color: #757679;
}
.taxi {
	--main-color: #2c6fb9;
}
html{height:100%;width:100%;-ms-text-size-adjust:none;}
* {
	margin: 0;
	padding: 0;
	border: 0;
    box-sizing: border-box;
}
body {
    margin: 0;
	padding: 0;
    background: #FFF;
	color: #231f20;
	width: 100%;
	height: 100%;
	text-align: center;
	line-height: 1.4;
}
.nowrap { white-space: nowrap; }
.heb {
	font-family: 'Rubik', sans-serif;
	font-size: 18px;
}
.wrapper {
	margin: 0 auto;
	position: relative;
	min-height: 100%;
}
.heb .wrapper {
	direction: rtl;
}
.maxwidth {
	max-width: 1300px;
	padding: 0 30px;
	margin: auto;
	position: relative;
}
.header {
	width: 100%;
	margin-bottom: 40px;
}
.top_wrapper {
	display: table;
	width: 100%;
	min-height: 330px;
}
.top_title, .top_image {
	display: table-cell;
	vertical-align: middle;
}
.top_title {
	padding: 40px;
}
.top_image {
	width: 30%;
	min-width: 360px;
	background: #bfc600 url(../images/topImg.png) no-repeat right center/auto 100%;
}
.top_logos div {
	display: inline-block;
	padding: 0 20px;
}
h1 {
    color: #862b8c;
    font-weight: 700;
    font-size: 83px;
	line-height: 1;
	letter-spacing: -3px;
	padding: 0;
}
h2 {
	color: #862b8c;
	font-size: 55px;
	line-height: 1;
	font-weight: 400;
	letter-spacing: -1px;
}
.blue_title {
	color: #2c6fb9;
	font-weight: 700;
}
h3 {
	font-weight: 700;
	font-size: 22px;
	line-height: 1;
	margin-bottom: 5px;
}
.subtitle {
	/*text-align: right;*/
	margin-top: -15px;
	margin-bottom: 36px;
}
h4 {
	background: #bfc600 url(../images/subtitle_bg.png) no-repeat right center/auto 100%;
	/*text-align: right;*/
	font-weight: 700;
	font-size: 24px;
	line-height: 1;
	letter-spacing: -0.5px;
	padding: 5px 36px 8px 20px;
	display: inline-block;
	border-top-left-radius: 30px;
	border-bottom-left-radius: 30px; 
	width: 500px;
	max-width: 94%;
}
.topfloat {
    position: absolute;
    top: -10px;
    right: 20px;
    z-index: 450;
}
.topfloat a {
    font-size: 16px;
    display: inline-block;
	vertical-align: middle;
	color:#231f20;
    background: #FFF;
    text-decoration: none;
    z-index: 800;
    transition: all;
    transition-duration: 0.3s;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 15px 15px 7px 15px;
    box-shadow: 2px 2px 11px #00000034;
}
.topfloat a:hover {
	margin-top: 5px;
}
.main_text {
	text-align: right;
	padding-bottom: 20px;
}
.lines {
	border: 1px dashed silver;
	border-radius: 10px;
	margin: 30px 0 40px 0;
}
.line_box {
	display: inline-block;
	position: relative;
	width: 32%;
	vertical-align: top;
	text-align: center;
	padding: 0 20px;
	margin-bottom: 30px;
}
.new_lines .line_box {
	width: 45%;
}
.number_changes .line_box{
	width: 396px;
}
.new_line::before {
	content: 'חדש!';
	position: absolute;
	left: -20px;
	top: 0;
	padding: 0 10px;
	font-weight: 500;
	background: #FFF;
	border: 1px solid #231f20;
	border-radius: 20px;
}
#map_line_number.new_line::before {
	left: -20px;
    top: -1px;
    font-size: 12px;
    line-height: 17px;
	padding: 0 5px;
	color: #231f20;
}
.line_number {
	border-radius: 120px;
	margin: auto;
	width: 120px;
	box-shadow: 0 5px 4px #0000004d;
	margin-bottom: 26px;
	position: relative;
	z-index: 20;
}
.taxi .line_number { margin-bottom: 16px; }
.line_number div {
	color: #FFF;
	font-size: 44px;
	line-height: 40px;
	font-weight: 500;
	border: 6px solid #FFF;
	padding-top: 30px;
	border-radius: 120px;
	width: 120px;
	height: 120px;
	box-shadow: inset 0 3px 4px #0000004d;
	background: var(--main-color);
}
.taxi .line_number div { padding-top: 34px; }
.line_number_small {
	border-radius: 90px;
	margin: auto;
	width: 90px;
	box-shadow: 0 5px 4px #0000004d;
	position: relative;
	display: inline-block;
	vertical-align: middle;
}
.line_number_small div {
	color: #FFF;
	font-size: 36px;
	line-height: 36px;
	font-weight: 500;
	border: 5px solid #FFF;
	padding-top: 23px;
	border-radius: 90px;
	width: 90px;
	height: 90px;
	box-shadow: inset 0 3px 4px #0000004d;
	background: var(--main-color);
}
.canceled_lines .line_box::before {
	content: '';
	width: 130px;
	height: 6px;
	background-color: #ED1C24;
	position: absolute;
	transform: rotate(-45deg);
	top: 57px;
	left: 50%;
	margin-left: -70px;
	z-index: 40;
	border-radius: 3px;
}
.line_company {
	background: #FFF;
	position: absolute;
	top: 88px;
	left: 50%;
	margin-left: -60px;
	width: 120px;
	height: 50px;
	border-radius: 50%;
	padding-top: 5px;
	z-index: 30;
}
.line_route {
	font-size: 22px;
	font-weight: 500;
	margin-bottom: 5px;
	line-height: 1.2;
}
.arrows {
	width: 20px;
	height: 12px;
	background: url(../images/arrows.png) no-repeat center center/contain;
	display: inline-block;
}
.line_desc, .line_desc_taxi {
	font-size: 14px;
	line-height: 1.3;
	padding: 14px;
	border-radius: 5px;
	margin-top: 8px;
	text-align: right;
}
.line_desc {
	background: #dadada;
}
.line_desc a {
	color: #862b8c;
	text-decoration: underline;
}
.line_desc a:hover {
	text-decoration: none;
}
.line_desc ul { padding-right: 16px; }
.whats_new {
	font-weight: 700;
}
.line_desc_taxi {
	background: #2c6fb9;
	color: #FFF;
}
.active { cursor: pointer; }
.active .line_number div {
	transition: all 0.1s linear;
}
.active:hover .line_number div {
	border-width: 3px;
	box-shadow: inset 0 3px 4px #FFFFFFad;
}
.changed_to {
	display: inline-block;
	vertical-align: middle;
	padding: 0 5px;
	font-weight: 500;
	font-size: 14px;
	background: url(../images/arrowLeft.png) no-repeat bottom center;
	padding-bottom: 35px;
}
#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_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 { direction: rtl; text-align: right; }
.eng .line_map_top div { text-align: left; }
#line_map iframe {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	background: #FFF;
}
#map_line_number {
	width: 50px;
	height: 50px;
	margin-top: 5px;
	text-align: center;
	font-size: 18px;
	line-height: 50px;
	font-weight: 500;
	color: #FFF;
	background: var(--main-color);
	border-radius: 50px;
	position: relative;
	box-shadow: inset 0 3px 4px #0000004d;
}
.heb #map_line_number { float: right; margin-left: 10px; }
.eng #map_line_number { float: left; margin-right: 10px; }
#map_line_name { font-weight: 600; }
#close {
	cursor: pointer;
	font-size: 16px;
	background: url(../images/close.png) no-repeat;
}
.heb #close { float: left; background-position: left center; padding-left: 16px; }
.eng #close { float: right; background-position: right center; padding-right: 16px; }
.footer {
	padding: 30px 0 50px 0;
	color: #FFF;
	background: #bfc600;
}
.footer a {
	color: #FFF;
	text-decoration: underline;
}
.footer a:hover {
	text-decoration: none;
}
.footer_logos div {
	display: inline-block;
	vertical-align: middle;
	padding: 0 14px;
}
#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: var(--color);
	background-image: url(../images/nomap.png);
	background-position: center center;
	background-repeat: no-repeat;
	border-radius: 40px;
	display: inline-block;
	margin-bottom: 5px;
}
.downloads {
	padding: 20px 0;
	background: #ebebeb;
}
.pdf_doc {
	padding: 8px 10px 8px 44px;
	background: #2c6fb9 url(../images/pdf.png) no-repeat 10px center;
	color: #FFFFFF;
	font-size: 18px;
	line-height: 1.1;
	font-weight: 400;
	text-decoration: none;
	border-radius: 10px;
	display: inline-block;
	margin: 5px;
}
.line_box .pdf_doc { display: block; text-align: center; font-size: 16px; margin: 6px 0 0 0; }
.pdf_doc:hover { background-color:#bfc600; }
.small {
	font-size: 13px;
}
@media (max-width: 1310px) {
	.top_image { width: 39%; }
	.top_title { padding: 40px 30px 30px 0; }
}
@media (max-width: 1000px) {
	h1 { font-size: 8vw; letter-spacing: -1.5px; }
	h2 { font-size: 5.5vw; }
	.top_wrapper { min-height: 0; }
	.top_image { min-width: 0; }
	.top_logos div { padding: 0 10px 5px 0;}
	.top_logos img { height: 48px; }
	.footer_logos img { height: 58px; }
	#line_map { padding: 70px 10px 10px 10px; }
	.line_map_top { height: 70px; padding: 10px 10px 0 10px; }
	.heb { font-size: 16px; line-height: 18px; }
	.eng { font-size: 14px;	line-height: 16px; }
	.line_map_top div { padding: 0 10px; position: relative; }
	.heb #map_line_number { margin-left: 5px; }
	.eng #map_line_number { margin-right: 5px; }
	#close { position: absolute; top: 5px; line-height: 11px; width: 11px; height: 11px; font-size: 0; }
	.heb #close { left: 5px; }
	.eng #close { right: 5px; }
	.line_box { width: 49%; }
}
@media (max-width: 700px) {
	.maxwidth { padding: 0 20px; }
	h1 { font-size: 58px; line-height: 48px;}
	h2 { font-size: 40px; margin-top: 5px;}
	.line_box{ width: 100% !important; }
	.top_wrapper, .top_title, .top_image { display: block; }
	.top_title {
		padding: 40px 10px 20px 10px;
	}
	.top_image {
		width: 100%;
		padding-top: 30%;
		min-width: 0;
		background-position-x: left;
		background: #FFF url(../images/topImg_mobile.png) no-repeat left center/contain;
	}
	.line_route { font-size: 20px; }
	.footer_logos div { padding: 0 10px;}
	.footer_logos img { height: 45px; }
}
@media (max-width: 440px) {
	.topfloat { right: 10px; }
	.topfloat a { font-size: 14px; }
	.top_logos img { height: 39px; }
	.footer_logos div { padding: 0 6px;}
	.footer_logos img { height: 39px; }
	h1 { font-size: 45px; line-height: 40px;}
	h2 { font-size: 31px; margin-top: 5px;}
	h3, h4 { font-size: 20px;}
	.heb .lang { padding-left: 10px; }
	.eng .lang { padding-right: 10px; }
	.maxwidth { padding: 0 10px; }
	.number_changes .line_box {
		padding: 0;
	}
	.line_number_small { width: 66px; }
	.line_number_small div {
		width: 66px;
		height: 66px;
		border-radius: 66px;
		font-size: 24px;
		line-height: 24px;
		padding-top: 17px;
		border-width: 4px;
	}
	.changed_to { padding-right: 0; padding-left: 0; }
	.pdf_doc { font-size: 16px; }
}
@media (max-width: 380px) {
	.footer_logos img { height: 31px; }
}
