/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

/* Hero text shadow */
.hero-shadow {
    -webkit-text-shadow: 0px 4px 16px rgba(0, 0, 0, 0.5);
    text-shadow: 0px 4px 16px rgba(0, 0, 0, 0.5);
}

/* Theme box padding */
.theme-box-padding {
    padding: 24px;
}
@media (min-width: 768px) {
    .theme-box-padding {
        padding: 32px;
    }
}
@media (min-width: 992px) {
    .theme-box-padding {
        padding: 44px;
    }
}
/* Section transform top */
.box-translate-top {
    -webkit-transform: translateY(-75px);
    -ms-transform: translateY(-75px);
    transform: translateY(-75px);
}

/* Text Large margin*/
.text-lead,
.text-lead:not(ul):not(ol) > *,
.text-lead > *:not(ul):not(ol):not(li) {
  margin: 24px 0px 0px 0px;
}


/* Text Large font size 18px from 992px only */
.text-lead, .text-lead > *, .nav-tabs .tab-excerpt.text-lead { font-size: 16px; }
.module-text-lead,.module-text-lead > *,.module-text-lead p,.module-text-lead li,.module-text-lead dt,.module-text-lead dd,.module-text-lead dl,.module-text-lead address,.module-text-lead label,.module-text-lead small,.uncode-wc-module.text-lead pre,.module-text-lead code { font-size: 16px; }
@media (min-width: 992px) {
	.text-lead, .text-lead > *, .nav-tabs .tab-excerpt.text-lead { font-size: 18px; }
	.module-text-lead,.module-text-lead > *,.module-text-lead p,.module-text-lead li,.module-text-lead dt,.module-text-lead dd,.module-text-lead dl,.module-text-lead address,.module-text-lead label,.module-text-lead small,.uncode-wc-module.text-lead pre,.module-text-lead code { font-size: 18px; }
}

/* Color card */
.hover-color-card .block-bg-overlay {
    opacity: 0 !important;
}

.hover-color-card .color-card:hover .block-bg-overlay {
    opacity: 1 !important;
}
.color-card .wpb_row.row-inner {
	min-height: 200px;
}
@media (min-width: 992px) {
	.color-card .wpb_row.row-inner {
		min-height: 400px;
	}
}

/* Fix container padding */
.mobile-menu-button {
    padding: 0 18px;
}

.main-container .row-container .single-h-padding {
    padding-left: 18px;
    padding-right: 18px;
}
@media (min-width: 960px) {
    .menu-wrapper .row-menu.limit-width .row-menu-inner {
        padding-left: 18px;
        padding-right: 18px;
    }
}
@media (max-width: 959px) {
    .menu-container .logo-container {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
}

.contact-person-content-grid .uncont {
    display: grid;
    grid-template-columns: 1fr;
}
@media (min-width: 960px) {
     .contact-person-content-grid .uncont {
        grid-template-columns: 1fr 1fr;
    }   
    .contact-person-content-grid .uncont .vc_custom_heading_wrap {
        grid-column: 1 / span 2;
    }
}

@media (max-width: 959px) {
    .color-card .wpb_row.row-inner {
        display: flex;
        align-items: flex-end;
    }
}