/*
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
*/

/* -----------------------------------------------------
	Custom class
----------------------------------------------------- */

/* Give Box the option to change color when hovering */
.hoverbg .block-bg-overlay {
	right: calc(20px - 100%);
    top: calc(20px - 100%);
    transition: top .25s ease-in-out, right .25s ease-in-out;
}

.hoverbg .uncol:hover .block-bg-overlay {
	right: 0;
	top: 0;
}
.hoverbg .uncol.style-light .icon-box .icon-box-icon span i,
.hoverbg .uncol.style-light .icon-box .icon-box-heading > *,
.hoverbg .uncol.style-light .icon-box p {transition: color .25s ease-in-out}
.hoverbg .uncol.style-light:hover .icon-box * {color: #fff;}

.fullborder .t-entry-visual {overflow: visible;}
.fullborder .uncode-single-media-wrapper:after {
	content: '';
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	right: -10px;
	bottom: -10px;
	border: 1px solid;
	border-color: #ff4610;
	z-index: 1;
	transition: bottom .15s ease-in, right .15s ease-in;
}

.fullborder:hover .uncode-single-media-wrapper:after {
	right: 10px;
	bottom: 10px;
}

.portfolio-text-on-image .t-overlay-text.single-block-padding {
	background: #fff;
	padding-right: 36px !important;	
	margin-left: 36px;
	margin-bottom: 36px;
}

.overlay-bg .block-bg-overlay {
	width: calc(100% - 6px);
	height: calc(100% - 6px);
	top: 3px;
	left: 3px;
	opacity: 0 !important;
	transition: opacity ease-in-out .25s;
}

.overlay-bg:hover .block-bg-overlay {opacity: 1 !important;}

.overlay-bg * { color: #fff;}
.overlay-bg:hover * { color: inherit;}

.overlay-bg .style-light .btn-text-skin.btn-outline { color: #fff !important;}
.overlay-bg:hover .style-light .btn-text-skin.btn-outline { color: inherit !important;}


a.hover-white:hover {color: #fff !important;}


.footer-socialicon {padding-left: 0 !important; margin-left: -5px;}
.footer-socialicon.icon-box-left .fa-1x {font-size: 25px; line-height: 1.2em;}


/* -----------------------------------------------------
	Uncode default changes
----------------------------------------------------- */
.no-space {margin-top: 0;}
.vc_custom_heading_wrap + .vc_custom_heading_wrap.no-space {margin-top: 0px !important;}
.vc_custom_heading_wrap + .vc_custom_heading_wrap {margin-top: 20px !important;}

.icon-box.icon-box-left.icon-box-space-reduced .icon-box-content p {
	margin-top: 0;
}

.style-dark .ui-link-text, .style-light .style-dark .ui-link-text, .style-dark .breadcrumb > li a, .style-light .style-dark .breadcrumb > li a, .style-dark .post-info a, .style-light .style-dark .post-info a {
	color: rgba(255,255,255,.9);
}

.style-dark .ui-text, .style-light .style-dark .ui-text, .style-dark .breadcrumb, .style-light .style-dark .breadcrumb, .style-dark .post-info, .style-light .style-dark .post-info {
	color: rgba(255,255,255,1);
}


/* -------------------------------- */
/* ----- Contact Form ERROR ------- */
/* -------------------------------- */
.wpcf7 .wpcf7-mail-sent-ok, .wpcf7 .wpcf7-validation-errors, .wpcf7 span.wpcf7-not-valid-tip {
	padding: .75rem 1.25rem;
	border: 1px solid transparent;
	border-radius: .25rem;
	font-size: 16px;
}
.wpcf7 span.wpcf7-not-valid-tip {
	color: #004085 !important;
    background-color: #cce5ff;
    border-color: #b8daff;
}

.wpcf7-validation-errors {
	color: #721c24 !important;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.wpcf7 .wpcf7-mail-sent-ok, .wpcf7 form.sent .wpcf7-response-output {
	color: #155724 !important;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
	color: #856404 !important;
    background-color: #fff3cd;
    border-color: #ffeeba;
}


input, textarea, select, .seldiv, .select2-choice, .select2-selection--single {
	padding: 20px 25px;
}

input[type="submit"], input[type="reset"], input[type="button"], button[type="submit"],
.wpcf7-acceptance .wpcf7-list-item-label {
	font-size: 16px;
}


/* -------------------------------- */
/* ----- uForm Changes ------- */
/* -------------------------------- */

.quform .quform-field-captcha, .quform .quform-field-date, .quform .quform-field-email, .quform .quform-field-file, .quform .quform-field-multiselect, .quform .quform-field-password, .quform .quform-field-select, .quform .quform-field-text, .quform .quform-field-textarea, .quform .quform-field-time, .quform .select2-container--quform .select2-selection {
	padding: 15px 20px;
}

.quform-1 .quform-button-submit button, .quform-1 .quform-element-submit.quform-button-style-theme .quform-button-submit button {
	border-width: 1px; border-style: solid;
}

.button-center {margin: auto;}
.button-center .quform-button-submit-default {float: none;}



