  /**
 * If using a CSS pre-processor, tell it to overwrite this file. If not, place
 * your custom CSS modifications here.
 */


@font-face {
    font-family: "pluto"; /* embeded font for slideshow  */
    src: url(https://wearehourglass.org/themes/custom/hourglass/fonts/de5373290268de4bf704a591f17ef92f.woff) format("truetype");
}


body,div,p,span,h3,h4,li ,
.we-mega-menu-ul>.we-mega-menu-li>a
{
	color: #42403f;
	font-family: pluto, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 14px;
	font-weight: light;
}

.taxonomyContent p {
	font-family:  "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

a {
		color: #c93765;
}

a:hover {
	text-decoration: none;
}

.navbar-we-mega-menu .nav-tabs>li.active>a, .navbar-we-mega-menu .nav-tabs>li.active>a:focus, .navbar-we-mega-menu .nav-tabs>li.active>a:hover {
		color: #c93765 !important;
}

.logo {
	padding: 0;
	margin: 0;
	position: relative;
	z-index: 100;
	padding-bottom: 10px;
}

.logo img {
	width: 150px !important;
	height: auto;

}

.content p,
.taxonomyContent .views-field-body p {
		font-family:  "Helvetica Neue", Helvetica, Arial, sans-serif !important;
	}

.user-logged-in  #block-loginandregistrationformpopup {
		display: none;
}

#block-loginandregistrationformpopup {
	float: right;
	position: relative;
	top: 10px;
	max-width: 200px;
	z-index: 100;
}

/*
.path-frontpage .page-header {
	display: none;
}*/

/* correct the shite from the theme */

.navbar-default .navbar-collapse,
.navbar-default .navbar-form,
.navbar-default {
	border:0;
	background-color: transparent;
	background: none;
}

.feed-icons {
	display: none
}

.navbar-we-mega-menu .nav-tabs>li.active>a,
.navbar-we-mega-menu .nav-tabs>li.active>a:focus, .navbar-we-mega-menu .nav-tabs>li.active>a:hover,
.we-mega-menu-ul>.we-mega-menu-li>a,
.we-mega-menu-submenu li.we-mega-menu-li:first-child>a, .we-mega-menu-submenu li.we-mega-menu-li:first-child>span,
.we-mega-menu-submenu li.we-mega-menu-li a,
.we-mega-menu-ul .we-mega-menu-li{
	font-size: 14px;
	background-color: transparent;
	background: none;
	border-right: 0;
	border-left: 0;
	text-transform: none;
}

.we-mega-menu-ul a:hover  {
	background-color: transparent !important;
	background: none !important;
}

/*  navigation */

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
	color: #c93765;
	background-color: transparent;
	background: none;
}

.navbar-nav {
	float: right;
}


ul.nav ul.dropdown-menu li.menu-item--expanded:hover ul.dropdown-menu {
 display: block;
 position: absolute;
 left: 175px !important;
 top: -33px !important;
 background: #92996F;
 border: 0px solid white;
 width: 350px;
}

.region-we-mega-menu {
	background-color: transparent;
}

.navbar-we-mega-menu.navbar .nav-tabs>li.active>a, .navbar-we-mega-menu.navbar .nav-tabs>li.active>a:focus, .navbar-we-mega-menu.navbar .nav-tabs>li.active>a:hover {
	color: #000 !important;
}

.we-mega-menu-ul {
	width: auto;
	float: right;
	position: relative;
}


ul.nav li.dropdown:hover > ul.dropdown-menu {
  display: block;
	position: absolute;
}

	#block-mainnavigation {
		display: none;
	}


/* ends nav */

.nationTitle {
	position: : absolute;
	top:130px;
	z-index: 1000000000;
	height: 40px !important;
	overflow: hidden;

}

.nationTitle h2 a {
	font-size: 12px !important;
}



/* sections */

.page-header span {
	font-size: 40px;
}

.sections .views-row {
	position: relative;
	float: left;
	width: 32%;
	margin-right: 1%;
	margin-bottom: 10px;
	height: 400px;
}

.sections  {
	position: relative;
	width:90%;
	left: 5%;
	top: -40px;

}

.sections .views-row > div {
	width: 100%;
	float: none;
	clear: both;
	min-width: 100%;
}


.nationTitle {
	position: absolute;
	top:-80px;
	width: 100%;
	text-align: center;
}

.nationTitle h2 {
	color:#fff;
	text-align: center;
	font-size: 20px;
}

.sectionTitleContainer  {

	height: 200px;
	padding: 10px;
	text-align: center;
	position: relative;
	width: 100%;
	float: none;
	clear: both;
	min-width: 100%;
	padding-top: 20px;
	background-color: #e2e3e4 !important;
}

.sectionTitleContainer h2 a, 
.sectionTitleContainer h2  {
	text-align: center;
	position: relative;
	width: 100%;
	height: 150px;
	/* color: #c93765; */
	font-size: 16px;
}

.sectionTitleContainer img  {
	max-height: 100px;
	width: auto;
	display: inline-block;
}

.sectionTitleContainerblue a  {
	color:#278eb9 !important;

}
.sectionTitleContainerGold a {
	color: #de7f00 !important;
}

.sectionTitleContainerPurple a  {
	color: #813682 !important;
}

.sectionTitleContainerPink a:hover  {
	color: #c83664 !important;
}

/*
.sectionTitleContainerpink a  {
	color:#cb3765 !important;
} */

.sectionTitleContainerpurple a {
	color:#702475 !important;
}

.sectionTitleContainerorange a {
	color:#cb7d13;
}

#block-views-block-sections-block-1 .form-control,
#block-views-block-sections-block-1 select,
#block-views-block-sections-block-1 .select-wrapper:after {
	background-color: transparent;
	border:0;
	color: #fff;
}

#block-headerblock  {
	line-height: 250px;
	height: 250px;
	width:100%;
	vertical-align: middle;
	display: inline-block;
	position: relative;
	margin-top: 0;
	padding-top: 0;
	top: -20px;
	margin-bottom: 0px;
	background-image: url("https://knowledgebank.wearehourglass.org/themes/custom/hgkbtheme/images/headerBg.jpg");
	background-repeat: no-repeat;
	background-position: center;

}

.path-frontpage #block-headerblock {
	line-height: 439px;
	height: 439px;
}

.path-frontpage .headerBlockContainer {
	position: absolute;
	top:0;
	width: 100%;
	line-height: 300px;
	vertical-align: middle;
	display: inline-block;

}

.headerBlockContainer {
	position: absolute;
	top:0;
	width: 100%;
	line-height: 200px;
	vertical-align: middle;
	display: inline-block;

}

.headerBlock {
	position: relative;
	width: 100%;
	line-height: 130%;
	vertical-align: middle;
	display: inline-block;
}

#block-headerblock h1 {
	position: relative;
	line-height: 130%;
	color: #fff;
	text-align: center;
	display: inline-block;
	width: 100%;
	float: none;
	font-size: 45px;
}

#block-headerblock h1 a  {
	color: #fff;
}

#block-headerblock h2 {
	position: relative;
	line-height: 130%;
	color: #fff;
	text-align: center;
	display: inline-block;
	width: 100%;
	float: none;
}


.sectionMenu  {
	position: relative;
	padding-top: 20px;
}

.sectionMenu a,
.sectionLinks a {
	color: #333;
	line-height: 200%;
	position: relative;
}

.sectionMenu .sectionTitleContainerGold a,
.sectionMenu  .sectionTitleContainerblue a  {
	color:#333 !important ;

}

.sectionMenu .sectionTitleContainerGold a:hover  {
	color: #de7f00 !important

}

.sectionMenu  .sectionTitleContainerblue a:hover {
	color:#278eb9 !important;
}

.sectionMenu .views-row {
	position: relative;
	padding-bottom: 10px;
}

.sectionIcon > div {
	text-align: left;
	float: none;
	clear: both;
	position: relative;
	width: 100%;
}


.sectionIcon a {
	color:#c83664;
	float: none;
	clear: both;
	position: relative;
	width: 100%;
	font-size: 16px;
	padding-top: 10px;
}

.pageIcon {
	position: relative;
	margin-top: 60px;
	width: auto;
	float: left;
	margin-right: 20px;
	height: 70px;
	line-height: 70px;
	vertical-align: bottom;
	color: #c93765;
	margin-bottom: -20px;
}

.pageIcon img {
	position: relative;
	max-height: 60px;
	width: auto;
	line-height: 70px;
	float: left;
	padding-right: 10px;
}

.pageIcon a {
	color: #c93765;
}

.pageIcon span {
	position: relative;
	top: 0px;
	float: left;
	color: #c93765;
	}

.pageIcon .file-icon,
.pageIcon .file-icon .glyphicon,
.pageIcon .file-size,
.pageIcon .file > span:first-child  {
	display: none !important;
	}

.pageIcon .file-link  {
	height: 60px;
	line-height: 60px;
	vertical-align: middle;
	position: relative;
	}

.pageIcon .file-link a {
	background-image: url(https://hgkb.polyspiral-dev.co.uk/themes/custom/hgkbtheme/images/icons/pdfPink.png);
	background-size: 38px;
	background-repeat: no-repeat;
	background-position: top !important;
	height: 400px;
	min-width: 60px;
	font-size:0.1px;
	line-height: normal;
	color:#fff;
	display: block;
	vertical-align: middle;
	position: relative;
	padding-top: 20px;
	top:-5px;
}

.pageIcon .file > span:first-child,
.pageIcon  .file > span {
	border:0;
}



/* login pop up */

#block-userlogin {
  display: none;
}   

#block-userlogin {
  display: none;
}   

#block-userlogin {
  display: none;
}   

#block-userlogin {
  display: none;
} 

section#block-userlogin h2 {
    color: #fff;
    background: #c83664;
    padding: 1rem 2rem 1rem 2rem;
    margin-top: -1rem;
    text-align: center;
}

/*
.block-userlogin-modal {
	box-shadow: 4px 4px 8px 8px #777;
} */

#block-userlogin {
	display: none;
}

#user-login-form
#edit-submit {
	width: 100%;
	border-radius: 0 0;
	background: #c83664;
	height: 5rem;
	position: relative;
	font-size: 2.5rem;
  text-transform: uppercase;
  margin-bottom: 3rem;
  margin-top: 2rem;
}

ul li a.request-password-link {
	position: absolute;
	top: -125px;
	left: -180px;
	width: 200px;
	text-align: left;
	color: #000;
	list-style-type: none;
}


#block-userlogin > ul li {
 list-style: none;
}

p.sign-up-text {
	position: relative;
	top: 12rem;
	text-align: center;
	font-size: 2rem;
	font-weight: bold;
	margin-top: -3rem;
}

#user-login-form label[for="edit-name"],
#user-login-form label[for="edit-pass"] {
  display: none;
}

#user-login-form #edit-name,
#user-login-form #edit-pass {
	border-radius: 0;
	line-height: 2rem;
	height: 5rem;
	width: 60%;
	margin: 0 auto;
	background: #cacaca;
}
.spb_center {
	margin: auto;
	top: 50%;
	left: 50%;
	margin-left: -200px;
	margin-top: -70px;
	padding: 0 0;
	border: none;
}

#user-login-form #edit-name, #user-login-form #edit-pass {
	border:0;
	color: #3A3A3A;
	width: 90%;
	font-family: "Helvetica Neue", Helvetica, Arial, "sans-serif";
}

#block-userlogin {
	text-align: center;
}

#block-userlogin > ul li {
	position: relative;
	display: inline-block;
	padding-top: 10px;
	float: none;
	clear: both;
	text-align: center;
}

.spb-popup-main-wrapper
{
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.6);
}

/* hide on user pages */

.path-user #spb-block-userlogin {
	display: none;
}

/* hide logout button */
.logoutLink {
	display: none !important;

}

.user-logged-in .logoutLink {
	display: block;

}

/* login ends */

/* nation menu */

#block-nation {
	position: relative;
	z-index: 10000;
	top: 50px;
	width: 200px;
	text-align: left;

}


#block-nation .btn ,
.dropdown-menu  {
	background-color: transparent !important;
	color: #fff;
	text-align: left;
}

#block-nation .dropdown-menu {
	box-shadow: none !important;
	padding: 0 !important;

}

#block-nation .open > .dropdown-menu li a,
.menu--nation {
	color: #444;
	background-color: #fff !important;

}

/* nation menu ends*/

/* body styles */

.pinkTextBig,
.pinkTextBig  a {
	color: #c83664;
	font-size: 25px;
	font-weight: bold;
}

.pinkText {
	color: #c83664;
}

.purpleText {
	color: #813682;
}

.orangeText {
	color: #de7f00;
}

.singleLine {
	line-height: 26px ;

}

.LineandOneHalf {
	line-height: 39px !important ;
}

.doubleLineHight {
	line-height:  52px !important ;
}




.btn-primary {
	border:0;
}





/* footer */

.footer {
	margin-top:40px;
}

.footer a {
	color: #333;
}


footer {
	width: 100%;
	background-color: #ddd;
	position: relative;
	line-height: 120%;

}

.footerSections {
	position: relative;
	width: 24%;
	margin-left: 0.5%;
	margin-right: 0.5%;
	float: left;
	text-align: left;
	line-height: 120%;

}

.footerSections h2 {
	font-size: 15px;
}

.footerSections p {
	font-size: 12px;
}

/* footer ends */



.sectionMobileMenu {
	display: none;
}


/* mobile . */

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

	#block-headerblock h2 {
		font-size:20px;
	}




	}



@media only screen 
and (max-width : 990px) {
	
	
.logo {
	
	padding-top: 10px;
}
	
	.sectionTitleContainer h2 a {
		font-size: 11px;
	}
	
	.sections .views-row {
		height: 320px;
	}

	.footerSections h2 {
	font-size: 12px;
}

	.footerSections p,
	footer p {
		font-size: 9px;
	}
	
	h1 ,
	#block-headerblock h1 a {
		font-size: 20px;
	}
	
	h2,
	#block-headerblock h2 {
		font-size: 16px;
	}
	
	.sectionMenu a, .sectionLinks a {
		font-size: 12px;
	}
	
	#block-mainnavigation {
		display: block;
		float: right;
		width: 40%;
	}
	
	.sectionMenu {
		display: none;
	}
	
	.sectionMobileMenu {
		display: block;
		margin-top: 20px;
		margin-bottom: 20px;
		font-size: 12px;
		
	}
	
	
	
header .region-we-mega-menu	.navbar-toggle {
		display: none;
	}

	
} 

@media only screen 
and (max-width : 768px) { 
	
	.footerSections p, footer p {
		font-size: 8px;
		
	}
}


@media only screen 
and (max-width : 500px) { 
	
	.footerSections p, footer p {
		font-size: 8px;
		
	}
	.sections .views-row {
		height: 260px;
	}
	
	h1,
	#block-headerblock h1{
		font-size: 12px !important ;
	}

	#block-headerblock h1 {
		top:20px;
		position: relative;
		text-align: center;

	}
	
	h2,
	#block-headerblock h2 {
		font-size: 8px;
	}
	
	.sectionIcon img {
		position: relative;
		max-height: 30px;
		width: auto;
		
	}
	
	#block-headerblock {
		height: 150px;
		line-height: 100px;
	}
	
	.headerBlockContainer {
		line-height: 100px;
	}

	
		.sectionIcon  {
	
		padding-bottom: 20px;
	}
	
	.footerSections {
	position: relative;
	width: 100%;
	margin-left: 0%;
	margin-right: 0%;
	float: none;
	text-align: left;



} 

#block-nation {
	position: absolute;
	top:65px;
	left: 20px;
}

.sections .views-row {
	width: 48%;
	padding-bottom: 40px;
}
	
	
}


