/* Theme Name: Aquartus Theme 
Theme Description: Aquartus Theme for Wordpress
Theme URI: secret;
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Author: secret;
Author URI: secret;
Tags: theme,responsive;
*/
@import url('bootstrap/css/bootstrap.min.css');
@import url('css/fontawesome/css/all.min.css');
/* @import url('http://fonts.cdnfonts.com/css/georgia'); */

:root {
    --grey: #505a5c;
    --dark: #3c3c3c;
    --cyan: #25a6af;
}


body {
    font-family: "ITC Avant Garde Gothic";
    color: #666;
    background-color: white;
    font-weight: 400;
    line-height: 1.7em;
    font-size: 18px;

}

.btn {
    white-space: normal;
}

img {
    height: auto;
    max-width: 100%;
}

section {
    position: relative;
    display: block;
    float: left;
    width: 100%;
}

section:not(.maincontent, .template-part-slider) {
    padding: 100px 0;
}

.set-width {
    width: 80%;
    max-width: 1080px;
    margin: auto;
    position: relative;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "ITC Avant Garde Gothic";
    margin: 0;
    padding-bottom: 10px;
    line-height: 1em;
    font-weight: bold;
    word-break: break-word;
}

h1 {
    margin-top: 10px;
    text-transform: uppercase;
    font-size: 42px;
    font-weight: 500;
    color: var(--dark);
}

h1 strong {
    letter-spacing: 2px;
}

h2 {
    margin-top: 10px;
    text-transform: uppercase;
    font-size: 35px;
    font-weight: 500;
    color: var(--dark);
    letter-spacing: 1px;
}

h3 {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 30px;
    color: var(--dark) !important;
    letter-spacing: 2px;
    line-height: 1.6em;
    padding-top: 10px;
    padding-bottom: 20px;

    /* font-size: 24px;
    font-weight: 400;
    margin-bottom: 8px;
    line-height: 27px;
    color: var(--redbrown); */
}

h4 {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 28px;
    color: var(--dark) !important;
    letter-spacing: 2px;
    padding-bottom: 20px;
}

h6 {
    text-align: center;
    color: var(--dark);
    font-size: 28px;
    letter-spacing: 1px;
}

p {
    font-family: "ITC Avant Garde Gothic";
    font-weight: 500;
    font-size: 18px;
    padding-bottom: 1em;
    margin: 0;
}

div {
    position: relative;
}


ul {
    padding: 0;
    margin: 0;
}

a {
    color: var(--redbrown);
    text-decoration: none;
}

a:hover {
    color: white;
    text-decoration: none;
}

.maincontent {
    float: left;
    width: 100%;
}

/* header */

.header {
    float: left;
    width: 100%;
}

header * {
    text-decoration: none;
}

header,
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    color: white;
    background-color: var(--grey);
    font-family: "ITC Avant Garde Gothic";
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: right;
    flex-direction: column;
    z-index: 999;
}

header li {
    list-style: none;
}

header>nav>.navbar-collapse>div {
    position: relative;
    height: auto;
    width: 100%;
}

.navbar-collapse {
    justify-content: center;
    align-self: end;
    flex-basis: initial;
}

ul.nav.navbar-nav {
    flex-direction: row;
    justify-content: right;
    flex-wrap: wrap;
}

header .navbar li {
    list-style-type: none;
    display: inline-block;
    height: 100%;
    position: relative;
}

header .nav.navbar-nav>li,
header .nav.navbar-nav>li>.sub-menu {
    display: inline-block;
    font-size: 14px;
    text-transform: uppercase;
}

header .nav.navbar-nav>li>a {
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10px 21px;
    letter-spacing: 1px;
    transition: color 0.3s;
}

header .nav.navbar-nav>li.current-menu-item>a,
header .sub-menu>li.current-menu-item {
    background-color: var(--cyan);
    color: white;
}


header .nav.navbar-nav>li:not(.current-menu-item)>a:hover,
.sub-menu li:not(.current-menu-item)>a:hover {
    color: var(--cyan);
}

header .nav.navbar-nav>li>.sub-menu,
.sub-menu .sub-menu {
    position: absolute;
    padding: 20px 0;
    z-index: 9999;
    width: fit-content;
    visibility: hidden;
    opacity: 0;
    border-top: 3px solid var(--cyan);
    background-color: var(--dark);
    box-shadow: 0 2px 5px rgb(0 0 0 / 10%);
    -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
    -webkit-box-shadow: 0 2px 5px rgb(0 0 0 / 10%);
    -webkit-transform: translateZ(0);
    text-align: left;
}

header .nav.navbar-nav>li>.sub-menu {
    left: 50%;
    transform: translate(-50%);
    width: 100%;
}

header .nav.navbar-nav>.menu-item-has-children::after,
.menu-item-has-children .menu-item-has-children::after {
    font-family: "Font Awesome 5 Pro";
    content: "\f107";
    font-size: 16px;
    font-weight: 800;
    padding-left: 10px;
    position: absolute;
    right: 10%;
    top: 25px;
    transform: translate(0, -50%);
    cursor: pointer;
    transition: all 0.3s;
}

header .nav.navbar-nav>.menu-item-has-children>a {
    padding-right: 45px;
}

header .nav.navbar-nav>li:not(.current-menu-item):hover {
    color: var(--cyan);
}

/* .menu-item-has-children .menu-item-has-children>a:after {} */

header .nav.navbar-nav>.menu-item-has-children:hover>.sub-menu,
.sub-menu .menu-item-has-children:hover .sub-menu {
    visibility: visible;
    opacity: 1;
    cursor: pointer;
    transition: all 0.3s ease-in;
    transition: all 0.3s ease-out;
}

.sub-menu li:not(.sub-menu .sub-menu li) {
    position: relative;
    width: 100%;
}

.sub-menu li a {
    color: white;
    letter-spacing: 1px;
    font-size: 13px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 10px 21px;
    transition: color 0.3s;
    white-space: normal;
    word-break: break-word;
}

.sub-menu .sub-menu {
    left: 240px;
    top: -23px;
    width: auto;
}

.wpml-ls-item {
    margin-top: auto;
    margin-bottom: auto;
}

.wpml-ls-item:not(:last-child) a {
    padding-right: 0px !important;
}

.wpml-ls-menu-item .wpml-ls-flag {
    height: 20px;
}


/* modules */

.template-part-phonecontact img{
    border-radius: 50%;
    height: 150px;
    width: 150px;
    object-fit: cover;
}

.template-part-phonecontact .set-width{
    background-color: var(--grey);
    padding: 40px;
    color: white;
}

.template-part-phonecontact .place-right{
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
}

.template-part-phonecontact .phone:before{
    content: "\f879";
    font-family: "Font Awesome 5 Pro";
    font-size: 16px;
    font-weight: 800;
    margin-right: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.template-part-phonecontact .mail{
    padding: 20px;
    border: 2px solid white;
    border-radius: 50%;
}

.template-part-phonecontact .text{
    padding-bottom: 40px;
}

.template-part-phonecontact .text p{
    padding: 0;
}

.template-part-special .headline {
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
   }
  
   .template-part-special .headline:before, 
   .template-part-special .headline:after {
    flex-grow: 1;
    height: 2px;
    content: '\a0';
    position: relative;
  }

  .template-part-special .light .headline:before, 
   .template-part-special .light .headline:after {
    background-color: white;
  }
  .template-part-special .dark .headline:before, 
  .template-part-special .dark .headline:after {
   background-color: var(--dark);
 }
  
  .template-part-special .headline:before {
    margin-right:10px;
  }
  
  .template-part-special .headline:after {
    margin-left:10px;
  }

.template-part-special {
    background-color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.template-part-special *{
    text-transform: unset;
}

.template-part-special .light *{
    color: white;
}

.template-part-special .dark *{
    color: var(--dark);
}

.template-part-special .special-button{
    width: initial;
    color: white;
    font-family: "ITC Avant Garde Gothic", Helvetica, Arial, Lucida, sans-serif !important;
    background-color: var(--grey);
    font-size: 20px;
    font-weight: 500;
    padding: 0.3em 1em;
    line-height: 1.7em !important;
    border-radius: 15px;
    transition: all 0.3s;
}

.template-part-special .special-button:hover{
    background-color: var(--cyan);
    transition: all 0.3s;
}

.template-part-recentposts .info > div{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.template-part-recentposts .info > div:before {
    font-family: "Font Awesome 5 Pro";
    font-size: 16px;
    font-weight: 800;
    padding-right: 10px;
}

.template-part-recentposts .info .cat:before{
    content: "\f07c";
}

.template-part-recentposts .info .date:before{
    content: "\f133";
}

.template-part-recentposts .info .comments:before{
    content: "\f27a";
}

.template-part-recentposts .recentpost-box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--cyan);
}

.template-part-recentposts .recentpost-img img {
    object-fit: cover;
}

.recentpost-box .recentpost-img, .recentpost-box .recentpost-text.has-thumbnail {
    max-width: 50%;
}

.recentpost-box .recentpost-text:not(.recentpost-text.has-thumbnail){
    width: 100%;
}

.template-part-recentposts h1 {
    margin: 40px 0;
}

.template-part-recentposts .info{
    display: flex;
    column-gap: 40px;
    flex-wrap: wrap;
    align-items: start;
    justify-content: end;
    margin-bottom: 20px;
    opacity: 0.7;
}

.template-part-recentposts h1:after {
    content: '';
	border-top: 2px solid;
	margin: 0 20px 0 0;
	flex: 1 0 20px;
	color: #666666;
}

.template-part-recentposts .info li {
    list-style: none;
}

.template-part-recentposts .info ul {
    margin: 0 !important;
    padding: 0 !important;
}


.template-part-recentposts .recentpost-img{
    padding-right: 20px;
}

.template-part-recentposts a:hover{
    color: unset;
}

.template-part-threeimagestext .threeimagestext-wrapper{
    display: grid;
    grid-template-columns: auto auto auto;
    grid-gap: 40px;
}

.threeimagestext-content{
    padding: 26px 32px 32px
}

.threeimagestext-content h1, .threeimagestext-content h2, .threeimagestext-content h3{
    text-transform: unset;
}

.threeimagestext-content a{
    color: var(--cyan);
    transition: all 0.3s;
}

.template-part-threeimagestext a:hover{
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: underline;
}

.threeimagestext-content a:after{
    font-family: "Font Awesome 5 Pro";
    content: "\f054";
    font-size: 16px;
    font-weight: 800;
    padding-left: 10px;
    position: absolute;
    cursor: pointer;
    transition: all 0.3s;
}

.threeimagestext-box img {
    height: 250px;
    object-fit: cover;
    /* object-position: top; */
}

.template-part-threeimagestext > .container > h1{
    margin: 0 0 40px;
    font-size: 40px;
    text-align: center;
}

.template-part-threeimagestext .threeimagestext-box{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    box-shadow: 0 0 8px rgb(0 0 0 / 16%);
}

/* three icons and text */

.template-part-threeiconstext .threeiconstext-wrapper{
    display: grid;
    grid-template-columns: auto auto auto;
    grid-gap: 40px;
    overflow: hidden;
}

.icontext-box:after {
    content: "";
    position: absolute;
    height: 100%;
    width: 2px;
    background: var(--grey);
    right: -10px;
}

.icontext-content{
    width: calc(100% - 70px);
}

.icontext-content p:last-of-type {
    padding-bottom: 0;
}

.template-part-threeiconstext h1, .template-part-threeiconstext h2, .template-part-threeiconstext h3{
    text-transform: unset;
}

.template-part-threeiconstext a{
    transition: all 0.3s;
}

.template-part-threeiconstext a:hover{
    cursor: pointer;
    transition: all 0.3s;
    color: initial;
}

.icontext-content i{
    font-family: "Font Awesome 5 Pro";
    content: "\f054";
    font-size: 16px;
    font-weight: 800;
    padding-left: 10px;
    position: absolute;
    cursor: pointer;
    transition: all 0.3s;
}

.template-part-threeiconstext .icontext-box{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.template-part-threeiconstext .icon {
    background-color: var(--cyan);
    padding: 5px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: white;
}

.template-part-text {
    padding: 30px 0 !important;
}


.template-part-logos {
    padding-top: 27px !important;
}

.template-part-logos>div {
    display: grid;
    grid-gap: 0;
    justify-items: center;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    max-width: 1080px;
    margin: 0 auto;
}

.template-part-logos img {
    height: 60px;
    width: auto !important;
}

.logo {
    margin-top: 100px;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
}

.logo img {
    max-width: 415px;
}

.template-part-pillars img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 25px;
}

.template-part-pillars h4 {
    font-family: "ITC Avant Garde Gothic", Helvetica, Arial, Lucida, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 20px;
    color: white !important;
    line-height: 1.4em;
    margin-bottom: 13px;
    background-color: var(--grey);
    height: 80px;
    display: flex;
    align-items: center;
    transition: 0.3s;
}

.template-part-pillars h1,
.template-part-pillars h2,
.template-part-pillars h3,
.template-part-pillars h5,
.template-part-pillars h6 {
    font-family: "ITC Avant Garde Gothic", Helvetica, Arial, Lucida, sans-serif;
    font-weight: 700;
    color: var(--dark) !important;
    line-height: 1.3em;
    margin-bottom: 25px;
    padding: 3px 18px;
    font-size: 18px;
}

.template-part-pillars a,
.template-part-pillars a:hover,
.template-part-pillars p,
.template-part-pillars .text div {
    text-decoration: none;
    color: #333 !important;
    line-height: 2em;
    margin-bottom: 17px;
}

.template-part-pillars p {
    padding: 0 18px;
    line-height: 1.4em;
}

.template-part-pillars p:last-of-type {
    margin-bottom: 30px;
}

.template-part-pillars>div {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 2%;
    grid-row-gap: 20px;
}

.pillar {
    border: 2px solid var(--grey);
    border-radius: 27px;
    overflow: hidden;
}

.pillar:hover h4 {
    background-color: var(--cyan);
}

.pillar:hover {
    border: 2px solid var(--cyan);
}

/* button */

.blue-button {
    color: #fff !important;
    border-color: var(--dark);
    font-family: "ITC Avant Garde Gothic", Helvetica, Arial, Lucida, sans-serif !important;
    text-transform: uppercase !important;
    background-color: var(--dark);
    font-size: 20px;
    font-weight: 500;
    padding: 0.3em 1em;
    line-height: 1.7em !important;
    border: 2px solid;
    border-radius: 3px;
    -webkit-transition-duration: .2s;
    transition-duration: .2s;
    -webkit-transition-property: all !important;
    transition-property: all !important;
    display: inline-block;
}

/* slider */

.template-part-slider .blue-button {
    text-shadow: none;
    text-decoration: none;
    display: inline-block;
    -webkit-transition-duration: .2s;
    transition-duration: .2s;
    -webkit-transition-property: all !important;
    transition-property: all !important;
    border: 2px solid transparent;
}

.slide .background-wrapper {
    padding: 0 6%;
    height: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    flex-direction: column;
}

.slick-list {
    height: 540px !important;
    min-height: 540px;
    height: auto;
}

.slick-list div:not(.slide *) {
    height: 100%;
}


.slider-text {
    max-width: 516px;
}

.slide h3 {
    padding: 10px 0 10px 0;
    font-family: "ITC Avant Garde Gothic", Helvetica, Arial, Lucida, sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 28px !important;
    color: white !important;
    font-size: 45px;
    background-color: var(--grey);
    text-align: center;
    margin-bottom: 15px;
}

.slider p {
    padding: 20px 35px;
    line-height: 1.75em;
    font-size: 18px;
    overflow-wrap: break-word;
    color: var(--dark);
    background-color: rgb(255, 255, 255, 0.6);
    height: 197.5px;
}

.template-part-slider .blue-button:hover:after {
    content: '\f105';
    font-family: 'Font Awesome 5 Pro';
    margin-left: 15px;
}

/* form */

input,
textarea {
    padding: 5px 15px;
    width: 100%;
    border: 1px solid var(--grey);
    border-radius: 10px;
    margin: 6px 0;
    color: var(--dark);
}

input:focus-visible,
textarea:focus-visible {
    outline: var(--cyan) auto 1px;
}

.wpcf7-submit {
    width: initial;
    float: right;

    color: #fff !important;
    border-color: var(--grey);
    font-family: "ITC Avant Garde Gothic", Helvetica, Arial, Lucida, sans-serif !important;
    text-transform: uppercase !important;
    background-color: var(--grey);
    font-size: 20px;
    font-weight: 500;
    padding: 0.3em 1em;
    line-height: 1.7em !important;
    border: 2px solid;
    border-radius: 15px;
    -webkit-transition-duration: .2s;
    transition-duration: .2s;
    -webkit-transition-property: all !important;
    transition-property: all !important;
}

.wpcf7-submit:not(:disabled):hover {
    background-color: var(--cyan);
}

span.wpcf7-list-item {
    margin: 0;
}

label {
    width: 100%;
    font-family: "ITC Avant Garde Gothic", Helvetica, Arial, Lucida, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 18px;
    color: var(--dark) !important;
    letter-spacing: 1px;
    line-height: 1.6em;
}

input[type="checkbox"] {
    width: initial;
}

textarea {
    margin-bottom: 18px;
}

.template-part-image-text .col-md-9 {
    padding-left: 50px;
}

.container.set-width ul {
    margin: 0;
    padding: 0;
    margin-left: 15px;
    list-style-type: square;
    padding-top: 20px;
    padding-bottom: 20px;
}

.image_caption {
    float: left;
    width: 100%;
    padding-top: 30px;
    font-style: italic;
}

.pillar h4 {
    padding: 12px 21px;
    margin-bottom: 10px;
}

.template-part-contactform {
    padding-top: 90px !important;
}

.template-part-contactform h2 {
    text-align: center;
    text-transform: none;
}

.template-part-contactform h3 {
    text-align: center;
    margin: 7px auto 49px auto;
    width: fit-content;
    padding: 4px 38px;
    background-color: var(--grey);
    color: white !important;
    border-radius: 26px;
    font-size: 36px;
}

.template-part-contactform a {
    color: var(--cyan);
    text-decoration: underline;
}

footer {
    float: left;
    margin-bottom: 65px;
}

.menu-footermenue-container a,
.menu-footermenue-englisch-container a {
    padding: 10px 40px 10px 0;
    text-transform: uppercase;
}

.menu-footermenue-container a:hover,
.menu-footermenue-container li.current-menu-item a,
.menu-footermenue-engisch-container a:hover,
.menu-footermenue-englisch-container li.current-menu-item a,
.menu-footermenue-englisch-container a:hover,
.menu-footermenue-englisch-container li.current-menu-item a,
.menu-footermenue-engisch-container a:hover,
.menu-footermenue-englisch-container li.current-menu-item a {
    color: var(--cyan);
}

.otgs-development-site-front-end {
    float: left;
    width: 100%;
}

.template-part-logos .grid-item {
    margin-bottom: 60px;
}

/* repsonsive */

@media only screen and (min-width: 1400px) {
    .template-part-pillars {
        padding: 30px 0 100px 0 !important;
    }

    .template-part-pillars .row>div {
        max-width: 20.875%;
    }
}

@media (max-width: 1400px) {
    .pillar h4 {
        padding: 12px 10px;
    }

    .template-part-pillars h1,
    .template-part-pillars h2,
    .template-part-pillars h3,
    .template-part-pillars h5,
    .template-part-pillars h6 {
        padding: 3px 10px;
    }

    .template-part-pillars p {
        padding: 0 10px;
    }

    .template-part-logos>div {
        max-width: 992px;
    }

    .template-part-logos {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    .template-part-logos .grid-item {
        margin-bottom: 60px;
    }
}

@media (max-width: 1200px) {

    .template-part-recentposts .info{
        column-gap: 20px;
    }

    .template-part-pillars>div {
        grid-template-columns: repeat(3, 1fr);
    }

    .pillar h4 {
        padding: 12px 21px;
    }

    .template-part-pillars h1,
    .template-part-pillars h2,
    .template-part-pillars h3,
    .template-part-pillars h5,
    .template-part-pillars h6 {
        padding: 3px 18px;
    }

    .template-part-pillars p {
        padding: 0 18px;
    }

    .logo img {
        max-width: 360px;
    }

    header .nav.navbar-nav>li {
        padding-right: 0px;
    }

    header .nav.navbar-nav>li>a {
        padding: 10px 7px;
    }

    h1 {
        font-size: 35px;
    }

    section:not(.maincontent, .template-part-slider) {
        padding: 50px 0;
    }

    .template-part-contactform {
        padding-top: 90px !important;
    }

    .template-part-logos>div {
        max-width: 850px;
    }
}


@media (max-width: 992px) {
    .template-part-recentposts .info{
        gap: 10px;
    }

    .template-part-recentposts .recentpost-img{
        padding: 0;
        margin-bottom: 20px;
    }

    .template-part-recentposts .recentpost-box{
        flex-direction: column;
    }

    .recentpost-box .recentpost-img, .recentpost-box .recentpost-text.has-thumbnail{
        max-width: 100%;
    }

    .template-part-threeiconstext .threeiconstext-wrapper{
        grid-template-columns: auto auto;
    }

    .template-part-threeimagestext .threeimagestext-wrapper{
        grid-template-columns: auto auto;
    }

    .template-part-pillars>div {
        grid-template-columns: repeat(2, 1fr);
    }

    .template-part-logos>div {
        max-width: 668px;
    }

    .navbar-toggler {
        margin: 11px 40px;
        align-self: end;
    }

    .logo img {
        max-width: 280px;
    }

    .logo {
        margin-top: 50px;
        padding-top: 50px;
    }

    h2 {
        font-size: 30px;
    }

    h1 {
        font-size: 30px;
    }

    .template-part-text {
        padding: 5px 0 !important;
    }

    .template-part-contactform h3 {
        border-radius: 18px;
        font-size: 25px;
    }

    header .nav.navbar-nav>li>a {
        justify-content: left;
    }

    ul.nav.navbar-nav {
        flex-direction: column;
        margin-bottom: 35px;
    }

    footer ul.nav.navbar-nav {
        flex-direction: row;
    }


    .navbar-collapse {
        align-self: start;
        width: 100%;
        max-height: 90vh;
        overflow: scroll;
    }

    header .nav.navbar-nav>li>a {
        font-size: 15px;
        padding: 10px 50px;
    }

    header .nav.navbar-nav>.menu-item-has-children:after,
    .menu-item-has-children .menu-item-has-children:after {
        padding: 10px 20px;
    }

    header .nav.navbar-nav>li>.sub-menu,
    .sub-menu .sub-menu {
        position: initial;
        visibility: initial;
        opacity: initial;
        display: none;
        transition: none !important;
        left: 0;
        transform: none;
    }

    header .nav.navbar-nav>.menu-item-has-children:hover>.sub-menu,
    .sub-menu .menu-item-has-children:hover .sub-menu {
        position: initial;
        visibility: initial;
        opacity: initial;
    }

    .sub-menu li a {
        padding: 10px 50px 10px 70px;
    }

    .sub-menu li .sub-menu li a {
        padding: 10px 50px 10px 90px;
    }

    .sub-menu li {
        position: relative;
        width: 100%;
    }
}

/* mobile */
@media (max-width: 768px) {
    .icontext-box:after {
        content: "";
        position: absolute;
        width: 100%;
        height: 2px;
        background: var(--grey);
        top: -20px;
    }

    .template-part-threeiconstext .threeiconstext-wrapper{
        grid-template-columns: auto;
    }

    .template-part-phonecontact .set-width{
        padding: 20px;
    }

    .template-part-phonecontact .place-right p {
        padding-bottom: 0;
    }

    .template-part-phonecontact .row > div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding-bottom: 20px;
    }

    .template-part-phonecontact .text{
        padding-bottom: 10px;
    }

    .template-part-threeimagestext .threeimagestext-wrapper{
        grid-template-columns: auto;
    }


    .template-part-pillars>div {
        grid-template-columns: repeat(1, 1fr);
    }

    .logo img {
        max-width: 201px;
    }

    .slick-list {
        height: 340px !important;
        min-height: 340px;
    }

    .slick-list.no-padding {
        padding-bottom: 0 !important;
        height: 250px !important;
        min-height: 250px;
    }

    .template-part-image-text img {
        max-width: 65%;
    }

    .template-part-image-text .set-width .col-md-3 {
        text-align: center;
    }

    .image_caption {
        margin-bottom: 20px;
    }

    .template-part-image-text .col-md-9 {
        padding-left: calc(var(--bs-gutter-x) * .5);
    }

    .template-part-logos>div {
        max-width: 536px;
    }

    /* .template-part-pillars {
        padding-right: calc(var(--bs-gutter-x) * .5);
        padding-left: calc(var(--bs-gutter-x) * .5);
    } */

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        line-height: 1.3em;
    }

    h2 {
        font-size: 26px;
    }

    footer ul.nav.navbar-nav {
        justify-content: left;
    }
}

@media (max-width: 768px) {
    .slide .background-wrapper {
        background-position: 50% 50%;
    }

    .slick-list {
        /* overflow: visible; */
        height: 530px !important;
        min-height: 530px;
        padding-bottom: 280px;
    }

    .slider-text {
        position: absolute;
        bottom: -237px;
    }

    .slick-prev,
    .slick-next {
        top: 20%;
    }
}

@media (max-width: 576px) {
    .slider-text {
        position: absolute;
        bottom: -300px;
    }
}