/*

Theme Name: Goodwin
Theme URI: http://goodwindesigngroup.com/
Author: Cereza Studios
Author URI: http://cerezastudios.com/
Description: Custom WordPress for Goodwin Design

Version: 1.0

License: GNU General Public License v2 or later

License URI: http://www.gnu.org/licenses/gpl-2.0.html

Text Domain: cerezasandbox

*/


/*******************************************************/

/******************** FONTS ********************/

@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,800italic,800,700italic,700,600italic,600,400italic,300italic,300);
/* Commons */

body {
	font-family: 'Open Sans', sans-serif;
}
body > header {
	background-color: #fff;
}

@media(max-width: 768px) {
body > header > div > div > div.col-sm-4 {
	width: 33.33333333%;
	float: left;
}
}
body > header > div > div > div.col-sm-4 > a {
	margin: 20px auto;
	display: block;
	max-width: 210px;
	height: auto;
}
body > header > div > div > div.col-sm-4 > a > img {
    width: 100%;
    height: auto;
    max-width: 210px;
}
p {
	font-size: 16px;
	line-height: 26px;
	margin-bottom: 1.25%;
}
img {
	width: 100%;
	height: auto;
}
h4 {
    font-size: 12px;
    font-weight: 300;
    line-height: 20px;
    text-align: justify;
}
/* Menu */
#menu-wrapper {
	margin-top: 30px;
}
@media(max-width: 480px) {
#menu-wrapper {
    margin-top: 25px;
}
}
@media(max-width: 400px) {
#menu-wrapper {
    margin-top: 20px;
}
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item {
	vertical-align: top;
}
#mega-menu-wrap-primary .mega-menu-toggle:before {
	content: "\f0c9";
	font-family: FontAwesome;
}
#mega-menu-wrap-primary .mega-menu-toggle.mega-menu-open:before {
	content: "\f00d";
	font-family: FontAwesome;
}
#mega-menu-wrap-primary #mega-menu-primary {
	visibility: visible;
	text-align: right;
	padding: 0px 0px 0 10px;
}

@media only screen and (max-width: 650px) {
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
	padding: 0 !important;
	text-align: right;
	margin: 0 6px 0 0px;
}
#mega-menu-wrap-primary .mega-menu-toggle.mega-menu-open + #mega-menu-primary {
	display: block;
	margin-bottom: 15px;
}
#mega-menu-wrap-primary #mega-menu-primary {
	visibility: visible;
	text-align: right;
	padding: 0;
}
#mega-menu-item-29, #mega-menu-item-30, #mega-menu-item-31 {
	display: inline-block !important;
}
#mega-menu-wrap-leftmenu #mega-menu-leftmenu {
    visibility: visible;
    text-align: center;
    padding: 0;
}
}

/******************** MEDIA QUERIES ********************/

@media(max-width: 1200px) {
}

@media(max-width: 992px) {
}

@media(max-width: 768px) {
}

@media(max-width: 480px) {
}

@media(max-width: 320px) {
}
/* About Us */
.page-template-page-about .entry-content {
    padding: 30px 0;
    color: #6a737b;
    font-weight: 300;
    margin-bottom: 1.25%;
    text-align: center;
}
.page-template-page-about h2 {
	font-size: 20px;
	line-height: 28px;
	margin-bottom: 0;
}
#additional-content > p > img, #team > img {
	width: 100%;
	height: auto;
}
body > div.container > div:nth-child(2) {
	padding: 0 15px;
}
.page-template-page-about .col-md-3 {
	margin: 0;
	padding: 0 1.25% 15px 0;
}
/*.page-template-page-about .col-md-3:nth-child(4) {
	padding: 0 0 15px 0;
}*/

@media (max-width: 992px) {
.page-template-page-about .col-md-3 {
	width: 50%;
	vertical-align: top;
	float: left;
}
}

@media (max-width: 480px) {
.page-template-page-about .col-md-3 {
	width: 100%;
}
}
#team > h3 {
	color: #6a737b;
	font-size: 18px;
	padding-right: 15px;
	font-weight: 300;
}
#team > h3 > strong {
	font-weight: 500;
}
#team > p {
    color: #6a737b;
    padding-right: 15px;
    font-size: 13px;
    line-height: 20px;
    margin-bottom: 10px;
}
#team > p > a {
	color: #6a737b;
}
#team > p > a:hover {
	color: #9acd66;
}
#team > p > a > i {
	font-size: 18px;
}
/* Galleries */
.wp-tiles-byline-slide-up .wp-tiles-tile-with-image:hover .wp-tiles-byline {
	display: table;
}
.wp-tiles-byline-wrapper {
	padding: 5px;
	display: table-cell;
	vertical-align: middle;
	color: #fff;
	text-align: center;
}
.wp-tiles-tile-with-image .wp-tiles-byline-content {
	padding: 5px;
	font-size: 20px;
	vertical-align: middle;
	font-weight: normal;
	overflow: hidden;
}
/* Portfolio */
.page-template-page-portfolio .post-thumbnail {
	margin-bottom: 1.25%;
}
.page-template-page-portfolio .portfolio_copy {
	background-color: #9acd66;
	padding: 30px;
	color: #fff;
	font-weight: 300;
	margin-bottom: 1.25%;
}
.page-template-page-portfolio .portfolio_copy > h2 {
	font-size: 20px;
	line-height: 28px;
	color: #fff;
	margin-bottom: 0;
	display: inline;
}
.page-template-page-portfolio .portfolio_copy > p {
	display: inline;
}
.wrap_portfolio {
	padding: 0 15px;
	margin: auto;
	text-align: center;
}
#portfolio {
	display: inline-block;
	margin-bottom: 1.25%;
}
#portfolio > img {
	z-index: -1;
	position: relative;
}
/* Footer */
.footer {
	background-color: #5f6a72;
	padding: 25px 0;
	color: #fff;
}
.footer h2 {
	font-size: 18px;
}
.footer p {
	font-size: 13px;
}
.footer .frm_style_formidable-style.with_frm_style .form-field {
	margin-bottom: 10px;
}
#text-2 {
	width: 30%;
	display: inline-block;
}
#text-3 {
	width: 60%;
	display: inline-block;
	padding-right: 4%;
	vertical-align: top;
	margin-top: 50px;
}

@media(max-width: 500px) {
#text-2 {
	width: 100%;
	display: inline-block;
}
#text-3 {
	width: 100%;
	display: inline-block;
	padding-right: 0%;
	vertical-align: top;
	margin-top: 50px;
}
}
/* Work */
.wrap_work {
	text-align: center;
}
.img {
	position: relative;
	display: inline-block;
	vertical-align: top;
	cursor: pointer;
	margin: 0 0.5% 1.25%;
	max-width: 365px;
}
.overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	transition: all .5s;
	overflow: hidden;
	height: 0;
	background: white;
	text-align: center;
	font-size: 24px;
	color: #fff;
	font-weight: 400;
}
.img:hover .overlay, .overlay:hover {
	height: 100%;
	word-wrap: break-word;
	background-color: rgba(154, 205, 102, 0.9);
	padding-top: 40%;
	text-align: center;
}
.img > img {
	display: block;
}
.img-sm {
	position: relative;
	display: inline-block;
	vertical-align: top;
	cursor: pointer;
	margin: 0 0.5% 1.25%;
	max-width: 270px;
}
.imgs-sm > img {
	display: block;
}
/* Contact */
#contact {
	margin-bottom: 1.25%;
}
.col-md-6#contact {
	background-color: #9acd66;
}
#contact_left {
    margin-bottom: 1.25%;
}
#contact_right {
    margin-bottom: 1.25%;
	padding-left:0;
}
#contact_right p {
    font-size: 18px;
    line-height: 22px;
}
#contact_right h6 {
	float: right;
    font-size: 18px;
    line-height: 22px;
    margin-top: 0;
}
#contact_right h6 a {
    color: #6a737b;
}
.page-template-page-about .address {
    background-color: #ddefc2;
    padding: 40px 50px 0;
    font-weight: 300;
    margin-bottom: 0;
    margin-left: 0;
    color: #6a737b;
    height: 272px;
}
@media(max-width: 1199px) {
.page-template-page-about .address {
    height: 223px;
    padding: 15px 15px 0;
}
}
@media(max-width: 991px) {
.page-template-page-about .address {
    height: auto;
    padding: 25px;
}
#contact_right {
    margin-bottom: 1.25%;
	padding-left:15px;
}
}
#location {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
    margin-bottom: 0;
}
#location iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* Slider */
.slider {
    margin-bottom: 1.25%;
}