/*

    Theme Name: Marco Herdt
    Description: Marco Herdt Wordpress Template
    Version: 1.0

*/



@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/work-sans-v9-latin-300.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/work-sans-v9-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/work-sans-v9-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/work-sans-v9-latin-300.woff') format('woff'), /* Modern Browsers */
       url('fonts/work-sans-v9-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/work-sans-v9-latin-300.svg#WorkSans') format('svg'); /* Legacy iOS */
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/work-sans-v9-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/work-sans-v9-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/work-sans-v9-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/work-sans-v9-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/work-sans-v9-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/work-sans-v9-latin-regular.svg#WorkSans') format('svg'); /* Legacy iOS */
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/work-sans-v9-latin-600.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/work-sans-v9-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/work-sans-v9-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/work-sans-v9-latin-600.woff') format('woff'), /* Modern Browsers */
       url('fonts/work-sans-v9-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/work-sans-v9-latin-600.svg#WorkSans') format('svg'); /* Legacy iOS */
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/work-sans-v9-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/work-sans-v9-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/work-sans-v9-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/work-sans-v9-latin-700.woff') format('woff'), /* Modern Browsers */
       url('fonts/work-sans-v9-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/work-sans-v9-latin-700.svg#WorkSans') format('svg'); /* Legacy iOS */
}



body {
    margin: 0;
    padding: 0;
    background: #161616;
    color: #5e5e5e;
    font-family: 'Work Sans';
    font-weight: 300;
    line-height: 170%;
}
@media (max-width: 767px) {
    body {
        font-size: 16px;
    }
}
@media (min-width: 767px) {
    body {
        font-size: 17px;
    }
}
@media (min-width: 992px) {
    body {
        font-size: 18px;
    }
}

a, a:focus, a:visited {
    text-decoration: none;    
    color: #5e5e5e;
    transition: all 1s ease;
}
a:hover {
    text-decoration: none;    
    color: #fff;
    transition: all 1s ease;
}



h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    line-height: 130%;
}
h1, h2 {
    color: #161616;
}
@media (max-width: 767px) {
    h1, h2 {margin-bottom: 20px; font-weight: 300; font-size: 26px;}
    h3 {margin-bottom: 10px; font-size: 20px; font-weight: 600;}
    h4 {margin-bottom: 5px; font-size: 18px; font-weight: 600;}
}
@media (min-width: 767px) {
    h1, h2 {margin-bottom: 25px; font-weight: 300; font-size: 34px;}
    h3 {margin-bottom: 15px; font-size: 24px; font-weight: 600;}
    h4 {margin-bottom: 8px; font-size: 20px; font-weight: 600;}
}
@media (min-width: 992px) {
    h1, h2 {margin-bottom: 30px; font-weight: 300; font-size: 40px;}
    h3 {margin-bottom: 20px; font-size: 30px; font-weight: 600;}
    h4 {margin-bottom: 10px; font-size: 24px; font-weight: 600;}
}



main {
    width: 100%;
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
    max-width: 450px;
}
@media (max-width: 767px) {
    main {
        padding: 0 40px;
    }
}
@media (min-width: 767px) {
    main {
        padding: 0 35px;
    }
}
@media (min-width: 992px) {
    main {
        padding: 0 30px;
    }
}



header {
    text-align: center;
    height: 100vh;
    position: relative;
}
header > div {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}



header > div > img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 15vw;
}
header a.contact {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid #5e5e5e;
    font-weight: 600;
}
header a.contact:hover {
    border: 1px solid #fff;
}



section#top {
    text-align: center;
} 
section#top > img {
    display: block;
    width: 100%;
    height: auto;
}
@media (max-width: 767px) {
    section#top > img {
        margin-bottom: 60px;
    }
    section#top {
        padding-top: 60px;
    }
}
@media (min-width: 767px) {
    section#top > img {
        margin-bottom: 80px;
    }
    section#top {
        padding-top: 80px;
    }
}
@media (min-width: 992px) {
    section#top > img {
        margin-bottom: 100px;
    }
    section#top {
        padding-top: 100px;
    }
}



footer {
    width: 100%;
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
    max-width: 450px;
}
@media (max-width: 767px) {
    footer {
        margin-top: 60px;
        margin-bottom: 30px;
        padding: 0 40px;
    }
}
@media (min-width: 767px) {
    footer {
        margin-top: 80px;
        margin-bottom: 40px;
        padding: 0 35px;
    }
}
@media (min-width: 992px) {
    footer {
        margin-top: 100px;
        margin-bottom: 50px;
        padding: 0 30px;
    }
}
footer ul {
    list-style: none;
    margin: 0;
    padding: 0;    
    text-align: center;
    width: 100%;
}
footer ul li {
    display: inline-block;
    margin: 0 10px;
}
footer ul li a, footer ul li a:focus, footer ul li a:visited, footer ul li a:hover {
    cursor: pointer;
}




.nf-form-content {
    padding: 0 !important;
    max-width: 100% !important;
    margin: 0 auto;
}
.nf-form-content .nf-field-element input, 
.nf-form-content .nf-field-element textarea {
    background: transparent !important;
    font-family: 'Work Sans' !important;
    border: 1px solid #5e5e5e !important;
}
.nf-form-content input[type=button] {
    background: #fff !important;
    font-family: 'Work Sans' !important;
    color: #161616 !important;
    width: 100% !important;
    display: block !important;
    font-weight: 600 !important;
    margin-bottom: 0 !important;
}
.nf-form-content .nf-field-element input, 
.nf-form-content input[type=button] {
    line-height: 1 !important;
    padding: 12px !important;
}
#ninja_forms_required_items, .nf-field-container {
    margin-bottom: 15px !important;
}
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}



.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 900px;
}
.close {
    color: #5e5e5e;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


.nf-before-form-content {
    display: none !important;
}
.field-wrap.checkbox-wrap {
	display: block !important;
	text-align: left !important;
	margin-top: 30px !important;
	color: #5e5e5e !important;
	margin-bottom: 30px !important;
}
.field-wrap.checkbox-wrap .nf-field-description {
	line-height: 145% !important;
    margin-top: 10px !important;
}