/*
Theme Name: H-Code Child
Theme URI: http://wpdemos.themezaa.com/h-code
Author: Themezaa
Author URI: http://www.themezaa.com
Description: Child theme for H-Code theme
License: Themeforest Split Licence
License URI: http://themeforest.net/licenses 
Template: h-code
Version: 1.1
Text Domain: h-code-child
*/

:root {
  --yellow: #f7d23d; /* Yellow */
}

html {
  scroll-behavior: smooth;
}

.nav-header-container {
	padding-top: 13px;
	padding-bottom: 13px;
}

.navbar-default .menu-button-orange {
	border-color: var(--yellow);
}
.navbar-default .menu-button-orange .icon-bar {
	background-color: var(--yellow);
}

.section-title {
	padding-bottom: 5% !important;
}

.navbar .hcode-header-logo > .logo-dark > .logo, 
.navbar .hcode-header-logo > .logo-light > .logo {
    max-width: 160px;
}

.lead-txt {
    font-size: 1em;
}

.page-id-17994 #breadcrumbs {
    display: none !important;
}

/* Slider */
a.tp-caption {
    filter: grayscale(98%);
}

.vc-column-innner-wrapper img {
    filter: grayscale(98%);
}

.vc-column-innner-wrapper img:hover,
.vc-column-innner-wrapper img:focus {
    filter: grayscale(10%);
}

.vc-column-innner-wrapper .rs-layer:hover img,
.vc-column-innner-wrapper .rs-layer:focus img {
    filter: grayscale(28%);
}



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

h1,
h2,
h3,
h4,
h5,
h6 {
	line-height: 1.46em;
    font-weight: 400;
    margin-bottom: 30px;
}

h1:not(:first-child),
h2:not(:first-child),
h3:not(:first-child),
h4:not(:first-child),
h5:not(:first-child),
h6:not(:first-child) {
    margin-top: 40px;
}

h2.section-title {
    font-weight: 400;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
    margin-bottom: 20px;
}

.entry-content img {
    border-radius: 5px;
}

.client-main .client-text {
    padding: 10px 30px;
    height: 100%;
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.btn.btn-medium {
    line-height: 1em !important;
}

.btn.highlight-button-black-border {
    border-width: 2px !important;
}

.wpcf7-form input.btn {
	color: black;
	background: white;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wpcf7-form input.btn:hover,
.wpcf7-form input.btn:focus {
    transform: translateY(-2px) scale(1.02);
	box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}
.wpcf7-form textarea,
.wpcf7-form input {
    border-radius: 5px;
}

.rotate-col {
	position: absolute;
	width: 500px;
	height: 500px;
	border-radius: 50%;
	background: transparent;
	top: auto;
	right: 0;
}


.rotate-wrapper {
    overflow: hidden;
    width: 480px;
    height: 480px;
    top: -80px;
    right: -15%;
    position: absolute;
}

.rotate-wrapper .logo {
	position: absolute;
	opacity: 0.2;
	left: 80px;
	top: 210px;
	z-index:1;
	max-width: 320px;
}
.rotate-pattern {
    animation: rotatePattern-desktop 30s linear infinite;
    object-fit: contain;
    opacity: 1;
    width: 100%;
    height: 100%;
    z-index: 5;
    top: 0;
    left: 0;
    position: absolute;
    max-width: 100%;
    display: block
}

.diagonal-lines {
    background-image: url('/images/patterns/d11.svg');
    background-repeat: repeat;
    background-position: center;
    opacity: 0.16;
    overflow: hidden;
    width: 100%;
    height: 100%;
    z-index: 4;
    top: 0px;
    left: 0;
    position: absolute;
	border-radius: 50%;
}




@keyframes rotatePattern-mobile {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@keyframes rotatePattern-desktop {
    from {
        transform: rotate(405deg);
    }

    to {
        transform: rotate(45deg);
    }
}

.rotate-pattern {
    animation: rotatePattern-desktop 20s linear infinite;
}

.portfolio-parallax a {
	pointer-events: none;
}

@media (min-wdith: 1440px) {
	.page-title-section {
		min-height: 200px;
	}
}

@media (max-width: 991px) {
	#services.services {
		background-color: #000000 !important;
	}
	
	.nav.navbar-nav > li > a {
        padding: 8px 30px;
    }
	
	.navbar-collapse {
		background: rgba(0,0,0,0.9);
		padding: 10px 0;
		border-bottom: 1px solid rgba(255,255,255,0.3);
	}
}

@media (max-width: 767px) {
	.rotate-col {
		position: relative;
		overflow: hidden;
		border: none;
		width: 320px;
		height: 320px;
		right: auto;
		margin-bottom: 30px;
	}
	.rotate-wrapper {
		top:0;
		right:0;
		width: 320px;
		height: 320px;
		overflow:hidden;
		position: relative;
	}
	
	.rotate-wrapper .logo {
		display:block;
		width: 200px;
		max-width: 100%;
		top: 143px;
		left: 60px;
	}
	
    .rotate-pattern {
        animation: rotatePattern-mobile 30s linear infinite;
    }
	
	.parallax-portfolio figcaption {
		opacity:1;
	}
	
    .nav-header-container {
        padding: 10px 30px;
    }

    .hcode-header-logo {}

    /* Text Image */
    .white-text-mobile .hcode-column-container {}

    .white-text-mobile .hcode-column-container * {}

    .entry-content h1 {
        font-size: 26px;
        line-height: 1.3em;
    }

    h2.section-title,
    h3.section-title,
    .vc-column-innner-wrapper h3.section-title {
        font-size: 22px !important;
    }

    .button.btn {
        margin-top: 1.1em;
    }

    .service-wrapper .col-md-3.col-xs-2 {
        text-align: center;
    }

    .btn.highlight-button-black-border {
        border-width: 1px !important;
    }
	
	.services .features-box-style2 .separator-line {
		margin: 7% auto 5% !important;
	}
}

@media (max-width: 480px) {
    .vc-column-innner-wrapper h3.section-title {
        font-size: 22px !important;
    }
}