/*
Theme Name:     Agility Child Theme
Theme URI:      http://agility.sevenspark.com
Description:    Child theme for Agility
Author:         Chris Mavricos, SevenSpark
Author URI:     http://sevenspark.com
Template:       agility
Version:        2.0
*/

/* This stylesheet is unnecessary to include, unless you've edited it */
@import url("../agility/style.css"); 


/* Hooray!  You're not editing the parent theme!  Add your custom styles below here */

/*Background images by page ID*/

/*--Home--*/

body.page-id-2  {
background-image: url("https://www.northernstarassociates.co.uk/wp-content/uploads/2013/02/Homepage.jpg") !important;
background-position: center center;
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
}

/*--What We Do Section--*/

body.page-id-85, body.page-id-87, body.page-id-89, body.page-id-91, body.page-id-93, body.page-id-503  {
background-image: url("https://www.northernstarassociates.co.uk/wp-content/uploads/2013/02/WhatWeDo.jpg") !important;
background-position: center center;
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
}

/*--Our Work Section--*/

body.page-id-131, body.page-id-518, body.page-id-129, body.page-id-520, body.page-id-157, body.page-id-523, body.page-id-513  {
background-image: url("https://www.northernstarassociates.co.uk/wp-content/uploads/2013/02/OurWork.jpg") !important;
background-position: center center;
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
}

/*--About Us Section--*/

body.page-id-65, body.page-id-61, body.page-id-737, body.page-id-58, body.page-id-62 {
background-image: url("https://www.northernstarassociates.co.uk/wp-content/uploads/2013/02/About.jpg") !important;
background-position: center center;
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
}

/*--Get in Touch / Data Protection Policy Pages--*/

body.page-id-83, body.page-id-707 {
background-image: url("https://www.northernstarassociates.co.uk/wp-content/uploads/2013/02/GetInTouch.jpg") !important;
background-position: center center;
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
}

.wrap { background-color: transparent; }

.box-layout .wrap { /*background-color: #000; opacity: 0.8;*/  background:url(http://northernstarassociates.co.uk/wp-content/uploads/2013/02/black50.png) repeat; */ }

.tagline { color:#fff; margin-top:0px; padding-bottom:0px; margin-bottom:0px; }

.fleuron {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
	background-image:none;
	border-top: dashed thin #fff;
    background-origin: padding-box;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: auto auto;
    border-top-color: -moz-use-text-color;
    border-top-style: dashed;
    border-top-width: thin;
    display: block;
    height: 20px;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 35px;
}

.flex-container .flex-control-nav.flex-control-paging { display:none; }

.flex-play, .flex-pause, .flex-next, .flex-prev { display: none; }

.flex-container .flex-direction-nav .flex-prev, .flex-container .flex-direction-nav .flex-next, .flexslider:hover .flex-direction-nav .flex-next, .flexslider:hover .flex-direction-nav .flex-prev { display:none; }

hr.mini { display:none; }

/*.container .one-half.column, .container .eight.columns { width:100%; border-top: dashed thin #fff; margin-top:40px; padding-top:40px; }*/

#colophon { background-image:none; background-color:#43045b; border-top:none; opacity:0.9; }

#colophon .footer-upper { border-top: none; }


@font-face {
	font-family: eau_book;
	src: url(http://northernstarassociates.co.uk/wp-content/themes/agility/inc/fonts/eau_sans_book.otf),
		 url(http://northernstarassociates.co.uk/wp-content/themes/agility/inc/fonts/eau_sans_book.ttf),  
     	 url('css3/eau_sans_book.eot'); /* IE9 */
}

@font-face {	
	font-family: eau_bold;
	src: url(http://northernstarassociates.co.uk/wp-content/themes/agility/inc/fonts/eau_sans_bold.otf),
		 url(http://northernstarassociates.co.uk/wp-content/themes/agility/inc/fonts/eau_sans_bold.ttf), 
     	 url('css3/eau_sans_bold.eot'); /* IE9 */
}

@font-face {	
	font-family: novabold;
	src: url(http://northernstarassociates.co.uk/wp-content/themes/agility/inc/fonts/novecentowidebold.otf),
		url(http://northernstarassociates.co.uk/wp-content/themes/agility/inc/fonts/novecentowidebold.ttf),
     	 url('css3/eau_sans_bold.eot'); /* IE9 */
}

@font-face {	
	font-family: nova;
	src: url(http://northernstarassociates.co.uk/wp-content/themes/agility/inc/fonts/novecentowidemedium.otf),
		url(http://northernstarassociates.co.uk/wp-content/themes/agility/inc/fonts/novecentowidemedium.ttf),
     	 url('css3/eau_sans_bold.eot'); /* IE9 */
}

h1, h2, h3 { font-family: novabold, Arial, Helvetica, sans-serif; color:#fff; }

#colophon h3 { font-size:20px; color:#fff; font-style:normal; }

h3 { font-size: 20px; }

#colophon, #colophon p, #colophon ul, #colophon ol {color:#fff; font-family: eau_book, Arial, Helvetica, sans-serif; }

#header #header-inner { border-bottom:none; }

#submenu {  }
#submenu ul { margin-left:0; }
#submenu ul li {float:left; margin-bottom:20px; margin-right:1px;  padding:5px; text-align:center; background-color: #613A71; font-family: nova, Arial, Helvetica, sans-serif; color:#fff; }

#submenu  a { color:#fff; padding:5px;  text-align:center; /* background-color:#613a71; */  text-transform:uppercase; text-decoration:none;  }
#submenu  a:hover { /*background-color: #19a08c;*/ color:#fff; padding:5px;  text-align:center; text-transform: uppercase; }
#submenu  .current_page_item { background-color: #75518e; color:#fff; padding:5px;  text-align:center; text-transform: uppercase; font-family: novabold, Arial, Helvetica, sans-serif; color:#fff; }

.sub {width:90%; height:29px; border-bottom: 1px solid #fff; margin-left:50px; }

nav#main-nav > ul > li > a {
	border-top: none;
    color: #FFFFFF;
    font-style: normal;
	text-transform:uppercase;

	font-family: nova, Arial, Helvetica, sans-serif; color:#fff;
    transition-delay: 0s;
    transition-duration: 0.1s;
    transition-property: all;
    transition-timing-function: ease-in-out;
	font-size:14px;
}

nav#main-nav.nav-default-right {
    bottom: 19px;
    /*position: absolute; ADDY FIX*/
}

nav#main-nav > ul > li:hover > a,
nav#main-nav > ul > li > a:hover{
	border:none;
	padding-top:.3em;
	color:#fff;
}

single p, .page #content p {
    color: #fff;
	font-family: eau_book, Arial, Helvetica, sans-serif;
    line-height: 1.6em;
	text-align:justify;
}

.skin-red #sub-title, .skin-red #main-container p a:not(.button), .skin-red nav#main-nav > ul > li.current-menu-item > a, .skin-red a.excerpt-link, .skin-red .entry-meta .cat-links a, .skin-red #tweet a, .skin-red #colophon #footer-base a {
    color: #fff; font-family: novabold, Arial, Helvetica, sans-serif; color:#fff;
}

#content { margin-top:0px; }

.sidebar aside {border-bottom: dashed thin #fff; }

#colophon #footer-base { background-image: none; background-color: #421B53; font-style: normal; font-family: novabold, Arial, Helvetica, sans-serif; color:#fff; }

#back-to-top {visibility: hidden; }

.wpcf7 input[type="text"], .wpcf7 textarea { background-color: #775a96; color:#fff; background-image: none; width:100%; }

.wpcf7 textarea { background-color: #775a96; color:#fff; background-image: none; }

.wpcf7 input[type="text"]:focus, .wpcf7 textarea:focus { background-color:#775a96 ; border:none; color:#fff; }

#content {color:#fff; font-family: eau_book, Arial, Helvetica, sans-serif; }

.sidebar aside ul li a {
    color: #92278f;
	text-decoration:underline;
	font-family: eau_bold, Arial, Helvetica, sans-serif;
}

.sidebar aside ul li a:hover {
    color: #92278f;
}

.sidebar aside p {
	font-family: eau_book, Arial, Helvetica, sans-serif;
	color:#fff;
}

nav#main-nav > ul > li {
	margin-left:2px;
	margin-right:0px;
}

.social_fb { width:25px; height:25px; background: url(http://northernstarassociates.co.uk/wp-content/uploads/2013/02/NS_Facebook-Icon_Small.png); background-repeat:no-repeat; font-size:0px!important; }
.social_tw { width:25px; height:25px; background: url(http://northernstarassociates.co.uk/wp-content/uploads/2013/02/NS_Twitter-Icon_Small.png); background-repeat:no-repeat; font-size:0px!important; }


a, a:visited { color: inherit; }

a:hover, a:focus { color: inherit; }

.follow-button {visibility:hidden;}

.entry-meta {border:none; }

.in-reply-to { margin-right:10px!important; }
.retweet { margin-right:10px!important; }

.widget_twitter ul li {
	margin-left:0px;
	/*margin-left:50px;*/
}

table { border:none; background-image: none; background-color:transparent; vertical-align:top!important; font-size:inherit; }

table th, table td { padding:0px; }

tr, th, td, thead {vertical-align: top!important; }

body.page-id-2 #submenu { display: none !important; }

body.page-id-83 #submenu { display: none !important; }

.single article.type-post header.entry-header, .single article.type-page header.entry-header, .single article.type-portfolio-item header.entry-header, .page-template-page-portfolio-php div.type-page header.entry-header, .page article header.entry-header, header.page-header { display: none; }


body.page-id-2 .testimonialswidget_testimonials .testimonialswidget_active { text-align:center; }

body.page-id-2 .testimonialswidget_testimonial cite { text-align:center; }


.sidebar { margin-top:0px; }

/* NAV */

nav#main-nav > ul > li.current-menu-item > a, nav#main-nav > ul > li.current-menu-parent > a, nav#main-nav > ul > li.current-menu-ancestor > a { color:#fff; }

nav#main-nav > ul li ul{
	top:100%;
	left:0;
	position:absolute;
	display:block;
	
	height:0px;
	overflow:hidden;
	opacity:0;	
	
	min-width:100%;
		
	-moz-transition: all .25s ease-in-out;
	-webkit-transition: all .25s ease-in-out;
	-o-transition: all .25s ease-in-out;
	transition: all .25s ease-in-out;
	
	background-color:#c0afcd!important;
	background-color:rgba(240,240,240,.9);
	
}

nav#main-nav ul ul li a:hover{
	color:#000;
	background-color:#6c6699!important;
	background-color:rgba(230,230,230,1);
}


nav#main-nav > ul > li.current-menu-item > a,
nav#main-nav > ul > li.current-menu-parent > a,
nav#main-nav > ul > li.current-menu-ancestor > a{
	border: none!important;
	padding-top:.3em;

}
nav#main-nav > ul > li:nth-of-type(1):hover a,
nav#main-nav > ul > li:nth-of-type(1) > a:hover{
	border: none!important;
}
nav#main-nav > ul > li:nth-of-type(2):hover a,
nav#main-nav > ul > li:nth-of-type(2) > a:hover{
	border: none!important;
}
nav#main-nav > ul > li:nth-of-type(3):hover a,
nav#main-nav > ul > li:nth-of-type(3) > a:hover{
	border: none!important;
}
nav#main-nav > ul > li:nth-of-type(4):hover a,
nav#main-nav > ul > li:nth-of-type(4) > a:hover{
	border: none!important;
}
nav#main-nav > ul > li:nth-of-type(5):hover a,
nav#main-nav > ul > li:nth-of-type(5) > a:hover{
	border: none!important;
}
nav#main-nav > ul > li:nth-of-type(6):hover a,
nav#main-nav > ul > li:nth-of-type(6) > a:hover{
	border: none!important;
}

nav#main-nav.nav-default-right > ul {
	margin-right:76px;
}


a.button, button, input[type="submit"], input[type="reset"], input[type="button"] {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: #542370;
    background-image: none;
    background-origin: padding-box;
    background-position: 0 0;
    background-repeat: repeat;
    background-size: auto auto;
	border: none!important;
    color: #fff;
	font-family: eau_book, Arial, Helvetica, sans-serif;    line-height: 2em;
	font-weight:normal;
    text-transform: none;
}


a.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
	color: #fff;
 background-color: #542370;
 border: none!important;
}



a.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
 background-color: #542370;
	
	text-transform:none;
	
	color: #fff;
	box-shadow: none;

	line-height:2em;
}

q:after { display:none;}
q:before { display:none;}

#content ul {
line-height:22px; padding-left:20px; text-align:left; font-size:15px; list-style-image: url("/wp-content/uploads/2013/03/Bullet.png");
}

table th, table td ul {list-style-image: none!important; padding-left:0px!important; margin-left:0px!important; }