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

/* barlow-condensed-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/barlow-condensed-v13-latin-regular.woff2') format('woff2');
}

/* barlow-condensed-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/barlow-condensed-v13-latin-500.woff2') format('woff2');
}

/* barlow-condensed-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/barlow-condensed-v13-latin-600.woff2') format('woff2');
}

/* barlow-condensed-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/barlow-condensed-v13-latin-700.woff2') format('woff2');
}

/* barlow-condensed-800 - latin */
@font-face {
  font-display: swap;
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/barlow-condensed-v13-latin-800.woff2') format('woff2');
}

/* barlow-condensed-900 - latin */
@font-face {
  font-display: swap;
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/barlow-condensed-v13-latin-900.woff2') format('woff2');
}


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

body {
    font-size: 1.25em;
    line-height: 1.5em;
    color: #000;
    font-family: 'Barlow Condensed', Arial, Verdana, sans-serif;
    background-color: #fff;
    font-weight: 300;
}

footer {
    padding: 0 0 20px;
    color: #fff;
    background-color:#312e2b;
}

footer .container {
    padding-top:15px;
}

header {
    background-color: #fff;
}

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: #6d7f0a;
}

button.btn-primary,
a.btn:link,
a.btn:visited {
    font-size:1.25rem;
    text-decoration: none;
    color: #fff;
}

a.btn:hover,
a.btn:active,
a.btn:focus {
    text-decoration: underline;
}

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

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

footer a:link,
footer a:visited {
    color:#fff;
}

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

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

#topnav-links {
    width: 100%;
    background: #2a2a2a;
    padding: 5px 10px;
    color: #fff;
    position: fixed;
    bottom: 0;
    left: 0;
    margin:0;
    z-index: 10;
    font-size:0.875rem;
    text-align:center;
}

#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;
}

.subhead {
    font-size: 1em;
    font-weight:500;
}

.footerhead {
    color:#f7e59a;
    font-size:1.375rem;
    font-weight:500;
}

#showacse-control {
   width:100%;
   max-width:1125px;
   background-color:rgba(255, 255, 255, 0.75);
   padding:20px 20px 0;
   margin:auto;
   z-index:1;
   position:relative;
}

.lh-sm {
    line-height:1.25rem;
}

.ef-card-head {
    padding:10px 20px;
    font-weight:500;
    font-size:1.375rem;
    margin:0;
}

.ef-card-body {
    padding:20px 20px;
    margin:0;
}


.form-control:focus {
	border-color: #004b98;   
	outline: 0;
	/* box-shadow: 0 0 0 .25rem rgba(13,110,253,.25); */
    box-shadow:none;
}

button.btn-primary,
a.btn-primary {
    background-color: #312e2b;
    border-color: #312e2b;
    border-radius:0;
    color:#fff;
}

button.btn-primary:hover,
a.btn-primary:hover {
    background-color: #312e2b;
    border-color: #312e2b;
    color:#fff;
    text-decoration: none;
}

.transborder {
    border:1px solid #7a7e85;
}

.showcase-overlay {
    position:absolute;
    top:0; left:0;
    width:100%;
    background-color: rgba(0, 0, 0, 0.5); 
    padding:10px 20px;
    font-weight:400;
}

.table tr:last-of-type td {
    border-bottom:0;
}

.accordion-item {
    margin-bottom:15px;
}

.accordion-button {
	padding: var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);
	border-left: 8px solid #e2041e;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background-color:#e2e2e2;
    border-radius: 0;
}

.accordion-button:focus {
	box-shadow:none;
    border-color: #e2041e;
}

.accordion-button:not(.collapsed) {
    color:#000;
	background-color:#e2e2e2;
	box-shadow: 0;
    font-size: 1.125rem;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23004998'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23004998'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")
}

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

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

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

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

.cpointer {
    cursor:pointer;
}

span.cpointer:hover {
    text-decoration: underline;
}

.tile-desc {
    position:absolute;
    bottom:0; left:0;
    text-align: center;
    padding:5px 10px;
    color:#fff;
    font-size:1rem;
    width:100%;
    background:#312e2b;
    margin-bottom:0;
}

ol.listing, ul.listing {
    padding-left:1rem;    
}

ol.listing li , ul.listing li {
    font-size: 1.125rem;
}

.listing-square {
    list-style-type: square;
    color:#004a98;
}

.listing-square span {
    color:#000;
}

.checklist li {
    list-style-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" transform="translate(0,2)" width="20" height="20" fill="%236d7f0a" class="checkmarker bi bi-check2-circle" viewBox="0 0 16 16"><path d="M2.5 8a5.5 5.5 0 0 1 8.25-4.764.5.5 0 0 0 .5-.866A6.5 6.5 0 1 0 14.5 8a.5.5 0 0 0-1 0 5.5 5.5 0 1 1-11 0"/><path d="M15.354 3.354a.5.5 0 0 0-.708-.708L8 9.293 5.354 6.646a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0z"/></svg>');
    margin-bottom:10px;
}

.green {
    color:#6d7f0a;
}

.bg-beige{
    background-color: #d0c9ac;
}

.black {
    color:#000 !important;
}


/* mobile Navigation
*****************************/
.navbar-brand {
    padding: 0;
    margin-left:0.75em;
    width: 250px;
    height: 80px;
    background-image: url('../img/logo-amrhein.png');
    background-repeat: no-repeat;
    background-size: contain;
}

.navbar-toggler {
    border: 1px solid #636466;
    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: #636466;
}

.dropdown-toggle::after {
	display: none;
}

.dropdown-menu {
    border:0;
}

.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: #d0c9ac;
    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) {

    #btn-offer {
        top:0; right:0;
        width:180px;
    }    

}

@media (min-width: 768px) {

    header {
        margin: 0;
        background-color: #fff;
    }

    .header-container {
        height:125px;
    }

    #headerpic {
        border-bottom:10px solid #d0c9ac;
    }

    .overlay-container {
        display:flex;
        flex-direction: column;
        justify-content:end;
    }

    .overlay-content {
        margin-bottom:140px;
    }

    #topnav-links {
        width: 720px;
        background: transparent;
        padding: 5px 0 0;
        color: #312e2b;
        position: absolute;
        bottom: auto;
        top: 0px;
        left:0;right:0;
        margin-right:auto;
        margin-left:auto;
        z-index: 10;
        font-size:1.25rem;
        text-align:right;
    }

    #topnav-links a,
    #topnav-links a:hover {
        color:#000 !important;
        text-decoration: none;
    }

    .main-container {
        padding-top:1.5rem;
        /* padding-bottom:1.5rem; */
    }

    footer .container {
        padding-top:15px;
        padding-bottom:40px;
        font-size:1.125rem;
    }

    .navbar-brand {
        display: none;
    }

    #logo {
        display: inline-block;
        position:absolute;
        top:10px; left:0;
        width:237px;
        height:auto;
        z-index:999;
    }    

    .navbar {
        /*
        position: absolute;
        top: 130px;
        right: 0px;
        */
        background-color: #d0c9ac;
        padding: 5px 0 15px;
        margin: 0;
        z-index: 100;
    }

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

    .nav-item {
        border-right:1px solid #202634;
    }

    .last {
        border-right: 0;
    }

    .navbar .navbar-nav .nav-link {
        padding: 0px 10px;
        color: #202634;
        text-align: center;
        outline: none;
        font-size: 1.5rem;
        line-height: 1.5rem;
        text-decoration: none;
        font-weight:400;
    }

    .navbar-nav .nav-link:hover {
        color: #000;
        font-weight:400;
    }

    .dropdown-menu {
        border-radius:0;
        padding-top:0;
    }

    .dropdown-item {
        padding-left:20px;
        padding-top:8px;
        padding-bottom:8px;
        font-size: 1.25rem;
        line-height: 1.4em;        
        color:#000 !important;
    }

    .dropdown-item {
        padding-left:20px;
        padding-top:8px;
        padding-bottom:8px;
        font-size: 1.25rem;
        line-height: 1.4em;        
        color:#000 !important;
    }    

    #index #nav-home,
    #kontakt #nav-kontakt {
        color: #000;
        font-weight:500;
    }

    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: 600;
    }

    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;
    }

    hr {
        margin:1.5rem 0;
    }

    #btn-offer {
        top:5px; right:50px;
        width:220px;
    }    
      
}

@media (min-width: 992px) {

}

@media (min-width: 1200px) {

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

    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;
    }

    .overhead-one {
        font-size:2.5rem;
        line-height:3rem;
    }

    .overhead-two {
        font-size:3.25rem;
        font-weight:600;
    }    
    
}

@media (min-width: 1400px) {

    .container {
        max-width:1280px;
    }

    #topnav-links {
        width: 1280px;
    }

}


@media (min-width: 1600px) {

    .container {
        max-width:1430px;
    }

    .inspired {
        font-weight:300;
        font-size:1.75rem;
    }

    .galhead {
        font-weight:500;
        font-size:2.5rem;
    }

   #showacse-control {
      position:absolute; top:550px; left:0; right:0;
      margin:auto;
   }    

}


@media (min-width: 1920px) {

}