/**
Theme Name: DSM
Author: AHA Factory GmbH
Author URI: https://ahafactory.de
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dsm
Template: astra
*/

hr.wp-block-separator {
    max-width: 100% !important;
}
.gamipress-achievement.user-has-earned a {
    pointer-events: all;
}
.gamipress-achievement.user-has-not-earned .gamipress-achievement-description {
    visibility: hidden;
    height: 75px;
}
.gamipress-achievement.user-has-not-earned .gamipress-achievement-description h2 {
    visibility: visible;
}
.gamipress-achievement h2.gamipress-achievement-title {
	font-size: 20px;
}
.gamipress-achievement.user-has-earned h2.gamipress-achievement-title:after,
.gamipress-achievement.user-has-not-earned h2.gamipress-achievement-title:after {
    content: "complete";
    display: block;
    font-size: 14px;
    color: #333;
    margin-top: 5px;
}
.gamipress-achievement.user-has-not-earned h2.gamipress-achievement-title:after {
	content: "incomplete";
}

.de .gamipress-achievement.user-has-earned h2.gamipress-achievement-title:after,
.de .gamipress-achievement.user-has-not-earned h2.gamipress-achievement-title:after {
    content: "fertig";
}
.de .gamipress-achievement.user-has-not-earned h2.gamipress-achievement-title:after {
	content: "noch nicht bearbeitet";
}

.gamipress-achievement.user-has-earned .gamipress-achievement-image,
.gamipress-achievement.user-has-not-earned .gamipress-achievement-image{
    position: relative;
}
.gamipress-achievement.user-has-earned .gamipress-achievement-image:after {
    content: "";
    position: absolute;
    right: 32px;
    top: 65px;
    transform: rotate(45deg);
    height: 34px;
    width: 18px;
    border-bottom: 7px solid #78b13f;
    border-right: 7px solid #78b13f;
}
/*.gamipress-achievement.user-has-not-earned .gamipress-achievement-image:before,
.gamipress-achievement.user-has-not-earned .gamipress-achievement-image:after{
    content: "";
    position: absolute;
    right: 25px;
    bottom: 15px;
    transform: rotate(45deg);
    height: 34px;
    width: 7px;
    background-color: #990066;
}
.gamipress-achievement.user-has-not-earned .gamipress-achievement-image:after {
  transform: rotate(-45deg);
}*/


.ast-button-wrap .menu-toggle .menu-toggle-icon {
	display: none;
}
.ast-header-break-point .ast-mobile-menu-buttons-outline.menu-toggle {
	border-width: 2px;
}
.ast-button-wrap .menu-toggle.main-header-menu-toggle .mobile-menu {
    vertical-align: middle;
}
div#video-container {
	position: relative;
}
video{
	width: 100%;
	height: auto;
}
#video-controls {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	padding: 5px;
	opacity: 0;
	-webkit-transition: opacity .3s;
	-moz-transition: opacity .3s;
	-o-transition: opacity .3s;
	-ms-transition: opacity .3s;
	transition: opacity .3s;
	width: 100%;
	height: 100%;
}

#video-container:hover #video-controls {
	opacity: .9;
}
#spinner {
  display: inline-block;
  width: 64px;
  height: 64px;
}
#spinner:after {
  content: " ";
  display: block;
  width: 46px;
  height: 46px;
  margin: 1px;
  border-radius: 50%;
  border: 5px solid #fff;
  border-color: #fff transparent #fff transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
button.play,
button.pause,
#spinner {
	position: absolute;
	top: 50%;
	left: 50%;
	-o-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	background: transparent;
	border: 0;
}
button.play,
button.pause {
  box-sizing: border-box;
  height: 74px;
  padding: 0;
  border-color: transparent transparent transparent rgba(228, 108, 2, 1);
  transition: 100ms all ease;
  will-change: border-width;
  cursor: pointer;
background: transparent;
  border-style: solid;
  border-width: 37px 0 37px 60px;
}
button.pause {
    border-style: double;
    border-width: 0px 0 0px 60px;
}
button.play:hover,
button.pause:hover {
    border-color: transparent transparent transparent rgba(228, 108, 2, .7);
  }
button#full-screen {
	display: none;
	outline: 0;
	border: 0;
	box-shadow: none;
  vertical-align: middle;
  width: 25px;
  height: 25px;
  position: relative;
  background:url("https://willkommenbeidsmgrenzach.de/wp-content/uploads/2019/10/expand-1.png") transparent no-repeat;
  content:"";
  background-size: contain;
  margin: 15px 10px;
}
button#full-screen:hover {
	opacity: .7;
}
@media only screen and (max-width: 767px) {
	#video-controls {
    	height: 43px;
    	bottom: 8px;
    	top: auto;
    	opacity: 1;
	}
	button.play,
	button.pause {
    	height: 34px;
    	left: 20px;
    	transform: none;
    	border-width: 17px 0 17px 32px;
    	position: absolute;
    	top: -5px;
	}
	button.pause {
		border-width: 0px 0 0px 32px;
	}
}
/*video::-webkit-media-controls-panel,
.media-controls-container {
	display: none;
}
@media only screen and (max-device-width: 767px){
	video::-webkit-media-controls-panel,
	.media-controls-container {
		display:block;
	}
}*/
@font-face {
	font-family: 'Trebuchet MS';
	font-style: normal;
	font-weight: normal;
	src: url('font/trebuc.woff') format('woff'),
             url('font/trebuc.ttf') format('truetype');
}
@font-face {
	font-family: 'Trebuchet MS Italic';
	font-style: normal;
	font-weight: normal;
	src: url('font/Trebuchet-MS-Italic.woff') format('woff'),
             url('font/Trebuchet-MS-Italic.ttf') format('truetype');
}
.below-header-user-select {
    line-height: 2;
}
body {
	font-family: Trebuchet MS, Arial, sans-serif; 
}
header {
	margin-bottom: 50px;
}
.home header {
	margin-bottom: 0px;
}
footer {
	margin-top: 50px;
}
.home footer {
	margin-top: 0px;
	position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
	z-index: 9;
}
.menu-footer-menu-de-container ul li {
	display: inline;
}

.uagb-gf-styler__check-style-enabled input[type="checkbox"] + label:before {
	font-size: calc( 20px * .8 ) !important;
}

.message {
    border: 2px solid #e0e0e0;
    padding: 24px 24px 0 24px;
    background: #f0f0f0;
    margin-top: 34px;
}
.row-active {
    background: #990066;
    color: #fff;
    font-weight: bold;
}
.row-completed {
    background: #e0e0e0;
}
.row-todo {
    background: #f0f0f0;
}
.name_prefix select {
    margin-bottom: 0 !important;
    line-height: 1.15 !important;
}
input[type=submit] {
    line-height: 1;
}
input.gform_button.button {
    border-radius: 0;
    padding: 10px 40px !important;
    color: #ffffff !important;
    border-color: #034ea1 !important;
    background-color: #034ea1 !important;
}
input.gform_button.button:hover {
    border-color: #e46c02 !important;
    background-color: #e46c02 !important;
}
span.tooltipsall {
    border-bottom: 0 !important;
	padding: 15px 15px 15px 23px;
}
span.tooltipsall:hover {
    color: #fff !important;
}
div.qtip {
	font-weight: bold;
	max-width: none;
}
div.qtip-content p {
    margin-bottom: 0;
}
div.qtip-tip canvas {
	display: none;
}
div.qtip-default:after {
    position: absolute;
    bottom: -5px;
    left: 50%;
    margin-left: -5px;
    width: 0;
    border-top: 5px solid #e46c02;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    content: " ";
    font-size: 0;
    line-height: 0;
}
div.qtip-default {
    background: #e46c02 !important;
    font-size: 15px;
    line-height: 1.25;
    box-shadow: none;
    border: 0;
    border-radius: 0;
}
.cat-button-icons {
	margin-top: 10px;
	/*margin-bottom: 130px;*/
}
.cat-button-icons  .uagb-button__wrapper {
    position: relative;
    margin-left: 60px !important;
}
.cat-button-icons  .uagb-button__wrapper:before {
    content: '';
    width: 72px;
    height: 72px;
    background-size: contain;
	background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -57px;
    z-index: 99;
}
.cat-button-icons  .uagb-button__wrapper.uagb-buttons-repeater-0:before {
	background-image: url(https://willkommenbeidsmgrenzach.de/wp-content/uploads/2019/09/Besucher-Icon.png);
}
.cat-button-icons  .uagb-button__wrapper.uagb-buttons-repeater-1:before {
	background-image: url(https://willkommenbeidsmgrenzach.de/wp-content/uploads/2019/09/LKW-Icon.png);
}
.cat-button-icons  .uagb-button__wrapper.uagb-buttons-repeater-2:before {
	background-image: url(https://willkommenbeidsmgrenzach.de/wp-content/uploads/2019/09/Handwerker-Icon.png);
}

.home main .uagb-columns__video-wrap {
	background: url(https://willkommenbeidsmgrenzach.de/wp-content/uploads/2019/10/DSM-Ueberflug-V2.mp4);
	background-size:cover;
}
video {
	border: 1px solid #e0e0e0;
}
/*.gform_wrapper .video-form .gform_footer {
	width: 100%;
	padding-bottom: 56.25%;
	margin-top: -56.25%;
	position: relative;
}*/
.gform_wrapper .video-form input[type="submit"] {
    /*top: 50%;
	-ms-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
	margin: 0 !important;
	line-height: 1.25;
	white-space: unset;
	line-height: 1.25;
    white-space: unset;
    margin-right: 16px !important;
    float: right;
	cursor: default;*/
}
.ast-below-header {
	line-height: 1.5;
}
.home .ast-below-header {
	display: none;
}
/*.home .ast-below-header .ast-custom-html {
	visibility: hidden;
	height: 0;
}
.ast-below-header .user-select {
	line-height: 1.25;
}
.home .ast-below-header .user-select:before {
    content: "Herzlich Willkommen bei DSM Grenzach";
}*/
.home .ast-small-footer {
	border-top: 0;
}
.home .ast-small-footer > .ast-footer-overlay {
    background: transparent;
    bottom: 0;
    width: 100%;
    color: #fff;
	z-index: 9;
}
.full-height {
	height: 100vh;
	/*min-height: 100vh;
	position: fixed;
	top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;*/
}
.full-height > .uagb-columns__inner-wrap,
.full-height > .uagb-columns__inner-wrap > .wp-block-uagb-column {
    height: 100%;
}
@media (min-width: 768px) {

}
@media (max-width: 767px) {
	.full-height {
    	height: 100%;
	}
	select[aria-label="Namensprefix"] {
    	height: 49px !important;
	}
	iframe#firstPlayer,
	iframe#secondPlayer,
	iframe#thirdPlayer {
		pointer-events: visible !important;	
	}
	.cat-button-icons  .uagb-button__wrapper {
		min-width: 146px;
		text-align: center;
	}
	/*.full-height .uagb-columns__video-wrap {
		overflow: visible;
	}
	.full-height video,
	.full-height .uagb-columns__overlay {
    	height: 100vh !important;
	}*/
	.full-height > .uagb-columns__inner-wrap > .wp-block-uagb-column >.uagb-column__inner-wrap {
		padding-top: 210px !important;
		padding-bottom: 130px !important;
	}
}
@media (max-width: 480px) {
	.full-height > .uagb-columns__inner-wrap > .wp-block-uagb-column >.uagb-column__inner-wrap {
		padding-bottom: 170px !important;
	}
}
body.home {
    padding: 0px !important;
}
body.home.ast-padded-layout:before,
body.home.ast-padded-layout:after {
    display: none;
}
.home .ast-small-footer > .ast-footer-overlay a {
    color: #fff;
}
.home .ast-small-footer > .ast-footer-overlay a:hover {
    color: #e46c02;
}
@media (max-width: 560px) {
	.gform_wrapper .video-form input[type="submit"],
	.gform_wrapper .video-form input[value="Weiter zur allgemeine Sicherheitsunterweisung"] {
		margin: 0 auto !important;
		padding-right: 10px !important;
		padding-left: 10px !important;
		float: none;
	}
}
@media (max-width: 471px) {
	.gform_wrapper .video-form input[value="Weiter zur allgemeine Sicherheitsunterweisung"] {
		margin: 0 1px !important;
	}
}
@media (max-width: 767px) {
	table.wp-block-table tr td {
    	width: 100% !important;
    	display: block;
	}
	.cat-button-icons .uagb-button__wrapper {
	    margin-bottom: 35px !important;
	}
	.cat-button-icons .uagb-button__wrapper a.uagb-button__link {
    	min-width: 105px;
	}
}