/* ==========================================================================
   Standortseite - gesamtes Seiten-CSS
   Template: templates/locations-new.php ("Standorte NEU")
   Ort:      wp-content/themes/moby-dick/styles/standorte.css
*/

.gmnoprint:last-child, .gm-fullscreen-control {
display: none;
}

.acf-map {
margin-top: -24px !important;

}
.locations-template-page .map-wrapper .acf-map {
max-height: 800px !important;
/*border-bottom: 2px solid #fff;*/
}
.locations-template-page .map-wrapper .acf-map .location__value:not(.location__value--company-name) {
color: #000;
}
.location--dropdown {
display: none;
position: absolute;
top: 114px;
background: #fff;
box-sizing: border-box;
padding: 30px;
z-index: 300;
border-radius: 3px;
width: 330px;
    -webkit-box-shadow: 0 19px 43px 0 rgba(0,86,157,.4), inset 0 -65px 0 0 rgba(239,247,254,.004);
    box-shadow: 0 19px 43px 0 rgba(0,86,157,.4), inset 0 -65px 0 0 rgba(239,247,254,.004);
}
.location--dropdown.active--search {
display: block !important;
}
.location--dropdown li {
list-style: none;
margin-bottom: 20px;
font-size: 13px;
}
.location--dropdown li a b:first-child {
font-weight: bold;
color: #00569d;
font-size: 15px;
display: block;
width: 100%;
}
#search {
padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 3px;
    /*box-shadow: 0px 8px 12px -2px rgba(0, 0, 0, 0.1);*/
    width: 100%;
}
.cta {
    margin-top: 60px;
    bottom: 0;
    background-color: rgba(255,255,255,0.5) !important;
}
.locations-template-page .map-wrapper .cta__worldwide {
    background: rgba(255,255,255,0.1);
}
input#search {
    background-color: rgba(255,255,255,0.7);
}

/* --------------------------------------------------------------------------
   2. Kartenliste unterhalb der Karte
   -------------------------------------------------------------------------- */

.listdwn {
	margin-top: 40px;
}
.location--dropdown {
height: 300px;
overflow-y: auto;
}
.location--dropdown .map--list {
position: relative !important;
bottom: -10px !important;
height: 20px !important;
}
body {
	background: #f7f7f7 !important;
}
.boxer {
	-webkit-border-radius: 6px;
	border-radius: 6px;
	background: #fff;
	-webkit-box-shadow: 0 4px 6px 0 rgba(0,86,157,.06);
	box-shadow: 0 4px 6px 0 rgba(0,86,157,.06);
	margin-bottom: 30px;
	padding: 40px;
	min-height: 535px;
	padding-bottom: 120px;
}
.inside--data {
	padding: 20px;
}
.boxer *, .inside--data * {
	display: flex;
	  align-items: left;
	  justify-content: left;
	/*display: flex;*/
	/*margin-right: auto;*/
	/*margin-bottom: 10px;*/
}
/*.boxer > div {
	margin-bottom: 10px;
}*/
.boxer img, .inside--data img {
	/*float: left !important;*/
	/*display: block !important;*/
	margin-right: 20px;
	width: 14px;
	display: block;
	float: left;
	align-self: flex-start;
	margin-top: 4px;

}
.location {
	margin-left: 34px;
	margin-bottom: 20px;
	/*opacity: .5;*/
}
/*.cta__search-wrapper {
	display: none;
}*/
.boxer a, .inside--data a {
	color: #00569d;
}
.country.nok {
	color: #fff;
}
.address, .phoni, .fax, .phone-number, .email, .contact-person {
	margin-bottom: 5px;
}
.map--list {
	position: absolute;
	bottom: 70px;
	color: #fff !important;
}
.listdwn h2 {
	font-size: 30px !important;
	font-weight: 900 !important;
	margin-bottom: 40px !important;
}
.gm-style-iw .location {
	margin-left: 0px !important;
	margin-bottom: 0px !important;
}

/* --------------------------------------------------------------------------
   3. Umbrueche, gleich hohe Karten, Sammelkarten
   -------------------------------------------------------------------------- */

/* Lange E-Mail-Adressen und URLs innerhalb der Karte umbrechen.
   "anywhere" statt "break-word", weil nur "anywhere" in die
   Mindestbreite eines Flex-Items einfliesst - und .boxer * ist Flex. */
.boxer a,
.boxer span,
.boxer div {
	min-width: 0;
}
.boxer a,
.boxer .address,
.boxer .contact-person,
.boxer .location__value {
	overflow-wrap: anywhere;
}

/* Gleich hohe Karten je Rasterzeile.
   .row ist flex mit align-items: stretch, die Spalten sind also bereits
   gleich hoch - nur die weisse .boxer darin blieb auf Inhaltshoehe.
   30px = ihr eigener margin-bottom. */
.listdwn .boxer {
	height: calc(100% - 30px);
}

/* Nur fuer zusammengefasste Karten. Alle Regeln oben bleiben unangetastet. */
.boxer--multi .boxer__cols {
	display: flex;
	align-items: stretch;
	justify-content: flex-start;
}
.boxer--multi .boxer__col {
	display: block;
	flex: 1 1 0;
	min-width: 0;
}
.boxer--multi .boxer__col + .boxer__col {
	border-left: 1px solid #e6ebef;
	padding-left: 40px;
	margin-left: 40px;
}
.boxer--multi .boxer__dept {
	display: block;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #00569d;
	margin-bottom: 14px;
}
@media (max-width: 991px) {
	.boxer--multi .boxer__cols {
		display: block;
	}
	.boxer--multi .boxer__col + .boxer__col {
		border-left: 0;
		padding-left: 0;
		margin-left: 0;
		border-top: 1px solid #e6ebef;
		margin-top: 30px;
		padding-top: 30px;
	}
}

/* --------------------------------------------------------------------------
   4. Portraits der Kontaktpersonen - Variante A, Portrait oben rechts

   Zwei Regeln aus Abschnitt 2 greifen dem Bild vor. Beide bleiben
   unveraendert und werden hier nur gezielt ueberschrieben:

     .boxer *   { display: flex }
       -> macht auch das Bild zum Flex-Container
     .boxer img { width: 14px; margin-right: 20px; float: left }
       -> Icon-Masse, die sonst auch fuers Portrait gelten wuerden

   Die Selektoren sind deshalb eine Stufe spezifischer (Klasse + Element)
   statt mit !important gesetzt.
   -------------------------------------------------------------------------- */

/* --- Kopfzeile: Text links, Portrait rechts ------------------------------ */

.boxer .boxer__head,
.location__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
}

.boxer .boxer__head .country {
	margin-bottom: 0;
	min-width: 0;
}

.location__head .location__names-wrapper {
	min-width: 0;
}

/* --- Das Portrait -------------------------------------------------------- */

.boxer img.boxer__portrait,
img.location__portrait,
.boxer img.location__portrait,
.gm-style-iw img.location__portrait {
	display: block;
	float: none;
	width: 72px;
	height: 72px;
	min-width: 72px;
	max-width: 72px;
	margin: 0 0 0 auto;
	border-radius: 50%;
	object-fit: cover;
	align-self: flex-start;
	background: #eef3f8;
	-webkit-box-shadow: 0 2px 6px rgba(0, 86, 157, .18);
	box-shadow: 0 2px 6px rgba(0, 86, 157, .18);
}

/* --- Sammelkarten: ein Portrait je Spalte, ueber dem Bereichslabel -------

   Hat in einer Sammelkarte mindestens eine Person ein Bild, gibt das
   Template jeder Spalte einen .boxer__portrait-slot. Dessen feste Hoehe
   haelt den Platz auch in der Spalte ohne Bild frei, damit beide Spalten
   auf derselben Linie beginnen.
   78px = 64px Bild + 14px Abstand darunter.
   ------------------------------------------------------------------------ */

.boxer--multi img.boxer__portrait {
	width: 64px;
	height: 64px;
	min-width: 64px;
	max-width: 64px;
	margin: 0 0 14px 0;
}

.boxer--multi .boxer__portrait-slot {
	display: block;
	min-height: 78px;
}

/* Ab hier stehen die Spalten untereinander - dann braucht es keinen
   reservierten Platz mehr, er waere nur eine Luecke. */
@media (max-width: 991px) {

	.boxer--multi .boxer__portrait-slot {
		min-height: 0;
	}
}

/* --- Mobile -------------------------------------------------------------- */

@media (max-width: 575px) {

	.boxer img.boxer__portrait,
	img.location__portrait,
	.boxer img.location__portrait,
	.gm-style-iw img.location__portrait {
		width: 56px;
		height: 56px;
		min-width: 56px;
		max-width: 56px;
	}

	.boxer .boxer__head,
	.location__head {
		gap: 14px;
	}
}