/*--- Cyber Monday Panel ---*/
section.light#cybermonday{
	background-image: url('https://sleepshepherd.com/wp-content/uploads/2016/11/holidays-1804768_1920-min.jpg');
	background-size: cover;
}

section.light#cybermonday h1{
	color: white;
	text-transform: capitalize;
	font-size: 20px !important;
	margin-top: 0px;
	margin-bottom: 0px !important;
	font-weight: bold;
}

section.light#cybermonday h1:after{
	height: 0;
}

section.light#cybermonday p{
	color: white;
	text-align: center;
	font-size: 16px;
	font-weight: bold;
}

section.light#cybermonday p.top-padding{
	margin-top: 20px;
}

@media (min-width: 500px){
	section.light#cybermonday h1{
		font-size: 30px !important;
	}

	section.light#cybermonday p{
		font-size: 22px !important;
	}
}

@media (min-width: 800px){
	section.light#cybermonday h1:nth-child(2){
		margin-top: 20px !important;
	}

	section.light#cybermonday h1{
		font-size: 45px !important;
		margin-bottom: 10px !important;
	}



	section.light#cybermonday p{
		font-size: 25px !important;
	}
}


@media (min-width: 1000px){
	section.light#cybermonday h1:nth-child(2){
		margin-top: 50px !important;
	}

	section.light#cybermonday h1{
		font-size: 55px !important;
		margin-bottom: 20px !important;
	}



	section.light#cybermonday p{
		font-size: 35px !important;
	}

	section.light#cybermonday p.top-padding{
	margin-top: 50px;
	}
}

@media (min-width: 1000px){
	section.light#cybermonday h1:nth-child(2){
		margin-top: 80px !important;
	}
}


/*--- Our Story ---*/
.page-id-3584 section.transparent-blue{
	background-image: url('https://sleepshepherd.com/wp-content/uploads/2016/09/Compressed-BG.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position:center -30%;
}
.page-id-3584 h1:after{
	height: 0 !important;
}

.page-id-3584 h1{
	font-size: 30px !important;
	text-transform: none;
	font-weight: 500;
	margin-top: 150px;
    margin-bottom: 30px !important;
}

.page-id-3584 img.video{
	width: 50px;
}

.page-id-3584 h2{
	font-size: 24px !important;
	color: #72bfe7;
	margin-bottom: 15px;
    margin-top: 75px;
}

.page-id-3584 img.thirds{
	width: 40%;
	margin: 5%;
}

.page-id-3584 p{
	font-size: 14px;
	line-height: 18px;
}

@media (min-width: 700px){
	.page-id-3584 h1{
		font-size: 55px !important;
		margin-top: 250px;
		margin-bottom: 50px !important;
	}

	.page-id-3584 h2{
		font-size: 35px !important;
		margin-bottom: 25px;
		margin-top: 150px;
	}

	.page-id-3584 img.thirds{
		width: 25%;
		margin: 4%;
	}

	.page-id-3584 p{
		font-size: 24px;
		line-height: 30px;
	}
}

/*--- Team ---*/
section#team{
	background: #f2f2f2;
	text-align: center;
}

.col-xs-offset-2{
	margin-left: 16.6%;
}

section#team .row{
	margin-top: 50px;
}

section#team p{
	color: #5A5A5A;
	font-size: 14px;
	line-height: 18px;
}

section#team p.large{
	font-size: 18px;
	line-height: 22px;
}

section#team h1:after{
	height: 0;
}

section#team h1{
	color: #5A5A5A;
	text-transform: none;
	margin-top: 50px;
	font-weight: 500;
}

section#team h2, section#team h3{
	color: #5A5A5A;
}

section#team h2{
	font-size: 18px;
}

section#team h3{
	font-size: 14px;
	margin-bottom:0;
}

section#team img{
	width: 60%;
	margin: 0;
}

section#team .show-large{
	display:none;
}

section#team div.member-info{
	margin:0 20%;
}

@media(max-width: 767px){
	section#team .row{
		margin-top: 0px;
	}

	section#team .member{
		margin-top: 50px;
	}
}

/*--- Jobs ---*/
section#jobs{
	background-color: #FFF;
}
section#jobs p,section#jobs h1,section#jobs h2{
	color: black;
}

section#jobs h1{
	font-size: 24px !important;
	text-transform: none;
}

section#jobs h1:after{
	height: 0;
}

section#jobs h2{
	font-size: 20px;
	margin-bottom: 15px;
	text-align:left;
}

section#jobs p, section#jobs ul{
	font-size: 14px;
	line-height: 18px;
	margin-bottom: 20px;
}

section#jobs ul{
	list-style-type: disc;
}


/*--- Case Study Panel ---*/
section#case-study{
	/* height: 500px; */
	padding: 10px 0;
	background-color: #e2e2e2;
	/* background-image: url('https://sleepshepherd.com/wp-content/uploads/2016/09/Compressed-Case-Study-BG.jpg');
	background-size: 325px;
	background-position: center;
	background-repeat: no-repeat; */

}

section#case-study .container{
	padding: 0;
}

section#case-study img{
	width: 100%;
}

section#case-study .show-large{
	display:none;
}

section#case-study p{
	font-size: 14px;
	line-height: 18px;
	text-align: center;
	color: #33495d;
	font-weight: 500;
	text-transform: uppercase;
	padding: 0 15px;
}

section#case-study p.large{
	font-weight: 900;
	color: #72bfe7;
	font-size: 28px;
	line-height: 32px;
	margin-bottom: 0;
}

section#case-study .dark-blue{
	color: #33495d;
}

section#case-study p.smaller{
	font-weight: 900;
	color: #72bfe7;
	font-size: 20px;
	line-height: 22px;
	margin-bottom: 5px;
}

section#case-study a.button{
	background-color: transparent !important;
	border: 2px solid #33495d;
	border-radius: 15px;
	color: #33495d;
	font-size: 14px;
	line-height: 17px;
	height: 30px;
	padding: 5px 15px;
}

section#case-study a.button:hover{
	background-color: #33495d !important;
	border: 2px solid #33495d;
	color: #FFF;
}

section#study h1{
	color: #000;
}

section#study h1:after{
	height: 0;
}

@media(min-width: 600px){
	section#case-study{
		padding-top: 25px;

		/* height: 550px;
		background-image: url('https://sleepshepherd.com/wp-content/uploads/2016/09/new-case-study-BG-e1475262396113.png');
		background-size: cover;
		background-position: center 0;
		background-repeat: no-repeat;  */
	}

	section#case-study .container.compact{
		max-width: 100%;
	}

	section#case-study img{
		display: none;
	}

	section#case-study .show-large{
		display: inline;
	}

	section#case-study .hide-large{
		display: none;
	}
}

@media( min-width: 800px){

	section#case-study p{
		font-size: 20px;
		line-height: 24px;
		padding: 0 15px;
	}

	section#case-study p.large{
		font-size:50px;
		line-height: 56px;
		margin-bottom: 0;
	}


	section#case-study p.smaller{
		font-size: 30px;
		line-height: 34px;
		margin-bottom: 5px;
	}

	section#case-study a.button{
		border: 3px solid #33495d;
		border-radius: 20px;
		font-size: 20px;
		line-height: 24px;
		height: 40px;
		padding: 5px 15px;
	}
}

@media( min-width: 1000px){
	section#case-study{
		height: 750px;
		background-image: url('https://sleepshepherd.com/wp-content/uploads/2016/09/Sleep-Solved-BG-min.png');
		background-size: cover;
		background-position: center 30%;
		background-repeat: no-repeat;
	}

	section#case-study .show-large{
		display: none;
	}

	section#case-study p {
		font-size: 24px;
		line-height: 28px;
		padding: 0 10%;
	}

	section#case-study p.large {
		font-size: 55px;
		line-height: 56px;
		margin-bottom: 0;
	}


	section#case-study p.smaller {
		font-size: 35px;
		line-height: 40px;
		margin-bottom: 15px;
	}

	section#case-study a.button {
		border: 3px solid #33495d;
		border-radius: 23px;
		font-size: 24px;
		line-height: 24px;
		height: 46px;
		padding: 8px 24px;
	}
}

footer ul li, footer div {
    font-size: 14px;
    line-height: 22px;
    text-align: left;
}

footer a {
    color: #505050;
}

footer a:hover,footer a:focus {
	color: #505050;
    text-decoration: underline;
}
