@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Karla:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
/* reset */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; } body {line-height: 1; } ol, ul {list-style: none; } blockquote, q {quotes: none; } blockquote:before, blockquote:after, q:before, q:after {content: ''; content: none; } /* remember to define focus styles! */ :focus {outline: 0; } /* remember to highlight inserts somehow! */ ins {text-decoration: none; } del {text-decoration: line-through; } /* tables still need 'cellspacing="0"' in the markup */ table {border-collapse: collapse; border-spacing: 0; }

/*
   BACKSTAGE | RENAULT 4 CLUB
   2022 - Cybox Backstage CMS

*/

/* BASICS */
html, body {
    height: auto;
}
body {
    /* design color vars*/
    --background: #fff; /* main background and light color for buttons etc */
    --accents: #ffcf31; /* secondary backgrounds */
    --accents2: #f3efe4; /* secondary backgrounds */
    --main: #1d1d1b; /* general text color, previously all that was #000; */
    --titles: #1d1d1b; /* colors for general h1, h2, h3 */
    --primarycta: #887e63; /* buttons and menu active class */
    --secondarycta: #887e63; /* buttons hover and menu hovers */
    --error: #ff006c; /* buttons hover and menu hovers */

    /* general */
    background: var(--background);
    color: var(--main);
    font-family: 'Karla', sans-serif;
    font-size: 1.2em;
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: scroll;
    padding-top: 100px; /* #header-height */
}
a {
    text-decoration: none;
    color: var(--primarycta);
}
a:hover {
    color: var(--secondarycta);
}
body:after {
    content: "";
    width: 100%;
    height: 100px;
    position: absolute;
    left:  0;
    top:  0;
    background: var(--accents);
}

/* OVERALL TYPE & BUTTONS */
h1 {
    font-size: 2.6em;
    line-height: 1.2;
    font-weight: 700;
    padding-bottom: 0.7em;
    margin-top: -10px;
    color:  var(--titles);

    font-family: "DM Serif Display";
    font-weight: 400;
}
h2 {
    font-size: 1.5em;
    line-height: 1.2;
    font-weight: 900;
    padding-bottom: 0.6em;
    color:  var(--titles);
    text-transform: uppercase;
}
h3 {
    font-size: 1.2em;
    line-height: 1.2;
    font-weight: 700;
    padding-bottom: 0.2em;
    color:  var(--titles);
}
.btn {
	padding: 15px 25px;
    margin: 0px 0;
    border-radius: 3px;
	border: 0;
	display: inline-block;
	background: var(--main);
	color: var(--background);
	line-height: 1;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
	text-align: center;
    font-family: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    width: auto;
    font-size: 1em;
}
.btn:hover {
	background: var(--secondarycta);
	color: var(--background);
}
.btn.grey {
	opacity: 0.5;
	background: var(--accents);
	color: var(--main);
}

/* HEADER (MENU) */
#header {
    width: 100%;
    height: 100px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 7;
    background: var(--accents);
}
#header #header-container {
    max-width: 1400px;
    width: 90%;
    margin: 0 auto;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* MENU - logo */
#header #logo {
    width: 150px;
}
#header #logo a {
    display: block;
}
#header #logo img {
    display: block;
    width: 100%;
    pointer-events: none;
}
#menu-holder {
    display: flex;
    flex-direction: column;  
    align-items: flex-end; 

}
/* MENU - main nav */
ul#menu {
    display: flex;
    column-gap: 10px;
    position: relative;
    line-height: 1;
    order: 2;
}
ul#menu li {
    position: relative;
    white-space: nowrap;
}
ul#menu li:first-of-type {
    margin-left: 0;
}
ul#menu li a.master {
    color: var(--main);
    font-weight: 400;
    font-size: 1.1em;
    z-index: 2;
    position: relative;
    padding:  10px;
}
ul#menu li.active a.master {
    color: var(--primarycta);
}
ul#menu li a.master:hover {
    color: var(--secondarycta);
}
/*ul#menu li a.master.word-lid,*/
ul#menu li a.master.leden,
ul#menu li a.master.forum {
    background:  var(--accents2);
    border-radius: 3px;
    margin-left: 10px;
    padding-left: 40px;
    padding-right: 13px;
    background-image: url('/images/icons/leden.svg');
    background-size: 16px 16px;
    background-repeat: no-repeat;
    background-position: 13px 50%;
}
ul#menu li a.master.forum {
    background-image: url('/images/icons/forum.svg');
}
ul#menu li.hassub ul.sub {
    line-height: 1.8;
    position: absolute;
    bottom: 0px;
    left: -30px;
    visibility: hidden;
    transform: translateY(100%);
    padding: 25px 30px;
    padding-top: 25px;
    background: var(--accents);
    min-width: 200px;
    white-space: nowrap;
    z-index: 1;
}
ul#menu li.hassub:hover ul.sub {
    visibility: visible;
}
ul#menu li.hassub ul.sub li {
    margin-left: 0;
}
ul#menu li.hassub ul.sub li a {
    color: var(--main);
}
ul#menu li.hassub ul.sub li.active a {
    color: var(--primarycta);
}
ul#menu li.hassub ul.sub li a:hover {
    color: var(--secondarycta);
}
ul#menu li.hassub ul.sub li ul.subsub {
    margin-left: 1em;
}
ul#menu li.hassub ul.sub li.active ul.subsub li a {
    color: var(--main);
}
ul#menu li.hassub ul.sub li.active ul.subsub li.subsubactive a {
    color: var(--primarycta);
}
ul#menu li.hassub ul.sub li.active ul.subsub li a:hover {
    color: var(--secondarycta);
}
/* SECONDAY NAV - optionally, see header html, no sub foldout support */
ul#menu-second {
    order:  0;
    display: flex;
    column-gap: 20px;
    font-size: .7em;
    transform: translateY(-3px); /* sieb: optical strangeness */
}
ul#menu-second li a { 
    color: var(--main);
}
ul#menu-second li.active a,
ul#menu-second li a:hover {
    color: var(--primarycta);
}
ul#menu-second li.hassub ul.sub {
    display: none;
}
/*body.scroll ul#menu-second {
    top: -50px;
} */
/* MENU - nav buttons divs */
.nav-button {
    width: 30px;
    height: 30px;
    border-radius: 40px;
    position: absolute;
    right: 0;
    top: 50%;
    cursor: pointer;
    transform: translateY(-50%);
}
.nav-button a {
    display: block;
    width: 100%;
    height: 100%;
}
.nav-button svg {
    fill: var(--main);
    width: 100%; 
    height: 100%;
}
.nav-button#menu-button {
    right: 20px;
    display: none;
    z-index: 3;  
}
.nav-button#cart-button {
    right: 30px;
}
.nav-button#search-button {
    right: 80px;
}
.nav-button#cart-button .cart-num {
    background: #ccc;
    font-size: .6em;
    line-height: 20px;
    font-weight: 500; 
    color: var(--main);
    position: absolute;
    right: 0px;
    bottom: -5px;
    width: 20px;
    height: 20px;
    text-align: center;
    border-radius: 20px;
}
/* MENU - language - put it where you like */
#langmenu {
    position: absolute;
    left: 30px;
    top: 50%;
    display: flex;
    transform: translateY(-50%);
}
#langmenu a {
    display: block;
    width: 30px;
    height: 30px;
    overflow: hidden;
    border-radius: 30px;
    opacity: 0.5;
    margin-right: 20px;
}
#langmenu a.active,
#langmenu a:hover {
    opacity: 1;
}
#langmenu a img {
    display: block;
    width: 100%;
}


/* CAROUSEL + SIGNUP */
#carousel {
    padding: 150px 0; background: var(--accents2); text-align: center; line-height: 1;
    position: relative;
}


/* PAGE-HEADER */
#page-header {
    position: relative;
    background: #ccc;
    height: 50vh;
}
#page-header img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#page-header .arrow-down {
    width: 30px;
    height: 30px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    cursor: pointer;
    transform: translateX(-50%);
}
#page-header .arrow-down svg {
    width: 30px;
    height: 30px;
    fill: var(--background);
}
#page-header .breadcrumbs {
    position: absolute;
    left: 20px;
    top: 20px;
}
#page-header .breadcrumbs ul {
    display: flex;
    text-transform: lowercase;
}
#page-header .breadcrumbs ul li {
    padding-right: 10px;
    color: var(--background);
}
#page-header .breadcrumbs ul li:not(:last-child):after {
    content: "›";
    padding-left: 10px;
}
#page-header .breadcrumbs ul li a {
    color: var(--background);
}


/* CONTENT */
.row {
    padding: 80px 0;
    padding-top: 100px;
    position: relative;
}
.row.alt {
    background: var(--accents2);
}
.row.low-pad {
    padding-top: 80px;
}
.blob /* used for news and agenda labels @ home */ {
    position: absolute;
    right:  -30px;
    top:  -30px;
    font-size: 3em;
    font-family: "DM Serif Display";
    font-weight: 400;
    line-height: 1;
    opacity: 0.3;
}
.content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1400px;
    width: 90%;
    margin: 0px auto;
    column-gap:  100px;
    position: relative;
}
/* CONTENT > page_content */
.content .page_content {
    width: 100%;
    box-sizing: border-box;
    order: 1;
    /*min-height: 500px;*/
}
.content .page_content.hasmedia {
    width: 60%;
}
.content .page_content p {
    margin-bottom: 1.4em;
}

.row.alt .content .page_content {
    order:  1;
}
.row.alt .content .media {
    order:  0;
}

/*.content .page_content p:last-of-type {
    margin-bottom: 0;
}*/
.content .page_content img {
	display: block;
	width: 100%;
}
.content .page_content p:last-of-type > img {
	margin-bottom: 0;
}
.content .page_content ul,
.content .page_content ol {
    margin-bottom: 1.4em;
}
.content .page_content ul li {
    list-style-type: disc;
    margin-left: 20px;
}
.content .page_content ol li {
    list-style-type: decimal;
    margin-left: 20px;
}
.content .page_content table {
    border: 1px solid #ccc;
    width: 100%;
    margin-bottom: 1.4em;
}
.content .page_content table tr td {
    border: 1px solid #ccc;
    padding: 10px;
}
.content .media {
    order: 1;
    width: 40%;
    box-sizing: border-box;
}
.content .media a {
    position: relative;
    display: block;
    overflow: hidden;
    margin-bottom: 60px;
}
.content .media a:last-of-type { 
    margin-bottom: 0;
}
.content .media a img {
    width: 100%;
    display: block;
}
.content .media a .icon, .fotoalbum a .icon, .news-overview .item a .image .icon, .productmedia a .icon, .product a .icon {
    position: absolute;
    left: 50%;
    top: 50%; 
    transform: translate(-50%,-50%);
    width: 30px;
    height: 30px;
    display: none;
}
.content .media a .icon svg, .fotoalbum a .icon svg, .news-overview .item a .image .icon svg, .productmedia a .icon svg, .product a .icon svg {
    fill: var(--background);
    display: block;
    width: 30px; 
    height: 30px; 
}
.fotoalbum a:hover .icon, .content .media a:hover .icon, .news-overview .item a:hover .image .icon, .productmedia a:hover .icon, .product a:hover .icon {
    display: block;
}
.content .media a.video .icon, .productmedia a.video .icon {
    display: block;
}
.content .media .caption, .content .page_content .fotoalbum a .caption {
    display: block;
    padding: 30px 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    box-sizing: border-box;
    color: var(--background);
    opacity: 1;
    transition: opacity 300ms;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%; 
    line-height: 1;   
}

/* full set */
.content .media.media-full {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.content .media.media-full a {
    width:  20%;
    margin:  0;
}



/* OVERALL downloads/links */
.content .links {
    margin-top: 1em;
}
a.file,
a.link {
    display: flex;
    flex-wrap: nowrap;
    padding-left: 0;
    color: var(--main);
}
a.link svg,
a.file svg  {
    fill: var(--primarycta);
    width: 16px;
    display: inline-block;
    margin-right: 20px;
    transform: translateY(5px);
}
a.link:hover,
a.file:hover {
    color: var(--primarycta);
}


/* CONTENT > submenu on page */
#submenu {
    width: 250px; max-width: 250px; min-width: 250px; /* = some forcing in general template */
    background: var(--accents2);
    padding:  30px;
    box-sizing: border-box;
}
#submenu ul li {
    line-height: 1.5;
    margin-bottom: 10px;  
    position: relative;  
}
#submenu ul li:last-of-type {
    margin-bottom: 0;
}
#submenu ul li a {
    color: var(--main);
    display: block;
}
#submenu ul li.parent a,
#submenu ul li a.master {
    /* if these needs to be bigger etc. */
}
#submenu ul li ul {
    margin: 5px 0;
    margin-top: 10px;
    margin-left: 15px;
}
#submenu-trigger {
    display: none;
}
#submenu ul li a:hover {
    color: var(--secondarycta);
}
#submenu ul li.parent.active a,
#submenu ul li.active a.master,
#submenu ul li.active ul li.subactive a {
    color: var(--primarycta);
}

#submenu ul li.active:before {
    content: "";
    width: 6px;
    height: 30px;
    background:  var(--accents);
    position: absolute;
    left:  -30px;
}


/* ELEMENTS - tweak to your purposes & likings!
.elements {
    margin: 2em 0;
    display: flex;
    flex-wrap: wrap;
}
.elements .element {
    width: 50%;
    background: var(--accents);
}
.elements .element div {
    padding:  10px 15px;
    border-bottom:  1px solid rgba(0,0,0,.1);
}
.elements .element div a {
    display: block;
}
.elements .element .image {
    padding:  0;
}
.elements .element .image img {
    display: block;
    width: 100%;
}
.elements .element .media {
    padding:  0;
    width: 100%;
}
.elements .element .media a {
    margin-bottom: 0;
} */


/* MAPS */
#map_canvas {
    height: 400px; 
    width: 100%; 
    clear: both; 
    margin-bottom: 60px;
}


/* FOOTER */
#footer {
    background: var(--accents);
    padding: 80px 0;
}
#footer,
#footer a,
#footer a svg {
    color: var(--main);
    fill: var(--main);
}
#footer li a:hover ,
#footer li a:hover svg,
#footer li .back-to-top:hover  {
    color: var(--primarycta);
    fill: var(--primarycta);
    cursor: pointer;
}
#footer #footer-container {
    max-width: 1400px;
    width: 90%;
    position: relative;
    margin: 0px auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;  
    column-gap: 60px;   
}
#footer #footer-container .column {
    box-sizing: border-box;
}
#footer #footer-container .column.two-col ul {
    columns:  2;
    column-gap:  30px;
}
#footer #footer-container .column ul li {
    white-space: nowrap;
}


/* MAILSTAGE */
#ms-success {
    display: none;
}
#ms-fail {
    display: none;
}
#mailstage {
    margin:  0px;
    max-width: 500px;
    padding:  30px;
    background: var(--background);
}
#mailstage form {
    display: flex;
    align-items: center;
    margin-top: 20px;
}
#mailstage form input[type=email] {
    width: 170px;
    margin-right: 20px;
    padding-top: 13px;
    padding-bottom: 14px;
}
#ms-success {
    color: #2aa01a;
    font-weight: bold;
}


/* CREDITS */
#credits {
    background: var(--accents2);
    color: var(--main);
    padding: 30px 0;   
    font-size: .8em;
}
#credits #credits-container {
    max-width: 1400px;
    width: 90%;
    position: relative;
    margin: 0px auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
}
#credits #credits-container ul {
    display: flex;
    column-gap: 20px;
}
#credits #credits-container ul li a {
    color: var(--main);
}
#credits #credits-container ul li svg {
    margin-right: 0;
    width: 12px;
    height: 12px;
    margin-left: 6px;
    transform: translateY(1px);
    fill: var(--main);
}
#credits #credits-container ul li .back-to-top {
    cursor: pointer;
}
#credits #credits-container .social-buttons {
    position: absolute;
    right: 0;
    top: 0;
}
#credits #credits-container .social-buttons ul {
    display: flex;
    column-gap: 15px;
}
#credits #credits-container .social-buttons ul li a {
    display: block;
    width: 30px;
    height: 30px;
    position: relative;  
    cursor: pointer;  
}
#credits #credits-container .social-buttons ul li a svg {
    display: block;
    width: 100%;
    height: 100%;
    transform: translateY(0px);
    margin: 0;
}





/* CLOSE OVERLAY */
#close-overlay /* overlay that closes slideouts: menu, search, language */ {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--main);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 600ms ease-in-out;
}
#close-overlay.active {
    cursor: pointer;
    pointer-events: all;
    opacity: .5;
}
.close-menus {
    position: absolute;
    right: 20px;
    top: 22px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 40px;
}
.close-menus svg {
    fill: var(--main);
    width: 30px;
    height: 30px;
}


/* DISABLE SELECTION */
#menu, #header, #submenu, #kiek, #kiek *, #menu-slideout, #contact, .media {
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}


/* NOTIFICATION WINDOW */
#notfication-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
    width: 100%;
    display: flex;
    justify-content: center;
    /* Max duration for this transition: 500ms */
    transition: opacity 200ms ease-in-out;
    pointer-events: none;
}
#notfication-wrapper.hidden {
    opacity: 0;
}
#notfication-wrapper.hidden #notification-window {
    pointer-events: none;
}
#notification-window {
    position: relative;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 60px;
    font-size: 1.1em;
    line-height: 1.1;
    max-width: 500px;
    pointer-events: auto;
}
#notification-window.info {
    background: var(--primarycta);
}
#notification-window.error {
    background: var(--error);
}
#notification-window .close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.4em;
    line-height: .5;
    cursor: pointer;
}




#homeslider,
#homeslider .slide,
#homeslider .slide .image {
    height: 60vh!important;
    background: var(--accents);
    position: relative;
}
#homeslider:after {
    content: "";
    position: absolute;
    bottom:  0;
    left:  0;
    background: var(--background);
    height: 100px;
    width: 100%;
    z-index: -1;
}
#homeslider .slide {
    z-index: 3;
}
#homeslider .slide .image {
    background:  transparent;
}
#homeslider .slide .image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*mix-blend-mode: multiply;*/
    opacity: 0.8;
}
#homeslider .slide .slide-content {
    position: absolute;
    left: 50%;
    top:  50%;
    z-index: 2;
    transform: translate(-50%,-50%);
    text-align: center;
    color: var(--background);
    width: 80%;
    padding: 0 10%;
    filter:  drop-shadow(0px 0px 30px #000);
}
#homeslider .slide .slide-content .subtitle {
    font-size: 3.6em;
    line-height: .9;
    margin: .5em auto;
    font-weight: 400;
    max-width: 800px;
    font-family: "DM Serif Display";
}





/* ELEMENTS */
.sponsorbar {
    border-top: 3px solid #efefef;
    padding-top: 80px;
    padding-bottom: 50px;
}
.sponsorbar .label {
    text-transform: uppercase;
    color: var(--primarycta);
    font-weight: 900; 
    text-align: center;  
    margin-bottom: 20px;
}
.elements-sponsors {
    background:  #fff;
    padding:  0px 0;
    position: relative;
    /*max-width: 1200px;*/
    margin:  0 auto;
}
.elements-sponsors,
.elements-sponsors .element,
.elements-sponsors .element a,
.elements-sponsors-tiles  .element,
.elements-sponsors-tiles  .element a {
    height: 150px;
    display: block;
}
.elements-sponsors .element {
    /* no */
}
.elements-sponsors .element img,
.elements-sponsors-tiles  .element img {
    display: block;
    width: auto!important;
    max-height: 60%;
    max-width: 200px;
    position: absolute;
    left:  50%;
    top:  50%;
    transform: translate(-50%,-50%);
}
.elements-sponsors-tiles {
    display: flex;
    flex-wrap: wrap;
    width: 102%;
    margin-left: -1%;
    margin-top: 1.4em;
}
.elements-sponsors-tiles  .element {
    width: 31.333%;
    margin:  1%;
    position: relative;
    border:  2px solid #efefef;
    box-sizing: border-box;
}



/* css login */
.ledenform {
	background-color: #fff9e6;
	padding: 40px; padding-left: 10%; padding-right: 30px;
	border-radius: 4px;
	margin-top: 20px;
	background-image: url('/images/r4lock.png'); background-position: 2% 50%; background-repeat: no-repeat; background-size: 64px 64px;
}
.ledenform form {
    display: flex;
    justify-content: space-between;
}
.ledenform input {
	font-family: inherit; font-size: inherit; color: #666; border: 1px solid #ccc; padding: 5px; margin-right: 5px; margin-left: 5px; border-radius: 3px;
}
.ledenform input[type=submit] {
	background:#333;
    border-color:  #333;
	color: #fff;
	margin-left:2px;
	padding: 4px;
	cursor: pointer;
	width: 100px;	
	-webkit-appearance: none;
	margin-right: 0;
}
.ledenform input[type=submit]:hover {
	background: #000;
    border-color:  #000;
}

@media screen and (max-width: 900px) {

	.ledenform {
		padding: 20px;
		background-position: calc(100% - 20px) 20px; 
        background-size: 32px 32px;
	}
    .ledenform form {
        flex-direction: column;
        width: 90%;
    }
	.ledenform input {
		display: block; margin-right: 0; margin: 10px 0;
	}
	.ledenform input[type=submit] {
		margin-top: 20px;
	}

}
