/*
	Theme Name: Cruddy Theme
	Description: Mein erstes Theme
	Author: Pascal Biemann
	Version: 1.0.0
	License: GNU General Public License v2 or later
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

*,
*::after,
*::before
{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body
{
	font-weight: normal;
	font-size: 14pt;
	font-family: helvetica;
	line-height: 1.5;
}

main a
{
	word-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6
{
	-webkit-hyphens: auto;
	hyphens: auto;
	font-weight: bold;
}

h1
{
	font-size: 28pt;
}

h2
{
	font-size: 28pt;
}

h3
{
	font-size: 24pt;
}

h4
{
	font-size: 20pt;
}

h5
{
	font-size: 16pt;
}

.panel-grid
{
	margin-bottom: 0 !important;
}

#header .navigation-area
{
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: inherit;
}

#header .navigation-area .cruddy-area-content
{
	padding: 0;
}

#header .navigation-area,
#header .navigation-area .header-logo img
{
	transition: height 0.5s;
	z-index: 99999;
}

#header .navigation-area.sticky
{
	position: fixed;
}

#header .navigation-area-placeholder
{
	position: relative;
}

#header .cruddy-navigation-parent
{
	height: 100%;
	display: flex;
	flex-flow: column wrap;
}

#cruddy-breadcrumb
{
	background-color: #000;
}

#cruddy-breadcrumb .cruddy-breadcrumb-separator
{
	display: inline-block;
	margin: 0 10px;
}

#cruddy-breadcrumb .cruddy-breadcrumb-separator,
#cruddy-breadcrumb .cruddy-breadcrumb-title,
#cruddy-breadcrumb .cruddy-breadcrumb-title a
{
	color: white;
	font-size: 11pt;
	text-decoration: none;
}

#cruddy-breadcrumb .cruddy-breadcrumb-title a:hover
{
	text-decoration: underline;
}

#footer a
{
	text-decoration: none;
}

#footer a:hover
{
	text-decoration: underline;
}

p,
address
{
	font-style: normal;
	margin: 14pt 0;
}

input,
textarea,
select
{
	border-radius: 5px;
	font-size: 14pt;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
textarea,
select
{
	width: 100%;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
textarea
{
	padding: 8px 10px;
}

select
{
	padding: 7px 10px;
}

input[type="submit"],
input[type="button"]
{
	cursor: pointer;
	font-size: 14pt;
	padding: 5px 10px;
	border-radius: 2px;
	border: 1px solid #ccc;
}

.vertical-align-container,
.vertical-align-container > .vertical-align
{
	height: 100%;
	width: 100%;
}

.vertical-align-container
{
	display: table;
}

.vertical-align
{
	display: table-cell;
}

.vertical-align-middle
{
	vertical-align: middle;
}

.wpcf7-checkbox .wpcf7-list-item
{
	display: block;
}

[class^="hidden"]
{
	visibility: hidden;
}

.hidden-add-content::before
{
	content: ".";
}

.ratio,
[class*="ratio-"]
{
	position: relative;
	width: 100%;
}

.ratio::after,
[class*="ratio-"]::after
{
	content: "";
	display: block;
}

.ratio > *,
[class*="ratio-"] > *
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.ratio-16-9
{
	padding-top: 56.25%;
}

.align-left-inline
{
	text-align: left;
}

.align-center-inline
{
	text-align: center;
}

.align-left-right
{
	text-align: right;
}

.align-justify-inline
{
	text-align: justify;
}

.align-left-block
{
	float: left;
	clear: left;
}

.align-center-block
{
	margin-left: auto;
	margin-right: auto;
}

.align-right-block
{
	float: right;
	clear: right;
}

.cruddy-checkbox
{
	position: relative;
	width: 48px;
	height: 28px;
}

.cruddy-checkbox input[type="checkbox"]
{
	display: none;
}

.cruddy-checkbox input[type="checkbox"] + label
{
	position: absolute;
	display: block;
	border-radius: 18px;
	background-color: #CCC;
	border: 1px solid #999;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}

.cruddy-checkbox input[type="checkbox"]:checked + label
{
	background-color: lightgreen;
}

.cruddy-checkbox input[type="checkbox"]:checked + label::after
{
	left: 20px;
}

.cruddy-checkbox input[type="checkbox"] + label::after
{
	content: "";
	background-color: white;
	display: block;
	height: 100%;
	width: 26px;
	border-radius: 100%;
	position: absolute;
	left: 0;
	top: 0;
}
.cruddy-checkbox input[type="checkbox"] + label,
.cruddy-checkbox input[type="checkbox"] + label::after
{
	transition: all 0.5s;
}

.ratio
{
	position: relative;
}

.ratio::after
{
	content: "";
	display: block;
}

.ratio-16-9
{
	padding-top: 56.25%;
}

.page-title-action
{
	text-decoration: none;
	border: 1px solid #ccc;
	padding: 3px 10px;
	font-size: 12pt;
	background-color: #eee;
	font-weight: normal;
	margin-left: 5px;
	position: relative;
	top: -2px;
}

.page-title-action:hover
{
	background-color: #00A0D2;
	color: white;
}

[class*="btn-"]
{
	cursor: pointer;
}

.btn-block > .btn-container
{
	position: absolute;
	left: 0;
	top: 50%;
	width: 100%;
	transform: translateY(-50%);
	text-align: center;
}

.table-horizontal-responsive,
.table-horizontal-responsive tr,
.table-horizontal-responsive th,
.table-horizontal-responsive td
{
	background-color: transparent !important;
	border: none !important;
	text-align: center;
}

.table-horizontal-responsive tr,
.table-horizontal-responsive td
{
	display: block;
}

.table-horizontal-responsive tr
{
	padding: 20px 10px 27px; 
}

.table-horizontal-responsive tr:nth-child(1)
{
	display: none;
}

.table-horizontal-responsive tr:nth-child(n + 1):nth-child(-n + 2)
{
	padding-top: 0 !important; 
}

.table-horizontal-responsive tr:last-child
{
	padding-bottom: 0; 
}

.table-horizontal-responsive tr:nth-child(n + 3)
{
	border-top: 2px solid #265992 !important;
}

.table-horizontal-responsive td:nth-child(n + 2)
{
	margin-top: 25px;
}

.table-horizontal-responsive td::before
{
	display: block;
	content: attr(data-responsive-heading);
	font-weight: bold;
	margin-bottom: 5px;
}

.sidebar-template
{
	padding: 0 20px;
}

.sidebar-template .sidebar-row > .cruddy-col.main
{
	width: 100%;
	padding-right: 30px;
}

.sidebar-template .sidebar-row > .cruddy-col.sidebar
{
	width: 400px;
	padding-left: 30px;
}

.sidebar-template .sidebar-row > .cruddy-col.sidebar aside > .panel-layout > .panel-grid:not(:first-child)
{
	padding-top: 20px;
	margin-top: 20px;
	border-top: 1px solid #ccc;
}

.sidebar-template .sidebar-row > .cruddy-col.sidebar
{
	border-left: 1px solid #ccc;
}