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;
}
/*History page*/


/* The actual timeline (the vertical ruler) */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: green;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* Container around content */
.container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

/* The circles on the timeline */
.container::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 28px;
  left: 50%;
  background-color: white;
  border: 4px solid #000000;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
  margin-left: -14px;
}

/* Place the container to the left */
.left {
  left: 0%;
}

/* Place the container to the right */
.right {
  left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: green;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: green;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
  left: -50%;
}

/* The actual content */
.content {
  padding: 20px 30px;
  background-color: #c1debf;
  position: relative;
  border-radius: 6px;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
  /* Place the timelime to the left */
  .timeline::after {
  left: 31px;
  }
  
  /* Full-width containers */
  .container {
  width: 100%;
  padding-left: 70px;
  padding-right: 25px;
  }
  
  /* Make sure that all arrows are pointing leftwards */
  .container::before {
  left: 60px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
  }

  /* Make sure all circles are at the same spot */
  .left::after, .right::after {
  left: 15px;
  }
  
  /* Make all right containers behave like the left ones */
  .right {
  left: 0%;
  }
}
    
    