/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Lead Gear
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.02744
Text Domain: uncode
*/
#main-logo .navbar-brand img {
  max-height:40px!important;
  display: block;
  margin: auto;
}
.logo-container .logo-image img{
	width:187px!important;
	max-width:calc(100vw - 94px);
}
#menu-item-263 a{
	color:rgba(255,255,255,1)!important;
}
#menu-item-263 a:hover{
	color:rgba(255,255,255,0.5)!important;
}
#intro-content p{
	font-size:15px;
}
.center-heading .heading-text{
    text-align:center;
}
.center-heading .row{
	padding-bottom:0!important;
}
.center-heading .quad-top-padding{
	padding-top:0!important;
}
.sub-page-text-block{
	text-align:center;
	/*padding:0 50px 40px 50px;*/
	padding: 0 40px 20px 40px;
    position:relative;
    z-index:99;
    color:#777777;
}
.sub-page-text-block h3 a{
    color:#7a0000;
}
.sub-page-cards-row .uncol{
	background:#fff;
	box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px;
}
.sub-page-cards-row .empty-col .uncol{
	background:none!important;
	box-shadow:none!important;
}
.sub-page-cards-row img:hover{
	opacity:0.7;
	transition:all 300ms;
}
.header-bg-wrapper:after,
.box-container:after{
	content:'';
	position:absolute;
	top:0;
	width:100%;
	height:150px;
	max-height:100%;
	background:linear-gradient(to bottom,rgba(0,0,0,.8) 0%,rgba(0,0,0,0.5) 50%,rgba(0,0,0,0) 100%);
}
#markets-row svg{
	height:40px;
	display:block;
	margin:0 auto;
}
#markets-row svg path{
	fill:#790100;
}
#markets-row h3{
	font-size:1.25em;
}
#markets-row .vc_custom_heading_wrap{
	margin-top:20px;
}
#markets-row p{
	text-align:center;
	margin-bottom:50px;
}
#markets-row .btn-container{
	text-align:center;
}
#markets-row .missing-last-column .wpb_row{
	display:flex;
	justify-content:center;
}
#markets-row .missing-last-column{
	min-height:82.5px;
	margin-bottom:60px;
}
#markets-row .missing-last-column .wpb_column:last-child{
	display:none;
}
#capabilities-crosslink .missing-last-column .wpb_row{
	display:flex;
	justify-content:center;
	min-height:208px;
}
#capabilities-crosslink .missing-last-column .wpb_column:last-child{
	display:none;
}
#capabilities-crosslink img:hover{
	opacity:0.7;
	transition:all 300ms;
}
#capabilities-crosslink h3,
#capabilities-crosslink h3 a{
	font-size: 17px;
	color:#fff;
	line-height:1.5;
	text-align:center;
}
#capabilities-crosslink h3 a:hover{
	color:#ffd203;
}
#capabilities-crosslink .uncode_text_column{
	padding:0;
	margin-top:16px;
}
#capabilities-crosslink em{
	color: #fff;
	font-size: 15px;
}
.drop-menu a{
	font-weight:bold;
}
.style-dark .btn-color-155871:not(.btn-flat):not(.btn-hover-nobg):not(.icon-animated):not(.btn-text-skin):hover, 
.style-dark .btn-color-155871:not(.btn-flat):not(.btn-hover-nobg):not(.icon-animated):not(.btn-text-skin):focus, 
.style-dark .btn-color-155871:not(.btn-flat):not(.btn-hover-nobg):not(.icon-animated):not(.btn-text-skin):active,
.style-dark .btn-color-883939:not(.btn-flat):not(.btn-hover-nobg):not(.icon-animated):not(.btn-text-skin):hover, 
.style-dark .btn-color-883939:not(.btn-flat):not(.btn-hover-nobg):not(.icon-animated):not(.btn-text-skin):focus, 
.style-dark .btn-color-883939:not(.btn-flat):not(.btn-hover-nobg):not(.icon-animated):not(.btn-text-skin):active{
color:#fff!important;
}
#markets-row .btn-color-155871:not(.btn-flat):not(.btn-hover-nobg):not(.icon-animated):not(.btn-text-skin):hover, 
#markets-row .btn-color-155871:not(.btn-flat):not(.btn-hover-nobg):not(.icon-animated):not(.btn-text-skin):focus, 
#markets-row .btn-color-155871:not(.btn-flat):not(.btn-hover-nobg):not(.icon-animated):not(.btn-text-skin):active,
.sub-page-cards-row .btn-color-155871:not(.btn-flat):not(.btn-hover-nobg):not(.icon-animated):not(.btn-text-skin):hover,
.sub-page-cards-row .btn-color-155871:not(.btn-flat):not(.btn-hover-nobg):not(.icon-animated):not(.btn-text-skin):focus, 
.sub-page-cards-row .btn-color-155871:not(.btn-flat):not(.btn-hover-nobg):not(.icon-animated):not(.btn-text-skin):active{
color:#7a0000!important;
}
#home-hero-text p{
font-size:50px;
font-weight:bold;
line-height:1.5;
}
#home-hero-text p span{
display:block;
color:#b41717;
font-size:20px;
text-transform:uppercase;
}
.btn-color-155871, a.btn {
    background-color: #2d36f1 !important;
    border-color: #2d36f1 !important;
}
.btn-color-155871:not(.btn-flat):not(.btn-hover-nobg):not(.icon-animated):not(.btn-text-skin):hover, .btn-color-149912:not(.btn-flat):not(.btn-hover-nobg):not(.icon-animated):not(.btn-text-skin):focus, .btn-color-149912:not(.btn-flat):not(.btn-hover-nobg):not(.icon-animated):not(.btn-text-skin):active {
    background: none !important;
    border-color: #2d36f1 !important;
}
#markets-row .btn-color-155871:not(.btn-flat):not(.btn-hover-nobg):not(.icon-animated):not(.btn-text-skin):hover, #markets-row .btn-color-155871:not(.btn-flat):not(.btn-hover-nobg):not(.icon-animated):not(.btn-text-skin):focus, #markets-row .btn-color-155871:not(.btn-flat):not(.btn-hover-nobg):not(.icon-animated):not(.btn-text-skin):active, .sub-page-cards-row .btn-color-155871:not(.btn-flat):not(.btn-hover-nobg):not(.icon-animated):not(.btn-text-skin):hover, .sub-page-cards-row .btn-color-155871:not(.btn-flat):not(.btn-hover-nobg):not(.icon-animated):not(.btn-text-skin):focus, .sub-page-cards-row .btn-color-155871:not(.btn-flat):not(.btn-hover-nobg):not(.icon-animated):not(.btn-text-skin):active, .btn-color-155871:not(.btn-flat):not(.btn-hover-nobg):not(.icon-animated):not(.btn-text-skin):hover, .btn-color-155871:not(.btn-flat):not(.btn-hover-nobg):not(.icon-animated):not(.btn-text-skin):focus, .btn-color-155871:not(.btn-flat):not(.btn-hover-nobg):not(.icon-animated):not(.btn-text-skin):active {
	color: #2d36f1 !important;
}
header.is_stuck > div{
background:#101010!important;
}
.careers-intro h1, 
.careers-intro a{
color:#7a0000!important;
}
.careers-intro a:hover{
opacity:0.8;
}
footer{
	background: #101010!important;
}
footer > div:first-child{
	display:none!important;
}
footer > div{
    background:none!important;
}
@media only screen and (max-width:1180px) and (min-width:960px){
	#menu-primary > li > a{
	font-size:13px;
	}
}
@media only screen and (max-width:1080px) and (min-width:960px){
	#menu-primary > li > a{
	font-size:12px;
	}
	.uncode-loaded #main-logo .navbar-brand img {
    width: 140px!important;
	height:30px!important;
    max-width: 50vw!important;
	}
	#logo-container-mobile{
	padding-right:10px;
	min-width:140px;
	}
}
@media only screen and (max-width:1020px) and (min-width:960px){
	#menu-primary > li > a{
	font-size:11px;
	}
}
@media only screen and (max-width:959px){
	#markets-row .missing-last-column .wpb_row,
	#capabilities-crosslink .missing-last-column .wpb_row{
	display:block!important;
	}
	#capabilities-crosslink .missing-last-column .wpb_row .wpb_column{
	margin-bottom:30px;
	}
    #capabilities-crosslink .missing-last-column .wpb_row .wpb_column:last-child{
	margin-bottom:0;
	}
	#capabilities-crosslink .vc_row:last-child .row-inner{
	display:flex;
	flex-wrap:wrap;
	align-items:flex-start;
	gap:30px;
	}
	#capabilities-crosslink .vc_row:last-child .row-inner .column_child{
	flex-basis:calc(33.33% - 20px);
	padding-top:0;
	}
}
@media only screen and (max-width:500px){
	#capabilities-crosslink .vc_row:last-child .row-inner .column_child{
	flex-basis: 100%;
	padding-top:0;
	}
}
 .phone-buttons {
	 background:#b82026;
	 display:none;
     width: 100%;
     position: fixed;
     bottom: 0;
     z-index:50;
}
 .phone-buttons > div {
     flex-grow: 1;
     text-align: center;
     background: var(--darkdefault);
     border-right: solid 1px rgba(255,255,255,0.2);
}
 .phone-buttons > div svg {
     width: 25px;
     height: 25px;
     fill: #fff;
}
 .phone-buttons > div a {
     display: flex;
     padding: 10px;
     align-items: center;
     justify-content: center;
}
 .phone-buttons > div:last-child {
     border: 0;
}
@media only screen and (max-width:600px){
	.phone-buttons{
     display: flex;
	}
}
.resource-wrap {
    display:flex;
    gap:30px;
    flex-wrap:wrap;
    justify-content:center;
}

.resource-wrap .resource {
    flex-basis:calc( 33.33% - 20px);
}

.resource-wrap .resource *{
    transition:all 300ms;
}

.resource-wrap .resource img {
    width:100%;
    height:auto;
    border:1px solid #ddd;
    margin-bottom:10px;
}

.resource-wrap .resource span.capability {
    font-weight:bold;
    font-size:12px;
}

.resource-wrap .resource p.title {
    margin-top:4px;
    font-size:24px;
    color:#b41717;
    font-weight:600;
    line-height:1.25;
}

.resource-wrap .resource a:hover img,
.resource-wrap .resource a:hover span.capability{
    opacity:0.7;
}

.resource-wrap .resource a:hover p.title{
    color:#ffd203;
}

@media only screen and (max-width:960px){
    .resource-wrap .resource {
    flex-basis:calc(50% - 15px);
    }
}

@media only screen and (max-width:500px){
    .resource-wrap .resource {
    flex-basis:100%;
    }
}

.single-case-study .box-container{
    width:100%!important;
    margin-left:0!important;
}
.single-case-study  .main-container .row.single-case-study .row-inner h2{
    color:#555;
}
.single-case-study .main-container .row.single-case-study{
    padding:80px;
}
.single-case-study .main-container .row.single-case-study .row-inner{
    margin:0 auto!important;
    width:100%;
    min-width:inherit;
    max-width:1128px;
}
.single-case-study h1{
    margin-bottom:30px;
}
.single-case-study .featured-case-study-image{
    float:right;
    width:500px;
    margin-left:40px;
    margin-bottom:40px;
}
.single-case-study .featured-case-study-image img,
#case-study-gallery img
{
    border:1px solid #ddd;
    transition:all 300ms;
}
.single-case-study .featured-case-study-image img:hover,
#case-study-gallery img:hover
{
    opacity:0.7;
}
#case-study-gallery{
    display:flex;
    flex-wrap:wrap;
    gap:30px;
}
#case-study-gallery li{
    flex-basis:calc(33.33% - 20px);
    margin:0!important;
}
#case-study-gallery li a{
    margin:0;
    width:100%;
}
#case-study-gallery li img{
    display:block;
    width:100%;
}
#capabilities-post-crosslinks .row-inner{
    display:flex!important;
    flex-wrap:wrap!important;
    height:auto!important;
    justify-content:center;
	margin:0!important;
}
#capabilities-post-crosslinks .row-inner .wpb_column{
    height:auto!important;
    padding:0;
}
@media only screen and (max-width:960px){
	.single-case-study .main-container .row.single-case-study{
	padding: 36px;
	}
    .single-case-study .featured-case-study-image{
    float:none;
    margin-left:0;
    width:100%;
    }
    #case-study-gallery li{
    flex-basis:calc(50% - 15px);
    }
}
@media only screen and (max-width:500px){
    #case-study-gallery li{
    flex-basis:100%;
    }
}

/* Modal Form */
div#modal-form {
    width: 400px;
    position: fixed;
    right: -420px; /* Initially hidden */
    opacity: 0;
    bottom: 0;
    z-index: 9999;
    background: #777777;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 24px;
    padding: 40px;
    transition: right 0.5s ease-in-out, opacity 0.5s ease-in-out;
    max-height: 100vh;
    overflow-y: auto;
    color: #fff;
    border-radius: 10px 0 0 10px;
}

/* Open state */
div#modal-form.open {
    right: 0;
    opacity: 1;
}

/* Close button */
div#modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    color: #bb2026;
    cursor: pointer;
    transition: opacity 300ms;
}

div#modal-close:hover {
    opacity: 0.6;
}

/* Modal Title */
div#modal-form h2 {
    font-size: 28px;
    color: #bb2026;
    margin-bottom: 8px;
    text-align: center;
}

/* Gravity Form Adjustments */
div#modal-form .gform_footer {
    padding-bottom: 0;
}

div#modal-form .gform_validation_errors h2 {
    color: #222;
    font-size: 14px !important;
    font-family: 'termina', sans-serif !important;
    font-weight: bold;
    margin: 0;
    line-height: 1.265;
}

div#modal-form .validation_message {
    display: none;
}

div#modal-form .gform_confirmation_message {
    color: #fff;
    font-family: 'termina', sans-serif;
    font-weight: bold;
}

/* Modal Open Button */
div#modal-form-button {
    position: fixed;
    bottom: 5%;
    right: 0;
    padding: 15px 32px;
    background: #bb2026;
    z-index: 999;
    cursor: pointer;
    color: #fff;
	font-family: Montserrat, Montserrat;
	font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 8px 0 0 8px;
    transition: background 0.3s;
}

div#modal-form-button:hover {
    /*background: rgb(45, 54, 241, 0.8);*/
	background: none;
	border: 1px solid #790100;
	color: #790100;
}

/* Hide on small screens */
@media only screen and (max-width: 500px) {
    div#modal-form, div#modal-form-button {
        display: none !important;
    }
}

/*Connect With Us Pop Up Form*/
#gform_fields_1{
	row-gap: 20px !important;
}

#gform_submit_button_1{
	background: #bb2026;
	padding: 20px;
	border-radius: 10px;'
	display: block;
	margin: auto;
}

h1.custom_h1 span {
    color: #ffd203 !important;
}

@media(min-width: 960px) {
	#home-slider > .owl-carousel {
		height: calc(100vh - 55px)
	}	
}
/* Search Results Styling */
body.search .row.row-parent.style-dark.limit-width.double-top-padding.double-bottom-padding {
    padding: 54px 36px !important;
}

body.search .pagination .page-next a, body.search .pagination .page-prev a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

body.search .pagination .page-next a i, body.search .pagination .page-prev a i {
    margin-left: 0;
    margin-right: 0;
}

body.search .pagination .page-next a i::before, body.search .pagination .page-prev a i::before {
    vertical-align: top;
}

header#masthead .logo-image picture {
	height: 100%;
}