.mainmenu {
	float: left;
}

.searchbtn {
  float: right;
  margin-left: 45px;
}

.searchbtn img {
    transition: all;
    height: 20px;
    cursor: pointer;
}

.searchbtn img:hover { opacity: 0.4; }



.openbtn {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    cursor: pointer;
    position: absolute;
    overflow: hidden;
    top: 30px;
    right: 10px;
  }
  
  .openbtn .openbtn-area {
    transition: all 0.4s;
  }
  
  .openbtn span {
    position: absolute;
    background: var(--primary);
    display: inline-block;
    border-radius: 3px;
    left: 13px;
    height: 3px;
    transition: all 0.4s;
    width: 50%;
  }
  .openbtn span:nth-of-type(1) {
    top: 16px;
  }
  .openbtn span:nth-of-type(2) {
    top: 24px;
  }
  .openbtn span:nth-of-type(3) {
    top: 32px;
  }
  
  .openbtn.active .openbtn-area {
    transform: rotatex(360deg);
  }
  
  .openbtn.active span:nth-of-type(1) {
    width: 45%;
    top: 18px;
    left: 14px;
    transform: translateY(6px) rotate(-135deg);
  }
  .openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }
  .openbtn.active span:nth-of-type(3) {
    width: 45%;
    top: 30px;
    left: 14px;
    transform: translateY(-6px) rotate(135deg);
  }

  .openbtn:hover span { background: var(--secondary); }






.column.col_2.col_4_t.col_12_m figure {
    text-align: center;
}
.column.col_2.col_4_t.col_12_m img {
    max-height: 150px;
}


#stickyheader .mainmenu { float: right; padding-top: 10px; }
#stickyheader .searchbtn { padding-top: 10px; }




.mainmenu ul li:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -20px; /* Adjust based on desired spacing */
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary); /* Adjust the color of the separator */
    font-weight: normal; /* Optional: make the separator bolder */
    pointer-events: none; /* Ensure the separator doesn't interfere with links */
}




.hidden {
    display: none;
}

.cookies-eu-banner {
    background-color: black;
    position: fixed;
    z-index: 200;
    bottom: 0;
    left: 0;
    width: 100%;
    padding-block: 1rem;
}

.cookies-eu-banner--inside {
    display: flex;
    justify-content: space-between;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
    align-items: baseline;
}

.cookies-eu-banner--inside p { color: white; }
.cookies-eu-banner--inside a { color: white; text-decoration: underline; }

.cookies-eu-banner--inside button {
    padding: 5px;
    min-width: 70px;
    background-color: var(--primary);
    color: white;
    border: none;
}

.cookies-eu-banner--inside button:hover 
{ 
    background-color: var(--secondary);
    cursor: pointer;
    border: none;
}


.content-text ul {
    margin: 2rem 0;
    list-style-position: outside;
    padding-left: 1em;
}


.datenschutzerklaerung h6 {
    text-transform: uppercase !important;
    margin-top: 20px;
}

.datenschutzerklaerung h2 {
    text-transform: uppercase !important;
    margin-top: 25px;
}



#contentwrapper {
    margin: 0 50px;
}

:root {
    --primary: #004062;
    --secondary: #2e3841;
}

.btn_activity {
    border-radius: 5px;
    height: 150px;
    display: flex;
    align-items: center;
    background-color: var(--primary);
    margin-bottom: 2rem;
}

.btn_activity:hover {
    background-color: var(--secondary);
    cursor: pointer;
}

.btn_activity a {
    display: block;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 1.2rem;
    font-weight: 700 !important;
    color: white;
    word-break: break-word;
    text-align: center;
    padding: 30px;
    hyphens: auto;
}


.btn_default {
    border-radius: 5px;
    
    display: inline-block;
    align-items: center;
    background-color: var(--primary);
    margin-bottom: 2rem;
}

.btn_default:hover {
    background-color: var(--secondary);
    cursor: pointer;
}

.btn_default a {
    display: block;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 1rem;
    font-weight: 400 !important;
    color: white;
    word-break: break-word;
    text-align: center;
    padding: 10px 20px;
}


.topbar_mobile a:hover { text-decoration: underline; }

/********************************/
/*  1.  Fonts General     */
/********************************/

body {
    font-family: Verdana, Geneva, sans-serif;
}


/********************************/
/*  2.  Bottom          */
/********************************/

#bottom .inner {
    border-top: #004062 1px solid;
    padding-top: 1rem;
}

/********************************/
/*  3.  Logo          */
/********************************/

.logo {
    margin-left: -50px;
}

#stickyheader .logo {
    margin: 10px 0 10px -20px;
    height: 60px;
    position: absolute;
}


@media only screen and (max-width: 970px) and (min-width: 768px) {

    .logo {
        margin-left: -30px;
    }

    iframe {
        width: 100%;
        height: 480px;
    }

}

@media only screen and (max-width: 767px) {

	.mobilenav {
		display: block;
	}

    #stickyheader .logo {
        margin: 10px 0 10px -10px;
        height: 60px;
    }

}

/********************************/
/*  4.  Header          */
/********************************/

.header.original .mainmenu:before {
    content: '';
    height: 1px;
    position: absolute;
    left: 40px;
    right: 40px;
    background: #000;

}


.stickyheader .header.cloned {
    line-height: 80px;
}

.mod_socials {
    display: none;
}


@media only screen and (max-width: 970px) and (min-width: 768px) {

    #contentwrapper {
        margin: 0px 0px;
    }

    .openbtn {
        top: 50px;
        right: 30px;
    }

    .header .mod_search {
        display: none;

    }

}



@media only screen and (max-width: 768px) {

    #contentwrapper {
        margin: 0px 0px;
    }

    iframe {
        width: 100% !important;
        margin-bottom: 2rem;
    }

    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.6rem !important;
    }


    .home-boxen .ce_iconbox_v3_inside a h2 {
        font-size: 1.1rem !important;
    }





}


/********************************/
/*  5.  Dividers        */
/********************************/
.ce_divider_extended.version1 {
    background: #004062;
    width: 100%;
}

/********************************/
/*  6.  Anpassungen Home/Slider */
/********************************/
#home-header .bg_overlay {
    opacity: 0.8;
}

.home-boxen .ce_iconbox_v3_inside {
    height: 150px;
    display: flex;
    align-items: center;
}

@media screen and (max-width: 768px) {

    .home-boxen .ce_iconbox_v3_inside a h2 {
        font-size: 1.4rem;
    }

}


.home-boxen div.ce_iconbox_v3_content {
    text-align: center;
    align-items: center;
    width: 100% !important;
    display: flex;
}

.ce_iconbox_v3 a {
    display: block;
    height: 100%;
    width: 100%;
    /* outline: 2px solid yellow; */
    display: flex;
}

.home-boxen h2 {
    width: 100%;
    /* outline: 2px solid white; */
    font-size: 1.2rem;
    font-weight: 700 !important;

}

.ce_iconbox_v3.style3 .ce_iconbox_v3_content {
    padding-left: 0;
    padding-right: 0;
}

/********************************/
/*  7.  Body / Artikel / Text */
/********************************/
#main .mod_article {
    padding-top: 30px;
    padding-bottom: 30px;
}

#main div#article-12488.mod_article {
    padding-bottom: 0;
    outline: 0px solid red;
}

#main div#article-12519.mod_article {
    padding-top: 0;
    outline: 0px solid blue;
}

@media screen and (max-width: 768px) {

    #main div#article-12519.mod_article {
        padding-top: 2rem;
        outline: 0px solid red;
    }



}



.colums-3 {
    text-align: justify;
    hyphens: auto;
    column-count: 3;
    column-gap: 2em;
}


.ce_text_extented ul {
    list-style: disc;
}

.ce_text_extented ul li {
    margin-left: 2rem;

}

.smalltitle div>p:first-child {
    margin-bottom: 0px;
}

.one_sixth img {
    max-height: 150px;
}


.ext_links div>p {
    margin-bottom: 1rem;
}

.ext_links div>p:not(:first-child) {
    margin-top: 1rem;
}

.ext_links ul,
.ext_downloads ul {
    list-style: none;
    padding-left: 0 !important;
}

.ext_links ul li {
    padding: 6px 0 0 0;
}


.ext_links ul li:before {
    display: inline-block;
    background: transparent url("/files/notariat-thomi/icons/foreign.png") scroll 0 0 no-repeat;
    content: "";
    width: 16px;
    height: 16px;
    background-size: cover;
    margin-top: 5px;
    margin-right: 5px;
}

.ext_downloads ul li:before {
    display: inline-block;
    background: transparent url("/files/notariat-thomi/icons/pdf.png") scroll 0 0 no-repeat;
    content: "";
    width: 16px;
    height: 16px;
    background-size: cover;
    margin-top: 5px;
}

.ext_downloads li:hover a,
.ext_links li:hover a { 
    text-decoration: underline;
}

.topbar_mobile {
    position: absolute;
    top: 7px;
    right: 40px;
    line-height: normal;
    z-index: 100;
}

@media screen and (max-width: 970px) 
{
    #main .mod_article 
    {
        padding-top: 25px;
        padding-bottom: 10px;
    }

    .searchbtn { 
        position: absolute;
        right: 81px;
        top: 38px;
    }

    .fixed-header .searchbtn { 
        top: 24px;
    }
}

@media screen and (max-width: 768px) 
{
    .searchbtn { 
        position: absolute;
        right: 61px;
        top: 4px;
    }

    .topbar_mobile {
        right: 20px;
    }

    .fixed-header .searchbtn { 
        top: 4px;
    }
}

/* ------------- */
h1 {
    font-size: 2.5rem;
    color: #004062;
}

h2 {
    font-size: 2rem;
}

.ce_teambox .phone {
    color: #004062;
}

.mainmenu ul li a.active {
    font-weight: bold;
}

iframe {
    width: 48%;
    height: 480px;
    border: none !important;
}


@media screen and (max-width: 600px) {
    #stickyheader .logo {
        margin: 30px 0 10px -10px;
        height: 60px;
    }
}





@media screen and (max-width: 360px) {
    h1 {
        font-size: 1.4rem !important;
    }

    h2 {
        font-size: 1.2rem !important;
    }
}

/* Team Bilder überlappen im IE11 */
#autogrid_wrapper_91456 .autogrid,
#autogrid_wrapper_91450 .autogrid {
    overflow: hidden !important;
}



#autogrid_wrapper_91469 {
    margin-top: 40px;
}

.logo a {
    background-image: url(/files/notariat-thomi/img/logo.jpg);
}







@media screen and (max-width: 970px) {
    .header .inside { height: 100px; }
    
}



.ce_teambox .ce_image img {
    width: 100%;
    max-width: 350px;
}

/* modal_corona */

/* The Modal (background) */
#hinweis-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 100000; /* Sit on top */
  padding-top: 50px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow-y: scroll; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 90%;
}

@media all and (min-width: 1000px) {
  .modal-content {width: 75%;}
}

input:focus-visible {
    outline: none;
    border-radius: 0;
  }