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

@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/roboto-condensed-v25-latin-300.eot'); /* IE9 Compat Modes */
    src: url('../fonts/roboto-condensed-v25-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/roboto-condensed-v25-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/roboto-condensed-v25-latin-300.woff') format('woff'), /* Modern Browsers */
         url('../fonts/roboto-condensed-v25-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/roboto-condensed-v25-latin-300.svg#RobotoCondensed') format('svg'); /* Legacy iOS */
  }
  
  
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-condensed-v25-latin-regular.eot'); /* IE9 Compat Modes */
    src: url('../fonts/roboto-condensed-v25-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/roboto-condensed-v25-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/roboto-condensed-v25-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('../fonts/roboto-condensed-v25-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/roboto-condensed-v25-latin-regular.svg#RobotoCondensed') format('svg'); /* Legacy iOS */
  }
  
  @font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-condensed-v25-latin-700.eot'); /* IE9 Compat Modes */
    src: url('../fonts/roboto-condensed-v25-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/roboto-condensed-v25-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/roboto-condensed-v25-latin-700.woff') format('woff'), /* Modern Browsers */
         url('../fonts/roboto-condensed-v25-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/roboto-condensed-v25-latin-700.svg#RobotoCondensed') format('svg'); /* Legacy iOS */
  }
  

html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-size: 1.125em;
    line-height: 1.5em;
    color: #000;
    font-family: 'Roboto Condensed', Arial, Verdana, sans-serif;
    background-color: #f2f2f2;
    /* background-image: url('../img/layout/body_bg.jpg'); */
    background-size: cover;
    font-weight: 300;
    padding-top: 81px;
}

footer {
    border-top: 5px solid #87BBE6;
    padding: 20px 0;
    color: #fff;
    background-color:#014488;
}

.container {
    padding-top:25px;
    padding-bottom:25px;
}

header {
    background-color: #fff;
}

header .container {
    padding-top:0;
    padding-bottom:0;
    padding-left:0;
    padding-right:0;
}

.blue-bg {
    color:#fff;
    padding:30px 0;
    background: rgb(26,67,131);
    background: -moz-linear-gradient(90deg, rgba(26,67,131,1) 0%, rgba(70,116,171,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(26,67,131,1) 0%, rgba(70,116,171,1) 100%);
    background: linear-gradient(90deg, rgba(26,67,131,1) 0%, rgba(70,116,171,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#1a4383",endColorstr="#4674ab",GradientType=1); 
}

a:link,
a:visited {
    text-decoration: none;
    color: #014488;
}

a:hover,
a:active,
a:focus {
    color: #000;
}

.fhp {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}


label {
    display:inline;
}

.required label:after { 
    content:"*";
    float:right;
    vertical-align: super;
    color:#f00;
}

.btn {
    --bs-btn-padding-x: 1rem;
}

.btn-primary {
    background: #014488;
    color: #fff !important;
    border: 1px solid #014488;
    border-radius: 5px;
    font-weight: 400 !important;
}

.btn-primary:hover {
    background: #fff;
    border: 1px solid #fff;
    color: #333 !important;
}

.primary-invers {
    background: #87bbe6;
}

.kontakt-header {
    font-weight:400;
}

footer a:link,
footer a:visited,
#topnav-links a:link,
#topnav-links a:visited {
    text-decoration: none;
    color: #fff;
}

footer a:hover,
footer a:active,
footer a:focus,
#topnav-links a:hover,
#topnav-links a:active,
#topnav-links a:focus {
    color: #fff;
    text-decoration: underline;
}

#logo {
    display: none;
}

.card {
    border:0;
    border-radius: 0;
    background-color:#fff;
}

.card-img-top {
    border-radius: 0;
}

.card-body, .card-footer {
    background:#87BBE6;
    border-radius: 0;
    color:#fff;
    border-top:0;
}

.card-footer:last-child {
	border-radius: 0;
}

.card-title {
    color:#fff;
    font-weight:bold;
    font-size:1.375rem;
    margin-bottom:0.75em;
}

h1,
.h1 {
    font-size: 1.375rem;
    line-height: 1.25em;
    font-weight: 600;
    margin: 0 0 1em 0;
}

.subhead {
    font-size: 1.1rem;
    line-height: 1.25em;
    margin-bottom:1.5em;
    font-weight:400;
}

h2,
.h2 {
    font-size: 1.1rem;
    line-height: 1.25em;
    margin: 0 0 15px 0;
    font-weight: 400;
}

h3,
.h3 {
    font-size: 1.3rem;
    line-height: 1.250em;
    margin: 0 0 15px 0;
    font-weight: 600;
}

h4,
.h4 {
    font-size: 1.25rem;
    line-height: 1.25rem;
    font-weight: 600;
}

h5,
.h5 {
    font-size: 1.0rem;
    line-height: 20px;
    margin: 3px 0 0 0;
    font-weight: 500;
}

.strong,
strong {
    font-weight: 700;
}

.fw-400 {
    font-weight:400;
}

.small {
    font-size: 1rem;
    line-height: 1.3rem;
}

.text-blue {
    color:#014488;
}

ul.listing {
    padding-left:20px;
}

ul.listing li {
    color:#87BBE6;
    margin-bottom:3px;
}

.listing li span {
    color:#333;
}

.blue-bg .listing li span {
    color:#fff;
}

.product-table {
    background-color:#fff;
}

.product-table thead tr {
    border:0;
    border-bottom:1px solid #1a4383;
}

.product-table tr td, .product-table tr th {
    border-left: 1px solid #e3e3e3;
}

.product-table tr td:first-of-type, .product-table tr th:first-of-type {
    border-left: 0;
}

.form-control {
    border-radius: 0;
}

.form-control:focus {
	border-color: #014488;
	outline: 0;
	box-shadow:none;
}

hr {
    border-color:#accae8;
    opacity: 1;
    margin-top:1rem;
    margin-bottom:2rem;
}

.headoverlay {
    position:absolute; 
    top:40%; 
}

.whitebar {
    text-align: right;
    background: rgba(255,255,255,0.5);
    padding-top:0.5rem;
    padding-bottom:0.5rem;
}

.bannerhead {
    color:#014488;
    font-size:2rem;
    font-weight:700;
    margin-bottom:0;
}

.bannerhead span {
    color:#fff;
    font-size:1.5rem;
    display:block;
}


.headoverlay2 {
    padding-top:0;
    padding-bottom:0;
    position:absolute; 
    top:10%;
    width:80%;
}

.headoverlay2 p {
    padding-right:1rem;
    line-height: 1.5em;
    font-size:1.25rem;
}


/* mobile Navigation
*****************************/

.navbar-brand {
    padding: 0;
    margin-left:0.75em;
    width: 230px;
    height: 65px;
    background-image: url('../img/layout/IFS-Logo.png');
    background-repeat: no-repeat;
    background-size: contain;
}

.navbar-toggler {
    border: 1px solid #014488;
    border-radius: .25rem;
    outline: 0;
    margin-right:0.75em;
}

.navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(138, 191, 236, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar .navbar-toggler-icon:hover,
.navbar .navbar-toggler-icon:focus,
.navbar .navbar-toggler-icon:active {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(138, 191, 236, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    outline: 0;
    box-shadow: none;
}

.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: none;
}

.navbar-nav {
    padding-top:10px;
}

.navbar-nav .nav-link {
    padding: 5px 10px 5px 25px;
    color: #014488;
    outline: none;
    font-size: 1.250rem;
    line-height: 1.75em;
    font-weight: bold;
}

.navbar-nav .nav-link:hover {
    color: #fff;
    background-color: #8abfec;
}

.dropdown-menu {
    border:0;
}

.dropdown-item {
    padding-left:30px;
    padding-top:8px;
    padding-bottom:8px;
    color:#014488 !important;
}
.dropdown-item.last {
    border-bottom: 0;
}    

.dropdown-item:focus, .dropdown-item:hover {
    color: #fff !important;
    background-color: #88bce6;
    text-decoration: none;
}


/* end mobile Navigation
******************************/

@media (min-width: 400px) {

    .headoverlay2 {
        padding-top:0;
        padding-bottom:0;
        position:absolute; 
        left:5%;
        top:15%;
        width:75%;
    }

    .headoverlay2 p {
        padding-right:1rem;
        line-height: 1.25em;
        font-size: 1.25em;
    }

}


@media (min-width: 576px) {

    .headoverlay {
        top:35%; 
    }
    
    .whitebar {
        padding-top:0.5rem;
        padding-bottom:0.5rem;
    }
    
    .bannerhead {
        font-size:2.5rem;
    }
    
    .bannerhead span {
        font-size:2rem;
        display:block;
    }
    
    .headoverlay2 {
        padding:0;
        position:absolute; 
        top:20%;
        left:10%;
        width:65%;
    }

    .headoverlay2 p {
        padding-right:1rem;
        line-height: 1.5rem;
        font-size: 1.5rem;
    }    

}

@media (min-width: 768px) {

    body {
        padding-top:75px;
    }

    header {
        height:75px;
        margin: 0;
        color:#000;
        background-color: #fff;
    }

    .container {
/*
        padding-top:45px;
        padding-bottom:45px;
*/        
    }
    
    header .container {
        padding-top:0;
        padding-bottom:0;
    }

    footer .container {
        padding-top:60px;
        padding-bottom:20px;
    }

    .navbar-brand {
        display: none;
    }

    #logo {
        display: inline-block;
        height:75px;
    }    

    .navbar {
        position: absolute;
        top: 15px;
        right: 50px;
        background-color: transparent;
        padding: 0;
        margin: 0;
        z-index: 1;
    }

    .navbar-nav {
        margin: 0;
        padding-right: 0;
    }

    .nav-item {
        margin-right:30px;
    }

    .last {
        margin-right: 0;
    }

    .navbar .navbar-nav .nav-link {
        padding: 0px 8px;
        color: #000;
        text-align: center;
        outline: none;
        font-size: 1.125rem;
        line-height: 1.4em;
        text-decoration: none;
        font-weight:400;
    }

    .navbar-nav .nav-link:hover {
        color: #014488;
        background-color: transparent;

    }
    
    .dropdown-menu {
        border-radius: 0;
        padding-top:0;
        padding-bottom:0;
        min-width:250px;
    }

    .dropdown-menu[data-bs-popper] {
        top: 100%;
        margin-top: 10px;
    }            

    .dropdown-item {
        padding-left:30px;
        padding-top:8px;
        padding-bottom:8px;
        color:#000 !important;
    }
    .dropdown-item.last {
        border-bottom: 0;
    }    

    .dropdown-item:focus, .dropdown-item:hover {
        color: #000;
        background-color: #88bce6;
    }


    #index #nav-home,
    #seitenschutzkupplung #nav-produkte,
    #steckdose #nav-produkte,
    #befestigung #nav-produkte,
    #unternehmen #nav-unternehmen,
    #kontakt #nav-kontakt {
        font-weight:700;
    }

    ul.show {
        animation-name: slidenavAnimation;
        animation-duration: .5s;
        animation-iteration-count: 1;
        animation-timing-function: ease;
        animation-fill-mode: forwards;
        -webkit-animation-name: slidenavAnimation;
        -webkit-animation-duration: .5s;
        -webkit-animation-iteration-count: 1;
        -webkit-animation-timing-function: ease;
        -webkit-animation-fill-mode: forwards;
        -moz-animation-name: slidenavAnimation;
        -moz-animation-duration: .5s;
        -moz-animation-iteration-count: 1;
        -moz-animation-timing-function: ease;
        -moz-animation-fill-mode: forwards;
    }
    @keyframes slidenavAnimation {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    @-webkit-keyframes slidenavAnimation {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    h1,
    .h1 {
        font-size: 1.875rem;
        line-height: 1em;
        font-weight: bold;
    }

    .subhead {
        font-size: 1.25rem;
        line-height: 1.3em;
        margin-bottom:1.5em;
        font-weight:400;
    }

    .whitebar {
        padding-top:0.5rem;
        padding-bottom:0.5rem;
    }
    
    .bannerhead {
        font-size:3rem;
    }
    
    .bannerhead span {
        font-size:2.25rem;
    }

    .headoverlay2 {
        padding:0;
        position:absolute; 
        top:25%;
        left:10%;
        width:65%;
    }
    

    .headoverlay2 p {
        font-weight:400;
        font-size: 1.75rem;
        line-height: 2.5rem;
        padding-right:2rem;
    }    

    h2,
    .h2 {
        font-size: 1.25rem;
        line-height: 1.25em;
        font-weight: 400;
    }
    h3,
    .h3 {
        font-size: 1.25rem;
        line-height: 1.75rem;
        font-weight: 400;
    }
    h4,
    .h4 {
        font-size: 1.5rem;
        line-height: 1.5rem;
    }
    h5,
    .h5 {
        font-size: 1.1rem;
        line-height: 20px;
    }

    .card-title {
        font-size:1.25rem;
    }    
}

@media (min-width: 992px) {

    .whitebar {
        padding-top:0.75rem;
        padding-bottom:0.75rem;
    }

    .bannerhead {
        color:#014488;
        font-size:3rem;
    }

    .bannerhead span {
        color:#fff;
        font-size:2.25rem;
    }

    .headoverlay2 {
        padding:0;
        position:absolute; 
        top:25%;
        left:15%;
        width:50%;
    }

    .headoverlay2 .bannerhead span {
        font-size:2.5rem;
    }    


    .headoverlay2 p {
        font-size:1.75rem;
    }    

    .card-title {
        font-size:1.375rem;
    }

}

@media (min-width: 1200px) {

    .container {
        max-width:1160px;
    }

    footer .container {
        padding-top:20px;
        padding-bottom:20px;
    }

    h1,
    .h1 {
        font-size: 1.875;
        line-height: 1em;
        margin-bottom:1em;
    }
    h2,
    .h2 {
        font-size: 1.5rem;
        line-height: 1.4em;
        margin-bottom:1em;
    }
    h3,
    .h3 {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
    h4,
    .h4 {
        font-size: 1.125rem;
        line-height: 1.5rem;
        font-weight: 600;
    }
    h5,
    .h5 {
        font-size: 1rem;
        line-height: 20px;
    }

    .subhead {
        font-size: 1.375rem;
        line-height: 1.3em;
        margin-bottom:1.5em;
        font-weight:400;
    }

    .whitebar {
        padding-top:1rem;
        padding-bottom:1rem;
    }

    .bannerhead {
        color:#014488;
        font-size:3.25rem;
        font-weight:700;
        margin-bottom:0;
    }

    .bannerhead span {
        color:#fff;
        font-size:2.5rem;
    }

    .headoverlay2 {
        padding:0;
        position:absolute; 
        top:25%;
        left:15%;
        width:45%;
    }    
    
}

@media (min-width: 1400px) {

    .bannerhead {
        color:#014488;
        font-size:3.75rem;
        font-weight:700;
        margin-bottom:0;
    }

    .bannerhead span {
        color:#fff;
        font-size:3rem;
    }    

    .headoverlay2 {
        padding:0;
        position:absolute; 
        top:25%;
        left:15%;
        width:45%;
    }

    .headoverlay2 p {
        padding-right: 2em;
    }

}


@media (min-width: 1600px) {

    .headoverlay2 {
        padding:0;
        position:absolute; 
        top:25%;
        left:20%;
        width:39%;
    }

    .headoverlay2 p {
        padding-right: 2.5rem;
    }

}

@media (min-width: 1920px) {
    #headerpic {
        max-width: 1920px;
        margin: 0 auto 1.5rem !important;
    }
}