/*   -------------------------------------------------------------

Filnamn: 			base.css
Beskrivning: 		Global CSS för kulturistan.se
Datum: 				2019-05-31
Hemsida: 			http://www.kulturistan.se
Design / Author: 	Henrik Palm

****** Innehåll ******
01 Generella
02 Typografi
03 Bilder
04 Knappar

09 Media Queries

-------------------------------------------------------------   */






/* ----------------------------------------------- 01 Generella  */
html {
	background-color: #86add8;
}

body {
	margin: 0px 0px 0px 0px;
	 font-family: "Open Sans", arial, sans-serif;
	font-size: 13px;
	line-height: 18px;
	background-color: #86add8;
	padding-bottom: calc(46px + env(safe-area-inset-bottom, 0px));
}

a {
	text-decoration: none;
}

.headerbox {
	width: calc(100% - 16px);
	min-height: 150px;
	float: left;
	margin: 8px;
	border-radius: 3px;
	position: relative;
}

.header_main {
	align-items: flex-start;
	display: flex;
	justify-content: space-between;
	padding: 24px 0px 8px 0px;
}

.header_logo_link {
	display: block;
	width: calc(100% - 350px);
}

.header_tools {
	margin: 10px 0px 0px 18px;
	width: 320px;
}

.header_icons {
	align-items: center;
	display: flex;
	gap: 8px;
	justify-content: flex-end;
	margin: 0px 0px 12px 0px;
}

.header_icon {
	align-items: center;
	border-radius: 50%;
	display: flex;
	height: 32px;
	justify-content: center;
	overflow: hidden;
	width: 32px;
}

.header_icon img {
	display: block;
	height: 32px;
	width: 32px;
}

.header_filters {
	display: none;
}

.header_sticky {
	position: fixed;
	width: 320px;
	display: none;
	height: 75px;
    overflow: hidden;
}

.moremenu {
    width: 40px;
    height: 35px;
    position: absolute;
    top: 15px;
    right: 3px;
}
.fa-bars {
	font-size: 33px;
	color: #00a0da;
}
.maintext {
	width: 320px;
	height: 320px;
	border: 1px solid #c9c9c9;
	box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.2);
	float: left;
	margin: 8px;
	border-radius: 3px;
	position: relative;
	background-color: #ffffff;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
}

.mainimage {	
	width: 320px;
	height: 320px;
	border: 1px solid #c9c9c9;
	box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.2);
	float: left;
	margin: 8px;
	position: relative;
	background-color: #ffffff;
	overflow: hidden;
}

.mainimage img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.searchbox {
	width: 100%;
	margin: 0px 0px 5px 0px;
	position: relative;
	display: flex;
}

.searchinput {
	border: 1px solid #c9c9c9;
	width: calc(100% - 40px);
	height: 35px;
	padding: 5px 5px 5px 10px;
	border-radius: 4px 0px 0px 4px;
	position: relative;
	box-sizing: border-box;
	font-size: 15px;
}

.searchicon {
	border-radius: 0px 4px 4px 0px;
	background-color: #f19640;
	width: 40px;
	height: 35px;
	text-align: center;
	flex: 0 0 40px;
	padding: 8px;
	box-sizing: border-box;
}

.searchdelete {
	position: absolute;
	right: 10px;
}
.featurebox {
	margin-top: 5px;
}

.typebox {
	width: auto;
	margin: 0px 0px 10px 0px;
	position: relative;
	min-height: 25px;
	
}

.container {
	width: 1360px;
	margin-left: auto;
	margin-right: auto;
}

.container::after {
	clear: both;
	content: "";
	display: block;
}

.mobile_padding {
	height: 0px;
}

.site_footer {
	background-color: rgba(134,173,216,0.96) !important;
	box-sizing: border-box;
	clear: both;
	color: #ffffff !important;
	font-size: 14px;
	line-height: 17px;
	left: 0px !important;
	margin: 0px;
	padding: 8px;
	position: fixed !important;
	text-align: center;
	text-shadow: 0px 1px 2px rgba(0,0,0,0.25);
	bottom: 0px !important;
	width: 100% !important;
	z-index: 900;
}

.padding_open {
	height: 330px;
}

.mapmodal,
.detailmodal {
	align-items: center;
	background: rgba(0,0,0,0.45);
	display: none;
	height: 100vh;
	justify-content: center;
	left: 0px;
	position: fixed;
	top: 0px;
	width: 100vw;
	z-index: 1000;
}

.mapmodal_open,
.detailmodal_open {
	display: flex;
}

.mapmodal_over_detail {
	z-index: 1100;
}

.mapmodal_box {
	background: #ffffff;
	border-radius: 3px;
	box-shadow: 0px 6px 30px rgba(0,0,0,0.35);
	height: 50vh;
	position: relative;
	width: 50vw;
}

.mapmodal_close {
	align-items: center;
	background: #00a0da;
	border: 0px;
	border-radius: 50%;
	color: #ffffff;
	cursor: pointer;
	display: flex;
	font-size: 19px;
	height: 36px;
	justify-content: center;
	position: absolute;
	right: -14px;
	top: -14px;
	width: 36px;
	z-index: 1002;
}

.mapmodal_close:hover {
	background: #0f68a3;
}

.mapmodal_fullscreen .mapmodal_box {
	height: calc(100vh - 32px);
	width: calc(100vw - 32px);
}

.mapmodal_fullscreen_button {
	align-items: center;
	background: #ffffff;
	border: 0px;
	border-radius: 2px;
	box-shadow: 0px 1px 4px rgba(0,0,0,0.3);
	color: #252B28;
	cursor: pointer;
	display: flex;
	font-size: 18px;
	height: 40px;
	justify-content: center;
	left: 10px;
	padding: 0px;
	position: absolute;
	top: 10px;
	width: 40px;
	z-index: 1005;
}

.mapmodal_fullscreen_button:hover {
	color: #00a0da;
}

.detailmodal_box {
	background: #ffffff;
	border-radius: 2px;
	box-shadow: 0px 6px 30px rgba(0,0,0,0.35);
	max-height: 92vh;
	overflow: auto;
	position: relative;
	width: 900px;
}

.detailmodal_close {
	align-items: center;
	background: #ffffff;
	border: 0px;
	border-radius: 50%;
	box-shadow: 0px 1px 6px rgba(0,0,0,0.35);
	color: #111111;
	cursor: pointer;
	display: flex;
	font-size: 22px;
	height: 34px;
	justify-content: center;
	position: absolute;
	right: 8px;
	top: 8px;
	width: 34px;
	z-index: 1002;
}

.detailmodal_close:hover {
	color: #00a0da;
}

.detailmodal_hero {
	display: block;
	height: auto;
	width: 100%;
}

.detailmodal_content {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 48px;
	padding: 34px 38px 42px 38px;
}

.detailmodal_mobile_title {
	display: none;
}

.detailmodal_left,
.detailmodal_main,
.detailmodal_right {
	color: #333333;
	font-size: 17px;
	line-height: 24px;
	text-shadow: none;
}

.detailmodal_right {
	min-width: 0px;
}

.detailmodal_left p,
.detailmodal_main p {
	margin: 0px 0px 20px 0px;
}

.detailmodal_left_heading {
	color: #111111;
	font-size: 20px;
	line-height: 24px;
	margin: 0px 0px 12px 0px;
}

.detailmodal_main h1 {
	color: #111111;
	font-size: 27px;
	line-height: 32px;
	margin: 0px 0px 6px 0px;
}

.detailmodal_main h2 {
	color: #111111;
	font-size: 20px;
	line-height: 24px;
	margin: 26px 0px 4px 0px;
}

.detailmodal a {
	color: #1f3f95;
	font-weight: 700;
}

.detail_website_row {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
}

.detail_website_row a {
	min-width: 0px;
	overflow-wrap: anywhere;
}

.detail_map_button {
	align-items: center;
	background: transparent;
	border: 1px solid #00a0da;
	border-radius: 50%;
	color: #00a0da;
	cursor: pointer;
	display: none;
	flex: 0 0 auto;
	font-size: 22px;
	height: 36px;
	justify-content: center;
	width: 36px;
}

.detail_map_button:hover {
	color: #0f68a3;
}

.detail_museum_map_wrap {
	margin: 28px 0px 0px auto;
	position: relative;
	width: 100%;
}

.detail_museum_map {
	height: 190px;
	width: 100%;
}

.detail_map_fullscreen_button {
	align-items: center;
	background: #ffffff;
	border: 0px;
	border-radius: 2px;
	box-shadow: 0px 1px 4px rgba(0,0,0,0.3);
	color: #252B28;
	cursor: pointer;
	display: flex;
	font-size: 18px;
	height: 40px;
	justify-content: center;
	left: 10px;
	padding: 0px;
	position: absolute;
	top: 10px;
	width: 40px;
	z-index: 5;
}

.detail_map_fullscreen_button:hover {
	color: #00a0da;
}

.museum_modal_data {
	display: none;
}

#museum_map {
	border-radius: 3px;
	height: 100%;
	width: 100%;
	z-index: 1001;
}

.mapbutton {
	align-items: center;
	background: #ffffff;
	border: 1px solid #c9c9c9;
	border-radius: 50%;
	box-sizing: border-box;
	color: #252B28;
	cursor: pointer;
	display: flex;
	font-size: 16px;
	height: 32px;
	justify-content: center;
	margin: 0px;
	padding: 0px;
	width: 32px;
}

.mapbutton:hover {
	border: 1px solid #00a0da;
	color: #00a0da;
}

.map_location_button {
	align-items: center;
	background: #ffffff;
	border: 0px;
	border-radius: 2px;
	box-shadow: 0px 1px 4px rgba(0,0,0,0.3);
	color: #252B28;
	cursor: pointer;
	display: flex;
	font-size: 18px;
	height: 40px;
	justify-content: center;
	margin: 10px;
	padding: 0px;
	width: 40px;
}

.map_location_button:hover {
	color: #00a0da;
}

.map_location_loading {
	color: #00a0da;
	opacity: 0.65;
}

.map_popup {
	line-height: 17px;
	margin: 0px;
	max-width: 260px;
	padding: 0px;
}

.map_popup_name {
	font-weight: 700;
	margin: 0px 0px 4px 0px;
}

.map_popup_text {
	margin: 0px 0px 6px 0px;
}

.map_popup_row {
	margin: 0px 0px 4px 0px;
}

.map_popup_row span {
	font-weight: 700;
}

/* ----------------------------------------------- 02 typografi  */


.ctext {
	text-align: left;
}

a {
	color: #0f68a3;
}

h1 {
    font-family: "Open Sans", arial, sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 29px;
	margin: 0px 0px 4px 0px;
}

h2 {
	margin: 0px 0px 10px 0px;
	font-family: "Open Sans", arial, sans-serif;
	font-weight: 700;
	font-size: 16px;
}

h4 {
	margin: 0px 0px 0px 0px;
	font-family: "Open Sans", arial, sans-serif;
}

.text {
	background: rgba(0,0,0,0.58);
	bottom: 0px;
	box-sizing: border-box;
	color: #ffffff;
	left: 0px;
	height: 115px;
	overflow: hidden;
	padding: 12px 12px 12px 12px;
	position: absolute;
	right: 0px;
	bottom: 40px;
	font-size: 15px;
	line-height: 19px;
	text-shadow: 0px 1px 2px rgba(0,0,0,0.5);
}

.text_more:hover {
	text-decoration: underline;
}

.card_full {
	display: none;
}

.text_more_link {
	color: #ffffff;
	font-weight: 700;
	text-decoration: none;
}

.text_more_link:hover {
	text-decoration: underline;
}

.caret_active {
	transform: rotate(90deg);
}

.info {
 margin: 5px 0px 0px 0px;
}

.text_more {
	color: #ffffff;
	cursor: pointer;
	font-size: 15px;
	font-weight: 700;
	line-height: 20px;
	position: absolute;
	bottom: 10px;
	right: 14px;
	text-shadow: 0px 1px 2px rgba(0,0,0,0.75);
	z-index: 2;
}

.text_more_active {
	transform: none;
}

.www {
	color: #ffffff;
	cursor: pointer;
	font-weight: 700;
}

/* ----------------------------------------------- 03 bilder  */

.logo {
	width: 100%;
	max-width: 820px;
	margin: 0px 0px 5px 0px;
}
.logo_sticky {
	width: 100%;
	margin: 0px 0px 5px 0px;
}
.imgbox {
	display: none;
}
.mainimg {
	width: 100%;
	display: none;
}

.icons {
	display: flex;
	gap: 5px;
	margin: 10px 0px 0px 0px;
}

.detail_icons {
	margin: 26px 0px 18px 0px;
}

.flag {
	height: 32px;
}

.flag_img {
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
	width: 32px;
}

/* ----------------------------------------------- 04 Buttons */

.typebtn, .featurebtn {
	border-radius: 3px;
	background-clip: padding-box;
	color: #252B28;
	text-decoration: none;
	border: 1px solid #c9c9c9;
	padding: 6px 10px;
	white-space: nowrap;
	float: left;
	margin: 2px 4px 2px 0px;
	cursor: pointer;
	background-color: #ffffff;
	font-size: 15px;
}

.typebtn:hover, .featurebtn:hover {
	border: 1px solid #00a0da;
}

.type_selected {
	color: #fff;
	background: #00a0da;
	border: 1px solid #00a0da;
}



/* ----------------------------------------------- 09 Media querys  */

@media screen and (max-width: 1360px) {
	.container {
		width: 1020px;
	}
}

@media screen and (max-width: 1020px) {
  	.container {
		width: 680px;
  	}
	.header_main {
		display: block;
		padding-top: 18px;
	}
	.header_logo_link {
		width: 100%;
	}
	.header_tools {
		align-items: center;
		display: grid;
		grid-template-columns: minmax(0px, 1fr) auto;
		gap: 8px 14px;
		margin: 6px 0px 0px 0px;
		width: 100%;
	}
	.header_tools .searchbox {
		grid-column: 1;
		grid-row: 1;
		margin: 0px;
	}
	.header_tools .header_icons {
		grid-column: 2;
		grid-row: 1;
		margin: 0px;
	}
	.header_tools h2 {
		grid-column: 1 / 3;
		grid-row: 2;
		margin: 0px;
	}
}

@media screen and (max-width: 680px) {
  	.container {
    	width: 100%;
  	}
	.maintext,
	.mainimage {
		box-sizing: border-box;
		height: 320px;
		margin: 8px calc((100% - 320px) / 2);
		width: 320px;
	}
		.mapmodal,
		.detailmodal {
			align-items: flex-start;
			padding: 10px;
			box-sizing: border-box;
		}
		.mapmodal_box {
			height: calc(100vh - 20px);
			width: 100%;
		}
		.mapmodal_fullscreen .mapmodal_box {
			height: 100%;
			width: 100%;
		}
		.detailmodal_box {
			max-height: calc(100vh - 20px);
			width: 100%;
		}
		.detailmodal_content {
			display: block;
			padding: 14px 24px 32px 24px;
		}
		.detailmodal_mobile_title {
			color: #111111;
			display: block;
			font-size: 25px;
			line-height: 30px;
			margin: 18px 24px 0px 24px;
		}
		.detailmodal_main h1 {
			display: none;
		}
		.detailmodal_left,
		.detailmodal_main,
		.detailmodal_right {
			font-size: 15px;
			line-height: 21px;
		}
		.detail_map_button {
			display: flex;
		}
		.detail_museum_map_wrap {
			display: none !important;
		}
		.mapmodal_close,
		.detailmodal_close {
			right: 8px;
			top: 8px;
		}
  	.mobile_padding {
		height: calc(118px + env(safe-area-inset-top, 0px));
	}
	.header_sticky {
		box-sizing: border-box;
		position: fixed;
		left: 0px;
		right: 0px;
		width: 100%;
		display: block;
		z-index: 10;
		padding: calc(12px + env(safe-area-inset-top, 0px)) 10px 8px 10px;
		height: calc(118px + env(safe-area-inset-top, 0px));
		background-color: #86add8;
		top: 0px;
		transition: all 0.5s;
		overflow: visible;
	}
	.header_sticky h2 {
		font-size: 13px;
		font-weight: 700;
		line-height: 18px;
		margin: 7px 0px 0px 0px;
		text-align: center;
	}
	.headerbox {
		margin: 0px 0px 0px 0px;
		display: none;
	
	}
	.header_open {
		height: 320px;
	}
	.logo {
		display: none;
	}
	.logo_sticky {
		display: block;
		margin: 0px 0px 6px 0px;
		width: 100%;
	}
	.moremenu {
		display: none;
	}
	.mobile_searchrow {
		align-items: center;
		display: flex;
		gap: 4px;
	}
	.header_sticky .searchbox {
		flex: 1 1 auto;
		margin: 0px;
		min-width: 0px;
	}
	.header_sticky .searchinput {
		font-size: 11px;
		height: 26px;
		padding: 4px 6px;
	}
	.header_sticky .searchicon {
		display: block;
		flex: 0 0 28px;
		height: 26px;
		padding: 5px 0px;
		width: 28px;
	}
	.header_sticky .mapbutton,
	.header_sticky .header_icon {
		flex: 0 0 28px;
		height: 28px;
		width: 28px;
	}
	.header_sticky .header_icons {
		display: flex;
		flex: 0 0 auto;
		gap: 4px;
		margin: 0px;
	}
	.header_sticky .header_icon img,
	.header_sticky .flag_img {
		height: 28px;
		width: 28px;
	}
	.header_sticky > br,
	.header_sticky > .typebox,
	.header_sticky > .featurebox {
		display: none;
	}
}

@media screen and (max-width: 320px) {
  	.container {
    	width: 100%;
  	}
	.mobile_padding {
		height: calc(118px + env(safe-area-inset-top, 0px));
	}
	.headerbox {
		margin: 0px 0px 0px 0px;
		display: none;
	
	}
	.header_open {
		height: 118px;
	}
	.header_sticky {
		box-sizing: border-box;
		position: fixed;
		left: 0px;
		right: 0px;
		width: 100%;
		display: block;
		z-index: 10;
		padding: 12px 5px 8px 5px;
		background-color: #86add8;
		transition: all 0.5s;
	}
	.logo {
		display: none;
	}
	.logo_sticky {
		width: calc(100% - 10px);
	}
	.moremenu {
    	width: 40px;
    	height: 35px;
    	position: absolute;
    	top: 11px;
    	right: 0px;
	}
}
