/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

   html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

.container_fluid {
    background-color: #000000;
    color: #ffffff; 
}

p {
    font-size: 15px;
    font-family: 'Raleway', sans-serif;
    font-weight: 300; 
}
ul li {
    font-family: 'Raleway', sans-serif; 
    font-weight: 300;   
}   

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* Logo */
.navbar-header {
    width: 20%;
}
.navbar-brand {
    height: auto;
}
.navbar-brand>img {
    width: 100%;
}
 
/* Navbar */
div#myNavbar {
    float: left;
    width: 80%;
    margin-top: 55px;
}
.navbar-inverse {
    background-color: transparent;
    border-color: transparent;
    width: 87.3%;
    margin: 0 auto;
}
.navbar-inverse .navbar-nav>li>a {
    color: #ffffff;
    font-size: 16px;
    padding: 5px 10px;
    font-family: 'Open Sans';
}
.navbar-inverse .navbar-nav>.active>a, 
.navbar-inverse .navbar-nav>.active>a:focus, 
.navbar-inverse .navbar-nav>.active>a:hover {
    background-color: transparent;
    color: #E60003;
}
.navbar-inverse .navbar-nav>.open>a, 
.navbar-inverse .navbar-nav>.open>a:focus, 
.navbar-inverse .navbar-nav>.open>a:hover {
    background-color: transparent;
    color: #E60003;
}
.navbar-inverse .navbar-nav>li>a:focus, 
.navbar-inverse .navbar-nav>li>a:hover {
    background-color: transparent;
    color: #E60003;
}
.navbar-inverse .navbar-collapse, 
.navbar-inverse .navbar-form {
    border-color: transparent; 
}
.dropdown-menu>li>a {
    font-family: 'Open Sans';
}

/* Demo Button */
li#menu-item-139 a { 
    padding: 5px 15px;
    background-color: #E60003;  
    border-radius: 4px;
    color: #ffffff !important;    
}

li#menu-item-139 a:focus,
li#menu-item-139 a:hover {
    background-color: #ffffff;  
    color: #E60003 !important;   
}


/* Header */
header{
    width: 100%;
    height: 100vh;
    background: url(../img/header-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-box-shadow: inset 3px -27px 74px 16px rgba(0,0,0,0.75);
    -moz-box-shadow: inset 3px -27px 74px 16px rgba(0,0,0,0.75);
    box-shadow: inset 3px -27px 74px 16px rgba(0,0,0,0.75); 
}

h2.slider-heading {
    color: #E60003;
    font-size: 48px;
    font-family: 'Raleway';
    font-weight: 700;
    margin-left: 13%;
    -webkit-animation: fadein 4s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 4s; /* Firefox < 16 */
    -ms-animation: fadein 4s; /* Internet Explorer */
    -o-animation: fadein 4s; /* Opera < 12.1 */ 
    animation: fadein 4s;
}
p.slide-paragraph {
    font-size: 16px; 
    font-family: 'Open Sans'; 
    color: #ffffff;
    font-weight: 400;
    text-align: justify; 
    margin-left: 13%;
    -webkit-animation: fadein 4s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 4s; /* Firefox < 16 */
    -ms-animation: fadein 4s; /* Internet Explorer */
    -o-animation: fadein 4s; /* Opera < 12.1 */
    animation: fadein 4s;
}
@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
/* @-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
} */

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.row.slider-text {
    margin-top: 10vh; 
}
.scroll-downs {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    margin-top: 40px;
    width :34px;
    height: 55px;
}
.mousey {
    width: 3px;
    padding: 10px 15px;
    height: 35px;
    border: 2px solid #fff;
    border-radius: 25px;
    opacity: 0.75;
    box-sizing: content-box;
}
.scroller {
    width: 3px;
    height: 10px;
    border-radius: 25%;
    background-color: #fff;
    animation-name: scroll;
    animation-duration: 2.2s;
    animation-timing-function: cubic-bezier(.15,.41,.69,.94);
    animation-iteration-count: infinite;
}
@keyframes scroll {
    0% { opacity: 0; }
    10% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0;}
}
.row{
    margin-left: 0;
    margin-right: 0;
}

/* Header Pages */
header.header-page-bg {
    width: 100%;
    height: 100vh;
    background: url(../img/header-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
.subtitle {
    margin: 0 0 2em 0;
}
.fancy {
    line-height: 0.5;
    text-align: center;
}
.fancy span {
    display: inline-block;
    position: relative;
}
.fancy span:before,
.fancy span:after {
    content: "";
    position: absolute;
    height: 5px;
    border-bottom: 1px solid white;
    border-top: 1px solid white;
    top: 0;
    width: 600px;
}
.fancy span:before {
    right: 100%;
    margin-right: 15px;
    width:100px;
    margin-top: 6px;
}
.fancy span:after {
    left: 100%;
    margin-left: 15px;
    width: 100px;
    margin-top: 6px;
}
h4.other-pages-title.subtitle.fancy {
    font-size: 42px; 
    color: #E60003; 
    margin-top: 40px;
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    font-weight: 500;
}

/* Contant */
.homepage-content{
    background: #000;
    margin-bottom: -0px;
}
.pattern-bg {
    background: url(../img/main-bg-1.png);
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    width: 80%;
    margin: 60px auto;
    padding: 20px 0 60px;
    border-radius: 10px;
}
.homepage-title-content{
    background: #E60003;   
    padding: 10px;
    border-radius: 5px;
    color: #ffffff;
    margin-top: 30px;
    font-family: 'Raleway', sans-serif;
    font-size: 28px;
    font-weight: 700;   
}
.homepage-paragraph-content{ 
    margin: 20px 0 40px 0;
    text-align: justify;
    color: #000000;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 16px;
}
.homepage-list-content{
    margin: 20px 0 40px 0;
    text-align: left;
    padding-left: 20px;
}
.homepage-list-content li{
    line-height: 30px;
    color: #E60003;
}
.homepage-list-content li span {
    color: #000000;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 16px; 
}
.homepage-padd {
    padding: 0 60px;
}
/* Content Pages */
.wrapper-margin-neg {
    margin-top: -35%;
}
.variant-box {
    background: rgba(51, 51, 51, 0.84);   
    margin: 15px; 
    padding: 20px;
    min-height: 495px;
    border-radius: 5px; 
}
.variant-box-white {
    background: rgba(255, 255, 255, 0.6);  
    padding: 20px;
    border-radius: 5px;
    margin: 0 15px; 
	/* margin-top: 50px; */
}
.variant-box-full {
    min-height: auto;
}
.variant-box-heading {
    font-size: 22px;
    color: #E60003;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    text-transform: uppercase;  
}
.angebot-unser {
    margin-top: 65px;
}
.angebot-unser-second {
    margin-top: 105px; 
}
.unser-list li span {
    margin-left: 5px;
    font-weight: 600;
}
.page-text-shadow {
    color: #000000;
    font-weight: 400;
    font-family: 'Raleway', sans-serif;     
}


/* Footer */
.top-footer {
    margin: 0 auto;
    background: url(../img/footer-bg.jpg);
    background-size: 100% 100%; 
    min-height: 360px;
    background-repeat: no-repeat;
    background-position: center center;  
}
.top-footer-content {
    width: 80%;
    margin: 0 auto;
}
.flags-holder {
    text-align: center; 
    margin: 40px 0;  
}
.flags-holder img {
    max-width: 100%; 
}
.col-md-12.bottom-footer {
    background: #000;
    padding: 20px 0 10px;
    color: #ffffff;
    text-align: center;
}
.footer-bottom-text {
    padding: 25px 0;
    border-bottom: 1px solid #E60003;
}
.copyrigt {
    padding: 20px 0 0 0; 
}
.copyrigt a {
    color: #E60003;
}
.col-md-12.bottom-footer p {
    font-family: 'Open Sans';
}
a{
    color: #E60003; 
}
.col-md-12.bottom-footer a:hover,
.col-md-12.bottom-footer a:focus {
    color: #ffffff;
    text-decoration: none;
}

/* Footer Pages */
footer.footer-page-bg .top-footer {
    background-image: none;
    background-color: #000;
    height: auto;
}

/* Media Query */
@media screen and (min-width: 1600px) {
    .wrapper-margin-neg {
        margin-top: -80vh;
    }
	.wrapper-white-margin-neg {
    	margin-top: -65vh !important;
	}
	.variant-box { 
	    margin-top: 120px !important;
    }
}

@media screen and (max-width: 1400px) {
    .country-wrapper img {
        margin-top: -4px;  
    }
    .navbar-inverse {
        width: 90.3%;
    }
    .wrapper-margin-neg {
        margin-top: -55%;
    }
}

@media (max-width: 1366px) {
    .navbar-inverse {
        width: 100% !important;
    }
    .wrapper-margin-neg {
        margin-top: -35%;
    } 
@media (max-width: 1240px) { 
    .navbar-header {
        width: 18%;
    }
    .navbar-inverse {
        width: 100% !important;
    }
    .navbar-inverse .navbar-nav>li>a {
        padding: 5px 8px;    
    }
    li#menu-item-139 {
        padding: 0;
        margin-bottom: 15px;
    } 
} 


/* Bootstrap break point for navbar */
@media (max-width: 1200px) {
    header.header-page-bg {     
        background-size: contain;
        /*height: 550px;*/
    }
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none !important;  
    } 
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
        position: absolute;
        right: 0;
        top: 55px;
        background: #000;
        z-index: 999;
    }
    .collapse.in #bs-example-navbar-collapse-1 {
        display: block !important; 
    }
    .navbar-inverse .container_fluid {
        background: transparent; 
    }
    .navbar-header {
        width: 100%;  
    }
    .navbar-right .dropdown-menu {
        left: 9px;
        position: relative;
        float: none;
        width: 210px;
        border: 0;
        border-radius: 0;
        background: transparent;
    }
    .dropdown-menu>li>a {
        color: #ffffff;
    }
    .dropdown-menu>li>a:focus,
    .dropdown-menu>li>a:hover {
        color: #E60003; 
        background-color: transparent;
    }
    .row.slider-text {
        margin-top: 3vh;
    }
    header {
        height: auto;
        margin-bottom: 65px;
    }
    div#myNavbar {
        float: unset;
        width: unset;
        margin-top: unset;
    }
    .wrapper-margin-neg {
        margin-top: -30%;
    }  
}

@media (max-width: 990px) { 
    .wrapper-margin-neg {
        margin-top: -45% !important; 
    } 
} 

/* Mobile */
@media screen and (max-width: 768px) { 
    .navbar-brand {
        width: 50%;
    }
    .variant-box {
        margin: 0 0 20px 0 !important;
        min-height: auto !important;
    }
    .bottom-footer {
        padding: 20px 10px !important;  
    }
    .angebot-unser {
        margin-top: 35px;
    }
    .angebot-unser-second {
        margin-top: 35px;  
    }
    .top-footer {
        background-size: cover;
        background-position: center center;
        min-height: auto;
        width: 100%;
        background-repeat: no-repeat;
        height: auto; 
    }  
    h4.other-pages-title.subtitle.fancy {
        font-size: 28px;
    }
    h2 {
        font-size: 24px;
    }
    .variant-box-heading {
        font-size: 18px;
    }
    p {
        font-size: 14px; 
    }
}

@media (max-width: 640px) { 
    .wrapper-margin-neg {
        margin-top: -65% !important;   
    } 
} 

@media screen and (max-width: 480px) {
    .wrapper-margin-neg {
        margin-top: -100% !important;
    }
}

@media screen and (max-width: 320px) {
    .wrapper-margin-neg {
        margin-top: -100% !important;
    }
} 


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
}

@media only screen and (max-height: 400px) and (min-height: 320px) {
	.wrapper-white-margin-neg{
		margin-top: -21vh !important;
	}
}
@media only screen and (max-height: 500px) and (min-height: 401px) {
	.wrapper-white-margin-neg{
		margin-top: -38vh !important;
	}
}
@media only screen and (max-height: 670px) and (min-height: 501px) {
	.wrapper-white-margin-neg{
		margin-top: -54vh !important;
	}
}
