/*
Theme Name: nyffcon.ch
Theme URI: 
Author: Armin Oppliger
Author URI: https://arminoppliger.ch/
Description: 
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nyffcon-ch
Tags: 
*/

@import url('responsive.css');

/* Global */
:focus,
button:focus,
a:focus {
    outline: none;
}

a {
    text-decoration: none;
}
a:hover:not(.mtli_attachment) {
    text-decoration: none;
    background: linear-gradient(90deg, rgba(38, 56, 119, 1) 0%, rgba(86, 152, 216, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
main .entry-content a {
    text-decoration:underline;
}
main .entry-content a:hover {
    text-decoration:none;
}

strong {
    font-weight: 700;
}

ul.wp-block-list {
    margin-left: -20px !important;
    display: inline-block;
}

main {
    padding: 0 20px !important;
}

.mtli_attachment:hover {
    text-decoration:underline;
}
.mtli_pdf {
  background-position: left center !important;
}
.document-item {
    margin-bottom:40px;
}

/* Header */
.wp-block-navigation__responsive-container {
    width: auto !important;
    border-bottom: 1px solid #fff;
    padding-bottom: 10px;
}
.wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-navigation .current-menu-item a {
    background: #fff;
}
.wp-block-navigation .wp-block-navigation-item__content:hover span,
.wp-block-navigation .current-menu-item a span{
    background: linear-gradient(90deg, rgba(38, 56, 119, 1) 0%, rgba(86, 152, 216, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;    
}
ul.wp-block-navigation-submenu {
    padding: 20px 0 !important;
    min-width: 340px !important;
    left: 0 !important;
    border: none !important;
}
.wp-block-navigation-item .wp-block-navigation-submenu li a {
    padding: 0 20px;
}
.wp-block-navigation-item .wp-block-navigation-submenu li a:hover span {
    background: linear-gradient(90deg, rgba(86, 152, 216, 1) 0%, rgba(38, 56, 119, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; 
}

.h-header-img {
    position: absolute;
    top: 125px;
    width: 100%;
    max-width: 1254px;
    z-index: 1;
    margin: 0;
}
.h-header-img .wp-block-cover__inner-container {
    position: absolute;
    bottom: 30px;
    left:30px;
}

.nav-and-img,
.home-nav-and-img {
    position: relative;
}
.nav-and-img .wp-block-post-featured-image {
    position: absolute;
}

/* Front Page */
.dotted-btn .wp-block-button {
    min-width: 630px;
    margin-left: -180px;
    background: url('images/arrow-right.png') no-repeat;
    background-size: 40px auto;
    background-position: right center;
    border-top:2px dotted #666;
    border-bottom:2px dotted #666;
}
.dotted-btn .wp-block-button:last-child {
    border-top:none;
}
.dotted-btn .wp-block-button a {
    padding:30px 0 30px 180px;
    text-align: left;
}
.dotted-btn .wp-block-button a:hover {
    background: linear-gradient(90deg, rgba(38, 56, 119, 1) 0%, rgba(86, 152, 216, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.home-kontakt-btn .wp-block-button {
    /*background: url('images/arrow-kontakt.png') no-repeat;*/
    /*background-size: 29px auto;*/
    /*background-position: 93% center;*/
    /*transition: transform 0.3s ease;*/
    position:relative;
}
.home-kontakt-btn .wp-block-button:hover::before {
    /*transform: rotate(90deg);*/
    transform: scale(1.1) rotate(45deg);
}
.home-kontakt-btn .wp-block-button::before {
    content: '';
    width: 29px;
    height: 29px;
    background: url('images/arrow-kontakt.png') no-repeat;
    display: block;
    position: absolute;
    background-size: cover;
    right: 0;
    top: 32%;
    transition: transform 0.3s ease;
    transform-origin: center;
}
.home-kontakt-btn .wp-block-button a {
    padding: 20px 95px 20px 20px;
}
.home-kontakt-btn .wp-block-button a:hover {
    background: linear-gradient(90deg, rgba(38, 56, 119, 1) 0%, rgba(86, 152, 216, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;    
}

/* Kontakt Form */
.contact-wrapper {
    width: 100%;
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 2.3rem;
}
.contact-wrapper .one,
.contact-wrapper .two,
.contact-wrapper .three {
    width: 32%;
    float: left;
}
.contact-wrapper .one,
.contact-wrapper .two {
    margin-right: 2%;
}
.contact-wrapper .one input,
.contact-wrapper .two input {
    width: 96%;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px dotted #666;
    font-size: 1.25rem;
    font-family: 'Open Sans', sans-serif;
}
.contact-wrapper .three {
    text-align: left;
    font-size: 1.25rem;
    font-weight: 400;
    padding: 35px 0;
}
.contact-wrapper .three textarea {
    width: 96%;
    font-size: 1.25rem;
    height: 65px;
    font-family: 'Open Sans', sans-serif;
}
.wpcf7-not-valid-tip {
    font-size: 0.7rem;
    position: absolute;
    color: #fff;
    background: #dc3232;
    padding: 0 5px;
}
.wpcf7 form .wpcf7-response-output {
    font-size: 1.25rem;
    text-align: center;
    background: #ffb900;
    color: #000;
}
.wpcf7-submit {
    background: #666;
    border: 1px solid #666;
    border-radius: 10px;
    padding: 10px 30px;
    font-size: 1.3rem;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}
.wpcf7-submit:hover {
    background: #fff;
    color: #666;
}
.wpcf7 form.sent .wpcf7-response-output {
    background: #46b450;
    color: #fff;
}
.wpcf7-spinner {
    display: block;
}
.contact-wrapper .one p .wpcf7-form-control-wrap,
.contact-wrapper .two p .wpcf7-form-control-wrap {
    margin-bottom: 20px;
    display: inline-block;
}
.sent-btn {
    text-align: center;
    clear: both;
}

/*Footer*/
footer .footer-social a img {
    transition: transform 0.2s ease;
}
footer .footer-social a:hover img {
    transform: scale(1.2);
}