/*
Theme Name: On Brand Communications
Description: The original On Brand Communications theme.
Version: 1
Author: On Brand Communications
*/

img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
max-width: 100%; 
height: auto; 
}
.alignleft,
img.alignleft {
display: inline;
float: left;
margin-right: 24px;
margin-top: 4px;
}
.alignright,
img.alignright {
display: inline;
float: right;
margin-left: 24px;
margin-top: 4px;
}
.aligncenter,
img.aligncenter {
clear: both;
display: block;
margin-left: auto;
margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
margin-bottom: 0;
}
.wp-caption {
background: #f1f1f1;
line-height: 18px;
margin-bottom: 20px;
max-width: 632px !important; 
text-align: center;
}
.wp-caption img {
margin: 5px 5px 0;
}
.wp-caption p.wp-caption-text {
color: #888;
font-size: 12px;
margin: 5px;
}
.wp-smiley {
margin: 0;
}
.gallery {
margin: 0 auto 18px;
}
.gallery .gallery-item {
float: left;
margin-top: 0;
text-align: center;
width: 33%;
}
.gallery-columns-2 .gallery-item {
width: 50%;
}
.gallery-columns-4 .gallery-item {
width: 25%;
}
.gallery img {
border: 2px solid #cfcfcf;
}
.gallery-columns-2 .attachment-medium {
max-width: 92%;
height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
max-width: 84%;
height: auto;
}
.gallery .gallery-caption {
color: #888;
font-size: 12px;
margin: 0 0 12px;
}
.gallery dl {
margin: 0;
}
.gallery img {
border: 10px solid #f1f1f1;
}
.gallery br+br {
display: none;
}
#content .attachment img {
margin: 0 auto;
}
.content ul, .content ol{margin:20px 0;}
.content ul li, .content ol li{margin:8px 0 8px 20px; line-height:26px;}
input[type="text"], input[type="email"], input[type="tel"], textarea {
	border: 1px solid #cccccc;
	padding: 15px !important;
	background: #f9f9f9;
	color: #000000;
	font-family: "Barlow Condensed", sans-serif;
	margin: 0 !important;
	transition: all 0.5s;
}
input[type="text"]:hover, input[type="email"]:hover, textarea:hover{
	background: #eeeeee;
	color: #000000;
}
input[type="submit"], a.readmore {
	border: 0 none;
	cursor: pointer;
	background: #b68421;
	margin: 0;
	text-transform: uppercase;
	color: #ffffff;
	font-size: 20px;
	font-family: "Barlow Condensed", sans-serif;
	padding: 10px 25px;
	transition: all 0.5s;
	display: inline-block;
	font-weight:600;
	border-radius: 40px;
}
input[type="submit"]:hover, a.readmore:hover {
  background: #4d678f;
  color:#ffffff;
}
a.readmore.readmore2 {
	background: #ffffff;
	color: #b68421;
	border:2px solid #b68421;
}
a.readmore.readmore2:hover {
  background: #ffffff;
	color: #4d678f;
	border:2px solid #4d678f;
}
*{
padding:0;
margin:0;
}

body.mceContentBody{
background:none;
color:#000000;
}

body,table{
font-family: "Barlow Condensed", sans-serif;
font-size:25px;
color:#000000;
}

img, fieldset{
border:0;
}

table {
	width: 100%;
	border-collapse: collapse;
}
p{
line-height:28px; 
margin-bottom:25px;
}
a{
outline:none;
text-decoration:none;
color:#BD0F0E;
transition: all 0.5s;
}
a:hover{
color:#2F2A2D;
}

h1{
font-size:50px; 
font-weight:600;
margin-bottom:20px;
text-transform:uppercase;
color:#231f20;
font-family: "Barlow Condensed", sans-serif;
}
.home h2{
	text-transform:uppercase;
}
h2{
font-size:45px; 
font-weight:600;
margin-bottom:20px;
color:#231f20;
font-family: "Barlow Condensed", sans-serif;
}
h3{
font-size:25px; 
font-weight:600;
margin-bottom:20px;
color:#231f20;
font-family: "Barlow Condensed", sans-serif;
}
h4{
font-size:20px; 
font-weight:600;
margin-bottom:20px;
color:#231f20;
font-family: "Barlow Condensed", sans-serif;
}
.clear{
clear:both;
}

.admin-bar header{
	margin-top:32px;
}

.wrapper{
width:90%;
margin:0 auto;
max-width:1920px;
}
.logo {
	float: left;
	width: 300px;
	margin-right: 15px;
	padding: 10px 0;
}
.nav {
	float: left;
	margin-top: 55px;
}
.header .wrapper .nav {
	margin: auto;
}
.header .wrapper {
	display: flex;
	flex-wrap: wrap;
}
.button {
	float: right;
	margin-top: 55px;
}
.header {
	background: #ffffff;
	z-index: 9999;
	position: relative;
}
header {
	background: #ffffff;
	width: 100%;
	height: 152px;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99999;
	-webkit-transition: height 0.3s;
	-moz-transition: height 0.3s;
	-ms-transition: height 0.3s;
	-o-transition: height 0.3s;
	transition: height 0.3s;
}
.logo, .header, .nav, .number {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.headerheight {
    height: 152px;
}
header.smaller {
	height: 152px;
}
.cta {
	background: url(images/cta-bg.jpg) no-repeat;
	color: #ffffff;
	text-align: center;
	background-size: cover;
	padding: 50px 0;
	font-size:42px;
}
.cta h3, .cta2 h3 {
	color: #ffffff;
	font-size: 50px;
}
.cta2 .wrapper {
	background: url(images/bottom-cta-bg.png) no-repeat;
	color: #ffffff;
	background-size: cover;
	padding: 50px 0;
	font-size: 42px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	padding: 50px;
	box-sizing: border-box;
	border-radius: 10px;
}
.widget_text.widget.moduletable.custom_html-5 {
	width: 40%;
	justify-content: right;
	display: flex;
}
.content {
	padding: 50px 0;
	overflow: hidden;
}
.blogsmain {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
}
.blogsmain .post {
	width: 32%;
	margin: 0 1% 20px 0;
	background: #E9E3E7;
	padding: 20px;
	box-sizing: border-box;
}
.blogsmain .post:nth-child(odd) {
	background: #EEEEEE;
}
.post-meta > div {
	display: inline-block;
	margin: 0 5px 0 0;
}
.post-meta {
	margin-bottom: 20px;
	line-height: 28px;
}
.blogsmain .eb-post-category.comma-seperator {
	width: 100%;
}
.blogsmain h2.storytitle {
	font-size: 20px;
	text-transform: uppercase;
}
.home .su-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.copyright {
	text-align: center;
	background: #587ba3;
	color: #ffffff;
	padding: 10px 0;
	font-size: 20px;
}
.copyright p{
	margin-bottom:0;
}
.footer {
	background: #4d678f;
	padding: 50px 0;
	color: #fff;
	font-size: 20px;
	font-weight: 500;
}
.footer .moduletable {
	margin: 0 auto;
}
.footer a {
	color: #ffffff;
}
.footer a:hover {
	text-decoration:underline;
}
.footer p {
	margin-bottom: 10px;
}
.footer .wrapper {
	display: flex;
	flex-wrap: wrap;
}
.footer h4 {
	font-size: 26px;
	font-weight: 600;
	color: #ffffff;
}
.banner h2{
	font-size:100px;
	color:#ffffff;
	text-transform:none;
	line-height: 100px;
}
.banner .metaslider .caption-wrap {
	background: transparent;
	color: white;
	opacity: 1;
	text-align: center;
	bottom: auto;
	top: 35%;
	font-size:42px;
	line-height: normal;
}
.metaslider .flexslider .slides p {
	margin: 0;
	line-height: 50px;
}
.logoslider img {
	max-height: 200px;
	width: auto;
}
.logoslider h2 {
	text-align: center;
}
.gs_logo_single.gs_logo-single--flex-center {
	border: 1px solid #dddddd;
}
.cta2 {
	margin: 50px 0;
}
.counternumbers {
	background: #f7f8fa;
	padding: 30px 0;
	text-align: center;
	margin-bottom: 50px;
	font-size:26px;
}
.counternumbers .textwidget.custom-html-widget {
	display: flex;
	flex-wrap: wrap;
}
.counternumber {
	margin: 0 auto;
}
.countertext {
	font-size: 94px;
	font-weight: 600;
	display: block;
}
.testimonials h2 {
	text-align: center;
}
.testimonials .strong-view.wpmtst-modern .wpmtst-testimonial-content {
	font-size: 26px;
	font-style: normal;
	text-align: left;
	border-bottom: 2px solid #dddddd;
	padding-bottom: 10px;
	margin-bottom: 10px;
}
.testimonials .strong-view.wpmtst-modern .wpmtst-testimonial-content::before, .strong-view.wpmtst-modern .wpmtst-testimonial-content::after {
	display: none;
}
.testimonials .wpmtst-testimonial-field.testimonial-field.testimonial-company {
	font-size: 20px;
}
.testimonials .strong-view.wpmtst-modern .wpmtst-testimonial-image {
	display: inline-block;
	margin-bottom: 10px;
	float: left;
	margin-right: 10px;
}
.testimonials .strong-view.wpmtst-modern .wpmtst-testimonial-field {
	clear: none;
	text-align: left;
}
.testimonials p {
	line-height: 34px;
}


ul.flipbox {
	display: flex;
	flex-wrap: wrap;
}
.content ul.flipbox li {
	width: 32%;
	list-style: none;
	display: block;
	border: 3px solid #fff;
	margin: 0;
	position: relative;
	background: none;
	padding: 0;
}
.nonflip::before {
	content: "";
	background: rgba(0, 0, 0, 0.5);
	width: 100%;
	height: 100%;
	position: absolute;
}
.nonflip {
	display: block;
}
ul.flipbox li img {
	width: 100%;
	height: 100%;
}
.industryname {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: #ffffff;
	font-size: 50px;
	font-weight: 500;
	display: flex;
	justify-content: center;
	align-items: center;
	align-content: center;
	text-align: center;
	line-height: 42px;
}
.flip {
	background: #4d678f;
	display: none;
	width: 100%;
	height: 100%;
	padding: 20px;
	box-sizing: border-box;
	color: #ffffff;
	font-size: 22px;
	line-height: 28px;
	position: relative;
	font-weight:500;
	text-align: center;
}
.detail {
	display: block;
	text-align: center;
	margin-top: 20px;
	font-size: 36px;
	font-weight: 600;
}
ul.flipbox li .flip img {
	width: auto;
	height: auto;
	position: absolute;
	right: 10px;
	bottom: 10px;
}
ul.flipbox li a:hover .flip {
	display: block;
}
ul.flipbox li a:hover .nonflip {
	display: none;
}
ul.flipbox li a:hover .industryname {
	position: relative;
	top: auto;
	left: auto;
	width: auto;
	height: auto;
	color: #ffffff;
	font-size: 45px;
	font-weight: 500;
	margin-bottom:20px;
}
ul.flipbox li a > br {
	display: none;
}
.widget.moduletable.text-5 {
	font-size: 26px;
}
.widget.moduletable.text-5 p {
	line-height: 36px;
	margin-bottom: 20px;
}
.su-spoiler-title {
	font-size: 20px !important;
}
.banner img{
	width:100%;
}
.content ul li, .cta2 ul li {
	background: url(images/logo-icon.png) 0 2px no-repeat;
	list-style: none;
	margin: 5px 0 5px 30px;
	padding: 0 0 0 30px;
}
.cta2 ul li {
	background: url(images/logo-icon-white.png) 0 15px no-repeat;
}
.gform_wrapper {
	border: 5px solid #000;
	padding: 25px;
}
.white, .grey {
	padding: 50px 3000px;
	overflow: hidden;
	margin: 0 -3000px;
}
.grey {
	background: #eeeeee;
}
:target:before {
    content: "";
    display: block;
    height: 200px;
    margin: -200px 0 0;
}
img{
max-width:100%;
height:auto;
}

@media all and (max-width: 1340px){
.banner .metaslider .caption-wrap {
	top: 5%;
}
.industryname {
	font-size: 32px;
	line-height: 36px;
}
.detail {
	font-size: 24px;
}
ul.flipbox li a:hover .industryname {
	font-size: 32px;
	margin-bottom: 5px;
}
.flip {
	font-size: 17px;
	line-height: 22px;
}
.cta2 .wrapper .moduletable {
	width: 50%;
}
}
@media all and (max-width: 1180px){
.header .wrapper {
	display: block;
}
.header .wrapper .nav {
	float: right;
	margin-top: 50px;
}
.button {
	margin-top: 48px;
	margin-right: 20px;
}
}
@media all and (max-width: 1020px){
.cta2 .wrapper {
	font-size: 34px;
}
	.content ul.flipbox li {
	width: 49%;
}
	.cta2 .wrapper .moduletable {
	width: 100%;
}
	.widget_text.widget.moduletable.custom_html-5 {
	width: 100%;
	justify-content: center;
	display: flex;
	margin-top: 20px;
}
	.footer .moduletable {
	width: 50%;
	margin-top: 20px;
}
}
@media all and (max-width: 767px){
.logo {
	float: none;
	width: 200px;
	margin: 0 auto;
	padding: 10px 0;
}
.header .wrapper .nav {
	float: none;
	margin-top: 0;
}
.button {
	float: none;
	margin: 0;
	text-align: center;
	padding-bottom: 10px;
}
header, .headerheight, header.smaller {
	height: 217px;
}
.banner .metaslider .caption-wrap {
	top: 5%;
	position: relative;
	background: #333333;
	padding: 10px 0;
}
.banner h2 {
	font-size: 45px;
	line-height: 56px;
}
.banner .metaslider .caption-wrap {
	font-size: 28px;
}
ul.flipbox li {
	width: 100%;
}
.cta2 .wrapper .moduletable {
	width: 100%;
}
.cta2 .wrapper {
	padding: 20px;
}
.footer .moduletable {
	margin: 0 0 30px;
	width: 100%;
}
	.content ul.flipbox li {
	width: 100%;
	border: 0;
}
.flip, ul.flipbox li a:hover .nonflip {
	display: block;
}
	ul.flipbox li a:hover .industryname {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.flip .industryname{
		display:none;
	}
	.flip{
		height: auto;
	}
	.content img {
	display: block;
	margin: 20px auto;
	float: none;
}
}
@media all and (max-width: 500px){

}