/*

Tooplate 2124 Vertex

https://www.tooplate.com/view/2124-vertex

*/
@font-face {
    font-family: 'Roboto';
    src: local('Roboto Bold'), local('Roboto-Bold'),
    url('../fonts/Roboto-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: local('Roboto Light'), local('Roboto-Light'),
    url('../fonts/Roboto-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: local('Roboto Black'), local('Roboto-Black'),
    url('../fonts/Roboto-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: local('Roboto Medium'), local('Roboto-Medium'),
    url('../fonts/Roboto-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: local('Roboto'), local('Roboto-Regular'),
    url('../fonts/Roboto-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
/* Fonts END */
/* Loader 
https://ihatetomatoes.net/create-custom-preloading-screen/
*/
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
}
#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #73b043;

    -webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */

    z-index: 1002;
}

    #loader:before {
        content: "";
        position: absolute;
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;
        border-radius: 50%;
        border: 3px solid transparent;
        border-top-color: #73b043;

        -webkit-animation: spin 3s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
        animation: spin 3s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
    }

    #loader:after {
        content: "";
        position: absolute;
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        border-radius: 50%;
        border: 3px solid transparent;
        border-top-color: #73b043;

        -webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
          animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
    }

    @-webkit-keyframes spin {
        0%   { 
            -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: rotate(0deg);  /* IE 9 */
            transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
        }
        100% {
            -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: rotate(360deg);  /* IE 9 */
            transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
        }
    }
    @keyframes spin {
        0%   { 
            -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: rotate(0deg);  /* IE 9 */
            transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
        }
        100% {
            -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: rotate(360deg);  /* IE 9 */
            transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
        }
    }

    #loader-wrapper .loader-section {
        position: fixed;
        top: 0;
        width: 51%;
        height: 100%;
        background: #222222;
        z-index: 1001;
        -webkit-transform: translateX(0);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: translateX(0);  /* IE 9 */
        transform: translateX(0);  /* Firefox 16+, IE 10+, Opera */
    }

    #loader-wrapper .loader-section.section-left {
        left: 0;
    }

    #loader-wrapper .loader-section.section-right {
        right: 0;
    }

    /* Loaded */
    .loaded #loader-wrapper .loader-section.section-left {
        -webkit-transform: translateX(-100%);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: translateX(-100%);  /* IE 9 */
                transform: translateX(-100%);  /* Firefox 16+, IE 10+, Opera */

        -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);  
                transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    }

    .loaded #loader-wrapper .loader-section.section-right {
        -webkit-transform: translateX(100%);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: translateX(100%);  /* IE 9 */
                transform: translateX(100%);  /* Firefox 16+, IE 10+, Opera */

-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);  
        transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    }
    
    .loaded #loader {
        opacity: 0;
        -webkit-transition: all 0.3s ease-out;  
                transition: all 0.3s ease-out;
    }
    .loaded #loader-wrapper {
        visibility: hidden;

        -webkit-transform: translateY(-100%);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: translateY(-100%);  /* IE 9 */
                transform: translateY(-100%);  /* Firefox 16+, IE 10+, Opera */

        -webkit-transition: all 0.3s 1s ease-out;  
                transition: all 0.3s 1s ease-out;
    }

/* General */

* {  box-sizing: border-box; }
html, body { overflow-x: hidden; }
body { 
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 300;
    background-color: #333;
    color: #FFF;
    margin: 0;
}
a { color: #fff; text-decoration: none; }
a:hover {  color: #73b043; }
button { cursor: pointer; }
a, button { transition: all 0.3s ease; }
ul {
    margin: 0;
    padding: 0;
}

.tm-media-span a, .mission.box-white a {
    color: #FFF;
    font-size: 14px;
    font-weight: 300;
    padding: 10px 20px;
    border: 1px solid #fff;
    display: inline-block;
}

.editor a {
    color: #FFF;
    font-size: 14px;
    font-weight: 300;
    padding: 10px 20px;
    border: 1px solid #fff;
    display: inline-block;
}

h2 {
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 300;
    color: #fff;
}
h3, h4, h5, h6 {
    font-weight: 700;
    color: #fff;
    font-size: 14px;
    line-height: 22px;
}

p {
    line-height: 1.8;
    margin-bottom: 20px;
}

span {
    line-height: 1.8;
}
footer {
    padding: 100px 100px;
    background-color: #222;
    color: #EEE;
}
footer .copyright {
    float: left;
}
footer .social {
    float: right;
    margin-right: 20px;
}

.social-list li:not(:last-child) {
    margin-right: 1.625em;
}
.social-list li {
    transition: 0.2s linear;
    -webkit-transition: 0.2s linear;
    -moz-transition: 0.2s linear;
    opacity: .5;
    display: inline-block;
    margin: 0;
    margin-right: 0px;
    margin-right: 0px;
}

.mySocials img {
    width: 26px;
    height: auto;
}
/* Icon */
footer .footerNavig {
    float: left;
    margin-left: 100px;
}

footer .footerNavig li {
    list-style: none;
    display: inline-block;
    margin-right: 15px;
}
/* tm */
.tm-btn {
    display: inline-block;
    border: 1px solid #666;
    background-color: transparent;
    color: #999;
    padding: 14px 40px;
    font-size: 20px;
}

.tm-btn:hover {
    color: #73b043;
    border-color: #73b043;
}

.tm-text-small { font-size: 0.9em; }
.tm-text-center { text-align: center; }
.tm-text-right { text-align: right; }
.tm-text-primary { color: #73b043; }
.tm-text-secondary { color: #9999CC; }
.tm-text-link { color: #999; }
.tm-text-link:hover { color: #73b043; }
.tm-relative { position: relative; }

.tm-hr {
    border-color: #555;
    max-width: 340px;
    width: 100%;
}

.tm-mr {
    margin-right: 0;
    margin-left: auto;
}

.tm-ml {
    margin-left: 0;
    margin-right: auto;
}

.tm-my-50 {
    margin-top: 50px;
    margin-bottom: 50px;
}
.tm-mb-20 { margin-bottom: 20px; }
.tm-mb-50 { margin-bottom: 50px; }
.tm-mb-80 { margin-bottom: 80px; }
.tm-mb-130 { margin-bottom: 130px; }
.tm-mb-200 { margin-bottom: 200px; }

/* Layout */
.tm-section { display: flex; }

.tm-section-col {
    flex: 0 0 50%;
    width: 50%;
}

.tm-content {
    padding: 180px 60px 70px 100px;
    box-sizing: border-box;
}

.tm-content-small { padding: 190px 120px 70px; }
.tm-content-small-top { padding-top: 130px; }

.tm-row {
    display: flex;
    margin-left: -25px;
    margin-left: -25px;
}

.tm-col {
    flex: 0 0 50%;
    width: 50%;
    padding: 25px;
    box-sizing: border-box;
}

/* Brand */
.tm-brand {
    position: fixed;
    bottom: 80px;
    right: 70px;
    width: 300px;
    height: 240px;
    margin-top: 0;
    margin-bottom: 0;
    background-color: #333;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0.8;
}
.tm-brand img {
    max-width: 80%;
    margin: auto 0;
}

/* Nav */
.navbar-toggler { display: none; }

.tm-nav {
    position: fixed;
    top: 0;
    left: -1px;
    width: 50%;
    z-index: 1000;
}

.tm-nav ul {
    background-color: #444;
    display: flex;
    justify-content: space-around;
}

.nav-item { list-style: none; }

.nav-link {
    color: white;
    padding-top: 40px;
    padding-bottom: 40px;
    display: block;
    font-size: 16px;
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: #73b043;
}

/* Introduction */
.tm-media {
    display: flex;
    align-items: flex-start;
    margin-bottom: 70px;
}

.tm-media img {
    width: 65px;
    height: auto;
    margin: 30px;
}

.tm-media-body {  padding-left: 30px; }

.tm-media-span {
    margin-bottom: 15px;
    display: block;
    text-align: right;
}

/* ========== Gallery Layout ========== */

.tm-gallery-container {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.tm-gallery-header {
    margin-left: 15px;
    margin-right: 15px;
}

/* Keep exactly 3 tiles per row on wide screens */
.tm-gallery {
    position: relative;
    list-style: none;
    text-align: left;
    overflow: hidden;

    /* Flex grid */
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 30px;

    /* Enforce 3 across: (3 × 300) + (2 × 30 gap) = 990px */
    max-width: 990px;
    margin-left: auto;
    margin-right: auto;
}

/* Show/Hide classes used by JS pagination */
.tm-gallery .hide { display: none !important; }
.tm-gallery .show { display: block; }

/* Each tile ~300×300, always square */
.tm-gallery figure {
    position: relative;
    z-index: 50;
    overflow: hidden;
    margin: 0;
    width: 300px!important;           /* target width */
    max-width: 100%;
    aspect-ratio: 1 / 1;    /* perfect square */
    cursor: pointer;
    text-align: center;
}

/* Image fills the square neatly */
.tm-gallery figure img {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;      /* crop to square */
    opacity: 1;
}

/* Caption overlay basics */
.tm-gallery figure figcaption {
    padding: 1em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.tm-gallery figure figcaption::before,
.tm-gallery figure figcaption::after {
    pointer-events: none;
}

.tm-gallery figure figcaption,
.tm-gallery figure figcaption > a {
    position: absolute;
    inset: 0;               /* top:0; right:0; bottom:0; left:0 */
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

/* Anchor covers the item for Magnific Popup trigger */
.tm-gallery figure figcaption > a {
    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
}

.tm-gallery figure h3 {
    font-weight: 300;
    margin: 0;
}

.tm-gallery figure h2,
.tm-gallery figure p {
    margin: 0;
}

.tm-gallery figure p {
    letter-spacing: 1px;
    font-size: 68.5%;
    text-transform: none;
}

/* ========== Effect: Goliath ========== */

figure.effect-goliath {
    background: #73b043;
    height: 100%;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

figure.effect-goliath img,
figure.effect-goliath h3 {
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
}

figure.effect-goliath img {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

figure.effect-goliath h3,
figure.effect-goliath p {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 30px 10px;
    text-align: center;
    width: 100%;
}

/* Fade/slide in the paragraph on hover */
figure.effect-goliath p {
    font-size: 90%;
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(0,50px,0);
    transform: translate3d(0,50px,0);
}

/* Hover motion tuned for ~300px height */
figure.effect-goliath:hover img {
    -webkit-transform: translate3d(0,-220px,0);
    transform: translate3d(0,-220px,0);
}

figure.effect-goliath:hover h3 {
    -webkit-transform: translate3d(0,-120px,0);
    transform: translate3d(0,-120px,0);
}

/* Optional: Make it responsive below 1024px/640px */
@media (max-width: 1024px) {
    .tm-gallery { max-width: 660px; }   /* (2 × 300) + (1 × 30) */
}
@media (max-width: 640px) {
    .tm-gallery { max-width: 300px; }   /* 1 column */
}


figure.effect-goliath:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

.tm-gallery .tm-gallery-item.hide{ display: none; }

.tm-gallery .tm-gallery-item.show{
	display: block;
	animation: show .5s ease;
}

.tm-paging {
    display: flex;
    justify-content: center;
}

.tm-paging-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    color: #999;
    background-color: #222;
    margin: 7.5px;
}

.tm-paging-link:hover,
.tm-paging-link.active {
    background-color: #444444;
}

@keyframes show {
    0% {
    	opacity: 0;
    	transform: scale(0.9);
    }
    100% {
    	opacity: 1;
    	transform: scale(1);
    }
}

/* Contact */
.tm-contact-form {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
.form-group { margin-bottom: 40px; }

.form-control {
    color: #999;
    font-size: 14px;
    font-family: 'Kumbh Sans', sans-serif;
    padding: 20px 0;
    font-weight: 300;
    width: 100%;
    border: none;
    border-bottom: 1px solid #666;
    background: transparent;
}

.form-control:focus {
    color: #FFF;
    background: transparent;
}

.mapouter {
    position: absolute;
    top: 240px;
    left: 0;
}

.gmap-canvas { width: 340px; }

.tm-copyright {
    margin-left: -50px;
    margin-bottom: -50px;
}

@media (max-width: 1200px) {
    .tm-nav { width: 0; }
    .tm-nav ul {
        position: relative;
        left: -280px;
        flex-direction: column;
        padding-top: 15px;
        padding-bottom: 15px;        
        width: 280px;
        transition: all 0.5s ease;
    }

    .tm-nav ul.show { left: 0; }

    .nav-link {
        text-align: center;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .navbar-toggler {
        display: block;
        width: 50px;
        height: 45px;
        font-size: 1.2rem;
        background-color: #444444;
        border: none;
        color: #999999;
        outline: none;
    }

    .navbar-toggler:hover { color: #73b043; }

    .tm-content {
        padding: 50px 20px;
    }

    .tm-copyright { margin-left: 15px; }
}

@media (max-width: 992px) {
    .tm-brand { 
        position: static;
        margin-left: auto;
        margin-right: 0;
    }

    .tm-gallery figure { width: 33.33%; }

    figcaption h2 { font-size: 1.4rem; }

    .tm-section { flex-direction: column-reverse; }

    .tm-section-col {
        flex: 0 0 100%;
        width: 100%;
    }

    .tm-parallax { min-height: 360px; margin-bottom: 0!important; }

    #contact .tm-parallax {
        margin-bottom: 425px;
    }
    
    .mapouter {
        top: 360px;
        width: 100%;
    }

    .gmap-canvas { width: 100%; }

    .tm-copyright {
        margin-bottom: 0;
        padding: 30px 60px 30px 30px;
        margin-left: 0;
        height: 86px;
    }
}

@media (max-width: 600px) {
    .tm-row { flex-direction: column; }

    .tm-col {
        flex: 0 0 100%;
        width: 100%;
    }

    .tm-media img {
        width: 150px;
        height: 150px;
    }

    footer .footerNavig {
        clear: both;
        margin-left: 0;
    }
    footer .footerNavig li {
        padding: 10px 0;
    }
    footer .social {
        float: right;
        margin-right: -30px;
        margin-top: -12px;
    }
}

@media (max-width: 560px) {
    .tm-sm-mt-30 { margin-top: 30px; }
}

@media (max-width: 516px) {
    .tm-gallery { display: block; }

    .tm-gallery figure {
        float: left;
        width: 45%;
        margin: 2.5%;
        min-width: 1px;
    }

    figure h2 { font-size: 1rem; }
}

@media (max-width: 420px) {
    .tm-media img {
        width: 100px;
        height: 100px;
    }
}