/*
Theme Name:     Cresta Child
Theme URI:      https://example.com/cresta-child
Description:    Child theme for the Cresta  theme
Author:         Digilite
Author URI:     https://digilite.ca
Template:       cresta
Version:        1.0.0
*/

.tgmenu__navbar-wrap ul li .sub-menu > li:hover > a {
	margin-left: 0;
	color: #0491DC !important;
}

ul li i {
	color: #0491DC !important;
}

.tg-footer-Office-info span svg path {
	fill: #0491DC !important;
}

.mobile-nav-toggler i {
	color: #05092B !important;
}

.tgmobile__menu-box {
	background-color: #fff !important;
}

.menu-item a {
	color: #05092B !important;
}

.tgmobile__menu .close-btn {
	color: #05092B !important;
}

.tg-header__area.black-bg-2 {
	background-color: #fff;
}

.theme-bg {
	background: #003056 !important;
}

.tg-header__area .tgmenu__icon img {
	width: 50px;
}

#home-hero .tg-hero-title {
	width: 70%;
}

.elementor-element-ce43645 svg {
	stroke: #fff !important;
}

header .logo img {
	width: 150px;
}

.ex-white-list ul li {
	color: #fff !important;
}

/* Custom styles go below */
.tg-service-number span::after {
  background-image:linear-gradient(to bottom, #55a951, #36588a);
}
.tg-service-item::after {
   background-image:linear-gradient(to bottom, #55a951, #36588a);
}
.tg-footer-Office-info span svg path {
  fill:#55a951;
}
.tg-hero-area .tg-hero-text p {
	max-width:75%;
}
.tgmobile__menu-box .social-links {
	display:none;
}
#sticky-header {
	padding:10px 0px;
}
.elementor-image-gallery .gallery-item {
	position:relative;
}
.elementor-image-gallery .gallery-item figcaption {
	position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    width: calc(100% - 15px);
    padding: 10px 6px;
	visibility:hidden;
	opacity:0;
}
.elementor-image-gallery .gallery-item:hover figcaption {
	visibility:visible;
	opacity:1;
	transition:all 0.3s ease-in-out;
}
.tg-custom-accordion-2 .accordion-buttons::after {
  color:#36588a;
}
a.pdf-link {
	background-color: #f8f8f8;
    padding: 20px;
    width: 100%;
    display: block;
    position: relative;
    padding-left: 60px;
	color: #34598c;
	font-weight:500;
	margin:15px 0px;
}
a.pdf-link:before {
	position: absolute;
    content: url(./icons/pdf.svg);
    left: 20px;
    height: 28px;
}
.open-user-map .box-wrap .map-wrap .leaflet-map .leaflet-popup-content-wrapper .leaflet-popup-content {
	min-width:320px;
}
.res-tab .elementor-tab-title {
  background-color:#34598c;
   transition:0.3s all ease-out;
  margin-bottom:5px;
}
.tg-blog-item {
  height:100%;
}
.tg-project-details-list-2 ul li i {
  color:#53A84A;
}
.products-block {
	    display: flex;
    list-style: none;
    flex-wrap: wrap;
}
.products-block  .product-block-item {
	    text-align: center;
    width: 25%;
	margin-bottom:20px;
}
.taxonomy-tabs {
	background-color: #fff;
    box-shadow: 0px 5px 60px 0px rgba(0, 0, 0, 0.05);
    padding-bottom: 60px;
	margin-top:40px;
}
.taxonomy-tabs .nav.nav-tabs{
background: linear-gradient(94deg, var(--tg-gradient-1) 0%, var(--tg-gradient-2) 100%);
	    border-bottom: none;
}
.taxonomy-tabs .nav-tabs .nav-link {
border-radius:0;	
	color:#fff;
	border:none;
}
.taxonomy-tabs .nav-tabs .nav-link.active {
	color:#000;
}
.products-block  .product-block-item img {
	display:block;
	height:220px;
	    margin: 0 auto 10px;
}
.products-block  .product-block-item a{
	    color: #000;
    font-weight: 500;
}
.tg-section-subtitle {
 
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    background: #34598C;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.layout-grid .post-title, .layout-grid-ls .post-title, .layout-grid-rs .post-title {
  height:57.6px;
    display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}
.tg-blog-item .tg-blog-title  {
  height:95px;
    display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}
.tg-blog-item .tg-blog-meta {
  display:none;
}
.tg-blog-item  .tg-blog-badge {
  display:none;
} 
.res-tab .elementor-tab-title.elementor-active {
   background-color:#54a84b;
  transition:0.3s all ease-out;
}
.greybg1 {
  color: #fff;
    background: linear-gradient(94deg, var(--tg-gradient-1) 0%, var(--tg-gradient-2) 100%);
}
#searchInput {
    border: 1px solid #34598c;
    margin: 0px 0px 40px;
}
#productTable tr td,#productTable tr th {
  padding:8px;
	text-align:center;
	    font-size: 16px;
}
#productTable {
  background-color: #fff;
    box-shadow: 0px 5px 60px 0px rgba(0, 0, 0, 0.05);
}
#productTable tr.greybg2:hover{
  background-color:#f8f8f8;
}
#productTable tr td a.type-link {
      color: #34598c;
    font-weight: 600;
}
.single-post article .post-thumbnail-wrapper,article .post-meta.post-details-meta {
	display:none;
	
}
entry-content p:last-child {
	margin-bottom:0;
}
.single-post-wrapper ul.post-meta.ul_li {
	display:none;
}
@media only screen and (max-width: 991px) {
body.blog .sidebar-area {
	margin-top:0px;
	margin-bottom:60px;
}
	body.blog .row.content-left-sidebar {
		flex-direction:column-reverse;
	}
	}
@media only screen and (max-width: 767px) {
	
  .elementor-1928 .elementor-element.elementor-element-adfc62e {
      padding: 40px 0px 0px 0px !important;
  }
	
	.pb-80 {
    padding-bottom: 40px !important;
}
.pt-80 {
    padding-top: 40px !important;
}
	
.products-block .product-block-item {
	width:50%;
}
	.tg-hero-area .tg-hero-text p {
	max-width:100%;
}
	.tg-btn-gradient-border {
	height: 50px;
        line-height: 50px;     
        font-size: 16px;
	}

	.blog .post-excerpt p:last-child {
		font-size:16px;
		        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
	}
	.taxonomy-tabs .nav-tabs .nav-item,.taxonomy-tabs .nav-tabs .nav-item .nav-link {
		width:100%;
	}
	#productTable tr td,#productTable tr th {
		    white-space: nowrap;
    font-size: 14px;
		padding:5px;
	}
	.product-table {
		width:100%;
		overflow-x:scroll;
	}
	.tg-newsletter-wrap .tg-cta-input-box button {
		margin-top:0px;
	}
	.tg-blog-item .tg-blog-title {
		margin-bottom:10px;
		height:72px;
	}
	.tg-hero-thumb-box.z-index {
		display:none;
	}
}
