/*
Theme Name: CAR:NATION
Theme URI: https://9px.eu
Author: Snik von 9PX
Author URI: https://9px.eu
Description: Erstes Template für Carnation created by Snik von 9PX
Version: 1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: erstestemplate
Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready
*/

a, a:active, a:focus {
        outline: none !important;
    }

/* EVENTS ADD TO CALENDER FIX */
.single-tribe_events .tribe-events-c-subscribe-dropdown__container, .tribe-events .tribe-events-c-subscribe-dropdown__container {
    width: 100px;
}

/* WORDPRESS BLOCK CSS CODE */



.wp-block-gallery.has-nested-images {
    display: flex;
    flex-wrap: wrap;
}

.blocks-gallery-grid, .wp-block-gallery {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.wp-block-gallery {
    margin-top: 32px !important;
}

figure.wp-block-image:not(#individual-image) {
    margin: 0 -15px !important;
}

.wp-block-gallery.has-nested-images figure.wp-block-image {
    display: flex;
    flex-grow: 1;
    justify-content: center;
    position: relative;
    margin-top: auto;
    margin-bottom: auto;
    flex-direction: column;
    max-width: 100%;
}

.blocks-gallery-grid, .wp-block-gallery {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

@media (min-width: 600px) {
.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image) {
    margin-right: var(--gallery-block--gutter-size,16px);
    width: calc(33.33% - var(--gallery-block--gutter-size, 16px)*0.66667);
}
}

.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) {
    align-self: inherit;
}

figure.wp-block-image:not(#individual-image) {
    margin: 0 -15px !important;
}

.wp-block-gallery.has-nested-images figure.wp-block-image {
    display: flex;
    flex-grow: 1;
    justify-content: center;
    position: relative;
    margin-top: auto;
    margin-bottom: auto;
    flex-direction: column;
    max-width: 100%;
}


.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a, .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img {
    width: 100%;
    flex: 1 0 0%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image)>a, .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image)>div:not(.components-drop-zone) {
    display: flex;
}

.wp-block-gallery.has-nested-images figure.wp-block-image>a, .wp-block-gallery.has-nested-images figure.wp-block-image>div {
    margin: 0;
    flex-direction: column;
    flex-grow: 1;
}

.wp-block-image:not(.is-style-rounded)>a, .wp-block-image:not(.is-style-rounded) img {
    border-radius: inherit;
}

.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a, .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img {
    width: 100%;
    flex: 1 0 0%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.wp-block-image img {
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
}




/* WORDPRESS BLOCK CSS CODE ENDE */

html {
	
	font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
	image-rendering: -webkit-optimize-contrast;
}

body {
 margin: 0px !important;
 background-color: #F5F5F5;
}

input:focus {
    outline: none !important;
}

.uk-search-input {
	text-transform: uppercase;
	color: #000;
	font-weight: 700;
}

.bodycontainer {
    margin: 15px;
}

.entry p {
max-width: 1200px;
margin: 15px auto;
font-style: normal;
font-size: 1.25rem;
font-weight: 300;
color: #000;
}

.entry a {
	text-decoration: underline;
	text-decoration-style: dashed;
}

.entry a:hover {
	text-decoration: underline;
	text-decoration-style: solid;
}

.uk-icon-button {
	margin-top: 5px;
	background: none;
	color: #000;
	border: 1px solid #000;
}

.uk-icon-button:hover {
	background: #000;
	color: #fff;
	border: 1px solid #000;
}

.infodate {
	position: relative;
	top: 0px;
	background: #000;
	display: table;
	left: 50%;
    transform: translate(-50%, 0);
	padding: 7px 10px;
	margin-bottom: 50px;
	text-align: center;
	color: #fff;
	text-transform: uppercase;
}

.bareventdata {
	background:#000;
	display:table;
	width: 250px;
	max-width: 90%;
	color:white;
	font-size: 1.2em;
	padding: 0px 10px 2px 10px;
	font-weight:600;
	margin-top: 50px;
}

.eventdata {
	width: 1200px;
	max-width: 100%;
	margin: auto;
	margin-top:100px;
}

.eventdata h1 {
	text-transform:uppercase;
	margin:0;
	line-height:1em;
	padding:0;
	color:black;
	font-size:5em;
	font-weight:700;
}

.eventdata h2 {
	text-transform:uppercase;
	margin:0;
	line-height:1em;
	padding:0;
	color:black;
	font-size:5em;
	font-weight:700;
}

.eventdata h3 {
	text-transform:uppercase;
	margin:0;
	line-height:1em;
	padding:0;
	color:black;
	font-size:5em;
	font-weight:700;
}

span.metadata {
	text-transform:uppercase;
	margin:0;
	padding:0;
	color:black;
	font-size:1.5em;
	font-weight:500;
}

.num {
	font-size: 4em;
	line-height: 1em;
	margin: 0;
	padding: 0;
	font-weight: 400;
}

.month {
	font-weight: 200;
	font-size: 1.2em;
	line-height: 1em;
	margin: 0;
	padding: 0;
}

.year {
	font-weight: 500;
	font-size: 1.2em;
	line-height: 1em;
	margin: 0;
	padding: 0;
}


.infobox {
	text-align: center;
	border: 0px solid #000;
	padding: 0px 10px;
	display: table;
	margin: 0px auto;
	max-width: 90%;
	margin-top: 100px;
	background: #000;
}

.infobox h1 {
font-size: calc(2.5rem + 2.2125vw);
font-weight: 700;
text-transform: uppercase;
color: #fff;
	margin: 0;
}

.infotitle {
	width: 100%;
	text-align: center;
	position:absolute;
	background-color: #F5F5F5;
	padding: 25px 0px;
	top: 160px;
}

.metainfo {
	padding: 50px 15px;
	text-align: center;
	color: #000;
}

.l1, .l2, .l3, .f1, .f2 {
	text-transform: uppercase;
}

.l1, .f1 {
	font-size: 1.5em;
	line-height: 1em;
	margin-top: 5px;
	font-weight: 300;
}

.l3, .f2 {
	font-size: 0.7em;
	font-weight: 800;
}

.l2 {
	font-weight: 500;
	font-size: 1.2em;
}

p.created {
  max-width: 1200px;
  margin: 0px auto;
  margin-bottom: 15px;
  text-transform: uppercase;
}


p.photographmeta {
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 15px;
  text-transform: uppercase;
  font-size: 1.2em;
}

.post h2, .post h3, .post h4, .post h5, .post h6 {
	max-width: 1200px;
	margin: 20px auto;
}

h1.posttitle {
  font-size: calc(2.5rem + 2.2125vw);
line-height: 1.1;
font-weight: 700;
text-transform: uppercase;
font-style: italic;
background-color:rgba(0, 0, 0, 0.5);
	padding: 7px 15px;
}

.bar {
  text-align: center;
  border-bottom: 1px solid #F0F0F0;
  border-left: 1px solid #F0F0F0;
  border-right: 1px solid #F0F0F0;
  color: black;
  text-transform: uppercase;
  font-weight: 600;
  background-color: #fff;
  padding: 15px;
  line-height: 1.2;
}

a {
  color: black;
}

a:hover {
  text-decoration: none;
  color: #c0392b;
}

.post h2 {
  text-transform: uppercase;
  font-weight: 800;
  font-style: italic;
}


p.meta {
  margin: 0;
  padding: 0;
  font-size: 0.8em;
  opacity: 0.7;
}


.catbutton {
  position: absolute;
  left: 0; 
  right: 0; 
  margin-left: auto; 
  margin-right: auto; 
  top: 0;
  width: 120px; /* Need a specific value to work */
  padding: 4px 5px;
  color: #fff;
  text-transform: uppercase;
}

.placenumber {
  position: absolute;
  left: 15px; 
  top: 5px;
  width: 20px; /* Need a specific value to work */
  padding: 4px 5px;
  color: #fff;
  text-transform: uppercase;
	background: #000;
}

.uk-subnav-pill > .uk-active > a {
  background-color: black;
}

.drift .catbutton, .uk-subnav-pill > .uk-active > a.drift {
  background-color: #e74c3c;
}

.kalender .catbutton, .uk-subnav-pill > .uk-active > a.kalender {
  background: #3498db;
}

.shootings .catbutton, .uk-subnav-pill > .uk-active > a.shootings {
  background: #2ecc71;
}

.carmeets .catbutton, .uk-subnav-pill > .uk-active > a.carmeets {
  background: #9b59b6;
}

.motorsport .catbutton, .uk-subnav-pill > .uk-active > a.motorsport {
  background: #F1C40F;
}

.messe .catbutton, .uk-subnav-pill > .uk-active > a.messe {
  background-color: #40E0D0;	
}

.video .catbutton, .uk-subnav-pill > .uk-active > a.video {
  background-color: #3572fd;	
}

li.drift img {
  border-top: 5px solid #e74c3c;
}

li.kalender img {
  border-top: 5px solid #3498db;
}

li.shootings img {
  border-top: 5px solid #2ecc71;
}

li.carmeets img {
  border-top: 5px solid #9b59b6;
}

li.motorsport img {
  border-top: 5px solid #F1C40F;
}

li.messe img {
  border-top: 5px solid #40E0D0;
}

li.video img {
  border-top: 5px solid #3572fd;
}

.post small {
	display: block;
	max-width: 1200px;
	margin: 0px auto;
}

.wp-block-gallery {
	margin-top: 32px !important;
}
figure.wp-block-image:not(#individual-image) {
  margin: 0px -15px 0px -15px !important;
}

.uk-navbar-nav > li > a {
  color: #fff;
  font-weight: 600;
}

.uk-navbar-container {
    background: black !important;
}

.mobile {
  height: 60px;
  line-height: 60px;
}

.mobile .uk-navbar-toggle {
  min-height: 60px;
  color: white;
}

.mobilenav a {
  color: white !important;
  text-transform: uppercase;
}

.footer {
  max-width: 100%;
  padding: 35px 15px;
  text-align: center;
}

  .blocks-gallery-item {
    margin: 0px -10px 0px -10px !important;
  }


/* WOOCOMMERCE STYLING */ 

h1.product_title.entry-title {
text-transform: uppercase;
    margin: 0;
    line-height: 1em;
    padding: 0;
    color: #000;
    font-size: 3em;
    font-weight: 700;
}

p.price {
text-transform: uppercase;
    margin: 0;
    line-height: 1em;
    padding: 10px 0;
    color: #000;
    font-size: 1.5em;
    font-weight: 700;
}

.woocommerce-product-details__short-description {
    font-style: normal;
    font-size: 1.25rem;
    font-weight: 300;
    color: #000;
}

.quantity {
	display: inline-block;
}

input.input-text.qty.text {
	width: 4.235801032em;
    text-align: center;
	padding: 1em;
	font-size: 1.1em;
    background-color: #f2f2f2;
    color: #43454b;
    border: 0;
    -webkit-appearance: none;
    box-sizing: border-box;
    font-weight: 400;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .125);
}

.single_variation_wrap {
	margin-top: 15px;
}

.single_add_to_cart_button {
	padding: 1em;
    background-color: #000;
    color: #fff;
    font-weight: 400;
	border: none;
	font-size: 1.1em;
	text-transform: uppercase;
}

select#groesse {
	padding: 1em;
}

.uk-slidenav {
    color: rgba(255, 255, 255, 1) !important;
	background: rgba(0, 0, 0, .5) !important;
	padding: 7px;
}

th.label {
	padding-right: 15px;
	color: #000;
	text-transform: uppercase;
}

.shopmenue {
	background: #f5f5f5 !important;
	height: 40px;
	padding: 0px 25px;
	max-width: 1200px;
	margin: 0px auto;
}

.shopmenue .uk-navbar-nav>li>a {
	height: 30px;
	min-height: 30px;
	color: #000;
}

.wc-block-components-button {
	background: black;
	color: #fff;
}

a.wc-block-cart__submit-button {
	text-decoration: unset;
}

a.wc-block-cart__submit-button:hover {
	text-decoration: unset;
	color: #fff;
}

@media screen and (max-width: 1200px) {
  .blocks-gallery-item {
    width: 50% !important;
    margin: 0px -10px 0px -10px !important;
  }
	
		figure.wp-block-image:not(#individual-image) {
		width: 50% !important;
margin: 0px -15px 0px -15px !important;
}
	
		.eventdata h1, .eventdata h2, .eventdata h3 {
		padding-left: 10px;
	}
	
	span.metadata {
		padding-left: 10px;
	}
}

@media screen and (max-width: 764px) {
	.noshow {
	display: none;
}
	
	.showit {
		display: block !important;
	}
	
	
  .blocks-gallery-item {
    width: 100% !important;
    margin: 0px -10px 0px -10px !important;
  }
	
	figure.wp-block-image:not(#individual-image) {
		width: 100% !important;
  margin: 0px !important;
}
	
	.wp-block-gallery {
		margin: 0px -10px !important;
	}

  .bodycontainer {
    margin: 10px;
}


.uk-offcanvas-bar {
  width: 100%;
  top: 60px;
  background: black;
}

.entry p {
font-size: 1rem;
;
}
	
	.eventdata h1, .eventdata h2, .eventdata h3 {
		padding-left: 5px;
	}
	
	span.metadata {
		padding-left: 5px;
	}

h1.posttitle {
  font-size: calc(1.5rem + 2.2125vw);
  text-align: center;
}
	
	.infodate {
	margin-bottom: 55px;
}

.num {
	font-size: 2em;
	line-height: 1em;
}

.month {
	font-weight: 200;
	font-size: 0.8em;
	line-height: 1em;
	margin: 0;
	padding: 0;
}

.year {
	font-weight: 500;
	font-size: 0.8em;
	line-height: 1em;
	margin: 0;
	padding: 0;
}
	
	.infobox {
		border: 0;
		margin-top: 60px;
	}
	
	.infobox h1 {
font-size: calc(2rem + 2.2125vw);
}
	
	.metainfo {
	padding: 15px 10px;
}
	
	.eventdata {
	margin-top:50px;
	margin-bottom:25px;
}

.eventdata h1 {
	font-size:2em;
	font-weight:700;
}

.eventdata h2 {
	font-size:2em;
	font-weight:700;
}

.eventdata h3 {
	font-size:2em;
	font-weight:700;
}

span.metadata {
	font-size:1em;
	font-weight:500;
}
	.bareventdata {
	width: auto;
	max-width: 90%;
	font-size: 1em;
	font-weight:600;
	margin-bottom: 5px;
}

}