/*
	
Dark Grey: #384859
Yellow: #ffa600	
	
*/

/* X-SMALL MOBILE */
/* Reset the breakpoints to 2 only. Ensure you are using Bootstrap 4.1 and col-x, instead of col-sm */
@media (max-width: 699px)  {


	html, body {
		overflow-x: hidden;
	}
	.nav-toggle {
		display: block;
		width: 30px;
		position: absolute;
		top: 20px;
		right: 20px;
		transition: all 200ms ease-out;
		z-index: 999999;
	}
	.nav-toggle div {
		margin-bottom: 5px;
		height: 5px;
		background: #fff;
		width: 100%;
	}
	.nav-toggle.open {
		transform: rotate(90deg);
	}
    .site-wrapper {
		width: 100%;
    }
    .site-sidebar {
        width: 100%;
	    position: fixed;
	    top: 0px;
	    left: 0px;
	    background-color: #384859;
		z-index: 99999;
		height: 150px;
		overflow: hidden;
		transition: all 200ms ease-out;
    }
    .site-sidebar.open {
		height: 100vh;
	}
	.site-content {
		margin-top: 150px;
	}

/* Brand */
	.header {
		width: 100%;
	}
    .header .brand {
	    display: block;
	    padding: 10px 0 30px 30px;
    }
    .header .brand img {
        width:auto;
		max-height:75px;
	}
	.header .navigation-wrapper {
	    padding: 30px;		
	}


/* Hero */
	.hero {
		position: relative;
		margin-left: -15px;
		margin-right: -15px;
	}
	.hero .caption {
		position: absolute;
		top: 0px;
		left: 0px;
		padding: 2vh 4vw;
		background: #ffa600;
		z-index: 99;
		display: flex;
		align-items: center;
	}
	.hero .caption h1 {
		font-size: 4vw;
		font-weight: normal;
	}	
	.hero .thumb img {
		display: block;
		
	}


/* Feature */
	.feature {
		margin-left: -15px;
		margin-right: -15px;
	}
    .feature .block.text {
	    background: #ffa600;
	    padding: 30px 20px;
	    color: inherit;
	    height: 100%;
	    width: 100%;
	}
    .feature .block.text h1,
    .feature .block.text h2,
    .feature .block.text h3 {
	    color: #fff;
	    font-weight: lighter;
	    margin-bottom: 20px;
	    padding-left: 0;
	}
    .feature .block.text p {
	    font-size: .9em;
	}

    .feature .block.image {
		display: flex;
	}
    .feature .block.image img {
		height: 100%;
        object-fit: cover;
	}



/* Blocks */
	.block.image {
		margin: 30px -15px;
	}


/* Members */
    .members {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .members .member {
        width: 50%;
        display: flex;
        align-items: center;
        padding: 10px;
    }

	


/* Section Header */
	.section-header {
		margin-left: -15px;
		margin-right: -15px;
		/*border-right: 50px solid #384859;*/
		background: -webkit-linear-gradient(0deg, rgba(56,72,89,0) 30%, rgba(56,72,89,0.1) 100%)
	}
    .section-header .section-title {
		padding: 80px 30px 10px 30px;
    }
    .section-header .section-lead {
        display: flex;
        align-items: flex-end;
        height: 100%;
		padding: 30px;
    }
    .section-header .section-lead p {
		margin: 0;
		font-size: .8em;
	}



/* People */
    .people {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-wrap: wrap;
    }
    .people .person {
		margin-bottom: 40px;
		width: 50%;
    }
    .people li .thumb {
        margin-bottom: 20px;
        background: #efefef;
        border-left: 10px solid #ffa600;
    }
    .people li h3 {
        margin-bottom: 0px;
        font-size: 1.1em;
        font-weight: 400;
    }
    .people li p {
        margin: 0;
        opacity: .7;
        font-size: .8em;
        font-weight: normal;
    }
    /* Hover State */
    .person li a:hover .thumb {
        background: #34CFB8;
    }
    .person li a:hover img {
        opacity: .7;
    }
    .person .social-links {
        padding: 0;
        list-style: none;
        display: flex;
        flex-wrap: wrap;
    }
    .person .social-links li {
        margin: 0 5px 0 0;
    }
    .person .social-links li a {
        font-size: 1.8em;
    }



/* Resources */

    .resources {
        display: grid;
		grid-template-columns: 1fr 1fr;
		margin: 0;
		padding: 0;
    }
    .resources .resource {
		list-style: none;
		padding: 5px;
		margin: 0 20px 30px 0;
		border: 1px solid #ffa600;
    }

    .resources .resource .thumb {
        width: 100%;
        border: 1px solid #efefef;
        background: #000;
        margin-bottom: 10px
    }
    .resources .resource .thumb img {
	    opacity: .95;
	}
    .resources .resource .caption h3 {
	    font-weight: 400;
	    font-size: .9em;
	    line-height: normal;
	    margin: 0;
	}
	.resources .resource .caption p{
		color:#384859;
		font-size:0.8rem;
	}


/* Stories */
	.stories {
		display: flex;
		justify-content: center;
		margin: 40px 0;
	}
	.story {
		width: 33%;
		padding: 10px;
		border: 5px solid #ffa600;
	}
	.story .caption {
		padding: 20px 0;
	}
	.story .caption h1 {
		font-size: 1em;
		text-transform: uppercase;
		letter-spacing: normal;
		font-weight: normal;
		color: #ffa600;
	}
	.story .caption p {
		margin-bottom: 0;
	}

/* News */
	.listing.news {
		display: block;
	}

}
@media (max-width: 575px)  {
	.test .feature .block.text{
		margin-top:-50px;
	}
}