/*!
Theme Name: advcore
Theme URI: https://github.com
Author: Advcore
Author URI: https://github.com
Description: WordPress theme code
Version: 8.0.1
Tested up to: 8.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: advcore
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL. 

*/

/* header mobile  */

@media (max-width: 1024px) {

	.header-row-1 {
		order: 1;
		padding-left: 0.75rem;
		padding-right: 0;
	}

	.header-row-2 {
		order: 3;
		padding-left: 0;
		padding-right: 0;
	}

	.header-row-3 {
		order: 2;
		padding-left: 0;
		padding-right: 0.75rem;
	}

}

/* sticky  */

@media(min-width:1025px) {

	body.admin-bar #header-main {
		margin-top: 32px;
	}

	.sticky {
		position: fixed;
		top: 0;
		width: 100%;
		z-index: 100;
		box-shadow: 0px 3px 15px rgb(0 0 0 / 15%);
	}

	.sticky+.site-main {
		padding-top: 120px;
	}

	.blog .sticky+.site-main {
		padding-top: 130px;
	}

	.single-post .sticky+.site-main {
		padding-top: 145px;
	}
}

@media (min-width: 1025px) {

	#page-wrapper #primary-main,
	#page-wrapper #sidebar-right,
	#single-wrapper #primary-main,
	#single-wrapper #sidebar-right,
	#archive-wrapper #archive-header {
		margin-top: 70px;
	}
}

html {
	scroll-padding-top: 70px;
}

@media (max-width: 1024px) {
	html {
		scroll-padding-top: 0px;

	}
}

/* custom */

.wp-block-button__link {
	background: #0261C2 !important;
	color: #FFF !important;
	border: none !important;
	font-weight: bold !important;
	padding: 0.25rem 0.8rem !important;
}


.archive-articles a.articles-buttons {
	background: #0261C2 !important;
	color: #FFF !important;
	border: none !important;
	font-weight: bold !important;
	padding: 0.25rem 0.8rem !important;
}

/* showcase trick rwd */

.advitshowcase{width: 1920px; position: absolute; left: 50%; margin-left: -960px;}
.advitshowcase img{width: 1920px;}
.advitshowcaseheight{width: auto; position: relative;}

	@media only screen and (max-width: 1199px) {
.advitshowcase{width: 100%; position: relative; left: 0; margin-left: 0px; height: 100%;}
.advitshowcase img{width: 100%;}
.advitshowcaseheight{width: auto;height: 100% !important;}

	}

.advitshowcaseslider{ min-height:  auto; }
@media (min-width: 576px) {
	.advitshowcaseslider {max-height: auto; } 
}
@media (min-width: 768px) {
	.advitshowcaseslider {min-height:  auto;  } 
}
@media (min-width: 992px) {
	.advitshowcaseslider {min-height: 800px}
}
@media (min-width: 1200px) {
	  .advitshowcaseslider{min-height: 800px;} 
}
@media (min-width: 1920px){
	  .advitshowcaseslider{min-height: 1080px;} 
}

/* showcase trick rwd */

body {
	background-color: #FFF !important;
}

.header-site {
	padding-top: 15px;
	padding-bottom: 15px;
	background: #FFF !important;
	border-bottom: 1px solid #EAEAEA;
}

.header-top-contant {
	text-align: center;
	margin-top: 4px;
}

.header-top-contant-icon {
	display: none;
}

@media(max-width:1024px) {

	.header-top-contant {
		display: none;
	}

	.header-top-contant-icon {
		display: flex;
		align-items: center;
		justify-content: end;
	}
}

}

@media(max-width:781px) {
	.site-logo {
		margin-top: 5px;
	}

}

.button-link-contact {
	font-size: 12px !important;
	font-weight: bold !important;
	background: #00397E !important;
	color: #FFF !important;
	border: none !important;
	padding: 0.4rem 0.6rem !important;
}

.button-link-footer {
	font-size: 14px !important;
	font-weight: bold !important;
	background: #0261C2 !important;
	color: #FFF !important;
	border: none !important;
	padding: 0.4rem 0.6rem !important;
}


.entry-header>.entry-meta {
	display: none !important;
}


/* mega menu */
.mega-menu-megamenu-title {
	display: inline-block;
	color: #003569;
	font-weight: bold;
	border-bottom: 2px solid #e0e0e0;
	margin-top: 8px;
	padding-bottom: 8px
}

.frame-mega-menu-top {
	border: solid 3px #0160bf; 
	padding: 20px;
	margin-top: 15px;
}


.frame-mega-menu-title {
	font-size:18px; 
	color: #0160bf;
}

li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-row .mega-menu-column>ul.mega-sub-menu>li.mega-menu-item {
	padding: 5px !important;
}


li.mega-menu-item-has-children>a.mega-menu-link>span.mega-indicator {
	display: none !important;
}


@media (min-width: 1025px) {
	li.mega-menu-megamenu>ul.mega-sub-menu {
		position: fixed !important;
		width: 100% !important;
		max-width: none !important;
		left: 0 !important;
	}

	li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-row {
		max-width: 1400px !important;
		float: none !important;
		margin: 0 auto !important;
	}

}

.archive-articles .entry-meta {
	display: none !important; 
}


.wp-block-media-text > .wp-block-media-text__content {
	padding: 0 4% !important;
}


/* footer */

.footer-site {
	background-color: #0F285E !important;
	color: #FFF;
}

@media (max-width: 1024px) {
	.footer-site {
		text-align: center;
	}
}

.footer-section {
	padding-top: 20px;
	padding-bottom: 30px;
}


.footer-section ul {
	list-style: none;
	margin: 0;
	padding: 0;
	line-height: 1.75;
}

.footer-section a {
	color: #FFF;
}

.footer-section a:hover {
	color: #60AFFF;
}

.footer-logos {
	margin-top: 20px;
	margin-bottom: 20px;
}

.footer-headline {
	font-size: 18px !important;
	font-weight: bold;
	margin-top: 10px;
	margin-bottom: 10px;
}

.footer-section-after {
	background-color: #0A1F4B;
	padding-top: 10px;
	padding-bottom: 10px;
	color: #FFF;
	text-align: center;
	font-size: 0.9rem;
}

.footer-section-after a {
	color: #FFF;
}


.footer-section-before {
	font-size: 14px;
	text-align: center;
	background-color: #152E62; 
	color: #FFF;
}

.footer-section-before .breadcrumbs {
	padding-top: 10px;
	padding-bottom: 10px;
	text-align: center;
	
}

.footer-section-before  a {
	color: #FFF;
}

.box-column{
box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}

.frame-text {
  padding: 0.75rem;
  border-radius: 10px;
}


.box-round{
	border-radius:20px;
}

.box-service{
	box-shadow: 0 .5rem 2rem rgba(0,0,0,0.1);
	border-radius:20px;
	padding: 15px;
}

.box-cloud2{
	border-radius: 15px 15px 0px 0px;
	border: 5px solid #EEF6FF;
	background: #FFF;
}

.box-cloud3{
	border-radius: 0px 0px 15px 15px;
	border: 5px solid #EEF6FF;
	background: #FFF;
}

.box-cloud0{
	border-radius: 15px 15px 15px 15px;
	border: 5px solid #EEF6FF;
	background: #FFF;
}


.wpcf7 .wpcf7-submit {
  background: #0261C2 !important;
  border: none !important;
	font-weight: bold;
}

.lightweight-accordion .lightweight-accordion-title {
	background: #f7f7f7 !important;
  padding: 12px 12px 12px 28px !important;

}

.lightweight-accordion .lightweight-accordion-title span {
	font-size: 16px !important;
  font-weight: bold !important;
} 