.row {row-gap: 25px;}

.form-control  { border: 1px solid rgba(0, 0, 0, .2); }

.sidenavi ul li a:before , .scrolltop a:after,
.mainnavi ul.level_1 > li.submenu a:after,
footer#footer  ul li a:before,
p.footerIcons a:after,
p.socialIcons a:after,
header#header .socials-top a,
.mod_calendar table.calendar td.days .event:before ,
.ui-accordion-icons:after ,
p.recurring:before,
p.location:before
{font-family: 'FontAwesome'; }

p.footerIcons a:after, p.socialIcons a:after {
    display: inline-block;
    color: #fff;
    margin: 0 6px 0 2px;
    font-size: 16px;
    transition: all 0.5s ease 0s;
    -moz-transition: all .5s;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.footer-yt:after {
        content: "\f16a";
}

.footer-gp:after {
        content: "\f0d5";
}

.footer-tw:after {
        content: "\f099";
}

.footer-fb:after {
        content: "\f09a";
}

p.footerIcons em, p.socialIcons em, p.teamIcons em {
        display: none;
}


body, .mobilenavi { font-family: 'Open Sans', sans-serif; color: rgba(0,0,0,0.6); }
#main .ce_text p  { line-height: 1.5; }

/* font-styles */
h1, h2, h3, h4, .bgStyle h1 { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1px; }

h1 {
        font-size: 40px;
        margin-bottom: 10px;
}

h2 {
        font-size: 30px;
        margin-bottom: 8px;
}

h3 {
        font-size: 22px;
        margin-bottom: 8px;
}

h4 {
        font-size: 20px;
        margin-bottom: 8px;
}

h5 {
        font-size: 18px;
        margin-bottom: 8px;
}

@media(max-width: 425px) {
    h1 {
            font-size: 30px;
            margin-bottom: 9px;
    }

    h2 {
            font-size: 22px;
            margin-bottom: 7px;
    }

    h3 {
            font-size: 20px;
            margin-bottom: 7px;
    }

    h4 {
            font-size: 18px;
            margin-bottom: 7px;
    }

    h5 {
            font-size: 16px;
            margin-bottom: 7px;
    }
    
    .btn, p.more a, p.back a, .submit {
            padding: 10px 23px;
            font-size: 13px;
    }

    .recurring, .location {
            font-size: 13px !important;
    }
    
    body {
            font-size:14px;
    } 
}


/* button */
.btn, p.more a, p.back a, .submit {
        border-radius: 0;
        color: #fff;
        padding: 10px 23px;
        font-size: 15px;
        text-transform: uppercase;
        font-family: 'Oswald', sans-serif;
}

.recurring, .location {
        font-size: 15px !important;
}

.submit {
        border: none;
        cursor: pointer;
}



/* topbar */
.topbar p, .topbar a, .topbar .fa { color: rgba(255,255,255,0.8); }

.topbar .first  .fa-padding {   padding-left: 40px; }
.topbar .last .fa-padding {   padding-right: 15px; }

.bangb1 .topbar .container {
        border-top: 1px solid rgba(255,255,255,0.1);
        padding: 30px 15px;
}

.mod_navigation {
        padding-top: 10px;
}

.fixedTop {    width: 100%; }


/* slider */
.slider-control .slider-menu b {
        color: #fff;
}

.bgStyle h1 {
        font-size: 60px;
}

.bgStyle h1,
.bgStyle h2,
.bgStyle h3,
.bgStyle h4,
.bgStyle p {
         color: #fff;
}

.slider-control .slider-menu {
    top: -73px;
    left: 61px;
}

.slider-bg {
        background: rgba(255,255,225,0.2);
        padding: 23px 45px;
}

.clients .slider-control .slider-menu {
        top: 0;
}

.clients .slider-control .slider-menu b {
        color: #161514;
}

.slider-control {
        height: 0;
}

.overlayContent {
    padding: 0 30px;
}

/* footer */
footer#footer h1, footer#footer h2, footer#footer h3, footer#footer h4 { color: #fff; }
footer#footer  ul { margin: 10px 0 0 ; padding:0; list-style-type: none;}
footer#footer  ul li a { display: block; }

header#header .socials-top a { margin: 0 5px; }
header#header .socials-top a.footer-yt:before {content:"\f166 ";}
header#header .socials-top a.footer-gp:before {content:"\f0d5 ";}
header#header .socials-top a.footer-tw:before {content:"\f081 ";}
header#header .socials-top a.footer-fb:before {content:"\f082 ";}
header#header .socials-top a em { display: none; }

#footer .submit:hover { background: #fff; }

/* copyright */

.top-links ul { margin:0; padding:0; list-style:none; text-align:right; }
.top-links ul li { display: inline-block; }
.top-links ul li a { display: block; padding: 0 2px; }



/* MAINNAVI */
.mainnavi ul.level_2, .mainnavi ul.level_3 {
        width: 186px;
        padding: 11px;
        text-align: left;
}

.mainnavi ul.level_1 li a, .mainnavi ul.level_1 > li > a, .mainnavi ul.level_1 > li > strong {
    display: block;
    text-transform: none;
    font-size: 14px;
    font-weight: normal;
    text-transform: uppercase;
    color: #fff;
}

.mainnavi ul li strong.active { font-weight:normal; text-transform:uppercase; font-size:14px; border-bottom: 2px solid white;}

/*--- events  --*/
.mod_eventlist .teaser { max-height: 80px; overflow: hidden; font-size:.85rem }

/*---- news  ----*/
.mod_newslist figure.image_container {    margin-right: 15px; }

/*--- accordeon ---*/
.ui-accordion-content {
    background: #e7e7e7;
    padding: 10px;
    margin-bottom: 10px;
}

/*--- contact -----*/
.contact-icons h3 { position: relative; }
.contact-icons em { position: absolute; left: -28px; top: 5px; font-size: 80%;}

.sidenavi  ul{ padding: 0; }
.sidenavi ul li { }
.sidenavi ul li a, .sidenavi ul li strong { display: block; border-bottom: 1px solid rgba(0, 0, 0, .125)}
.sidenavi ul li a:before  {
    content: "\f054";
    padding-right: 10px;
    font-size: 10px;

}


.absolute-pic {
        position: absolute;
        top: -19%;
        right: 45%;
}

.absolute-pic img {
        -webkit-filter: drop-shadow(-1px 6px 17px #606060);
        filter: drop-shadow(-1px 6px 17px #606060);
}

.small-text {
        max-width: 715px;
        margin: 0 auto;
}


/*---- insideout ---*/
.InsideOut-dark .full-bg {
        padding: 90px 0;
}

.InsideOut-dark, .InsideOut, .InsideOut-nobg { position: relative; }

.InsideOut-dark h1, .InsideOut-nobg h1,
.InsideOut-dark h2, .InsideOut-nobg h2,
.InsideOut-dark h3, .InsideOut-nobg h3,
.InsideOut-dark h4, .InsideOut-nobg h4,
.InsideOut-dark h5, .InsideOut-nobg h5 {
         color: #fff;
}

.InsideOut-dark p, .InsideOut-dark td, .InsideOut-nobg p  {
         color: rgba(255,255,255,0.6);
}

.InsideOut-dark td {
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 8px 0;
}

.InsideOut {
        padding: 70px 0;
}


/*---- news ---*/
.form-control, .layout_latest p.info, .news .info { border-radius: 0; }

.formbody label {
        display: inline-block;
        margin-bottom: .5rem;
        position: absolute;
        color: rgba(0,0,0,0.6);
        padding: 9px 14px;
        right: 0;
}

#lbl_notify_0 { padding: 0 9px; }

p.info { padding: 0; }

.newstxt a {
        font-size: 18px;
}


.layout_latest p.info, .news .info,
.event p.info,
.mod_eventlist div.header,
.mod_eventlist .header,
.mod_newsreader .info,
.mod_eventreader .info {
         color: #545352;
         padding: 0;
         font-size: 14px;
         background: rgba(0,0,0,0.1);
         padding: 8px 18px;
         margin: 10px 0;
}

.layout_latest p.info { margin-top: 0; }

.startnews .teaser {
        height: 64px;
        overflow: hidden;
}

.newstxt h3 {
        line-height: 0.9;
        padding: 10px;
}

#main .rte p , #main .ce_text p{
    line-height: 1.5;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 5px 0;
}

@media(max-width: 1200px) {
  #main .rte p , #main .ce_text p{
    font-size: 15px;
  }
}

@media(max-width: 425px) {
    #main .rte p , #main .ce_text p{
        font-size: 13px;
    }
}


.search .widget-submit {
        top: 1px;
        right: 1px;
        position: absolute;
}

.search .widget-submit .btn {
        margin: 0;
        padding: 6px 16px;
}

.mod_login .widget-submit {
        margin-top: 14px;
}


/*---- search ---*/
.mod_search .widget-submit {
        top: 1px;
        right: 1px;
        position: absolute;
}

.mod_search .fa {
        font-size: 21px;
}


/*---- newsletter ---*/
.newsletter input {
        padding: 10px;
        width: 100%;
        border: 1px solid rgba(0,0,0,0.1);
}

.newsletter .submit {
        position: absolute;
        right: 0;
        top: 0;
        margin: 0;
}

.mod_subscribe {
        margin-top: 12px;
}

/*---- main ---*/
.vp-center { display: block!important; }

.divider {
        margin-bottom: 20px;
        margin-top: 20px;
        z-index: 99;
}

#footer .divider {        background: rgba(255, 255, 255, .2);}
 .dark-bg {
        padding: 46px;
        position: absolute;
        top: 27%;
        left: 7%;
}

.ce_sliderStart {        position: relative;}
.pull-right {        float: right;}

.clients .fa {        color: #fff;}
.pricing-box h1 {         color: #fff;}
#main ul {        padding: 0;}

.no-gutters .overlayContent {
        position: relative;
        z-index: 4;
        padding: 5% 15%;
}

.submit .fa {        color: #fff;}
#footer .form-control, #footer .form-control:focus { background: none; border: none; border-bottom: 1px solid rgba(255,255,255,0.8); }
#footer label, #footer .form-control {        color: rgba(255,255,255,0.8);}
label:focus, .formbody label:focus { display: none!important;}
.newsitem img {        padding-bottom: 12px;}
.button-menu .fa {
        font-size: 30px;
}

.ce_comments {  margin-top: 40px;}
.form-group {
    margin-bottom: 19px;
    padding: 0;
}
label.is_focused { font-size: 10px; right: -5px; top:-5px; opacity: 1; }

.home .topbar {
        position: absolute;
        top: 0;
        width: 100%;
        z-index: 1;
        background: #8C8172;
}

.pic-headline h2 {
    position: absolute;
    color: #fff;
    top: 6%;
    right: 15%;
}

.light-bg .blockInner {
        padding: 10%;
}

.newsletter-padding {
        padding: 3%;
}

.ce_accordion .toggler {
        color: #fff;
        font-size: 17px;
}

.mod_faqlist a {
        font-size: 17px;
}

@media (max-width: 764px) {
        .bgStyle h1 { font-size: 30px; }
        .pic-headline h2 { font-size: 2em; }
        .slider-bg { margin: 11% 0; }
}


.mod_calendar .event a,
.mod_calendar .head a {
        color: rgba(0,0,0,0.6);
}

.slider-control .slider-menu b {
        padding: 4px;
}

.slider-control .slider-menu .active {
        font-size: 25px;
        position: relative;
}

.slider-control .slider-menu {
    top: auto;
    bottom: 2vh;
    left: 50%;
    right: 50%;
}

.team h4 {
        margin: 0;
}

.team .textInner {
        background: rgba(0,0,0,0.1);
        padding: 6px 17px;
        margin-top: 10px;
}


.darkbg .banner-bg {
        border: none;
        background: #000;
        color: #f2f2f2;
        padding: 10px;
        font-size: 18px;
        position: relative;
        box-sizing: border-box;
        transition: all 500ms ease;
}

.darkbg .banner-bg:before {
        content:'';
        position: absolute;
        top: 0px;
        left: 0px;
        width: 0px;
        height: 100%;
        background: rgba(0,0,0,0.8);
        border-radius: 0px;
        transition: all 2s ease;
}

.darkbg .banner-bg:hover:before {
        width: 100%;
}

.darkbg .banner-bg { background-size: cover; }
.mod_article { overflow: hidden; }
.mod_login .widget { position: relative; }
.topbar { padding: 30px 45px; }
.brown-bg h1, .brown-bg h2, .brown-bg h3, .brown-bg h4 { color: #fff; }
.brown-bg .btn { background: #fff; color: #111; }
.brown-bg p, .brown-bg a { color: rgba(255,255,255,0.8); }

.text-center h1:after {
    margin-left: auto;
    margin-right: auto;
}

.h1-border h1:after {
    border-top: 3px solid;
    content: " ";
    display: block;
    width: 8%;
    margin-top: 14px;
}

.InsideOut-dark p { color: rgba(255,255,255,0.6); }
.footercontainer a:hover { color: #fff; }
footer a, footer p {
    color: rgba(255,255,255,0.6);
    line-height: 1.4;
}

.slider-control .slider-menu {}

.mainnavi ul.level_1 > li {
  position: relative;
  display: inline-block;
  margin: 2px 10px;
}

.fullwidth .mod_article {
    padding-left: 60px;
    padding-right: 60px;
}

@media(max-width: 768px) {
    .fullwidth .mod_article {
        padding-left: 30px;
        padding-right: 30px;
    }
}

.headerimg figure { background-color: #8c8172; }

.pic-headline figure img {
    display: block;
    width: 100%;
    height: auto;
    opacity: .2;
}

.pic-headline h2 { z-index: 99; }


.fullwidth {
	max-width: 100%;
	overflow: hidden;
}

.submenu .active, .submenu .forward.last {}

.mainnavi ul.level_2 {
        display: none;
        position: absolute;
        right: 0;
}



.pic-headline figure img:hover {
    opacity: 1;
    transition: all 500ms ease;
}

.pic-headline:hover h2 { opacity: .5; }

.submit { border-bottom: 3px solid transparent; }

p.more a, p.back a { font-size: 13px; margin-top: 6px; }

.container-fluid figure img {
	width: 100%;
}

/*** improvements contao 5 */
.flex-row {flex-direction: column!important; }

.bgStyle,
.banner-bg  { 
    width: 100%; 
}
.slider-control .slider-menu b { margin: 0 .4rem; }

.no-gutters .col, .no-gutters [class*=col-] {
    padding-right: 0;
    padding-left: 0;
}

/*---- downloads ---*/
.content-downloads li a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-downloads  li a:before {
    content: "\f019 ";
    /* position: absolute; */
    font-family: 'FontAwesome';
    font-size: 2rem;
    line-height: normal;
}
.media.right-socials { flex-direction: column; }


table.calendar tbody tr > td {
    background: #e7e7e7;
    position: relative;
    height: 150px;
    width: 15%;
    vertical-align: top;
}
table.calendar tbody tr > td.today .header {
    font-weight: bold;
}
table.calendar .empty { background:white }
table.calendar .weekend { background:#efefef }

.events {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.mod_calendar .event a {
    text-align: left;
    padding: 5px;
    background: white;
    margin: .1rem 0;
    font-size: .8rem;
    display: inline-block;
    position: initial;
    width: 100%;
    font-size: .7rem;
}

.brown-bg {
    display: flex;
    align-items: center;
    padding-left: 5%;
    padding-right: 5%;
}

@media(max-width: 768px) {
    .brown-bg {
        padding: 5%;   
    }

}

.overlay-menu .mobilenavi li a.trail,
.overlay-menu .mobilenavi li strong.active {
        font-family: 'Oswald', sans-serif;
}

.bgStyle { background-position: center ; }
.slider-wrapper, .content-slider .content-text { display: flex; align-items: stretch; }


@media (max-width: 768px) {
        .topbar { padding: 10px; }
        .blockInner { bottom: 30px }
}

@media (max-width: 992px) {
        .mod_navigation { padding-top: 0px; }
}

.footercontainer {
    padding: 60px;
}

.footercontainer .textInner {
    display: flex;
    gap: 60px;
    color: white;
}

@media (max-width: 768px) {
   .footercontainer .textInner {
        display: flex;
        gap: 5px;
        color: white;
        flex-direction: column;
    } 
    .footercontainer {
        padding: 30px;
    }
}

.footercontainer .textInner strong{
    color: white;
}

.footercontainer .textInner a{
    color: white;
}

.btn-black {
    background-color: black;
    border: 1px solid black;
}
.btn-white {
    background-color: white;
    color: black;
    border: 1px solid white;
}

.btn:hover {
    background-color: #11111100;
}

.btn-black:hover {
    border: 1px solid black;
    color: black;
}

.btn-brown {
    border: 1px solid #8C8172;
}

.btn-brown:hover {
  color: #8C8172;
}

.btn-white:hover {
    border: 1px solid white;
}
.header-image {
    max-height: 388px;
    display: flex;
    align-items: center;
    overflow: hidden;

}

.ce_rsce_skills, .w100 {
    width: 100%;
}

.ce_rsce_skills .odd, .ce_rsce_skills_si .odd{
    flex-direction: row-reverse;
}


.ce_rsce_skills .text-center, .ce_rsce_history .text-center{
    display: flex;
    gap: 40px;
    flex-direction: column;
    padding-bottom: 30px;
    align-items: center;
}


.ce_skill, .ce_skill_si {
    padding: 30px 0;
}

.ce_skill_si img {
    width: 100%;
    height: 100%;
    padding-right: 15px;
}

.ce_skill img{
    width: 100%;
    height: 100%;
}

.ce_skill.row, .ce_skill_si.row{
    margin-left: 0;
    margin-right: 0;
}

.ce_skill_slider {
    display: none;
}

.ce_skill_si.odd img {
    padding-right: 0;
    padding-left: 15px;
} 

@media(max-width: 768px) {
    .ce_skill_slider {
        display: block;
    }
    .ce_skill {
        display: none;
    }
    .ce_skill_si {
        display: block;
    }
    .ce_skill_si img,.ce_skill_si.odd img {
        padding: 0;
    }
    .ce_skill_si .col-4, .ce_skill_si .col-8 {
        max-width: 100%;
    }
}

.l_image {
    padding: 0;
}

.s_image {
    padding: 0;
}

.s_image:first-child {
    padding-bottom: 7.5px;
}
.s_image:nth-child(2) {
    padding-top: 7.5px;
}
.ce_skill .text, .ce_skill_si .text {
    width: 100%;
    height: 100%;
    align-items: flex-start;
}

.s_images {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.text-image_Box {
    padding: 0;
}

.text-image_Box .rte{
    padding: 30px 15px;
}

@media (max-width: 992px) {
    .ce_skill .text h3, .ce_skill_si .text h3{
        font-size: 20px;
        margin-bottom: 0;
    }
    .ce_skill .text .rte p, .ce_skill_si .text .rte p{
        font-size: 12px !important;
    }
    
    .text-image_Box .rte{
        padding: 15px 5px;
    }
}

img {
    object-fit: cover;
}

.portraits .content-text .mt-4 {
    padding-left: 10px;
    border-left: 3px solid #8C8172;
}

.ce_rsce_gallery {
    display: none;
}

.ce_rsce_gallery.active {
    display: block;
} 

.gallery-switch {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 10px;
}

.gallery-wrapper {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 15px;
    padding-bottom: 25px;
}

.gallery-container {
    width: calc(50% - 7.5px);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 15px;
    grid-row-gap: 15px;
}

.gallery-container img {
    width: 100%;
    height: 100%;
}


.even .gallery-image:first-child {
    grid-area: 1 / 1 / 3 / 3;
}
.even .gallery-image:nth-child(2) {
    grid-area: 3 / 1 / 4 / 2;
}
.even .gallery-image:nth-child(3) {
    grid-area: 3 / 2 / 4 / 3;
}
.even .gallery-image:nth-child(4) {
    grid-area: 4 / 1 / 5 / 2;
}
.even .gallery-image:nth-child(5) {
    grid-area: 4 / 2 / 5 / 3;
}

.odd .gallery-image:first-child {
    grid-area: 1 / 1 / 2 / 2;
}
.odd .gallery-image:nth-child(2) {
    grid-area: 1 / 2 / 2 / 3;
}
.odd .gallery-image:nth-child(3) {
    grid-area: 2 / 1 / 3 / 2;
}
.odd .gallery-image:nth-child(4) {
    grid-area: 2 / 2 / 3 / 3;
}
.odd .gallery-image:nth-child(5) {
    grid-area: 3 / 1 / 5 / 3;
}

@media(max-width: 991px) {
    .odd .gallery-image:first-child {
        grid-area: 1 / 1 / 3 / 3;
    }
    .odd .gallery-image:nth-child(2) {
        grid-area: 3 / 1 / 4 / 2;
    }
    .odd .gallery-image:nth-child(3) {
        grid-area: 3 / 2 / 4 / 3;
    }
    .odd .gallery-image:nth-child(4) {
        grid-area: 4 / 1 / 5 / 2;
    }
    .odd .gallery-image:nth-child(5) {
        grid-area: 4 / 2 / 5 / 3;
    }
    
    .gallery-container {
        margin-bottom: 15px;
    }
}

@media(min-width: 991px){
  .gallery-container:last-child.even {
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
  
  .even.gallery-container:last-child .gallery-image:first-child {
    grid-area: 1 / 1 / 3 / 3;
  }
  .even.gallery-container:last-child .gallery-image:nth-child(2) {
      grid-area: 1 / 3 / 2 / 4;
  }
  .even.gallery-container:last-child .gallery-image:nth-child(3) {
      grid-area: 1 / 4 / 2 / 5;
  }
  .even.gallery-container:last-child .gallery-image:nth-child(4) {
      grid-area: 2 / 3 / 3 / 4;
  }
  .even.gallery-container:last-child .gallery-image:nth-child(5) {
      grid-area: 2 / 4 / 3 / 5;
  }
}

.ce_rsce_gallery {
    width: 100%;
}

.history-wrapper {
    display: flex;
    padding-top: 20px;
}

.history-wrapper .text-wrapper {
    width: calc(50% - 7.5px);
    padding: 40px;
}

.history-wrapper .text-wrapper h4 {
    font-size: 15px;
    margin-bottom: 5px;
}

.history-wrapper .text-wrapper p {
    font-size: 15px;
    margin-bottom: 16px;
}

.ce_rsce_history .content-text p{
    max-width: 680px;
}

.btn-gs {
    color: black;
    background-color: white;
    border: 1px solid black;
}

.btn-gs:hover {
    color: white;
    background-color: #8E8E8E;
    border-color: #8E8E8E;
}

.btn-gs.active {
    color: white;
    background-color: black;
    border-color: black;
    cursor: default !important;
}

.btn-gs:focus {
    box-shadow: none;
}

.image_filter picture {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.image_filter picture::after {
    content: "";
    background-color: #9C9C9C;
    opacity: 0.5;
    mix-blend-mode: hue;
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
}

:not(.no-filter).header-image::after{
    content: "";
    background-color: #9C9C9C;
    opacity: 0.5;
    mix-blend-mode: hue;
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
}

@media(max-width: 991px) {
    .history-wrapper, .gallery-wrapper {
        display: block;
    }
    .history-wrapper .gallery-container, .history-wrapper .text-wrapper {
        width: 100%;
    }
    
    .gallery-container {
        width: 100%;
    }
}

@media(max-width: 400px) {
    .history-wrapper .text-wrapper p {
        font-size: 13px;
    }
}

@media(max-width: 1100px){
    .mainnavi ul.level_1 li a, .mainnavi ul.level_1 > li > a, .mainnavi ul.level_1 > li > strong {
        font-size: 12px;
        letter-spacing: -0.4px;
    }
    .mainnavi ul.level_1 > li {
        margin: 2px 5px
    }
    .topbar {
        padding: 20px 25px;
    }
}

#article-224 img {
    max-height: 400px;
}

.b-t_60 {
    padding-bottom: 30px;
}

@media(min-width: 768px) {
    .b-t_container, .t-b_container {
        display: flex;
        gap: 25px;
        flex-direction: row;
    }

    .b-t_40 {
        flex-basis: 40%;
    }

    .b-t_60 {
        flex-basis: 60%;
    }

    .b-t_container img {
        width: 100%;
        max-height: 400px;
    }
    .t-b_40 {
        width: 350px;
    }
    .t-b_60{
        height: 400px;
        width: 100%
    }
    .t-b_60 figure, .t-b_60 img {
        height: 100%;
    }
}

@media(max-width: 768px) {
   .t-b_container {
        display: flex;
        gap: 25px;
        flex-direction: column-reverse;
    } 
    .t-b_container .mt-4 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .t-b_40 p, .t-b_40 h1 {
        text-align: center;
    }
    .t-b_container a{
        margin: 0 auto;
    }
}

.ce_skill_slider {
    margin-bottom: 30px;
}

@media(max-width: 768px) {
    .overlayContent h2 {
        font-size: 25px;
    }
    .overlayContent p{
        font-size: 13px;
    }
    .overlayContent a.btn {
        font-size: 12px;
        padding: 8px 15px;
    }
    #article-206 .slider-wrapper {
        height: 380px;
    }
    
    #article-206 .bgStyle {
        display: flex;
        align-items: flex-end;
    }
    
    .slider-wrapper .media {
        height: 100%;
    }
    
    .content-text:not(.media) {
        padding-left: 5%;
        padding-right: 5%;
    }
}