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

/* Museo Sans fonts */
@font-face {
  font-family: "MuseoSans-100";
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src:local("MuseoSans"),local("MuseoSans Light"),
    url("/wp-content/themes/uncode-child/fonts/MuseoSans/MuseoSans-100.woff2") format("woff2"),
    url("/wp-content/themes/uncode-child/fonts/MuseoSans-100.woff") format("woff"),
    url("/wp-content/themes/uncode-child/fonts/MuseoSans-100.otf") format("opentype");
}
@font-face {
  font-family: "MuseoSans-500";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src:local("MuseoSans"),local("MuseoSans Medium"),
    url("/wp-content/themes/uncode-child/fonts/MuseoSans/MuseoSans-500.woff2") format("woff2"),
    url("/wp-content/themes/uncode-child/fonts/MuseoSans-500.woff") format("woff"),
    url("/wp-content/themes/uncode-child/fonts/MuseoSans-500.otf") format("opentype");
}
@font-face {
  font-family: "MuseoSans-700";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src:local("MuseoSans"),local("MuseoSans Higlight"),
    url("/wp-content/themes/uncode-child/fonts/MuseoSans/MuseoSans-700.woff2") format("woff2"),
    url("/wp-content/themes/uncode-child/fonts/MuseoSans-700.woff") format("woff"),
    url("/wp-content/themes/uncode-child/fonts/MuseoSans-700.otf") format("opentype");
}
@font-face {
  font-family: "MuseoSans-900";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src:local("MuseoSans"),local("MuseoSans Bold"),
    url("/wp-content/themes/uncode-child/fonts/MuseoSans/MuseoSans-900.woff2") format("woff2"),
    url("/wp-content/themes/uncode-child/fonts/MuseoSans-900.woff") format("woff"),
    url("/wp-content/themes/uncode-child/fonts/MuseoSans-900.otf") format("opentype");
}
@font-face {
  font-family: "MuseoSans-300-Italic";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src:local("MuseoSans"),local("MuseoSans Italic"),
    url("/wp-content/themes/uncode-child/fonts/MuseoSans/MuseoSans-300Italic.woff2") format("woff2"),
    url("/wp-content/themes/uncode-child/fonts/MuseoSans-300Italic.woff") format("woff"),
    url("/wp-content/themes/uncode-child/fonts/MuseoSans-300Italic.otf") format("opentype");
}

/* typography */
h1, h2, h3, h4, h5, h6, li {line-height:1!important;margin-bottom:9px;}
p strong, li strong {
    font-family: 'MuseoSans-900';
    font-weight: 900;
    color: #333;
}
li, li strong {line-height:1.5!important;margin-bottom:9px;}
.style-light ::marker {color: #096db6;}

/* BASIC TABLES */
table {border:none;}
table th, table td {font-weight:400!important;}
table thead th {color:#fff;background:#096db6;}
table tbody tr:nth-child(even) {background:#f4f4f4;}



/* NAVIGATION */
header#masthead #main-logo {filter:invert(0);transition:1s;}
header#masthead.is_stuck #main-logo {filter:invert(1);transition:1s;}
header#masthead:not(.is_stuck) .menu-container {background: linear-gradient(to bottom, rgba(9, 109, 182, 0.5) 0%, rgba(0, 0, 0, 0) 100%);box-shadow: none;}
header#masthead:not(.is_stuck) .menu-primary-inner > .menu-item > a {color:#fff!important;text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.25);}
header#masthead:not(.is_stuck) .navbar-extra-icons a i.fa:before {color:#fff!important;text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.25);}

header#masthead:not(.is_stuck) span.lines:before, header#masthead:not(.is_stuck) span.lines:after, header#masthead:not(.is_stuck) span.lines {
    background: #fff !important;
}

.top-menu.top-menu-padding .menu-bloginfo, .top-menu.top-menu-padding .menu-smart > li > a {padding-top: 9px;padding-bottom: 9px;}
.top-menu.menu-dark {color: #333 !important;}
.top-menu.menu-dark a {color: #333 !important;}
.top-menu.menu-dark a:hover {color: #096db6 !important;}


/* BUTTON STYLES */

.style-dark .btn.btn-accent, input.btn-inset, .tmb-light .t-entry-text .btn-default {
    background-color: #fff !important;
    border-color: #fff !important;
    color: #096db6 !important;
}
.style-dark .btn.btn-accent:not(.btn-outline):hover, input.btn-inset:hover, .tmb-light .t-entry-text .btn-default:hover
.style-dark .btn.btn-accent:not(.btn-outline):active, input.btn-inset:active, .tmb-light .t-entry-text .btn-default:active {
    background-color: #f4f4f4 !important;
    border-color: #f4f4f4 !important;
    color: #096db6 !important;
}
.style-light .btn.btn-accent, .style-light .tmb-light .t-entry-text .btn-default {
    background-color: #096db6 !important;
    color: #fff !important;
}
.style-light .btn.btn-accent:not(.btn-outline):hover, .style-light .tmb-light .t-entry-text .btn-default:hover {
	color:#fff!important;
	background-color: #0060a9 !important;
    border-color: #0060a9 !important;
}

.btn.btn-accent {
    border-color: #096db6 !important;
    border: 1px solid #0c66a9 !important;
    border-top-color: #2379b7 !important;
    border-left-color: #2379b7 !important;
}

span.btn-container.btn-inline {
    margin: 9px 9px 0px 0px !important;
    padding: 0px !important;
}

/* FORM STYLES */
.wpcf7-form input:not(.btn), .wpcf7-form textarea, .wpcf7-form select, 
.wpcf7-form .seldiv, .wpcf7-form .wpcf7-form .wpcf7-form .select2-choice, .wpcf7-form .select2-selection--single {
	border-radius:8px!important;border-color:#ccc!important;margin-top:9px;
}
.wpcf7-form input:not(.btn):hover, .wpcf7-form textarea:hover, 
.wpcf7-form select:hover, .wpcf7-form .seldiv:hover, .wpcf7-form .select2-choice:hover, .wpcf7-form .select2-selection--single:hover {
	border-color:#0060a9!important;
}
.wpcf7-form p>label {font-family:'MuseoSans-500';font-weight:100;}



/* FLIP-BOOK HTML EMBEDS (IFRAME) */
iframe.flipBook {
	width:100%;
	height:auto;
	min-height:600px;
	border:none;
	aspect-ratio:16/9;
}


/* YOUTUBE HTML EMBEDS (IFRAME) */
iframe[src*="youtube.com/embed/"],
iframe[src*="youtube-nocookie.com/embed/"] {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
}

/* FRONT PAGE HEADER */
.textShadow .heading-text, .textShadow .uncode_text_column, .textShadow .t-overlay-text .t-entry {
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.25), 1px 1px 3px rgba(0,0,0,0.33);
}

.textShadow .btn.btn-accent {text-shadow:none!important;}

.uncode-single-media.maxHeightImg.text-center img {
    height: auto;
    max-height: 66vh;
    object-fit: contain;
}
.style-accent-bg.badge-style, .style-accent-bg.tmb-term-evidence {
    color: #fff !important;
    text-shadow: none !important;
    line-height: 1 !important;
    font-weight: 300 !important;
    padding: 5px 6px !important;
    font-size: 14px !important;
    border-radius: 4px !important;
}


/* CSS GRID SQUARE IMAGES */
.square-images .tmb img {aspect-ratio:1/1;object-fit:contain;}
.square-images .tmb .dummy {padding-top:100% !important;}
.square-images .tmb p.t-entry-readmore {text-align:right;}



/* POSTS GALLERY STYLES */
.tmb-content-overlay .t-entry-excerpt.text-small > p {line-height: 1.2;}
.tmb-content-overlay .t-entry-title {margin-bottom: 9px !important;}

.tmb-overlay-gradient-bottom .style-color-xsdn-bg:not(.tmb-term-evidence) {
    background-image: linear-gradient(to top, #ffffff 0%, rgba(255, 255, 255, 1) 50%) !important;
}
.aspect_4-3 .t-entry-visual-overlay {aspect-ratio:4/3;}
.aspect_16-9 .t-entry-visual-overlay {aspect-ratio:16/9;}
.aspect_1-1 .t-entry-visual-overlay {aspect-ratio:1/1;}

/* background images grayscale */
.grayscaleBG .row-background .background-wrapper .background-inner, 
.grayscaleBG .column-background .background-wrapper .background-inner {
    filter: grayscale(1);
}
/* background images grayscale+blurred */
.grayscaleBG.blurredBG .row-background .background-wrapper .background-inner, 
.grayscaleBG.blurredBG .column-background .background-wrapper .background-inner {
    filter: grayscale(1) blur(5px);
}

/* video poster overlay */
.no-block-padding.unradius-std {
    overflow: hidden;
}
.colorOverlay .tmb:after {
    content: '';
    width: 100%;
    height: 100%;
    background: rgb(9, 109, 182, 0.8);
    display: block;
    position: absolute;
    top: 0px;
    z-index: 1;
}

/* form inputs */
body:not(.input-underline):not(.rtl) .wpcf7-inset-btn input.btn.btn-default.btn-flat {
    border-top-right-radius: 100px !important;
    border-bottom-right-radius: 100px !important;
    border-top-left-radius: 100px !important;
    border-bottom-left-radius: 100px !important;
}
body:not(.input-underline):not(.rtl) .wpcf7-inset-btn div:is(.wpcf7-inline-field-btn) input.btn-inset.btn.btn-default.btn-flat {
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
    border-top-left-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
}
.wpcf7-form input:not(.btn).inset-input {border-radius:100px!important;border-color:#fff!important;}

.style-dark p a:hover {
    color: #f4f4f4 !important;
    text-decoration: underline;
}

.wpcf7-form input[type=checkbox], .wpcf7-form input[type=radio] {font-size:2em;width:32px;height:32px;margin-top:0px!important;}
.wpcf7-form input[type=checkbox]:checked:before, .wpcf7-form input[type=radio]:checked:before {font-size:22px;color:#096db6!important;}

.wpcf7-form input.wpcf7-not-valid {border-color:orangered!important;}
.wpcf7-form span.wpcf7-not-valid-tip {color:orangered!important;margin-top:0px!important;}

.style-dark a:not(.btn-text-skin):hover {color:#f4f4f4!important;}

/* SMART FILTERS */
.isotope-filters .menu-horizontal {
    margin-bottom: 18px;
}
.isotope-filters .menu-horizontal li {
    margin: 0px 4px 8px 0px !important;
}
.isotope-filters .menu-horizontal li span {
    padding: 0px !important;
}
.isotope-filters .menu-horizontal li a {
    background: #fff;
	border:1px solid #096db6;
    padding: 7px 12px;
    border-radius: 100px;
    color: #096db6 !important;
	display: block;
}
.isotope-filters .menu-horizontal li a.active {
    background: #096db6;
    color: #fff !important;
}
.isotope-filters .menu-horizontal li a:hover, .isotope-filters .menu-horizontal li a:active {
    background:#0060a9!important;
	border:1px solid #0060a9!important;
    color:#fff!important;
}

/* logo gallery */
.logoGallery a {display: block;position: relative;}
.logoGallery .dummy {padding-top: 0px !important;aspect-ratio: 16/9;}
.logoGallery img {height:100%;max-height:175px;object-fit: contain;position: absolute !important;top: 50%;transform: translateY(-50%) scale(0.8) !important;transition:0.2s;}
.logoGallery a:hover img {transform: translateY(-50%) scale(0.9) !important;}


/* ARTICLE POSTS */
ol.breadcrumb li.current {display:none;}
ol.breadcrumb a {color:#fff!important;}
ol.breadcrumb a:hover {text-decoration:underline;}

.breadcrumb .breadcrumb_last {display:none!important;}
.breadcrumb a:hover, .breadcrumb a:active {color:#fff!important;text-decoration:underline!important;}
.breadcrumb.textShadow {text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25), 1px 1px 3px rgba(0, 0, 0, 0.33);}

.uncode_text_column h3 {font-size: 24px;}

.widget ul li {margin-bottom:9px!important;}

/* embeded images on within text */
.uncode_text_column figure img, .uncode_text_column > p > img {margin-top:18px;border-radius:8px;}
.uncode_text_column figure figcaption.wp-caption-text {font-style: italic;}

/* add arrows for text buttons */
.t-entry-readmore a.btn-link {font-size: 14px;}
.t-entry-readmore a.btn-link:after {
	content: "\f105";
	padding-left:9px;
	font-family: 'uncodeicon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
	transition:0.2s;
}
.t-entry-readmore a.btn-link:hover:after {
	padding-left:12px;
}

/* accent color overrides */
.tmb .t-entry-category a.style-accent-bg,
.tmb .t-entry-category a.style-accent-bg:hover {
    color: #fff !important;
}

/* MEGAMENU ContentBlocks */
/*
.megamenu-block-wrapper .backdropFilter {backdrop-filter: blur(5px);background: rgba(255, 255, 255, 0.8);}
*/


.article-author {display: flex;align-items: center;gap: 24px;}
.article-author__image {flex: 0 0 120px;}
.article-author__photo {display: block;width: 120px;height: 120px;object-fit: cover;border-radius: 50%;}
.article-author__content {display: flex;flex-direction: column;gap: 4px;}
.article-author__name {font-weight: 700;font-size: 1.25em;margin-top:0px;}

@media (max-width: 569px) {
	.article-author {align-items: flex-start;gap: 16px;}
	.article-author__image, .article-author__photo {width: 80px;height: 80px;flex-basis: 80px;}
}


@media (min-width: 960px) {
}

@media (max-width: 1499px) {
	
}

@media (max-width: 768px) {
	header#masthead:not(.is_stuck) #menu-main-menu > .menu-item > a {
		color: #333 !important;
		text-shadow: none;
	}
}

@media (max-width: 569px) {
	/* global paddings and margins */
	.main-container .row-container .single-h-padding, .block-wrapper-parent .row-container .single-h-padding, .has-unblock .row-container .single-h-padding {padding-left: 18px;padding-right: 18px;}
	
	/* megamenu styles */
	.megamenu-block-wrapper .uncell.single-block-padding {padding: 9px !important;border-radius: 9px !important;}
	.megamenu-block-wrapper .uncell.single-block-padding .heading-text > h2.h3 {font-size: 25px;}
	.megamenu-block-wrapper .uncell.single-block-padding .t-entry-excerpt > p {font-size: 15px;line-height: 1.6 !important;margin-top: 9px !important;}
	header#masthead:not(.is_stuck) .menu-primary-inner > .menu-item > a {color:#141618!important;text-shadow:none!important;}
	
	/* header styles */
	.row-header .wpb_column.column_child.col-lg-3 {margin-bottom:-25%;}
	.row-header .wpb_column.column_child.col-lg-9 {z-index: 1;padding: 18px;}
	.fontsize-606131-custom {font-size: clamp(40px, 5vw, 75px);}
	
	/* misc styles */
	.btn-lg {font-size: 14px !important;padding: 22px 52px !important;}
	.uncode_text_column figure, .uncode_text_column figure > * {display:block;width:100%!important;margin-bottom:9px;}
	
}