/* ======================
Author's custom styles
======================*/

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: Arial, Verdana, sans-serif;
    background-color: #fff;
    font-weight: 300;
}

footer {
    padding: 0 0 20px;
    color: #fff;
    background-color:#04214d;
}

footer .container {
    padding-top:15px;
}

header {
    background-color: #fff;
    border-bottom: 12px solid #00A093;    
}

header .container {
    padding-top:0;
    padding-bottom:0;
    padding-left:0;
    padding-right:0;
}

.main-container {
    padding-top:1.25rem;
    padding-bottom:1.25rem;
}

a:link,
a:visited {
    text-decoration: none;
    color: #30b0a6;
    font-weight: 400;
}

a.btn:link,
a.btn:visited {
    text-decoration: none;
    color: #fff;
    font-weight: 300;
}

footer a:link,
footer a:visited {
    color:#fff;
}

footer a:hover,
footer a:active,
footer a:focus {
    color:#fff;
    text-decoration: underline;
}

.form-check-input {
    scale:1.2;
    border-color:#333;
}

#logo {
    display: none;
}

h1,
.h1 {
    font-size: 1.375rem;
    line-height: 1.25em;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

h2,
.h2 {
    font-size: 1.25rem;
    line-height: 1.25em;
    margin: 0 0 15px 0;
    font-weight: 400;
}

h3,
.h3 {
    font-size: 1.1rem;
    line-height: 1.250em;
    margin: 0 0 15px 0;
    font-weight: 600;
}

h4,
.h4 {
    font-size: 1rem;
    line-height: 1.25rem;
    font-weight: 600;
}

h5,
.h5 {
    font-size: 1.0rem;
    line-height: 20px;
    margin: 3px 0 0 0;
    font-weight: 500;
}

.form-control:focus {
	border-color: #004b98;   
	outline: 0;
	/* box-shadow: 0 0 0 .25rem rgba(13,110,253,.25); */
    box-shadow:none;
}

.btn-primary {
    background-color: rgba(0, 74, 153, 0.8);
    border-color: rgba(0, 74, 153, 0.8);
    color:#fff;
}
      
.btn-primary:hover {
    background-color: rgba(0, 74, 153, 1);
    border-color: rgba(0, 74, 153, 1);
    color:#fff;
}

.strong,
strong {
    font-weight: 700;
}

.fw-400 {
    font-weight:400;
}

.fw-500 {
    font-weight:400;
}

.small {
    font-size: 0.875rem;
    line-height: 1.3rem;
}

.cpointer {
    cursor: pointer;    
}

#unfallbox,
#sitzunfallbox,
#haftpflichtbox {
    cursor: pointer;
    background-color: #f8f9fa;
}

#un_fields,
#su_fields,
#csl_fields { 
    opacity: 0; 
    max-height: 0; 
    overflow: hidden; 
    transition: opacity 0.5s ease, max-height 0.5s ease; 
} 

#un_fields.visible,
#su_fields.visible,
#csl_fields.visible { 
    opacity: 1; 
    max-height: 1000px;
}

/* mobile Navigation
*****************************/
.navbar-brand {
    padding: 0;
    margin-left:0.75em;
    width: 250px;
    height: 80px;
    background-image: url('../img/layout/gff-logo2.png');
    background-repeat: no-repeat;
    background-size: contain;
}

.navbar-toggler {
    border: 1px solid #004998;
    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(0, 73, 152, 0.7)' 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(0, 73, 152, 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: #333;
    outline: none;
    font-size: 1.rem;
    line-height: 1.75em;
    font-weight: bold;
}

.navbar-nav .nav-link:hover {
    color: #004998;
}

.navbar-nav .nav-link:hover .orange {
    color: #000;
}

.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: #004b98;
    text-decoration: none;
}

#sloganbar {
    background-color:#2a2a2a;
    color:#fff;
    font-size: 1rem;
    padding:0.5rem 0;
    text-align: center;
}

#btn-offer {
    position: absolute;
    top:0; right:0;
    width:150px;
}    

/* end mobile Navigation
******************************/


@media (min-width: 400px) {

}

@media (min-width: 576px) {

}

@media (min-width: 768px) {

    header {
        margin: 0;
        color:#000;
        background-color: #fff;
    }

    header .container {
        padding-top:0;
        padding-bottom:0;
        height:170px;
    }
   
    .main-container {
        padding-top:1.5rem;
        padding-bottom:1.5rem;
    }

    footer .container {
        padding-top:15px;
        padding-bottom:40px;
        font-size:1rem;
    }

    .navbar-brand {
        display: none;
    }

    #logo {
        display: inline-block;
        margin-top:10px;
        width:380px;
        height:auto;
    }    

    .navbar {
        position: absolute;
        top: 130px;
        right: 0px;
        background-color: transparent;
        padding: 0;
        margin: 0;
        z-index: 100;
    }

    .navbar-nav {
        margin: 0;
        padding-right: 0;
    }

    .nav-item {
        border-right:1px solid #1a171b;
        border-right:1px solid #aaa;
    }

    .last {
        border-right: 0;
    }

    .navbar .navbar-nav .nav-link {
        padding: 0px 10px;
        color: #1a171b;
        text-align: center;
        outline: none;
        font-size: 1.25rem;
        line-height: 1rem;
        text-decoration: none;
        font-weight:400;
    }

    .navbar-nav .nav-link:hover {
        color: #004a98;
    }

    .dropdown-menu {
        border-radius:0;
    }

    .dropdown-item {
        padding-left:20px;
        padding-top:8px;
        padding-bottom:8px;
        font-size: 1rem;
        line-height: 1.4em;        
        color:#014488 !important;
    }

    #index #nav-home,
    #kontakt #nav-kontakt {
        color: #004a98;
    }

    h1,
    .h1 {
        font-size: 1.875rem;
        line-height: 1em;
        font-weight: bold;
    }

    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.125rem;
        line-height: 1.5rem;
    }
    h5,
    .h5 {
        font-size: 1.1rem;
        line-height: 20px;
    }

}

@media (min-width: 992px) {

}

@media (min-width: 1200px) {

    .header-container {
        padding-bottom:5px;
        height:120px;
    }

    .navbar {
        top: 70px;
    }    

    .main-container {
        padding-top:2rem;
        padding-bottom:3rem;
    }

    h1,
    .h1 {
        font-size: 1.875rem;
        line-height: 1em;
        font-weight: bold;
    }

    h2,
    .h2 {
        font-size: 1.5rem;
        line-height: 1.5rem;
        font-weight: 500;
    }
    h3,
    .h3 {
        font-size: 1.25rem;
        line-height: 1.75rem;
        font-weight: 400;
    }
    h4,
    .h4 {
        font-size: 1.125rem;
        line-height: 1.5rem;
    }
    h5,
    .h5 {
        font-size: 1.1rem;
        line-height: 20px;
    }
    
}

@media (min-width: 1400px) {

    .container {
        max-width:1280px;
    }

}


@media (min-width: 1600px) {

}

@media (min-width: 1920px) {

}