/**
Theme Name: Delta Digital
Author: Delta Digital
Author URI: https://deltadigital.gr
Description: Delta Digital Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: delta-digital
Template: astra
*/


/*********************** Header ************************/

#masthead {
	transition: background-color 0.3s ease-in-out;
}

.site-primary-header-wrap {
	transition: height 0.3s ease-in-out, min-height 0.3s ease-in-out;
}

/* The sticky class is added to the header with JS when it reaches its scroll position */
.sticky {
  position: fixed !important;
  top: 0;
	/* background-color: rgba(23, 32, 44, .60) !important;   */
	background-color: rgba(59, 70, 86, .40) !important;
	box-shadow:  0 2px 4px  rgba(0,0,0,0.25);
	width: 100%;
    margin: 0 auto;
    border-bottom-right-radius: 20px;
	border-bottom-left-radius: 20px;
}

.sticky::before {
	content: '';
  position: absolute;
  width: 100%;
  height: 100%;
	-webkit-backdrop-filter: blur(10px) !important;  /* Safari 9+ */
backdrop-filter: blur(10px) !important; /* Chrome and Opera */
border-bottom-right-radius: 20px;
	border-bottom-left-radius: 20px;
}

.menu-link {
	cursor: pointer;
}

.site-primary-header-wrap {
	height: 80px;
}

.sticky .site-primary-header-wrap {
	min-height: 60px !important;
	height: 60px;
}

#ast-hf-mobile-menu {
	background-color: rgba(59, 70, 86, .60) !important;
	-webkit-backdrop-filter: blur(10px) !important;  /* Safari 9+ */
	backdrop-filter: blur(10px) !important; /* Chrome and Opera */
	border-radius: 20px;
	margin-top: 8px;
}

#ast-hf-mobile-menu .ast-main-header-wrap, #ast-hf-mobile-menu a, #ast-mobile-header .ast-mobile-header-content {
	background-color: unset !important;
}

#ast-hf-mobile-menu a {
	color: #fff;
}

#ast-hf-mobile-menu button, #ast-hf-mobile-menu button:active, #ast-hf-mobile-menu button:focus, #ast-mobile-header button, #ast-mobile-header button:active, #ast-mobile-header button:focus {
   	outline: none;
	border-style: none;
	box-shadow: none;
}

@media only screen and (min-width: 922px) {
	.sub-menu {
		background-color: rgba(59, 70, 86, .60) !important;
 	-webkit-backdrop-filter: blur(10px) !important;  /* Safari 9+ */
	backdrop-filter: blur(10px) !important; /* Chrome and Opera */
	box-shadow:  0 2px 4px  rgba(0,0,0,0.01);
		border-radius: 5px;
	}
}

/******** Particles *************/
#particles-js canvas {
    display: block;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
    -webkit-transition: opacity .8s ease, -webkit-transform 1.4s ease;
    transition: opacity .8s ease, transform 1.4s ease
}

#particles-js {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0
}

#particles-container {
	position: absolute;
    top: 0;
    left: 0
}


/********** Hero *************/
#hero-content .wp-block-buttons {
	z-index: 2;
}

@media only screen and (min-width: 922px) {
		#hero-content .uagb-container-inner-blocks-wrap {
    	max-width: 900px;
    	margin-left: 100px !important;
    	/* background-color: rgba(23, 32, 44, .60);
    	backdrop-filter: blur(5px); */
    	padding: 0 30px;
    	/* border-radius: 20px; */
    	/* z-index: 0; */
	}
}

/************************** Services *********************/
#service-cards-container {
	max-width: 90%;
	gap: 0px 0px;
	overflow: hidden;
	/* background-color: #364151; */
	background-color: #262935;
	border: 2px solid #474b64;
	border-radius: 30px;
}

.services-intro {
	max-width: 800px;
}

.service-card {
	width: 33.3% !important;
	min-width: 350px !important;
	border-width: 0px 0px 2px 0px;
	border-style: solid;
	border-color: #474b64;
	margin-bottom: -2px;
	transition: background-color 0.3s ease-in-out;
}

.service-card:hover{
	background-color: #3b4656;
}

.service-card .uagb-ifb-icon-wrap {
	width: 50px;
	background-color: #262935;
	padding: 9px;
	border-radius: 50px;
	height: 50px;
	margin-bottom: 15px;
	transition: background-color 0.3s ease-in-out;
}

.service-card .uagb-ifb-icon-wrap svg {
	fill: #0170B9;
}

.service-card:hover .uagb-ifb-icon-wrap {
	background-color: #333;
}

.service-card .uagb-ifb-icon-wrap svg {
	width: 50px !important;
	height: 50px !important;
}

.service-card.service-middle {
	border-width: 0px 2px 2px 2px;
}

.service-bottom {
	margin-top: 2px;
}

.service-card .uagb-ifb-content {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.service-card .uagb-infobox-cta-link {
	margin-top: 25px;
}

.service-card .uagb-infobox-cta-link svg {
	fill: #0170B9;
	margin-left: 8px !important;
	transition: margin-left 0.3s ease-in-out;
}

.service-card:hover .uagb-infobox-cta-link svg {
	margin-left: 16px !important;
}

@media screen and (min-width: 1650px) {
	#service-cards-container {
		max-width: 80%;
	}
}

@media screen and (max-width: 1192px) {
	.service-card {
		width: 50% !important;
		min-width: 350px !important;
		border: unset;
		border-bottom: 2px solid #474b64;
	}

	.service-card:nth-child(odd) {
		border-right: 2px solid #474b64;
	}

	.service-card:not(:nth-child(-n + 2)) {
		margin-top: 2px;
	}

	.service-bottom {
		margin-top: 0;
	}
}

@media screen and (max-width: 802px) {
	.service-card {
		width: 100% !important;
		min-width: 350px !important;
		border-bottom: 2px solid #474b64;
		margin-top: 2px;
	}

	.service-card:nth-child(odd) {
		border-right: unset;
	}
}

/******************* Why Us **********************/
.tri-card {
	border: 2px solid rgba(0,0,0,0) !important;
	border-radius: 10px;
	transition: border 0.3s ease-in-out;
}

.tri-card:hover {
	border: 2px solid #0170B9 !important;
}

.tri-card path {
	fill: #0170B9;
}

.tri-card svg {
	width: 50px !important;
	height: 50px !important;
	margin-bottom: 35px !important;
}

.tri-card svg, .tri-card .uagb-ifb-title-wrap {
	margin-bottom: 20px;
}


/**************** Testimonials ***********/
.testimonial-card {
	border: 2px solid #474b64 !important;
}

.testimonial-card img {
	margin-top: -60px;
	border-radius: 60px !important;
	margin-bottom: 40px;
	transform: translatey(0px);
	animation: float 3s ease-in-out infinite;
}

.testimonial-card-2 img {
	animation-delay: 500ms;
}

.testimonial-card-3 img {
	animation-delay: 1000ms;
}

#testimonial-intro {
	max-width: 700px;
	text-align: center;
	margin-bottom: 80px;
}

@keyframes float {
	0% {
		box-shadow: 0 5px 15px 0px rgba(1,112,185,0.6);
		transform: translatey(0px);
	}
	50% {
		box-shadow: 0 30px 15px 0px rgba(1,112,185,0.2);
		transform: translatey(-6px);
	}
	100% {
		box-shadow: 0 5px 15px 0px rgba(1,112,185,0.6);
		transform: translatey(0px);
	}
}

@media screen and (max-width: 767px) {
	.testimonial-card {
    	margin-top: 80px;
	}
}

/********************* Industries Section ******************/

#industries-tabs {
	flex-direction: row-reverse;
}

#industries-tabs .uagb-tabs__body-wrap {
	margin: 20px;
}

#industries-tabs ul.uagb-tabs__panel {
	min-width: 50%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	margin: 20px;
}

#industries-tabs ul.uagb-tabs__panel li {
	width: 150px;
	height: 100px;
	flex-grow: 1;
	border-color: #474b64;
	border-width: 2px;
	transition: background-color 0.3s ease-in-out;
}

#industries-tabs ul.uagb-tabs__panel li a {
	width: 100%;
	height: 100%;
	font-size: 0;
}

#industries-tabs ul.uagb-tabs__panel li a::after {
	content: attr(data-text);
	font-size: 18px;
	position: absolute;
	bottom: 0;
	right: 15px;
}

#industries-tabs ul.uagb-tabs__panel li a::before {
	content: '\2713';
	font-size: 17px;
	color: white;
	position: absolute;
	top: 0;
	left: 15px;
}

#industries-tabs .uagb-tab {
	background-color: #262935;
}

#industries-tabs .uagb-tab:hover {
	background-color: #3b4656;
}

#industries-tabs .uagb-tabs__active, #industries-tabs .uagb-tabs__active:hover {
	background-color: #1a1a1a;
}

#industries-tabs .uagb-tabs__body-wrap {
	border: 0;
	border-left: 2px solid #474b64;
}

#industries-tabs .uagb-tabs__body-container {
	transition: visibility 0.3s, opacity 0.3s linear;
	display: block !important;
	visibility: hidden;
	opacity: 0;
	position: absolute;
	top: 0;
	float: left;
}

#industries-tabs .uagb-tabs__body-container.uagb-tabs-body__active {
	visibility: visible;
  	opacity: 1;
}

@media screen and (max-width: 767px) {
	#industries-tabs ul li {
    	margin: 5px;
	}

	#industries-tabs .uagb-tabs__body-wrap {
		margin-top: 50px;
		min-height: 550px;
	}
}

/********************* FAQ Section ****************/
.uagb-faq-item {
	background-color: #262935 !important;
}

#faq-text-container {
	min-height: 550px;
}

#faq-text-container .wp-block-uagb-faq, #faq-text-container .uagb-block-6613da1e .uagb-heading-text strong {
	display: inline-block;
	max-width: 80%;
}

#faq-text-container svg {
	fill: #0170B9;
}

#faq-img-container {
	height: 550px;
	margin-left: 50px;
}

#faq-img-container::before {
	content: "";
	width: 50px;
	height: 250px;
	position: absolute;
	left: 0;
	bottom: 0;
	margin-left: -50px;
	background-color: #0170B9;
}

@media screen and (max-width: 767px) {
	#faq-img-container::before {
    	display: none;
    	margin-left: 0;
	}

	#faq-img-container {
    	padding-left: 0;
    	margin-left: 0;
	}
}

/****************** Blog Section ******************/

.wp-block-latest-posts > li > *, .wp-block-latest-posts:not(.is-grid) > li {
	margin-bottom: 0 !important;
	margin-top: 0 !important;
}

#blog-container {
	justify-content: normal !important;
}

#blog-container img {
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}
#blog-container ul {
	height: 100%;
	padding-left: 0;
}

#blog-container li {
/* 	background: #364151; */
	background: #262935;
	text-align: center;
	height: 100%;
	border-radius: 10px;
}

.wp-block-latest-posts__post-title {
	display: block;
	padding: 25px 15px;
	margin-bottom: 0 !important;
	line-height: 1.2em;
	font-family: 'Barlow Semi Condensed',sans-serif;
  	font-weight: 600;
	font-size: 1.1em;
	color: #ffffff !important;
	text-align: center;
}

/************************ Contact Form ********************/
.contact-width {
	max-width: 1400px;
	margin: 0 auto;
}

#form-container {
	/* box-shadow: 0px 10px 15px 19px rgba(0,0,0,0.1); */
	box-shadow: 0px 0px 20px 15px rgba(0,0,0,0.3);
    border-radius: 5px;
    margin-top: -120px;
    background-color: #26262c;
	margin-bottom: 70px;
}

.form-heading {
	padding-top: 35px;
}

.form-tri-column {
	display: flex;
	flex-direction: row;
}

.form-tri-column:not(:last-child)::after {
	content: "\21D2";
	width: 45px;
  	font-size: 25px;
}

.form-tri-column p {
    padding: 0;
	margin: 0;
}

.form-tri-number {
	font-size: 30px;
	margin-right: 15px !important;
}

p.form-tri-desc {
	line-height: 20px;
	padding-top: 8px;
	max-width: 20ch;
}

@media screen and (max-width: 767px) {
	#form-container {
    	margin-top: 10px;
	}
}

/************************ Blog Page ***********************/
.ast-blog-layout-4-grid #main {
	margin-top: 150px;
}