/*
Theme Name: Alps in Motion
Theme URI: http://alps-in-motion.com/
Description: Child theme for Alps in Motion
Author: Philippe Steinmayr
Author URI: http://schnee-ist-cool.de
Template: Divi
Version: 1.0.0
*/

@font-face {
   font-family: 'Kanit';
   src: local('Kanit'), url('kanit-normal.woff2') format('woff2');
   font-weight:400;
   font-style:normal;
}
@font-face {
   font-family: 'Kanit-bold';
   src: local('Kanit-bold'), url('kanit-bold.woff2') format('woff2');
   font-weight:700;
   font-style:normal;
}
@font-face {
   font-family: 'Martel';
   src: local('Martel'), url('martel-normal.woff2') format('woff2');
   font-weight:400;
   font-style:normal;
}
@font-face {
   font-family: 'Martel-bold';
   src: local('Martel-bold'), url('martel-bold.woff2') format('woff2');
   font-weight:700;
   font-style:normal;
}

#cookie-law-info-bar {z-index:99999;}
.cli-plugin-main-link {margin-left:0;}
a.cli-plugin-main-link {text-decoration:underline;}
a.cli-plugin-main-link:hover {text-decoration:none;}
.cli-plugin-button {border-radius:0;border:1px solid #000;}

html {
	overflow: visible !important;
	margin-right:0px !important;
}
body {
	overflow-y: scroll;
}
body,
input,
textarea, label {
	font-family: 'Martel', serif;
}
/*
.home .et_pb_fullwidth_header_0 {
	padding-top:0 !important;
}
*/
.page-id-123 #main-content {
	background: #fafafa;
	min-height: 100vh;
}

.et_pb_fullwidth_code_0 {
	z-index:-1 !important;
}
.et_pb_section {
	background:none;
}
.home .et_pb_fullwidth_code_0 .et_pb_code_inner {
	height:100vh;
}

/*
.fluid-width-video-wrapper iframe {
	top:-5px !important;
}

.vimeo-wrapper {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   z-index: -2;
   pointer-events: none;
   overflow: hidden;
}
.vimeo-wrapper iframe {
   width: 100vw;
   height: 56.25vw;
   min-height: 100vh;
   min-width: 177.77vh;
   position: absolute;
   top: 50%;
   left: 50%;
}
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.bg-video .logo {
  position: absolute;
  bottom: 45%;
  width: 100%;
  text-align: center;
}
.bg-video img {
	max-width:800px;
	max-width: 40%;
}
.bg-video .subtitle {
  position: absolute;
  bottom: 30%;
  width: 100%;
  font-size: 24px;
  letter-spacing: 2px;
  line-height:1em;
  color: #fff;
  font-family: 'Martel',serif;
  text-align: center;
}
*/
.subtitle {
/*  position: absolute;
  bottom: 30%;
  width: 100%;
	*/
  font-size: 24px;
  letter-spacing: 2px;
  line-height:1.5em;
  color: #fff;
  font-family: 'Martel',serif;
  text-align: center;
}

/******************** Hochzeit *****************/

.et_password_protected_form {
	width:1280px;
	margin:75px auto;
}
article.post-password-required .et_password_protected_form > h1 + p {
	font-size: 0;
}
article.post-password-required .et_password_protected_form > h1 + p::after {
	content: "Dieser Inhalt ist nur für unsere Gäste, bitte das Passwort eingeben:";
	font-size: 14px;
}

/******************** Hochzeit ENDE *****************/

#et-top-navigation {
	font-family: 'Martel-bold', serif;
}
#et-secondary-nav .menu-item-has-children > a:first-child, #top-menu .menu-item-has-children > a:first-child {
	padding-right:0;
}
#top-menu .menu-item-has-children > a:first-child::after {
	display:none;
}
.nav li ul {
	margin-left:-20px;
}
.nav li ul,
#top-menu li li {
	padding:0;
}
.nav li ul,
#top-menu li li a {
	width:180px;
}



#top-menu li a {
	color: #222b38;
}
#top-menu li.current-menu-item > a {
	color: #5f6f7a;
}
.page-id-103 #main-header {
	background-color: rgba(255,255,255,0.95);
}
.home #top-menu li a {
	color: #fff;
}
#main-header .et_mobile_menu {
	background: #fff !important;
}
/*change Divi hamburger menu to X*/
.mobile_nav.opened .mobile_menu_bar:before {
    content: '\4d';
}
.mobile_menu_bar:before {
	transition: all .4s ease;
	transform: rotate(0deg);
	display: block;
}
.mobile_nav.opened .mobile_menu_bar::before {
	transition: all .4s ease;
	transform: rotate(90deg);
	display: block;
}

.page-id-101 .et_pb_gallery_image, 
.single-post .et_pb_gallery_image {
	padding-top: 66.66%;
	display: block;
}
.page-id-101 .et_pb_gallery_image img,
.single-post .et_pb_gallery_item img {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	object-fit: cover;
}

h1, h2, h3 {
	font-family: 'Kanit-bold', sans-serif;
	text-transform:uppercase;
}
h1 {
	padding-bottom:26px;
}

#commentform input[type=email], #commentform input[type=text], #commentform input[type=url], #commentform textarea {
	font-size:14px;
}

.single-post p {
	font-size:16px;
}
.datum-tag p, .datum-tag .et_pb_text_inner {
	font-size:120px;
	line-height:1.2em;
}
.datum-monat p, .datum-monat .et_pb_text_inner {
	font-size:18px;
}

div.et_pb_section.et_pb_section_0 {
	background-size:cover !important;
}
div.et_pb_section.et_pb_with_background {
	background-size:cover !important;
	background-position:center;
}

.single-post a {
	color: #222b38;
	font-weight: bold;
}
.single-post a:hover {
  text-decoration:none;
}
a:hover {
	color:#5c6f76;
}

.et_overlay:before {
	content: url(https://alps-in-motion.com/wp-content/uploads/2018/02/alps-in-motion_logo_icon-white.png) !important;
	/*margin:-32px 0 0 -32px;*/
}
.et_pb_video_play::before {
	color: #fff;
}
#page-container {
	margin-top:0 !important;
}

.header-logo {
	padding-bottom:60px;
}

#philippe-portrait img {
	border-radius:50%;
}
/*
.et_overlay {
	display:none;
}
.mfp-title {
	display:none;
}
.et_pb_gallery_grid .et_pb_gallery_item img {
	transform: scale(1.0);
	transition: transform 0.5s, opacity 0.5s;
	z-index:1;
}
.et_pb_gallery_grid .et_pb_gallery_item img:hover {
	transform: scale(1.15);
	opacity: 1;
	z-index:2;
}
*/
.et_pb_post .et_pb_fullwidth_header_container {
	max-width: 1280px;
}

.et_pb_post .entry-content h2, .et_pb_post .entry-content h3 {
	font-family: 'Martel', serif;
	font-size:22px;
	line-height: 1.4;
	text-transform: none;
}
.et_pb_post .entry-content h2 {
	padding: 0px 0 30px;
	font-weight: bold;
}
.et_pb_post .entry-content h3 {
	padding: 20px 0;
}


.comment-reply-title {
	padding-bottom:25px;
}

#partner {
	min-height:100vh;
}
#main-footer {
	position: relative;
	z-index: 1;
}
#footer-info a {
	font-weight:normal;
	margin-right:20px;
	text-decoration:none;
}
.et-social-icons {
	margin-left:-30px;
}
.et-social-icons a {
	text-decoration:none;
}
.et-social-500px img {
	height:16px;
}
#left-area,
.single .et_pb_post {
	padding-bottom:0;
	margin-bottom:0;
}

.et_pb_gutters2 .et_pb_column_1_3 .et_pb_module, .et_pb_gutters2.et_pb_row .et_pb_column_1_3 .et_pb_module {
	margin-bottom:0;
}

.story-blog-desktop .et_pb_column_1,
.story-blog-desktop .et_pb_column_2,
.story-blog-desktop .et_pb_column_3 {
	width:32% !important;
}
.story-blog-desktop .et_pb_column_1,
.story-blog-desktop .et_pb_column_2 {
	margin-right:2% !important;
}
#blog-gitter .size-1of3:last-child {
	margin-right:  0 !important;
}

.datenschutz h2 {
	font-family: 'Martel', serif;
	font-size:22px;
	padding:10px 0 30px;
}
.datenschutz .liste_roman {
	list-style-type:upper-roman;
}
.datenschutz .liste_decimal {
	list-style-type:decimal;
}
.datenschutz .liste_klein-alpha {
	list-style-type:lower-alpha;
}
.datenschutz .liste_roman,
.datenschutz .liste_decimal,
.datenschutz .liste_klein-alpha {
	list-style-position:outside;
	padding-left:15px;
}
.datenschutz .liste_roman li,
.datenschutz .liste_decimal li,
.datenschutz .liste_klein-alpha li {
	padding-left:10px;
	padding-bottom:5px;
}
.wpgdprc-checkbox abbr {
	display:none;
}

@media all and (min-width:981px) {
	.home #main-header:not(.et-fixed-header) .logo_container {
		opacity: 0;
	}
	.header-logo {
		max-width: 640px;
	}
	#blog-gitter .size-1of3 {
		width:32%;
		margin-right:2%;
	}
	.sponsoren-story span {
		display:inline-block;
		width:16%;
	}
	.et_pb_post .et_pb_fullwidth_header_container .header-content-container {
		padding-left: 35.2%;
		padding-top: 20%;
	}
}
@media all and (max-width:980px) {
	.et_non_fixed_nav.et_transparent_nav #main-header, .et_non_fixed_nav.et_transparent_nav #top-header, .et_fixed_nav #main-header, .et_fixed_nav #top-header {
		position: fixed;
		background-color: #fff;
	}
	#blog-gitter .size-1of2 {
		width:48% !important;
		margin-right:4% !important;
	}
	#blog-gitter .size-1of2:nth-child(2n) {
		margin-right:0 !important;
	}
	.story-blog-tablet .et_pb_column {
		width:48% !important;
		margin-right:4% !important;
	}
	
	.story-blog-tablet .et_pb_column .et_pb_blog_grid .column.size-1of2, 
	.story-blog-tablet .et_pb_column .et_pb_widget:nth-child(n) {
		width:100% !important;
		margin:0 !important;
	}
	.story-blog-tablet .et_pb_column .et_pb_module,
	.story-blog-mobile .et_pb_column .et_pb_module {
		margin-bottom:0;
	}
/*
	.home #page-container #main-header {
		transform: translateY(-80px) !important;
	}
*/
	.home #page-container {
		padding-top: 0px !important;
	}
/*
	.home #page-container #main-header.et-fixed-header {
		background-color: #fff;
		transform: translateY(0px) !important;
		position: fixed !important;
		top: 0px !important; 
		-webkit-opacity: 1 !important;
		opacity: 1 !important;
	}
	#logo {
		opacity: 0;
	}
	.et-fixed-header #logo {
		opacity: 1;
	}
	#main-header .et_mobile_menu {
		background-color: #fff !important;
	}
	.mobile_menu_bar::before {
		color: #fff !important;
	}
	.et-fixed-header .mobile_menu_bar::before {
		color: rgba(34,43,56,0.6) !important;
	}

*/

	.home .et_pb_fullwidth_header.et_pb_fullwidth_header_0 {
		padding-bottom:80px;
	}
	
	.single-post .et_pb_section_first {
		padding-top:80px !important;
	}
	.single-post p {
		font-size:14px;
	}
	.datum-tag p, .datum-tag .et_pb_text_inner {
		font-size:40px;
	}
	.sponsoren-story span {
		display:inline-block;
		width:32%;
	}
	.sponsoren-story p {
		margin:0 10%;
	}
	.et_pb_post h1 {
		hyphens: auto;
	}
	.subtitle {
  		font-size: 18px;
 		letter-spacing: 1px;
  		line-height:1.4em;
	}
}

