/*
Theme Name: Themify-base Child
Description: Child theme for Themify-base
Author: Themify
Template: themify-base
*/

/* write custom css */

/************************************************************************************
HEADER
*************************************************************************************/
#header {
	position: relative;
	text-align: center;
	height: auto;
	padding: 20px 0 20px;
	border-bottom: solid 1px #ccc;
}

#content {
    width: 858px;
    float: left;
    padding: 2% 0px 2%;
}

/*
SITE DESCRIPTION
================================================ */
#site-description {
	font: lighter 1em/1em 'Open Sans', sans-serif;
	margin: 0 0 10px;
	color: #959595;
}

/************************************************************************************
STRUCTURE
*************************************************************************************/
/* main page width */
.pagewidth {
	width: 90%;
	max-width: 1160px;
	margin: 0px auto;
}

/*
MAIN NAVIGATION
================================================ */
#main-nav {
	width: 100%;
	margin: 40px 0 0;
}
#main-nav li {
	position: relative;
	display: inline-block;
	margin: 0;
	padding: 0 0 0px;
	list-style: none;
}


/*
Secondary NAVIGATION
================================================ */
#menu-menu-two.secondary {
	width: 100%;
	margin: 10px 0 0;
}
#menu-menu-two.secondary li {
	position: relative;
	display: inline-block;
	margin: 0;
	padding: 0px;
	list-style: none;
}

/* main level link */
#menu-menu-two.secondary a {
	font: Arial, Helvetica, sans-serif;
	font-size: 10pt;
	text-transform: uppercase;
	text-decoration: none;
	color: #7e7e7e;
	padding: 5px 10px;
	margin: 0 5px 0 0;
	display: block;
}
#menu-menu-two.secondary a:hover,
#menu-menu-two.secondary .current_page_item a,
#menu-menu-two.secondary .current-menu-item a,
#menu-menu-two.secondary .current_page_item a:hover,
#menu-menu-two.secondary .current-menu-item a:hover {
	color: #49a948;
}

/* sub-levels link */
#menu-menu-two.secondary ul a,
#menu-menu-two.secondary .current_page_item ul a,
#menu-menu-two.secondary ul .current_page_item a,
#menu-menu-two.secondary .current-menu-item ul a,
#menu-menu-two.secondary ul .current-menu-item a {
	color: #666;
	font-size: .875em;
	line-height: 1.2em;
	font-weight: normal;
	text-transform: none;
	padding: 6px;
	margin: 0;
	display: block;
	background: none;
	border: none;
}
/* sub-levels link :hover */
#menu-menu-two.secondary ul a:hover,
#menu-menu-two.secondary .current_page_item ul a:hover,
#menu-menu-two.secondary ul .current_page_item a:hover,
#menu-menu-two.secondary .current-menu-item ul a:hover,
#menu-menu-two.secondary ul .current-menu-item a:hover {
	color: #49a948;
}
/* dropdown ul */
#menu-menu-two.secondary ul {
	position: absolute;
	top: 35px;
	left: 50%;
	width: 200px;
	margin: 15px 0 0 -100px;
	padding: 5px 0;
	background: #fff;
	border: solid 1px #ccc;
	list-style: none;
	z-index: 100;
	visibility: hidden;
	opacity: 0;
}
#menu-menu-two.secondary ul:before {
	position: absolute;
	display: block;
	content: ' ';
	width: 0;
	height: 0;
	top: -8px;
	left: 50%;
	margin-left: -8px;
	border-bottom: 8px solid #ccc;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	z-index: -1;
}
#menu-menu-two.secondary ul li {
	background: none;
	padding: 0;
	margin: 0;
	display: block;
}

/* sub-levels dropdown */
#menu-menu-two.secondary ul ul {
	left: 100%;
	top: -6px;
	margin-left: 15px;
	margin-top: 0;
}
#menu-menu-two.secondary ul ul:before {
	top: 11px;
	left: -17px;
	margin-left: 0;
	border-right: 8px solid #ccc;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
}

/* show dropdown ul */
#menu-menu-two.secondary li:hover > ul {
	visibility: visible;
	margin-top: 0;
	opacity: 1;
}
#menu-menu-two.secondary ul li:hover > ul {
	margin-left: 0;
}

/************************************************************************************
Typography
*************************************************************************************/
body {
	font: normal 1em/1.875em 'Open Sans', sans-serif;
	background-color: #fff;
	color: #464646;
	word-wrap: break-word;
}
a {
	color: #000;
	text-decoration: none;
	outline: none;
}
a:hover {
	text-decoration: underline;
}
p {
	line-height: 1.4em;
	margin-bottom: .5em;
}
small {
	font-size: .87em;
}
blockquote {
	font: italic 1.1em/1.3em "Times New Roman", Times, serif;
	padding: 0px;
	color: #464646;
}

.wp-caption {
	text-align: left;
	margin-bottom: 15px;
	max-width: 100%;
}
.wp-caption-text {
	font-style: italic;
	font-size: 14px;
	line-height: 1.2em;
	margin: 6px 0;
}

/************************************************************************************
Images
*************************************************************************************/
/* post image */
.post-image {
	max-width: 100%;
	margin: 0 0 15px;
}
.post-image img {
		border-radius: 5px;
}
.post-image.left {
	float: left;
	margin-right: 15px;
}
.post-image.right {
	float: right;
	margin-left: 15px;
}
/* images */
img {
		border-radius: 5px;
}

 a:link img {
   opacity: 1.0;
   filter: alpha(opacity=100); /* For IE8 and earlier */
 }
 a:hover img {
   opacity: 0.7;
   filter: alpha(opacity=60); /* For IE8 and earlier */
 }