/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Add your own styles here:*/
@import url('https://fonts.googleapis.com/css2?family=Exo:wght@400;600;700;800&display=swap');

.inner_sort_button {text-decoration: underline}

/* map & routes css */
/* .route-selector {
	width: 60%;
	min-height: 100px;
	background: rgba(0, 0, 0, 0.5);
	color: #ccc;
	margin-top: -30px;
	padding: 20px;
}

.route-selector .route-selector-title {
	font-weight: 200;
	opacity: .7;
}

.route-selector .route-option-row {
	margin-top: 10px;
	margin-bottom: 10px;
}

.route-selector .route-option-row .route-option-item {
	display: inline-block;
  padding: 5px 0 5px 45px;
  background-size: 35px;
  margin-right: 40px;
  background-image: url(../enfold-child/img/route-checks.png);
	background-repeat: no-repeat;
	background-color: transparent;
	background-position: 0 0;
  transition: .3s;
}

.route-selector .route-option-row .route-option-item:hover * {
  opacity: .8;
  cursor: pointer;
}

.route-selector .route-option-row .route-option-item p {
	margin: 0;
	padding: 0;
}

.route-selector .route-option-row .route-option-item.roi-checked {
	background-position: 0 -51px;
}

.route-selector .route-option-row .route-option-item.roi-checked:hover *{
  opacity: 1!important;
}

.route-selector .route-option-row .route-option-item.roi-checked p {
	color: #F5C400;
}

.map-data-wrapper {
  width: 100%;
  max-width: 1210px;
  margin: 30px auto 0 auto;
  height: 100%;
}

.map-wrapper {
  display: inline-block;
  padding: 0;
  margin: 0px 0 0 0;
  background-size: 100%;
  background-image: url(../enfold-child/img/nco-map-white.png);
	background-repeat: no-repeat;
	background-color: transparent;
	background-position: 0 0;
  width: 70%;
  min-height: 510px;
  position: relative;
  border-right: 2px solid #F5C400;
}

.data-wrapper {
  display: inline-block;
  width: 28%;
  vertical-align: top;
  padding: 50px;
}

.data-wrapper .data-wrapper-inner {
  width: 100%;
}

.map-wrapper .company-item {
  position: absolute;
  display: none;
}

.data-wrapper .company-item {
  display: none;
  color: #000;
  background: #fff;
	width: 46%;
	text-align: center;
	margin: 2%;
	min-height: 170px;
	border-radius: 10px;
  position: relative;
}

.data-wrapper .company-item img {
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	left: 0;
	right: 0;
}

.company-pin:hover {
  cursor: pointer;
  opacity: .9;
}



.company-item .company-pin {
  background: url('../enfold-child/img/mapmarker.png') no-repeat 0 6px transparent;
  background-size: 23px;
  width: 23px;
  height: 37px;
  display: block;
}

.company-info-hint p {
  position: absolute;
  bottom: -10px;
  left: 0;
  text-align: center;
  font-size: 10px;
  width: 100%;
  opacity: 0.7;
  padding-left: 5px;
  padding-right: 5px;
}

.hideit {
  display: none!important;
}

.showit {
  display: inline-block!important;
}

.company-details {
  display: none;
}

.nco-rute-popup {
  display: none;
  z-index: 9;
}

.company-details {
	background: #fff;
	width: 80%;
	margin: 5%;
	padding: 20px;
	min-height: 80%;
	border-radius: 5px;
	box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
	position: relative;
	z-index: 10;
}

.close-company-details-popup:after{
  font-family: "Font Awesome 5 Free";
	content: "\f00d";
  font-weight: 900;
  font-size: 30px;
  color: #333;
  position: absolute;
  right: 20px;
  top: 10px;
}

.close-company-details-popup:hover {
  cursor: pointer;
  opacity: .5;
}

.rute-popup-logo-wrapper img {
	max-height: 150px;
}
.company-info-hint img {
	max-width: 100px;
}


.map-wrapper {
	width: 100%;
	border-right: 0;
	border-bottom: 2px solid #F5C400
}

.data-wrapper {
	width: 100%;
	padding: 0px;
}

.data-wrapper .company-item {
	width: 16%;
}

.company-details {
    width: 90%;
    margin: 1% 5%;
}

.rute-popup-company-description {
	color: #000;	
}

.map-data-wrapper {
  padding-top: 30px;
}

.company-name-address {
  display: none;
}

.routes {
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	opacity: .9;
	max-width: 450px;
	font-size: 12px;
	min-height: 118px;
	width: 100%;
	position: absolute;
	left: 61.9%;
	top: -178px;
}

.pick-a-route {
	text-align: center;
	margin-top: 50px;
	font-size: 20px;
  font-weight: normal;
}

.route-starts .start-1,
.route-starts .start-2,
.route-starts .start-3,
.route-starts .start-4,
.route-starts .start-5 {
  display: none;
}

.x-1,
.x-2,
.x-3,
.x-4,
.x-5 {
	padding: 10px 0;
}

.x-1 {
	background: rgb(221,5,5);
}

.x-2 {
	background: #f5c400;
}

.x-3 {
	background: rgb(42,181,0);
}

.x-4 {
	background: rgb(0,208,238);
}

.x-5 {
	background: #ca00ff;
}


.company-name-on-route {
	font-weight: bold;
	text-transform: uppercase;
}

.start-1,
.start-2,
.start-3,
.start-4,
.start-5 {
	padding: 10px 20px;
}

.start-label,
.start-hours {
	display: block;
}

.start-hours {
	border-bottom: 1px solid #fff;
	padding-bottom: 10px;
}


@media screen and (max-width: 1200px) {
	.route-selector {
		width: 100%;
	}

	.data-wrapper {
		width: 100%;
	}

	.data-wrapper .company-item {
		width: 28%;
	}

	.route-selector .route-option-row .route-option-item {
		margin-bottom: 20px;
	}

  .company-pin {
		display: none;
	}

	.map-wrapper {
		width: 100%;
		border: 0;
		min-height: 200px;
		position: absolute;
    margin-top: 0px;
	}

	.company-pin {
		display: none;
	}

  .company-details {
    width: 98%;
    margin: 0 1%;
    min-height: 700px;
  }

	.main-wrapper {
		min-height: 100vh;
	}
	
	.routes {
	position: relative;
	left: 0;
	top: auto;
	max-width: 100%;
	display: inline-block;
	}

	.route-companies {
		display: inline-block;
		width: 100%;
	}

	.map-wrapper {
		position: relative;
		min-height: auto;
	}

	.map-data-wrapper {
		padding-top: 0;
		margin-top: 0;
	}

	.company-item .company-pin {
		display: none;
	}
}

@media screen and (max-width: 720px) {
	.data-wrapper .company-item {
		width: 46%;
	}
} */

.rute-popup-company-description {
	color: #000;	
}

.route-selector {
	width: 60%;
	min-height: 100px;
	background: rgba(0, 0, 0, 0.5);
	color: #ccc;
	margin-top: 0px;
	padding: 20px;
}

.route-selector .route-selector-title {
	font-weight: 200;
	opacity: .7;
}

.route-selector .route-option-row {
	margin-top: 10px;
	margin-bottom: 10px;
}

.route-option-item:hover {
	cursor: pointer;
}

.route-selector .route-option-row .route-option-item {
	display: inline-block;
	padding: 5px 0 5px 45px;
	background-size: 35px;
	margin-right: 40px;
	background-image: url(../img/route-checks.png);
	background-image: url(../enfold-child/img/route-checks.png);
	background-repeat: no-repeat;
	background-color: transparent;
	background-position: 0 3px;
    transition: .3s;
}

.route-selector .route-option-row .route-option-item:nth-child(3) {
	margin-right: 0;
}

.route-selector .route-option-row .route-option-item:hover * {
  opacity: .8;
  cursor: pointer;
}

.route-selector .route-option-row .route-option-item p {
	margin: 0;
	padding: 0;
}

.route-selector .route-option-row .route-option-item.roi-checked {
	background-position: 0 -48px;
}

.route-selector .route-option-row .route-option-item.roi-checked:hover *{
  opacity: 1!important;
}

.route-selector .route-option-row .route-option-item.roi-checked p {
	color: #F5C400;
}

.map-data-wrapper {
  width: 100%;
  max-width: 1210px;
  margin: 30px auto 0 auto;
  height: 100%;
}

.map-wrapper {
  display: inline-block;
  padding: 0;
  margin: 0px 0 0 0;
  background-size: 100%;
  background-image: url(../img/nco-map-white-2.png);
  background-image: url(../enfold-child/img/nco-map-white.png);
	background-repeat: no-repeat;
	background-color: transparent;
	background-position: 0 0;
width: 70%;
  min-height: 510px;
  position: relative;
  /* border-right: 2px solid #F5C400; */
}

.data-wrapper {
  display: inline-block;
  width: 28%;
  vertical-align: top;
  padding: 50px;
}

.data-wrapper .data-wrapper-inner {
  width: 100%;
}

.map-wrapper .company-item {
  position: absolute;
  /* display: block; */
  display: none;
}

.data-wrapper .company-item {
  /* display: inline-block; */
  display: none;
  color: #000;
  background: #fff;
	width: 46%;
	text-align: center;
	margin: 2%;
	min-height: 170px;
	border-radius: 10px;
  position: relative;
}

.data-wrapper .company-item img {
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	left: 0;
	right: 0;
}

.company-pin:hover {
  cursor: pointer;
  opacity: .9;
}

/* .company-pin:after {
  font-family: "Font Awesome 5 Free";
	content: "\f3c5";
  font-weight: 900;
  font-size: 30px;
  color: #F5C400;
  display: inline-block;
  text-shadow: 1px 2px rgba(0,0,0,.65)
} */

.hideit {
  display: none!important;
}

.showit {
  display: inline-block!important;
}

.company-details {
  display: none;
}

.nco-rute-popup {
  display: none;
  z-index: 9;
}

.company-details {
	background: #fff;
	width: 80%;
	margin: 5%;
	padding: 20px;
	min-height: 80%;
	border-radius: 5px;
	box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
	position: relative;
	z-index: 10;
}

.close-company-details-popup{
	background: url(https://www.noapteacompaniilor.ro/wp-content/uploads/2023/10/icon-close-1.webp);
    background-size: 50px;
    background-position: 50%;
    background-repeat: none;
    background-color: transparent;
    width: 50px;
    height: 50px;
    display: inline-block;
    position: absolute;
    right: 10px;
    top: 10px;
}

.close-company-details-popup:hover {
  cursor: pointer;
  opacity: .5;
}

.rute-popup-logo-wrapper img {
	max-height: 150px;
	max-width: 250px;
	margin-bottom: 2rem;
}
.company-info-hint img {
	max-width: 100px;
}



/* ------------------- hotfixed until routes are defined*/

.map-wrapper {
	width: 100%;
	border-right: 0;
	/* border-bottom: 2px solid #F5C400 */
	min-height: 550px;
}

.data-wrapper {
	width: 100%;
	padding: 0px;
}

.data-wrapper .company-item {
	width: 16%;
}

.company-details {
    width: 90%;
    margin: 1% 5%;
}

.company-item .company-pin {
  background: url('../img/mapmarker.png') no-repeat 0 6px transparent;
  background: url('../enfold-child/img/mapmarker.png') no-repeat 0 6px transparent;
  background-size: 23px;
  width: 23px;
  height: 37px;
  display: block;
}

.company-info-hint p {
  position: absolute;
  bottom: -10px;
  left: 0;
  text-align: center;
  font-size: 10px;
  width: 100%;
  opacity: 0.7;
  padding-left: 5px;
  padding-right: 5px;
}


/* -------------------------- */
.map-data-wrapper {
  padding-top: 30px;
}

.company-name-address {
  display: none;
}

.routes {
	background: rgba(0, 0, 0, 0.55);
	color: #000;
	opacity: .9;
	max-width: 450px;
	font-size: 12px;
	min-height: 118px;
	width: 100%;
	position: absolute;
	left: 61.9%;
	top: -178px;
}

.pick-a-route {
	text-align: center;
	margin-top: 50px;
	font-size: 20px;
  font-weight: normal;
}

.route-starts .start-1,
.route-starts .start-2,
.route-starts .start-3,
.route-starts .start-4,
.route-starts .start-5 {
  display: none;
}

.x-1,
.x-2,
.x-3,
.x-4,
.x-5 {
	padding: 10px 0;
}

.x-1 {
	background: rgb(221,5,5);
}

.x-2 {
	background: #f5c400;
}

.x-3 {
	background: rgb(42,181,0);
}

.x-4 {
	background: rgb(0,208,238);
}

.x-5 {
	background: #ca00ff;
}


.company-name-on-route {
	font-weight: bold;
	text-transform: uppercase;
}

.start-1,
.start-2,
.start-3,
.start-4,
.start-5 {
	padding: 10px 20px;
}

.start-label,
.start-hours {
	display: block;
}

.start-hours {
	border-bottom: 1px solid #fff;
	padding-bottom: 10px;
}

/* new layout */

.routes {
    background: rgba(0, 0, 0, 0.55);
    color: #000;
    opacity: .9;
    max-width: 350px;
    font-size: 12px;
    min-height: 118px;
    width: 100%;
    position: absolute;
    left: 0%;
    top: 0px;
}

.company-name-address span {
	display: block;
	font-size: 10px;
	opacity: .5;
}

.company-name-address .company-name-on-route {
	font-size: 16px;
	opacity: 1;
	font-weight: normal;
}

.data-wrapper {
	width: 30%;
	position: absolute;
	right: 0;
	top: 0;
	text-align: right;
}

.data-wrapper .company-item {
	width: 40%;
	min-height: 100px;
}

.map-data-wrapper {
	min-height: 100vh;
	height: auto;
}

.company-details {
	left: 0;
	top: -100px;
	min-height: 500px;
}

.rute-popup-company-link-intren {
	margin-top: 20px;
	margin-bottom: 10px;
}

.rute-popup-company-link-intren a,
.rute-popup-company-link-extern a {
	color: #F5C400;
	text-decoration: none;
}

.route-selector {
	margin: 0px auto 0 auto;
	width: 100%;
	text-align: center;
}

.pick-a-route {
	font-size: 14px;
	font-weight: normal;
}

.routes {
	display: none;
}

.routes.x-1 {
    background: rgb(221,5,5);
	display: block;
}

.routes.x-2 {
    background: #f5c400;
	display: block;
	color: #000;
}

.routes.x-3 {
    background: rgb(42,181,0);
	display: block;
}

.company-name-on-route {
	line-height: 1.4;
}

.company-address-line {
	line-height: 1.4;
}

.route-selector .route-option-row .pick-route {
	background: #ffd64f;
	color: #194e83;
	height: 50px;
	vertical-align: top;
	display: inline-block;
	padding: 10px 20px 0 20px;
	margin-top: -5px;
	margin-bottom: 0px;
	margin-left: 20px;
	padding-top: 0px;
	font-weight: bold;
}

.route-selector .route-option-row .pick-route:hover {
	cursor: pointer;
	opacity: .8;
}

.rute-popup {
	display: none;
}

.rute-popup {
	position: absolute;
	left: calc(50% - 300px);
	top: 5px;
	z-index: 9999;
	width: 600px;
	height: 700px;
}

.rute-popup img {
	width: 100%;
}

.rute-popup .close-linii {
	position: absolute;
	right: 0;
	top: 0;
	width: 50px;
	height: 50px;
	background: #fff;
	z-index: 999999;
}

.rute-popup .close-linii:hover {
	opacity: .8;
	cursor: pointer;
}

@media screen and (max-width: 1200px) {
	.route-selector {
		width: 100%;
	}

	.data-wrapper {
		width: 100%;
	}

	.data-wrapper .company-item {
		width: 28%;
	}

	.route-selector .route-option-row .route-option-item {
		margin-bottom: 20px;
	}

  .company-pin {
		display: none;
	}

	.map-wrapper {
/* 		display: none; */
		width: 100%;
		border: 0;
		min-height: 500px;
		position: absolute;
    margin-top: 0px;
	}

	.company-pin {
		display: none;
	}

  .company-details {
    width: 98%;
    margin: 0 1%;
    min-height: 700px;
  }

	.main-wrapper {
		min-height: 100vh;
	}

  /* ------------------------ */
	.routes {
		position: relative;
		left: 0;
		top: auto;
		max-width: 100%;
		display: inline-block;
	}

	.route-companies {
		display: inline-block;
		width: 100%;
	}

	.map-wrapper {
		position: relative;
		min-height: auto;
	}

	.map-data-wrapper {
		padding-top: 0;
		margin-top: 0;
	}

	.company-item .company-pin {
		display: none;
	}
	.route-selector .route-option-row .route-option-item {
		margin-right: 10px;
	}

	.data-wrapper {
		position: relative;
	}
}

@media screen and (max-width: 720px) {
	.data-wrapper .company-item {
		width: 46%;
	}
	.route-selector .route-option-row .route-option-item {
		margin-right: 10px;
	}
	
	.map-data-wrapper {
		height: auto;
		min-height: 100vh;
		padding-bottom: 10%;;
	}
	.data-wrapper {
		position: relative;
	}
	
	.map-wrapper {
		height: 100vh;
		background-size: 300%;
		background-position: 35% 50%;
	}
	
	.route-selector .route-option-row .route-option-item {
		background-size: 30px;
		padding: 5px 0 5px 35px;
		background-position: 0px 4px;
		margin-right: 25px;
	}
	
	.route-selector .route-option-row .route-option-item.roi-checked {
		background-position: 0 -39px;
	}
	
	.route-selector {
		width: 110vw;
		margin-left: -15%;
		padding-bottom: 10px;
		margin-bottom: 20px!important;
	}
	
	.data-wrapper {
		text-align: center;
	}
	
		.rute-popup {
		position: absolute;
		left: 1%;
		top: 60px;
		z-index: 10;
		width: 90%;
		height: auto;
	}

	.rute-popup .close-linii {
		width: 30px;
		height: 30px;
	}
}

