/*!
Theme Name: MGIC
Theme URI: http://underscores.me/
Author: Prime Digital
Author URI: https://primedigital.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: mgic
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.

MGIC 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/
*/

:root {
    --mt-html-font-size: 62.5%;
    --mt-body-font-size: 1.6rem;
    
    --mt-white-color: #fff;
    --mt-dark-color:#1E1E1E;
    --mt-light-color: #58595B;
    --mt-primary-color: #000;
	--mt-secondary-color: #016135;

    
    --mt-dark-rgb : 30, 30, 30;
    --mt-primary-rgb: 0, 0, 0;
    --mt-secondary-rgb : 1, 97, 53;
    
    --mt-body-font-color: var(--mt-white-color);
    --mt-body-font-family: "Roboto", sans-serif;
    --mt-heading-font-family: "Roboto", sans-serif;
    --mt-heading-font-weight: 700;
    
    --mt-body-font-size: 1.6rem;
    --mt-body-font-weight: 400;
    --mt-heading-one-size: 3.2rem;
    --mt-heading-two-size: 2.8rem;
    --mt-heading-three-size: 2.4rem;
    --mt-heading-four-size: 2rem;
	--mt-heading-five-size: 1.8rem;
    
    --mt-banner_font_size: 8rem;
    --mt-nav-font-size : calc(var(--mt-body-font-size) * 1);
    
	--mt-header-height: 7.06rem;
    --mt-logo-width: 9.5rem;
	--mt-header-padding-top: 1rem;
	--mt-header-padding-bottom: 1rem;
    --mt-admin-bar-height: 0;
	
    --mt-large-padding: 6rem;
    --mt-medium-padding: 4rem;
	--mt-small-padding: 2rem;
    
    --mt-header-bgr: transparent;
    --mt-hamburger-color: var(--mt-white-color);
    
	--mt-transitions: all 0.3s ease-in-out 0s;
	
	--mt-field-height: 4rem;
	--mt-field-background: var(--mt-white-color);
	--mt-field-border: var(--mt-white-color);
	--mt-field-padding: 8px 15px;
	--mt-field-color: var(--mt-dark-color);
	--mt-field-focus-border: var(--mt-light-color);
	--mt-field-focus-background: var(--mt-light-color);
	
	
    --swiper-theme-color : var(--mt-secondary-color);
	--swiper-navigation-size: 20px;
	--swiper-navigation-button-size: 50px;
	--swiper-navigation-top-offset : calc(50% - var(--swiper-navigation-button-size) * 0.5);
	--swiper-navigation-sides-offset: -25px;
	--swiper-navigation-background: var(--mt-secondary-color);
	--swiper-navigation-color: var(--mt-white-color);
	--swiper-pagination-bullet-width: 30px;
	--swiper-pagination-bullet-height: 4px;
	--swiper-pagination-bullet-border-radius: 0;
    --swiper-pagination-bullet-inactive-color: var(--mt-light-color);
    --swiper-pagination-bullet-inactive-opacity: 1;
	
	--kb-duration: 6000ms; /* how long each Ken Burns runs */
    --kb-scale: 1.18; /* how much to zoom */
	
	--animate-duration: 1000ms;
}
@media (min-width: 992px) {
    :root {
		--mt-header-height: 11rem;
		--mt-header-padding-top: 1.5rem;
		--mt-header-padding-bottom: 1.5rem;
		--mt-logo-width: 19rem;
		--mt-heading-one-size: 5.4rem;
    	--mt-heading-two-size: 4.8rem;
    	--mt-heading-three-size: 3.2rem;
    	--mt-heading-four-size: 2.2rem;
		--mt-heading-five-size: 2rem;
        --mt-banner_font_size: 8rem;
		
		--mt-large-padding: 10rem;
    	--mt-medium-padding: 6rem;
		--mt-small-padding: 4rem;
		
		--mt-field-height: 5rem;
		--mt-field-padding: 10px 20px;
    }
}

@media (min-width: 1920px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1620px;
    }
}

.container-fluid {padding-left: 5rem; padding-right: 5rem;}

.admin-bar {
	--mt-admin-bar-height: 32px;
}
@media screen and (max-width: 782px) {
	.admin-bar {
		--mt-admin-bar-height: 46px;
	}
	.mt-site-header__sticky {
		--mt-admin-bar-height: 0px;
	}
}
@media (max-width: 767px) {
    
    
    
    .container-fluid, .container-xl {padding-left: 2.5rem; padding-right: 2.5rem;}
}

@media (max-width: 420px) {
 
    
    .container-fluid, .container-xl {padding-left: 2.5rem; padding-right: 2.5rem;}
}

@media (min-width: 1200px) {
    .col-xl-1 {
        flex: 0 0 auto;
        width: 12.5%;
    }
}

.hamburger {
  padding: 5px 0;
  display: inline-block;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 6px 0 0;
  overflow: visible; position: relative; z-index: 999; }
  .hamburger:hover {
    opacity: 0.7; }
  .hamburger.is-active:hover {
    opacity: 0.7; }
  .hamburger.is-active .hamburger-inner,
  .hamburger.is-active .hamburger-inner::before,
  .hamburger.is-active .hamburger-inner::after {
    background-color: var(--mt-white-color); }

.hamburger-box {
  width: 30px;
  height: 12px;
  display: inline-block;
  position: relative; }

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px; }
  .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: var(--mt-white-color);
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease; }
  .hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block; }
  .hamburger-inner::before {
    top: -10px; }
  .hamburger-inner::after {
    bottom: -10px; }


/*
   * Squeeze
   */
.hamburger--squeeze .hamburger-inner {
  transition-duration: 0.075s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  .hamburger--squeeze .hamburger-inner::before {
    transition: top 0.075s 0.12s ease, opacity 0.075s ease; }
  .hamburger--squeeze .hamburger-inner::after {
    transition: bottom 0.075s 0.12s ease, transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19); }

.hamburger--squeeze.is-active .hamburger-inner {
  transform: rotate(45deg);
  transition-delay: 0.12s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  .hamburger--squeeze.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.075s ease, opacity 0.075s 0.12s ease; }
  .hamburger--squeeze.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.075s ease, transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1); }





html { font-size: var(--mt-html-font-size);  scroll-behavior: smooth; } /* =10px */
body {--mt-body-padding-top: calc(var(--mt-header-height) + var(--mt-admin-bar-height)); -webkit-font-smoothing: antialiased; margin:0; background: var(--mt-primary-color); font-family: var(--mt-body-font-family); font-size: var(--mt-body-font-size); font-weight: var(--mt-body-font-weight); color: var(--mt-body-font-color); line-height: 1.7; padding-top: var(--mt-header-height);}

h1, .mt-h1 {font-family:var(--mt-heading-font-family); font-size:var(--mt-heading-one-size); font-weight:var(--mt-heading-font-weight); color:var(--mt-heading-font-color); text-transform:uppercase; margin-bottom: 0;}
h2, .mt-h2 {font-family:var(--mt-heading-font-family); font-size:var(--mt-heading-two-size); font-weight:var(--mt-heading-font-weight); color:var(--mt-heading-font-color); margin-bottom:3rem; text-transform:uppercase;}
h3, .mt-h3 {font-family:var(--mt-body-font-family); font-weight:var(--mt-heading-font-weight); font-size:var(--mt-heading-three-size); color:var(--mt-heading-font-color); text-transform:uppercase; letter-spacing: 4px;}
h4, .mt-h4 {font-family:var(--mt-heading-font-family); font-weight:var(--mt-heading-font-weight); font-size:var(--mt-heading-four-size); color:var(--mt-heading-font-color); text-transform: uppercase;}
h5, .mt-h5 {font-family:var(--mt-heading-font-family); font-size:var(--mt-heading-five-size); font-weight:var(--mt-heading-font-weight); color:var(--mt-heading-font-color);}

p {margin-bottom:calc(var(--mt-body-font-size) * 1.2); color:inherit;}
a {text-decoration: none; color: var(--mt-link-color);}
a:hover {text-decoration: none; color: var(--mt-link-hover-color);}


.mt-section__header {margin: 0 0 5rem;}
.mt-section__header .mt-section-header__title {margin: 0;}

.mt-label {margin: 0 0 10px; text-transform: uppercase;}
.mt-field {width: 100%; height: var(--mt-field-height); padding: var(--mt-field-padding); background: var(--mt-field-background); border: solid 1px var(--mt-field-border); color: var(--mt-field-color);}
textarea.mt-field {height: 200px;}
.mt-field:focus {outline: none; border-color: var(--mt-field-focus-color); background: var(--mt-field-focus-background);}
.mt-btn {padding: 1rem 3rem; text-decoration: none; border-radius: 0; border: solid 2px transparent; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin: 3rem auto 0; transition: var(--mt-transitions);}
.mt-btn__secondary {background: var(--mt-secondary-color); color: var(--mt-white-color);}
.mt-btn__secondary:hover {background: transparent; border-color: var(--mt-secondary-color); color: var(--mt-secondary-color);}
.mt-btn__trans {border-color: var(--mt-white-color);}
.mt-btn__trans:hover {background: var(--mt-secondary-color); border-color: var(--mt-secondary-color);}

.mt-large_pt {padding-top: var(--mt-large-padding);}
.mt-large_pb {padding-bottom: var(--mt-large-padding);}
.mt-medium_pt {padding-top: var(--mt-medium-padding);}
.mt-medium_pb {padding-bottom: var(--mt-medium-padding);}
.mt-small_pt {padding-top: var(--mt-small-padding);}
.mt-small_pb {padding-bottom: var(--mt-small-padding);}
.mt-medium_padding_x {padding-left: var(--mt-medium-padding); padding-right: var(--mt-medium-padding);}
.mt-medium_padding {padding: var(--mt-medium-padding);}

.mt-large_mt {margin-top: var(--mt-large-padding);}
.mt-large_mb {margin-bottom: var(--mt-large-padding);}
.mt-medium_mt {margin-top: var(--mt-medium-padding);}
.mt-medium_mb {margin-bottom: var(--mt-medium-padding);}
.mt-small_mt {margin-top: var(--mt-small-padding);}
.mt-small_mb {margin-bottom: var(--mt-small-padding);}
.mt-small {font-size: 1.4rem;}
.mt-large {font-size: 1.8rem;}

.mt-dark_header {
    --mt-hamburger-color: var(--mt-white-color);
}

.mt-sticky_header {
    --mt-header-bgr: rgba(var(--mt-dark-rgb), 0.6);
}

.mt-plain_bgr {
    --mt-body-font-color        : var(--mt-dark-color);
    --mt-heading-font-color     : var(--mt-dark-color);
    --mt-link-color             : var(--mt-primary-color);
}

.mt-primary_bgr {
    --mt-body-font-color        : var(--mt-plain-color);
    --mt-heading-font-color     : var(--mt-plain-color);
    --mt-link-color             : var(--mt-plain-color);
	--bs-body-color				: var(---mt-plain-color);
	--bs-border-color			: var(---mt-light-color);
}

.mt-light_bgr {
    --mt-body-font-color        : var(--mt-dark-color);
    --mt-heading-font-color     : var(--mt-dark-color);
    --mt-link-color             : var(--mt-primary-color);
}

.mt-dark_bgr {
    --mt-body-font-color        : var(--mt-white-color);
    --mt-heading-font-color     : var(--mt-white-color);
    --mt-link-color             : var(--mt-white-color);
	--mt-link-hover-color       : var(--mt-white-color);
	--bs-body-color				: var(---mt-plain-color);
	--bs-border-color			: var(---mt-light-color);
}

.mt-has_bgr {
    --mt-body-font-color        : var(--mt-white-color);
    --mt-heading-font-color     : var(--mt-white-color);
}
.mt-site__footer {
	--mt-body-font-color		: var(--mt-light-color);
	--mt-link-color             : var(--mt-light-color);
	--mt-link-hover-color       : var(--mt-white-color);
}
.mt-post-entry__header {
	--mt-link-color             : var(--mt-light-color);
	--mt-link-hover-color       : var(--mt-white-color);
}
.mt-post-entry__title {
	--mt-link-color             : var(--mt-white-color);
}
.mt-thumb {margin: 0;}
.mt-thumb img {width: 100%; max-width: 100%; height: auto;}
.mt-thumb_4_3 img {aspect-ratio: 4/3; object-fit: cover;}
.mt-plain_bgr {background: var(--mt-white-color); color: var(--mt-body-font-color);}
.mt-dark_bgr {background: var(--mt-dark-color); color: var(--mt-body-font-color);}
.mt-light_bgr {background: var(--mt-light-color);}
.mt-primary_bgr {background: var(--mt-primary-color);}
.mt-primary_light_bgr {background: var(--mt-primary-light);}

.mt-primary_color {color: var(--mt-primary-color) !important;}
.mt-plain_color {color: var(--mt-white-color) !important;}

.mt-section_has-bgr {background-position: center; background-repeat: no-repeat; background-size: cover;}
.mt-bgr__fixed {background-attachment: fixed;}

.mt-wrapper {position: relative; z-index: 1;}

.mt-site__header {position: fixed; left: 0; right: 0; top: var(--mt-admin-bar-height); padding: var(--mt-header-padding-top) 0 var(--mt-header-padding-bottom); z-index: 99; transition: var(--mt-transitions);}
.mt-site-header__logo {width: var(--mt-logo-width);}
.mt-site-header__logo img {max-width: 100%;}


.mt-sticky {position: sticky; top: 100px;}


.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
    background-color: var(--mt-hamburger-color); }


.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    background-color: var(--mt-hamburger-color); }


.mt-banner__has-overlay {position: relative;}
.mt-banner__has-overlay:after {content: ''; position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: rgba(var(--mt-primary-rgb), 0.5);}


.mt-banner_slide .mt-banner__thumb img {transition:all 0.3s ease-in-out 0s; }
.mt-banner_slide .mt-banner__thumb.zoom img {transform:scale(1.2); transform-origin: 50% 50%;}
.mt-banner_slide .mt-banner__thumb img {transition:transform 10s ease-in-out 0s; display:block; transform: scale(1.2); transform-origin: 50% 50%;}
.mt-section__banner .swiper-slide-active img {transform: scale(1);}
.mt-main-slider__pagination {--swiper-pagination-bullet-inactive-color: var(--mt-white-color); position: absolute !important; left: 0; right: 0; bottom: 50px !important;}
@media (max-width: 767px) {
	.mt-site-header__navigation {display: none; position: fixed; left: 0; top: calc(var(--mt-header-height) + var(--mt-admin-bar-height)); right: 0; height: 100vh; background: var(--mt-primary-color); padding-top: 3rem;}
	.mt-site-header-navigation__list {text-align: center;}
	.mt-site-header-navigation__list li {padding:1rem;}
	.mt-section__cta {background-image: none !important;}
	.mt-section__cta .container-xl {padding-left:0; padding-right: 0;}
	.mt-site-footer-widget_content_ {display: none;}
}

.mt-site-header-navigation__list {list-style: none; text-transform: uppercase; margin: 0; padding: 0; font-family: var(--mt-heading-font-family); font-weight: var(--mt-heading-font-weight); font-size: var(--mt-nav-font-size);}

.mt-site-header-navigation__list li:last-child {padding-right: 0;}
.mt-site-header-navigation__list li a {color: var(--mt-white-color); text-decoration: none; cursor: pointer; padding: .5rem 1rem;}
.mt-site-header-navigation__list li.current-menu-item a, .mt-site-header__navigation li a:hover {color: var(--mt-secondary-color);}
.mt-banner__thumb img {min-height: 50vh; object-fit: cover;}
body:not(.home) .mt-banner__thumb img {min-height: 50vmin; max-height: 60vmin;}
.mt-banner__caption {position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index:2;}
.home .mt-banner__caption .mt-h1 {font-size: calc(var(--mt-heading-one-size) * 1.5);}
.mt-no__banner {height: 60vh;}
.mt-about__content, .mt-about__content_2 {position: relative;}
.mt-about__content:after, .mt-about__content_2:after {content:''; position: absolute; background-image: url('images/about-section-shape.svg'); background-repeat: no-repeat; background-position: top right;}

.mt-about__content .mt-entry_content, .mt-about__content_2 .mt-entry_content {position: relative; z-index: 2;}
.mt-has-hidden__header {position: relative;}
.mt-product-card__thumb a {display: block;}
.mt-card-hidden__header {position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: rgba(var(--mt-primary-rgb), 0.5); opacity: 0; visibility: hidden; transition: var(--mt-transitions); pointer-events: none;}
.mt-has-hidden__header:hover .mt-card-hidden__header {opacity: 1; visibility: visible;}
.mt-project-card__thumb {height: 100%;}
.mt-project-card__thumb img {aspect-ratio: 4 / 3; height: 100%; object-fit: cover;}

.swiper-pagination {position: static;}
.swiper-button-next, .swiper-button-prev {border-radius: 50%; width: calc(var(--swiper-navigation-size) * 2.5); height: calc(var(--swiper-navigation-size) * 2.5); background: var(--swiper-navigation-background); }
.mt-section__cta {border-top: solid 1px var(--mt-dark-color);}

.mt-site-footer-widget__title {margin: 0 0 30px;}
.mt-site-footer-widget__social ul {list-style: none; display: flex; column-gap: 20px; padding-left: 0;}
.mt-site-footer-widget__social ul li a:hover svg path {fill: var(--mt-white-color);}

.mt-column__icon {background: var(--mt-secondary-color); padding: 30px; width: 150px; height: 150px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 30px;}
.mt-column__icon svg {width: 100%; height: auto;}
.mt-column__icon svg path {fill: var(--mt-white-color);}

.mt-post {border-bottom: solid 1px var(--mt-dark-color);}
.mt-post-entry__header {margin-bottom: 40px;}
.mt-post-entry__title {margin-bottom: 10px;}
.post-navigation {padding-top: 4rem; border-top: solid 1px var(--mt-dark-color); margin-top: 4rem;}
.nav-links {display: flex; justify-content: space-between;}

@media (min-width: 768px) {
	.mt-about__content:after{left:0; top: 0; right: 50%; bottom: 0; }
	.mt-about__content_2:after  {left:50%; top: 0; right: 0; bottom: 0; }
	.mt-service-card__thumb img {min-height: 400px; object-fit: cover;}
	.mt-service-card__header {min-height: 80px;}
	.mt-projects__grid {display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(10, 1fr); grid-column-gap: calc(var(--bs-gutter-x) * 2); grid-row-gap: calc(var(--bs-gutter-x) * 2);}
	.mt-projects_grid_9 .mt-project-card__1 { grid-area: 1 / 1 / 5 / 7; }
	.mt-projects_grid_9 .mt-project-card__2 { grid-area: 1 / 7 / 3 / 10; }
	.mt-projects_grid_9 .mt-project-card__3 { grid-area: 1 / 10 / 3 / 13; }
	.mt-projects_grid_9 .mt-project-card__4 { grid-area: 3 / 7 / 5 / 10; }
	.mt-projects_grid_9 .mt-project-card__5 { grid-area: 3 / 10 / 8 / 13; }
	.mt-projects_grid_9 .mt-project-card__6 { grid-area: 5 / 5 / 8 / 10; }
	.mt-projects_grid_9 .mt-project-card__7 { grid-area: 5 / 1 / 11 / 5; }
	.mt-projects_grid_9 .mt-project-card__8 { grid-area: 8 / 5 / 11 / 9; }
	.mt-projects_grid_9 .mt-project-card__9 { grid-area: 8 / 9 / 11 / 13; }
	.mt-projects__grid_4 {display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); grid-column-gap: calc(var(--bs-gutter-x) * 2); grid-row-gap: calc(var(--bs-gutter-x) * 2);}

	.mt-projects__grid_4 .mt-project-card__1 { grid-area: 1 / 1 / 3 / 3; }
	.mt-projects__grid_4 .mt-project-card__2 { grid-area: 1 / 3 / 2 / 4; }
	.mt-projects__grid_4 .mt-project-card__3 { grid-area: 2 / 3 / 3 / 4; }
	.mt-projects__grid_4 .mt-project-card__4 { grid-area: 1 / 4 / 3 / 5; }
	
	.mt-project-card__thumb:not(.mt-thumb_4_3) img {aspect-ratio: unset;}
	.mt-grid {display: grid; grid-column-gap: calc(var(--bs-gutter-x) * 2); grid-row-gap: calc(var(--bs-gutter-x) * 2);}
	.mt-grid__3 {grid-template-columns: repeat(3, 1fr);}
	.mt-grid__4 {grid-template-columns: repeat(4, 1fr);}
	.mt-site-header__navigation {display: block; position: static; background: none;}
	.mt-section__cta {background-position: right center; background-repeat: no-repeat; background-size: 50% auto;}
	.mt-thumb-desktop__hidden {visibility: hidden; min-height: 60vh;}
	.table>:not(caption)>*>* {padding: 15px 10px !important;}
}

@media (min-width: 992px) {
	.grid-cols-5 {grid-template-columns: repeat(5, 1fr);}
}

.mt-error {
    color: red;
    font-size: 14px;
    margin-top: 4px;
    display: block;
}
.mt-invalid {
    border-color: red;
}
