/*
Theme Name: Oceans Polymer2 
Theme URI: http://www.binamic.co.uk
Version: 1.0.1
Description: Custom Child Theme for Oceans Polymer
Author: Tim Freeman
Author URI: http://www.binamic.co.uk
Template: Divi
*/

@import url('../Divi/style.css');

/* New Styling */

body { 
	background-color:#0b1d1e; 

}

#main-header {
	background-color: #fff !important;
}
body.page.et_pb_pagebuilder_layout #main-header, body.single.et_pb_pagebuilder_layout #main-header {
	display:none;
}

@media only screen and (max-width:980px)
{
	.et_header_style_centered .mobile_nav .select_page, .et_mobile_menu li a {
	}
	.mobile_menu_bar::before {
		color: #ffffff !important; 
	}
	#main-header .et_mobile_menu {
		background-color: #fff !important;
	}
}

#main-content {
	background-color:#fff !important; 
}

#main-content .entry-content > .et_pb_section_1.et_pb_section_parallax {
	margin-bottom:0;
}

#home-title {
	visibility:hidden;
	height:1px;
	margin-bottom:0;
}

.in-page-header-logo .et_pb_image_wrap img {
	width:100%;
	height:auto;
	max-width:334px;
}

.et_pb_fullwidth_header_0 .header-content img.header-logo {
	width:100%;
	margin-bottom:70px !important;
}
.et_pb_fullwidth_header_0.et_pb_fullwidth_header .header-content .et_pb_module_header {
	padding-bottom:30px;
}
.et_pb_fullwidth_header p {
	font-size:28px;
	line-height: 1.2em;
	text-transform: uppercase;
	font-weight: 600;
}

.wpcf7-form .bino-field-wrapper label {
	padding-bottom:5px;
	display: block;
}
.wpcf7-form .bino-field-buttons {
	text-align:right;
}
.wpcf7-form .bino-field-buttons::after {
    display: block;
    visibility: hidden;
    clear: both;
    width: 0;
    height: 0;
    line-height: 0;
    content: ".";
}
.wpcf7-form .bino-field-buttons > * {
	display:inline-block;
	vertical-align:top;
}
.wpcf7-form .bino-field-buttons .wpcf7-submit {
	margin-top: 15px;
	margin-left: 20px;
}
.wpcf7-form .bino-field-buttons .ajax-loader {
	display:none;
}
.h2 p, p.h2 {
	font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
	font-size: 30px;
	color: #529fb5;
	text-transform:uppercase;
}
.h2.et_pb_bg_layout_dark p, .et_pb_bg_layout_dark p.h2 {
	color: #fff;
}
.et_pb_gutters3 .et_pb_column_4_4 .home-latest-news .et_pb_blog_grid .column.size-1of3 .et_pb_post {
	margin-bottom:0;
}
.et_pb_blog_grid .et_pb_post .post-content,
.et_pb_team_member_description {
	line-height:1.5em;
}
.et_pb_blog_grid .et_pb_post .post-content:empty {
	height: 1px;
	margin-top: -20px;
    margin-bottom: -20px;
}
.et_pb_blog_grid .et_pb_post .entry-title + .post-content:empty {
	margin-top: 0px;
    margin-bottom: 0px;
}

.post-share-buttons {
	margin-bottom: 2.75%;
	text-align:center;
}
.post-share-buttons .twitter-share-button, .post-share-buttons .fb-share-button {
	display: inline-block;
	vertical-align: top;
	margin: 0 5px;
}

/* Old Styling */

blockquote { 
	padding-left: 0px !important;
}
.dd-svg  { 
	max-height:150px !important; 
	height:150px !important; 
}
.dd-svg a .et_pb_image_wrap img  { 
	max-height:150px !important; 
}
.dd-img img { 
	max-height: 130px;
}
.dd-img-logo img { 
	max-height: 100px;
}
.dd-border { 
	border-top: 4px solid #529fb5;
	box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
}
.et_pb_toggle { 
	border: none !important;
}
.et_pb_toggle_title:before { 
	right: 48% !important; 
	font-size: 24px !important;
	margin-bottom: 10px;
}
.et_pb_team_member { 
	 box-shadow: 0 0 20px rgba(0,0,0,.1);
	 padding: 20px;
	 background: #fff;
	 border-top: 4px solid #529fb5;
}

.et_pb_team_member_image { 
	overflow: hidden;
	/*margin-top: -150px;
	border-radius: 40px;*/
	width: auto;
}
.link-imgs { 
	margin: 0  30px;
	text-align: center !important;
	display: inline;	
}

/* BLOG */

.et_pb_blog_grid .et_pb_post {
	border: none !important;
}
.et_link_content h2 { 
	font-size: 14px !important;
	line-height: 20px !important;
}
.et_link_main_url { 
	display: none;
}
.et_pb_text p {
	line-height:1.8em;
}
.et_pb_text ol { 
	margin-left: 30px; 
	list-style-position: outside;
	
}
.et_pb_text ol li { 
	margin-top: 15px;
}
.wp-caption { 
	background: none !important;
	border: none !important;
}

/* Contact Form 7 */

#contact p a {
	color:#fff;
}
.wpcf7-form label { 
	color: #000; 
}
.wpcf7-form select { 
	background-color: #2d4d4e !important;
	border: none !important;
	width: 50% !important;
	-moz-border-radius: 0 !important;
	-webkit-border-radius: 0 !important;
	border-radius: 0 !important;
	font-size: 14px;
	color: #999 !important;
	padding: 16px !important;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	height: 50px;
}
.wpcf7-form {
	margin:0 -3%;
}
.wpcf7-form .halfwidth { 
	float: left;
	width: 50% !important;
	padding: 0 3% 15px 3%;
}
.wpcf7-form  .fullwidth { 
	float: left;
	width: 100% !important;
	padding: 0 3% 15px 3%;
}
div.wpcf7-response-output {
	padding: 0.8em 1.5em;
	margin: 2em 3% 1em;
	clear: both;
}
div.wpcf7-mail-sent-ok {
	background-color: #398f14;
}
div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
	border-color:#9b0909;
	background-color: #9b0909
}
span.wpcf7-not-valid-tip {
	color:#9b0909;
	padding-top:2px;
}
.wpcf7-text {
	background-color: rgba(255, 255, 255, 0.73) !important;
	border: none !important;
	width: 100% ;
	-moz-border-radius: 5px !important;
	-webkit-border-radius: 5px !important;
	border-radius: 5px !important;
	font-size: 16px;
	color: #000 !important;
	padding: 14px !important;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.wpcf7-textarea, .wpcf7-captchar {
	background-color: rgba(255, 255, 255, 0.73) !important;
	border: none !important;
	width: 100% ;
	-moz-border-radius: 5px !important;
	-webkit-border-radius: 5px !important;
	border-radius: 5px !important;
	font-size: 16px;
	color: #000 !important;
	padding: 14px !important;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.wpcf7-submit {
	color: #4e4e4e !important; 
	margin: 8px auto 0;
	cursor: pointer;
	font-size: 20px;
	font-weight: 500;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	padding: 6px 20px;
	line-height: 1.7em;
	background: transparent;
	border: 2px solid;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-moz-transition: all 0.2s;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
}
.wpcf7-submit:hover { 
	background-color: rgba(255, 255, 255, 0.45); 
	border-color:#eee; 
	padding: 6px 20px !important; 
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #474747;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #474747;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #474747;
}
:-moz-placeholder { /* Firefox 18- */
  color: #474747;
}
.wpcf7-response-output { 
	color: #fff; 
}
.recaptcha-dd { 
	margin-left: 30px; 
	margin-bottom: 30px;
}