/* logo color #bc052d; */
html {
    scroll-behavior: smooth;
}

.nav-white {
    background-color: white !important;
}

.home-title {
    color: #1e2858;
}

.logo-navbar {
    width: 50%;
}

.nav-social {
    margin-right: 1rem;
}

.nav-social a {
    border: 0px !important;
}

.nav-social-list li a i:hover {
    color: white !important;
}

.wolf-scout-logo {
    color: #ffed26;
    border-color: #ffed26;
}

.wolf-scout-logo svg {
    fill: #ffed26;
}

.guide-scout-logo {
    color: #81c636;
    border-color: #81c636;
}

.guide-scout-logo svg {
    fill: #81c636;
}

.rover-scout-logo {
    color: #be0033;
    border-color: #be0033;
}

.rover-scout-logo svg {
    fill: #be0033;
}

.home-parralax {
    height: 60vh;
}

.scout-goal-div {
    background-color: #ffffffd1;
}

.scout-goal-description {
    color: white;
    width: fit-content;
    background-color: #19647e;
    padding: 0.5rem;
    border-radius: 1rem !important;
}

.feature-icon {
    margin-bottom: 3rem;
}

.feature-icon svg {
    width: 100%;
    margin-bottom: 1rem;
}

.arrowBox-yellow {
    position: relative;
    width: 220px;
    height: 39px;
    line-height: 40px;
    margin-bottom: 30px;
    text-align: center;
    color: #fff;
    background: #ffed26;
    color: #19647e;
}

.arrow-right-yellow:after {
    content: "";
    position: absolute;
    right: -19px;
    top: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid #ffed26;
}

.arrowBox-green {
    position: relative;
    width: 220px;
    height: 39px;
    line-height: 40px;
    margin-bottom: 30px;
    text-align: center;
    color: #fff;
    background: #81c636;
    color: #19647e;
}

.arrow-right-green:after {
    content: "";
    position: absolute;
    right: -19px;
    top: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid #81c636;
}

.arrowBox-red {
    position: relative;
    width: 220px;
    height: 39px;
    line-height: 40px;
    margin-bottom: 30px;
    text-align: center;
    color: #fff;
    background: #be0033;
    color: #19647e;
}

.arrow-right-red:after {
    content: "";
    position: absolute;
    right: -19px;
    top: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid #be0033;
}

.timeline {
    position: relative;
    margin: 50px auto;
    padding: 40px 0;
    width: 1000px;
    box-sizing: border-box;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #c5c5c5;
}

.timeline ul {
    padding: 0;
    margin: 0;
}

.timeline ul li {
    list-style: none;
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.timeline ul li:nth-child(odd) {
    float: left;
    text-align: right;
    clear: both;
}

.timeline ul li:nth-child(even) {
    float: right;
    text-align: left;
    clear: both;
}

.content {
    padding-bottom: 20px;
}

.timeline ul li:nth-child(odd):before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    top: 24px;
    right: -6px;
    background: #19647e;
    border-radius: 50%;
}

.timeline ul li:nth-child(even):before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    top: 24px;
    left: -4px;
    background: #19647e;
    border-radius: 50%;
}

.timeline ul li h3 {
    padding: 0;
    margin: 0;
    color: #19647e;
    font-weight: 600;
}

.timeline ul li p {
    margin: 10px 0 0;
    padding: 0;
}

.timeline ul li .time h4 {
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: white;
}

.timeline ul li:nth-child(odd) .time {
    position: absolute;
    top: 12px;
    right: -165px;
    margin: 0;
    padding: 8px 16px;
    background: #19647e;
    color: #fff;
    border-radius: 18px;

}

.timeline ul li:nth-child(even) .time {
    position: absolute;
    top: 12px;
    left: -165px;
    margin: 0;
    padding: 8px 16px;
    background: #19647e;
    color: #fff;
    border-radius: 18px;

}

@media(max-width:1000px) {
    .timeline {
        width: 100%;
    }
}

@media(max-width:767px) {
    .timeline {
        width: 100%;
        padding-bottom: 0;
    }

    h1 {
        font-size: 40px;
        text-align: center;
    }

    .timeline:before {
        left: 20px;
        height: 100%;
    }

    .timeline ul li:nth-child(odd),
    .timeline ul li:nth-child(even) {
        width: 100%;
        text-align: left;
        padding-left: 50px;
        padding-bottom: 50px;
    }

    .timeline ul li:nth-child(odd):before,
    .timeline ul li:nth-child(even):before {
        top: -18px;
        left: 16px;
    }

    .timeline ul li:nth-child(odd) .time,
    .timeline ul li:nth-child(even) .time {
        top: -30px;
        left: 50px;
        right: inherit;
    }
}

.text-red {
    color: red !important;
}

.login-btns {
    min-width: 40%;
}

.fab-blue {
    color: #1e2858 !important;
}

/* Image gallery stlyling */
.container-pictures {
    max-width: 1200px;
    margin: 80px auto 0;
    text-align: center;
}

.container__img-holder {
    max-width: 280px;
    display: inline-block;
    vertical-align: top;
    margin-bottom: 20px;
    margin-left: 16px;
    cursor: pointer;
    }

.container .container__img-holder:nth-child(3n+1) {
    margin-left: 0;
}

.container__img-holder img {
    width: 100%;
    height: 220px;
    display: block;
    border-radius: 10px;
}


/* Popup Styling */
.img-popup {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, .5);
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

.img-popup img {
    max-width: 900px;
    width: 50%;
    opacity: 0;
    transform: translateY(-100px);
    -webkit-transform: translateY(-100px);
    -moz-transform: translateY(-100px);
    -ms-transform: translateY(-100px);
    -o-transform: translateY(-100px);
    border-radius: 10px;
}

.close-btn {
    width: 35px;
    height: 30px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.close-btn .bar {
    height: 4px;
    background: #333;
}

.close-btn .bar:nth-child(1) {
    transform: rotate(45deg);
}

.close-btn .bar:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
}

.opened {
    display: flex;
}

.opened img {
    animation: animatepopup 1s ease-in-out .8s;
    -webkit-animation: animatepopup .3s ease-in-out forwards;
}

@keyframes animatepopup {

    to {
        opacity: 1;
        transform: translateY(0);
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
    }

}

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

    .container .container__img-holder:nth-child(3n+1) {
        margin-left: 16px;
    }

}

.container__img-holder .box.h {
    grid-column: span 1;
}

.container-planning {
    max-width: 1050px;
    width: auto;
    padding: 2em 20px;
    margin: 0 auto;
}
.spacer-toc {
    height: 1.8em;
    display: flex;
    align-items: center;
}
.spacer-toc .fa {
    font-size: 1.4em;
    color: #c2c2c2;
}

/* Upcoming-events 
-----------------------------------------------------------*/
/* outer & general */
.upcoming-events-wrap {margin-bottom: 30px;}
.upcoming-events {
	display: grid;
	grid-template-areas: "date" "content";
	max-width: 480px;
	background: #fff;
	margin: 0 auto 2em;
	box-shadow: 0 10px 8px -8px #b3b3b3;
	transition: 0.4s;
}
.upcoming-events:hover {
	box-shadow: 0 12px 8px -8px #999;
}
.event-date,
.event-date .dt-wrap,
.event-content,
.content-inner .ul-details,
.content-inner .ul-details li,
.content-media,
.content-img,
.content-img a,
.content-social,
.content-social a {
	display: flex;
}

	/* 0/1 | .event-date 
	---------------------------*/
.event-date {
	grid-area: date;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	position: relative;
	padding: 24px;
	line-height: 1;
	text-transform: uppercase;
	transition: 0.4s ease;
}
.event-date:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 12px;
	z-index:2;
	background: #19647e;
	transition: 0.4s ease;
}
/* .upcoming-events:nth-child(even) .event-date:before {background: #be0033;} */
.upcoming-events:hover .event-date {color: #fff; text-shadow: 1px 1px 3px rgba(0,0,0,.23);}
.upcoming-events:hover .event-date:before {background: #19647e; width: 100%;}
/* .upcoming-events:nth-child(even):hover .event-date:before {background: #be0033;} */

		/* 0/1/a */
.event-date .dt-wrap {
	z-index: 2;  
	flex-direction: row;
	align-items: center;
}
.event-date .day {font-weight: 600;}
.event-date .day,
.event-date .day.day-md {font-size: 36px;}
.event-date .day.day-sm {font-size: 32px;}

.event-date .month-year {
	font-weight: 600;
	padding: 0 10px;
}
		/* 0/1/b */
.event-date .dt-ven {
    z-index: 2;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .5px;
}
	/* 0/2 | .event-content 
	---------------------------*/
.event-content {
	grid-area: content;
	flex-direction: column;
	padding: 24px;
	border-top: 2px solid #9f982e;
}
		/* 0/2/a | .content-inner */
.content-inner {padding: 0;}
.content-inner a{
    color: #575757
}
.content-inner h2 {
	font-size: 24px;
	font-weight: 500;
	line-height: 1.15;
	margin: 0 0 12px;
}
.content-inner p {
	color: #2f4f4f;
	line-height: 1.25;
	margin: 0 0 12px;
}
.content-inner p.cnt-last {margin-bottom: 0;}

.content-inner .ul-details {
	flex-flow: row wrap;
	font-size: 16px;
	color: #999;
}
.content-inner .ul-details li {
	flex-direction: row;
	align-items: baseline;
	margin-right: 20px;
}
.content-inner .ul-details .fa {
	width: 16px;
	margin-right: 5px;
	text-align: center;
}
.content-inner .ul-details .fa {color: #19647e;}
.content-inner .ul-details .fa-calendar-times-o {color: red;}

.content-inner .cnt-ensemble {
	padding-top: 12px;
	font-weight: 600;
}
.content-inner .cnt-details {font-size: 14px;}
.content-inner .cnt-details span {display: block;}

		/* 0/2/b | .content-media */
.content-media {
	flex-direction: column;
}
.content-img {order: 2;}
.content-social {order: 1;}

.content-img {
	justify-content: center;
	align-items: flex-start;
	width: 100%;
	margin: 24px auto 0;
	border: 1px solid #2f4f4f;
	position: relative;
	transition: 0.4s;
}
.content-img a {
	justify-content: center;
	align-items: center;
}
.content-img .fa {
	position: absolute;
	color: rgba(0,0,0,.28);
	font-size: 2.5em;
	text-shadow: 1px 1px 2px rgba(255,255,255,.9);
	transition: 0.4s;
}
.content-img img {
	width: 100%;
	max-width: 100%;
	height: 170px;
	opacity:.3;
	object-fit: cover;
	transition: 0.4s;
}
.content-img img:hover {opacity: 1;}
.content-img:hover .fa {display: none;}
		
		/* 0/2/c | .content-social */
.content-social {
	min-height: 50px;
	margin: 24px 0 0 0;
	background: #f5f5f5;
	flex-direction: row;
	justify-content: space-evenly;
	align-items: center;
}
.content-social a {
	width: 45px;
	height: 45px;
	justify-content: center;
	align-items: center;
}
/* media queries 
---------------------------------------------- */
@media (min-width: 768px) {
	.upcoming-events-wrap {
		box-shadow: 0 10px 8px -8px #b3b3b3;
	}
	.upcoming-events-wrap .upcoming-events:last-child {border-bottom:0;}
	.upcoming-events {
		grid-template-columns: 1fr 4fr;
		grid-template-areas: "date content";
		max-width: 100%;
		margin: 0 auto;
		box-shadow: none;
		border-bottom: 1px solid #575757;
	}
	.upcoming-events:hover {box-shadow: none;}
	.event-date {
		flex-direction: column;
		align-items: flex-start;
		padding: 12px 0 12px 18px;
		background: #f5f5f5;
	}
	.event-date .dt-wrap {
		flex-direction: column;
		align-items: flex-start;
		padding-left:12px;
	}
	.event-date .day {font-size: 60px;}
	.event-date .month-year {padding: 0;}
	.event-date .dt-ven {
		width: 100%;
		font-size: 12px;
		padding: 12px 12px 6px;
	}
	.event-content {
		justify-content: space-between;
		align-items: center;
		flex-direction: row;
		padding: 12px;
		border: 0;
	}
	.content-inner {padding: 12px;}
	.content-media {
		flex-direction: row;
		justify-content: flex-end;
		align-self: stretch;
	}
	.content-img {order: 1;}
	.content-social {order: 2;}
	
	.content-img {
		align-items: center;
		align-self: center;
		width: 86px;
		margin:0;
	}
	.content-img .fa {font-size: 1.7em;}
	.content-img img {
		width: 86px;
		max-width: 86px;
		height: 121px;
		object-fit: scale-down;
	}
	.content-social {
		flex-direction: column;
		width: 50px;
		margin: 0;
	}
}

.link-logo svg{
    width: 50px;
    height: 50px;
}

.logo-bg-grey{
    background: #f5f5f5;
}

.text-logo{
    color: black;
}

.logo-bg-grey-active{
    background-color: #19647e !important;
}

.logo-bg-grey-active .text-logo{
    color: white !important;
}

@media (min-width: 992px) and (max-width: 1200px) {
    .w-lg-75{
        width: 75%;
    }
}

.overlay-logo{
    background: #00000047 !important;
    border-radius: 0.3125rem;
    z-index: 3;
    position: absolute;
    width: 20%;
    transition: .3s ease;
    background-color: transparent;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}