/*
Theme Name: the7dtchild
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/

/**
 * Define variables
 */

:root {
	--pe-sidebar-overflow: 50px;
	--pe-mobile-padding: 10px;
	--pe-main-color: #0079c0;
	--pe-accent-color: #28a7fb;
}

/**
 * General design
 */

.otgs-development-site-front-end {
	display: none;
}

.grecaptcha-badge {
	visibility: hidden;
}

a {
	text-decoration: none;
}

a:hover {
	color: var(--pe-accent-color);
}

#main {
	min-height: calc(100vh - 404px);
}

body.admin-bar #main {
	min-height: calc(100vh - 436px);
}

body.home #main {
	min-height: 100vh;
}

body.error404 #main,
body.search #main {
	padding-top: 80px;
	padding-bottom: 50px;
	min-height: calc(100vh - 479px);
}

header .branding img,
.masthead.sticky-on header .branding img {
	width: auto;
	height: 100px;
	max-height: 100px;
	transition: all 1s ease;
	-moz-transition: all 1s ease;
	-webkit-transition: all 1s ease;
	-o-transition: all 1s ease;
}

.mobile-header-bar .mobile-branding img,
.masthead.sticky-mobile-on .mobile-header-bar .mobile-branding img {
	width: auto;
	height: 70px;
	max-height: 70px;
}

body.home .masthead:not(.sticky-on) header .mini-wpml a {
	color: #fff !important;
}

.vc_tta-container .pe-accordion .vc_tta-panel-heading {
	border-color: var(--pe-main-color) !important;
}

.vc_tta-container .pe-accordion .vc_tta-panel:not(.vc_active) .vc_tta-panel-heading:hover {
	background-color: var(--pe-main-color) !important;
}

.vc_tta-container .pe-accordion .vc_tta-panel-title {
	font-size: 18px;
	line-height: 1.2 !important;
}

.vc_tta-container .pe-accordion .vc_tta-panel-heading:not(:hover) .vc_tta-panel-title > a {
	color: var(--pe-main-color) !important;
}

.ultimate-map-wrapper {
	margin-bottom: 0 !important;
}

/**
 * FIX Ultimate content box hover
 */
.ult-content-box-container > .ult-content-box,
.ult-content-box-container > .ult-content-box-anchor > .ult-content-box {
	border-style: none;
}

/**
 * Ettekanded design
 */

.ettekanded-list .blog-shortcode .dt-css-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
}

.ettekanded-list article {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    background: #fff;
    border: 1px solid rgba(153, 153, 153, 0.2);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(22, 63, 82, 0.065);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.ettekanded-list article:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 121, 192, 0.3);
    box-shadow: 0 16px 38px rgba(22, 63, 82, 0.11);
}

.ettekanded-list article::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    content: "";
    background: linear-gradient(
        180deg,
        #25778f,
        #69abb8
    );
}

.ettekanded-list article .ettekanded-post-categories {
	position: relative;
}

.ettekanded-list article .ettekanded-post-categories .fancy-categories {
	top: -30px;
	left: auto;
	right: 0;
	
}

.ettekanded-list article .ettekanded-post-categories .fancy-categories a { 
	background-color: rgba(0, 121, 192, 0.05);
	color: var(--the7-accent-color);
}

.ettekanded-list article .entry-title {
    max-width: 900px;
    margin: 0 0 16px;
    color: var(--the7-base-color);
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.ettekanded-list article .entry-title a {
    color: inherit;
    text-decoration: none;
}

.ettekanded-list article .entry-title a:hover {
    color: var(--the7-accent-color);
}

.ettekanded-list article .entry-excerpt {
    position: relative;
    display: -webkit-box;
    overflow: hidden;
    max-width: 900px;
    margin-bottom: 0;
    color: #222;
    font-size: 16px;
    line-height: 1.75;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.ettekanded-list article .post-details {
	box-shadow: none !important;
}

body.single.single-post #sidebar .sidebar-content,
.ettekanded-categories {
    margin-top: 30px;
	padding: 22px;
    background: rgba(0, 121, 192, 0.05);
    border: 1px solid rgba(25, 63, 79, 0.09);
    border-radius: 16px;
}

body.single.single-post #sidebar .sidebar-content {
	margin-top: 0;
}

body.single.single-post #sidebar .sidebar-content section,
.ettekanded-categories section {
	padding: 0 !important;
}

body.single.single-post #sidebar .sidebar-content ul,
.ettekanded-categories ul {
    display: flex;
    flex-wrap: wrap;
	justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.single.single-post #sidebar .sidebar-content li,
.ettekanded-categories li {
    margin: 0;
	padding: 0;
}

body.single.single-post #sidebar .sidebar-content a,
.ettekanded-categories a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 7px 13px;
    color: var(--the7-base-color);
    background: #fff;
    border: 1px solid rgba(153, 153, 153, 0.4);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

body.single.single-post #sidebar .sidebar-content a:hover,
body.single.single-post #sidebar .sidebar-content .current-cat a,
.ettekanded-categories a:hover,
.ettekanded-categories .current-cat a {
    border-color: var(--the7-accent-color);
}

body.single.single-post #content > article .uvc-main-heading h2 {
	font-size: 28px;
}

body.single.single-post #content > article .uvc-sub-heading {
	margin-top: 10px;
	font-family: Inter, Helvetica, Arial, Verdana, sans-serif;
	font-size: 24px;
	font-weight: 600 !important;
}

body.single.single-post #content > article .wpb_text_column {
	margin-top: 30px;
}

/**
 * Responsive design
 */

@media only screen and (max-width:1050px) {

	.masthead .mobile-header-bar .mini-wpml {
		order: -1;
	}
	
}

@media only screen and (max-width:992px) {

	body.single.single-post #content > article .uvc-main-heading h2 {
		font-size: 26px;
	}

	body.single.single-post #content > article .uvc-sub-heading {
		font-size: 22px;
	}

}

@media only screen and (max-width:778px) {

	body.single.single-post #content > article .uvc-main-heading h2 {
		font-size: 24px;
	}

	body.single.single-post #content > article .uvc-sub-heading {
		font-size: 20px;
	}

}

@media (max-width: 767px) {

    .ettekanded-list article {
        margin-bottom: 16px;
        border-radius: 14px;
    }

    .ettekanded-list article .entry-title {
        margin-bottom: 13px;
        font-size: 21px;
        line-height: 1.3;
    }

    .ettekanded-list article .entry-excerpt {
        font-size: 15px;
        line-height: 1.65;
    }

    .ettekanded-year-filter {
        padding: 16px;
    }

    .ettekanded-year-filter ul {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
        scrollbar-width: thin;
    }

    .ettekanded-year-filter li {
        flex: 0 0 auto;
    }

}