header {
 	background-image: url("https://images.cngrsss.nl/isaacnewton/template/2d05465e74004d41b7c74ae4215320b0-lg.png")   
}

.template-home header {
    min-height: 400px;
}

.carousel-caption {
 	padding-bottom: 0;   
}

#logo a {
 	align-items: center;
    display: flex;
}

section#content .content-footer {
    display: none; 
}

.embed-responsive img {
	object-fit: cover;
    width: 100%;
    object-position: center;
}

@media (min-width: 992px) {
    section#content .content-main {
        margin-top: 15px;
        margin-bottom: 30px;   
    }

    section#content .content-sponsors-footer {
        margin: 30px 0 0;   
    }


    .template-home .content-row {
        display: flex;
        flex-wrap: wrap;
    }

    .template-home section#content .content-main .content-aside + .content-sections,
    .template-home section#content .content-main .content-aside {
        float: none;
        left: unset;
        right: unset;
    }

    .template-home section#content .content-main .content-aside + .content-sections {
        order: 1;
        width: 66%;
    }

    .template-home section#content .content-main .content-aside {
        width: 34%;
        order: 2;
    }

    .template-home .content-row .content-sponsors-footer {
        order: 4;
        width: 100%;
    }

    .template-home .content-row .homepage-headlines {
        order: 3;   
    }
}

@media (min-width: 768px) {
    header .header-container {
        display: grid;
        grid-template: "a a" 40px;
    }

    #top {
        width: 100%;   
    }

    #logo {
        width: auto;   
    }

    .navbar-collapse.collapse {
        width: auto;
        justify-self: right;
        margin: 0 -15px;
    }
    
 	.navigation-main > li {
        float: none;
    }
    
    .navigation-main {
     	display: flex;
        margin: 0 -15px;
        padding-left: 45px;
        flex-wrap: wrap;
        justify-content: right;
    }
    
    .navigation-main > li:last-child > a {
     	padding-right: 15px;   
    }
        
}

.template-home section#content .content-main .homepage-headlines {
    padding-left: 15px;
    padding-right: 15px;
}

.social-icons > li {
 	padding-left: 15px;   
}

.social-icons {
 	margin-left: -21px;   
}

.social-icons li a {
    padding: 0;
    border-radius: 5px;
    text-align: center;
}

.carousel .carousel-indicators {
	display: none;
}

header #header-content .carousel .carousel-inner .item .carousel-caption-container .carousel-caption p {
    margin-bottom: 0;
}

header #header-content .carousel .carousel-inner .item .carousel-caption-container .carousel-caption h2:after {
 	bottom: -6px;   
}

.template-home section#content .content-main .content-aside .homepage-event-headlines ul li:nth-child(n+7):not(:last-child) {
 	display: none;   
}

.navbar-collapse {
    width: 100%;
    padding-bottom: 15px;
}

.template-home section#content .content-main .content-aside .homepage-event-headlines ul li a::after {
 	right: 25px;
    transition: all 200ms ease-in-out;
}

.template-home section#content .content-main .content-aside .homepage-event-headlines ul li a:hover::after {
 	right: 15px;   
}

ul.homepage-headlines-4 {
    display: flex;
	flex-wrap: wrap;
}

.template-home section#content .homepage-headlines > ul > li {
 	float: unset;
    bottom: 0;
    top: 0;
    display: flex;
    flex-direction: column;
}

.template-home section#content .homepage-headlines > ul > li .heading-content {
 	height: 100%;
    padding-bottom: 40px;
}

.template-home section#content .homepage-headlines > ul > li > .heading-content > a {
	position: absolute;
    bottom: 12px;
}

    
    