/*
	Theme Name: PERMETINGER
	Description: WordPress Theme
	Version: 1.0
	Author: HEROLD Business Data GmbH
	Author URI: http://www.herold.at
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

@import 'https://fonts.bunny.net/css?family=Cabin';

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}

/* html element 62.5% font-size for REM use */

html {
	font-size:62.5%;
}

body {
	font-size: 1.6em;
    font-family: 'Cabin', sans-serif;
	color: #444;
	margin: 0;
	padding: 0;
}

.cta_banner, .teaser, footer {
    font-size: 0.9em;
}

img {
	max-width:100%;
	vertical-align:bottom;
}

a {
	color: #891623;
    font-weight: bold;
	text-decoration:none;
}

.header_nav a, .footer_nav a {
    font-weight: normal;
}

.header_nav a {
    color: #9d9b8f;
}

.header_nav ul {
    padding: 0;
    margin: 0;
}

.header_nav ul.sub-menu a {
    color: #ffffff;
    padding: 0;
}

.footer_nav a {
    color: #000000;
}

a:hover,
a:active,
a:focus {
	outline:0;
    text-decoration: none;
    color: #444;
}

h1, h3, h4 {
    color: #891623;
}

h2 {
    color: #444;
}

.teaser h2 {
    font-size: 1.2em;
    margin-top: 20px;
    text-transform: uppercase;
}

.user h2 {
    font-size: 2em;
    margin: 20px 0;
    text-transform: uppercase;
}

sub {
    font-size: 1em;
    font-weight: bold;
    bottom: 0.5em;
    text-align: center;
    position: relative;
    padding-top: 25px;
    display: block;
    margin-top: 20px;
    line-height: 1.5em;
    height: 70px;
}

sub::before {
    content: ' ';
    position: absolute;
    top: 0;
    width: 30px;
    height: 1px;
    background-color: #444;
    left: 0;
    right: 0;
    margin: auto;
}

input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

ul {
	list-style: none;
}

button {
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
}


/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* Header */

header {
    margin-top: 10px;
    border-top: 2px solid #E3DFD3;
    border-bottom: 2px solid #E3DFD3;
    padding: 5px 0;
}

.logo {
    float: left;
    position: relative;
    margin-right: 10px;
}

.cta_banner {
    font-weight: bold;
    color: #891623;
    text-align: right;
    margin: 20px 0 15px;
}

.cta_banner i {
    padding-right: 5px;
}

.cta_banner ul {
    padding: 0;
    margin: 0;
}

.cta_banner ul li {
    display: inline-block;
    padding: 0 0 0 30px;
}

/* Main Menü */

#burger {
    display: none;
}

.header_nav {
    text-align: right;
    margin-top: -4px;
    position: relative;
    z-index: 11;
}

.header_nav ul li {
    display: inline-block;
    padding: 0 0 10px 25px;
    position: relative;
}

.header_nav .sub-menu {
    display: none;
    position: absolute;
    width: 220px;
    background-color: rgba(137,23,36,0.9);
    padding: 10px;
    margin: 5px auto 0;
    left: 0;
    margin-left: -50px;
}

.header_nav li:hover > .sub-menu {
    display: block;
}

.header_nav ul.sub-menu li {
    display: block;
    font-size: 0.95em;
    text-align: center;
    padding: 10px 0;
    margin: 0;
}

/* Flexslider */

.flexslider {
    position: relative;
    width: 100%;
    margin: 20px auto 0;
    z-index: 10;
}

.flexslider img {
    width: 1140px;
}

.flexslider ul, .flexslider li {
    padding: 0;
    margin: 0;
}

.flexslider li {
    position: relative;
}

.flexslider .flexslider_content {
    position: absolute;
    width: 500px;
    height: 130px;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 11;
}

.flexslider .flexslider_content article {
    position: relative;
    text-align: center;
    color: #ffffff;
    font-size: 1.7em;
}

.flexslider .flexslider_content article p, .flexslider .flexslider_content article h2 {
    padding: 0;
    margin: 0;
}

.flexslider .flexslider_content article h2 {
    font-size: 2em;
    color: #ffffff;
}

.flex-direction-nav {
    margin: auto !important;
    position: absolute;
    top: 0;
    width: 100%;
    display: block;
    bottom: 0;
    height: 65px;
}

.flex-prev, .flex-next {
    display: inline-block;
    font-size: 0;
    position: absolute;
}

.flex-prev {
    left: 10px;
}

.flex-next {
    right: 10px;
}

.flex-prev::before, .flex-next::after {
    font-size: 60px;
    color: #ffffff;
    font-family: 'FontAwesome';
}

.flex-prev::before {
    content: '\f104';
}

.flex-next::after {
    content: '\f105';
}

.cta_button {
    position: absolute;
    width: 250px;
    height: 250px;
    left: -60px;
    bottom: -60px;
    z-index: 10;
}

/* Teaser */

.teaser {
    text-align: center;
    margin: 20px auto 0;
    position: relative;
    background-color: #f5f5f5;
    padding: 30px 0;
    float: left;
}

.teaser ul {
    padding: 0;
    margin: 0;
}

.teaser img {
    width: 100px;
}

/* Content */

.content {
    position: relative;
    padding: 20px 60px;
    float: left;
    width: 100%;
    margin-top: 20px;
}

.content li {
    list-style: initial;
}

iframe {
    float: right;
}

/* Gravity Forms */

#gform_fields_1 input {
    border: 1px solid #cccccc;
}

#gform_submit_button_1 {
    background-color: #891623;
    padding: 10px 30px;
    border: none;
    color: #ffffff;
    transition: ease 1s;
}

#gform_submit_button_1 a {
    color: #ffffff;
}

#gform_submit_button_1:hover {
    padding: 10px 50px;
}

/* Mitarbeiter */

.user {
    position: relative;
    text-align: center;
    background-color: #f5f5f5;
    padding: 10px;
    float: left;
}

.user ul {
    margin: 0;
    padding: 0;
}

.user img {
    border-radius: 50%;
}

/* Footer */

footer {
    background-color: #e3dfd3;
    margin: 20px auto;
    text-align: center;
}

.footer_nav {
    padding: 10px 0;
}

.footer_nav ul {
    padding: 0;
    margin: 0;
}

.footer_nav ul li {
    display: inline-block;
    padding: 0 20px;
}


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media screen and (max-width: 1259px) {
    
    .cta_button {
    width: 200px;
    height: 200px;
    left: -30px;
    }
    
}

@media screen and (max-width: 1199px) {
    
    .cta_banner {
        font-size: 2em;
    }
    
    .settings {
        display: none;
    }
    
    #burger {
        display: inline-block;
    }
    
    .header_nav {
        display: none;
        text-align: center;
        position: absolute;
        background-color: #891724;
        right: 0;
        top: 114px;
        padding: 20px;
        margin-right: 24px;
    }

    .header_nav ul li {
        display: block;
        padding: 15px 0;
    }
    
    .header_nav a {
        color: #ffffff;
    }
    
    #burger:hover .header_nav {
        display: block;
    }
    
    .header_nav li:hover > .sub-menu {
        display: block;
        position: relative;
        margin-left: 0;
        width: 100%;
    }
    
}

@media screen and (max-width: 991px) {
    
    .cta_banner {
        font-size: 1.6em;
        padding: 10px 0 0;
    }
    
    .cta_button {
        display: none;
    }
    
    .teaser ul li {
        margin-bottom: 20px;
    }
    
    .teaser ul li:last-child {
        margin-bottom: 0;
    }
    
    .content {
        padding: 20px 0;
    }
    
    .user article {
        margin-bottom: 30px;
    }
    
    sub {
        height: auto;
    }
    
}

@media screen and (max-width: 680px) {
    
    .cta_banner {
        display: block;
        text-align: center;
        margin: 0;
    }
    
    .cta_banner ul li {
        padding: 0 15px;
    }
    
    .header_nav {
        right: 0;
        top: 157px;
        left: 0;
        width: 250px;
        margin: auto;
    }
    
    .logo {
        float: none;
    }
    
    .logo img {
        display: block;
        margin: 0 auto;
    }
    
    .flexslider .flexslider_content {
        width: 320px;
        height: 75px;
    }

    .flexslider .flexslider_content article, .flexslider .flexslider_content article h2 {
        font-size: 1.3em;
    }
    
    .flex-direction-nav {
        height: 55px;
    }
    
    .flex-prev::before, .flex-next::after {
        font-size: 40px;
    }
    
    iframe {
        float: none;
        display: block;
        width: 100%;
    }
    
    .content img {
        float: none;
        display: block;
        margin: 10px auto 0;
    }
    
}

@media screen and (max-width: 430px) {
    
    .logo img {
        width: 280px;
    }
    
    .header_nav {
        top: 131px;
    }
    
    .teaser img {
        width: 70px;
    }
    
    h1, .user h2 {
        font-size: 1.4em;
        margin: 0.4em 0;
        line-height: 1.3em;
    }
    
    h2 {
        font-size: 1.1em;
    }
    
    h3 {
        font-size: 1em;
    }
}



/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
