/*
    Theme Name: Unang Child Theme
	Theme URI: http://www.webtaurus.nl
	Description: Agency is a two or three column child theme created for the Genesis Framework.
    Author: StudioPress
    Author URI: http://www.webtaurus.nl/
 
    Version: 2.0
 
    Tags: black, blue, gray, silver, white, dark, one-column, two-columns, three-columns, left-sidebar, right-sidebar, fixed-width, custom-background, custom-header, custom-menu, featured-images, full-width-template, sticky-post, theme-options, threaded-comments
 
    Template: genesis
    Template Version: 1.8
 
	License: GNU General Public License v2.0 (or later)
	License URI: http://www.opensource.org/licenses/gpl-license.php
*/

/* Table of Contents


*/


/* Import Fonts
------------------------------------------------------------ */
@import url(https://fonts.googleapis.com/css?family=PT+Sans:400,700);


/* Defaults
------------------------------------------------------------ */

html{
	overflow-y: scroll;
}

body,
h1,
h2,
h2 a,
h2 a:visited,
h3,
h4,
h5,
h6,
p,
select,
textarea {
	color: #333;
	font-family: 'PT Sans', sans-serif;
	font-size: 16px;
	line-height: 1.5625;
	margin: 0;
	padding: 0;
	text-decoration: none;
}

blockquote,
input,
select,
textarea,
.author-box,
.sticky,
.taxonomy-description,
.wp-caption {
	background-color: #f5f5f5;
	border: 1px solid #ddd;
}

input,
label,
select,
textarea {
	color: #333;
	font-family: 'PT Sans', sans-serif;
	font-size: 14px;
}

li,
ol,
ul {
	margin: 0;
	padding: 0;
}

ol li {
	list-style-type: decimal;
}


/* Hyperlinks
------------------------------------------------------------ */

a,
a:visited {
	color: #5397b4;
	text-decoration: none;
}

p a {
	text-decoration: underline;
}

#footer-widgets p a {
	text-decoration: none !important;
}

a:hover {
	text-decoration: underline;
}

/*p a:hover {
	text-decoration: none;
	font-weight: bold;
}*/

a img {
	border: none;
	color: #f5f7f1;
	}


/* Body
------------------------------------------------------------ */

body {
	background: #EEECD3 url(images/bg.gif) repeat-x 0 -92px;
}


/* Wrap
------------------------------------------------------------ */

#wrap {
	margin: 0 auto;
	box-sizing: border-box;
	width: 980px;
	padding: 0; /* tempfix */
}


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

#header {
	margin: 0 auto;
	min-height: 115px;
	overflow: hidden;
	text-shadow: 1px 1px #000;
	width: 100%;
}

#title-area {
	float: left;
	min-height: 90px;
	overflow: hidden;
	padding: 33px 0 0 5px;
	width: 380px;
} 

#title {
	font-family: Georgia, 'PT Sans', sans-serif;
	font-size: 42px;
	line-height: 1;
	margin: 0;
	text-transform: uppercase;
}

#title a,
#title a:hover {
	color: #fff;
	text-decoration: none;
}

#description {
	font-family: 'PT Sans', sans-serif;
	font-size: 14px;
	padding: 0 0 0 5px;
	text-transform: uppercase;
}

p#description {
	color: #444;
	text-shadow: none;
}

#header .widget-area {
	float: right;
	padding: 40px 0 0;
	width: 550px;
}


/* Image Header - Partial Width
------------------------------------------------------------ */

.header-image #title-area,
.header-image #title,
.header-image #title a {
	display: block;
	float: left;
	height: 115px;
	overflow: hidden;
	padding: 0;
	text-indent: -9999px;
	width: 350px;
}

.header-image #description {
	display: block;
	overflow: hidden;
}


/* Image Header - Full Width
------------------------------------------------------------ */

.header-full-width #title-area,
.header-full-width #title,
.header-full-width #title a {
	width: 100%;
}


/* Navigation Constants
------------------------------------------------------------ */

li:hover ul ul,
li.sfHover ul ul {
	left: -9999px;
}

li:hover,
li.sfHover {
	position: static;
}

li a .sf-sub-indicator {
	position: absolute;
	text-indent: -9999px;
}


/* Header / Primary / Secondary Navigation
------------------------------------------------------------ */

.menu-primary,
.menu-secondary,
#header .menu {
	margin: 0;
	padding: 0;
	overflow: hidden;
	width: 100%;
}

.menu-primary li,
.menu-secondary li,
#header .menu li {
	float: left;
	list-style-type: none;
	text-transform: uppercase;
}

#header .menu {
	float: right;
	width: auto;
}

.menu-primary li a,
.menu-secondary li a,
#header .menu li a {
	color: #222;
	display: block;
	font-size: 15px;
	padding: 5px 12px 3px;
	position: relative;
	text-decoration: none;
	text-shadow: 1px 1px #DDD;
}

.menu-primary li a:active,
.menu-primary li a:hover,
.menu-primary .current_page_item a,
.menu-primary .current-cat a,
.menu-primary .current-menu-item a,
.menu-secondary li a:active,
.menu-secondary li a:hover,
.menu-secondary .current_page_item a,
.menu-secondary .current-cat a,
.menu-secondary .current-menu-item a,
#header .menu li a:active,
#header .menu li a:hover,
#header .menu .current_page_item a,
#header .menu .current-cat a,
#header .menu .current-menu-item a {
	-moz-border-radius: 2px;
	-webkit-border-radius: 5px;
	background-color: #EEECD3;
	border-radius: 2px;
	color: #444;
	text-shadow: 1px 1px #FFFFFF;
}

.menu-primary li li a,
.menu-primary li li a:link,
.menu-primary li li a:visited,
.menu-secondary li li a,
.menu-secondary li li a:link,
.menu-secondary li li a:visited,
#header .menu li li a,
#header .menu li li a:link,
#header .menu li li a:visited {
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	background: none;
	border-bottom: 1px dotted #333;
	border-radius: 0;
	box-shadow: none;
	color: #414f2c;
	font-size: 15px;
	padding: 5px;
	position: relative;
	text-transform: none;
	width: 138px;
}

.menu-primary li li:last-child a,
.menu-secondary li li:last-child a,
#header .menu li li:last-child a {
	border: none;
}

.menu-primary li li a:active,
.menu-primary li li a:hover,
.menu-secondary li li a:active,
.menu-secondary li li a:hover,
#header .menu li li a:active,
#header .menu li li a:hover {
	color: #000; 
	text-transform: uppercase;
}

.menu-primary li ul,
.menu-secondary li ul,
#header .menu li ul {
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	background-color: #CCC;
	border-radius: 2px;
	height: auto;
	left: -9999px;
	margin: 0;
	padding: 3px 10px 5px;
	position: absolute;
	opacity: 0.8;
	width: 148px;
	z-index: 9999;
}

.menu-primary li ul a,
.menu-secondary li ul a,
#header .menu li ul a {
	width: 130px;
}

.menu-primary li ul ul,
.menu-secondary li ul ul,
#header .menu li ul ul {
	margin: -34px 0 0 149px;
}

ul.menu li:hover>ul,
ul.menu li.sfHover ul,
#header .menu li:hover>ul,
#header .menu li.sfHover ul {
	left: auto;
}


/* Primary Navigation Extras
------------------------------------------------------------ */

#nav li.right {
	color: #777;
	float: right;
	font-size: 14px;
	padding: 7px 15px 5px;
}

#nav li.right a {
	background: none;
	border: none;
	color: #777;
	display: inline;
	text-decoration: none;
}

#nav li.right a:hover {
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #fff;
	text-decoration: none;
}

#nav li.search {
	padding: 0 10px;
}

#nav li.rss a {
	background: url(images/rss.png) no-repeat center left;
	margin: 0 0 0 10px;
	padding: 0 0 0 16px;
}

#nav li.twitter a {
	background: url(images/twitter-nav.png) no-repeat center left;
	padding: 0 0 0 20px;
}


/* Inner
------------------------------------------------------------ */

#inner {
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-box-shadow: 0 1px 2px #999;
	-webkit-box-shadow: 0 1px 2px #999;
	background-color: #fff;
	border-radius: 5px;
	box-shadow: 0 1px 2px #999;
	margin: 20px auto 0;
	overflow: hidden;
	width: 100%;
}

.home #inner {
	margin: 30px auto 0;
}

.agency-landing #inner {
	margin: 20px auto;
	width: 800px;
}

#inner .wrap {
	padding: 30px;
}


/* Home Welcome
------------------------------------------------------------ */

#home-welcome {
	padding: 20px 30px;
}

#home-welcome,
#home-welcome p {
	color: #777;
	font-size: 18px;
	text-align: center;
	text-shadow: 1px 1px #000;
}


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

#home-slider {
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-box-shadow: 0 1px 2px #999;
	-webkit-box-shadow: 0 1px 2px #999;
	background-color: #fff;
	border-radius: 5px;
	box-shadow: 0 1px 2px #999;
	margin: 0 0 20px;
	width: 100%;
}

#home-slider {
    min-height: 440px;
}

#home-slider p {
	padding: 0 0 25px;
}

.agency #genesis-responsive-slider {
	-webkit-font-smoothing: antialiased;
	border: none;
	margin: 5px;
	padding: 5px 0;
}

.agency .slide-excerpt {
	filter: alpha(opacity=75);
	margin: 0;
	padding: 150px 40px 22px 20px;
	opacity: 1.0;
	background-color: rgba(255, 255, 255, 0.75)
}

html > body.agency .slide-excerpt-border {
	border: none;
	margin: 0;
	padding: 0;
}

.agency .slider-next, 
.agency .slider-previous {
	margin: 0 -40px;
}

.agency .flex-control-nav {
	margin: 20px 0;
}

/* Home News */

#home-news,
#home-social {
	background-color: #fff;
	border-radius: 5px;
	box-shadow: 0 1px 2px #999;
	display: block;
	margin: 40px 0 20px;
	min-height: 360px;
	padding: 30px;

}

#home-news {
	margin: 20px 0;
}

#home-news .post{
	float: left;
	margin: 0 40px 0 0;
	width: 280px;
}

#home-news .post:last-of-type {
	margin: 0;
}

#home-news h4.widget-title,
#home-social h4.widget-title{
	font-size: 24px;
	color: #777777;
	text-align: center;
}

#home-news p.post-info .author,
#home-news .post-comments,
#home-social li.year {
	display: none !important;
}

#home-news p.post-info {
	color: transparent
}

#home-news span {
	color: #333
}

#home-social .timeline-event {
	width: 31%;
}

#home-social .timeline-nobullets {
	display: grid;	
   grid-template-columns: 1fr 1fr 1fr;
   grid-template-rows: auto;
   grid-gap: 10px;
}

#home-social .timeline-nobullets li{
	display: block;
	float: none;
	margin: 0 !important;
	padding: 0;
	width: 100%;
	/*max-height: 500px; */
	height: auto;
}

.timeline-nobullets img {
    max-height: 220px;
}

#home-social .timeline {
	margin: 0 !important;
}

/*#home-news {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
   grid-template-rows: auto;
   grid-gap: 10px;
} */

/* Home
------------------------------------------------------------ */

#home {
	font-size: 16px;
}

#home p {
	font-size: inherit;
}

.home-left {
	float: left;
	margin: 0 42px 0 0;
	width: 280px;
}

.home-middle {
	float: left;
	width: 280px;
}

.home-right {
	float: right;
	width: 280px;
}

#home h4{
	display: none;
}

.home .footer-widgets {
    margin-bottom: 20px !important;
}

/* Breadcrumb
------------------------------------------------------------ */

.breadcrumb {
	background: #ddd url(images/gradient.png) repeat-x;
	border-bottom: 1px solid #eee;
	font-size: 14px;
	margin: -25px -30px 20px;
	padding: 15px 30px;
}


/* Taxonomy Description
------------------------------------------------------------ */

.taxonomy-description {
	margin: 0 0 30px;
	padding: 10px;
	border: 1px solid #8FAB67;
	text-shadow: 1px 1px #FFFFFF;
}


/* Content-Sidebar Wrap
------------------------------------------------------------ */

#content-sidebar-wrap {
	float: left;
	width: 720px;
}

.agency-landing #content-sidebar-wrap,
.content-sidebar #content-sidebar-wrap,
.full-width-content #content-sidebar-wrap,
.sidebar-content #content-sidebar-wrap {
	width: 100%;
}

.sidebar-content-sidebar #content-sidebar-wrap,
.sidebar-sidebar-content #content-sidebar-wrap {
	float: right;
}


/* Content
------------------------------------------------------------ */

#content {
	float: left;
	padding: 0 0 20px;
	width: 410px;
}

.home #content {
	padding: 0 0 10px;
}

.content-sidebar #content,
.sidebar-content #content {
	width: 590px;
}

.sidebar-content #content,
.sidebar-sidebar-content #content {
	float: right;
}

.full-width-content #content {
	width: 100%;
}

blockquote {
	background: #dde5d0; /*url(images/blockquote.png)*/
	border: none;
	margin: 5px 0 20px;
	padding: 25px 20px 5px 20px;
}

blockquote p {
	color: #999;
	font-style: italic;
}

.post {
	margin: 0 0 40px;
}

.entry-content {
	overflow: hidden;
}

.entry-content p {
	margin: 0 0 25px;
}

p.subscribe-to-comments,
.wysija-after-comment {
	margin: 20px 0 10px;
}

#wysija-box-after-comment {
	margin: 0 20px 0 0;
}

p.form-submit {
    margin-top: 20px;
}

.clear {
	clear: both;
}

.clear-line {
	border-bottom: 1px solid #ddd;
	clear: both;
	margin: 0 0 25px;
}


/* Column Classes
------------------------------------------------------------ */

.five-sixths,
.four-fifths,
.four-sixths,
.one-fifth,
.one-fourth,
.one-half,
.one-sixth,
.one-third,
.three-fifths,
.three-fourths,
.three-sixths,
.two-fifths,
.two-fourths,
.two-sixths,
.two-thirds {
	float: left;
	margin: 0 0 20px;
	padding-left: 3%;
}

.one-half,
.three-sixths,
.two-fourths {
	width: 48%;
}

.one-third,
.two-sixths {
	width: 31%;
}

.four-sixths,
.two-thirds {
	width: 65%;
}

.one-fourth {
	width: 22.5%;
}

.three-fourths {
	width: 73.5%;
}

.one-fifth {
	width: 17.4%;
}

.two-fifths {
	width: 37.8%;
}

.three-fifths {
	width: 58.2%;
}

.four-fifths {
	width: 78.6%;
}

.one-sixth {
	width: 14%;
}

.five-sixths {
	width: 82%;
}

.first {
	clear: both;
	padding-left: 0;
}


/* Featured Post Grid
------------------------------------------------------------ */

.genesis-grid-even {
	float: right;
	padding: 0 0 15px;
	width: 48%;
}

.genesis-grid-odd {
	clear: both;
	float: left;
	padding: 0 0 15px;
	width: 48%;
}

.genesis-grid-even,
.genesis-grid-odd {
	margin: 0 0 20px;
}


/* Headlines
------------------------------------------------------------ */

h1,
h2,
h2 a,
h2 a:visited,
h3,
h4,
h5,
h6 {
	color: #333;
	font-family: 'Helvetica Neue', 'PT Sans', sans-serif; 
	font-weight: normal;
	margin: 0 0 10px;
	line-height: 1.25;
}

h1,
h2,
h2 a,
h2 a:visited {
	font-size: 30px;
}

.taxonomy-description h1,
.widget-area h2,
.widget-area h2 a {
	font-size: 14px;
	margin: 0 0 5px;
}

h2 a:hover {
	color: #5397b4;
	text-decoration: none;
}

h2{
	font-size: 24px;
	/*font-style: italic;*/
}

h3 {
	font-size: 24px;
}

h4 {
	font-size: 20px;
}

.widget-area h4 {
	margin: 0 0 5px;
}

.widget-area h4 a {
	color: #333;
	text-decoration: none;
}

#footer-widgets h4 {
	background: none;
	border: none;
	color: #FFF;
	font-family: Georgia, serif;
	font-weight: bold;
	margin: 0 0 5px;
	padding: 0;
	text-shadow: 1px 1px #777777;
}

#footer-widgets h2, #footer-widgets h2 a{
   font-size: 15px;
   font-weight: bold;
}

#home-welcome h4 {
	color: #fff;
	font-size: 36px;
	line-height: 1;
	text-align: center;
}

h5 {
   color: #777;
   font-size: 16px;
   font-weight: 700;
   letter-spacing: 0.5px;
}

h6 {
	font-size: 14px;
}

.featuredpost h2 a:visited, .featuredpost h2 a {
	font-size: 24px;
	color: #777777;
}

h1.entry-title {
	color: #414f2c;
	font-weight: 700; 
	font-size: 30px;
}

#sidebar .featuredpost h2 a:visited, #sidebar .featuredpost h2 a {
	font-size: 16px;
	/*font-weight: bold;*/
	color: #8fab67;
}

p.back{
	float: right;
	margin: 8px 0 0;
}
/* Ordered / Unordered Lists
------------------------------------------------------------ */

.entry-content ol,
.entry-content ul {
	margin: 0;
	padding: 0 0 25px;
}

.entry-content ol {
	margin: 0;
}

.archive-page ul li,
.entry-content ul li {
	list-style-type: square;
	margin: 0 0 0 30px;
	padding: 0;
}

.entry-content ol li {
	margin: 0 0 0 35px;
}

.archive-page ul ul,
.entry-content ol ol,
.entry-content ul ul {
	padding: 0;
}

.entry-content ul ul li {
    list-style-type: circle;
}


/* Post Info
------------------------------------------------------------ */

.post-info {
	font-size: 14px;
	margin: -5px 0 15px;
}


/* Post Meta
------------------------------------------------------------ */

.post-meta {
	clear: both;
	font-size: 14px;
	padding: 5px 0 0;
}

.category-slider .post-meta{
	display: none;
}


/* Author Box
------------------------------------------------------------ */

.author-box {
	background: url(images/widget.png) repeat-x;
	border: 1px solid #eee;
	margin: 0 0 40px;
	overflow: hidden;
}

.author-box p {
	font-size: 14px;
}

.author-box div {
	border: 1px solid #fff;
	padding: 15px;
}


/* Sticky Posts
------------------------------------------------------------ */

.sticky {
	margin: 0 0 40px;
	padding: 20px;
}


/* Archive Page
------------------------------------------------------------ */

.archive-page {
	float: left;
	padding: 20px 0 0;
	width: 45%;
}


/* Images
------------------------------------------------------------ */

img {
	height: auto;
	max-width: 100%;
}

.featuredpage img,
.featuredpost img {
	margin: 0 0 10px;
}

.avatar,
.post-image {
	background-color: #f5f5f5;
	border: 1px solid #ddd;
	padding: 4px;
}

.author-box .avatar {
	background-color: #fff;
	float: left;
	margin: 0 15px 0 0;
}

.post-image {
	margin: 0 10px 10px 0;
}

.comment-list li .avatar {
	background-color: #fff;
	float: right;
	margin: 0 0 0 10px;
	padding: 4px;
}

img.centered,
.aligncenter {
	display: block;
	margin: 0 auto 10px;
}

img.alignnone {
	display: inline;
	margin: 0 0 10px;
}

img.alignleft {
	display: inline;
	margin: 0 15px 10px 0;
}

img.alignright {
	display: inline;
	margin: 0 0 10px 15px;
}

.alignleft {
	float: left;
	margin: 0 15px 10px 0;
}

.alignright {
	float: right;
	margin: 0 0 10px 15px;
}

.wp-caption {
	padding: 5px;
	text-align: center;
}

p.wp-caption-text {
	font-size: 14px;
	margin: 5px 0;
}

.wp-smiley,
.wp-wink {
	border: none;
	float: none;
}

.gallery-caption {
}

#sidebar .alignleft {
	float: left;
	margin: 3px 10px 10px 0;
}

#footer-widgets img.alignleft{
	margin: 0;
}

/* Post Navigation
------------------------------------------------------------ */

.navigation {
	overflow: hidden;
	padding: 20px 0;
	width: 100%;
}

.navigation li {
	display: inline;
}

.navigation li a,
.navigation li.disabled,
.navigation li a:hover,
.navigation li.active a {
	background: url(images/button.png) 0 0;
	border: 1px solid #6297ad;
	color: #fff;
	font-family: 'PT Sans', sans-serif;
	font-size: 14px;
	padding: 5px 8px;
	text-decoration: none;
	text-shadow: 1px 1px #47819b;
}

.navigation li a:hover,
.navigation li.active a {
	background: url(images/button.png) 0 -40px;
	border: 1px solid #6297ad;
	text-decoration: none;
}


/* Primary / Secondary Sidebars
------------------------------------------------------------ */

.sidebar {
	display: inline;
	float: right;
	font-size: 14px;
	width: 280px;
}

#sidebar-alt {
	float: left;
	width: 150px;
}

.sidebar-content #sidebar,
.sidebar-sidebar-content #sidebar {
	float: left;
}

.content-sidebar-sidebar #sidebar-alt {
	float: right;
}

.sidebar p {
	font-size: inherit;
	margin: 0 0 10px;
}

.sidebar .widget {
	/*background: url(images/widget.png) repeat-x; */
	border: 1px solid #eee;
	margin: 0 0 15px;
}

.sidebar .widget-wrap {
	border: 1px solid #fff;
	padding: 15px;
}

.sidebar.widget-area ol ol,
.sidebar.widget-area ul ul {
	margin: 0 0 0 15px;
}

.sidebar.widget-area ul li {
	border-bottom: 1px dotted #ccc;
	list-style-type: none;
	margin: 0 0 5px;
	padding: 0 0 5px;
	word-wrap: break-word;
}


/* sidebar random images */

#ngg-webslice h4 {
	margin: 0;
	display: none;

}

#sidebar	.ngg-widget img {
    border: none !important;
    margin: 0;
    padding: 0;
}

/* Sidebar newsletter */

.wysija-input {
	width: 90%;
	padding: 15px;
}

/* Dropdowns
------------------------------------------------------------ */

#cat,
.widget_archive select {
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	display: inline;
	font-family: 'PT Sans', sans-serif;
	font-size: 12px;
	width: 100%;
}


/* Featured Page / Post
------------------------------------------------------------ */

.featuredpage,
.featuredpost {
	clear: both;
	margin: 0 0 15px;
	overflow: hidden;
}

.featuredpage .page,
.featuredpost .post {
	margin: 0 0 5px;
	overflow: hidden;
}

#footer-widgets .featuredpage .page,
#footer-widgets .featuredpost .post {
	margin: 0 0 5px;
	padding: 0;
}


/* User Profile
------------------------------------------------------------ */

.user-profile {
	overflow: hidden;
}


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

input[type="button"],
input[type="submit"],
#home-slider a.more-link,
p.back .more-link,
.category-wines a.more-link {
	background: url(images/button.png) 0 0;
	border: 1px solid #6297ad;
	color: #fff;
	cursor: pointer;
	font-family: 'PT Sans', sans-serif;
	font-size: 14px;
	padding: 6px 7px;
	text-decoration: none;
	text-shadow: 1px 1px #47819b;
}

#home-slider a.more-link {
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	font-size: 16px;
	padding: 8px 15px;
	float: right;
	margin: 50px 0 0;
}

p.back .more-link,
.category-wines a.more-link{
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	padding: 6px 15px;
}

p a.more-link,
.category-wines a.more-link{
	padding: 2px 5px;
}

.category-wines a.more-link{
	float: right;
}

input:hover[type="button"],
input:hover[type="submit"],
#home-slider a.more-link:hover,
p.back .more-link:hover,
.category-wines a.more-link:hover {
	background: url(images/button.png) 0 -40px;
	border: 1px solid #6297ad;
	text-decoration: none;
}


/* Search Form
------------------------------------------------------------ */

#header .searchform {
	float: right;
}

#nav .searchform {
	float: right;
}

.s {
	border: 1px solid #aaa;
	color: #666;
	font-family: 'PT Sans', sans-serif;
	font-size: 14px;
	margin: 0 -7px 0 0;
	padding: 6px 5px;
	width: 170px;
}

#nav .s {
	background-color: #fff;
}

/* Language switch */

.french a {
    background: url("images/french-s.png") no-repeat scroll center center transparent;
    color: transparent !important;
    text-shadow: none !important;
}
.french a:hover {
    background: url("images/french-s.png") no-repeat scroll center center transparent;
    color: transparent !important;
    opacity: 0.85;
}

/* Language switch */

.english a {
    background: url("images/english-s.png") no-repeat scroll center center transparent;
    color: transparent !important;
    text-shadow: none !important;
}
.english a:hover {
    background: url("images/english-s.png") no-repeat scroll center center transparent;
    color: transparent !important;
    opacity: 0.85;
}

/* eNews and Update Widget
------------------------------------------------------------ */

.enews #subbox {
	background-color: #f5f5f5;
	border: 1px solid #aaa;
	color: #666;
	font-family: 'PT Sans', sans-serif;
	font-size: 14px;
	margin: 0 -7px 0 0;
	padding: 6px 5px;
	width: 160px;
}

#footer-widgets .enews #subbox {
	margin: 0 -7px 0 0;
}


/* Calendar Widget
------------------------------------------------------------ */

#wp-calendar {
	width: 100%;
}

#wp-calendar caption {
	font-size: 12px;
	font-style: italic;
	padding: 2px 5px 0 0;
	text-align: right;
}

#wp-calendar thead {
	background-color: #f5f5f5;
	margin: 10px 0 0;
}

#wp-calendar td {
	background-color: #f5f5f5;
	padding: 2px;
	text-align: center;
}


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

#footer-widgets {
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-box-shadow: 0 1px 2px #999;
	-webkit-box-shadow: 0 1px 2px #999;
	background: url(images/footerbg.png) repeat #8fab67;
	border-radius: 5px;
	box-shadow: 0 1px 2px #999;
	clear: both;
	font-size: 14px;
	margin: 20px auto 0;
	width: 100%;
}

#footer-widgets .wrap {
	overflow: hidden;
	padding: 15px 30px;
}

#footer-widgets .widget {
	background: none;
	border: none;
	margin: 0 0 15px;
	padding: 0;
}

#footer-widgets p {
	font-size: inherit;
	margin: 0 0 10px;
}

#footer-widgets ul {
	margin: 0;
}

#footer-widgets ul li {
	border-bottom: 1px dotted #ccc;
	list-style-type: none;
	margin: 0 0 5px;
	padding: 0 0 5px;
	word-wrap: break-word;
}

#footer-widgets #wp-calendar thead,
#footer-widgets #wp-calendar td {
	background: none;
}

#footer-widgets .widget {
	margin: 0 0 5px;
}

.footer-widgets-1 {
	float: left;
	margin: 0 40px 0 0;
	width: 280px;
}

.footer-widgets-2 {
	float: left;
	width: 280px;
}

.footer-widgets-3 {
	float: right;
	width: 280px;
}

.awesome-weather-wrap{
	height: 330px;
	font-size: 16px !important;
	line-height: 16px !important;
}

.awesome-weather-wrap.darken {
   text-shadow: 1px 1px 2px rgba(0,0,0,0.9) !important;
}

.awesome-weather-darken {
	background: none !important;
	height: 330px;
}

.awesome-weather-current-temp {
	width: 100% !important;
	text-align: center;
}

.awesome-weather-forecast{
	background: rgba(0,0,0,0.3);
	border-top: none !important; 
	margin-top: 18px;
	display: inline-block;
}

.awesome-weather-todays-stats {
	padding: 0 15px 0 0 !important;
}

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

#footer {
	clear: both;
	font-size: 14px;
	margin: 0 auto;
	text-shadow: 1px 1px #fff;
	width: 100%;
}

#footer .wrap {
	overflow: hidden;
	padding: 25px 10px;
}

#footer p {
	font-size: 14px;
}

#footer a,
#footer a:visited {
	color: #333;
}

#footer a:hover {
	color: #5397b4;
	text-decoration: none;
}

#footer .gototop {
	float: left;
	width: 55%;
}

#footer .gototop a {
    background: url("images/footer-top.png") no-repeat scroll left center transparent;
    padding: 0 0 4px 18px;
}

#footer .creds {
	float: right;
	text-align: right;
	width: 45%;
}


/* Comments
------------------------------------------------------------ */

#comments,
#respond {
	margin: 0 0 30px;
}

#author,
#comment,
#email,
#url {
	background: #eee;
	border: 1px solid #ddd;
	margin: 10px 5px 0 0;
	padding: 5px;
	width: 250px;
}

#comment {
	height: 150px;
	margin: 10px 0 15px;
	width: 98%;
}

#comments ol,
#pings ol {
	padding: 0;
}

#comments .navigation {
	display: none;
}

.ping-list {
	margin: 0 0 40px;
}

.comment-list ol,
.ping-list ol {
	margin: 0;
	padding: 10px;
}

.comment-list li,
.ping-list li {
	background: url(images/widget.png) repeat-x;
	border: 1px solid #eee;
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

.comment-list li ul li {
	border-left: none;
	border-right: none;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.comment-list p,
.ping-list p {
	margin: 10px 5px 10px 0;
	padding: 0;
	text-transform: none;
}

.comment-list ul.children li.comment {
	background-color: #fff;
	border-bottom: none;
	border-left: none;
	border-right: none;
}

.comment-list cite,
.ping-list cite {
	font-style: normal;
}

.commentmetadata {
	font-weight:normal;
}

.comment-author {
	border: 1px solid #fff;
	border-bottom: none;
	padding: 15px 15px 0;
}

.comment-meta {
	border-left: 1px solid #fff;
	border-right: 1px solid #fff;
	padding: 0 15px 10px;
}

.comment-content {
	padding: 0 15px;
}

.reply {
	font-weight: normal;
	overflow: hidden;
	padding: 0 15px 10px;
}

.alt,
.depth-1,
.even {
	border: 1px solid #ddd;
}

/* Social profiles */

div#socialprofiles-2 h4 {
    float: left;
    width: 180px !important; 
}

div#simple-social-icons-2 h4 {
    float: left;
    width: 140px !important; 
    line-height: 1;
}

#simple-social-icons-2 ul li {
	margin: 0 8px 12px 0 !important;
}

/* Social Page */

.page-id-1141 ul.timeline {
    margin: 0;
}
li.year {
    display: none;
}
.timeline .year + .timeline-event, .timeline.v1 .year + .timeline-event {
    margin-top: 0;
}
.timeline .timeline-event:nth-of-type(2n), .timeline.v1 .timeline-event:nth-of-type(2n) {
    margin-left: 0;
}
.timeline .timeline-event, .timeline.v1 .timeline-event {
    margin: 0 5% 20px 0;
}

/* Gravity Forms
------------------------------------------------------------ */

div.gform_wrapper input,
div.gform_wrapper select,
div.gform_wrapper textarea {
	color: #666;
	font-family: 'PT Sans', sans-serif;
	font-size: 14px !important;
	padding: 6px 5px !important;
}

div.gform_footer input.button {
	border: 1px solid #6297ad;
	color: #fff;
	font-weight: normal;
}

div.gform_wrapper .ginput_complex label {
	font-size: 12px;
}

div.gform_wrapper li,
div.gform_wrapper form li {
	margin: 0 0 10px;
}

div.gform_wrapper .gform_footer {
	border: none;
	margin: 0;
	padding: 0;
}

/* subscribe newsletter */

#wysija-2 input.defaultlabels {
	width: 220px;
}

.wysijap #respond,
.postid-387 #respond,
.postid-387 .post-info, 
.postid-387 .post-meta,
.postid-387 p.back,
.postid-387 #sidebar { 
	display:none; 
	}

	/* Share */

.share-after {
    clear: both;
}

#footer a {
    text-decoration: none !important;
}
	
/* Responsive Design
------------------------------------------------------------ */

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

	.flex-direction-nav li .next {
	 /*background-position: -52px 0;*/
    right: -30px !important;
	}	

	.flex-direction-nav li .prev {
    left: -30px !important; 
	}


}



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

	body,
	.archive-page,
	.content-sidebar #content,
	.content-sidebar-sidebar #content,
	.full-width-content #content,
	.sidebar,
	.sidebar-content #content,
	.sidebar-content-sidebar #content,
	.sidebar-sidebar-content #content,
	#content-sidebar-wrap,
	#footer .creds,
	#footer .gototop,
	#footer-widgets .wrap,
	#sidebar-alt,
	#title-area,
	#wrap,
	#header .widget-area {
		width: 100%;
	}
	
	#title-area {
		padding: 30px 0 0;
	}
	
	.home-left,
	.home-middle,
	.home-right {
		box-sizing: border-box;
      padding: 0 20px 0 0;
      width: 33.3%;
	}
	
	.home-right {
      padding: 0;
	}	
	
	#home .entry {
		min-height: 280px;
	}
	
	#header .widget-area {
		padding: 0;
		float: none;
	}
	
	.menu-primary,
	.menu-secondary,
	#header ul.menu,
	#description,
	#footer .creds,
	#footer .gototop,
	#title,
	#title-area {
		float: none;
		text-align: center;
	}
	
	.menu-primary li,
	.menu-secondary li,
	#header ul.menu li {
		display: inline-block;
		float: none;
	}

	.menu li.right,
	.flex-direction-nav li .next {
		display: none;
	}

	.menu-primary li li,
	.menu-secondary li li,
	#header ul.menu li li {
		text-align: left;
	}

	#footer-widgets .wrap {
		padding: 20px;
		width: auto;
	}
	
	.footer-widgets-1,
	.footer-widgets-2,
	.footer-widgets-3,
	.home-left,
	.home-middle,
	.home-right {
		margin: 0;
	}
	
	.footer-widgets-1,
	.footer-widgets-3 {
		width: 50%;
	}
	
	.footer-widgets-1 {
		display: none;
	}
	
	#bottom-home {
	 display: none;
	} 
}

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

	#title {
		font-size: 48px;
	}
	
	#wrap {
		padding: 0 10px;
	}
	
	#home-slider,
	.agency #genesis-responsive-slider {
    margin: 0;
    border-radius: 0;
    background-color: transparent;
    padding: 0;
	}
	
	#home-news .post {
		margin: 0 20px 0 0;
		width: 215px;
	}
	
	.agency .flex-control-nav {
    	display: block;
    	background-color: #8fab67;
    	padding: 20px 0;
    	margin: 0;
	}
	
	.flex-control-nav li a {
		width: 30px !important;
	}
	
	.home #inner {
    margin: 0 auto;
	}
	
	#home-slider {
    min-height: 370px;
    box-shadow: none !important;
	}

	#header .widget-area {
		float: none;
		width: 100%;
		padding: 0;
	}
	
	#nav_menu-2 {
		display: none;
	}
	
	.header-widget-area {
		margin-top: -25px;
	}
	
	.sidr {
		background-color: #718b4c !important;
		opacity: .95;
		font-size: 16px;
	}
	
	.sidr li a, .sidr .menu-item a {
		width: 84% !important;
	}
	
	.slide-nav-link:focus {
		outline: none;
	}
	
	.s {
		width: 140px;
	}
		
	#home-welcome {
		background: url(images/bg-welcome.png);
		overflow: hidden;
		padding: 10px 20px;
	}
	
	#home-welcome h4 {
		font-size: 24px;
	}
	
	#home-welcome,
	#home-welcome p {
		font-size: 14px;
	}

	.agency .slide-excerpt,
	.breadcrumb {
		display: none;
	}

	.five-sixths,
	.four-fifths,
	.four-sixths,
	.one-fifth,
	.one-fourth,
	.one-half,
	.one-sixth,
	.one-third,
	.three-fifths,
	.three-fourths,
	.three-sixths,
	.two-fifths,
	.two-fourths,
	.two-sixths,
	.two-thirds {
		padding: 0;
		width: 100%;
	}

	.flex-direction-nav {
		display: none;
	}

}

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

	.header-image #title-area, 
	.header-image #title, 
	.header-image #title a {
		width: 100%;
		height: 100px;
	}
	
	#home-social .timeline-nobullets {
    grid-template-columns: 1fr;
	}
	
	#home-news .post {
	float: none;
	margin: 0 0 35px 0;
	text-align: center;
	width: 100%;
	}
	
	#home-social {
    margin-top: 18px;
	}
	
	#home-news p {
    text-align: left;
	}
	
	#home-news .alignleft {
    float: none;
	}

	#home-news a image {
		width: 100% !important;
	}
	
	#home-slider {
    min-height: 310px;
    box-shadow: none !important;
	}
	
	#header .menu li a{
		text-shadow: none;
		font-size:15px; 
	} 

	#header .widget-area,
	.home-left,
	.home-middle,
	.home-right {
		float: none;
		width: 100%;
		text-align: center;
		padding: 0;		
	}
	
	#header .searchform {
		float: none;
	}
	
	#wrap {
		padding: 0;
	}	
	
	
	#nav {
		margin: 10px 0 0;
	}
	
	#home p {
		max-width: 100% 
	}
	
	#home p a.more-link {
		display: block;
		border: none;
	}
	
	#home .entry {
    	min-height: 240px;
	}
	
	.menu-primary li a{
		padding: 5px 8px 3px;
	}

	.footer-widgets-1 {
		display: block;
	}
	
	.footer-widgets-1,
	.footer-widgets-1,
	.footer-widgets-3 {
		width: 100%;
	}
	
	#footer-widgets .widget {
    margin: 15px 0 5px;
	}
}

@media only screen and (max-width: 480px) {
	
	#title {
    font-size: 34px;
	}
	#home-slider {
    min-height: 200px;
	}
	
	.alignright,
	img.alignright {
		float: none;
		margin: 0 0 10px;
		width: 100%;
	}
	
	#home-social {
    margin-top: 0;
    padding: 10px;
	}

}

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

	#home-social {
    	margin-top: 0;
	}
	
}
