/*
 * Site Name: Nurture Scotland
 * Site URL: nurture-scotland.org
 * Author: mtc.
 * Version 1.0
*/

/* --------------------------------------

    CONTENTS

		COLOUR SWATCH

		- White 				#FFFFFF
		- Purple 				#7F3F98
		- Turquoise			#00A79D

----------------------------------------- */


/*----------------------------------------  Site width wrapper ----------------------------------------- */

.wrapper {
  max-width: 1100px;
  margin:0 auto;
	position:relative;
	min-height: 100%;
	background: #FFF
}

.pageWrap {
	min-height: 100%;
	height: 100%;
	position: relative;

}

.footerPush {
	min-height: 100%;
	height: 100%;
	padding-bottom: 101px;
}

/*----------------------------------------  Fonts ----------------------------------------- */
/* IE Fonts held in ie.css style sheet */

/* Regular */
@font-face {
		font-family: 'SanchezSlab';
		src: url('../font/293BA6_1_0.eot');
		src: url('../font/293BA6_1_0.eot#iefix') format('embedded-opentype'),
				 url('../font/293BA6_1_0.woff') format('woff'),
				 url('../font/293BA6_1_0.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Italic */
@font-face {
		font-family: 'SanchezSlab';
		src: url('../font/293BA6_0_0.eot');
		src: url('../font/293BA6_0_0.eot#iefix') format('embedded-opentype'),
				 url('../font/293BA6_0_0.woff') format('woff'),
				 url('../font/293BA6_0_0.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

/* Sofia Pro Light (headers) */
@font-face {
    font-family: 'Sofia Pro';
    src: url('../font/SofiaProLight-webfont.eot');
    src: url('../font/SofiaProLight-webfont.eot#iefix') format('embedded-opentype'),
         url('../font/SofiaProLight-webfont.woff') format('woff'),
         url('../font/SofiaProLight-webfont.ttf') format('truetype'),
         url('../font/SofiaProLight-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

/*---------------------------------------- Typography ----------------------------------------*/

body {
  font-family: 'SanchezSlab';
	font-weight: normal;
	font-size: 16px;
	background: #F9F9F9 url(../images/bg.png) 0px 0px;
	background-size: cover;
	background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Sofia Pro';
	margin: 0 0 0.5em 0;
	clear:both;
	font-weight: normal;
}

h1 {
	font-size: 2em;
	line-height: 1.192em;
	margin: 0 0 0.5em 0;
	border-bottom: 1px solid #EEE;
	padding-bottom: 11px;
}

h2 {
	font-size: 1.75em;
	margin: 0 0 0.5em 0;
}

h3 {
	font-size: 1.275em;
	margin: 0 0 0.5em 0;
	text-align: center;
	border-bottom: 1px solid #EEE;
	padding-bottom: 4px;
}

h4 {
	font-size: 1.025em;
	margin: 0 0 0.5em 0;
  font-family: 'SanchezSlab';
}

h5, h6 {
	font-size: 1em;
	margin: 0 0 0.5em 0;
}

html, button, input, select, textarea {
    color: #333;
}

p, ul {
	line-height: 1.6em;
	font-size: 0.9em;
}

a:hover {
	color: #7F3F98;
}

.grid_8, .slider {
	opacity: 2;
}

p, ul, h1 {
	max-height: 5000px;
}

/* --------------------------- Site Logo ----------------------------- */

.logo {
	float:left;
	display:inline;
	padding: 20px;
	width: 215px;
}

/*

@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min-device-pixel-ratio: 2) {

	.logo {
		background-image: url('https://www.nurture-scotland.org/images/logo@2x.png') no-repeat center center;
		width:160px;
		height:70px;
	}

	.logo img {
		display:none;
	}

}  Media query */


/*------------------------------------- Header styles ---------------------------------------*/

#header {
	border-bottom: 1px solid #EEE;
	background: #FFF;
	position: relative;
	z-index: 10;
}

.nav {
	float: right;
	margin-top: 24px;
}

.nav li {
	padding:20px 30px;
}

.nav li a {
	display:block;
	font-size: 1.2em;
	color: #666;
}

.nav li a:hover {
	color: #7F3F98;
	border-bottom: 2px solid #7F3F98;
}

/*---------------------------------------- Buttons ------------------------------------------*/

.button, .buttonAlt {
	background: #7F3F98 url(../images/gradient.png);
	padding: 10px 20px;
	border-radius: 5px;
	margin:0 0.5em 0.5em 0;
	color: #FFF;
	border: 1px solid #955bac;
  font-family: 'Sofia Pro';
	font-weight: normal;
	text-transform: uppercase;
	font-size: 0.95em;
	box-shadow: 1px 1px rgba(255,255,255,0.3) inset;
}

.buttonAlt {
	background:#333;
	color:#fff;
}

.button:hover{
	background-color: #612d76;
}

.fl {
	float: left;
}

.fr {
	float: right;
	margin:0 0 0.5em 0;
}

#content {
	background: #FFF;
	padding: 0 20px;
	position: relative;
}

.shadowLeft,
.shadowRight {
	position: absolute;
	top: 0;
	width: 17px;
	height: 617px;
}

.shadowLeft {
	left: -17px;
	background: url(../images/shadow-left.png) no-repeat;
}

.shadowRight {
	right: -17px;
	background: url(../images/shadow-right.png) no-repeat;
}

/*---------------------------------------- Form styles --------------------------------------*/

.text, textarea, select {
	border:1px solid #ddd;
	font-family: 'SanchezSlab';
	font-size: 0.9em;
}

.row .text {
	width: 100%;
	padding: 10px;
}

#map {
	width: 100%;
	height: 360px;
}

textarea {
	min-height: 150px;
}

/* Members */

.members .column {
	width: 49%;
	float: left;
	display:inline;
	margin-left: 2%;
}



/*---------------------------------------- Slider ------------------------------------------*/

.sliderWrap {
	position: relative;
	height: 380px;
	padding: 0;
	background: #FFF;
	overflow: hidden;
	border-top: 4px solid #bb8dcd;
	border-bottom: 4px solid #bb8dcd;
}

.slider {
	width: 100%;
	height: 400px;
	max-height: 420px;
}

.slide {
	position: relative;
}

.slide .caption {
	position: absolute;
	z-index: 100;
	top: 250px;
	right: 20px;
}

.caption span {
	background: transparent url(../images/white_trans_80.png);
	background: rgba(255,255,255,0.8) none;
	color: #7F3F98;
  font-family: 'Sofia Pro';
	float: right;
	clear: right;
	font-size: 2em;
	padding: 5px 15px;
	display: block;
	margin: 5px 0 5px 0;
}

.caption span:first-child {
	color: #00A79D;
	margin: 0;
}

.caption p {
  font-family: 'Sofia Pro';
	clear: both;
	background: transparent url(../images/white_trans_80.png);
	background: rgba(255,255,255,0.8) none;
	padding: 5px 15px;
	margin-top: 5px;
	display: block;
	float: right;
	font-size: 1.2em;
	color: #9967AD;
}

.pager {
	padding: 1em 0.5em;
	margin: 0 auto;
	display: block;
	text-align: center;
	background: #FFF;
}

.pager .bx-pager-item {
	display: inline;
}

.pager a {
	display: inline-block;
	margin: 0.5em;
	padding: 0.3em;
	width: 0.3em;
	height: 0.3em;
	text-indent: -9999px;
	border-radius: 2em;
	background: #ECECEC;
	outline:  none;
}

.pager a:hover {
	background: #999;
}

.pager a.active {
	background: #ccc;
	padding: 0.5em;
	width: 0.5em;
	height: 0.5em;
}

.controls {
	position: absolute;
	top: 49%;
}

.prev {
	left: 0;
}

.next {
	right: 0;
}

.controls a {
	display: block;
	padding: 0.5em;
	color: #fff;

	background: #333;
}

.controls a:hover {
	background: #999;
}

/*---------------------------------------- Article --------------------------------------- */

.article h1 span {
	float: right;
	font-size: 0.5em;
	padding-top: 5px;
	margin-left: 10px;
}

/*---------------------------------------- Misc --------------------------------------- */

.bar {
	border: 1px solid #EEE;
	box-shadow: 0 0 10px rgba(0,0,0,0.05);
	padding: 10px;
	width: 100%;
	background: url(../images/flower.png) 0% 20% no-repeat;
	margin: 20px 0 20px 0;
	display: none;
}

.bar h2 {
	float: right;
	font-size: 1.2em;
	text-transform: uppercase;
	margin: 0;
	opacity: 0;
}
/*
.sidebar {
	background: #F9F9F9;
	border-radius: 5px;
	border: 1px solid #EEE;
	box-shadow: 1px 1px rgba(255,255,255,0.8) inset, 0px 1px 2px 2px rgba(0,0,0,0.02);
	padding: 15px;
}
*/

.sidebar {
	-webkit-backface-visibility: hidden;
}

.sidebar ul,
.sidebar li {
	list-style: none;
	padding: 0;
}

.sidebar li {
	padding: 10px 0 15px 0;
}

.sidebar li:first-child {
	border-top: 0;
}

.sidebar a.more {
	float: right;
	display: block;
	font-size: 0.9em;
	color: #00A79D;
}

.sidebar h4,
.sidebar p {
	margin: 0;
	font-family: 'Sofia Pro';
}

.sidebar h4 span {
	float: right;
	margin-left: 10px;
	font-size: 0.9em;
	color: #666;
	display: block;
}

.phoneUs{
	border: 1px solid #9a62b0;
	box-shadow: 1px 1px rgba(255,255,255,0.4) inset;
	border-radius: 5px;
	padding: 10px;
	text-align: center;
	margin-bottom: 20px;
	background: rgb(187,141,205);
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JiOGRjZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM4MTQxOWEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  rgba(187,141,205,1) 0%, rgba(129,65,154,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(187,141,205,1)), color-stop(100%,rgba(129,65,154,1)));
	background: -webkit-linear-gradient(top,  rgba(187,141,205,1) 0%,rgba(129,65,154,1) 100%);
	background: -o-linear-gradient(top,  rgba(187,141,205,1) 0%,rgba(129,65,154,1) 100%);
	background: -ms-linear-gradient(top,  rgba(187,141,205,1) 0%,rgba(129,65,154,1) 100%);
	background: linear-gradient(to bottom,  rgba(187,141,205,1) 0%,rgba(129,65,154,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bb8dcd', endColorstr='#81419a',GradientType=0 );
	color: #FFF;
	text-shadow: 0 0 2px rgba(0,0,0,0.2);
}

.sidebar img {
}

/*---------------------------------------- Footer --------------------------------------*/

#footer {
	margin: 20px;
	padding: 20px 0;
	border-top: 1px solid #EEE;
	font-size: 0.85em;
	position: absolute;
	bottom: 0;
	width: 100%;
  max-width: 1060px;
}

/*---------------------------------------- JavaScript --------------------------------------*/

/* Jquery Select Box */

.sbHolder {
	background-color: #fff;
	border: solid 1px #dcdcdc;
  font-family: 'SanchezSlab';
	font-size: 12px;
	font-weight: normal;
	height: 30px;
	position: relative;
	width: 100%;
	z-index: 999;
}
	.formInline .sbHolder {
		float: left;
		width: 70%;
	}

.sbHolder:focus .sbSelector{

}
.sbSelector{
	display: block;
	height: 100%;
	left: 0;
	line-height: 30px;
	outline: none;
	overflow: hidden;
	position: absolute;
	text-indent: 10px;
	top: 0;
	width: 100%;
}
.sbSelector:link, .sbSelector:visited, .sbSelector:hover{
	color: #6f7d88;
	outline: none;
	text-decoration: none;
}
.sbToggle{
	display: block;
	height: 100%;
	outline: none;
	position: absolute;
	right: 0;
	top: 0;
	width: 30px;
	text-align: center;
	line-height: 28px;
	color: #6f7d88;
}

.sbToggle:hover{
/*	background: url(https://www.nurture-scotland.org/css/img/select-icons.png) 0 -167px no-repeat;*/
}
.sbToggleOpen {
}

.sbToggleOpen:hover{
/*	background: url(https://www.nurture-scotland.org/css/img/select-icons.png) 0 -66px no-repeat;*/
}
.sbHolderDisabled{
	background-color: #3C3C3C;
	border: solid 1px #ddd;
}
.sbHolderDisabled .sbHolder{

}
.sbHolderDisabled .sbToggle{

}
.sbOptions{
	background-color: #fff;
	border: solid 1px #ddd;
	list-style: none;
	left: -1px;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 100%;
	width: 100%;
	z-index: 999;
	overflow-y: auto;
}
.sbOptions li{
	padding: 0 7px;
	position: relative;
	z-index: 999;
}
.sbOptions a{
	border-bottom: solid 1px #ddd;
	display: block;
	outline: none;
	padding: 7px 0 7px 3px;
}
.sbOptions a:link, .sbOptions a:visited{
	color: #bcbcbc;
	text-decoration: none;
}
.sbOptions a:hover,
.sbOptions a:focus,
.sbOptions a.sbFocus{
	color: #6f7d88;
}
.sbOptions li.last a, .sbOptions li:last-child a{
	border-bottom: none;
}
.sbOptions .sbDisabled{
	border-bottom: solid 1px #ddd;
	color: #dadada;
	display: block;
	padding: 7px 0 7px 3px;
}
.sbOptions .sbGroup{
	border-bottom: solid 1px #ddd;
	color: #6f7d88;
	display: block;
	font-weight: bold;
	padding: 7px 0 7px 3px;
}
.sbOptions .sbSub{
	padding-left: 17px;
}