/*
* hellblau: color:#B9D4F1;
+ dunkelblau: color:#21273D;
*/
:root {
    --blue: #597DA6;
    --grey: #716D6C;
    --brown: #8C8573;
    --green: #729966;
}



@font-face {
    font-family: 'roboto';
    src: url(fonts/roboto-regular-webfont.ttf) format('truetype');
    font-style: normal;
}
@font-face {
    font-family: 'robotolight';
    src: url(fonts/roboto-light-webfont.ttf) format('truetype');
    font-style: normal;
}
@font-face {
    font-family: 'bnt';
    src: url(fonts/big_noodle_titling.ttf) format('truetype');
    font-style: normal;
}

@font-face {
    font-family: 'adm';
    src: url(fonts/Atelier-du-Machiniste.ttf) format('truetype');
    font-style: normal;
}

* {
    box-sizing: border-box;
}

html, .mm-page {
    height: 100%;
}

body {
    padding: 0;
    margin: 0;
    font-family: robotolight, sans-serif;
    font-size: 1em;
    font-weight: 200;
    -webkit-animation: fadeIn 2s;
    background: #fff;
    color: #9c9c9c;
    height: 100%;
    hyphens:auto;
    -webkit-hyphens:auto;
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.mobile, .tablet {
    display: none;
}

.desktop, .fullscreen {
    display: block;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
}

.row {
    width: 100%;
}

.container-full {
    width:100%;
    margin: 0 auto;
    padding: 30px 0;
}

.container > .container {
    padding: 0;
}

.contentWrapper {
    position: relative;
}

.flexbox {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.flex-100 {
    width: 100%;
}

.flex-75 {
    width: 75%;
}

.flex-66 {
    width: 66%;
}

.flex-50 {
    width: 50%;
}

.flex-33 {
    width: 33%;
}

.flex-25 {
    width: 25%;
}

.container .flexbox {
    margin: 0 -15px;
}

.flexItem, .flex_item {
    padding: 15px;
}

.imgList {
    padding: 0;
}

.flexJustify-left {
    justify-content: flex-start;
}

.flexJustify-center {
    justify-content: center;
}

.flexJustify-right {
    justify-content: flex-end;
}

.flexJustify-sb {
    justify-content: space-between;
}

.flexJustify-sa {
    justify-content: space-around;
}

.flexJustify-se {
    justify-content: space-evenly;
}

.flexAlign-start {
    align-items: flex-start;
}

.flexAlign-center {
    align-items: center;
}

.flexAlign-baseline {
    align-items: baseline;
}

.flexAlign-end {
    align-items: flex-end;
}

.flexAlign-strech {
    align-items: stretch;
}

.spaceBetween .flexbox {
    justify-content: space-between;
    padding: 15px;
}

.noFlex {
    width: 100%;
    display: block;
}
.gridtemplate-4col .flex_item {
  width:25%;
}
.gridContent {
    height:100%;

}
.gridContent .textImgContent {
    height:100%;
}

.gridContent .txt {
    height:80%;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.content {
    padding: 50px 0;
}

h1 {
    font-family: 'bnt';
    font-size: 4em;
    margin-bottom: 0;
    font-weight: 100;
    color: var(--blue);
}

h2, .h2 {
    font-size: 3.2em;
    font-family: 'bnt';
    font-weight: 100;
    color: var(--blue);
}

h3, .h3 {
    font-size: 1.8em;
    font-family: 'roboto';
    font-weight: 100;
    color: var(--brown);
}

strong {
    font-family: 'roboto', sans-serif;
    font-weight: 700;
}

h1 + h2 {
    font-family: 'robotolight', sans-serif;
    color:var(--brown);
    font-size: 2.4em;
    font-weight: 100;
    margin-top: 0px;
}
h2 + h3 {
  color:var(--brown);
}

.handwritten {
  font-family: 'adm', sans-serif;
  color:var(--green);
  font-size:6em;
  display:inline-block;
  top:-30px;
  position:relative;
  transform:rotate(-20deg);
}

a {
    color: var(--brown);
    transition: all .4s ease;
    text-decoration: none;
    transition: all .4s ease;
}

a.navBtn {
    display: inline-block;
    padding: 10px 20px;
    border: solid 1px var(--darkblue);
}

a.navBtn:hover, a.navBtn:focus {
    background: var(--brown);
    color: #fff;
}

.header_top a {
    color: var(--blue);
}

a:focus, a:hover {
    color: #fff;
}

.divider {
    width: 100%;
    padding: 30px 15px;
}

a, li, p {
    font-size: 1.2em;
    line-height: 1.8em;
    font-weight: 100;
}

.logo {
    width:250px;
    height:auto;
    position:relative;
}
.logo img {
    width:200px;
    height:auto;
    position:absolute;
    left:15px;
    top:0;
}

.nav li li, li a, p a, label a {
    font-size: 1em;
    line-height: 1.2em;
}

.mobile {
    display: none;
}

img:not([height]) {
    /*width: 100%;*/
    height: auto;
}

.text-center, .align-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-center ul {
    display: inline-block;
    margin: 0 auto;
    text-align: left;
}

.smallContent {
    max-width: 768px;
}

.text-justify {
    text-align: justify;
}

p.twoCols {
    column-count: 2;
    column-gap: 30px;
}

ul.twoCols {
    column-count: 2;
    column-gap: 30px;
    padding: 0;
    margin: 0 0 0 10px;
}

.blackBg {
background: #181717;

}
.brownBg {
background: rgb(113,109,108);
background: -moz-linear-gradient(-45deg,  rgba(113,109,108,1) 0%, rgba(165,160,159,1) 100%);
background: -webkit-linear-gradient(-45deg,  rgba(113,109,108,1) 0%,rgba(165,160,159,1) 100%);
background: linear-gradient(135deg,  rgba(113,109,108,1) 0%,rgba(165,160,159,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#716d6c', endColorstr='#a5a09f',GradientType=1 );

}
.brownBg p, .brownBg li {
    color:#fff;
}



.email-show::before {
    content: 'info@';
}

.email-show::after {
    content: 'restaurant-leonrod.de';
}

.email-hide {
    display: none;
}

.headerBg .flexbox {
    justify-content: center;
    align-items: center;
    height: 100%;
}
.stickyNav {
     position:fixed;
      top: 0;
      left:0;
      right:0;
      z-index: 100;
      background:linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0));
      transition:all 0.4s ease;
}
.navContent {
    flex-wrap:nowrap;
}

.stickyNav.top {
    position: fixed;
    top:-300px;
    width: 100%;
}

.menu_btn a {
    display: block;
    width: 30px;
    margin: 10px 0;
}



.menu_btn a span, .menu_btn a:after, .menu_btn a:before {
    content: '';
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background: var(--blue);
    /*box-shadow: 2px 2px rgba(0,0,0,0.6); */
    margin: 6px 0;
    display: block;
    transition: all .4s ease;
}

.nav li ul, html.mm-opened .menu_btn a span {
    display: none;
}

html.mm-opened .menu_btn a:before {
    transform: rotate(45deg);
}

html.mm-opened .menu_btn a:after {
    transform: rotate(-45deg);
    margin-top: -9.5px;
}

html.mm-opened .menu_btn a {
    margin-top: 20px;
}

.mainNav ul {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.mainNav li {
    position: relative;
    list-style: none;
    line-height: 1.4em;
}

.mainNav li a {
    padding: 15px;
    display: inline-block;
    color: #fff;
    font-family: 'roboto';
    text-shadow:1px 1px rgba(0,0,0,0.7);
}

.mainNav li a:hover, .mainNav li a:focus, .mainNav li.active a, .info a:hover, .info a:focus, #page-1 .home, .mainNav li.active .subNav li a:hover {
    color: var(--blue);
    /*text-shadow: 1px 1px rgba(0,0,0,0.4);*/
}

.mainNav li.active .subNav li a {
    color: #333;
    text-shadow: none;
}

.mainNav ul.subNav {
    opacity: 0;
    transition: all .4s ease;
    visibility: hidden;
    width:    -moz-fit-content;
    width: -webkit-fit-content;
    width:         fit-content;
    display: block;
    position: absolute;
    left: 0;
    z-index: 500;
    background: rgba(255,255,255,.8);
}

.subNav li a {
    font-size: .7em;
    width:    -moz-fit-content;
    width: -webkit-fit-content;
    width:         fit-content;
    display: block;
    padding: 5px 15px;
}

.mainNav li:hover > ul.subNav, .mainNav li:focus > ul.subNav {
    visibility: visible;
    opacity: 1;
}

.email, .phone {
    font-weight: 300;
    margin-left:15px;
    display:block;
    font-family: 'roboto';
    font-weight: 700;
    text-align:right;
    text-shadow:1px 1px rgba(0,0,0,0.7);
}
.phone {
    color:#fff;
    font-size:1.2em;
}


/*slider*/
.headSlider, .headSliderSub {
    position: relative;
    overflow: hidden;
}

.headSlider .slick-slider, .headSliderSub .slick-slider {
    margin: 0;
}
.sliderWrapper {
    position:relative;
}

/*contentSlider*/

.contentSliderItem .flex_item {
    width:50%;
    height:400px;
    padding:30px 60px 30px 30px;
    background-size:100% auto !important;
}
.fullImg .contentSliderImg {
    height:400px;
    background-size:100% auto !important;
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
}
.fullImg .contentSliderTxt, .fullImg .contentSliderTxt h2, .fullImg .contentSliderTxt h3 {
    color:#fff;
    text-shadow:1px 1px rgba(0,0,0,0.6);
}
.fullImg .contentSliderTxt {
    height:400px;
    z-index:100;
    position: relative;
    text-align: center;
}
.contentSliderTxt .flexbox {
    height: 100%;
    align-items: center;
    justify-content: center;
}
.contentSliderItem {
    position: relative;
}
.contentSliderItem .nextItem {
    height:60px;
    width:30px;
    background:url(/custom/assets/arrow-next.png) no-repeat center center;
    background-size:contain;
    position: absolute;
    top:50%;
    margin-top:-30px;
    right:30px;
    z-index:200;
    cursor:pointer;
}


.arrowDown {
    width: 50px;
    height: 50px;
    background: url(/custom/assets/arrow-down.png) center center no-repeat;
    background-size: contain;
    position: absolute;
    left: 50%;
    margin-left: -25px;
    bottom: 15%;
    z-index: 100;
    cursor: pointer;
    transform: scale(1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(.95);
    }

    70% {
        transform: scale(1);
    }

    100% {
        transform: scale(.95);
    }
}
.headSliderSub .slick-dots {
    bottom:15px;
}

.sliderItem, .parallaxTxt {
    position: relative;
}

.headSliderSub .sliderItem, .sliderItem {
    height: 80vh;
    background-size: cover !important;
}

.sliderItem .flexbox, .parallaxTxt .flexbox {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    justify-content: center;
    align-items: center;
}

.parallaxTxt .flexbox {
    align-items: center;
}

.sliderItem .linkWrapper {
    text-align: center;
    position: relative;
    z-index: 100;
}

.sliderTxt {
    max-width: 50%;
    background: rgba(49,49,49,.7);
    padding: 60px;
    position: relative;
}

.slick-active .sliderTxt {
    -webkit-animation: fadeIn 2s;
            animation: fadeIn 2s;
}

.sliderTxtInner p, .parallaxTxt {
    color: #fff;
}

/*parallax*/
.parallaxItem {
        height: 600px;
        width: 100%;
         background-size:cover !important;
         background-attachment: fixed !important;
        background-size: 100% auto !important;
        overflow: hidden;
        position: relative;
}
.parallaxItem::before {
    content: '';
    position: absolute;
    background: rgba(0,0,0,0.4);
    top: -20px;
    left: 0;
    right: 0;
    height: 40px;
    border-radius: 50%;
    filter: blur(12px);
    z-index: 100;
    }
    .parallaxItem::after {
    content: '';
    position: absolute;
    background: rgba(0,0,0,0.2);
    bottom: -20px;
    left: 0;
    right: 0;
    height: 40px;
    border-radius: 50%;
    filter: blur(12px);
    z-index: 100;
    }

.parallaxInner {
    width:100%;
    height:100%;
    justify-content:center;
    align-items:center;
}
.parallaxTxt {

    text-shadow: 1px 1px #333;
}
.parallaxWrapper {
    padding-top:0;
    font-size:1.6em;
}
.parallaxWrapper .handwritten {
    font-size:3.5em;
    top:-20px;
}

.buttonGreen, .buttonWhite, .buttonLight, .yform .btn, .buttonBlue {
    padding: 5px 20px;
    font-size: 1.2em;
    transition: all .4s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
    cursor: pointer;
    /* box-shadow: 2px 2px 6px rgba(0,0,0,0.6); */
}

.buttonWhite {
    color: #fff;
    border: 1px solid #fff;
}

.buttonGreen, .yform .btn {

    border: 1px solid var(--green);
    color:  var(--green);
    background: transparent;
}
.buttonBlue, .yform .btn {

    border: 1px solid var(--blue);
    color: var(--blue);
    background: transparent;
}
 .buttonBlue:hover, .buttonBlue:focus {
    color:#fff;
    background: var(--blue);
}
.buttonGreen:hover, .buttonGreen:focus, .yform .btn:hover, .yform .btn:focus {
     color:#fff;
    background: var(--green);
}

.actionItem {
    padding:120px 60px;
    background-size:auto 100% !important;
}

.actionTxt, .actionTxt .h2, .actionTxt h2 {
    color:#fff;
}
.actionBtn {
    position:absolute;
    height:200px;
    width:200px;
    padding:30px;
    background:url(../assets/actionBtnOrange.png) no-repeat center center;
    background-size:contain;
    top:-150px;
    right:60px;

}
.actionBtn a {
    color:#fff;
    font-family: 'adm';
    font-size:3.8em;
    transform:rotate(-25deg);
    display:block;
    height:100%;
    width:100%;
    text-align:center;
    line-height:0.7em;
    padding:10px 15px;
}



table {
    margin: 15px auto;
    border-collapse: collapse;
}

td, th {
    padding: 15px;
    border-bottom: 1px solid #2b2b31;
    font-size: 1.2em;
}

.ui-datepicker-calendar td {
    font-size: .9em;
}

tbody tr:last-child td {
    border: none;
}

tr td:nth-child(1), tr th:nth-child(1) {
    text-align: right;
}

tr th:nth-child(2) {
    text-align: left;
}

/*contentSlider*/


.contentSliderItem .flex_item {
    width: 50%;
    height: 500px;
    padding: 30px 60px 30px 30px;
}

.fullImg .contentSliderImg {
    height: 500px;
    background-size: 100% auto !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.contentSliderLink {
    width: 100%;
    text-align:center;
}
.slick-dots li button::before {
    content:'';
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 1px solid var(--grey);
    outline: none;
    background: transparent;
}
 .slick-dots li.slick-active button {
    border: 1px solid var(--green);
}

.fullImg .contentSliderTxt, .fullImg .contentSliderTxt h2, .fullImg .contentSliderTxt h3 {
    color: #fff;
    text-shadow: 1px 1px rgba(0,0,0,.6);
}

.fullImg .contentSliderTxt {
    height: 500px;
    z-index: 100;
    position: relative;
    text-align: center;
}

.contentSliderTxt .flexbox {
    height: 100%;
    align-items: center;
    justify-content: center;
}
.right .contentSliderTxtInner {
    text-align:right;
}

.contentSliderTxtInner {
    width: 80%;
    padding:30px;
}
.contentSliderTxt h3 {
    font-size: 3.2em;
    font-family: 'bnt';
    color: var(--blue);
    margin-bottom:0;
}
.contentSliderItem {
    position: relative;
}

.contentSliderItem .nextItem {
    height: 60px;
    width: 30px;
    background: url(/custom/assets/arrow-next.png) no-repeat center center;
    background-size: contain;
    position: absolute;
    top: 50%;
    margin-top: -30px;
    right: 30px;
    z-index: 100;
    cursor: pointer;
}

/*content*/

.slogan .flexbox > .flex_item {
    width:50%;
}


.contentWrapper .row {
    position: relative;
}

.mapWrapper {
    text-align: center;
    width: 100%;
    padding-bottom: 60px;
}



/*accordion*/
.trigger {
    position: relative;
    cursor: pointer;
}

.trigger h3 {
    margin: 0;
    padding: 15px;
    background: #8daab3;
    color: #fff;
}

.trigger::after {
    content: '';
    height: 25px;
    width: 25px;
    border-bottom: solid 2px #fff;
    border-left: solid 2px #fff;
    transform: rotate(-45deg);
    position: absolute;
    top: 5px;
    right: 15px;
    transition: all .4s ease;
}

.trigger.open:after {
    transform: rotate(135deg);
    top: 25px;
}

.toggle_container {
    width: 100%;
    padding: 30px 15px 15px;
    position: relative;
}

.toggle_container::before {
    content: '';
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, rgba(255,255,255,0),rgba(255,255,255,.5),rgba(255,255,255,0));
    position: absolute;
    top: 5px;
    left: 0;
}

/*jobs*/
.jTitle {
    margin:0;
    display:inline-block;
    padding-right:15px;
}
.small {
    font-size:0.6em;
    padding-left:15px;
}

.jTitle .small {
    color:#fff
}
.jTitle a:hover, .jTitle a:focus {
    color:#fff;
}

.jlItemInner {
    padding:15px;
    border: solid 1px var(--brown);
    border-radius:5px;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content: space-between;
    color:#fff;
}
.buttonWrapper {
    margin:30px 0;
    display:flex;
    justify-content: center;
}
.buttonWrapper a {
    margin:15px;
}



/*Video*/
.plyr {
    min-width: 500px;
    margin: 15px;
}

/*fadIn effect*/
.fade-in {
    opacity: 0;
    transform: translateY(20vh);
    visibility: hidden;
    transition: opacity .6s ease-out, transform 1.2s ease-out;
    will-change: opacity, visibility;
}

.fade-in.is-visible {
    opacity: 1;
    transform: none;
    visibility: visible;
}

.yform {
    margin: 0 auto;
}

.form-group {
    margin-bottom: 15px;
}
.kForm .form-group {
    margin-bottom:11px;
}

input, select, textarea {
    border: none;
}

.control-label {
    padding: 13px 0;
    display: block;
    text-align: left;
    font-size: 1.2em;
    font-weight:700;
    color:var(--blue);
    width: 100%;
}

.form-control {
    padding: 10px 15px;
    border-radius: 4px;
    border:1px solid var(--brown);
    font-size: 1.2em;
    width: 100%;
    color: #333;
    background: var(--brown);
}
.yform .btn {
    background:transparent;
    margin-left:15px;
    border-radius:4px;
}

.btnWrapper {
    text-align: center;
}


.formcheckbox {
    margin-bottom: 15px;
    padding: 0 10px;
}
.txtImg.flexbox {
    flex-wrap: nowrap;
}

.imgList.bottomCenterImg, .imgList.topCenterImg {
    justify-content: center;
}

.imgList {
    align-items: center;
}

.listImg img:not([width]) {
    width: 100%;
}

.listImg img {
    display: block;
}

/* .gallery.flexbox {
  justify-content: center;
  align-items: center;
  padding:30px 0;
} */
.gallery {
    display: flex;
    flex-wrap: wrap;
}

.gallery a {
    display: inline-block;
    padding: 5px 0;
}

.gallery a img {
    display: block;
}

/*footer*/

footer {
    position: relative;
}
.fLogo img {
    width:100%;
    max-width:200px;
    height:auto;
}
.fLogo {
    padding:30px 15px;
}

.footer.container {
    padding: 15px;
}

footer p {
    color: #fff;
    line-height: 1.4em;
}
.footer h3 {
    margin:0;
}

.footer {
    position: relative;
}

.fLogo img {
    width:60%;
    height:auto;
    margin-bottom:1em;
}

.footer .flexbox {
    justify-content: space-between;
    align-items: flex-end;
    margin: 0 auto;
    width:75%;
}

.footer .flex_item {
    width: 33%;
}

.navFooter ul {
    margin: 0;
    padding: 0;
    text-align:right;
    width:100%;
}

.navFooter ul li {
    padding: 0 15px 0 0;
    display: block;
}

.rex-navi1 li {
    list-style: none;
}

.copyWrapper {
    text-align: center;
    position:relative;
    padding-bottom:15px;
}
.copyWrapper::before, .jobDivider {
   content:'';
   display:block;
   height:1px;
   width:100%;
    background:linear-gradient(to right, rgba(89,125,166,0) ,rgba(89,125,166,0.5), rgba(89,125,166,0));
}
.jobDivider {
    margin:15px auto;
}

.copyWrapper p {
    margin: 5px 0;
    font-size: 1em;
    font-weight: 100;
}

/*mediaqueries*/

@media screen and (max-width:1460px) {
    .slogan img {
        width:100%;
        height:auto;
    }
    .contentSliderTxt h3 {
        margin-top:0;
    }

}
@media screen and (max-width:1400px) {
    .logo {
        width:180px;
    }
    .mainNav li a {
        padding:15px 10px;
    }

}

@media screen and (max-width:1350px) {
    body {
        font-size: 1em;
    }

    .container {
        width: 100%;
        max-width: 1200px;
    }

    .container .flexbox {
        margin: 0;
    }

    .header_top .container {
        max-width: 100%;
    }
    .logoMobile {
        text-align:center;
    }


    .logoMobile img {
        width:150px;
        height:auto;
    }

    .parallaxItem {
        height: 500px;
    }
    .parallaxInner {
        padding:30px;
    }
    .contentSliderTxtInner {
        width:100%;

    }
    .contentSliderItem .flex_item {
        padding:0;
        height:350px;
    }
    .contentSliderItem .nextItem {
        display:none;
    }

}

@media screen and (max-width:1250px) {
    .desktop {
        display:none;
    }
    .tablet {
        display:block;
    }
     .navContent {
        justify-content: space-between;
    }
    .navContent .left {
        margin:0;
    }

    .headSliderSub .sliderItem, .sliderItem {
        height: 500px;
    }
     #rex-161 {
         width:75%;
     }

    .control-label {
        padding: 11px 0;
    }
    .footer .flexbox {
        width:100%;
    }

}

@media screen and (max-width:1024px) {
    .fullscreen {
        display: none;
    }

    .mainNav li a {
        padding: 15px 10px;
    }

    .headSliderSub .sliderItem, .sliderItem, .parallaxItem {
        background-size: cover !important;
        background-attachment: scroll !important;
    }
    .handwritten {
        font-size:5.5em;
        top:0px;
    }

    .info span {
        display: block;
    }

    .fullImg .contentSliderImg {
        background-size: cover !important;
    }
    .gridtemplate-4col .flex_item {
        width:50%;
    }
    .gridItem .listImg {
    width:auto;
    }
    .flex-50 {
        width: 75%;
    }

    .flex-75, .footer .flexbox, .contentSliderItem .flex_item {
        width: 100%;
    }
    .contentSliderTxt {
        position:absolute;
        top:15px;
        left:15px;
        bottom:15px;
        right:15px;
        text-align:center !important;
        background:rgba(0,0,0,0.6);
    }
    .contentSliderItem .flex_item.contentSliderTxt {
        height:auto;
        width:auto;
    }

    .contentSliderTxtInner {
        padding:0 30px;
    }

    .right .contentSliderTxtInner {
        text-align:center;
    }

    .formFieldWrapper .flex_item {
        width: 50%;
    }

    .formcheckbox label {
        margin-left: 0;
    }

    .headline {
        font-size: 2em;
    }
    .actionBtn {
        right:15px;
    }

    .sliderContent p, .sliderContent li {

    font-size:1.6em;
    }

    .footer .flex_item {
        width: 50%;
    }
    .footer .flex_item.text-center {
        text-align:left;
    }

    .navFooter {
        width: 100%;
    }

    .navFooter ul {
        display: flex;
    }
    .responsiveImg .flexbox > .flex_item {
        width:50%;
    }
    .responsiveImg img {
        width:100%;
    }
}

@media screen and (max-width:768px) {
    .mobile {
        display: block;
    }

    .desktop, .tablet, .sliderContent {
        display: none;
    }
    .stickyNav, .stickyNav.top {
        position:absolute;
    }

    .header_top {
        position: absolute;
    }
    .logoMobile img {
        height:120px;
        width:auto;
    }

    p, li, a {
        /* font-size: 1em; */
    }
    p.twoCols {
        column-count:1;
        column-gap:0;
    }

    h1, h2 {
        font-size: 2.2em;
    }

    h1 + h2 {
        font-size: 1.2em;
    }
     .slogan .flexbox {
         flex-wrap:wrap;
     }

     .slogan .flexbox > .flex_item, #rex-161 {
         width:100%;

     }
     .slogan p {
         text-align:center !important;
     }

    .subNav li a {
        font-size: 1.1em;
        padding: 10px 15px;
    }

    .rex-yform {
        padding: 15px 0;
    }

    .control-label {
        width: 30%;
    }

    .flex-33, .flex-25 {
        width: 50%;
    }

    .gallery {
        justify-content: center;
    }

    .contentWrapper {
        margin: 30px auto 0 auto;
    }

    .contentImg {
        width: 100%;
    }
    .responsiveImg .flexbox  {
       flex-wrap:wrap;
    }
    .responsiveImg .flexbox > .flex_item {
        width:100%;
    }
    .responsiveImg img {
        width:auto;
        max-width:100%;
    }
    .headSliderSub .sliderItem, .sliderItem {
        height: 350px;
    }


    .gallery .listImg img, .listImg img {
        max-width: 100%;
    }

    .info {
        font-size: .9em;
    }

    .formWrapper {
        justify-content: center;
    }

    .formFieldWrapper .flex_item {
        width: 100%;
        padding:0 15px;
    }

    .yform {
        width: 100%;
    }
}

@media screen and (max-width:600px) {
    .logo img {
        max-width: 300px;
    }

    .flex-50 {
        width: 100%;
    }

    ul.twoCols {
        column-count: 1;
    }
    .handwritten {
        font-size:3.5em;

    }
    .form-group {
        flex-wrap: wrap;
    }

    .form-control, .control-label, .form-control.datepicker {
        width: 100%;
    }

    .control-label {
        padding: 5px 0;
        text-align: left;
    }
     #rex-161 {
        text-align:center;
     }
    .rex-yform .btn {
        margin-left: 0;
    }

    .info, .actionBtn {
        display: none;
    }

    .headSliderSub .sliderItem, .sliderItem {
        height: 300px;
    }

    .formWrapper .flex_item {
        width: 100%;
    }

    .buttonWrapper {
        text-align:center;
        flex-wrap:wrap;
        justify-content: center;
    }

     .contentSliderItem .flex_item.contentSliderImg {
         background-size:auto 100% !important;

     }
     .contentSliderItem .flex_item {
        height:450px;
     }
     .txtImg.flexbox {
         flex-wrap:wrap;
     }
     .txtImg.flexbox > .flex_item {
         width:100%;
     }

    .footer .flex_item {
        width: 100%;
        padding: 0 15px;
    }
}

@media screen and (max-width:500px) {
    .flex-33, .flex-25 {
        width: 100%;
    }
    .gridtemplate-4col .gridItem.flex_item {
        width:100%;
    }
    .phone, .email {
       text-align:left;
       margin-left:0;
    }

    .parallaxWrapper {
        font-size:1em;
    }
     .parallaxItem {
         background-size:auto 100% !important;
         background-attachment:scroll !important;
     }

    .navFooter ul {
        justify-content: center;
    }
}
