/* http://meyerweb.com/eric/tools/css/reset/
	v2.0 | 20110126
	License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin:0;
	padding:0;
	border:0;
	font-size:100%;
	color:#282828;
	vertical-align:baseline;
	-webkit-text-size-adjust:100%;
	-ms-text-size-adjust:none;
	 font-family: "Open Sans",sans-serif;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {display:block;}
body {line-height:1;}
ol, ul {list-style:none;}
blockquote, q {quotes:none;}
blockquote:before, blockquote:after,
q:before, q:after {
	content:'';
	content:none;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
img {
	vertical-align:top;
	border-style:none;}
a {
	text-decoration:none;
	color:#013896;
}
a:hover {text-decoration:underline;}
a:active {background-color:transparent;}
input,
textarea,
select {
	font:100% "Open Sans", Helvetica, Arial, sans-serif;
	vertical-align:middle;
	color:#000;
}
form,
fieldset {
	margin:0;
	padding:0;
	border-style:none;
}
input[type=text],
input[type=submit] {-webkit-appearance:none;}


body {
	background-color: #efefef;
}

/**********************************************************************************************/
/* * * * * * * * * * * * * * * * * * * *  MENU & HEADER * * * * * * * * * * * * * * * * * * * */
/**********************************************************************************************/
.header {
	background-color: #3A3A3A;
	height: 120px;
}

.logo {
  position: absolute;
  top: -70px;
  left: 2px;
  width: 175px;
  height: 184px;
  background: url('../img/logo.png') no-repeat;
  text-indent: -9999px;
  overflow: hidden;
  z-index: 9;
}
.logo a {
  display: block;
  height: 100%;
}


#header h1, #header .box p.header-tagline {
  background: url('../img/GFFN-header-title.png') no-repeat;
  display: block;
  width: 547px;
  height: 33px;
  text-indent: -5000em;
  margin: 10px 0;
}
.header-subtitle {
  background: url('../img/GFFN-header-subtitle.png') no-repeat;
  display: block;
  width: 448;
  height: 15px;
  margin: 0 0 0 5px;
  text-indent: -5000em;
}

.social-networks {
  position: absolute;
  top: 14px;
  right: 0;
  overflow: hidden;
}
.social-networks a {
  display: block;
  width: 33px;
  height: 33px;
  text-indent: -9999px;
  overflow: hidden;
  background: url('../img/sprite.png') no-repeat;
}
.social-networks li {
  float: left;
  margin: 0 0 0 21px;
}
.social-networks .rss {
  background-position: 0 0;
}
.social-networks .twitter {
  background-position: -54px 0;
}


/* Menu */
@media screen and (min-width: 992px) {
		.mobile-menu-toggle {
			display: none;
		}
		#nav ul {
		  float: left;
		  margin: 20px 0 0 0;
		}
		#nav ul li {
			float: left;
			margin: 0 0 0 8px;
			position: relative;
		}

		#nav ul li:first-child {
			margin: 0;
		}

		#nav ul a {
			font-size: 1.1em;
			line-height: 1.4em;
			color: #fffefe;
			padding: 5px 13px 8px;
		}

		#nav .current_page_item, 
		#nav .current_page_item a, 
		#nav .current-menu-item a, 
		#nav .current-menu-parent a,
		#nav a:hover {
			background: #efefef;
			color: #013896;
			text-decoration: none;
		}
		#nav ul .sub-menu {
		  position: absolute;
		  width: 540px;
		  margin: 0;
		  padding: 20px;
		  top: 28px;
		  background-color: rgba(239, 239, 239, 0.9);
		  float: none;
		  z-index: 8;
		}
		#nav ul #menu-item-3744 .sub-menu,
		#nav ul #menu-item-3765 .sub-menu,
		#nav ul #menu-item-3782 .sub-menu {
			left: 0;
		}
		#nav ul #menu-item-3792 .sub-menu,
		#nav ul #menu-item-3797 .sub-menu {
			width: 300px;
			right: 0;
		}

		#nav ul .sub-menu .menu-item {
		  width: 49%;
		  margin: 4px 0;
		}
		#nav ul #menu-item-3792 .sub-menu .menu-item,
		#nav ul #menu-item-3797 .sub-menu .menu-item {
			width: 100%;
		}

		#nav ul .sub-menu a {
			color: #535353;
			padding: 5px 0;
		}
		#nav ul .sub-menu a:hover {
			background-color: transparent;
			text-decoration: underline;
		}
}
@media screen and (min-width: 1199px) {
	#nav ul .sub-menu {
		top: 32px;
	}
}
@media screen and (min-width: 992px) and (max-width: 1199px) {
		#nav ul {
			margin-top: 24px;
		}
		#nav ul li {
			margin-left: 4px;
		}
		#nav ul a {
			font-size: 0.95em;
			line-height: 1.4em;
			color: #fffefe;
			padding: 5px 10px 8px;
		}
}


@media screen and (max-width: 991px) {
		.header {
			height: 105px;
		}
		.site-title {
			display: none;
		}
		.social-networks {
			top: 33px;
			right: 20px;
			z-index: 99;
		}
		.social-networks li {
	    margin: 0 0 0 6px;
	  }
	  .social-networks a {
	  	width: 31px;
	  	height: 31px;
	  	background-size: 405px;
	  }
	  .social-networks .twitter {
		  background-position: -41px 0;
		}
		.logo {
			top: 0;
			z-index: 9;
			background-size: 130px;
			width: 128px;
		}
		.mobile-menu-toggle {
			display: block;
			margin-top: 35px;
	    text-align: center;
	    color: white;
	    font-size: 1.5em;
	    cursor: pointer;
		}
		#nav ul {
			display: none;
		}
		#nav ul.active {
			display: block;
			position: absolute;
			width: 92.5%;
			background: #3A3A3A;
	    padding: 20px;
	    text-align: center;
	    z-index: 8;
		}
		#nav ul .menu-item {
			margin: 5px 0;
		}
		#nav ul a {
			color: white;
			font-weight: 600;
			display: block;
			padding: 10px 0;
		}
		#nav ul .sub-menu {
			padding-top: 0;
			width: 100%;
			margin-left: -20px;
		}
		#nav ul .sub-menu a {
			font-weight: 300;
		}

}

@media screen and (max-width: 430px) {
	.header {
		height: 70px;
	}
	.social-networks {
    top: 23px;
    right: 10px;
	}
	.social-networks li {
    margin: 0 0 0 12px;
  }
  .social-networks a {
  	width: 20px;
  	height: 20px;
  	background-size: 305px;
  }
  .social-networks .twitter {
	  background-position: -34px 0;
	}
	.logo {
		background-size: 95px;
		width: 95px;
	}
	.mobile-menu-toggle {
		margin-top: 20px;
		margin-left: 5px;
	}
}

/**********************************************************************************************/
/* * * * * * * * * * * * * * * * * * * * * * CONTENT * * * * * * * * * * * * * * * * * * * * */
/**********************************************************************************************/
#wrapper {
	margin-top: 30px;
}
#content h1, h2, h3 {
  margin: 0 0 10px;
  padding: 0 0 8px;
  font: 21px/27px "Open Sans", sans-serif;
  line-height: 35px;
  border-bottom: 1px solid #eee;
}
#content h2 {
  font-size: 20px;
  line-height: 25px;
  letter-spacing: 0;
  padding-left: 0;
}
#content h3 {
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 0;
  padding-left: 0;
}
h1 {
  padding: 10px 6px 4px;
  margin: 0 0 7px;
  font-size: 32px;
  line-height: 42px;
  letter-spacing: 1px;
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
} 
h2 {
  padding: 10px 6px 4px;
  margin: 0 0 7px;
  font-size: 26px;
  line-height: 32px;
  letter-spacing: 1px;
}
h3 {
  margin: 0 0 6px;
  padding: 10px 3px 7px;
  font-size: 24px;
  line-height: 30px;
}
.nix {
  padding: 8px 10px 0 14px;
  border: 0;
}
p {
  font-size: 16px;  
}
#content p {
  margin: 0 0 12px 0;
  font-weight: 300;
  font-size: 16px;
  line-height: 21px;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
}
#content p.bigger {
	font-size: 18px;
	line-height: 25px;
}
#content ul, #content ol {
	font-weight: 300;
  font-size: 14px;
  line-height: 21px;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;	
}
#content ul {
	list-style: inherit;
	margin-left: 20px;
}

/**********************************************************************************************/
/* * * * * * * * * * * * * * * * * * * * * * * HOMEPAGE * * * * * * * * * * * * * * * * * * * */
/**********************************************************************************************/
.header-teaser {
	text-align: center;
  margin-bottom: 30px;
}
.header-teaser p {
	font-size: 19px;
}

.gffn-block {
	background: white;
  padding: 20px;
  position: relative;	
}
#content .gffn-block .wrap {
  font-weight: 300;
  font-size: 14px;
  line-height: 21px;
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.gffn-block .visual {
  margin: 0 0 0;
  background: #fff;
  text-align: center;
}
.gffn-block .visual img {
	margin: 0 auto;
	max-width: 100%;
  height: auto;
}
.footer-box {
  min-height: 28px;
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
}
.footer-box .holder {
  padding: 3px 0 0;
  border-top: 1px solid #eee;
  overflow: hidden;
  text-align: center;
  position: relative;
  text-align: right;
}
#content .counter {
  display: inline-block;
  margin: 0 17px 0 0;
  font-size: 11px;
  line-height: 15px;
}
.footer-box time {
  display: inline-block;
  padding: 4px 0 6px 18px;
  font-size: 11px;
  line-height: 15px;
  color: #6c6c6c;
  background: url('../img/sprite.png') no-repeat 0 -64px;
  background: none;
}

/* Featured news */
.featured-news .footer-box {
	bottom: 33px;
}
.featured-news .gffn-block .wrap {
	padding-bottom: 60px !important;
}
/* Brief news */
.news ul {
	list-style: none !important;
	margin-left: 0 !important;
}
.news li {
  margin: 0 0 12px;
}
.news a {
  display: inline-block;
  line-height: 20px;
  font-size: 14px;
  font-weight: 400;
}
.news time {
  display: block;
  font-size: 9px;
  line-height: 10px;
  color: #999;
}
.brief-news .gffn-block .wrap {
	padding-bottom: 0 !important;
}


/* News section */
.all-news {
	margin-top: 25px;
}
.all-news .gffn-block {
	min-height: 422px;
  margin-bottom: 30px;	
}
.load-more-post {
	text-align: center;
	margin-bottom: 70px;
}
.load-more, .more {
  margin: 0 0 10px;
  padding: 15px 30px;
  font-size: 20px;
  line-height: 25px;
  color: #013896;
  border: solid 2px #013896;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  display: inline-block;
  position: relative;
  -webkit-transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1);
  -moz-transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1);
  -ms-transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1);
  -o-transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1);
  transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1);
}
.load-more:focus, .load-more:active, .more:active, .more:focus {
	text-decoration: none;
}
.load-more:hover {
  text-decoration: none;
  background-color: #013896;
  color: white;
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
	.all-news .gffn-block {
    min-height: 490px;
  }
  #content .counter {
  	margin: 0;
  }
  .footer-box time {
    padding: 4px 0 6px 8px;
  }
}
@media screen and (max-width: 991px) {
	.brief-news {
		display: none;
	}
	.all-news .gffn-block {
    min-height: 490px;
  }
  .footer-box time {
  	padding-left: 7px;
  }
  .footer-box .counter {
		margin-right: 2px !important;
  }
}
@media screen and (max-width: 767px) {
	.all-news .gffn-block {
    min-height: 200px;
  }	
  .load-more-post {
  	margin-bottom: 35px;
  }
  .all-news .footer-box {
  	bottom: 15px;
  }
}
@media screen and (max-width: 640px) {
	.all-news .gffn-block {
    min-height: 260px;
  }	
}
@media screen and (max-width: 450px) {
	.all-news .gffn-block {
    min-height: 330px;
  }	
}

/**********************************************************************************************/
/* * * * * * * * * * * * * * * * * * * * * * SIDEBAR * * * * * * * * * * * * * * * * * * * * */
/**********************************************************************************************/
#sidebar .gffn-block {
	margin-bottom: 25px;
}

.form-search fieldset {
  width: 100%;
  height: 29px;
  overflow: hidden;
}
.search-box {
  float: left;
  padding: 4px 8px 0;
  width: 180px;
  border: 1px solid #5a5a5a;
  background: transparent;
  height: 29px;
}
.form-search [type="search"] {
  -webkit-appearance: none;
  margin: 0;
  padding: 0;
  width: 194px;
  color: #535353;
  font-size: 12px;
  line-height: 12px;
  background: transparent;
  font-style: italic;
  border: 0;
  outline: none;
  box-sizing: inherit;
}
.form-search [type="submit"] {
  float: left;
  margin: 0;
  padding: 0;
  width: 41px;
  height: 29px;
  color: #fff;
  font-size: 16px;
  line-height: 16px;
  border: 0;
  background: #013896;
  cursor: pointer;
  outline: none;
  border-radius: 0;
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
	.search-box {
    width: 130px;
  }
}




/**********************************************************************************************/
/* * * * * * * * * * * * * * * * * * * * * * * BLOG * * * * * * * * * * * * * * * * * * * * * */
/**********************************************************************************************/
.mobile-only {
	display: none;
}
.blog-page .gffn-block {
	margin-bottom: 25px;
	min-height: 425px;
}
.blog-page .footer-box {
	bottom: 20px;
}

@media screen and (max-width: 991px) {
	.blog-page .gffn-block {
    min-height: 460px;
  }
  .mobile-only {
  	display: block;
  }
}
@media screen and (max-width: 767px) {
	.blog-page .gffn-block {
    min-height: 200px;
  }	
  .load-more-post {
  	margin-bottom: 35px;
  }
  .blog-page .footer-box {
  	bottom: 15px;
  }
}


/* Single blog post */
#content .back-to-posts a {
  color: #CF142B;
  font-size: 18px;
  font-weight: bold;
  display: block;
  text-align: right;
}
.gffn-block .visual-single {
  margin: 0 0 15px 0;
  background: #fff;
  text-align: center;
}
.gffn-block .visual-single img {
	margin: 0 auto;
	max-width: 100%;
  height: auto;
}
.gffn-block.single {
	position: relative;
	margin-bottom: 25px;
	padding: 30px 35px;
}
.gffn-block.single h1 {
	border-bottom: none !important;
	font-size: 28px !important;
}
.gffn-block.single .wrap {
	margin-bottom: 30px;
	padding-bottom: 30px;
}
.gffn-block.single .footer-box .addthis_toolbox {
	float: left;
  margin-top: 6px;
}
.gffn-block.single-ad {
	margin-bottom: 25px;
}
.gffn-block.single-comments {
	margin-bottom: 45px;
}
.gffn-block.single-comments h3 {
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 0;
  padding-left: 0;
}
.gffn-block.single-comments p {
  margin: 0 0 12px 0;
  font-weight: 300;
  font-size: 14px;
  line-height: 21px;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
}
input[type="submit"] {
  background: #3A3A3A;
  color: white;
  border: none;
  padding: 10px 15px;
}
input[type="submit"]:hover {
	text-decoration: underline;
}
textarea {
	max-width: 100%;
}

.recent-news {
	margin-bottom: 35px;
}
.recent-news .row {
	margin-bottom: 10px;
}
.recent-news h3 {
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0;
  padding: 0;
  border-bottom: none;
  margin-bottom: 10px;
}
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .recent-news h3 {
    min-height: 48px;
  }
}
@media screen and (max-width: 767px) {
	.recent-news h3 {
		min-height: 10px;
	}
}

@media (min-width: 768px) {
  .ad-mobile-only {
    display: none;
  }
  .ad-mobile-only .adblock_2 {
    display: none;
  }
}
@media (max-width: 767px) {
  .ad-mobile-only {
    margin-bottom: 25px;
  }
  .ad-mobile-only .adblock_2 {
    display: inline-block;
  }
  .first-ad {
    display: none;
  }
  .first-ad .adblock_2 {
    display: none;
  }
  .row.reorder-xs {
    transform: rotate(180deg);
    direction: rtl; /* Fix the horizontal alignment */
  }

  .row.reorder-xs > [class*="col-"] {
    transform: rotate(-180deg);
    direction: ltr; /* Fix the horizontal alignment */
  }
}


/**********************************************************************************************/
/* * * * * * * * * * * * * * * * * * * * * * * PAGE * * * * * * * * * * * * * * * * * * * * * */
/**********************************************************************************************/
.gffn-block.page {
	margin-bottom: 45px;
	padding: 30px 35px;
}
.gffn-block.page h1 {
	border-bottom: none !important;
	font-size: 28px !important;
}
.gffn-block.page h2 {
	border-bottom: none !important;
}
.preview.search {
	margin-bottom: 30px;
}
@media screen and (max-width: 767px) {
	.gffn-block.page {
		margin-bottom: 25px;
	}	
}



/**********************************************************************************************/
/* * * * * * * * * * * * * * * * * * * * * * * FOOTER * * * * * * * * * * * * * * * * * * * * */
/**********************************************************************************************/
.footer {
	background-color: #3A3A3A;
}
#footer ul {
  text-align: center;
  padding: 10px 0 26px;
}
#footer ul li {
	display: inline-block;
	color: white;
	font-size: 12px;
}
#footer ul li:after {
	content: '|';
	margin: 0 5px;
	font-size: 14x;
}
#footer ul li:last-child:after {
	content: '';
	margin: 0;
}
#footer a {
  font-size: 12px;
  color: #fff;
}