@import url(customcss.php);
* {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    box-sizing: border-box;
}


/* roboto-100 - latin */

@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/roboto/roboto-v30-latin-100.eot');
    /* IE9 Compat Modes */
    src: url('../fonts/roboto/roboto-v30-latin-100.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/roboto/roboto-v30-latin-100.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/roboto/roboto-v30-latin-100.woff') format('woff'), /* Modern Browsers */
    url('../fonts/roboto/roboto-v30-latin-100.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/roboto/roboto-v30-latin-100.svg#Roboto') format('svg');
    /* Legacy iOS */
}


/* roboto-300 - latin */

@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/roboto/roboto-v30-latin-300.eot');
    /* IE9 Compat Modes */
    src: url('../fonts/roboto/roboto-v30-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/roboto/roboto-v30-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/roboto/roboto-v30-latin-300.woff') format('woff'), /* Modern Browsers */
    url('../fonts/roboto/roboto-v30-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/roboto/roboto-v30-latin-300.svg#Roboto') format('svg');
    /* Legacy iOS */
}


/* roboto-regular - latin */

@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto/roboto-v30-latin-regular.eot');
    /* IE9 Compat Modes */
    src: url('../fonts/roboto/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/roboto/roboto-v30-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/roboto/roboto-v30-latin-regular.woff') format('woff'), /* Modern Browsers */
    url('../fonts/roboto/roboto-v30-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/roboto/roboto-v30-latin-regular.svg#Roboto') format('svg');
    /* Legacy iOS */
}


/* roboto-500 - latin */

@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/roboto/roboto-v30-latin-500.eot');
    /* IE9 Compat Modes */
    src: url('../fonts/roboto/roboto-v30-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/roboto/roboto-v30-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/roboto/roboto-v30-latin-500.woff') format('woff'), /* Modern Browsers */
    url('../fonts/roboto/roboto-v30-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/roboto/roboto-v30-latin-500.svg#Roboto') format('svg');
    /* Legacy iOS */
}


/* roboto-700 - latin */

@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto/roboto-v30-latin-700.eot');
    /* IE9 Compat Modes */
    src: url('../fonts/roboto/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/roboto/roboto-v30-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/roboto/roboto-v30-latin-700.woff') format('woff'), /* Modern Browsers */
    url('../fonts/roboto/roboto-v30-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/roboto/roboto-v30-latin-700.svg#Roboto') format('svg');
    /* Legacy iOS */
}

ol,
ul {
    list-style: none;
}

a {
    text-decoration: none;
}

 :root {
    --font-main: 'Roboto', sans-serif;
    --font-headline: 'Roboto', sans-serif;
    --clr-headline: #333;
    --main-clr: #333;
    --third-clr-rgb-m: rgb(156, 4, 1, 0.6);
    --third-clr-rgb: rgb(240, 240, 240, 0.6);
    --font-awesome: "Font Awesome 5 Free", "FontAwesome", "Font Awesome 6 Free";
    --cursor: pointer;
    --size-normal: 1.1625rem;
    --lh-normal: 1.725rem;
    --font-weight-300: 300;
    --white: #FFF;
    --black: #000;
    --menu-color: #333;
}

html {
    font-family: var(--font-main);
    scroll-behavior: smooth;
    font-size: 100%;
    -webkit-hyphens: auto;
    hyphens: auto;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    color: var( --text-color);
    letter-spacing: 0.5px;
}

body.overflow {
    overflow-y: hidden;
}

header {
    position: fixed;
    z-index: 99;
    width: 100%;
    background: var(--white);
    box-shadow: 0 0 5px #fafafa;
}

header.no-logo .header-container {
    min-height: 76px;
}

.header-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
}

.wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.full-width .wrapper {
    max-width: 1680px;
    width: 100%;
    z-index: 2;
    position: relative;
}

.header-container>div {
    padding: 0 1rem;
    display: flex;
    align-items: center;
}

#mobile-btn {
    position: relative;
    color: var(--black);
    font-size: 1.625rem;
    cursor: var(--cursor);
    z-index: 100;
}

#mobile-btn::before {
    font-family: var(--font-awesome);
    content: "\f0c9";
}

.logo {
    display: flex;
}

.menu {
    align-items: stretch;
    flex: 1;
}

img.size-full {
    width: 100%;
}

#logo {
    max-height: 76px;
    width: auto;
    padding: 1rem 0;
}

#s_form {
    position: absolute;
    top: 100%;
    width: 100%;
    right: 0;
    padding: 1rem;
    transform: translateX(100%);
    transition: transform 250ms ease-in-out;
    background: #fafafa;
}

#s_form.o_search {
    transform: translateX(0);
}

button.btn-success {
    background: var(--third-clr);
    padding: 8px 10px;
    cursor: pointer;
    transition: all 250ms ease-in-out;
}

button.btn-success .fa-search {
    color: var(--white);
}

button.btn-success:hover {
    background: var(--secundary-clr);
}

.search-field {
    border: 1px dashed #eaeaea;
    padding: 7px 12px;
    width: 87%;
    font-size: 1rem;
    color: var( --text-color);
    margin-right: 6px;
    letter-spacing: 0.6px;
    font-family: var(--font-main);
}

#topnav {
    position: absolute;
    width: 100%;
    transition: 0.3s;
    z-index: 97;
    transform: translateX(100%);
    top: 100%;
    max-width: 360px;
    right: 0;
}

#topnav.active-nav {
    transform: translateX(0);
}

nav li.menu-item-has-children::before {
    font-family: var(--font-awesome);
    content: "\f078";
    position: absolute;
    padding: 0.3rem 1rem 1rem 1rem;
    right: 0;
    cursor: var(--cursor);
    transform: rotate(0);
    transition: 0.25s ease-in-out;
}

#topnav ul.show,
#topnav ul.sub-menu.show {
    display: block;
    opacity: 1;
    visibility: visible;
}

#topnav ul {
    position: absolute;
    padding: 0;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    background: var(--white);
    width: 100%;
    height: calc(100vh - 80px);
}

#topnav .sub-menu,
#topnav .sub-menu .sub-menu {
    position: relative;
    display: none;
    padding: 10px 0;
    margin: 10px 0;
    background-color: rgba(240, 240, 240, 0.5);
    transition: 0.2s;
    height: auto;
}

#topnav a,
#topnav a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-size: 15px;
    white-space: nowrap;
    transition: 0.3s;
    color: var(--menu-color);
}

#topnav .sub-menu a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--menu-color);
}

#topnav li {
    margin: 0;
}

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

.content {
    padding: 76px 0 0;
}

.overview {
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    background-position: top;
}

.overview .wrapper {
    display: flex;
    max-width: 1780px;
    margin: 0 auto;
    padding: 10rem 4rem;
    gap: 0;
    position: relative;
}

.video_wrapper {
    background-size: cover;
    position: relative;
    box-shadow: 0px 3px 5px #333;
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

.video_wrapper .video_trigger::before {
    content: '\f04b';
    font-family: 'FontAwesome';
    position: absolute;
    z-index: -1;
    font-size: 120px;
    color: rgba( 255, 255, 255, .2);
    width: 120px;
    height: 120px;
    line-height: 120px;
    text-align: center;
    top: calc( 50% - 60px);
    left: calc( 50% - 60px);
}

.video_wrapper .video_trigger {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 9;
    background-color: rgba( 0, 0, 0, .5);
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
}

p.text-center::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--black);
    opacity: 0.8;
    z-index: -1;
}

p.text-center {
    padding: 0.6rem 1rem;
    color: var(--white);
    position: relative;
    font-size: 0.825rem;
    margin-bottom: 0.8rem;
}

input.btn {
    background-color: var(--secundary-clr);
    border-radius: 2px;
    color: var(--white);
    transition: background-color 250ms ease-in;
    padding: 0.5rem 2rem;
    display: inline-block;
    border: 0;
    font-size: 1rem;
    font-weight: 300;
    margin: 0 auto;
    letter-spacing: 0.1rem;
    box-shadow: 0px 1px 5px #333;
    transition: all 250ms ease-in-out;
    cursor: pointer;
}

input.btn:hover {
    background-color: var(--third-clr);
}

.video_wrapper .video_layer {
    position: relative;
    display: flex;
    height: inherit;
    width: inherit;
}

.video_wrapper .video_layer iframe {
    border: 0px none transparent;
    height: auto;
    width: 100%;
    aspect-ratio: 16 / 9;
}

h1 {
    font-size: clamp(2rem, 3.5vw, 4rem);
    line-height: 1;
    text-align: center;
    margin-bottom: 1rem;
}

h2,
h3,
h4,
h5,
h6,
aside p.hl {
    font-size: clamp(1.4rem, 3.5vw, 1.8rem);
    line-height: 1.3;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 400;
}

.no-temp h1 {
    text-align: center;
    margin: 1rem 0 4rem;
}

.page-template-default h1 {
    padding-bottom: 2rem;
    position: relative;
}

.no-temp h2 {
    margin: 3rem 0 3rem;
    padding: 3rem;
    position: relative;
}

.no-temp h2:after,
.no-temp h2:before,
.single-post .meta:after,
.page-template-default h1::after,
footer::before {
    content: '';
    position: absolute;
    width: 30%;
    border-bottom: 7px double #eee;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}

.single-post .meta:after {
    content: '';
    position: absolute;
    width: 50%;
    border-bottom: 7px double #eee;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}

.no-temp h2:before,
footer::before {
    top: 0;
    bottom: inherit;
}

.no-temp h2,
.no-temp h3,
.no-temp h4,
.no-temp h5,
aside p.hl {
    margin: 4rem 0 1.5rem;
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    text-align: left;
    font-weight: bold;
}

.no-temp h2::after {
    display: none;
}

.single-post h2,
.page-template-default h2 {
    margin: 4rem 0 1.5rem;
    padding: 0;
    position: relative;
    text-align: left;
}

.page-template-default h2:nth-child(1),
aside p.hl {
    margin: 2rem 0 1.5rem;
}

.single-post h2:before,
.page-template-default h2::before {
    display: none;
}

.single-post h2:after,
.page-template-default h2:after {
    transform: translate(0);
    left: 0;
}

.wp-caption {
    position: relative;
}

.box .wp-caption,
.post-grid-cat .wp-caption {
    width: 100% !important;
}

.post-grid-cat .wp-caption {
    margin-top: 2rem;
}

.wp-caption p {
    position: absolute;
    left: 10px;
    margin: 0;
    padding: 0.5rem;
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.4);
    font-size: calc(0.5 / var(--size-normal));
    bottom: 20px;
    width: calc(100% - 20px);
}

[class*='col'] .box h2,
.border .box p {
    margin-bottom: auto;
    padding: 1rem 0 2rem;
    font-size: clamp(1.7rem, 3.5vw, 1.7rem);
    font-weight: 400;
}

[class*='col'] .box h3,
article h3 {
    text-align: left;
    font-size: clamp(1.5rem, 3.5vw, 1.5rem);
}

article h3 {
    font-size: clamp(1.5rem, 3.5vw, 1.5rem);
}

.white {
    color: var(--white);
}

.overview .wrapper .box {
    width: auto;
}

p,
ul li,
ol li,
.t_btn {
    font-size: clamp(1rem, 3.5vw, 1.1rem);
    line-height: 1.5;
    margin: 1rem 0;
    font-weight: 300;
}

ul li,
ol li {
    margin: 0.5rem 0;
}

.t_btn a {
    color: var( --text-color);
}

.content ul li {
    list-style: circle outside;
    margin: 0;
}

.content ol li::marker {
    font-weight: bold;
}

.content ol li {
    list-style: decimal outside;
}

ol {
    margin: 1rem 0 1rem 1.4rem;
}

.alignright {
    float: right;
    width: 100% !important;
}

.alignleft {
    float: left;
    width: 100% !important;
}

.content ul {
    margin: 0 0 0 1rem;
}

#searchform {
    display: flex;
}

@keyframes fadein {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

div.hideing {
    display: none !important;
}

div.show {
    display: block !important;
    animation: fadein 250ms ease-in;
}

.overlay {
    width: 100%;
    height: 100%;
    background-color: var(--third-clr);
    opacity: 0.7;
    position: absolute;
}

footer {
    text-align: center;
    position: relative;
}

footer li a {
    color: var(--clr-headline);
    transition: 200ms ease;
}

footer li a:hover {
    color: var(--third-clr);
}

footer ul li,
footer p {
    margin: 0.5rem 0;
}

i.center {
    text-align: center;
    margin: 0 auto;
    display: block;
}

.center {
    text-align: center;
}

.page-template-temp-container .content i.fa {
    font-size: 36px;
    color: var(--secundary-clr);
}

.col-3 .wrapper,
.col-2 .wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.col-3 .box,
.col-2 .box {
    display: inline-flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.col-2 .box {
    min-width: 100%;
}

.wrapper>h2 {
    flex: 1 0 100%;
}

.box-color .box {
    background: var(--white);
    padding: 1rem 2rem;
}

.feature-selection,
.img_hover {
    position: relative;
}

.f-bg {
    background-image: url(http://testumgebung.w3internet.vautronserver.de/tv/wp-content/uploads/2023/01/livre-home13-bg-hero-tiny.jpg);
    position: absolute;
    width: calc(50% - 2rem);
    height: 100%;
    background-position: center;
}

.content .fa-solid {
    font-size: 1rem;
    margin-right: 0.5rem;
    color: var(--secundary-clr);
}

.feature-selection p,
.feature-selection h2 {
    padding: 0 4rem;
    color: var(--white);
}

.content img {
    border: 10px solid var(--third-clr-rgb);
}

.border .wrapper {
    border: 10px solid #d5a1a1;
    padding: 3rem 5rem;
}

.border {
    padding: 5rem 0;
}

.border .box img {
    border-radius: 50%;
    max-width: 150px;
    height: auto;
    display: block;
}

.border .box:nth-child(1) {
    text-align: center;
}

.border .box:nth-child(2) {
    text-align: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.border .box:nth-child(2) span {
    font-size: clamp(0.825rem, 3.5vw, 0.825rem);
    color: var(--third-clr);
}

.blogpost {
    padding: 4rem 0 4rem 0;
}

.category.blogpost {
    padding: 0 0 0 0;
}

#cookie-notice {
    background: #000;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem 1rem;
    padding: 3rem 4rem;
}

.highlight article:nth-child(1) {
    grid-area: 1 / 1 / 1 / 5;
    display: inline-grid;
    grid-template-columns: 1fr 1fr 3rem 1fr 1fr;
    gap: 1rem;
    align-items: center;
    margin-left: -4rem;
}

.highlight article:nth-child(1) .info {
    padding: 0;
}

.highlight article:nth-child(1) img {
    width: 100%;
    margin-left: 0;
}

.highlight .overlay,
.highlight .f-bg {
    grid-area: 1 / 1 / 1 / 4;
    width: 100%;
    position: relative;
    display: block;
}

.highlight .f-bg {
    background-repeat: no-repeat;
    background-size: cover;
}

.highlight .active .overview_img {
    grid-area: 1 / 2 / 1 / 4;
    z-index: 2;
    display: inline-flex;
    width: 100% !important;
}

.highlight .info {
    grid-area: 1 / 4 / 2 / 6;
    text-align: center;
    width: 100% !important;
}

article h3,
.highlight .info {
    text-align: center;
}

.highlight .info {
    padding: 1rem;
}

.books article,
.category article {
    grid-area: span 1 / span 2;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.books article {
    display: block;
}

.books article .overview_img {
    width: 100%;
}

.books article .info {
    width: 72%;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem 1rem;
    padding: 3rem 1rem;
}

.category .post-grid {
    grid-template-columns: 1fr;
}

.category article {
    gap: 1rem;
    flex-direction: column;
}

.category article .overview_img {
    width: 100%;
    height: 100%;
}

.category article .overview_img img {
    object-fit: cover;
    height: 100%;
}

.category article .info {
    width: 100%;
}

.content a {
    color: var(--secundary-clr);
}

.content a:hover {
    color: var(--third-clr);
}

.content .bttn,
.overl span {
    color: var(--white);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.3px;
    background-color: var(--third-clr);
    border-radius: 3px 3px 3px 3px;
    padding: 10px;
    font-size: 0.825rem;
    transition: background-color 250ms ease-in-out;
}

.overl span {
    background-color: rgba(0, 0, 0, 0.2);
}

.content .bttn:hover {
    background-color: var(--secundary-clr);
    color: var(--white) !important;
}

.post-grid-cat {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.post-grid-cat article {
    display: inherit;
    text-align: left;
    border-bottom: 7px double #eee;
    margin-bottom: 30px;
}

.post-grid-cat article:last-child {
    border-bottom: inherit;
}

.post-grid-cat article h2,
.post-grid-cat article h3,
.post-grid-cat article p {
    text-align: left;
    padding-left: 10px;
}

.post-grid-cat article h2 {
    margin: 2rem 0 1rem;
    text-align: left;
}

.post-grid-cat aside {
    position: relative;
    max-height: inherit;
}

.meta {
    position: relative;
    padding-bottom: 1rem;
}

.single-post .meta {
    margin-bottom: 2rem;
}

.meta p {
    font-size: 0.825rem;
    text-transform: uppercase;
}

.no-temp .meta p {
    text-align: center;
}

p.readmore {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.img_hover {
    display: flex;
}

.overl {
    width: 100%;
    height: 100%;
    background: var(--third-clr-rgb-m);
    position: absolute;
    display: flex;
    color: var(--white);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 250ms ease-in-out;
}

.overl i {
    font-size: 42px !important;
    color: var(--white) !important;
    margin-bottom: 1rem;
    background: rgba(0, 0, 0, 0.2);
    width: 80px;
    height: 80px;
    display: inline-flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 50%;
}

.img_hover:hover .overl {
    opacity: 1;
}

.tagcloud a {
    font-size: 0.825em !important;
    display: block;
    float: left;
    padding: 7px 10px;
    margin: 0 5px 5px 0;
    background: #777;
    color: var(--white);
    border-radius: 5px;
    transition: background 250ms ease-in-out;
    text-transform: uppercase;
    font-weight: 800;
}

.tagcloud a:hover {
    background: var(--secundary-clr);
    color: var(--white) !important;
}

.post-template-default .overview .wrapper,
.page-template-default .overview .wrapper,
.post-template .overview .wrapper {
    display: flex;
    max-width: 1180px;
    margin: 0 auto;
    padding: 6rem 4rem;
    position: relative;
    flex-direction: column;
    align-items: center;
}

.page-template-default .overview .wrapper {
    padding: 12rem 4rem;
}

.post-template-default .overview,
.page-template-default .overview,
.post-template .overview {
    z-index: 1;
}

.post-template-default .overview::after,
.page-template-default .overview::after,
.post-template .overview::after {
    content: '';
    position: absolute;
    inset: 0 0 0 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.team img {
    border: 10px solid var(--white);
}

div.now {
    position: fixed;
    z-index: 3000;
    background: var(--box-color);
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: .5rem 1rem;
}

div.now i {
    margin-left: 20px
}

div.now p,
div.now a,
div.now p strong {
    color: var(--box-txt-color);
    font-size: 28px;
    line-height: 34px
}

.pb {
    padding-bottom: 100px;
}

@media screen and (min-width: 540px) {
    .col-2.wrap .wrapper .box,
    .col-3.wrap .wrapper .box {
        flex: calc(50% - 2rem) 0 1;
    }
    .category .post-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    }
    .category article {
        flex-direction: initial;
    }
    .post-grid {
        padding: 3rem 4rem;
    }
    .col-2 .box {
        min-width: calc(50% - 4rem);
    }
    .highlight article:nth-child(1) .info {
        padding: 1rem 0rem 1rem 4rem;
    }
    .highlight .overlay {
        display: block;
    }
    .highlight article:nth-child(1) img {
        width: calc(100% - 4rem);
        margin-left: 4rem;
    }
    .post-grid-cat .wp-caption {
        margin-top: 4rem;
    }
    .books article .overview_img {
        width: 34%;
    }
    .content .bttn,
    .overl span {
        padding: 10px 30px 10px 30px;
    }
    .books article {
        display: inline-flex;
    }
}

@media screen and (min-width: 840px) {
    .post-grid-cat {
        grid-template-columns: 66% 1fr;
    }
    #s_form {
        width: 400px;
    }
    .team {
        max-width: calc(50% - 0.5rem);
        float: left;
        text-align: center;
        line-height: 1.5;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    div.now p,
    div.now a,
    div.now p strong {
        font-size: 20px;
        line-height: 28px
    }
}

@media screen and (min-width: 970px) {
    .alignright,
    .alignleft {
        width: auto !important;
    }
    aside .alignright,
    aside .alignleft {
        width: 100% !important;
    }
    .feature-selection p,
    .feature-selection h2 {
        color: var( --text-color);
    }
    .header-container,
    .wrapper {
        max-width: 100%;
    }
    #mobile-btn {
        display: none;
    }
    #topnav {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        top: inherit;
        transform: translateX(0);
        height: 100%;
        max-width: inherit;
    }
    #topnav ul {
        margin: 0;
        padding: 0;
        inset: inherit;
        display: flex;
        list-style: none;
        align-items: center;
        position: relative;
        overflow-y: inherit;
        background: var(--white);
        height: inherit;
        max-width: inherit;
        min-width: inherit;
    }
    #topnav li {
        position: relative;
        height: 100%;
        display: flex;
    }
    #topnav li .sub-menu li {
        position: relative;
        height: inherit;
        display: block;
    }
    #topnav a,
    #topnav a:focus {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1.3rem;
        font-size: 16px;
        font-weight: 400;
        white-space: nowrap;
        transition: 0.3s;
    }
    header.no-logo nav {
        margin-left: -1.3rem;
    }
    #topnav ul.sub-menu.show {
        opacity: inherit;
        visibility: initial;
        display: none;
    }
    #topnav .sub-menu {
        display: block;
        position: absolute;
        height: auto;
        left: 0;
        top: calc(100% + 30px);
        margin: 0;
        padding: 0;
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        background: #fff;
        box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
        transition: 200ms;
        width: auto;
    }
    #topnav li:hover>ul.sub-menu.show {
        opacity: 1;
        visibility: visible;
        display: block;
    }
    #topnav li:hover>ul.sub-menu {
        opacity: 1;
        top: 100%;
        visibility: visible;
    }
    #topnav .sub-menu li:hover>ul.sub-menu {
        top: 0;
    }
    #topnav .sub-menu .sub-menu {
        top: calc(0 - 30px);
        left: 100%;
        visibility: hidden;
        display: block;
        position: absolute;
        background: var(--white);
        margin: 0;
        padding: 0;
    }
    nav li.menu-item-has-children::before {
        display: none;
    }
    nav a::before {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 5px;
        background-color: var(--third-clr);
        content: " ";
        transition: 0.3s ease;
    }
    #topnav .sub-menu a:before {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--third-clr);
        opacity: 0;
        content: " ";
        z-index: -1;
        transition: 300ms ease;
    }
    .menu-item:hover>a::before {
        width: 100%;
    }
    #topnav .sub-menu .menu-item:hover>a::before {
        opacity: 0.6;
    }
    #topnav .sub-menu>.menu-item:hover>a {
        color: var(--white);
    }
    .overview .wrapper .box {
        width: 43%;
    }
    .overlay {
        width: calc(50% - 2rem);
    }
    footer ul {
        display: flex;
        justify-content: center;
        gap: 2rem;
    }
    .full-width .wrapper {
        padding: 5rem 4rem;
    }
    .col-3 .box,
    .col-3 .wrapper,
    .col-2 .box,
    .col-2 .wrapper {
        flex-wrap: nowrap;
    }
    .col-2.wrap .wrapper,
    .col-3.wrap .wrapper {
        flex-wrap: wrap;
    }
    .feature-selection.col-2 .box {
        flex: 1;
    }
    .feature-selection.col-2 .box:nth-child(1) {
        align-items: end;
    }
    .feature-selection .wrapper {
        padding: 0 0 0 4rem;
        gap: 0;
        align-items: center;
    }
    .feature-selection img {
        max-width: 70%;
        position: relative;
        margin: 6rem 4rem 0;
    }
    .post-grid-cat aside {
        position: sticky;
        top: 80px;
        align-self: start;
    }
}

@media screen and (min-width:1240px) {
    .header-container,
    .wrapper {
        max-width: 1270px;
    }
}


/* @media screen and (min-width: 970px) and (max-width: 1240px) {
    nav li:last-child {
        display: none !important;
    }
} */

@media screen and (min-width: 2200px) {}

@media(min-height:1100px) {}


/*FORM*/

.searchform input {
    border: 1px solid;
    box-shadow: none;
    border-radius: 0px;
    width: calc(100% - 35px);
    height: 30px;
    margin: 0px;
    display: block;
    float: left;
}

input[type="text"],
input[type="date"],
input[type="datetime"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="time"],
input[type="url"],
input[type="tel"],
input[type="password"],
textarea,
select {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: var(--footer-text-size);
    background-color: #fafafa;
    border: 2px solid #eaeaea;
    border-radius: 5px;
    font-family: var(--font-family-main);
    color: #999;
}

textarea {
    max-height: 150px;
}

input::placeholder,
textarea::placeholder {
    color: #666;
}

.wpcf7-not-valid-tip {
    display: none;
}

.wpcf7-not-valid {
    border: 2px dashed #f00 !important;
}

.customcheck input {
    position: absolute;
    opacity: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    border-radius: 0px;
    cursor: pointer;
    background-color: var(--form-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.customcheck input:checked+.checkmark:after {
    display: block;
}

.customcheck .checkmark:after {
    left: 9px;
    top: 4px;
    width: 7px;
    height: 15px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
}

.customcheck {
    display: block;
    position: relative;
    padding-left: 26px;
    margin-bottom: 0;
    cursor: pointer;
}

.wpcf7 p {
    text-align: left;
}

input.wpcf7-submit {
    color: #fff !important;
    background-color: var(--third-clr);
    border-radius: 5px;
    padding: 0.7rem 1.5rem;
    font-weight: normal;
    font-size: var(--footer-text-size);
    cursor: pointer;
}