/*!
 * large.css
 *
 * @link https://www.vektorrausch.de
 * @author vektorrausch GmbH <sippel@vektorrausch.de>
 *
 * @package WordPress
 * @subpackage cleantheme
 */

/* ######################################## *\
		HTML
\* ######################################## */

html {
    font-size: 16px;
}

body {
}

a {
    text-decoration: none;
}

a:hover, a:active, a:focus {
    text-decoration: underline;
}

/* ######################################## *\
		LAYOUT
\* ######################################## */

#wrapper {
}

.page-top-container {
}

#page-top {
}

.header-container {
}

#header {
    flex-wrap: wrap;
    align-items: flex-end;
    position: relative;
    z-index: 2;
}

.main-container {
}

#main {
}

.footer-container {
}

#footer {
}

.page-bottom-container {
}

#page-bottom {
}

/* ######################################## *\
		WIDGETS
\* ######################################## */

/* logo */
.widget.logo {
    width: 128px;
    margin-bottom: 1.375em;
}

.widget.logo .wp-caption-text {
    width: 188px;
}

/* meta */
.widget.meta {
    position: absolute;
    right: 40px;
    top: 0;
    z-index: 1;
}

/* main */
.widget.main {
    width: 100%;
    display: block;
}

/* ######################################## *\
		CONTENT
\* ######################################## */

.post__thumbnail {
    padding-top: 180px;
}

.post__thumbnail--image:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1;
    background: linear-gradient(to top, rgba(0,0,0, 0.42) 0, rgba(0,0,0, 0) 100%);
}

/* ######################################## *\
		BLOCKS
\* ######################################## */

/* wp-block-slider */
.wp-block-slider .slider__body {
    padding: 0 33.333% 0 40px;
    width: 100%;
    max-width: 1280px;
    transform: translate(-50%, -50%);
    left: 50%;
}

.wp-block-slider .slider__title {
    font-size: 3rem;
}

.wp-block-slider .slider__prev {
    left: 20px;
}

.wp-block-slider .slider__next {
    right: 20px;
}

/* wp-block-news */
.wp-block-news .tns-ovh {
    position: relative;
}

/* ######################################## *\
		ELEMENTS
\* ######################################## */

/* formulare */
.btn, .button, input[type="submit"] {
    opacity: 1;
    -moz-transition: all ease 0.3s;
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
}

.btn:hover, .btn:focus,
.button:hover, .button:focus,
.wp-block-button__link:hover, .wp-block-button__link:focus
input[type="submit"]:hover, input[type="submit"]:focus {
    opacity: 0.75;
    text-decoration: none;
}

.btn-o:hover, .btn-o:focus,
.button-o:hover, .button-o:focus {
    opacity: 0.75;
    text-decoration: none;
}

/* pagination.prev-next */
#pagination.prev-next a {
    opacity: 1;
    -moz-transition: opacity ease 0.3s;
    -webkit-transition: opacity ease 0.3s;
    transition: opacity ease 0.3s;
}

#pagination.prev-next a:hover,
#pagination.prev-next a:focus,
#pagination.prev-next a:active {
    opacity: 0.75;
    text-decoration: none;
}

/* guide */
#guide a {
    opacity: 1;
    -moz-transition: opacity ease 0.3s;
    -webkit-transition: opacity ease 0.3s;
    transition: opacity ease 0.3s;
}

#guide a[href]:hover {
    text-decoration: none;
    opacity: 0.75;
}

/* menu */
.menu-link-description,
.menu-label-description {
    display: block;
    color: rgba(0, 0, 0, 0.42);
    font-size: 0.75rem;
    font-weight: 400;
    text-decoration: none;
    text-transform: none;
}

.menu-spacer {
    display: block;
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
}

.menu-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* meta-menu */
#meta-menu {
    display: flex;
    justify-content: end;
    padding: 1.71875em 0;
}

#meta-menu li {
    position: relative;
    border-top: 0;
    padding: 0 1.375em;
}

#meta-menu li:first-child {
    padding-left: 0;
}

#meta-menu li:last-child {
    padding-right: 0;
}

#meta-menu li a {
    display: block;
    padding: 0;
    text-align: left;
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 1);
}

/* main-menu */
#main-menu {
    display: flex;
    justify-content: flex-start;
}

#main-menu .menu {
}

#main-menu .menu-depth-1 {
    position: absolute;
    top: calc(100% + 0.6875em);
    left: -1.375em;
    z-index: 1;
    background: rgba(255, 255, 255, 1);
    min-width: 280px;
    padding: 0.6875em;
    box-shadow: 0 3px 12px rgba(27, 31, 35, 0.15), 0 0 1px rgba(27, 31, 35, 0.2);
    border-radius: 6px;
    display: block;
    opacity: 0;
    transform: translateY(-0.6875em);
    transition: all ease 0.3s;
    pointer-events: none;
}

#main-menu .menu-item-depth-0:last-child .menu-depth-1,
#main-menu .menu-item-depth-0.menu-item-is-last .menu-depth-1 {
    left: auto;
    right: 0;
}

#main-menu .menu-depth-1:before {
    content: '';
    width: 100%;
    height: 0.6875em;
    position: absolute;
    bottom: 100%;
    left: 0;
    z-index: 1;
}

#main-menu .menu-item-depth-0:not(.menu-item-is-toggler):hover .menu-depth-1 {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#main-menu .menu-depth-1 .menu {
    margin-top: 0.34375em;
}

#main-menu .menu-item-is-toggler > .menu {
    display: none;
}

#main-menu .menu-item-is-toggler.active > .menu {
    display: block;
}

#main-menu .menu-item {
}

#main-menu .menu-item-depth-0 {
    margin: 0 0.859375em;
    position: relative;
}

#main-menu .menu-item-depth-0:first-child {
    margin-left: 0;
}

#main-menu .menu-item-depth-0:last-child,
#main-menu .menu-item-depth-0.menu-item-is-last {
    margin-right: 0;
}

#main-menu .menu-depth-1 .menu-item {
    position: relative;
    margin-bottom: 0.34375em;
}

#main-menu .menu-depth-1 .menu-item.menu-item-is-toggler > .menu-link {
    padding-right: 1.375em;
    position: relative;
}

#main-menu .menu-depth-1 .menu-item.menu-item-is-toggler > .menu-link:after {
    content: '\f105';
    font-family: 'Font Awesome 5 Pro';
    font-weight: 400;
    display: inline-block;
    font-size: 0.875rem;
    position: absolute;
    right: 0.6875em;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0, 0, 0, 0.24);
    z-index: 1;
}

#main-menu .menu-depth-1 .menu-item.menu-item-is-toggler.active > .menu-link:after {
    content: '\f107';
    color: rgba(var(--color-theme), 1);
}

#main-menu .menu-link {
    display: block;
}

#main-menu .menu-link-depth-0 {
    padding: 0;
    height: 100%;
    color: rgba(0, 0, 0, 1);
    font-weight: 700;
    font-size: 1rem;
}

#main-menu .menu-item-depth-0:hover .menu-link-depth-0,
#main-menu .menu-item-depth-0.active .menu-link-depth-0,
#main-menu .menu-item-depth-0.current-menu-ancestor .menu-link-depth-0,
#main-menu .menu-item-depth-0.current-menu-item .menu-link-depth-0 {
    text-decoration: none;
    color: rgba(var(--color-theme), 1);
}

#main-menu .menu-depth-1 .menu-link {
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 1);
    border-radius: 6px;
}

#main-menu .menu-depth-1 .menu-link:hover {
    background: rgba(var(--color-theme), 1);
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
}

#main-menu .menu-depth-1 .current-menu-ancestor > .menu-link:not(:hover),
#main-menu .menu-depth-1 .current-menu-item > .menu-link:not(:hover) {
    font-weight: 700;
    color: rgba(var(--color-theme), 1);
}

#main-menu .menu-depth-1 .menu-link-depth-1 {
    padding: 0.6875em;
}

#main-menu .menu-depth-1 .menu-link-depth-2 {
    padding: 0.6875em;
    margin-left: 1.375em;
}

#main-menu .menu-depth-1 .menu-link-depth-3 {
    padding: 0.6875em;
    margin-left: 2.75em;
}

#main-menu .menu-depth-1 .menu-link-depth-4 {
    padding: 0.6875em;
    margin-left: 4.125em;
}

#main-menu .menu-link-icon,
#main-menu .menu-label-icon {
    color: rgba(var(--color-theme), 1);
}

#main-menu .menu-link-is-searchform .menu-link-icon {
    color: rgba(0, 0, 0, 1);
}

/*
#main-menu .menu-item-depth-0.menu-item-has-children .menu-link-depth-0 .menu-link-title:after {
    content: '\f107';
    font-family: 'Font Awesome 5 Pro';
    font-weight: 400;
    display: inline-block;
    margin-left: 0.6875em;
    font-size: 0.875rem;
}
*/

#main-menu .menu-item-is-spacer {
    margin: 0.6875em 0 !important;
}

/* search */
#searchform .searchform-input {
    padding: 0;
    padding-right: 5.5rem;
    font-size: 2rem;
}

.searchform-overlay #searchform .searchform-input {
    font-size: 3rem;
}

#searchform .searchform-submit:hover i:before {
    color: rgba(var(--color-theme), 1);
}

#searchform .searchform-close:hover i:before {
    color: rgba(var(--color-theme), 1);
}

/* ######################################## *\
		MISC / CONTRIB
\* ######################################## */

/* wpcf7 */
.wpcf7 form .wpcf7-list-item:hover .wpcf7-list-item-label:before {
    content: '\f14a';
    font-weight: 400;
}

/* card */
.card.card-hover {
    transition: box-shadow 0.3s ease 0s;
}

.card.card-hover:hover {
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1), 0 5px 10px rgba(0, 0, 0, 0.25);
}

/* make-font-size-great-again */
.font-size-is-great-again {
    font-size: 18px;
}

/* swipebox */
#swipebox-close:hover,
#swipebox-prev:not(.disabled):hover,
#swipebox-next:not(.disabled):hover {
    background: rgba(255, 255, 255, 1);
}

#swipebox-close:hover:after {
    color: rgba(var(--color-theme), 1);
}

#swipebox-prev:not(.disabled):hover:after,
#swipebox-next:not(.disabled):hover:after {
    color: rgba(var(--color-theme), 1);
}

/* TosRUs */
.tos-desktop .tos-close:hover,
.tos-desktop .tos-next:hover,
.tos-desktop .tos-prev:hover {
    background: rgba(255, 255, 255, 1);
}

.tos-close:hover span:after {
    color: rgba(var(--color-theme), 1);
}

.tos-prev:hover span,
.tos-next:hover span {
    color: rgba(var(--color-theme), 1);
}

.tos-desktop .tos-wrapper.tos-has-thumbnails .tos-pagination a:hover {
    opacity: 1;
}

/* adminbar */
html.js {
    margin-top: 0 !important;
}

#wpadminbar {
    opacity: 1;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    background: none;
}

#wpadminbar:hover {
    opacity: 1;
    transform: translateY(0);
    background: #23282d;
}

#wpadminbar:before {
    position: absolute;
    right: 0;
    top: 0;
    content: 'Administration';
    background: #23282d;
    color: #fff;
    z-index: 1;
    padding: 0 15px;
    transform: translateY(50%);
    font-size: 12px;
    border-radius: 0 0 0 6px;
}

#wpadminbar:hover:before {
    display: none;
}

#wpadminbar > * {
    opacity: 0;
}

#wpadminbar:hover #wp-toolbar {
    opacity: 1;
}
