/* ==========================================================================
   tour.css
   Tour-spezifische Regeln und Overrides gegenüber openhistory.css.
   Extrahiert aus cms.berlinhistory.css (jetzt _cms.berlinhistory.css).
   Wird in oben_tour.php NACH openhistory.css geladen.
   ========================================================================== */

@font-face {
  font-family: Open Sans;
  src: url(fonts/OpenSans-VariableFont_wdth,wght.ttf)
}

body {
	font-family: 'Open Sans', sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%;
	background:#F0F0F0;
	margin:0;
	/*font-size: 1em;
	line-height:1em;*/
	font-weight:400;
	min-width:485px;
	color:rgba(255,255,255,0.85)
	}

select#type {
	width:250px;
}

.button-leiste .button.select{
    cursor:default;
	background-color:#E2DFF0;

}

.subnavi {
    position: fixed;
    top: 60px;
    left: 1150px;
    height: 20px;
    text-align: left;
    z-index: 200;
    transition: all 0.2s ease 0s;
    font-size: 0.9em;
  /*  opacity: 0.9;*/
	padding: 0 15px;
	

	 
}

.navi .langbuttons {
position:absolute;
	top:10px;
	right:200px;
}

.subnavi.verysmall {
left: 825px !important;	
}

.subnavi .aktiv {
    border-bottom: 1px solid rgba(255,255,255,1);
	background-color: rgba(0, 0, 0, 0.75) !important;
	padding: 0 15px;

}

#top-menu-public.block {	
min-width: 450px;	
}

section.block.tourstep {
	display:flex;
	min-width:1500px;
	}

.left_side {
	flex-basis: 480px;	
	background-color: #0E4A62;
	padding-top: 2em;
	/*text-align: center;*/
	display: flex;
	justify-content: center;
	}

.left_side .sort_bar{
width: 0px;
}

.left_side .handle {
	width: 20px;
	padding: 5px;
	display: none;
}

.left_side .step_form{
	margin: 1em .2em;
}

.left_side .step_title {
	font-weight: 700;
}

.left_side .step{
	background-color:rgba(255,255,255,0.3);
	padding: 7px 10px 7px 14px;
}

.left_side .kasten.select .step{
	background: rgba(0,0,0,0.3);
}

.left_side .kasten.select .sort_bar {
	background: rgba(0,0,0,0.3);
}

.right_side {
	flex-basis: 60%;
	margin: 10px 50px;
	}

.right_side .handle{
	width: 20px;
	padding: 5px;
}

.right_side .sub .handle{
	width: 16px;
	padding: 4px;
}

.right_side .container{
	width: 100%;
}

.right_side .lang{
	background-color:rgba(255,255,255,0.3);
	margin: 0 .5em;
}

.sidebar_sortable{
	width: 430px;
	padding-top: 50px;
}

/*edit tourstep*/
.table {
    display: flex;
    flex-flow: column;
    background-color: #597c86d6;
    max-width: 100%;
	padding: 20px;
}

.table.header {
	padding: 0;
}

.sub_sortable{
	margin-left: 21px;
	margin: 1em 0 1em 21px;
}

.table__row {
    display: flex;
    max-width: 100%;
}

.table__row.header_top{
    background-color:rgba(82,82,82,0.50);
    color:#F7F7F7;
	padding:0 20px 0 50px;
}

.table__row.top_buttons{
	padding:0 20px 0 50px;
}

.sub_sortable .table__row {
	background: rgba(0,0,0,0.10);
    border-top:  .25px solid rgba(0,0,0,0.5);
	border-bottom:  .25px solid rgba(0,0,0,0.5);
	overflow: hidden;
}

.table__row.buttons{
	padding:2em 10px;
	align-items:  center;
}

.table__row .left{
	align-self:  flex-start;
}

.table__row .right{
	align-self:  flex-end;
}

.table__column {
    text-align: left;
    flex-grow: 1;
    flex-basis: 0;
    padding: 1em 1em;
}

.table__column.nolang{
    flex-grow: 0;
	padding-left: 4em;
	padding: 1em 4em;
	flex-basis:500px;
	min-width: 350px;
	max-width: 800px;
}

.table__column.nolangsmall {
    flex-grow: 0;
    /*padding-left: 4em;
    padding: 1em 4em;
    flex-basis: 500px;*/
    min-width: 100px;
    max-width: 300px;
}

.table__column.lang{
    flex-grow: 0;
	padding-left: 4em;
	padding: 1em;
	flex-basis: 450px;
	min-width: 200px;
	max-width: 800px;
}

.table.header .table__column.nolang{
	
}

.sub_sortable .table__column.nolang{
	padding: 1em 0em 1em 4em ;
}

.table__column.weg{
    display: block;
    text-align: left;
    width:50px;
    padding: 0 1rem;
	flex-grow: unset;
	flex-basis: unset;
	min-width: 50px;
/*    word-break: break-word;*/
}

.table__column.weg * {
	display: none;	
}

.header_top .lang{
	cursor: pointer;
}

.content_type {
	color:#F7F7F7;
	padding: 3px 7px;
    margin: 0 0 0 7px;
	  }

audio { 
	width: 100%; 
}

.kasten.main{
	display: flex;
}

.kasten .sort_bar{
cursor: pointer;
	background-color: rgba(31,30,30,0.40);
	
}

.kasten .images_sortable .sort_bar,
.kasten .antwort_sortable .sort_bar{
	/*position: absolute !important;
	height: 100%;*/
	width: 30px;
	
}

.menu{
display: inline-flex;
width: 120px;}

/*content*/
.block{
	position:relative;
	margin:0 auto;
/*	max-width:1280px;
*/	min-width:650px;
	z-index:66;
	/*padding:40px 40px;*/
	font-size:0.8em;
	}

.caption-text{
position: absolute;
bottom: 20px;
background-color:rgba(0, 0, 0, 0.5);
color: white;
width:100%;
}

.container.fix{
background-color: #510416b0;
}

/*attribution*/	
.attribution{
	position: absolute;
	left:15px;
	bottom:10px;
	padding:0 15px;
	font-size:0.66em;
	z-index:66;
	color:rgba(255,255,255,0.85);
}

/*eingabe*/
section .error {
color:#f7041a !important;
}

.admin{	
	background: rgba(0,0,0,0.35);
	max-width: 1300px;
	min-width: 1300px;
	padding: 30px 40px;
}

.admin .left.column{	
	width:400px;
}

.admin .right.column{
	width:900px;
}

.tab1{
	float:left;
	width:27%;
	margin:2px 4% 3px 0;	
	text-align:right;
	/*line-height:19px;*/	
    color: #FFF;
	font-size: 12px;
	}

.tab2{
	float:left;	
	margin:2px 0 3px 0;
	width:65%;
	min-height:18px;
	}

.tab3 {
  float: left;
  margin: 2px 0 3px 0;
  width: 25%;
  min-height: 18px;
}

.tab_name{
	float:left;
	width:27%;
	margin:2px 4% 3px 0;	
	text-align:right;
	line-height:19px;	
    color: #000000;
	font-size: 12px;
	}

.tab_value{
	float:left;	
	margin:2px 0 3px 0;
	width:65%;
	min-height:18px;
	}

.tab_value input{
	background: rgb(255, 255, 255,0.8);	
	color: #000000 !important;
}

.tab_value_short{
	float:left;	
	margin:2px 0 3px 0;
	width:15%;
	min-height:18px;
	}

.tab_value_short input{
	background: rgb(255, 255, 255,0.8);	
	margin:2px 0 3px 0;
	width:15%;
	min-height:18px;
	color: #000000 !important;
}

.tab_value_short input.richtig {
	margin:2px 0 3px 0;
	width:50%;
	min-height:18px;
	background: rgba(191, 191, 191, 0.8);	
	color: green !important;
}

.tab_value_short input.falsch {
	margin:2px 0 3px 0;
	width:50%;
	min-height:18px;
	background: rgba(157, 150, 150, 0.8);	
	color: firebrick !important;
}

.tab_value.copyright {
width: 242px;
background: rgb(255, 255, 255,0.8);
border-radius: 2px;
border: 0 none;
padding: 4px;
color: #000000;
font-size: 14px;
line-height: 17px;	
}

.tab3{
	float:left;	
	margin:2px 4% 3px 0;	
	width:52px;
	min-height:18px;
	}

input, textarea {
    font-family: "Roboto",sans-serif;
    width: calc(100% - 8px);
    background: rgba(200,200,200,0.4);
    border-radius: 2px;
    border: 0 none;
    padding: 4px;
    color: #FFF;
    font-size: 14px;
    line-height: 17px;	
}

.right_side textarea {
resize: vertical;	
}

input.short, textarea {
    font-family: "Roboto",sans-serif;
    width: 180px;
    background: rgba(200,200,200,0.4);
    border-radius: 2px;
    border: 0 none;
    padding: 4px;
    color: #FFF;
    font-size: 14px;
    line-height: 17px;
	margin: 1px;
}

input.min, textarea {
    font-family: "Roboto",sans-serif;
    width: 30px;
    background: rgba(200,200,200,0.4);
    border-radius: 2px;
    border: 0 none;
    padding: 4px;
    color: #FFF;
    font-size: 14px;
    line-height: 17px;
	margin: 1px;
}

input.long, textarea {
    font-family: "Roboto",sans-serif;
    width: 100%;
    background: rgba(200,200,200,0.4);
    border-radius: 2px;
    border: 0 none;
    padding: 4px;
    color: #FFF;
    font-size: 14px;
    line-height: 17px;
}

.mce-content-body {
    background: rgba(200,200,200,0.4);
    padding: 4px;
}

.mce-content-body p{
	margin: .5em 0;
}

label{
	font-size: 0.8em;
	margin-top: .5em;
}

.thumb.slim{
	width:170px;
	
}

.map{	
	position: relative;
	background: rgba(0,0,0,0.35);
	height: 900px;

	
	
	
}

/*.index .map {
	height: 550px;
	width: calc(100% - 50px);	
}*/
.map .button{
	font-size: 14px;
	position: absolute;
	right: 10px;
	bottom: 10px;
	
}

.button{
	font-size: 1.5em;
	background-color: #1ED4FF;
	padding: 2px 10px;
	margin: 0 0 0 10px;
	cursor: pointer;
	border-radius: 5px;
	line-height: 1.4em;
	font-weight: bold;
	display: inline;
}

.button.save{
	
}

button {
	border:none;
}

button:disabled,
button[disabled]{
  border: none;
  background-color: #cccccc;
  color: #666666;
}

.button.delete{
	height: 32px;
	width: 32px;
	padding: 3px;
    border-radius: 20px;
    background: url('images/delete.svg') #DA1313 no-repeat center center / 22px;
}

button.button.delete{
	height: 32px;
	width: 32px;
/*	margin-top: -2px;*/
}

.button.edit{
	height: 32px;
	width: 32px;
	padding: 3px;
    border-radius: 20px;
    background: url('images/edit.svg') #1ED4FF no-repeat center center / 22px;	
}

.button.add{
	padding-left: 37px;
    background: url('images/add.svg') #0E4A62 no-repeat 8px center / 22px;
	color: rgba(255,255,255,1.00) !important;
	
}

.button.small{
	font-size: 1.0em;
	background-color: #0E4A62;
	padding: 3px 8px;
	color: rgba(255,255,255,1.00) !important;
	border-radius: 3px;
	margin: 0 3px 0 0;

}

.button.free{
	display:none;
}

.button.free, .button.landscape{
font-size: 1em;
background-color: #FF5D1E91;
padding: 2px 10px;
margin: 0 0 0 0;
}

.image_button{
	height: 53px;
	width: 54px;
	display: inline-block;
	vertical-align: bottom;
	line-height: 7.2;
	border-radius: 4px;
	font-size: 0.8em;
	color:#F7F7F7;
	padding: 5px;
    cursor: pointer;
	text-align: center;
	background-size: 30px !important;
	background-position: center 5px !important;
	opacity: 0.8;
}

#text_neu{
	background: url('images/icon_text.svg') #0E4A62 no-repeat;	
}

#galerie_neu{
	background: url('images/icon_galerie.svg') #0E4A62 no-repeat;	
}

#audio_neu{
	background: url('images/icon_audio.svg') #0E4A62 no-repeat;	
}

#video_neu{
	background: url('images/icon_video.svg') #0E4A62 no-repeat ;	
}

#frage_neu{
	background: url('images/icon_frage.svg') #0E4A62 no-repeat;	
}

.view_buttons{
	display: inline-block;
	background: #92A3A7;
	border-radius: 7px;
	padding: 3px 4px;
	margin: 2em .5em;
	color: #000;
	font-weight: 500;
}

.image_button.view{
	height: 109px;
	width: 56px;
	display: inline-block;
	line-height: 19.5;
	border-radius: 6px;
	font-size: 0.8em;
	color: #F7F7F7;
	padding: 4px 4px;
	cursor: pointer;
	text-align: center;
	background-size: 47px !important;
	background-position: center 7px !important;
	opacity: 0.8;
	margin: 3px auto;
	font-weight: 600;
}

.image_button.view a:link,
.image_button.view a:visited{
	color: #000;
}

.image_button.view.select a:link,
.image_button.view.select a:visited{
	color: #fff;
}

.image_button.view.select{
	background-color: #0E4A62 !important;
	
}

#gone{
	background: url('images/view_hidden.svg')  no-repeat;	
}

#split{
	background: url('images/view_split.svg')  no-repeat;	
}

#full{
	background: url('images/view_full.svg')  no-repeat;	
}

#small{
	background: url('images/view_small.svg')  no-repeat;	
}

#large{
	background: url('images/view_large.svg')  no-repeat;	
}

a.button, a.button:link, a.button:visited,
.button a, .button a:link, .button a:visited {
    opacity: 1;
    text-decoration: none;
    transition: all 0.5s ease 0s;
    outline: 0;
   color: #0E4A62;
	opacity: 0.8;
}

.image_button:hover,
a.button:hover,
.button a:hover{
opacity: 1;
}

.right.vnb{
	float:right;
/*	width: 30% !important;
*/	}

.map{
		display:none;
		
	}

#geocoder-container > div {
    min-width:50%;
    margin-left:25%;
}

.marker.locate {
  background-image: url('images/locate.png');
  background-size: contain;
	width: 59px;
  	height: 59px;
  cursor: pointer;
}

.marker {
  background-image: url('images/pin_rot_offset.png');
  background-size: contain;
  
	width: 40px;
  	height: 125px;
/*  border-radius: 50%;
*/  cursor: pointer;
}

.marker.move {
  background-image: url('images/pin_rot_offset_move.png');
  background-size: contain;
  
	width: 40px;
  	height: 125px;
/*  border-radius: 50%;
*/  cursor: pointer;
}

.gallery_container img{
	width: 400px;
	height: 300px;
	object-fit: cover;
}

.gallery_container.portrait img{
	height: auto;
	object-fit: cover;
}

.gallery_toursteps img{
	width: 250px;
	height: 200px;
	object-fit: cover;
}

#content .kasten{
	position:relative;
	background-color:rgba(14,74,98,0.75);
/*	padding:7px;
	padding: 0px 0px 5px;
	color:#000;*/
	margin-bottom:12px;
	overflow: hidden;
	}

#stepplist .kasten.content{
	position:relative;
	background-color:rgba(14,74,98,0.75);
/*	padding:7px;
	padding: 0px 0px 5px;
	color:#000;*/
	margin-bottom:12px;
	overflow: visible;
	}

#content .kasten p{
	/*margin:0.5em 0 0.5em 8px;*/
	}

.left_side .button-leiste {
	position:fixed;
	padding:0 !important;
}

.kasten .bottom{
position: absolute;
bottom: 1px;
right: 10px;
	padding-top: 5px;
	}

.title_move{
	display:block;
margin:0px 0px 0px 40px;
	padding: 3px 0px;
color:white;
}

.kasten .buttons.right{
	width:200px;
}

.kasten .buttons.right.ids{
	text-align:right;
	margin-right:5px;
	position: absolute;
bottom: 1px;
right: 10px;
padding-top: 5px;
}

.kasten .content.left{
	width:610px;
}

.kasten .content.left.small{
	width:670px;
}

.kasten .content.left.small .leftimg{
	float:left; 
	margin:10px 10px;
}

.kastenl .buttons.right p{
	margin:8px 8px !important;
	}

.iphone_se{
width: 200px;
	background-color: rgba(249,247,247,1.00);
	color: rgba(42,41,41,0.90);
	padding: 5px 18px;
}

.iphone_xs{
width: 400px;
	background-color: rgba(249,247,247,1.00);
	color: rgba(42,41,41,0.90);
	padding: 5px 18px;
}

/*startpages*/
.caption-text-startpage{
position: absolute;
bottom: 4px;
background-color:rgba(0, 0, 0, 0.5);
color: white;
width:100%;
border-top: 3px solid #9dae70;

}

.caption-text-startpage  {
white-space: nowrap;
}

/*edit tour*/
.mapboxgl-popup {
    padding-bottom: 60px;
	max-width:none !important;
}

.mapboxgl-popup-tip{
			border-bottom-color: rgba(243,239,239,1.00) !important;
				border-top-color: rgba(243,239,239,1.00) !important;

	}

.mapboxgl-popup-content{
		width:250px;
		border-radius: 8px!important;
		background-color: rgba(34,33,33,0.95) !important;
		color: rgba(252,251,251,1.00);
/*		border: solid rgba(243,239,239,1.00);*/	
		padding: 5px 5px 1px;
		border:solid thin rgba(243,239,239,1.00);
	}

.mapboxgl-popup-content .titel{
		font-size:14px;

		color: rgb(139, 187, 247, 1);

	}

.mapboxgl-popup-close-button {
	position: absolute;
	right: 7px;
	top: 7px;
	border: 5px;
	border-radius: 5px;
	cursor: pointer;
	background-color:#d9d9d9;
}

.mapboxgl-popup-close-button:hover {
	background-color: rgb(245, 251, 251);
}

.answer{
	display:none;	
	}

.answer.show{
	display:block;
	}

.langbutton {
    background-color: blue;
    }

.langbutton.select {
    background-color: red;
    }

#geocoder-container > div {
    min-width:50%;
    margin-left:25%;
	}

.text_inline {
	display: block;
	min-height: 40px;
	min-width: 40px;
	background: rgba(200,200,200,0.4);
	resize: both;
	overflow: auto;
	max-height: fit-content;
	/*max-width: fit-content; entfernt von Klaus*/
	}

.caption_textfield{
	min-height: 40px;
	background: rgba(200,200,200,0.4);
	display: block;
	}

/* --------------------------------------------------------------------------
   Resets: Properties, die openhistory.css setzt, die es im alten
   cms.berlinhistory.css aber nicht gab (verhindert Layout-Drift)
   -------------------------------------------------------------------------- */
.block { padding: revert; }
section .error { display: revert; }
.tab1 { line-height: revert; }
