@font-face {
font-family: "Quicksand";
src: url(//thomi-holzbau.ch/wp-content/themes/thomi-holzbau/assets/fonts/quicksand/Quicksand-Light.ttf) format("truetype");
font-weight: 300;
font-style: normal;
font-display: swap;
} @font-face {
font-family: "Quicksand";
src: url(//thomi-holzbau.ch/wp-content/themes/thomi-holzbau/assets/fonts/quicksand/Quicksand-Regular.ttf) format("truetype");
font-weight: 400;
font-style: normal;
font-display: swap;
} @font-face {
font-family: "Quicksand";
src: url(//thomi-holzbau.ch/wp-content/themes/thomi-holzbau/assets/fonts/quicksand/Quicksand-Medium.ttf) format("truetype");
font-weight: 500;
font-style: normal;
font-display: swap;
}
html {
font-size: 16px;
}
@media screen and (min-width: 2000px) {
html {
font-size: 19px;
}
}
@media screen and (max-width: 900px) {
html {
font-size: 14px;
}
}
body {
font-family: "Quicksand", sans-serif;
color: #706f6f;
background-color: white;
overflow-x: hidden;
}
h1 {
font-size: 3.5rem;
font-weight: 500;
}
@media screen and (max-width: 700px) {
h1 {
font-size: 3rem;
}
}
h2 {
color: #006f3e;
font-size: 2.5rem;
font-weight: 400;
}
h3 {
color: #006f3e;
font-weight: 400;
}
p,
a {
font-size: 1.25rem;
font-weight: 400;
}
p.intro,
a.intro {
font-size: 1.4rem;
}
a {
color: #706f6f;
text-decoration: underline;
}
a:hover {
color: #006f3e;
text-decoration: none;
}
strong a {
font-weight: 600;
}
ul {
list-style-position: inside;
font-size: 1.25rem;
list-style-type: none;
}
ul li::before {
content: "-";
color: #006f3e;
padding-right: 0.5rem;
}
#site-navigation {
position: fixed;
width: 300px;
top: 0;
transform: translateY(0%);
right: -300px;
height: 100%;
z-index: 100;
background-color: white;
padding: 4rem 0 4rem 2rem;
transition: 0.4s ease;
overflow-y: auto;
bottom: 0;
}
#site-navigation .logo {
width: 15%;
position: absolute;
top: 1rem;
right: 2rem;
}
#site-navigation .logo img {
width: 100%;
}
#site-navigation #primary-menu {
flex-direction: column;
list-style: none;
padding: 0;
margin: 0;
transition: 0.3s ease;
max-width: 96%;
margin-left: auto;
margin-right: auto;
}
#site-navigation #primary-menu ul,
#site-navigation #primary-menu li {
margin: 0;
padding: 0;
color: #706f6f;
list-style-type: none;
}
#site-navigation #primary-menu ul::before,
#site-navigation #primary-menu li::before {
display: none;
}
#site-navigation #primary-menu ul a,
#site-navigation #primary-menu li a {
color: #706f6f;
display: block !important;
}
#site-navigation #primary-menu ul a:hover,
#site-navigation #primary-menu li a:hover {
color: #706f6f;
}
#site-navigation #primary-menu > li {
position: relative;
list-style-type: none;
border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}
#site-navigation #primary-menu > li > a {
font-size: 1.4rem;
text-align: left;
padding: 1rem 1rem 1rem 0.5rem;
}
#site-navigation #primary-menu > li .sub-menu {
display: none;
background-color: rgba(255, 255, 255, 0.05);
}
#site-navigation #primary-menu > li .sub-menu a {
padding: 0.5rem;
border-top: solid 1px rgba(255, 255, 255, 0.4);
}
#site-navigation #primary-menu .menu-item-has-children .toggle {
display: block !important;
position: absolute;
right: 0;
top: 0;
width: 4rem;
height: 4rem;
}
#site-navigation #primary-menu .menu-item-has-children .toggle::after {
position: absolute;
width: 1rem;
height: 1rem;
content: "";
top: 50%;
left: 50%;
border-right: 1px solid #706f6f;
border-bottom: 1px solid #706f6f;
transform: translate(-50%, -50%) rotate(45deg);
transition: 0.3s ease;
}
#site-navigation #primary-menu .menu-item-has-children.open .toggle::after {
transform: translate(-50%, -50%) rotate(225deg);
}
#site-navigation #primary-menu .current-menu-parent > a {
color: #006f3e;
text-decoration: none;
}
#site-navigation #primary-menu .current-menu-parent > a:hover {
color: #006f3e;
}
#site-navigation #primary-menu .current-menu-item a {
color: #006f3e;
text-decoration: none;
}
#site-navigation #primary-menu .current-menu-item a:hover {
color: #006f3e;
}
#site-navigation #primary-menu > li {
flex: 1;
}
#site-navigation #primary-menu > li > a {
font-size: 1.4rem;
font-weight: 400;
}
#site-navigation #primary-menu li,
#site-navigation #primary-menu ul {
list-style: none;
padding: 0;
margin: 0;
}
#site-navigation #primary-menu a {
color: #706f6f;
text-decoration: none;
}
@media screen and (max-width: 570px) {
#site-navigation {
right: -300px;
width: 300px;
}
}
@media screen and (min-width: 2000px) {
#site-navigation {
right: -500px;
width: 500px;
}
}
#menu-toggle {
width: 40px;
height: 100px;
position: fixed;
right: -6px;
cursor: pointer;
border-radius: 5px;
z-index: 99;
transform: translateX(-50%);
transition: 0.4s ease;
}
#menu-toggle * {
transition: 0.25s ease-in-out;
}
#menu-toggle .angle {
border-top: 9rem solid white;
border-left: 5rem solid transparent;
height: 0;
width: 9rem;
position: absolute;
left: -5rem;
top: 0;
z-index: -1;
}
#menu-toggle #hamburger {
position: absolute;
height: 100%;
width: 100%;
}
#menu-toggle #hamburger span {
background-color: #c5b295;
display: block;
border-radius: 2px;
width: 60px;
height: 2px;
position: relative;
top: 24px;
margin: 7px 0;
left: 50%;
transform: translateX(-50%);
}
#menu-toggle #hamburger span:nth-child(1) {
width: 100%;
transition-delay: 0.5s;
}
#menu-toggle #hamburger span:nth-child(2) {
width: 100%;
transition-delay: 0.625s;
}
#menu-toggle #hamburger span:nth-child(3) {
transition-delay: 0.75s;
width: 100%;
}
#menu-toggle #cross {
position: absolute;
height: 100%;
width: 100%;
transform: rotate(45deg);
left: -7px;
}
#menu-toggle #cross span {
background-color: #c5b295;
display: block;
border-radius: 2px;
}
#menu-toggle #cross span:nth-child(1) {
height: 0%;
width: 2px;
position: absolute;
top: 28%;
left: 16px;
transition-delay: 0s;
}
#menu-toggle #cross span:nth-child(2) {
width: 0%;
height: 2px;
position: absolute;
top: 42%;
left: 3px;
transition-delay: 0.25s;
}
#menu-toggle .text {
color: #006f3e;
position: absolute;
bottom: 0;
top: 6rem;
left: 3px;
font-weight: 400;
transform: translateX(-50%) rotate(270deg);
white-space: nowrap;
font-size: 1.5rem;
opacity: 1;
transition: all ease 0.3s;
}
@media screen and (max-width: 700px) {
#menu-toggle .text {
top: 5.5rem;
left: 17px;
}
}
#menu-toggle.open {
right: 282px;
}
#menu-toggle.open #hamburger span {
width: 0%;
}
#menu-toggle.open #hamburger span:nth-child(1) {
transition-delay: 0s;
}
#menu-toggle.open #hamburger span:nth-child(2) {
transition-delay: 0.125s;
}
#menu-toggle.open #hamburger span:nth-child(3) {
transition-delay: 0.25s;
}
#menu-toggle.open #cross span:nth-child(1) {
height: 30px;
transition-delay: 0.625s;
}
#menu-toggle.open #cross span:nth-child(2) {
width: 30px;
transition-delay: 0.375s;
}
@media screen and (max-width: 570px) {
#menu-toggle.open {
right: 294px;
}
}
@media screen and (min-width: 2000px) {
#menu-toggle.open {
right: 494px;
}
}
body.in_main #menu-toggle .text,
body.in_main #mobile-toggle .text {
opacity: 1 !important;
}
body.menu-open #site-navigation {
right: 0;
}
#masthead {
background-color: #006f3e;
height: 75vh;
position: relative;
margin-bottom: 2rem;
border-bottom: 3px solid #006f3e;
}
#masthead .header-gallery {
height: 100%;
}
#masthead .header-gallery * {
height: 100%;
}
#masthead .header-gallery .slide {
height: 100%;
}
#masthead .header-gallery .slide .img {
height: 100%;
background-position: center;
background-size: cover;
}
#masthead .image {
position: absolute;
height: 100%;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
height: 100%;
width: 100%;
overflow: hidden;
}
#masthead .image .parallax-container {
height: 100%;
}
#masthead .parallax-container {
position: relative;
overflow: hidden;
height: 500px;
}
@media screen and (max-width: 1200px) {
#masthead {
height: 70vh;
}
}
@media (max-width: 768px) {
#masthead {
height: 40vh;
}
}
@media (min-width: 2000px) {
#masthead {
height: 80vh;
}
}
#masthead .parallax-container .parallax {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 0;
}
#masthead .parallax-container .parallax img {
display: none;
position: absolute;
left: 50%;
bottom: 0;
min-width: 100%;
min-height: 100%;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
}
#masthead .text-container {
position: absolute;
left: 50%;
width: 30%;
top: 14vh;
}
#masthead .text-container .text {
color: white;
font-size: 7rem;
line-height: 8rem;
}
#masthead .text-container .logo img {
width: 70%;
}
#masthead .logo-container {
position: absolute;
left: 0;
bottom: 0;
border-bottom: 11rem solid white;
border-right: 7rem solid transparent;
height: 0;
width: 28rem;
}
#masthead #logo {
display: block;
position: absolute;
left: 50%;
transform: translateX(-50%) translateY(0.5rem);
height: 11rem;
background-color: white;
padding: 0 0.125rem;
}
#masthead #logo img {
height: 100%;
}
#masthead .blaetter {
position: absolute;
bottom: 0;
height: 110%;
opacity: 0;
left: -3rem;
animation: splash 1s normal forwards ease-in-out;
width: 100%;
}
@keyframes splash {
from {
opacity: 0;
}
to {
opacity: 0.4;
}
}
article.page,
article.referenzen,
.taxonomy-page {
padding-top: 2rem;
text-align: center;
}
article.page .entry-header,
article.referenzen .entry-header,
.taxonomy-page .entry-header {
width: 100%;
max-width: 1200px;
margin-left: auto;
margin-right: auto;
}
@media screen and (max-width: 900px) {
article.page .entry-header,
article.referenzen .entry-header,
.taxonomy-page .entry-header {
padding-left: 1rem;
padding-right: 1rem;
}
}
@media screen and (min-width: 1600px) {
article.page .entry-header,
article.referenzen .entry-header,
.taxonomy-page .entry-header {
max-width: 1200px;
}
}
@media screen and (min-width: 2000px) {
article.page .entry-header,
article.referenzen .entry-header,
.taxonomy-page .entry-header {
max-width: 1600px;
}
}
article.page .entry-header > *,
article.referenzen .entry-header > *,
.taxonomy-page .entry-header > * {
text-align: center;
}
article.page .entry-header a,
article.referenzen .entry-header a,
.taxonomy-page .entry-header a {
color: white;
text-decoration: none;
}
article.page .entry-header h1,
article.referenzen .entry-header h1,
.taxonomy-page .entry-header h1 {
color: #006f3e;
}
article.page .entry-content > p,
article.referenzen .entry-content > p,
.taxonomy-page .entry-content > p {
text-align: center;
width: 100%;
max-width: 1200px;
margin-left: auto;
margin-right: auto;
}
@media screen and (max-width: 900px) {
article.page .entry-content > p,
article.referenzen .entry-content > p,
.taxonomy-page .entry-content > p {
padding-left: 1rem;
padding-right: 1rem;
}
}
@media screen and (min-width: 1600px) {
article.page .entry-content > p,
article.referenzen .entry-content > p,
.taxonomy-page .entry-content > p {
max-width: 1200px;
}
}
@media screen and (min-width: 2000px) {
article.page .entry-content > p,
article.referenzen .entry-content > p,
.taxonomy-page .entry-content > p {
max-width: 1600px;
}
}
article.page .entry-content h2:first-of-type,
article.referenzen .entry-content h2:first-of-type,
.taxonomy-page .entry-content h2:first-of-type {
color: #c5b295;
font-size: 3.5rem;
margin-bottom: 2rem;
}
@media screen and (max-width: 700px) {
article.page .entry-content h2:first-of-type,
article.referenzen .entry-content h2:first-of-type,
.taxonomy-page .entry-content h2:first-of-type {
font-size: 3rem;
}
}
.schema-farbig article.page,
.schema-farbig article.referenzen,
.schema-farbig .taxonomy-page {
background-color: #006f3e;
}
.schema-farbig article.page .entry-header > *,
.schema-farbig article.referenzen .entry-header > *,
.schema-farbig .taxonomy-page .entry-header > * {
color: white;
}
.schema-farbig article.page .entry-content > p,
.schema-farbig article.referenzen .entry-content > p,
.schema-farbig .taxonomy-page .entry-content > p {
color: white;
}
#kontakt {
background-color: #c5b295;
position: relative;
min-height: 47rem;
}
#kontakt .bild {
height: 100%;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
width: 60%;
min-height: 47rem;
}
#kontakt .angle {
border-top: 47rem solid #c5b295;
border-left: 9rem solid transparent;
height: 0;
width: 60%;
position: absolute;
top: 0;
right: 0;
}
#kontakt .text {
width: calc(60% - 6rem);
position: absolute;
right: 0;
top: 5rem;
}
#kontakt .text h2 {
color: white;
font-weight: 400;
text-align: center;
}
#kontakt .text .kontakt {
margin-top: 2rem;
color: white;
text-align: center;
font-weight: 400;
}
#kontakt .text .kontakt strong {
font-weight: 500;
}
#kontakt .text .facebook {
margin-top: 2rem;
margin-left: auto;
width: fit-content;
margin-right: auto;
}
#kontakt .text .facebook a {
height: 100%;
width: 100%;
}
#kontakt .text .facebook a img {
height: 3rem;
}
#kontakt .text iframe {
width: 80%;
height: 14rem;
margin-left: auto;
margin-right: auto;
display: block;
}
@media screen and (max-width: 700px) {
#kontakt .text iframe {
display: none;
}
}
#kontakt .bottom {
background-color: #c5b295;
border-top: 1px solid white;
}
#kontakt .bottom ul {
list-style-type: none;
display: flex;
justify-content: center;
margin-bottom: 0;
padding: 1.5rem 0;
}
#kontakt .bottom ul li::before {
display: none;
}
#kontakt .bottom ul li::after {
content: "|";
color: white;
padding: 0 0.25rem;
}
#kontakt .bottom ul li:last-of-type::after {
display: none;
}
#kontakt .bottom ul li a {
color: white;
}
#kontakt .bottom ul li a:hover {
color: white;
}
@media screen and (max-width: 700px) {
#kontakt .angle {
width: 90%;
border-top: 40rem solid #c5b295;
}
#kontakt .bild {
min-height: 40rem;
}
#kontakt .text {
width: calc(90% - 6rem);
padding-right: 0.5rem;
}
#kontakt .text h2 {
font-size: 2.25rem;
}
}
#kontakt iframe.mobile {
display: none;
}
@media screen and (max-width: 700px) {
#kontakt iframe.mobile {
display: block;
width: 100%;
height: 17rem;
}
}
.wpcf7-form {
width: 50%;
margin-left: auto;
margin-right: auto;
margin-bottom: 3rem;
}
.wpcf7-form .form-group {
width: 100%;
position: relative;
}
.wpcf7-form .form-group label {
position: absolute;
top: 0;
left: 0;
padding-left: 1rem;
z-index: 1;
width: 8rem;
background-color: #006f3e;
color: white;
line-height: 2rem;
}
.wpcf7-form .form-group label .angle {
position: absolute;
left: 0;
top: 0;
border-bottom: 2rem solid #006f3e;
border-right: 1rem solid transparent;
height: 0;
width: 11rem;
z-index: -1;
}
.wpcf7-form .form-group input,
.wpcf7-form .form-group select,
.wpcf7-form .form-group textarea {
padding-left: 12rem;
width: 100%;
min-height: 2rem;
border: solid 1px rgba(197, 178, 149, 0.5);
}
.wpcf7-form .form-group input:focus,
.wpcf7-form .form-group select:focus,
.wpcf7-form .form-group textarea:focus {
outline-color: #006f3e;
}
.wpcf7-form button {
display: inline-block;
background-color: #c5b295;
color: white;
padding: 0.25rem 1.5rem;
background: linear-gradient(100deg, #006f3e 50%, #c5b295 50%);
background-size: 210% 100%;
background-position: right bottom;
transition: all 0.5s ease-out;
border: none;
}
.wpcf7-form button:hover {
background-position: left bottom;
text-decoration: none;
}
@media screen and (max-width: 900px) {
.wpcf7-form {
width: 90%;
}
}
.grecaptcha-badge {
display: none;
}
.single-referenzen .impressionen {
margin-bottom: 3rem;
width: 100%;
max-width: 1200px;
margin-left: auto;
margin-right: auto;
max-width: 1000px;
}
@media screen and (max-width: 900px) {
.single-referenzen .impressionen {
padding-left: 1rem;
padding-right: 1rem;
}
}
@media screen and (min-width: 1600px) {
.single-referenzen .impressionen {
max-width: 1200px;
}
}
@media screen and (min-width: 2000px) {
.single-referenzen .impressionen {
max-width: 1600px;
}
}
@media screen and (min-width: 1600px) {
.single-referenzen .impressionen {
max-width: 1000px;
}
}
@media screen and (min-width: 2000px) {
.single-referenzen .impressionen {
max-width: 1400px;
}
}
.newsmodal .modal-dialog .modal-content {
border: none;
}
.newsmodal .modal-dialog .modal-content .modal-body {
padding: 0;
color: white;
position: relative;
overflow: hidden;
}
.newsmodal .modal-dialog .modal-content .modal-body .angle {
position: absolute;
top: 0;
border-right: 32rem solid #006f3e;
border-bottom: 6rem solid transparent;
height: 26rem;
width: 100%;
z-index: 1;
}
.newsmodal .modal-dialog .modal-content .modal-body .text {
z-index: 2;
padding: 1rem;
}
.newsmodal .modal-dialog .modal-content .modal-body .text a {
color: white;
font-size: 1rem;
}
.newsmodal .modal-dialog .modal-content .modal-body .text a:hover {
color: white;
}
.newsmodal .modal-dialog .modal-content .modal-body .bild {
width: 100%;
}
.newsmodal.color-1 .modal-dialog .modal-content .modal-body {
background-color: #706f6f;
}
.newsmodal.color-1 .modal-dialog .modal-content .modal-body .angle {
border-right: 32rem solid #706f6f;
}
.newsmodal.color-2 .modal-dialog .modal-content .modal-body {
background-color: #006f3e;
}
.newsmodal.color-2 .modal-dialog .modal-content .modal-body .angle {
border-right: 32rem solid #006f3e;
}
.newsmodal.color-3 .modal-dialog .modal-content .modal-body {
background-color: #c5b295;
}
.newsmodal.color-3 .modal-dialog .modal-content .modal-body .angle {
border-right: 32rem solid #c5b295;
}
@media screen and (min-width: 2000px) {
.newsmodal .modal-dialog {
min-width: 600px;
}
}
#footer_menu ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
background-color: #006f3e;
}
#footer_menu ul a {
color: white !important;
text-decoration: none !important;
padding: 0.25rem 0.5rem;
}
.cta-kontakt-container {
position: fixed;
width: 85px;
height: 88px;
left: 40px;
bottom: 40px;
background-color: white;
border-radius: 4px;
z-index: 45;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}
@media screen and (max-width: 700px) {
.cta-kontakt-container {
left: 10px;
bottom: 10px;
width: 50px;
height: 55px;
z-index: 45;
}
}
.cta-kontakt-container a {
text-decoration: none;
}
.cta-kontakt-container .cta-konatkt-content {
background-color: white;
width: 95%;
height: 95%;
border-radius: 2px;
margin-left: 2.5%;
margin-top: 2.5%;
text-align: center;
}
.cta-kontakt-container .cta-konatkt-content i {
width: 100%;
height: 80%;
font-size: 70px;
margin-top: -2px;
color: #006f3e;
transition: color 0.3s;
}
@media screen and (max-width: 700px) {
.cta-kontakt-container .cta-konatkt-content i {
font-size: 40px;
}
}
.cta-kontakt-container .cta-konatkt-content i:hover {
color: #079858;
}
.cta-kontakt-container .cta-konatkt-content p {
margin-top: -5px;
color: #006f3e;
font-weight: 500;
font-family: "Quicksand", sans-serif;
font-size: 17px;
transition: color 0.3s;
}
@media screen and (max-width: 700px) {
.cta-kontakt-container .cta-konatkt-content p {
font-size: 12px;
}
}