/*   
Theme Name: Warten UK
Theme URI: Warten UK
Description: A Theme for WordPress with Bootstrap for styling.
Author: Someone
Author URI:  Someone
Version: 1.0
*/
/* lora-500 - latin */

a, .resetflip {

     text-decoration: none !important; 
}


@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 500;
  src: url('/wp-content/themes/warten/fonts/lora-v17-latin-500.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/wp-content/themes/warten/fonts/lora-v17-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-500.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-500.svg#Lora') format('svg'); /* Legacy iOS */
}
/* lora-regular - latin */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/themes/warten/fonts/lora-v17-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/wp-content/themes/warten/fonts/lora-v17-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-regular.svg#Lora') format('svg'); /* Legacy iOS */
}
/* lora-600 - latin */
@font-face {
  font-family: 'Lora';F
  font-style: normal;
  font-weight: 600;
  src: url('/wp-content/themes/warten/fonts/lora-v17-latin-600.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/wp-content/themes/warten/fonts/lora-v17-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-600.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-600.svg#Lora') format('svg'); /* Legacy iOS */
}
/* lora-700 - latin */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 700;
  src: url('/wp-content/themes/warten/fonts/lora-v17-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/wp-content/themes/warten/fonts/lora-v17-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-700.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-700.svg#Lora') format('svg'); /* Legacy iOS */
}
/* lora-italic - latin */
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400;
  src: url('/wp-content/themes/warten/fonts/lora-v17-latin-italic.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/wp-content/themes/warten/fonts/lora-v17-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-italic.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-italic.svg#Lora') format('svg'); /* Legacy iOS */
}
/* lora-500italic - latin */
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 500;
  src: url('/wp-content/themes/warten/fonts/lora-v17-latin-500italic.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/wp-content/themes/warten/fonts/lora-v17-latin-500italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-500italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-500italic.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-500italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-500italic.svg#Lora') format('svg'); /* Legacy iOS */
}
/* lora-700italic - latin */
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 700;
  src: url('/wp-content/themes/warten/fonts/lora-v17-latin-700italic.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/wp-content/themes/warten/fonts/lora-v17-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-700italic.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-700italic.svg#Lora') format('svg'); /* Legacy iOS */
}
/* lora-600italic - latin */
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 600;
  src: url('/wp-content/themes/warten/fonts/lora-v17-latin-600italic.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/wp-content/themes/warten/fonts/lora-v17-latin-600italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-600italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-600italic.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-600italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/wp-content/themes/warten/fonts/lora-v17-latin-600italic.svg#Lora') format('svg'); /* Legacy iOS */
}


hr {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}
body, html, .primary, main, .site-main, .container, .bg-dark {
  font-family: 'Lora' !important;
  font-style: normal;
background: #000 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


.entry-content p, .entry-content ul, .entry-content li, .entry-content a, .entry-content em, .entry-content b, .entry-content i, h1, h2,h3,h4,h5 {
  font-family: 'Lora' !important;
}
.entry-content p, .entry-content ul, .entry-content li, .entry-content a, .entry-content em, .entry-content b, .entry-content i {
  font-family: 'Lora' !important;
font-size: 1em !important;
}

/* Android(Samsung Galaxy) in portrait 380 X 685 ----------- */
@media only screen
and (min-width: 375px)
and (max-width: 385px){
/* YOUR STYLE GOES HERE */
.scrollbox {
	max-height: 340px;
	}
}


.scrollbox {
	max-height: 340px;
  -moz-hyphens: auto;
   -o-hyphens: auto;
   -webkit-hyphens: auto;
   -ms-hyphens: auto;
   hyphens: auto;
  overflow-x: hidden;
  background: 
    linear-gradient(#fff 33%, rgba(138,242,174, 0)),
    linear-gradient(rgba(138,242,174, 0), #fff 66%) 0 100%,
    radial-gradient(farthest-side at 50% 0, rgba(34,34,34, 0.5), rgba(0,0,0,0)),
    radial-gradient(farthest-side at 50% 100%, rgba(34,34,34, 0.5), rgba(0,0,0,0)) 0 100%;
  background-color: #fff;
  background-repeat: no-repeat;
  background-attachment: local, local, scroll, scroll;
  background-size: 100% 45px, 100% 45px, 100% 15px, 100% 15px;
}

.wp-block-video {
    width: 58%;
    margin: 0 auto;
    display: block;
}

.btn-white {
display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s 
background: white !important;
color: black;
width: 24px;
height: 24px;
}


.btn-light {
	border: 2px solid black !important;
background: white !important;
text-transform: uppercase !important;
letter-spacing: 3px !important;
  font-family: 'Lora';
font-size: 14pt;
display: block !important;
	clear: both;
}



// X-Small devices (portrait phones, less than 576px)
@media (max-width: 575.98px) { 
.vorzeile {
font-size:1.2em;
  font-family: 'Lora' !important;
line-height: 1em;

}

.introtext  {
font-size: 1,505625015056256
  font-family: 'Lora' !important;
line-height: 1em;

}

.schlagzeile {
font-size: 1.9em;
font-weight: 500;
  font-family: 'Lora' !important;
line-height: 1em;
}
.scrollbox {
max-height: 320px;
padding-bottom: 5px;
  -moz-hyphens: auto;
   -o-hyphens: auto;
   -webkit-hyphens: auto;
   -ms-hyphens: auto;
   hyphens: auto;
}

}



/* Portrait moto g */
@media screen and (device-width: 360px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 2) {
.scrollbox {
    max-height: 320px;
    padding-bottom: 5px;
}
}

/* Portrait moto g4*/
@media only screen 
  and (min-device-height: 577px) 
  and (max-device-height: 640px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {
.scrollbox {
    max-height: 360px;
    padding-bottom: 3px;
}
}


/* Portrait Samsung Galaxy S4 */
@media screen and (max-device-width: 360px) and @media screen and (-webkit-min-device-pixel-ratio: 3) and @media screen and (device-aspect-ratio: 9/16) {
.scrollbox {
    max-height: 320px;
    padding-bottom: 5px;
}
}


/* iphone 4 */
@media (min-width: 320px) and (max-height: 480px) and (-webkit-min-device-pixel-ratio: 2) {
.scrollbox {
    max-height: 300px;
    padding-bottom: 3px;
}
}

/* Portrait iphone 6*/
@media only screen 
    and (min-device-width : 375px) // or 213.4375em
    and (max-device-width : 667px) // or 41.6875em
    and (width : 375px) // or 23.4375em
    and (height : 559px) // or 34.9375em
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {
	  
.scrollbox {
	height: 360px
    max-height: 360px;
    padding-bottom: 5px;
margin-bottom: 5px
}
	  
.heightfix {
	height: 65px
}
	  


.wp-block-video {
    width: 65% !important;
    margin: 0 auto;
    display: block;
}	  
  
}
/* Portrait iPhone 6+
*/

@media only screen 
 and (min-device-width : 414px) 
    and (max-device-width : 736px)
    and (device-width : 414px)
    and (device-height : 736px)
  and (-webkit-min-device-pixel-ratio: 3) { 

.scrollbox {
    max-height: 370px;
    padding-bottom: 5px;
margin-bottom: 5px;
}

.heightfix {
	height: 72px
}

.wp-block-video {
    width: 55% !important;
    margin: 0 auto;
    display: block;
}		 
}


// Small devices (landscape phones, less than 768px)
@media (max-width: 767.98px) {

.vorzeile {
font-size:1.2em;
  font-family: 'Lora' !important;
line-height: 1em;

}

.introtext  {
font-size: 1.55em;
  font-family: 'Lora' !important;
line-height: 1em;
	
}

.schlagzeile {
font-size: 2.5em;
font-weight: 500;
  font-family: 'Lora' !important;
line-height: 1em;
}

	.scrollbox {
max-height: 300px !important;
padding-bottom: 25px;
}


 }

.btncircle {
margin: 0 auto;
display: block;
text-align: center;
  height: 80px;
  line-height: 80px;  
  width: 80px;  
  font-size: 2em;
  font-weight: bold;
  border-radius: 50%;
  background-color: #fff;
  color: #000;
  text-align: center;
  cursor: pointer;
}

.btncircle:hover img {
margin-top: 10px
}

.btn-light {
	border: 2px solid black;
background: white;
  border-radius: 0;
text-transform: uppercase;
letter-spacing: 3px;
padding: .5em 3em .5em 3em !important;
display: block !important;
	clear: both;
	margin: .5em auto !important
}

.btn-light:hover {
	border: 2px solid black !important;
background: black !important;
 color: white !important;

}
}




.btncircle:hover {
  background-color: #efefef;
}



body.offcanvas-active{
	overflow:hidden;
}

.offcanvas-header{ display:none; }

.screen-darken{
	height: 100%;
	width:0%;
	z-index: 30;
	position: fixed;
	top: 0;
	right: 0;
	opacity:0;
	visibility:hidden;
	background-color: rgba(34, 34, 34, 0.6);
	transition:opacity .2s linear, visibility 0.2s, width 2s ease-in;
}

.screen-darken.active{
	z-index:10; 
	transition:opacity .3s ease, width 0s;
    opacity:1;
    width:100%;
    visibility:visible;
}

/* ============ mobile view ============ */
@media all and (max-width: 991px) {
	
	.offcanvas-header{ display:block; }

	.mobile-offcanvas{
		visibility: hidden;
		transform:translateX(-100%);
	    border-radius:0; 
		display:block;
	    position: fixed;
	    top: 0; left:0;
	    height: 100%;
	    z-index: 1200;
	    width:80%;
	    overflow-y: scroll;
	    overflow-x: hidden;
	    transition: visibility .3s ease-in-out, transform .3s ease-in-out;
	}

	.mobile-offcanvas.show{
		visibility: visible;
    	transform: translateX(0);
	}
	.mobile-offcanvas .container, .mobile-offcanvas .container-fluid{
		display: block;
	}

.nav-link, .menu-item {
    padding-right: .5rem;
    padding-left: 0rem !important;
text-decoration: none !important;
}

.menu-item a{
text-decoration: none !important;
}

}
/* ============ mobile view .end// ============ */

.nav-link  {
    display: block;
    padding: .5rem 1rem;
    text-decoration: none;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}

 .menu-item a {
    display: block;
    padding: .5rem 1rem
    text-decoration: none;
    list-style: none;
color: #fff;
}
.nav-link, .menu-item {
    padding-right: .5rem;
    padding-left: .5rem;
	    padding: .5rem 1rem;
}

.card {
    height: 100%;
    width: 100%;
    position: relative;
    display: inline-block;
    /* transition: 0.6s; */
    /* transform-style: preserve-3d; */
    border: none;
}

@media (max-width: 576px) { 
.carousel-item {
    height: 530px;
    max-height: 530px;
}
.carousel-inner {
    position: relative;
    width: 94%;
    overflow: hidden;
margin: 0 auto;
}
	.carousel-indicators {
bottom: 10px;
}
.heightfix {
	min-height: 65px
}	
 }


/* iphone 5 only */    

@media screen and (device-aspect-ratio: 40/71) {

	.scrollbox {
max-height: 270px !important;
}

	.wp-block-video {
    width: 65%;
    margin: 0 auto;
    display: block;
}

}



/* Samsung Galaxy S5 Portrait */    
@media screen and (device-width: 360px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 3)
{ 
/*Your styles here */
.card {
    height: auto;
    width: 92% !important;
	}
}


/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 2) {

.wp-block-video {
    width: 68%;
    margin: 0 auto;
    display: block;
}

}



@media (min-width: 768px) { 
	
	.scrollbox {
max-height: 630px;
padding-bottom: 25px;
}
	.carousel-inner {
    position: relative;
    width: 75%;

    margin: 0 auto;
}
	
.carousel-item {
    height: 1000px !important;
    max-height: 1000px !important;
}
.card {
    height: auto;
    width: 65% !important;
    position: relative;
    display: block;
    transition: all 0.5s ease-out;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    border: none;
    margin: 0 auto;
    border-radius: 0rem;
    z-index: 10;
}
}

.carousel-indicators li {
  border-radius: 50%;
  width: 6px;
  height: 6px;
  padding: 3px;
  position: relative;
  margin: 0 8px;
  background-color: transparent;
  opacity: 1;
    border:3px solid white;    
}

.carousel-indicators li:first-child {
  margin-left: 0 !important;
}
.carousel-indicators li:last-child {
  margin-right: 0 !important;
}

.carousel-indicators li:first-child.active {
  margin-left: 0 !important;
}
.carousel-indicators li:last-child.active {
  margin-right: 0 !important;
}


	

.carousel-indicators li.active {
  background-color: white;
  border-radius: 100%;
  background-color: white;
  margin: 0 8px;
  width: 12px;
  height:12px;
    border:0px;    
}

.carousel-indicators
{
    position: fixed !important;
    right: 0;
    bottom: 0;
    left: 0;
     z-index: 1 !important;
overflow: hidden;
 }

}

.noflip {
  /* CSS to make element flip on click */
  transform: none !important;
background: #000 !important
}

html, body {
font-size: 5vw;
line-break: normal;
  /* These are technically the same, but use both */
  overflow-wrap: break-word;
  word-wrap: break-word;

  word-break: break-word;

  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  hyphens: auto;
}

// iphone5
@media only screen and (min-device-width: 320px) and (max-device-width: 568px)
and (-webkit-device-pixel-ratio: 2) and (device-aspect-ratio: 40/71) and (orientation:portrait)) {
.wp-block-video {
    width: 70%;
    margin: 0 auto;
    display: block;
}

.heightfix {
	height: 60px
}

.scrollbox {
    max-height: 300px !important;
    padding-bottom: 5px;
}

}	
	
.schlagzeile, h2, .h2 {
    font-size: 1.6rem !important;
}
}
	
.text-responsive {
  font-size: calc(100% + 1vw + 1vh);
}	

.text-responsive2 {
  font-size: calc(100% + .8vw + .8vh);
}
.carousel-control-next {
    right: 0px;
}

	.carousel-control-next, .carousel-control-prev {
    position: absolute;
    top: 0;
    bottom: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    color: #fff;
    text-align: center;
    opacity: .5;
}

	.lastcard  {
display: none
}