/*
 Theme Name:     The Brains
 Description:    Divi Child Theme
 Author:         The Brains
 Author URI:     http://thebrainsmarketing.co.uk
 Template:       Divi
 Version:        1.0.0
*/


/* =Theme customization starts here
------------------------------------------------------- */


h1, h2, h3, h4, h5, h6, .et_pb_button {
	font-family: 'Spartan', sans-serif;
	line-height: 1.3em;
}


/* Popup styles */
.da-overlay {
	background: rgba(21,24,75,0.89);
}

/* Fancy links */

.fancy-link a {
	text-decoration: underline;
	font-weight: bold;
}

.fancy-link a:hover {
	color: #2C2B6E;
}

.fancy-link a:after {
	font-family: ETmodules !important;
    content: "\24";
	vertical-align: middle;
    margin-left: 4px;
	display: inline-block;
	transition: ease-in-out 0.6s;
}

.fancy-link a:hover:after {
    margin-left: 8px;
	transition: ease-in-out 0.1s;
}

/* 50-50 section reverse */

.rev-section {
	justify-content: flex-end;
}

@media all and (max-width: 980px) {
	.rev-section {
		display: flex;
		flex-direction: column-reverse;
	}
}

/* iopa accordion */

.iopa-accordion .et_pb_toggle_title::before {
    content: "\4c";
	font-weight: bold;
}

.iopa-accordion .et_pb_toggle_open .et_pb_toggle_title:before {
	display: block !important;
	content: "\4b";
	font-weight: bold;
}

.iopa-accordion .et_pb_module {
    margin: 0 !important;
	padding: 30px 0;
}

.iopa-accordion .et_pb_module:last-child {
    border-bottom: 0;
}

/* job blurb */

.job-blurb .et_pb_blurb_description .location:before {
	width: 17px;
    height: 17px;
	margin-bottom: -2px;
	margin-right: 4px;
    content: '';
	display: inline-block;
	background: url("/wp-content/uploads/2021/02/location.svg") no-repeat bottom center;
}

.job-blurb .et_pb_blurb_description .location {
	display: inline-block;
	font-family: 'Spartan', sans-serif;
	text-transform: uppercase;
	color: #f7517f;
}

.job-blurb .et_pb_blurb_description .readmore {
	color: #386bc2;
	font-weight: bold;
	font-size: 14px;
	line-height: 2;
}

.job-blurb .et_pb_blurb_description .readmore:after {
	font-family: ETmodules !important;
    content: "\24";
	vertical-align: middle;
    margin-left: 4px;
	display: inline-block;
}

/* footer form */

.footer-form .et_pb_contact_submit, .footer-form .et_contact_bottom_container {
    width: 100% !important;
}

.footer-form .et_pb_contact_submit {
    margin-left: 3% !important;
}

.footer-form .et-pb-contact-message {
	color: #f7517f;
}

/* fancy lists */

.fancy-list ul li {
    list-style-type: none !important;
	font-family: 'Spartan', sans-serif;
	line-height: 1.4em;
	font-weight: bold;
	font-size: 16px;
	margin-bottom: 10px;
}

.fancy-list ul li::before {
    content: '' !important;
    display: inline-block !important;
    height: 20px !important;
    width: 20px !important;
    background: url('/wp-content/uploads/2021/02/check.svg');
    background-size: cover !important;
    margin: 10px 20px -4px -40px !important;
}

.fancy-list {
    margin-left: 20px !important;
}

/* vert align */

.vert-align .et_pb_column {
	margin: auto;
}

/* reverse row */

@media all and (max-width: 980px) {
	.rev-row {
		display: flex;
		flex-direction: column-reverse;
	}
}

/* blog post cta */
.blog-cta {
	font-family: 'Spartan', sans-serif;
}

/* blog styles */
.iopa-blog .et_pb_post {
	display: flex;
	align-items: center;
}

@media (max-width: 980px) {
	.iopa-blog .et_pb_post {
		flex-direction: column;
	}
}

.iopa-blog .more-link {
	text-decoration: underline;
	font-weight: bold;
	margin-top: 20px;
}

.iopa-blog .more-link:first-letter {
	text-transform: capitalize;
}

.iopa-blog .more-link:hover {
	color: #2C2B6E;
}

.iopa-blog .more-link:after {
	font-family: ETmodules !important;
    content: "\24";
	vertical-align: middle;
    margin-left: 4px;
	display: inline-block;
	transition: ease-in-out 0.6s;
}

.iopa-blog .more-link:hover:after {
    margin-left: 8px;
	transition: ease-in-out 0.1s;
}

@media (min-width: 981px) {
	.iopa-blog .et_pb_post:nth-child(2) {
		flex-direction: row-reverse;
	}
	
	.iopa-blog .et_pb_post {
	margin: 0;
	padding: 0;
	}
	
	.et_pb_post .entry-featured-image-url {
		flex: 50%;
		margin: 0;
		display: flex;
		justify-content: center;
		align-items: center;
		overflow: hidden;
	}

	.et_pb_post .entry-featured-image-url img {
		flex-shrink: 0;
		min-width: 100%;
		min-height: 100%;
		max-width: none;
	}
	
	.iopa-blog-wrap {
		flex: 50%;
		padding: 80px 100px;
	}
}

/* form errors */
.gform_wrapper .gform_validation_errors {
	display: none !important;
}

.gform_wrapper .validation_message {
	color: #F7517F !important;
	padding-top: 0 !important;
}

.gform_wrapper .gfield_error {
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
}

.gf_left_half {
	width: 48% !important;
	margin-right: 2% !important;
}


.uoldarktext {
	color: #15184B!important;
}


/* Gravity Forms */

/* Clients Form - GF1 */
#gform_1 .gform_title {
	display: none;
}

#gform_submit_button_1 {
	color: #15184B!important;
    border-width: 2px!important;
    border-color: #d7defc;
    background-image: linear-gradient( 60deg,#ffffff 0%,#d7defc 100%);
    background-color: #d7defc;
    border-radius: 8px;
    padding: 0.3em 1.3em 0.3em 1.3em;
    font-weight: 500;
    font-size: 1.19em;
    font-family: 'Spartan',sans-serif;
    line-height: 1.40em;
}

#gform_submit_button_1:hover {
	cursor: pointer;
}

#gform_1 input[type=text] {
	background-color: #2C2B6E;
    border: none;
    border-radius: 8px;
    padding: 0.5em;
    color: #fff;
}

#gform_1 select {
	background-color: #2C2B6E;
    border: none;
    border-radius: 8px;
    padding: 0.5em;
    color: #fff;
	margin-top: 12px;
}

#gform_1 input[type=text]::-webkit-input-placeholder { 
  color: #fff;
}
#gform_1 input[type=text]::-moz-placeholder { 
  color: #fff;
}
#gform_1 input[type=text]:-ms-input-placeholder { 
  color: #fff;
}
#gform_1 input[type=text]:-moz-placeholder { 
  color: #fff;
}

#gform_1 select {     
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
    background-image: linear-gradient(
45deg
, transparent 50%, #386BC2 50%), linear-gradient(
135deg
, #386BC2 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
    background-position: calc(100% - 25px) calc(1em + 2px), calc(100% - 20px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
}

#gform_1 select:focus {
  border-color: white;
  outline: 0;
}

#gform_1 .validation_error {
    color: #fff;
    font-size: 1em;
    font-weight: 700;
    margin-bottom: 25px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    padding: 16px 0 16px 0;
    clear: both;
    width: 100%;
    text-align: center;
}

#gform_1 .gfield_error {
	background-color: rgb(255 255 255);
    margin-bottom: 6px!important;
    padding-bottom: 6px;
    padding-top: 8px;
    box-sizing: border-box;
    padding-left: 8px;
    border-radius: 8px;
}
/* End GF 1 */

/* Candidates Form - GF2 */
#gform_2 .gform_title {
	display: none;
}

#gform_submit_button_2 {
	color: #fff;
	border-radius: 8px;
    padding: 0.3em 1.3em 0.3em 1.3em;
    font-weight: 500;
    font-size: 1.19em;
    font-family: 'Spartan',sans-serif;
    line-height: 1.40em;
    border-width: 2px!important;
    border-color: #637de5;
    background-image: linear-gradient( 
60deg
 ,#3249a6 0%,#637de5 100%);
    background-color: #637de5;
}

#gform_submit_button_2:hover {
	cursor: pointer;
}

#gform_2 input[type=text] {
	background-color: #F7F8FE;
    border: none;
    border-radius: 8px;
    padding: 0.5em;
    color: #386BC2;
}

#gform_2 select {
	background-color: #F7F8FE;
    border: none;
    border-radius: 8px;
    padding: 0.5em;
    color: #386BC2;
	margin-top: 12px;
}

#gform_2 input[type=text]::-webkit-input-placeholder { 
  color: #386BC2;
}
#gform_2 input[type=text]::-moz-placeholder { 
  color: #386BC2;
}
#gform_2 input[type=text]:-ms-input-placeholder { 
  color: #386BC2;
}
#gform_2 input[type=text]:-moz-placeholder { 
  color: #386BC2;
}

#gform_2 select {     
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
    background-image: linear-gradient(
45deg
, transparent 50%, #386BC2 50%), linear-gradient(
135deg
, #386BC2 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
    background-position: calc(100% - 25px) calc(1em + 2px), calc(100% - 20px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
}

#gform_2 select:focus {
  border-color: white;
  outline: 0;
}

#gform_2 .validation_error {
    color: #fff;
    font-size: 1em;
    font-weight: 700;
    margin-bottom: 25px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    padding: 16px 0 16px 0;
    clear: both;
    width: 100%;
    text-align: center;
}

#gform_2 .gfield_error {
	background-color: rgb(255 255 255);
    margin-bottom: 6px!important;
    padding-bottom: 6px;
    padding-top: 8px;
    box-sizing: border-box;
    padding-left: 8px;
    border-radius: 8px;
}



/* End GF 2 */

/* Header Pop Up Form - GF3 */
.hftitle {
	font-weight: 700;
    font-size: 1.38em;
    font-family: 'Spartan',sans-serif;
    line-height: 1.58em;
	color: #15184B
}

.hfdesc {
	color: #15184b;
	font-size: 1em;
	line-height: 1.2em;
	font-weight: 400;
}


#gform_3 .gform_title {
	display: none;
}

#gform_submit_button_3 {
	color: #fff;
    padding: 0.5em 1.4em 0.5em 1.4em;
    font-weight: 500;
    font-size: 1.19em;
    font-family: 'Spartan',sans-serif;
    line-height: 1.40em;
	background-color: #f7517f;
    border-color: rgba(254,245,248,0.35);
    border-radius: 8px;
	float: right;
}

#gform_submit_button_3:hover {
	cursor: pointer;
}

#gform_3 input[type=text] {
	background-color: #F7F8FE;
    border: none;
    border-radius: 8px;
    padding: 0.5em;
    color: #386BC2;
}

#gform_3 select {
	background-color: #F7F8FE;
    border: none;
    border-radius: 8px;
    padding: 0.5em;
    color: #386BC2;
}

#gform_3 .gfield_label {
	color: #386BC2;
}

#gform_3 .gfield_consent_label {
	font-weight: 400;
}

#gform_3 input[type=text]::-webkit-input-placeholder { 
  color: #386BC2;
}
#gform_3 input[type=text]::-moz-placeholder { 
  color: #386BC2;
}
#gform_3 input[type=text]:-ms-input-placeholder { 
  color: #386BC2;
}
#gform_3 input[type=text]:-moz-placeholder { 
  color: #386BC2;
}

#gform_3 select {     
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
    background-image: linear-gradient(
45deg
, transparent 50%, #386BC2 50%), linear-gradient(
135deg
, #386BC2 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
    background-position: calc(100% - 25px) calc(1em + 2px), calc(100% - 20px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
}

#gform_3 select:focus {
  border-color: white;
  outline: 0;
}

#gform_3 .validation_error {
    color: #fff;
    font-size: 1em;
    font-weight: 700;
    margin-bottom: 25px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    padding: 16px 0 16px 0;
    clear: both;
    width: 100%;
    text-align: center;
}

#gform_3 .gfield_error {
	background-color: rgb(255 255 255);
    margin-bottom: 6px!important;
    padding-bottom: 6px;
    padding-top: 8px;
    box-sizing: border-box;
    padding-left: 8px;
    border-radius: 8px;
}



/* End GF 3 */

/* About iopa Form - GF4 */
#gform_4 .gform_title {
	display: none;
}

#gform_submit_button_4 {
	color: #15184B!important;
    border-width: 2px!important;
    border-color: #d7defc;
    background-image: linear-gradient( 60deg,#ffffff 0%,#d7defc 100%);
    background-color: #d7defc;
    border-radius: 8px;
    padding: 0.3em 1.3em 0.3em 1.3em;
    font-weight: 500;
    font-size: 1.19em;
    font-family: 'Spartan',sans-serif;
    line-height: 1.40em;
}

#gform_submit_button_4:hover {
	cursor: pointer;
}

#gform_4 input[type=text] {
	background-color: #2C2B6E;
    border: none;
    border-radius: 8px;
    padding: 0.5em;
    color: #fff;
}

#gform_4 select {
	background-color: #2C2B6E;
    border: none;
    border-radius: 8px;
    padding: 0.5em;
    color: #fff;
	margin-top: 12px;
}

#gform_4 input[type=text]::-webkit-input-placeholder { 
  color: #fff;
}
#gform_4 input[type=text]::-moz-placeholder { 
  color: #fff;
}
#gform_4 input[type=text]:-ms-input-placeholder { 
  color: #fff;
}
#gform_4 input[type=text]:-moz-placeholder { 
  color: #fff;
}

#gform_4 select {     
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
    background-image: linear-gradient(
45deg
, transparent 50%, #386BC2 50%), linear-gradient(
135deg
, #386BC2 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
    background-position: calc(100% - 25px) calc(1em + 2px), calc(100% - 20px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
}

#gform_4 select:focus {
  border-color: white;
  outline: 0;
}

#gform_4 .validation_error {
    color: #fff;
    font-size: 1em;
    font-weight: 700;
    margin-bottom: 25px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    padding: 16px 0 16px 0;
    clear: both;
    width: 100%;
    text-align: center;
}

#gform_4 .gfield_error {
	background-color: rgb(255 255 255);
    margin-bottom: 6px!important;
    padding-bottom: 6px;
    padding-top: 8px;
    box-sizing: border-box;
    padding-left: 8px;
    border-radius: 8px;
}
/* End GF 4 */


/* Submit your CV Form - GF5 */
.hftitle {
	font-weight: 700;
    font-size: 1.38em;
    font-family: 'Spartan',sans-serif;
    line-height: 1.58em;
	color: #15184B
}

.hfdesc {
	color: #15184b;
	font-size: 1em;
	line-height: 1.2em;
	font-weight: 400;
}


#gform_5 .gform_title {
	display: none;
}

#gform_submit_button_5 {
	color: #fff;
    padding: 0.5em 1.4em 0.5em 1.4em;
    font-weight: 500;
    font-size: 1.19em;
    font-family: 'Spartan',sans-serif;
    line-height: 1.40em;
	background-color: #f7517f;
    border-color: rgba(254,245,248,0.35);
    border-radius: 8px;
	float: right;
}

#gform_submit_button_5:hover {
	cursor: pointer;
}

#gform_5 input[type=text] {
	background-color: #F7F8FE;
    border: none;
    border-radius: 8px;
    padding: 0.5em;
    color: #386BC2;
}

#gform_5 select {
	background-color: #F7F8FE;
    border: none;
    border-radius: 8px;
    padding: 0.5em;
    color: #386BC2;
}

#gform_5 .gfield_label {
	color: #386BC2;
}

#gform_5 .gfield_consent_label {
	font-weight: 400;
}

#gform_5 input[type=text]::-webkit-input-placeholder { 
  color: #386BC2;
}
#gform_5 input[type=text]::-moz-placeholder { 
  color: #386BC2;
}
#gform_5 input[type=text]:-ms-input-placeholder { 
  color: #386BC2;
}
#gform_5 input[type=text]:-moz-placeholder { 
  color: #386BC2;
}

#gform_5 select {     
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
    background-image: linear-gradient(
45deg
, transparent 50%, #386BC2 50%), linear-gradient(
135deg
, #386BC2 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
    background-position: calc(100% - 25px) calc(1em + 2px), calc(100% - 20px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
}

#gform_5 select:focus {
  border-color: white;
  outline: 0;
}

#gform_5 .validation_error {
    color: #fff;
    font-size: 1em;
    font-weight: 700;
    margin-bottom: 25px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    padding: 16px 0 16px 0;
    clear: both;
    width: 100%;
    text-align: center;
}

#gform_5 .gfield_error {
	background-color: rgb(255 255 255);
    margin-bottom: 6px!important;
    padding-bottom: 6px;
    padding-top: 8px;
    box-sizing: border-box;
    padding-left: 8px;
    border-radius: 8px;
}



/* End GF 5 */

/* Header Pop Up Form for Clients - GF6 */
.hftitle {
	font-weight: 700;
    font-size: 1.38em;
    font-family: 'Spartan',sans-serif;
    line-height: 1.58em;
	color: #15184B
}

.hfdesc {
	color: #15184b;
	font-size: 1em;
	line-height: 1.2em;
	font-weight: 400;
}


#gform_6 .gform_title {
	display: none;
}

#gform_submit_button_6 {
	color: #fff;
    padding: 0.5em 1.4em 0.5em 1.4em;
    font-weight: 500;
    font-size: 1.19em;
    font-family: 'Spartan',sans-serif;
    line-height: 1.40em;
	background-color: #f7517f;
    border-color: rgba(254,245,248,0.35);
    border-radius: 8px;
	float: right;
}

#gform_submit_button_6:hover {
	cursor: pointer;
}

#gform_6 input[type=text] {
	background-color: #F7F8FE;
    border: none;
    border-radius: 8px;
    padding: 0.5em;
    color: #386BC2;
}

#gform_6 select {
	background-color: #F7F8FE;
    border: none;
    border-radius: 8px;
    padding: 0.5em;
    color: #386BC2;
}

#gform_6 .gfield_label {
	color: #386BC2;
}

#gform_6 .gfield_consent_label {
	font-weight: 400;
}

#gform_6 input[type=text]::-webkit-input-placeholder { 
  color: #386BC2;
}
#gform_6 input[type=text]::-moz-placeholder { 
  color: #386BC2;
}
#gform_6 input[type=text]:-ms-input-placeholder { 
  color: #386BC2;
}
#gform_6 input[type=text]:-moz-placeholder { 
  color: #386BC2;
}

#gform_6 select {     
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
    background-image: linear-gradient(
45deg
, transparent 50%, #386BC2 50%), linear-gradient(
135deg
, #386BC2 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
    background-position: calc(100% - 25px) calc(1em + 2px), calc(100% - 20px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
}

#gform_6 select:focus {
  border-color: white;
  outline: 0;
}

#gform_6 .validation_error {
    color: #fff;
    font-size: 1em;
    font-weight: 700;
    margin-bottom: 25px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    padding: 16px 0 16px 0;
    clear: both;
    width: 100%;
    text-align: center;
}

#gform_6 .gfield_error {
	background-color: rgb(255 255 255);
    margin-bottom: 6px!important;
    padding-bottom: 6px;
    padding-top: 8px;
    box-sizing: border-box;
    padding-left: 8px;
    border-radius: 8px;
}



/* End GF 6 */

/* Footer Form - GF7 */

#gform_7 input[type=text], #gform_7 select {
    width: 100%;
    background: #2D2F6C;
    border-radius: 8px;
	border: none;
	padding: 9px 18px;
	color: #fff;
	margin-top: 0;
	margin-bottom: 15px;
}

#gform_7 input::placeholder {
	color: #fff;
}

#gform_7 label {
	color: #fff;
}

#gform_7 select {
}

#gform_submit_button_7 {
	background: linear-gradient(to left, #F7517F, #3C4A98);
	border: none;
	color: #fff;
	width: 100%;
	padding: 14px 0 12px 0;
	border-radius: 8px;
	font-family: Spartan, sans-serif;
	font-size: 20px;
	font-weight: bold;
	box-shadow: inset 0 0 0 2px rgba(247, 81, 127, 0.15);
}

#gform_submit_button_7:hover {
	cursor: pointer;
}

.gform_wrapper ul li {
	padding-right: 0 !important;
}

#gform_confirmation_wrapper_7 .gform_confirmation_message {
	color: #fff;
}

/* End GF 7 */