/*!
Theme Name: nt-theme
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: nt-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

nt-theme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */
img.logo {
    max-width: 200px;
}
div#services-masonry {
    margin: 0px 15px;
    display: flex
;
    flex-wrap: wrap;
}
div#services-masonry .item {
    padding: 2px;
    margin-bottom: 0px;
}
.row.masonry .item div.has-overlay {
    position: relative;
    overflow: hidden;
}
.row.masonry .item div.has-overlay:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    -webkit-transition: 0.6s ease;
    -moz-transition: 0.6s ease;
    -ms-transition: 0.6s ease;
    -o-transition: 0.6s ease;
    transition: 0.6s ease;
}
.row.masonry .item:hover div.has-overlay:before {
    left: -50%;
    -webkit-transform: skew(10deg, 0deg);
    -moz-transform: skew(10deg, 0deg);
    -ms-transform: skew(10deg, 0deg);
    -o-transform: skew(10deg, 0deg);
    transform: skew(10deg, 0deg);
}

.img-responsive {
    display: inline-block;
    width: 100%;
}
.row.masonry .item div.has-overlay a {
    display: block;
}
.row.masonry .item div.has-overlay h3.heading {
    position: absolute;
    bottom: 0px;
    left: 0px;
    background: rgba(1, 1, 1, 0.5);
    margin: 0px;
    width: 100%;
    padding: 15px;
    height: auto !important;
    transition: 0.4s ease;
}
div#services-masonry .item h3 {
    text-align: center;
}
#services-masonry h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 40px;
    line-height: 25px;
}
.row.masonry .item:hover div.has-overlay h3.heading {
    padding-bottom: 30px;
}
section#section-about {
    padding: 70px 0px !important;
    padding-right: 30px !important;
}
span.pf_text {
    text-align: center;
    color: #fff;
}
span.project-address {
    border-bottom: 1px solid #fff;
    padding-bottom: 5px;
}
.social-icons svg {
    max-width: 20px;
    height: auto;
}
.services-page-tr a.btn-line.btn-fullwidth {
    margin: 15px 0px;
}
#filters .current-menu-item a {
    background: #fff !important;
    color: #000 !important;
}
.blog-list li {
    list-style: none;
    line-height: 1.7em;
    margin-bottom: 60px;
    margin-top: 0;
    padding-bottom: 15px;
    border-bottom: solid 1px rgba(255, 255, 255, .1);
}
 ul.blog-list li {
    width: calc(33.3% - 5px);
    width: 100%;
    display: flex;
    margin-bottom: 0;
    border-bottom: unset;
    flex-wrap: wrap;
}
ul.blog-list .post-content {
    display: flex
;
    gap: 15px;
    width: 100%;
    position: relative;
    font-size: 20pt;
}
ul.blog-list .post-image {
    width: 40%;
    height: 354px;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    flex: 4;
}
ul.blog-list .post-image img{
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
} 
ul.blog-list .post-text {
    flex: 6;
    padding-left: 0px;
    font-size: 20px;
    display: flex
;
    flex-direction: column;
    justify-content: center;
    padding-right: 30px;
}
.blog-list h3 {
    color: #ffffff;
    text-transform: none;
    letter-spacing: 0;
    font-size: 24px;
}
.blog-list .date-box {
    width: 60px;
    position: absolute;
    text-align: center;
    text-shadow: none;
}
ul.blog-list .date-box {
    background: #000;
    width: auto;
    padding: 5px;
    top: 15px;
    left: 15px;
}
ul.blog-list .date-box .day {
    padding: 10px;
    text-align: center;
    font-size: 24px;
    line-height: 1;
}
.blog-list .date-box .month {
    color: #fff;
    font-weight: 600;
    letter-spacing: 16px;
    padding: 7px 0 7px 0;
    border-bottom: solid 4px #333;
    text-transform: uppercase;
}
ul.blog-list .date-box .month {
    border-bottom: none;
    font-size: 10px;
    text-align: center;
}
body .wp-pagenavi a, body .wp-pagenavi span {
    text-decoration: none;
    border: 1px solid #ffffff;
    padding: 12px 27px;
    margin: 2px;
}
body .wp-pagenavi a:hover, body .wp-pagenavi span.current {
    border-color: #ffffff;
    background: #fff;
    color: #000;
}
.wp-pagenavi {
    display: inline-block;
    width: 100%;
    margin-top: 30px;
    text-align: center;
}
.blog-list h3 a {
    font-size: 28px;
}
#portfolio-controls {
    background: #111111;
    height: 50px;
    overflow: hidden;
    position: relative;
    width: 100%;
    z-index: 2;
}
.left-right-portfolio {
    float: left;
    height: 50px;
    overflow: hidden;
    position: relative;
    transition: all 300ms linear 0s;
    width: 40%;
    z-index: 2;
}
.portfolio-icon {
   font-family:"Font Awesome 6 Free";
    font-size: 20px;
    line-height: 50px;
    text-align: center;
    width: 100%;
    color: #fafafa;
}
.portfolio-icon a {
    display: block;
}
.portfolio-icon a i {
    float: none;
    color: #fafafa;
}
.center-portfolio {
    background: #0B0B0B;
    float: left;
    height: 50px;
    overflow: hidden;
    position: relative;
    transition: all 300ms linear 0s;
    width: 20%;
    z-index: 2;
}
.fa-th:before {
    content: "\f00a";
}
.center-portfolio:hover, .left-right-portfolio:hover {
    background: #cccc;
}
.gallery-project-tr img{
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}
.de-navbar-left header nav {
    display: inline-block;
    width: 100%;
}