/* Lijntejs forum Floris van L. 28-8-2021 */
.module-forums .media-list .media-body > div:nth-of-type(2) > a {
    font-weight: 600;
}

.module-forums .media-list .media-body > div:nth-of-type(2) > a + .text-muted {
    display: none;
}

.module-forums .media-list .media-body > div.text-muted.pull-right > time:first-of-type {
    display: none;
}

/* Agenda,  kalender menuweergave mobiel - Floris van L. 24-2-2022 */
@media (max-width: 767px) {
    .module-events #submenu {
        display: initial;
    }
}

/* Formfacade embed stijl, delcaratieformulier - Floris van L. 8-6-2022 */
#ff-compose .ff-form {
    background-color: transparent;
    margin-left: 0;
    --ff-primary-color: #121949;
    --ff-font-color: #121949;
    --ff-field-bgcolor: #fff;
    --ff-heading-font: "Inter",sans-serif;
    --ff-paragraph-font: "Inter",sans-serif;
}

.ff-form h3.ff-title {
    display: none;
}

.ff-form input[type="text"], .ff-form input[type="date"], .ff-form input[type="datetime-local"], .ff-form input[type="email"], .ff-form input[type="number"], .ff-form input[type="search"], .ff-form input[type="time"], .ff-form input[type="file"], .ff-form input[type="url"], .ff-form input[type="label"], .ff-form textarea, .ff-form select {
    border: 1px solid #DDE0E7 !important;
}

/* Foto's, popover z-index verhogen zodat de header er niet bovenuitkomt - Floris van L. 31-5-2022 */
.lg-backdrop,
.lg-outer {
    z-index: 9999 !important; /* Zelfde als header */
}

/* Custom CSS voor niet ingelogde homepage - Floris van L. 16-6-2022 */

.template-home.anonymous-user .da-slider {
    background-position: center;
}

.template-home.anonymous-user .da-slide-current h2,
.template-home.anonymous-user .da-slide-current p {
    left: 3%;
}

@media (max-width: 700px) {
    .template-home.anonymous-user .da-slide-current h2,
    .template-home.anonymous-user .da-slide-current p {
        left: 50%;
        transform: translateX(-48%);
    }
}

.template-home.anonymous-user .da-slider h2 i {
    background-image: none;
    background-color: #121949;
    font-family: "Inter",sans-serif;
    padding: 0.1em 2rem;
    font-style: italic;
    text-transform: lowercase;
    border-radius: 999px;
}

.template-home.anonymous-user .da-slider p i {
    background-image: none;
    background-color: #f8df17;
    color: #121949;
    padding: 0.3em 2rem;
    font-weight: 600;
    border-radius: 500px;
    margin-bottom: 10px;
    display: inline-block;
}

@media (max-width: 767px) {
    .template-home.anonymous-user .slider-inner.hidden-xs {
        display: block !important;
    }
}

/* ----------------------------------------------------- */
/* Congressus Custom CSS - Plaats je eigen CSS hierboven */


/* General */
body {
	color: #121949;
}

section#content .paragraphs h3 {
	color: rgba(25,34,100,1);
}
section#content .paragraphs h4 {
	color: rgba(25,34,100,1);
}

.small,
.text-muted {
    color: rgba(18,25,73,.4);
}
hr {
	border-top-color: rgba(18,25,73,.05);
}

.btn {
	border-radius: 9999px;
    padding: .5em 1.5em;
}
.btn.btn-primary {
	background-color: rgba(18,25,73,1);
}
.btn.btn-primary:focus,
.btn.btn-primary:hover {
	background-color: #1c2772;
}
.btn-xs, .btn-group-xs>.btn {
	line-height: 1.3;
    padding: .4em 1em;
}

.paragraphs a {
    text-decoration: underline;
}


/* Content header restyling */
.breadcrumb>li a {
	color: rgba(18,25,73,1);
}
.breadcrumb>li+li:before {
	color: rgba(18,25,73,.7);
}
section#content .content-header h2 {
	color: rgba(18,25,73,.9);
}
section#content .content-header .breadcrumb>.active {
	color: rgba(18,25,73,.7);
}
section#content .content-header.content-header-background:after {
	background-color: rgba(18,25,73,.2);
}
section#content .content-header.content-header-background {
	height: 125px;
}
section#content .content-header.content-header-background .breadcrumb {
	padding-top: 20px;
}
section#content .content-header.content-header-background .breadcrumb>.active {
	color: rgba(255,255,255,.8);
}

/* Restyle the header */
header {
    background-color: #121949;
}
header .container .header-nav-top {
	position: absolute;
    top: -45px;
    width: 100%;
}
header .container .header-nav-top .login p a {
	color: #121949;
}
header > .container {
	position: relative;
}

header .container .header-nav {
	padding-top: 0;
    padding-bottom: 0;
    align-items: center;
}
header .container .header-nav .navbar-header {
	margin-top: 0;
}
header .container .header-nav .header-logo {
    margin-bottom: 0;
}

header .navbar-toggle {
	border-color: rgba(255,255,255,.9);
    color: rgba(255,255,255,.9);
}

header .submenu-trigger {
    color: rgba(255,255,255,.9);
}

header .container .header-nav .header-logo a h1 {
	background-image: url('https://congressus-gszmayday.s3.eu-west-1.amazonaws.com/mayday-dark-bg_1.png');
}

@media (min-width: 992px) {
	header {
    	margin-top: 50px;
    }
    header .container .header-nav-top {
    	margin-left: -40px;
    }
}

/* Restyle the menu */
#menu.sf-menu > li {
	border-bottom: none;
    border-bottom-color: #f8df17;
}
#menu.sf-menu > li > ul {
	border-top: none;
    border-bottom-color: rgba(18,25,73,.7);
}
#menu.sf-menu > li > ul a {
	color: #121949;
}

#menu.sf-menu.sf-arrows .sf-with-ul:after {
	border-top-color: rgba(255,255,255,.7);
}
#menu.sf-menu.sf-arrows ul .sf-with-ul:after {
    border-left-color: rgba(25,34,100,.7);
}

#menu.sf-menu > li > a {
	color: rgba(255,255,255,.9);
    padding-top: .8em;
    padding-bottom: .8em;
}
#menu.sf-menu > li > a:hover,
#menu.sf-menu > li > a:focus {
	color: rgba(255,255,255,.8);
}

.top-mobile a {
	color: rgba(255,255,255,.7);
}
.top-mobile a:focus,
.top-mobile a:hover {
	color: rgba(255,255,255,1);
}

@media (min-width: 992px) {
    #menu.sf-menu > li:nth-last-child(2) > a {
        color: rgba(255,255,255,.9);
        background-color: rgb(25,34,100);
        font-weight: 600;
    }
    #menu.sf-menu > li:nth-last-child(2) > a:focus,
    #menu.sf-menu > li:nth-last-child(2) > a:hover {
        background-color: #1e2978; /* rgb(25,34,100,.9); */
    }

    #menu.sf-menu > li:last-child > a {
        color: #121949;
        background-color: #f8df17;
        font-weight: 600;
    }
    #menu.sf-menu > li:last-child > a:focus,
    #menu.sf-menu > li:last-child > a:hover {
        background-color: rgba(248,223,23, .9);
    }

    #menu.sf-menu > li > a {
        padding-top: 1.5em;
    	padding-bottom: 1.5em;
    }
    #menu.sf-menu > li:nth-last-child(2) > a,
    #menu.sf-menu > li:nth-last-child(2) > ul {
    	margin-left: 30px;
    }
    header .navbar-collapse .sf-menu.sf-arrows ul .sf-with-ul::after {
    	margin-top: -6px;
    }
    section#content .paragraphs {
    	min-height: 350px;
    }
}
@media (min-width: 1400px) {
    #menu.sf-menu > li:nth-last-child(2) > a,
    #menu.sf-menu > li:nth-last-child(2) > ul {
    	margin-left: 60px;
    }
    section#content .paragraphs {
    	min-height: 500px;
    }
}

/* Submenu restyling */
#submenu a {
	color: rgb(25,34,100,.9);
}
#submenu a:hover,
#submenu a:focus
{
	color: rgb(25,34,100,1);
    font-weight: 600;
}

.aside ul#submenu li a:hover, 
.aside ul.submenu li a:hover, 
.aside ul#submenu li a:focus, 
.aside ul.submenu li a:focus {
    background-color: transparent;
}

.aside ul#submenu li a, 
.aside ul.submenu li a {
    border-bottom-color: rgb(25,34,100,.1);
}

section#content .container ul li.active>a {
	background-color: transparent;
    font-weight: 600;
}


/* Fix background image to page top, add margin/padding to show background image up to the top of the page */
section#content {
	background-position: center top;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-attachment: scroll;
}
@media (min-width: 992px) {
    section#content {
        margin-top: -200px;
	    padding-top: 200px;
    }
}

/* remove gray background color from page header */
section#content .content-header {
    background: transparent;
}

/* remove background color from page content */
section#content > .container > .row {
	background-color: transparent;
}

/* Sponsor update */

/* Homepage carousel */
#carousel-homepage.carousel--small {
	min-height: 200px;
}
@media (min-width: 992px) {
    #carousel-homepage.carousel--small {
		margin-top: 0;
	}
}

/* Homepage content */
.template-home .paragraphs .paragraph-text:first-child {
	background-color: #f8df17;
    margin-top: -40px;
    margin-bottom: 40px;
    margin-left: 0;
    margin-right: 0;
    padding: 40px 20px 30px;
    width: 100%;
}
.template-home .paragraphs .paragraph-text:first-child:before,
.template-home .paragraphs .paragraph-text:first-child:after {
	content: " ";
    display: table;
}
.template-home .paragraphs .paragraph-text:first-child:after {
	clear: both;
}

.template-home .paragraphs .paragraph-text:first-child p:last-child a {
    background-color: rgba(18,25,73,1);
    border-radius: 9999px;
    color: #ffffff;
    padding: .4em 3em;
    font-weight: 600;
    font-size: 1.4em;
}

@media (min-width: 992px) {
    .template-home .paragraphs .paragraph-text:first-child h3 {
        font-weight: 700;
        font-size: 36px;
    }
    .template-home .paragraphs .paragraph-text:first-child p {
        max-width: 60%;
        float: left;
    }
    .template-home .paragraphs .paragraph-text:first-child p:last-child {
        width: 40%;
        float: right;
        text-align: center;
    }
    .template-home .paragraphs .paragraph-text:first-child p:last-child a {
        margin-top: 10px;
	    padding: 1em 2em;
    }

    .template-home .paragraphs .paragraph-text:first-child {
        margin-top: -60px;
    }
}

@media (min-width: 1536px) {
    #carousel-homepage.carousel--small {
		margin-top: 50px;
	}

    .template-home .paragraphs .paragraph-text:first-child {
        margin-top: -60px;
        margin-bottom: 60px;
        margin-left: -40px;
        margin-right: -40px;
        padding: 40px 60px 30px;
        width: calc(100% + 80px);
    }
}

/* Dark footer with light text */
footer{
    background-color: #DDE0E7;
}
footer .headline {
    border-bottom: 1px solid rgba(255,255,255,.4);
    border-bottom-color: rgba(18,25,73,.1);
}
footer .headline h3 {
    border-bottom-color: #f8df17;
    color: rgba(18,25,73);
}
.social-icons li a {
	background-color: rgb(18,25,73);
}
dl.headlines.headlines-footer dd .text-muted {
	color: rgba(108,108,148);
}
footer a,
dl.headlines.headlines-footer dd a {
    color: rgba(18,25,73);
}
footer a:focus,
footer a:hover,
dl.headlines.headlines-footer dd a:focus,
dl.headlines.headlines-footer dd a:hover {
	
}

/* Copyright */
section#copyright {
    background-color: #fefefe;
    color: rgba(18,25,73,.9);
}
section#copyright a {
    color: rgba(18,25,73,.7);
}
section#copyright a:focus,
section#copyright a:hover {
    color: rgba(18,25,73,.9);
}

/* Module content */
#events-calendar table .fc-row {
	background-color: #ffffff;
}

.paragraph-news > div:last-child a,
.paragraph-events > div:last-child a{
	display: block;
    text-align: center;
    color: #ffffff;
    padding: .6em 1em;
    margin: 1em 0;
    background-color: rgba(18,25,73,1);
}
.paragraph-news > div:last-child a:hover,
.paragraph-news > div:last-child a:focus,
.paragraph-events > div:last-child a:hover,
.paragraph-events > div:last-child a:focus {
    background-color: #1c2772;
    text-decoration: none;
}
/* Toegevoegd door Jelmer op 23-8-21 */
.sponsors { background: #DDE0E7; }