/* MOBILE - CUSTOMIZATION START */

/* Im Hochformat */

/* Portrait format */
@media only screen and (orientation: portrait) {
	.mobile-dialog {
		width: auto !important;
		height: auto !important;
		top: 5px !important;
		left: 5px !important;
		bottom: 5px !important;
		right: 5px !important;
		padding: 5px !important;
		border-radius: 5px !important;
	}
}

/* Landscape format */
@media only screen and (orientation: landscape) {
	.mobile-dialog {
		width: auto !important;
		height: auto !important;
		top: 5px !important;
		left: 5px !important;
		bottom: 5px !important;
		right: 5px !important;
		padding: 5px !important;
		border-radius: 5px !important;
	}
}

@media screen and (max-width: 335px) {
	.tile-wide {
		width: 250px;
	}

	.tile-group.one {
		width: 260px !important;
	}
}

html,
body {
	position: absolute;
	height: 100%;
	width: 100%;
	margin: 0;
	font-family: "Montserrat", sans-serif, serif;
	font-size: 21px;
	overflow: auto;
}

.tile:focus,
.tile-small:focus,
.tile-sqaure:focus,
.tile-wide:focus,
.tile-large:focus,
.tile-big:focus,
.tile-super:focus,
.tile-super-x:focus,
.tile-super-y:focus {
	-webkit-transform: scale(1.05);
	transform: scale(1.05);
	outline: #999999 solid 3px;
}

.tile:hover,
.tile-small:hover,
.tile-sqaure:hover,
.tile-wide:hover,
.tile-large:hover,
.tile-big:hover,
.tile-super:hover,
.tile-super-x:hover,
.tile-super-y:hover {
	-webkit-transform: scale(1.05);
	transform: scale(1.05);
	outline: #999999 solid 3px;
}

.button:focus,
.square-button:focus {
	-webkit-transform: scale(1.03);
	transform: scale(1.03);
	outline: #999999 solid 1px;
}

.button:hover,
.square-button:hover {
	-webkit-transform: scale(1.03);
	transform: scale(1.03);
	outline: #999999 solid 1px;
}

.tile-area {
	position: relative;
	height: auto;
	text-align: center;
	padding: 0;
}

.tile-infostream {
	height: 390px !important;
	width: 694px !important;
}

.dialog .dialog-close-button {
	font-size: 2rem;
	top: 0;
	padding: 0;
	margin: 0;
	line-height: 0;
	background-color: inherit;
}

#icon_mobile {
	margin-left: -30px;
}

#info_box_mobile {
	width: auto;
}

#news_box_mobile {
	height: 100% !important;
}

#categories_mobile {
	width: 100%;
	height: auto;
	margin: 0;
}

.category_mobile {
	height: 80% !important;
}

.dialog_selection {
	position: absolute;
	width: 260px;
	height: calc(100% - 50px);
	margin-top: 0px;
	text-align: center;
	overflow: hidden;
}

.dialog_selection .button {
	position: relative;
	font-size: 0.9rem !important;
	margin: 5px auto;
	padding: 0;
	width: 230px;
	height: 70px;
}

.dialog_selection .button.small_button {
	width: 210px;
}

.dialog_content {
	position: relative;
	width: 100%;
	height: calc(100% - 60px);
	overflow: hidden;
	border-radius: 5px;
}

.dialog_scrollbar {
	width: 100%;
	height: 100%;
	overflow-x: scroll !important;
	overflow-y: scroll;
	padding: 15px;
}

/* Custom scrollbar */
.custom_scrollbar {
	overflow-x: hidden;
	overflow-y: scroll;
}

.custom_scrollbar::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

.custom_scrollbar::-webkit-scrollbar-thumb {
	background: rgb(96, 96, 96);
	border-radius: 5px;
}

.custom_scrollbar::-webkit-scrollbar-thumb:hover {
	background: #a5a5a5;
}

.custom_scrollbar::-webkit-scrollbar-track {
	background: #f0f0f0;
	border-radius: 5px;
}

/* Scrollbar buttons - On mobile they probably do not get displayed by the browser */
.custom_scrollbar::-webkit-scrollbar-button:single-button {
	display: block;
	background-size: 10px;
	background-repeat: no-repeat;
	background-color: rgb(255, 255, 255);
}

/* Up */
.custom_scrollbar::-webkit-scrollbar-button:single-button:vertical:decrement {
	height: 15px;
	width: 15px;
	background-position: center 5px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(96, 96, 96)'><polygon points='50,00 0,50 100,50'/></svg>");
}

.custom_scrollbar::-webkit-scrollbar-button:single-button:vertical:decrement:hover {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(112, 112, 112)'><polygon points='50,00 0,50 100,50'/></svg>");
}

.custom_scrollbar::-webkit-scrollbar-button:single-button:vertical:decrement:active {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(128, 128, 128)'><polygon points='50,00 0,50 100,50'/></svg>");
}

/* Down */
.custom_scrollbar::-webkit-scrollbar-button:single-button:vertical:increment {
	height: 15px;
	width: 15px;
	background-position: center 5px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(96, 96, 96)'><polygon points='0,0 100,0 50,50'/></svg>");
}

.custom_scrollbar::-webkit-scrollbar-button:single-button:vertical:increment:hover {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(112, 112, 112)'><polygon points='0,0 100,0 50,50'/></svg>");
}

.custom_scrollbar::-webkit-scrollbar-button:single-button:vertical:increment:active {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(128, 128, 128)'><polygon points='0,0 100,0 50,50'/></svg>");
}

/* Left */
.custom_scrollbar::-webkit-scrollbar-button:single-button:horizontal:decrement {
	height: 15px;
	width: 15px;
	background-position: 5px 0;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(96, 96, 96)'><polygon points='0,50 50,100 50,0'/></svg>");
}

.custom_scrollbar::-webkit-scrollbar-button:single-button:horizontal:decrement:hover {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(112, 112, 112)'><polygon points='0,50 50,100 50,0'/></svg>");
}

.custom_scrollbar::-webkit-scrollbar-button:single-button:horizontal:decrement:active {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(128, 128, 128)'><polygon points='0,50 50,100 50,0'/></svg>");
}

/* Right */
.custom_scrollbar::-webkit-scrollbar-button:single-button:horizontal:increment {
	height: 15px;
	width: 15px;
	background-position: 5px 0;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(96, 96, 96)'><polygon points='0,0 0,100 50,50'/></svg>");
}

.custom_scrollbar::-webkit-scrollbar-button:single-button:horizontal:increment:hover {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(112, 112, 112)'><polygon points='0,0 0,100 50,50'/></svg>");
}

.custom_scrollbar::-webkit-scrollbar-button:single-button:horizontal:increment:active {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(128, 128, 128)'><polygon points='0,0 0,100 50,50'/></svg>");
}

/* MOBILE - CUSTOMIZATION END */

/* COLOR CONFIGURATION (METRO.CSS & CUSTOM) START */

.dialog {
	background-color: #ffffff;
}

.bg-individual {
	background: #5b891d !important;
}

.carousel .carousel-bullets .carousel-bullet.bullet-on {
	background-color: #5b891d;
}

.tile-area-scheme-white {
	background-color: #ffffff;
}

.fg-dark {
	color: #1d1d1d !important;
}

.fg-white {
	color: #ffffff !important;
}

.op-dark {
	background-color: rgba(29, 29, 29, 0.7);
}

#charmLanguage {
	background-color: #ffffff;
}

#button_language {
	border: 1px #999 solid;
}

#charmLanguage .button {
	background-color: #eee;
}

.dialog_content {
	/*border: solid 2px #fff;*/
}

#tile_area_header {
	background-color: #fff;
}

#samsung_controls {
	background-color: #fff;
}

/* COLOR CONFIGURATION (METRO.CSS & CUSTOM) END */

/* METRO.CSS CUSTOMIZATIONS START */

p {
	font-size: 1rem;
}

.leader {
	font: 400 2.25rem/1.1 "Montserrat", sans-serif, serif;
}

.sub-leader {
	font: 500 1.875rem/1.1 "Montserrat", sans-serif, serif;
}

.header {
	font: 500 1.5rem/1.1 "Montserrat", sans-serif, serif;
}

.sub-header {
	font: 500 1.125rem/1.1 "Montserrat", sans-serif, serif;
}

.alt-header {
	font: 500 1rem/1.1 "Montserrat", sans-serif, serif;
}

.sub-alt-header {
	font: 500 0.875rem/1.1 "Montserrat", sans-serif, serif;
}

.minor-header {
	font: 500 0.75rem/1.1 "Montserrat", sans-serif, serif;
}

h1 {
	font: 400 2.25rem/1.1 "Montserrat", sans-serif, serif;
}

h2 {
	font: 500 1.875rem/1.1 "Montserrat", sans-serif, serif;
}

h3 {
	font: 500 1.5rem/1.1 "Montserrat", sans-serif, serif;
}

h4 {
	font: 500 1.125rem/1.1 "Montserrat", sans-serif, serif;
}

h5 {
	font: 500 0.875rem/1.1 "Montserrat", sans-serif, serif;
}

h6 {
	font: 500 0.75rem/1.1 "Montserrat", sans-serif, serif;
}

.input-control textarea {
	font-family: "Montserrat", sans-serif, serif;
}

.stepper>ul li:before {
	font-family: "Montserrat", sans-serif, serif;
}

.panel>.heading {
	font: 500 1.125rem/1.1 "Montserrat", sans-serif, serif;
}

.notify-container {
	z-index: 10003;
}

.square-button {
	font-size: 25px;
}

.tile-area .tile-area-title {
	position: absolute;
	top: 17px;
	left: 30px;
	margin: 10px 0;
	font-size: 42px;
}

.tile-area-controls {
	position: absolute;
	margin: 20px 30px 20px 0;
	width: calc(100% - 30px);
	height: 60px;
}

.tile-group {
	margin-left: 57px;
	padding-top: 0;
}

.tile-group .tile-group-title {
	font-size: 30px;
}

/* METRO.CSS CUSTOMIZATIONS END */

strong {
	font-weight: bold !important;
}

#tile_area_header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100px;
	box-shadow: 0 5px 10px -5px #333;
	z-index: 9999;
}

#header_logo {
	width: auto;
	height: 60px;
	margin: 20px 30px;
}

#time {
	position: absolute;
	top: 10px;
	right: 0;
	font-size: 35px;
}

#button_language {
	position: absolute;
	right: 100px;
	margin: 5px 0;
	padding: 0;
	width: 160px;
	height: 50px;
	font-size: 25px;
}

#button_language_text {
	font-size: 24px;
}

/* noch nicht angepasst START */

#button_settings {
	position: relative;
	right: 1rem;
}

/* noch nicht angepasst ENDE */

#samsung_controls {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 80px;
	box-shadow: 0 -5px 10px -5px #333;
	z-index: 9999;
}

.controls-image {
	float: left;
	width: auto;
	height: 60px;
	margin-left: 30px;
	margin-right: 10px;
}

.controls-text-singleline {
	margin: 17px 0 0 0;
}

.controls-text-multiline {
	margin: 4px 0 0 0;
}

.tile,
.tile-small,
.tile-sqaure,
.tile-wide,
.tile-large,
.tile-big,
.tile-super,
.tile-super-x,
.tile-super-y,
.button,
.square-button {
	opacity: 1;
	/*-webkit-transition: .3s;
    transition: .3s;*/
	border-radius: 5px;
}

.tile-leftright {
	height: 167px !important;
	width: 167px !important;
}

.tile-middlebottom {
	height: 120px !important;
	width: 321px !important;
}

.tile-leftright .tile-content .icon {
	position: absolute;
	width: 64px;
	height: 64px;
	font-size: 64px;
	top: calc(167px / 2);
	left: calc(167px / 2);
	transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
}

.tile-middlebottom .tile-content .icon {
	position: absolute;
	width: 48px;
	height: 48px;
	font-size: 48px;
	top: calc(120px / 2);
	left: calc(321px / 2);
	transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
}

.tile-group.one {
	/* set to width of containing tile + 10px because of tile margin */
	width: 177px;
}

.samsung_loader {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 10002;
	background: url("../images/splash_screen.png") 50% 50% no-repeat rgb(0, 0, 0);
}

.pc_loader {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 10002;
	background: url("../images/splash_screen.png") 50% 50% no-repeat rgb(0, 0, 0);
}

.toStretch {
	width: 100%;
	height: 100%;
}

#charmSettings .button {
	margin: 5px;
}

#charmLanguage {
	z-index: 10001;
}

#charmLanguage .button {
	position: relative;
	font-size: 1.4rem;
	margin: 0.5rem;
	height: 3rem;
	width: 8.5rem;
	padding-top: 0.7rem;
	left: 3rem;
}

.dialog_style {
	position: absolute !important;
	width: 1060px !important;
	height: 540px !important;
	top: 50% !important;
	left: 50% !important;
	padding: 20px;
	transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	/*box-shadow: 0 0 0px 200px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0 0 0px 200px rgba(0, 0, 0, 0.5);*/
	border-radius: 10px;
	z-index: 10001;
}

.dialog_back {
	position: absolute;
	bottom: 40px;
	left: 30px;
}

.dialog-overlay {
	z-index: 1049;
	/* Metro CSS default */
}
