/*********/
/* fonts */
/*********/
@font-face {
	font-display: swap;
	font-family: "Karla-Regular";
	src: url("./fonts/Karla-Regular.ttf");
}
@font-face {
	font-display: swap;
	font-family: "Karla-Bold";
	src: url("./fonts/Karla-Bold.ttf");
}
@font-face {
	font-display: swap;
	font-family: "Karla-Italic";
	src: url("./fonts/Karla-Italic.ttf");
}
@font-face {
	font-display: swap;
	font-family: "Karla-BoldItalic";
	src: url("./fonts/Karla-BoldItalic.ttf");
}


/**********/
/* global */
/**********/
html * {
	font-family: "Karla-Regular";
}
html, body {
	height: 100%;
	width: 100%;
}
/* icons */
.social_group {
	display: flex;
	padding-bottom: 10px;
	align-items: center;
}
.sm_logo {
	font-size: 1.5em;
	width: 40px;
	height: 30px;
	margin-right: 5px;
}
.social_icon {
	width: 30px;
	height: 30px;
	position: absolute;
	border: 1px solid rgb(62 161 158);
	border-radius: 50%;
	box-shadow: 0 1px 3px rgb(0 0 0 / 12%), 0 1px 2px rgb(0 0 0 / 24%);
}
.fb_icon {
	background: url(./img/icons/facebook_white.svg) no-repeat;
	background-color: rgb(62 161 158);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 20px;
}
.tw_icon {
	background: url(./img/icons/twitter_white.svg) no-repeat;
	background-color: rgb(62 161 158);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 16px;
}
.in_icon {
	background: url(./img/icons/instagram_white.svg) no-repeat;
	background-color: rgb(62 161 158);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 20px;
}
.tt_icon {
	background: url(./img/icons/tiktok_white.svg) no-repeat;
	background-color: rgb(62 161 158);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 28px;
}


/***************/
/* map styling */
/***************/
#map {
	outline: none;
	position: absolute;
	left: 0;
	bottom: 0;
	top: 0;
	width: 100%;
	background-color: #3ea19e;
}
.leaflet-control-attribution {
	background: rgb(62 161 158 / 60%) !important;
	color: #ffffff;
}
.leaflet-control-attribution a {
	color: #ffffff;
	font-size: 1.1em;
}


/***************/
/* map markers */
.marker_icon {
	border-radius: 30px;
	position: absolute;
	width: 30px;
	height: 30px;
	border: 2px solid white;
	background-color: transparent;
	transition: all 1s;
	background: url(./img/markers/map-pin-1.png);
	background-size: 1.4em;
	background-position: center;
	background-repeat: no-repeat;
	background-color: rgba(255, 255, 255, 1);
}
.leaflet-marker-icon {
	-webkit-filter: drop-shadow(1px 1px 2px rgba(34, 34, 34, 0.75));
	filter: drop-shadow(1px 1px 2px rgba(34, 34, 34, 0.75));
}

.pulse {
	background-color:rgba(255, 255, 255, 0.3);
	border-radius: 30px;
	height: 30px;
	width: 30px;
	animation: pulsate 1.8s infinite ease-out;
	position: absolute;
	display: none;
}
/* fancy pulsing animation */
@keyframes pulsate {
	0% { box-shadow: 0 0 5px 2px rgb(247, 232, 215, 0.5); }
	50% { box-shadow: 0 0 20px 10px rgba(247, 232, 215, 1); }
	100% { box-shadow: 0 0 5px 2px rgba(247, 232, 215, 0.5); }
}


/*********************/
/* map filter/legend */
/*********************/
.leaflet-filter-btn {
	cursor: pointer;
	background: url(./img/icons/category.svg) no-repeat;
	background-color: white;
	background-size: 20px;
	background-position: center center;
	height: 40px;
	width: 40px;
	float: left;
}
#filter_legend {
	display: none;
	background-color: #3ea19e;
	color: #f7e8d7;
	/*border: 10px solid #5aaca6;*/
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	max-height: 52%;
	max-width: 310px;
	overflow: auto;
	padding: 20px;
	position: absolute;
	bottom: 25px;
	left: 10px;
	z-index: 1001;
}
.filter_close {
	cursor: pointer;
	background: url(./img/icons/close_white.svg) no-repeat;
	background-size: 22px;
	background-position: center;
	width: 22px;
	height: 22px;
	top: 10px;
	right: 10px;
	position: absolute;
}
.filter_title {
	font-size: 1.2em;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
	line-height: normal;
	margin-bottom: 5px;
	padding: 0 10px;
}
.filter_title.secondary {
	margin-top: 1rem;
}
.filter_addition {
	font-size: .8em;
	text-align: center;
	margin-bottom: 5px;
}
.filter_categories {
	font-size: .9rem;
}
.filter_themes {
	font-size: 0.9rem;
}
/* toggles and */
.layers_el {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 2rem;
	/*padding: 5px 0;*/
}
.layer_name {
	display: flex;
	align-items: center;
	margin-right: 1em;
}
.legend_icon {
	display: inline-block;
	height: 25px;
	width: 25px;
	min-width: 25px;
	margin-right: 10px;
	line-height: 2rem;
	vertical-align: middle;
}
/************/
/* dropdown */
/************/
#header_dropdown_btn {
	cursor: pointer;
	display: none;
	position: absolute;
	z-index: 1000;
	top: 10px;
	background: rgb(247 232 215);
	color: rgb(62 161 158);
	text-transform: uppercase;
	font-size: 1.2em;
	font-weight: bolder;
	border-radius: 0px 5px 5px 0;
	border: 0;
	box-shadow: 0 3px 14px rgb(0 0 0 / 40%);
}
.dropdown-toggle::after {
	margin-left: 1em;
	vertical-align: .105em;
}
#header_dropdown_content {
	background: rgb(62 161 158);
	color: rgb(247 232 215);
	text-transform: uppercase;
	font-size: 1.1em;
	font-weight: bold;
	padding: .5em;
	top: 105px !important;
}
.dropdown_addition {
	padding-bottom: .5em;
	font-size: .8em;
	font-weight: 100;
	font-style: italic;
	text-transform: none;
}

#header_submit_button {
	cursor: pointer;
	display: none;
	position: absolute;
	z-index: 1000;
	background: rgb(247 232 215);
	color: rgb(62 161 158);
	text-transform: uppercase;
	font-size: 1.4em;
	font-weight: bolder;
	border-radius: 5px;
	border: 0;
	box-shadow: 0 3px 14px rgb(0 0 0 / 40%);
	top: 10px;
	left: 10px;
	animation: btn_flash infinite 1s;
}
@-webkit-keyframes btn_flash {
	0% { opacity: 1 }
	50% { opacity: 0.7 }
	100% { opacity: 1 }
}
@keyframes btn_flash {
	0% { opacity: 1 }
	50% { opacity: 0.7 }
	100% { opacity: 1 }
}



/*******************/
/* toggle switches */
/*******************/
.b {
	display: block;
}
.toggle {
	position: relative;
	height: 20px;
	width: 40px;
	min-width: 40px;
	border-radius: 100px;
	background-color: #ddd;
}
.check {
	position: absolute;
	display: block;
	cursor: pointer;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	z-index: 6;
}
.check:checked ~ .track {
	box-shadow: inset 0 0 0 20px #f7e8d7;
}
.check:checked ~ .switch {
	right: 2px;
	left: 22px;
	transition: .35s cubic-bezier(0.785, 0.135, 0.150, 0.860);
	transition-property: left, right;
	transition-delay: .05s, 0s;
}
.switch {
	position: absolute;
	left: 2px;
	top: 2px;
	bottom: 2px;
	right: 22px;
	background-color: #fff;
	border-radius: 36px;
	z-index: 1;
	transition: .35s cubic-bezier(0.785, 0.135, 0.150, 0.860);
	transition-property: left, right;
	transition-delay: 0s, .05s;
	box-shadow: 0px 1px 3px 0px rgb(0 0 0 / 66%);
}
.track {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	transition: .35s cubic-bezier(0.785, 0.135, 0.150, 0.860);
	box-shadow: inset 0 0 0 2px rgba(0,0,0,.05);
	border-radius: 40px;
}


/*******************/
/* sidebar styling */
/*******************/
#sidebar_wrapper {
	right: 0;
	position: fixed;
	bottom: 0;
	top: 0;
	color: black;
	width: 40%;
	box-shadow: 10px 0px 20px 0px rgb(0 0 0 / 80%);
	transition: all 1s;
	z-index: 1040;
}
#sidebar {
	right: 0;
	position: absolute;
	bottom: 0;
	top: 0;
	color: black;
	overflow: auto;
	background-color: rgb(247 232 215);
	width: 100%;
	transition: all 1s;
	z-index: 1040;
}
#sidebar_background {
	background-color: rgb(247 232 215);
}
.sidebar_hidden {
	margin-right: -40% !important;
}


/**********/
/* header */
#sidebar_header_block {
	align-items: center;
	display: flex;
	background-color: #F7E8D7;
	justify-content: space-between;
	margin: 1em 2em 0 2em;
}

.snorkeling_boy {
	width: 35%;
	max-width: 170px;
}
.header_text {
	font-size: 2em;
	font-weight: bold;
	text-align: center;
	margin: .25em;
	line-height: normal;
}


/***************/
/* translation */
#sidebar_translation {
	display: flex;
	font-style: italic;
	justify-content: center;
	margin-bottom: .5em;
}

#sidebar_translation_link {
	cursor: pointer;
	color: #3ea19e;
	border-bottom: 1px dotted;
	margin-left: 5px;
}



/***********/
/* content */
#sidebar_content {
	padding: 0em 1.5em 1em 1.5em;
	font-size: 1.1em;
}
#sidebar_story_title {
	font-size: 2em;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
	padding: 1em 2em 0.25em 2em;
	line-height: initial;
}
#sidebar_author_name_block {
	display: flex;
	align-items: center;
	justify-content: center;
}
#sidebar_author_name {
	font-weight: bold;
	font-family: "Karla-Bold";
}
#sidebar_social {
	display: flex;
	margin-left: .5em;
}
#sidebar_categories {
	margin-top: .5em;
}
.sidebar_takeaction_block {
	display: flex;
	justify-content: center;
}
.btn_takeaction {
	color: white;
	background-color: #3ea19e;
	font-size: 1.6em;
	margin: .5em;
}
.btn_takeaction:hover {
	color: white;
	background-color: #2c6b69;
}

.social_footer {
	width: 25px;
	height: 25px;
	margin-right: 10px;
	border-radius: 20px;
}
.social_facebook {
	background: url(./img/icons/spritesheet_150.png) 5px -235px;
	background-color: #3ea19e;
}
.social_instagram {
	background: url(./img/icons/spritesheet_150.png) -55px 65px;
	background-color: #3ea19e;
}
.social_twitter {
	background: url(./img/icons/spritesheet_150.png) -55px -55px;
	background-color: #3ea19e;
}
.text_description {
	font-style: italic;
	font-size: .8em;
}


/*****************/
/* geocoded list */
#geocoded_list {
	display: block;
	position: absolute;
	background-color: #f1f1f1;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
}
#geocoded_list a { /* links inside the dropdown */
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
}
#geocoded_list a:hover { /* change color of dropdown links on hover */
	background-color: #ddd
}


/**********/
/* footer */
#sidebar_author {
	padding: 1em 2em 1em 2em;
	text-align: center;
}
#sidebar_author:empty {
	padding: 0;
}

#sidebar_shares {
	padding: 1em 2em 1em 2em;
	display: flex;
	align-items: center;
	justify-content: center;
}
#copy_url_block {
	display: inline-block;
}
#copy_url_button {
	cursor: pointer;
	width: 40px;
	margin: .5em .25em;
}
#copy_url_ok {
	display: none;
}

#sidebar_footer {
	display: none;
	margin: 0 1.5em;
	padding: .5em 1em;
	border: 5px solid #3ea19e;
	color: #3ea19e;
	font-weight: bold;
}
#sidebar_footer_categories {
	display: flex;
	flex-wrap: wrap;
	font-weight: normal;
}
.sidebar_footer_categories_title {
	font-style: italic;
}
.sidebar_footer_category {
	display: flex;
	align-items: center;
	padding: .25em 0.5em;
}
.category_img {
	/*background-color: white;*/
	height: 30px;
}
.category_title {
	padding: .5em;
}
#sidebar_footer_theme {
	font-style: italic;
}
.sidebar_footer_theme_clickable {
	cursor: pointer;
	border-bottom: 1px dotted;
}
#theme_description {
	height: 0;
	opacity: 0;
	transition: all 1s;
}
#theme_description.visible {
	margin-top: 1rem;
	font-weight: 500;
	height: auto;
	opacity: 1;
}


/* close/open button */
#info_sidebar_toggle {
	color: gray;
	cursor: pointer;
	background-size: 22px !important;
	background-position: center !important;
	width: 35px;
	height: 40px;
	display: inline-block;
	border-radius: 10px 0 0 10px;
	position: relative;
	top: 35px;
	transform: translate(0,-50%);
	right: 35px;
	padding: 0 10px;
	z-index: 1052;
	box-shadow: -4px 0px 9px 0px rgb(0 0 0 / 10%);
	background: url(./img/icons/close.svg) no-repeat #f7e8d7;
	transition: all .6s;
}
.sidebar_closed_btn {
	background: url(./img/icons/chevron_left.svg) no-repeat #f7e8d7 !important;
	transition: all .6s !important;
}

/* sidebar elements */
.sidebar_story_element {
	margin-bottom: 15px;
}
.sidebar_header {
	font-size: 1.8rem;
	font-weight: 500;
	line-height: 1.2;
	word-break: break-word;
}
.sidebar_text {
	text-align: left;
	word-break: break-word;
}
.chars_count {
	font-size: 0.9em;
	color: #9a9a9a;
}
.chars_count_top {
	position: absolute;
	font-size: 0.9em;
	color: #9a9a9a;
	top: 10px;
	right: 10px;
}
.chars_note {
	font-style: italic;
	font-size: .8em;
	text-align: justify;
	line-height: 1.4em;
	margin-top: 5px;
	padding-top: 5px;
}
.text_original_w_translation {
	font-size: smaller;
	color: #0000006e;	
}

.story_image {
	width:100%;
}
.lazy-loading {
	filter: blur(5px);
}

/* sidebar big image */
.story_image:hover,
.story_image:focus {
	opacity: 0.85;
	transition: opacity 0.3s;
	-webkit-transition: opacity 0.3s;
}

/* fancy image gallery */
.sidebar_gallery {
	width: 100%;
	position: relative;
	padding: 20px 0;
}
#gallery {
	margin: 0;
	padding: 0;
	position: relative;
	display: flex;
	flex-wrap: wrap;
}
.gallery_el {
	flex: 50%;
	max-width: 50%;
	height: 150px;
	float: left;
	list-style: none;
	cursor: pointer;
	background-color: black;
	position: relative;
	overflow: hidden;
}
.gallery_el:hover {
	opacity: 0.85;
	transition: opacity 0.3s;
	-webkit-transition: opacity 0.3s;
	-moz-transition: opacity 0.3s;
}
.gallery_el_photo {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 100%;
	transition: all .5s;
}
.gallery_el:hover .gallery_el_photo,
.gallery_el:focus .gallery_el_photo {
	transform: scale(1.2);
	
}

/* responsive layout */
@media (max-width: 800px) {
	.sidebar_gallery > a > img {
		flex: 50%;
		max-width: 50%;
	}
}
@media (max-width: 600px) {
	.sidebar_gallery > a > img {
		flex: 100%;
		max-width: 100%;
	}
}

/* sidebar video */
.sidebar_media {
	position: relative;
}
.video-poster {
	background-color: rgba(0, 0, 0, 0.7);
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	-webkit-transition: background-color 0.15s ease 0s;
	-o-transition: background-color 0.15s ease 0s;
	transition: background-color 0.15s ease 0s;
}
.play_button {
	left: 50%;
	top: 50%;
	position: absolute;
	transform: translate(-50%, -50%);
}


/***********************/
/* sidebar intro stuff */
/***********************/
/* diver img */
.diver_img {
	float: left;
	margin: 1em;
	width: 200px;
}
/* intro lady */
.intro_lady_img {
	float: left;
	/*margin: 1em;*/
	width: 100px;
}


/***********************/
/* sidebar - thank you */
/***********************/
.thankyou_block {
	line-height: initial;
	text-align: center;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background-image: url(./img/03_Graphics.png);
	background-repeat: no-repeat;
	background-size: cover;
}
.thankyou_filter {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	padding: 2em;
	backdrop-filter: blur(10px);
}
.thankyou_title {
	font-size: 2.5em;
	font-weight: bold;
	text-transform: uppercase;
}
.thankyou_text {
	font-size: 2em;
	line-height: initial;
	margin-top: 1.3em;
}


/***************************/
/* constructor - multiform */
/***************************/
/* Hide all steps by default: */
.tab {
	display: none;
}
/* Make circles that indicate the steps of the form: */
.step {
	height: 15px;
	width: 15px;
	margin: 0 2px;
	background-color: #bbbbbb;
	border: none;
	border-radius: 50%;
	display: inline-block;
	opacity: 0.5;
}
/* Mark the active step: */
.step.active {
	opacity: 1;
}


/***********************/
/* constructor - intro */
/***********************/
.constructor_intro_title {
	font-size: 2em;
	font-weight: bold;
	text-align: center;
}


/**********************/
/* constructor - list */
/**********************/
#constructor_sidebar_close {
	position: absolute;
	right: 10px;
	font-size: 2rem;
	cursor: pointer;
	z-index: 1000;
}
#constructor_sidebar {
	right: 0;
	position: fixed;
	bottom: 0;
	top: 0;
	color: black;
	overflow: auto;
	background-color: rgb(255, 255, 255);
	width: 50%;
	box-shadow: 10px 0px 20px 0px rgba(0, 0, 0, 0.65);
	transition: all 1s;
	height: 100%;
	z-index: 1041;
	margin-right: 0%;
}
.constructor_hidden {
	margin-right: -50% !important;
}
#constructor {
	display: flex;
	flex-direction: column;
	padding: 1em 0;
	margin-bottom: 1em;
}
.green_label {
	color: #3ea19e;
	font-family: "Karla-Bold";
}
#sortable {
	list-style: none;
	margin: 0;
	padding: 0;
}
.story_item {
	border: 1px solid grey;
	padding: .25em;
	margin: .25em 0;
	display: flex;
	align-items: center;
}
.story_item_drag_bg {
	background-color: #C8EBFB;
}
.handle {
	cursor: grab;
}


/***************************/
/* constructor multiselect */
/***************************/
.multi-select-container {
	display: inline-block;
	position: relative;
	width: 100%;
}
.multi-select-menu {
	position: absolute;
	left: 0;
	top: 0.8em;
	float: left;
	min-width: 100%;
	background: #fff;
	margin: 1em 0;
	padding: 0.4em 0;
	border: 1px solid #aaa;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	display: none;

	overflow-y: scroll !important;
	overflow-x: auto !important;
	z-index: 1000;
}
.multi-select-menu input {
	margin-right: 0.3em;
	vertical-align: 0.1em;
}
.multi-select-button {
	display: inline-block;
	font-size: 0.875em;
	padding: 0.2em 0.6em;
	max-width: 20em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: -0.5em;
	background-color: #fff;
	border: 1px solid #aaa;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	cursor: default;
}
.multi-select-button:after {
	content: "";
	display: inline-block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0.4em 0.4em 0 0.4em;
	border-color: #999 transparent transparent transparent;
	margin-left: 0.4em;
	vertical-align: 0.1em;
}
.multi-select-container--open .multi-select-menu { display: block; }
.multi-select-container--open .multi-select-button:after {
	border-width: 0 0.4em 0.4em 0.4em;
	border-color: transparent transparent #999 transparent;
}
.multi-select-menuitem {
	width: 100%;
	padding: 0 1em;
}


/***********************/
/* constructor buttons */
/***********************/
#add_block {
	display: flex;
}

#el_list {
	border-radius: 4px;
	background-color: white;
	padding: 10px;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
	position: relative;
	display: flex;
	flex-wrap: wrap;
}

svg {
	fill: #fff;
	width: 24px;
	height: auto;
}
.btn_add_elem {
	width: 50px;
	height: 50px;
	cursor: pointer;
	border: 1px solid rgb(62 161 158);
	border-radius: 50%;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
	transition: color 0.2s ease, background-color 0.2s ease, transform 0.3s ease;
	margin: 5px;
}
.add_header {
	background: url(./img/icons/header_white.svg);
	background-color: rgb(62 161 158);
	background-repeat: no-repeat;
	background-position: 7px 7px;
	background-size: 35px;
}
.add_header:hover {
	background: url(./img/icons/header_color.svg);
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: 7px 7px;
	background-size: 35px;
}
.add_text {
	background: url(./img/icons/text_white.svg);
	background-color: rgb(62 161 158);
	background-repeat: no-repeat;
	background-position: 6px 8px;
	background-size: 35px;
}
.add_text:hover {
	background: url(./img/icons/text_color.svg);
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: 6px 8px;
	background-size: 35px;
}
.add_hyperlink {
	background: url(./img/icons/hyperlink_white.svg);
	background-color: rgb(62 161 158);
	background-repeat: no-repeat;
	background-position: 6px 7px;
	background-size: 35px;
}
.add_hyperlink:hover {
	background: url(./img/icons/hyperlink_color.svg);
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: 6px 7px;
	background-size: 35px;
}
.add_image {
	background: url(./img/icons/image_white.svg);
	background-color: rgb(62 161 158);
	background-repeat: no-repeat;
	background-position: 6px 7px;
	background-size: 35px;
}
.add_image:hover {
	background: url(./img/icons/image_color.svg);
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: 6px 7px;
	background-size: 35px;
}
.add_gallery {
	background: url(./img/icons/gallery_white.svg);
	background-color: rgb(62 161 158);
	background-repeat: no-repeat;
	background-position: 6px 7px;
	background-size: 35px;
}
.add_gallery:hover {
	background: url(./img/icons/gallery_color.svg);
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: 6px 7px;
	background-size: 35px;
}
.add_video {
	background: url(./img/icons/webvideo_white.svg);
	background-color: rgb(62 161 158);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 35px;
}
.add_video:hover {
	background: url(./img/icons/webvideo_color.svg);
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 35px;
}
.add_instagram {
	background: url(./img/icons/instagram_white.svg);
	background-color: rgb(62 161 158);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 30px;
}
.add_instagram:hover {
	background: url(./img/icons/instagram_color.svg);
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 30px;
}
.add_twitter {
	background: url(./img/icons/twitter_white.svg);
	background-color: rgb(62 161 158);
	background-repeat: no-repeat;
	background-position: 12px 15px;
	background-size: 25px;
}
.add_twitter:hover {
	background: url(./img/icons/twitter_color.svg);
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: 12px 15px;
	background-size: 25px;
}
.add_facebook {
	background: url(./img/icons/facebook_white.svg);
	background-color: rgb(62 161 158);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 25px;
}
.add_facebook:hover {
	background: url(./img/icons/facebook_color.svg);
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 25px;
}
.add_tiktok {
	background: url(./img/icons/tiktok_white.svg);
	background-color: rgb(62 161 158);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 50px;
}
.add_tiktok:hover {
	background: url(./img/icons/tiktok_color.svg);
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 50px;
}


.button_block {
	position: relative;
	height: 30px;
	text-align: right;
	margin-top: 1em;
}
.btn-prevnext {
	display: inline;
	cursor: pointer;
	color: #f7e8d7;
	background-color: #3ea19e;
	border-color: #3ea19e;
	text-transform: uppercase;
	font-size: 1.4em;
}
.btn-prevnext:hover {
	color: white;
	background-color: #2d7573;
}
.btn.disabled, .btn:disabled {
	pointer-events: none;
}

.input_error {
	animation: shake 0.2s ease-in-out 0s 2;
	box-shadow: 0 0 0.5em red;
}
@keyframes shake {
	0% { margin-left: 0rem; }
	25% { margin-left: 0.5rem; }
	75% { margin-left: -0.5rem; }
	100% { margin-left: 0rem; }
}



/***************************************/
/* constructor - actual story elements */
/***************************************/
.story_element { /* story element */
	position: relative;
	margin: 1em 0;
	border-radius: 10px;
	padding: 1em;
	background: #ffffff;
	box-shadow:  5px 5px 15px #bababa, 
				 -5px -5px 15px #ffffff;
}
.remove_btn {
	cursor: pointer;
	color: #3ea19e;
}

.story_el_header, .story_el_text {
	width: 100%;
	border: 1px solid lightgrey;
	border-radius: 5px;
}
.story_el_header {
	font-size: 2em;
}
.story_el_text {
	font-size: 1em;
}

/* one image upload styling */
.dropzone_one {
	text-align: center;
}
.dropzone_one .dz-preview .dz-image {
	width: 100%;
	height: auto;
	border-radius: 0px;
}
.dropzone_one .dz-preview .dz-image img {
	width: 100%;
}

/* video embed */
.video_url {
	border: 1px solid;
}


/***************************/
/* constructor - user form */
/***************************/
.constructor_title {
	font-size: 1.4em;
	font-weight: bold;
	text-align: center;
	margin-bottom: .5em;
}
label {
	margin-top: .5rem;
	margin-bottom: 0;
}
.form-group {
	margin-bottom: .65rem;
}
#thumb_editor_block .cropper-view-box, .cropper-face {
	border-radius: 50%;
}
#cropper_thumb_src {
	display: none;
}

.red_astrx {
	color: red;
}

.legal_language {
	font-size: .7em;
	line-height: 1.25em;
}

/* buttons styles */
.btn_save_story {
	color: #fff;
	background-color: #6c757d;
	border-color: #6c757d;
	cursor: pointer;
}
.btn_save_story:hover {
	color:#fff;
	background-color:#5a6268;
	border-color:#545b62
}
.btn_save_story.focus,.btn_save_story:focus{
	box-shadow:0 0 0 .2rem rgba(130,138,145,.5)
}


/*******************/
/* loading spinner */
/*******************/
.spinner_wrapper {
	position: absolute;
	height: 100%;
	width: 100%;
	z-index: 3000;
	background-color: rgba(255, 255, 255, 0.8);
}
.spinner {
	left: 50%;
	top: 50%;
	position: absolute;
	transform: translate(-50%, -50%);
}
.spinner > div {
	width: 18px;
	height: 18px;
	background-color: rgb(62, 161, 158);
	border-radius: 100%;
	display: inline-block;
	-webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
	animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}
.spinner .bounce1 {
	-webkit-animation-delay: -0.32s;
	animation-delay: -0.32s;
}
.spinner .bounce2 {
	-webkit-animation-delay: -0.16s;
	animation-delay: -0.16s;
}
@-webkit-keyframes sk-bouncedelay {
	0%, 80%, 100% {
		-webkit-transform: scale(0)
	}
	40% {
		-webkit-transform: scale(1.0)
	}
}
@keyframes sk-bouncedelay {
	0%, 80%, 100% {
		-webkit-transform: scale(0);
		transform: scale(0);
	}
	40% {
		-webkit-transform: scale(1.0);
		transform: scale(1.0);
	}
}


/*****************/
/* story sharing */
/*****************/
.sharing_btn {
	width: 40px;
	margin: .5em .25em;
}


/*******************************/
/* responsive layout && mobile */
/*******************************/
@media (max-width: 1024px) {
	#sidebar_wrapper {
		width: 50%;
	}
	.sidebar_hidden {
		margin-right: -50% !important;
	}
}

@media (max-width: 800px) {
	html, body {
		font-size: .9em;
	}

	/* map filter */
	#header_dropdown_btn {
		font-size: .95em;
		display: block;
	}
	#header_submit_button {
		font-size: 0.95em;
		border-radius: 5px 0px 0px 5px;
		top: 50px;
		right: 0px;
		left: auto;
		animation: none;
	}
	#filter_legend {
		padding: 1em;
		top: 55px;
		left: 0;
		bottom: auto;
	}

	/* hide everything on mobile */
	.filter_close,
	.filter_addition,
	.leaflet-filter-btn {
		display: none;
	}

	.filter_title {
		font-size: 1.2em;
	}
	.filter_addition {
		font-size: 1em;
	}
	.legend_icon {
		height: 25px;
		width: 25px;
		background-size: 25px !important;
	}


	/* sidebar */
	#sidebar_wrapper {
		width: 100%;
	}

	.sidebar_closed_btn {
		background: url(./img/icons/chevron_left.svg) no-repeat #f7e8d7 !important;
		background-size: 1.8em !important;
		background-position: center !important;
		transition: all .6s !important;
		position: relative !important;
		box-shadow: -1px -1px 16px 4px rgb(0 0 0 / 10%);
	}

	#info_sidebar_toggle {
		top: 20px;
		left: 0px;
		position: absolute;
		color: white;
		background-color: transparent;
		background: url(./img/icons/close.svg) no-repeat;
		box-shadow: none;
	}

	.sidebar_hidden {
		margin-right: -100% !important;
	}

	.prevBtn {
		height: auto;
	}
	.form-control {
		height: calc(2em);
	}

	/* constructor */
	.legal_language {
		font-size: .85em;
	}
	.btn_add_elem {
		width: 38px;
		height: 38px;
		background-repeat: no-repeat;
		background-size: 26px;
		background-position: center;
	}
	.btn_add_elem:hover {
		background-repeat: no-repeat;
		background-position: center;
		background-size: 26px;
	}

	/*quickfixes*/
	.add_videoupload {
		background-position: 6px 7px;
	}
	.add_audio {
		background-size: 38px;
	}
	.add_instagram, .add_twitter {
		background-size: 20px;
	}
	.add_tiktok {
		background-size: 35px;
	}

	/* share */
	#copy_url_button {
		width: 32px;
	}
	.sharing_btn {
		width: 32px;
	}


	/* toggle switches */
	.b {
		display: block;
	}
	.toggle {
		position: relative;
		height: 15px;
		width: 30px;
		min-width: 30px;
		border-radius: 100px;
		background-color: #bbb;
	}
	.check {
		position: absolute;
		display: block;
		cursor: pointer;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		opacity: 0;
		z-index: 6;
	}
	.check:checked ~ .track {
		box-shadow: inset 0 0 0 20px #f7e8d7
	}
	.check:checked ~ .switch {
		right: 2px;
		left: 17px;
		transition: .35s cubic-bezier(0.785, 0.135, 0.150, 0.860);
		transition-property: left, right;
		transition-delay: .05s, 0s;
	}
	.switch {
		position: absolute;
		left: 2px;
		top: 2px;
		bottom: 2px;
		right: 17px;
		background-color: #fff;
		border-radius: 36px;
		z-index: 1;
		transition: .35s cubic-bezier(0.785, 0.135, 0.150, 0.860);
		transition-property: left, right;
		transition-delay: 0s, .05s;
		box-shadow: 0 1px 2px rgba(0,0,0,.2);
	}
	.track {
		position: absolute;
		left: 0;
		top: 0;
		right: 0;
		bottom: 0;
		transition: .35s cubic-bezier(0.785, 0.135, 0.150, 0.860);
		box-shadow: inset 0 0 0 2px rgba(0,0,0,.05);
		border-radius: 40px;
	}
}