@media ( min-width: 1200px) {}

@media ( min-width: 992px) {}

@media ( min-width: 769px) {}

@media ( max-width: 768px) {}


 /* nunito-regular - latin */
 @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    src: url('https://www.fbnfrtg.de/wp-content/themes/fbnfrtg/assets/fonts/nunito/nunito-v25-latin-regular.eot'); /* IE9 Compat Modes */
    src: url('https://www.fbnfrtg.de/wp-content/themes/fbnfrtg/assets/fonts/nunito/nunito-v25-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('https://www.fbnfrtg.de/wp-content/themes/fbnfrtg/assets/fonts/nunito/nunito-v25-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('https://www.fbnfrtg.de/wp-content/themes/fbnfrtg/assets/fonts/nunito/nunito-v25-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('https://www.fbnfrtg.de/wp-content/themes/fbnfrtg/assets/fonts/nunito/nunito-v25-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('https://www.fbnfrtg.de/wp-content/themes/fbnfrtg/assets/fonts/nunito/nunito-v25-latin-regular.svg#Nunito') format('svg'); /* Legacy iOS */
  }
  /* nunito-700 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 700;
    src: url('https://www.fbnfrtg.de/wp-content/themes/fbnfrtg/assets/fonts/nunito/nunito-v25-latin-700.eot'); /* IE9 Compat Modes */
    src: url('https://www.fbnfrtg.de/wp-content/themes/fbnfrtg/assets/fonts/nunito/nunito-v25-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('https://www.fbnfrtg.de/wp-content/themes/fbnfrtg/assets/fonts/nunito/nunito-v25-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
         url('https://www.fbnfrtg.de/wp-content/themes/fbnfrtg/assets/fonts/nunito/nunito-v25-latin-700.woff') format('woff'), /* Modern Browsers */
         url('https://www.fbnfrtg.de/wp-content/themes/fbnfrtg/assets/fonts/nunito/nunito-v25-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
         url('https://www.fbnfrtg.de/wp-content/themes/fbnfrtg/assets/fonts/nunito/nunito-v25-latin-700.svg#Nunito') format('svg'); /* Legacy iOS */
  }
  /* nunito-800 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 800;
    src: url('https://www.fbnfrtg.de/wp-content/themes/fbnfrtg/assets/fonts/nunito/nunito-v25-latin-800.eot'); /* IE9 Compat Modes */
    src: url('https://www.fbnfrtg.de/wp-content/themes/fbnfrtg/assets/fonts/nunito/nunito-v25-latin-800.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('https://www.fbnfrtg.de/wp-content/themes/fbnfrtg/assets/fonts/nunito/nunito-v25-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
         url('https://www.fbnfrtg.de/wp-content/themes/fbnfrtg/assets/fonts/nunito/nunito-v25-latin-800.woff') format('woff'), /* Modern Browsers */
         url('https://www.fbnfrtg.de/wp-content/themes/fbnfrtg/assets/fonts/nunito/nunito-v25-latin-800.ttf') format('truetype'), /* Safari, Android, iOS */
         url('https://www.fbnfrtg.de/wp-content/themes/fbnfrtg/assets/fonts/nunito/nunito-v25-latin-800.svg#Nunito') format('svg'); /* Legacy iOS */
  }


body {
    --primary-color: #111;
}

h1 {
    color: var(--primary-color);
}

@media only screen and (min-width: 993px) {
    .container {
        width: 90%;
        max-width: 1600px;
    }
}

a:focus {
    outline: none !important;
}

* {
    border: 0px;
    margin: 0px;
    padding: 0px;
    text-decoration: none;
    outline: none;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.4);
    box-sizing: border-box;
}

ul, ol{
    padding-left: 0;
}

*::selection {
    background: #ccc;
    color: #fff;
}

textarea,
input[type="text"] {
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    border-radius: 0;
}

html,
body {
    height: 100%;
}

body {
    background: #f6f6f6;
    color: var(--primary-color);
    font-family: 'Nunito', Arial, Verdana, sans-serif;
    font-size: 16px;
    -webkit-text-size-adjust: none;
    font-weight: 300;
}

div {
    position: relative;
}

img,
iframe,
video {
    vertical-align: bottom;
}

img {
    max-width: 100%;
    height: auto;
}

.image-fitted {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    transition: .6s;
    object-fit: cover;
    height: 100%;
    width: 100%;
    object-position: 50% 50%;
}

a{text-decoration: none;} 

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 10px 0;
    -webkit-hyphens: auto;
    hyphens: auto;
    word-wrap: break-word;
}

h1 {
    font-size: 40px;
}

/*
h1:after{content: "";width: 60px;position: absolute;border-bottom: 3px solid #b7ce00;bottom: 5px;left: 15px;}
*/

h2 {
    font-size: 28px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 22px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 18px;
    text-transform: uppercase;
}


@media ( max-width: 768px) {
    h1 { font-size: 30px; }
    h2 { font-size: 24px; }
    h3 { font-size: 22px; }
    h4 { font-size: 20px; }
    h5 { font-size: 16px; }
    h6 { font-size: 16px; }
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover{
    color:var(--primary-color);
}

p {
    margin: 0 0 10px 0;
    line-height: 1.45em;
    letter-spacing: 0.02em;
    -webkit-hyphens: auto;
    hyphens: auto;
}

p a {
    color: #666;
}

p a:hover {
    color: #888;
}

a.readmore:after {
    font-family: 'FontAwesome';
    content: '\f105';
    margin: 0 0 0 5px;
    transform: translate(0, 1px);
    color: var(--primary-color);
    display: inline-block;
    transition: .1s;
}

a.readmore:hover:after {
    transform: translate(3px, 1px);
}

.no-hyphens {
    -webkit-hyphens: none;
    hyphens: none;
    word-wrap: break-word;
}

strong, b{
    font-weight: 700;
}

/*
.btn{
background:#d30000;
color:#fff;
padding:10px 15px;
transition:all .2s;
display:inline-block;
letter-spacing:1px;
position:relative;
font-weight:700;
text-transform:uppercase;
}


.btn:hover{
background:#fff;
color:#d30000;
transition:all .15s;
border:0;
}
*/

.arrow_right {
    padding-right: 35px;
}

.arrow_right:after {
    font-family: 'FontAwesome';
    content: "\f054";
    z-index: 100;
    color: #fff;
    position: absolute;
    top: 50%;
    margin-top: -5px;
    right: 15px;
    transition: all .15s;
}

.arrow_right:hover:after {
    color: #d30000;
    right: 10px;
}

hr {
    height: 0;
    margin: 20px 0;
    border-bottom: 3px solid #ccc;
    width: 100px;
    text-align: left;
}

.shaded {
    display: inline;
    color: #fff!important;
    background: none repeat scroll 0px 0px #285e7a;
    box-shadow: 5px 0 0 #285e7a, -5px 0 0 #285e7a;
    background-origin: border-box;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.lined {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 6px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-align: center;
    margin-bottom: 30px;
}

.lined:before,
.lined:after {
    background-color: #aaa;
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
    width: 50%;
}

.lined:before {
    right: 1em;
    margin-left: -50%;
}

.lined:after {
    left: 1em;
    margin-right: -50%;
}


/* LAYOUT */

.bodywrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.innerwrap {
    min-height: calc(100vh - 187px);
}

.section {
    width: 100%;
    padding: 0;
}

.bgimg {
    background-size: cover;
    background-position: center;
}


/*  <video autoplay muted loop playsinline class="bgvideo"> */

.bgvideo {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-color: black;
    background-position: center center;
    background-size: contain;
    z-index: 0;
    object-fit: cover;
}

.row {
    margin-bottom: 0;
}


/*.col{outline: 1px dotted #ccc;}*/

.padding30 {
    padding-top: 30px;
    padding-bottom: 30px;
}

.padding50 {
    padding-top: 50px;
    padding-bottom: 50px;
}

.padding70 {
    padding-top: 70px;
    padding-bottom: 70px;
}

.paddingbottom10 {
    padding-bottom: 10px;
}

.paddingbottom20 {
    padding-bottom: 20px;
}

.spacer10 {
    height: 10px;
}

.spacer20 {
    height: 20px;
}

.spacer30 {
    height: 30px;
}

.spacer50 {
    height: 50px;
}

@media ( max-width: 768px) {
    .desktop {
        display: none;
    }
    .mobile {
        display: block;
    }
    .wrap {
        width: 100%;
    }
    .padding30 {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .padding50 {
        padding-top: 25px;
        padding-bottom: 25px;
    }
    .padding70 {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .spacer10 {
        height: 5px;
    }
    
    .spacer20 {
        height: 10px;
    }
    
    .spacer30 {
        height: 15px;
    }
    
    .spacer50 {
        height: 25px;
    }
}

/*
.fullwidth{
width:100%;
}*/

.full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* width100 for Gutenberg-Blocks */
.width100 {
    position: relative;
    left: 50%;
    right: 50%;
    width:calc(100vw - 15px);   
    margin-left: calc(-50vw + 7.5px);
    margin-right:calc(-50vw + 7.5px);
}

.bodywrap {
    margin: 0 auto 0;
}

.footer {
    margin: 0 auto;
    width: 100%;
    padding: 30px 0 30px 0;
    transition: transform .15s;
    color: #111;
    font-size: 12px;
}

.footer a {
    color: #111;
    margin-left:10px;
}

.footer a:hover {
    opacity: .7;
}

@media ( max-width: 768px) {
    .footer {
        height: auto;
    }
    .bodywrap {
        margin: 0 auto;
        min-height: auto;
        height: auto;
    }
    .push {
        height: auto;
        display: none;
    }
}


/* **** FULLSCREEN ********* */

.fullscreen {
    min-height: 100%;
    width: 100%;
    display: table;
    padding: 30px;
}

.fullscreencontent {
    text-align: center;
    display: table-cell;
    vertical-align: middle;
}


/* ************************* */

.centered {
    width: 960px;
    height: 600px;
    position: absolute;
    margin: -300px 0px 0px -480px;
    top: 50%;
    left: 50%;
    background-color: #eee;
}

@media ( min-width: 1200px) {
    .centered {
        width: 1160px;
        height: 800px;
        margin: -400px 0px 0px -580px;
    }
}

@media ( max-width: 992px) {
    .centered {
        width: 760px;
        height: 600px;
        margin: -300px 0px 0px -380px;
    }
}

@media ( max-width: 768px) {
    .centered {
        width: auto;
        height: auto;
        min-height: 200px;
        margin: 0;
        top: auto;
        left: auto;
        position: relative;
    }
}



/* CUSTOM */

.header {
    padding-top: 30px;
    padding-bottom: 30px;
}

.logo {
    width: 200px;
}



@media ( max-width: 768px) {
    .header {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .logo {
        width: 140px;
    }
}

.imgbgheader{
    height: 30vh;
}


.content ul {
    margin: 10px 0;
    list-style: none;
}

.content ol {
    margin: 10px 0;
}

.content li {
    margin: 0 0 10px 15px;
    line-height: 1.45em;
    letter-spacing: 0.02em;
}

.content ol li {
    margin: 0 0 10px 18px;
    padding-left: 3px;
}

.content ul li:before {
    font-family: 'FontAwesome';
    content: '\f0da';
    margin: 0 10px 0 -15px;
    color: var(--primary-color);
    position: absolute;
}

.content li a {
    color: #666;
}

.content li a:hover {
    opacity: .7;
}


/* VIDEO / YOUTUBE */

.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0px;
    height: 0;
    overflow: hidden;
}

.wp-embed-aspect-16-9 .wp-block-embed__wrapper, .wp-embed-aspect-16-9 iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wp-embed-aspect-16-9 {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0px;
    height: 0;
    overflow: hidden;
}

iframe[src*="youtube.com"]{
    width: 100% !important;
}

/* GRID */


/*<div class="grid" data-columns> */

@media ( max-width: 768px) {
    .grid[data-columns]::before {
        content: '1 .column.size-1of1';
    }
}

@media ( min-width: 769px) {
    .grid[data-columns]::before {
        content: '2 .column.size-1of2';
    }
}

@media ( min-width: 992px) {
    .grid[data-columns]::before {
        content: '3 .column.size-1of3';
    }
}

.column {
    float: left;
}

.size-1of1 {
    width: 100%;
}

.size-1of2 {
    width: 50%;
}

.size-1of3 {
    width: 33.333%;
}

.grid .item {
    padding: 0 15px 15px 15px;
}


/* ACC */

.acc_item {
    border-bottom: 1px solid #ccc;
    padding: 12px 0;
    font-size: 16px;
    line-height: 22px;
}

.acc_btn {
    font-weight: 500;
    cursor: pointer;
    padding-top: 4px;
    padding-right: 15px;
}

.acc_btn p {
    margin: 0;
}

.acc_btn:after {
    font-family: 'FontAwesome';
    content: "\f0d7";
    z-index: 100;
    color: var(--primary-color);
    position: absolute;
    top: 3px;
    right: 5px;
    transition: all .2s;
}

.acc_btn.active:after {
    transform: rotate(-180deg);
}

.acc_btn:hover {
    opacity: .7;
}

.acc_content {
    padding-top: 12px;
    display: none;
}

.cms .acc_content {
    display: block;
}


/* MAP */

.map {
    height: 400px;
    background: #f9f8f8;
    width: 100%;
}

@media ( max-width: 750px) {
    .map {
        height: 250px;
    }
}


/* *** */

.arrow_up_section {
    position: fixed;
    z-index: 15;
    bottom: 0;
    padding: 0;
    margin: 0;
}

.arrow_up_section .row {
    margin-bottom: 0;
}

.arrow_up {
    position: absolute;
    right: 15px;
    bottom: -200px;
    z-index: 10;
    transition: .5s;
    background: #ccc;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-size: 40px;
}

.arrow_up.visible {
    bottom: 0;
}

.arrow_up i {
    color: #fff;
}


/* GALLERY */

/*
object-fit: cover;
object-position: 50% 50%;
*/

.gallerywrap a img {
    float: left;
    position: relative;
}

.gallerywrap:hover img {
    opacity: .5;
    z-index: 900;
}

.gallerywrap a img {
    transition: all .4s;
}

.gallerywrap a:hover img {
    transform: scale(1.07);
    transition: all .1s;
    opacity: 1;
    z-index: 1000;
}

.collagewrap {
    background: #fff;
}

.collage {
    padding: 10px;
    background: #fff;
}

.collage img {
    vertical-align: bottom;
    float: left;
}

.collage img a {
    float: left;
}

.pics_in_a_row {
    margin: 1% 0 0 0;
    display: flex;
}

.pics_in_a_row>div:not(:last-child) {
    margin-right: 1%;
}

.pics_in_a_row img {
    width: 100%;
    height: auto;
    vertical-align: middle;
}

/*  * * * *  */

.fadeInOnLoad {
    opacity: 0;
    transition: .15s;
}

.clearer {
    clear: both;
}

.overflowhidden {
    overflow: hidden;
}

@media ( min-width: 769px) {
    .mobile {
        display: none !important;
    }
}

.navicon {
    position: absolute;
    right: 15px;
    top: 5px;
    height: 30px;
    width: 30px;
    display: block;
    z-index: 100;
}

.navicon .line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-top: 2px solid var(--primary-color);
}

.navicon .line:nth-child(1) {
    top: 10px;
}

.navicon .line:nth-child(2) {
    top: 20px;
}


/* MOBILE  NAVIGATION * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

@media ( max-width: 768px) {
    .navigation {
        display: none;
    }

    .outerwrap {
        transition: transform .15s;
    }

    .shifted {
        transition: transform .15s;
        transform: translateX(-270px);
    }


    .bodywrap {
        transition: transform .15s;
    }

}


/* Dots */

/* Change Autocomplete styles in Chrome*/

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus textarea:-webkit-autofill,
textarea:-webkit-autofill:hover textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: #111 !important;
    -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
    transition: background-color 5000s ease-in-out 0s;
}


.image_overlay{
    background: rgba(255,255,255,0.7);
    position: absolute;
    top:0; left:0; bottom:0; right:0;
    display: none;
    font-size:30px;
    color: rgba(0,0,0,0.6);
    text-align: center;
    transition: background 0.3s, font-size 0.3s,top 0.2s;
    cursor: pointer;
    outline: 1px dotted #ccc;
    min-height: 50px;
    z-index: 98;
    }
    
    .image_overlay i{
    pointer-events: none;
    position: absolute;
    top:50%;
    left: 50%;
    margin-left: -15px;
    margin-top: -15px;
    }
    
    /*
    .image_overlay:before {
    content: " ";
    position: absolute;
    z-index: -1;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 1px dotted #ccc;
    }
    */
    
    .image_overlay.dragging{
    background: rgba(255,255,255,0.9);
    color: rgba(0,0,0,0.6);
    font-size:35px;
    }
    
    .cms_editableimage_link_overlay{
    position:absolute; 
    cursor: pointer;
    z-index: 99;
    }
    
    .image_input{
    height: 0;
    width: 0;
    display: none;
    position: absolute;
    }

    canvas{
        background-color: #ccc;
        vertical-align: bottom;
        /*max-width: 100%;*/
    }
    
    .canvaswrap{
        margin: auto;
        /*max-width: 100%;*/
    }

    .fa-info-circle{
        cursor: pointer;
        position: absolute;
        right: 0;
        top: 0;
    }

    .info{
        display: none;
    }