/*
Theme Name: Agensy
Theme URI: https://agensy.themezinho.net/
Author: themezinho
Author URI: https://themeforest.net/user/themezinho
Description: Modern Digital Agency Theme 
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: agensy
Tags: blog, custom-logo, custom-menu, editor-style, featured-images, sticky-post, theme-options
*/

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	float:right; margin-left:1em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.screen-reader-text{
    display: block;
}
/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets. */
}

.widget select {
	max-width: 100%;
}


/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

.bypostauthor{
	display: block;
}

section.icon-content-block{
	overflow: visible;
}

.wp-block-cover, .wp-block-cover-image {
	height:auto; 
}

img{height: auto; max-width: 100%;}
iframe{ width: 100%; max-width: 100%;}

.navbar{
	z-index:9
}

/*.blog .header-image {
    width: 100%;
    height: 80vh;
    display: flex;
    flex-wrap: wrap;
    background-size: cover;
}*/
.wpcf7-checkbox .wpcf7-list-item {
    display:block;
    margin:0;
}
.blog-post .post-content .post-author{
    position:relative
}

.blog-post .post-content .post-author:before{
    content:'';
    display:block;
    position:absolute;
    left:0;
    top:0;
    right:0;
    bottom:0;    
    z-index:1;
}
.archive.tag .page-header + div{
    display:none !important;
}

.navbar.light .logo a img{
	 -webkit-filter: none; 
    filter:none;
}

.navbar.light .logo a img{
    opacity:0;
}

.navbar .logo a{
    display:inline-block;
    position:relative;
}

.navbar .logo a:before{
    content:'';
    display:block;
    position:absolute;
    left:0;
    right:0;
    top:0;
    bottom:0;
    background:url('http://new.dextel.agency/wp-content/uploads/2021/03/dextel_logo_light_200.png') no-repeat center center;
    transition:all 0.3s ease-in-out;
    opacity:0;
}

.navbar.light .logo a:before{
    opacity:1;
}
.blog .header-image{
	transition-delay:unset;
	-webkit-transition:all 0.3s ease-in-out;
	transition:all 0.3s ease-in-out;
	opacity: 1;
    transform: translateY(0);
}

.hustle-ui:not(.hustle-size--small).module_id_1 .hustle-field .hustle-input[type="email"]{
    height:auto;
}

.footer-widget a{
	color:inherit;
}
.single .post-image{
	display:block;
}
@media (max-width:767px){
    .page-header h1{
/* font-size:40px !important; */
    }
}
@media (min-width:1200px){
	.single .post-image{
		width:85%;
		margin: 0 auto;
	}
}
.error404 .header-image{
    transition:none;
    transform:none;
	opacity:1;
}

.error404 .page-header{
    display:none;
}
.error404 .error-404 > .container > img:first-child{
    display:none;
}
.single-post .blog-post .post-content .post-title{
    display:none;
}
.blog .header-image{
    display:none;
}
.blog .header-image + .content-section{
    padding-top:0;
}

.blog-post .post-content .post-date{
    display:none;
}

.dp-footer-award, .dp-footer-award-white{
    width:178px;
    max-width:100%;
	margin-top:30px;
}

.navigation-menu.active + .left-side  + .navbar.light {
    z-index:999
}

.navigation-menu.active + .left-side  + .navbar.light .main-menu,
.navigation-menu.active + .left-side  + .navbar.light .phone,
.navigation-menu.active + .left-side  + .navbar.light .logo{
    opacity:0;
}