body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.menu-icon:hover span {
   background: rgb(178,34,30);
}

.flexslider .slides li .image-full > span {
    aspect-ratio: 8 / 4;
    height: auto;
}
.slogan {
    text-align: center;
    margin-top: -3em;
}
/* Accordion DCE */
.dce .accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    float:left;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
	margin-left:15px;
}

.dce .active, .dce .accordion:hover {
    background-color: rgb(178, 34, 30);
	color:#fff;
}
button.accordion.w100 {
    width: 100%;
}
.dce .active, .dce .accordion.w100:hover {
	background-color: #ccc;
	color:#000;
}
.dce-button { 
	width:100%;
	display: inherit;
}
.dce .panel {
    padding: 0 18px;
    display: none;
    background-color: white;
    overflow: hidden;
    float: left;
	width: 100%;
}
.dce .panel p {
    margin: 1em 0;
    font-size: 15px;
}
/* End accordion */
.dce {
    margin-left: -15px;
    margin-right: -15px;
	display:flow-root;
}
.dce-flip-main h2 {margin-bottom:0;}
.dce-flip-main {
  background-color: transparent;
  width: 30.33% ;
  aspect-ratio:2 / 2;
  perspective: 1000px;
  float: left;
  margin: 0 0 15px 15px;
}

.dce-flip-main .dce-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
}

.dce-flip-main .flip-card-front, .dce-flip-main .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.dce-flip-main .flip-card-front {
  background-color: #bbb;
  color: black;
}

.dce-flip-main .dce-flip-img {
    width: 100%;
    height: 100%;
}
.dce-flip-main .dce-flip-img img {
    height: 100%;
    width: 100%;
    max-width: inherit;
    object-fit: cover;
}
.dce-flip-main .dce-flip-image-heading {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 5px;
    position: absolute;
    bottom: 0;
    width: 86%;
    margin: 20px;
    color: rgb(178, 34, 30);
}
.dce-flip-main .dce-flip-image-heading a {
	cursor: pointer;
}
.dce-flip-main .dce-flip-text a {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 5px 15px;
    text-transform: capitalize;
    position: absolute;
    bottom: 0;
    z-index: 1;
    width: 86%;
    margin: 20px;
}
.dce-flip-main .dce-flip-text {
    width: 100%;
    height: 100%;
}
.dce-flip-main .content-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(178, 34, 30, 80%);
    z-index: 1;
}

.dce-flip-main .dce-flip-image-heading a:after {
    content: ">";
    padding-left: 8px;
    padding-top: 2px;
}

.dce-flip-main .dce-flip-text-inner {
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 15px;
    bottom: 15px;
    align-items: center;
    display: flex;
    justify-content: center;
}

.modal a.close-modal:hover {
    background-image: url('../images/close-line-icon.svg');
}

.flexslider .slides .image-half img {
    display: block;
}

.flexslider .slides .image-half .flex-caption {
    background-color: rgba(255,255,255,.7);
}

.flexslider .slides img {
    max-height: 809px;
}
/* POWERMAIL */
.layout1, .layout2 {
    width: 48%;
    float: left;
}
.layout2 {
	float:right;
}
 
.powermail_field .checkbox label {
	display: inline-grid;
    grid-template-columns: 1em auto;
    gap: 0.7em;
    line-height: 2.2;
}
.layout3 .powermail_label {
	display:block;
}
.powermail_field input {
    margin-bottom: 1em;
}
.powermail_fieldwrap span.mandatory {

}
.powermail_submit {
    background: rgb(178, 34, 30);
    color: #fff;
}
.powermail_submit:hover {
    background: #E9E9E9;
    color: #000;
}
footer {
    display: flex;
    padding: 10px 0;
    align-items: center;
    margin-top: auto;
}
footer p, footer p a {
    color: #444;
}
footer p a:hover, footer p a:active{
    color: rgb(178, 34, 30);
}
footer .col-25.column-1 {
    width: 5%;
    padding-right: 10px;
}
footer .col-25.column-2,
footer .col-25.column-3,
footer .col-25.column-4 {
    /*padding-top: 25px;*/
}

footer .col-25.column-1 a,
footer .col-25.column-3 a {
    color: #000000;    
}

footer .col-25.column-1 a:hover,
footer .col-25.column-3 a:hover {
    color: rgb(178,34,30);
}
footer .column-4 {flex-grow:1;}
.menu-icon {
    display: none;
}
footer .menu ul {
   display: flex;
   flex-direction: column;
   /* Below sets up your display method: flex-start|flex-end|space-between|space-around */
   justify-content: flex-start; 
   /* Below removes bullets and cleans white-space */
   list-style: none;
   padding: 0;
   /* Bonus: forces no word-wrap */
   white-space: nowrap;
}
footer .col-25.social-icons.column-4 .social {
    width: auto;
}
footer .col-25.social-icons.column-4 .floatright .ce-image.ce-center.ce-above img {
    width: 60%;
    float: right;
    padding-top: 20px;
}



/*@media (min-width: 1920px) {
    #menu-modal a.close-modal {
        right: -320px !important;
    }
}

@media (min-width: 1781px) and (max-width: 1919px) {
    #menu-modal a.close-modal {
        right: -300px !important;
    }
}

@media (min-width: 1500px) and (max-width: 1780px) {
    #menu-modal a.close-modal {
        right: -264px !important;
    }
}*/

@media (min-width: 1440px) and (max-width: 1630px) {
    /*#menu-modal a.close-modal {
        right: -180px !important;
    }*/

    .flexslider .slides img {
        max-height: 730px;
    }
}

@media (min-width: 1400px) and (max-width: 1439px) {
    /*#menu-modal a.close-modal {
        right: -100px !important;
    }*/

    .flexslider .slides img {
        max-height: 642px;
    }
}

@media (max-width: 1299px) {
   /* #menu-modal a.close-modal {
        right: -16px !important;
    }*/

    .flexslider .slides img {
        max-height: 446px;
    }
}

@media (min-width: 768px) {

    header {
        margin: 0 auto;
        padding-top: 50px;
    }
    .content {
        padding-top: 40px;
    }
    .megamenu_container {
        display: none;
    }
    .header .logo {
        margin: 0;
        display: inline-block;
    }

    .mobile-menu {
        display: none;
    }

    .desktop-menu {
        display: inline;
    }

    .menu-icon{
        display:flex;
        align-items: center;
        flex-direction:column;
        width:50px;
        cursor:pointer;
        float: right;
        transform: rotate(180deg);
        margin-top: 20px;
    }

    .menu-icon span{
        background: #000;
        border-radius:0;
        height:5px;
        margin: 3px 0;
        transition: .4s  cubic-bezier(0.68, -0.6, 0.32, 1.6);
    }

    .menu-icon .middle-line {
        display: flex;
    }

    .menu-icon .middle-line span:nth-child(1) {
        margin-right: 5px;
        width: 20px;
        transform: inherit;
        position: inherit;
    }

    .menu-icon .middle-line span:nth-child(2) {
        width: 20px;
    }

    .menu-icon span:nth-of-type(1){
        width: 50%;

    }

    .menu-icon span:nth-of-type(2){
        width: 50%;
    }

    .menu-icon span:nth-of-type(3){
        width:75%;
    }

    .menu-icon input[type="checkbox"]{
        display:none;
    }


    .menu-icon input[type="checkbox"]:checked ~ span:nth-of-type(1){
        transform-origin:bottom;
        transform:rotatez(45deg) translate(7px,0);
    }


    .menu-icon input[type="checkbox"]:checked ~ span:nth-of-type(2){
        transform-origin:top;
        transform:rotatez(-45deg);
    }

    .menu-icon input[type="checkbox"]:checked ~ span:nth-of-type(3){
        transform-origin:bottom;
        width:50%;
        transform: translate(25px,-9px) rotatez(45deg);
    }

    #menu-modal {
        background: transparent;
        height: 75%;
        box-shadow: none;
        max-width: 90%;
        padding: 0;
        /*padding-top: 80px;*/
    }

    #menu-modal .menu-outer {
        background: transparent;
        height: 100%;
        box-shadow: none;
        max-width: 1080px;
        padding-top: 80px;
        margin: 0 auto 0 auto;
        padding-left: 30px;
        padding-right: 30px;
		
    }
    #menu-modal .nav {
        border: none;
    	border-right: 1px solid rgb(221, 221, 221);
    	margin-right: 4em;
        }
    #menu-modal ul.slimmenu li {
        display: block;
        background-color: transparent;
    }
    #menu-modal ul.slimmenu li a {
        color: #000;
        font-size: 24px;
        line-height: 30px;
    }
    #menu-modal ul.slimmenu li a:hover {
        color: rgb(178,34,30);
    }
    #menu-modal ul.slimmenu li>ul {
        position: initial;
        background-color: transparent;
        border: none;
        display: block !important;
    }
    #menu-modal ul.slimmenu li>ul a {
        font-size: 18px;
        line-height: 1;;
    }
    .blocker {
        background-color: rgb(255,255,255);
        z-index: 999;
        padding: 20px 0;
    }
    #menu-modal ul.slimmenu li.right {
        display: none;
    }
    #menu-modal strong {
        color: rgb(178,34,30);
        font-weight:bold;
    }
    .contact-info {
        color: #000;
        font-size: 18px;
    }
    .contact-info a {
        color: #000;
    }
    .contact-info a:hover {
        color: rgb(178,34,30);
    }
    .contact-info .news_image a {
        color: #ffffff;
    }
    .contact-info .floatleft {
        width:25%;
        margin-top:50px;
    }
    .contact-info .floatright {
        display: none;
    }
    #menu-modal a.close-modal {
        top: 50px;
        right: 0px;
        width: 45px;
        height: 45px;
    }
    #menu-modal .nav .slimmenu {
        display: inline-block;
        width: auto;
    }
    #menu-modal ul.slimmenu li.active >ul {
        display: block !important;
        height: auto !important;
    }
    #menu-modal ul.slimmenu li.active > a {
        color: rgb(178,34,30);
    }
}

@media (max-width: 991px) {
    .flex-direction-nav .flex-next {
        z-index: 0; /*Fix for next arrow overlapping mobile menu */
    }
    footer {
        flex-flow: wrap;
    }

    footer .col-25.column-2 {
        width: 60%;
    }
    footer .col-25.column-3 {
        width: 0%;
    }
    footer .col-25.column-4 {

    }
    .social {
        float: left;
    }

    .floatright {
        margin-left: -26px;
        clear: left;
    }

    .ce-center .ce-inner {
       /* right: -42%;*/
    }

    .flexslider .slides img {
        max-height: 421px;
    }
}

@media (max-width: 767px) {
	.mm-page {
		min-height:initial;
	}
    .header  .megamenu_container  .menu-collapser {
        position: absolute;
        right: 40px;
        width: auto;
        top: 37px;
        height: 14px;
    }

    .header .megamenu_container {
        margin: 0;
    }

    .news-img-wrap,
    .news-text-wrap.schmal,
    .col-50-50 .col-right {
        width: 100%;
    }

    footer {
        flex-flow: column;
    }

    footer .col-25 {
        width: 100%;
        display: contents;
    }

    .social {
        float: left;
    }

    .floatright {
        float: initial;
        margin-left: 0;
        clear: left;
    }
    footer .col-25.column-1 {
        width: 100%;
        padding-right: 10px;
        display: contents;
    }
	footer .col-25.column-1 .image-embed-item {
    	width: 40px;
	}
    footer .col-25.column-2 p {
        font-size: 12px;
        margin-top: 2em;
    }
    .ce-center .ce-inner {
       /* right: -42%;*/
    }

    .dce-flip-main {
        width: 100%;
        margin-bottom: 20px;
    }

    .flexslider .slides img {
        max-height: 282px;
    }

    .desktop-menu {
        display: none;
    }

    .mobile-menu-icon{
        display:flex;
        align-items: center;
        flex-direction:column;
        width:50px;
        cursor:pointer;
        float: right;
        transform: rotate(180deg);
        margin-top: 20px;
    }

    .mobile-menu-icon span{
        background: #000;
        border-radius:0;
        height:5px;
        margin: 3px 0;
        transition: .4s  cubic-bezier(0.68, -0.6, 0.32, 1.6);
    }

    .mobile-menu-icon .middle-line {
        display: flex;
    }

    .mobile-menu-icon .middle-line span:nth-child(1) {
        margin-right: 5px;
        width: 20px;
        transform: inherit;
        position: inherit;
    }

    .mobile-menu-icon .middle-line span:nth-child(2) {
        width: 20px;
    }

    .mobile-menu-icon span:nth-of-type(1){
        width: 50%;

    }

    .mobile-menu-icon span:nth-of-type(2){
        width: 50%;
    }

    .mobile-menu-icon span:nth-of-type(3){
        width:75%;
    }

    .mobile-menu-icon input[type="checkbox"]{
        display:none;
    }


    .mobile-menu-icon input[type="checkbox"]:checked ~ span:nth-of-type(1){
        transform-origin:bottom;
        transform:rotatez(45deg) translate(7px,0);
    }


    .mobile-menu-icon input[type="checkbox"]:checked ~ span:nth-of-type(2){
        transform-origin:top;
        transform:rotatez(-45deg);
    }

    .mobile-menu-icon input[type="checkbox"]:checked ~ span:nth-of-type(3){
        transform-origin:bottom;
        width:50%;
        transform: translate(25px,-9px) rotatez(45deg);
    }

    #menu {
        display: none;
    }

    .news_image a {
        color: #ffffff !important;
    }

    .logo,
    .mobile-menu {
        display: inline-block;
    }

    .mobile-menu {
        float: right;
    }     

    .mm-wrapper--opened #menu {
        display: block;
        z-index: 1;
    }

    .mm-panels #panel-menu {
        width: 100%;
        background-color: #fff;
    }

    .mm-panels #panel-menu .mm-navbar a {
        background-color: #ffffff;
    }

    .mm-panels #panel-menu ul li {
        display: flex;
        background-color: transparent;
    }

    .mm-panels #panel-menu ul li.active.right,
    .mm-panel.mm-panel--opened,
    .mm-navbar {
        background-color: #ffffff;
    }

    .mm-panels #panel-menu ul li.right {
        background: rgb(178, 34, 30);
        margin-top: 10px;
        display: none;
    }

    .mm-listitem:after {
        left: 0;
    }

    .mm-btn--next:after {
        right: 20px;
    }

    .mm-panels #panel-menu ul {
        margin-bottom: 20px;
    }

    .mm-panels #panel-menu ul li a {
        padding: 20px;
        font-size: 20px;
    }

    .mm-panels #panel-menu ul li ul li a,
    .mm-panels #panel-menu .mm-navbar a {
        font-size: 20px;
    }

    .mm-panels #panel-menu ul li a:nth-child(2) {
        padding: 25px;
    }

    .mm-panels #panel-menu .floatleft {
        padding: 10px 20px;
    }

    .mm-listitem__btn:not(.mm-listitem__text) {
        border-color: #00000026;
    }

    #menu a.close-modal {
        background-image: url('../images/black-close.svg');
        width: 40px;
        position: absolute;
        background-repeat: no-repeat;
        height: 40px;
        left: -42px;
        top: 2px;
        z-index: 3;
    }

    #panel-menu strong {
        color: rgb(178,34,30);
        font-weight:bold;
        font-size: 16px;
    }
	.dce {
    	margin-right: 15px;
    }
	.dce .accordion {
		width: 100%;
	}
}