/*
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
*/


/* --- Menu Alterations --- */ 

/* Remove LinkedIn */

#menu-item-23 > a {
  display: flex;
  align-items: center;
}

#menu-item-23 > a > i {
  margin-right: 5px; /* optional: keeps spacing for the icon */
}

#menu-item-23 > a {
  font-size: 0; /* hides the text */
}

#menu-item-23 > a i {
  font-size: 32px; /* resets font-size for icons */
}

/* Contact Button Styling */

.menu-item-58.menu-btn-container.btn {
    padding: 12px 16px !important;
    background-color: #00c6bc;
    color: #FFFFFF;
    transition: all 0.5s ease-in-out;
}

.menu-item-58.menu-btn-container.btn:hover {
    background-color: #ffb300;
}



/* -- Home Header Styles -- */

.tbp-home-header-1 {
    color: #ffd7d8;
    font-weight: 600;
    font-size: 64px;
    display: block;
}

.tbp-home-header-2 {
    color: #ffffff;
    font-weight: 100;
    font-size: 64px;
    display: block;
}

.tbp-home-header-3 {
    color: #ffb300;
    font-weight: 600;
    font-size: 64px;
    display: block;
}


/* -- Footer Form Styling --*/

#gform_1 input[type=text] {
    border: 0px;
    border-radius: 0px;
    box-shadow: none !important;
    padding: 34px 14px !important;
}

#gform_1 textarea {
    border: 0px;
    border-radius: 0px;
    box-shadow: none !important;
    padding: 18px 14px !important;
}

div#gform_fields_1 {
    row-gap: 20px;
}

#gform_1 input[type=checkbox] {
    border: 0px;
    border-radius: 0px;
    box-shadow: none !important;
}

#gform_1 input[type="submit"] {
    background-color: #00c6bc;
    color: #FFFFFF;
    border-radius: 0px;
    box-shadow: none !important;\
    padding: 12px 32px;
}

div#field_submit {
    align-items: baseline !important;
    justify-content: flex-end;
}

.tbp-footer-form-title,
.tbp-footer-form-phone {
    margin-top: 10px !important;
}

.tbp-footer-linkedin i {
    color: #0f3d4a;
}

.tbp-footer-linkedin p:nth-child(2) {
    margin-top: -8px;
    color: #95A1BB;
    font-weight: 700;
    font-size: 14px;
}

.tbp-footer-linkedin p:nth-child(3) {
    margin-top: 8px;
    color: #95A1BB;
    font-size: 14px;
}

.tbp-footer-divider-first {
    margin: 70px 0px 20px 0px !important;
}

.tbp-footer-divider-second {
    margin: 20px 0px 20px 0px !important;
}

#menu-footer-nav {
    padding-left: 0px;
}

.menu-item-168 a {
    padding-left: 0px !important;
}

@media (max-width: 768px) {
    #menu-footer-nav li a {
        padding-left: 0px !important;
    }

}

#menu-footer-nav li a {
    font-weight: 700;
}

#menu-policies-nav {
    padding-right: 0px;
}

.menu-item-171 a {
    padding-right: 0px !important;
}

@media (max-width: 768px) {
    #menu-policies-nav li a {
        padding-left: 0px !important;
    }

}

#menu-policies-nav li a {
    font-size: 12px !important;
}

#tbp-bottom-footer i.fa.fa-social-linkedin,
#tbp-bottom-footer i.fa.fa-social-facebook,
#tbp-bottom-footer i.fa.fa-instagram1 {
    background-color: #00C6BC;
    padding: 5px;
    border-radius: 50%;
    font-size: 20px !important;
}


/* Page Header Adjustments */

#tbp-page-header .vc_custom_heading_wrap  {
    margin-top: 10px;
}

#tbp-page-header .uncode_text_column  {
    margin-top: 10px;
}


/* Author Panel */

.author-box {
  text-align: center;
  margin: 40px auto;
  max-width: 220px;
}

.author-box .author-img {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.author-box .author-img img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 6px solid #fff;
  object-fit: cover;
}

.author-box .author-text p {
  font-size: 12px;
  color: #666;
  margin: 0 0 5px;
}

.author-box .author-text strong {
  font-size: 16px;
  color: #00bcd4;
  font-weight: 600;
}

.tbp_news_category {
    margin-top: 10px !important;
}

/* News sidebar - recent posts */

.sidebar-section {
  margin-bottom: 40px;
}
h3.sidebar-title {
  font-size: 24px !important;
  margin-top: -5px;
  margin-bottom: 25px;
}
.sidebar-post {
  margin-bottom: 30px;
}
.sidebar-thumb img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  margin-bottom: 15px;
}
.sidebar-post-text h4 {
  margin: 0 0 5px;
  font-size: 16px;
}
.sidebar-post-text .sidebar-category {
  font-size: 13px;
  text-transform: uppercase;
  color: #999;
  display: block;
  margin-bottom: 5px;
}
.sidebar-post-text p {
  font-size: 14px;
  color: #444;
}
.sidebar-post-text a {
  text-decoration: none;
  color: #00bcd4;
}

.sidebar-post {
  margin-bottom: 60px;
  padding-bottom: 30px;
  border-bottom: 8px solid #00C6BC;
}


/* News Grid */

#tbp-news-grid-top .t-overlay-text.single-block-padding {
    height: 100%;
}

#tbp-news-grid-top .t-entry-excerpt {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  padding: 0 24px;
}

#tbp-news-grid-top .t-entry-excerpt p {
  margin: 0;
}

/* Add arrow icon via ::before */
#tbp-news-grid-top .t-entry-excerpt::before {
  content: "❯"; /* or use "\276F" or an SVG background */
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #00bcd4;
  font-weight: 600;
  line-height: 1;
}

#tbp-news-grid-top .t-entry-category {
    text-transform: uppercase;
    color: #00c6bc !important;
}

#tbp-news-grid-top .t-entry-cf-detail-141934 {
    text-transform: uppercase;
    color: #00c6bc !important;
    font-weight: 700;
    font-size: 14px;
}

#tbp-news-grid-top .t-entry-cat-single span {
    color: #00c6bc !important;
}

#tbp-news-grid-main .t-entry-category {
    text-transform: uppercase;
}

#tbp-news-grid-main .t-entry-category a {
    color: rgba(15, 61, 74, 0.3);
}

#tbp-news-grid-main .t-entry-excerpt {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 8px solid #00C6BC;
}


/* Update News pagination */

.pagination > li {
    margin-right: 10px;
}

.pagination > li:last-child {
    margin-right: 0px;
}

.pagination > li .page-numbers {
    border: solid 1px #0F3D4A;
    border-radius: 3px;
}

.pagination > li .current {
    background-color: #FFB300;
    color: #000000;
    border: 0px !important;
    border-radius: 3px;
}


/* Book Author Speaker Grid */

#tbp-author-grid-top .t-overlay-text.single-block-padding {
    height: 100%;
}

#tbp-author-grid-top .tmb .t-entry-visual .t-entry {
    position: absolute;
    bottom: 36px;
}

#tbp-author-grid-top .t-entry-excerpt p {
  margin: 0;
  width: 75%;
}

/* Add arrow icon via ::before */
#tbp-author-grid-top .t-entry-excerpt::before {
    content: "❯";
    position: fixed;
    right: 36px;
    bottom: 50px;
    transform: translateY(-50%);
    font-size: 22px;
    color: #00bcd4;
    font-weight: 600;
    line-height: 1;
}

#tbp-author-grid-top .t-entry-category {
    text-transform: uppercase;
    color: #00c6bc !important;
}

#tbp-author-grid-top .t-entry-cf-detail-141934 {
    text-transform: uppercase;
    color: #00c6bc !important;
    font-weight: 700;
    font-size: 14px;
}

#tbp-author-grid-top .t-entry-cat-single span {
    color: #00c6bc !important;
}

#tbp-author-grid-top .tmb-overlay-gradient-bottom .style-midnight-green-bg:not(.tmb-term-evidence) {
    background-color: transparent !important;
    background-image: linear-gradient(to top, #0f3d4a 0%, rgba(15, 61, 74, 0) 80%) !important;
}



/* Block Quote - Styled */

blockquote {
  position: relative;
  padding: 20px 40px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #3a3a3a;
  border: 0px;
}

blockquote::before {
  content: "“";
  font-size: 4rem;
  font-weight: 900;
  color: #FFD7D8;
  position: absolute;
  top: -20px;
  left: -25px;
}

blockquote::after {
  content: "”";
  font-size: 4rem;
  font-weight: 900;
  color: #FFB300;
  position: absolute;
  bottom: -20px;
  right: -25px;
}


/* Team Page */

#tbp-team-page p.t-entry-member-social a i {
    font-size: 1.5rem;
}


/* Author Speaker */

#tbp-at-a-glance .uncode_text_column {
    margin-top: 10px;
}

#tbp-at-a-glance .row-container {
    margin-top: 40px;
}

.tbp-vertical-line {
  border-left: 2px solid #00C6BC !important;
  padding-left: 40px;
}

#tbp-ready-to-speak .uncode_text_column {
    margin-top: 10px;
}

#tbp-ready-to-speak .row-container {
    margin-top: 40px;
}

#tbp-ready-to-speak .uncoltable {
    border-bottom: 2px solid #00C6BC;
    padding-bottom: 30px;
}


/* Amend Heading Wrap - Remove rediculous 36px margin from top */

.tbp-heading-wrap-5px {
    margin-top: 5px !important;
}

.tbp-heading-wrap-10px {
    margin-top: 10px !important;
}

.tbp-heading-wrap-15px {
    margin-top: 15px !important;
}


/* Colourise Bullets */

.tbp-color-bullets ul li {
    color: #00c6bc;
    font-weight: 600;
}


/* Services Overview */

#menu-services-overview-nav li a {
    font-weight: 600;    
}

#menu-services-overview-nav li.active {
    color: #00C6BC;
    border: 1px solid #00C6BC;
    padding: 10px 5px;
}


/* Clients Menu Bar */

.menu-smart {
    margin-bottom: 20px;
}


.menu-smart > li {
    font-weight: 600; 
}

.menu-smart > li > span > a.active {
    color: #00C6BC !important;
    border: 1px solid #00C6BC !important;
    padding: 8px 12px !important; 
}


/* Campaigns Panel */

.tbp-campaign-panel .t-entry-text {
    background-color: #FFFFFF;
    padding: 80px 36px 36px 36px;
    margin-top: -60px;
    z-index: 9999;
    width: 80%;
    border-radius: 0px 100px 0px 0px;
    margin-left: 30px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
}

.tbp-campaign-panel .t-entry-text-tc.single-block-padding {
    padding-top: 0px;
}

.tbp-campaign-panel .t-entry-cf-detail-193454 {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
    color: #00C6BC;
}

.tbp-campaign-panel .t-entry-cf-detail-102296 {
    color: rgba(15, 61, 74, 0.7);
    font-size: 16px;
    font-weight: 700;
}

.tbp-campaign-panel .t-entry-cf-detail-211416 {
    margin-top: 20px !important;
}

.tbp-campaign-panel .t-entry-cf-detail-486111 {
    position: absolute;
    top: -245px;
    left: 0px;
    width: 225px !important;
}

.tbp-campaign-panel a.btn.btn-default {
    background-color: #00C6BC !important;
    border-color: #00C6BC !important;
}

.tbp-campaign-panel .t-entry-readmore {
    margin-top: 20px !important;
}

@media (max-width: 768px) {
	.tbp-campaign-panel .t-entry-text {
		background-color: #FFFFFF;
		padding: 80px 36px 36px 36px;
		margin-top: -30px;
		z-index: 9999;
		width: 100%;
		border-radius: 0px 30px 0px 0px;
		margin-left: 0px;
		box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
	}
	.tbp-campaign-panel .t-entry-cf-detail-486111 {
		position: absolute;
		top: -95px;
		left: 0px;
		width: 125px !important;
	}
}



/* Campaigns Page */

.tbp-campaigns-page .t-entry-text {
    background-color: #FFFFFF;
    padding: 36px 36px 36px 36px;
    margin-top: -60px;
    z-index: 9999;
    /*width: 80%;*/
    /*margin-left: 30px;*/
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
}

.tbp-campaigns-page h4.t-entry-title.h4.title-scale {
    width: 60%;
}

.tbp-campaigns-page .t-entry-visual {
    width: 95%;
    margin: 0 auto;
}

.tbp-campaigns-page .t-entry-text-tc.single-block-padding {
    padding-top: 0px;
}

.tbp-campaigns-page .t-entry-cf-detail-193454 {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
    color: #00C6BC;
}

.tbp-campaigns-page .t-entry-cf-detail-102296 {
    color: rgba(15, 61, 74, 0.7);
    font-size: 16px;
    font-weight: 700;
}

.tbp-campaigns-page .t-entry-cf-detail-211416 {
    margin-top: 20px !important;
}

.tbp-campaigns-page .t-entry-cf-detail-486111 {
    position: absolute;
    top: -160px;
    right: 50px;
    width: 200px !important;
}

.tbp-campaigns-page a.btn.btn-default {
    background-color: #00C6BC !important;
    border-color: #00C6BC !important;
}

.tbp-campaigns-page .t-entry-readmore {
    margin-top: 20px !important;
}

@media (max-width: 768px) {
	.tbp-campaigns-page .t-entry-cf-detail-486111 {
		position: absolute;
		top: -140px;
		right: 30px;
		width: 125px !important;
	}
	.tbp-campaigns-page h4.t-entry-title.h4.title-scale {
		width: 100%;
	}
}



/* Vertical Line for text blocks */

.tbp-vertical-line {
  border-left: 4px solid #005f66 !important;
  padding-left: 40px;
}


/* Home Page Icons */

#tbp-hp-icons > span {
    padding: 15px;
}

#tbp-hp-icons > span > span > span > img {
    margin-top: 2px;
}


/* bottom Keyline offset */

.tbp-ourapproach-keyline {
    position: relative;
    top: 144px;
}


/* Book Feature Panel */

.book-feature-panel {
    background-size: cover;
    background-position: center;
    padding: 80px 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.book-feature-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 40px;
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.book-image {
    width: 150px;
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
}

.book-author {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.book-subheading {
    font-size: 18px;
    margin-bottom: 10px;
}

.book-description {
    font-size: 16px;
}


/* Remove on Mobile */ 

@media (max-width: 768px) {
	.tbp-clear-mobile {
		display:none;
	}
}


/* Meet our team */

@media (max-width: 768px) {
	.tbp-meet-our-team-col {
		margin-top: 330px;
	}
}

@media (max-width: 768px) {
	#tbp-at-a-glance {
		margin-bottom: -430px !important;
	}
}

/* Team Page */

@media (max-width: 768px) {
	#tbp-team-page .t-entry-excerpt {
		font-size: 12px;
	}
}