/*
    
TemplateMo 556 Catalog-Z

https://templatemo.com/tm-556-catalog-z

*/

#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: 200px;
    height: 200px;
    margin: -100px 0 0 -100px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #70ac42;

    -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: #377a17;

        -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: #175306;

        -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;
    }


p { line-height: 1.8; }

a { 
    text-decoration: none;
    transition: all 0.3s ease; 
}
a:hover { color:#666666; }
.container-fluid { max-width: 1770px; }
.tm-container-small { max-width: 1050px; }
.btn { border-radius: 0; }
.btn-primary {
    background-color: #999999;
    border: 0;
    border-radius: 3px;
    padding: 12px 50px 14px;
    font-size: 1.2rem;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color:#666666;
}

.btn-primary.disabled, 
.btn-primary:disabled {
    background-color: #666666;
    pointer-events: all;
    cursor: not-allowed;
}



/* Custom Secondary Button Style */
.btn-secondary-custom {
    color: #666666;             /* Text color */
    background-color: #fff;     /* Background color */
    border: 1px solid #666666;  /* Thin border in #666666 color */
    padding: .375rem .75rem;    /* Standard Bootstrap button padding */
    border-radius: .25rem;      /* Standard Bootstrap button border-radius */
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out; /* Smooth transitions */
}

/* Hover and Focus states for the Custom Secondary Button */
.btn-secondary-custom:hover,
.btn-secondary-custom:focus {
    color: #fff;               /* Text color on hover */
    background-color: #666666; /* Background color on hover */
    border-color: #666666;    /* Border color on hover */
}



.form-control {
	padding: 10px 20px;
	width: 100%;
	height: auto;
}

.form-group { margin-bottom: 25px; }
.tm-btn-big { padding: 12px 90px 14px; }

.navbar-toggler:focus { box-shadow: none;
}
.navbar-brand {
    color: #3399CC;
    font-size: 1.6rem;
}

.navbar-brand i { font-size: 2rem; }

.tm-hero {
    min-height: 700px;
	
    background: transparent;
}

.tm-mt-60 { margin-top: 60px; }
.tm-mb-50 { margin-bottom: 50px; }
.tm-mb-74 { margin-bottom: 74px; }
.tm-mb-90 { margin-bottom: 90px; }
.tm-text-primary { color: #666666; }
.tm-text-secondary { color: #CC6699; }
a.tm-text-primary:hover { color:#666666; }
.tm-bg-gray { background-color: #EEEEEE; }
.tm-input-paging {
    width: 40px;
    border-radius: 0;
    border: 1px solid #CCCCCC;
    background: #f4f4f4;
    text-align: center;
}

.nav-item { margin-right: 10px; }
.nav-item:last-child { margin-right: 0; }

.nav-link {
    color: #666666;
    border-bottom: 2px solid transparent;
    font-size: .9rem;
}

.nav-link-1.active,
.nav-link-1:hover {
    border-color: #666666;
}

.nav-link-2.active,
.nav-link-2:hover {
    border-color: #666666;
}

.nav-link-3.active,
.nav-link-3:hover {
    border-color: #666666;
}

.nav-link-4.active,
.nav-link-4:hover {
    border-color: #666666;
}





.tm-search-input {
    width: 360px;
    border-radius: 0;
    padding: 12px 15px;
    color: #009999;
    border: none;
}

.tm-search-input:focus {
    border-color: #009999;
    box-shadow: 0 0 0 0.25rem rgb(0 153 153 / 0.25);
}

.tm-search-input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #009999;
    opacity: 1; /* Firefox */
}
  
.tm-search-input::-ms-input-placeholder { /* Microsoft Edge */
    color: #009999;
}

.tm-search-btn {
    color: white;
    background-color: #009999;
    border: none;
    width: 100px;
    height: 50px;
    margin-left: -1px;
}

p, .tm-text-gray { color: #999; }
.tm-text-gray-light { color: #CCC; }
.tm-text-gray-dark { color: #666; }

.tm-video-item {
    position: relative;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
}

/* Inside templatemo-style.css */

.tm-video-item img {
    position: relative;
    display: block;
    width: 100%; /* Make the image take the full width of its container */
    height: 200px; /* Set a fixed height for all images (adjust as needed) */
    object-fit: cover; /* This is crucial for cropping based on the shortest dimension and filling the space */
    opacity: 0.8; /* Existing style */
}


.tm-video-item figcaption {
    padding: 2em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.tm-video-item figcaption::before,
.tm-video-item figcaption::after {
    pointer-events: none;
}

.tm-video-item figcaption,
.tm-video-item figcaption > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tm-video-item figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.tm-video-item h2 {
    word-spacing: -0.15em;
    font-weight: 300;
}

.tm-video-item h2,
.tm-video-item p {
    margin: 0;
}

.tm-video-item p {
    letter-spacing: 1px;
    font-size: 68.5%;
}

.tm-gallery div.d-block { animation: show .5s ease; }

@keyframes show {
    0% {
    	opacity: 0;
    	transform: scale(0.9);
    }
    100% {
    	opacity: 1;
    	transform: scale(1);
    }
}

.tm-paging-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    font-size: 1.1rem;
    color: #999999;
    background-color: #EEEEEE;
    margin: 10px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tm-paging-link:hover,
.tm-paging-link.active {
    background-color: #666666;
    color: #fff; 
}

/*---------------*/
/***** Ming *****/
/*---------------*/

figure.effect-ming {
	background: #030c17;
}

figure.effect-ming img {
	opacity: 0.9;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

figure.effect-ming figcaption::before {
	position: absolute;
	top: 30px;
	right: 30px;
	bottom: 30px;
	left: 30px;
	border: 2px solid #fff;
	box-shadow: 0 0 0 30px rgba(255,255,255,0.2);
	content: '';
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale3d(1.4,1.4,1);
	transform: scale3d(1.4,1.4,1);
}

figure.effect-ming h2 {
    font-size: 1.3em;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(1.5);
	transform: scale(1.5);
}

figure.effect-ming:hover figcaption::before,
figure.effect-ming:hover h2 {
	opacity: 1;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

figure.effect-ming:hover figcaption { background-color: rgba(58,52,42,0); }
figure.effect-ming:hover img { opacity: 0.4; }

.tm-footer-links li {
    list-style: none;
    margin-bottom: 5px;    
}

.tm-footer-links li a { color: #999999; }
.tm-footer-links li a:hover { color: #666666; }

.tm-social-links li {
    list-style: none;
    margin-right: 15px;
}

.tm-social-links li:last-child { margin-right: 0; }

.tm-social-links li a  {
    color: #999999;
    width: 44px;
    height: 44px;
    display: flex;
    background-color: #fff;
    align-items: center;
    justify-content: center;
}

.tm-social-links li a:hover {
    color: #fff;
    background-color: #666666;
}

.tm-footer { font-size: 0.95rem; }
.tm-footer-title { font-size: 1.4rem; }

/* Videos */
#tm-video-container {
    max-height: 400px;
    overflow: hidden;
    background-color: #333;
    margin-bottom: 90px;
    position: relative;
}

#tm-video {
    display: block;
    width: 100%;
    height: auto;
}

#tm-video-control-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    color: #e1e1e1;
}

.tm-video-details {
    height: 100%;
    padding: 40px;
}

/* About */
.tm-row-1640 { max-width: 1640px; }
.tm-about-2-col { max-width: 716px; }
.tm-about-3-col { max-width: 540px; }

.tm-about-2-col,
.tm-about-3-col {
    margin-bottom: 50px;
}

.tm-about-icon-container {
    width: 150px;
    height: 150px;
    border: 1px solid #999999;
    display: flex;
    align-items: center;
    justify-content: center;
	margin: 0 auto;
}

/* Add the following lines to center the H2 headings in the three columns */
.tm-about-3-col h2 {
    text-align: center;
}


.tm-about-icon-img {
    max-width: 100%; /* Ensures the image doesn't overflow its container */
    max-height: 100%; /* Ensures the image doesn't overflow its container */
    height: auto; /* Maintains aspect ratio */
    display: block; /* Removes extra space below the image */
}



/* End of new addition */

.tm-about-img-text { max-width: 940px; }

/* Contact */
select.form-control { border-radius: 0; }
select.form-control option { height: 30px; }

select:not([multiple]) {
    -webkit-appearance: none;
    -moz-appearance: none;
    background-position: right 15px center;
    background-repeat: no-repeat;
    background-image: url(../img/select-arrow.png);
    padding: 14px 20px;
    padding-right: 20px;
    color: #666;
}

.mapouter{
    position:relative;
    height:480px;
    width:100%;
    max-width: 480px;
}

.gmap-canvas {
    overflow:hidden;
    background:none!important;
    height:480px;
    width:100%;
}

.tm-contact-form { max-width: 420px; }
.tm-address-col { max-width: 520px; }
.tm-contacts { padding-left: 0; }

.tm-contacts li {
    list-style: none;
    margin-bottom: 20px;
}

.tm-contacts li a i { width: 30px; }
.tm-social { display: flex; }

.tm-social li {
    list-style: none;
    margin-bottom: 20px;
    margin-right: 15px;
}

.tm-social li a i {
    width: 40px;
    height: 40px;
    color: #666666;
    background-color: #EEEEEE;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tm-social li a:hover i {
    color: #fff;
    background-color: #009999;
}

.form-control,
input:-internal-autofill-selected,
select:not([multiple]) {
    color: #666666 !important;
}

.form-control::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color:  #666666;
    opacity: 1; /* Firefox */
}

@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 50px;
        right: 0px;
        background: white;
        width: 150px;
        padding: 15px;
    }

    .tm-container-content { max-width: 870px; }
    .tm-contact-form, .tm-address-col, .mapouter { max-width: 100%; }
    .tm-people-row { max-width: 900px; }
}

@media (max-width: 767px) {
    .tm-paging-col { flex-direction: column; }
    .tm-paging { flex-wrap: wrap; }
    .tm-about-img-text { max-width: 640px; }
    .tm-about-2-col, .tm-about-3-col { margin-bottom: 50px; }
}

@media (max-width: 575px) {
    .tm-container-content { max-width: 420px; }

    .tm-search-form {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        justify-content: center;
    }

    .tm-search-input {
        width: 100%;
        max-width: 360px;
    }

    .tm-people-row { max-width: 420px; }
}

@media (max-width: 400px) {
    .tm-btn-big { padding: 12px 50px 14px; }
}

/* Custom style for the Back to Gallery button */
.tm-btn-gallery {
    white-space: nowrap; /* Prevents text from wrapping */
    padding-left: 30px;  /* Increase padding as needed */
    padding-right: 30px; /* Increase padding as needed */
    /* You can also use min-width if you want a fixed minimum size, e.g., min-width: 200px; */
}


@media (max-width: 334px) {
    .tm-social-links {
        flex-wrap: wrap;
        justify-content: start !important;
    }

    .tm-social-links li { margin-right: 3px; }
}







/* Styling for the hero text container */
.tm-hero-text {
    text-align: center; /* Center the text horizontally */
    color: white; /* All text within this container will be white by default */
    z-index: 1; /* Ensure text is above the hero image if there are layers */
}

/* Styling for the large "WELCOME" text */
.tm-hero-title-large {
    font-size: 4rem; /* Adjust as needed for larger letters */
    font-weight: bold; /* Make it bold if desired */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* Drop shadow effect */
    margin-bottom: 50px; /* Space between WELCOME and the next line */
}

/* Styling for the medium-sized lines */
.tm-hero-text-medium {
    font-size: 1.5rem; /* Adjust as needed for medium letters */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* Drop shadow effect */
    margin-bottom: 10px; /* Space between lines */
	color: white; /* Add this line to ensure the text is white */
}

/* Styling for the medium-sized lines */
.tm-hero-text-mediumb {
    font-size: 1.5rem; /* Adjust as needed for medium letters */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* Drop shadow effect */
    margin-bottom: 150px; /* Space between lines */
	color: white; /* Add this line to ensure the text is white */
}

/* Styling for the medium-sized lines */
.tm-hero-text-medium-2005 {
    font-size: 1.5rem; /* Adjust as needed for medium letters */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* Drop shadow effect */
    margin-bottom: 50px; /* Space between lines */
	color: white; /* Add this line to ensure the text is white */
}

/* Adjustments for responsiveness (optional but recommended) */
@media (max-width: 767px) {
    .tm-hero-title-large {
        font-size: 3rem; /* Smaller font for mobile */
    }
    .tm-hero-text-medium {
        font-size: 1.4rem; /* Smaller font for mobile */
    }
	.tm-hero-text-mediumb {
        font-size: 1.4rem; /* Smaller font for mobile */
    }
	.tm-hero-text-medium-2005 {
        font-size: 1.4rem; /* Smaller font for mobile */
    }
}

@media (max-width: 575px) {
    .tm-hero-title-large {
        font-size: 2.5rem;
    }
    .tm-hero-text-medium {
        font-size: 1.2rem;
    }
	.tm-hero-text-mediumb {
        font-size: 1.2rem;
    }
	.tm-hero-text-medium-2005 {
        font-size: 1.2rem;
    }
}




/*. THIS HIDES THE PEOPLE ROW WHILE SAVING IT FOR FUTURE USE */
.tm-people-row {
    display: none;
}




/* templatemo-style.css */

/* ... existing CSS ... */

.tm-hidden-photo {
    display: none;
}




/* Force the color of the hamburger icon */
.navbar-toggler .fas.fa-bars {
    color: #666666 !important; /* Use your desired color, e.g., #000000 for black */
}






/* Custom Primary Button Style (for Client Login with inverse colors) */
.btn-primary-custom {
    color: #fff;                /* Text color */
    background-color: #666666;  /* Background color */
    border: 1px solid #666666;  /* Thin border in #666666 color */
    padding: .375rem .75rem;    /* Standard Bootstrap button padding */
    border-radius: .25rem;      /* Standard Bootstrap button border-radius */
	font-size: .9rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out; /* Smooth transitions */
}

/* Hover and Focus states for the Custom Primary Button */
.btn-primary-custom:hover,
.btn-primary-custom:focus {
    color: #666666;             /* Text color on hover */
    background-color: #fff;     /* Background color on hover */
    border-color: #666666;    /* Border color on hover */
}



/* Custom style for the phone number link */
.tm-phone-link {
    color: #999999; /* Light gray color */
    transition: color 0.3s ease-in-out; /* Smooth transition */
}

.tm-phone-link:hover {
    color: #666666; /* Darker color on hover */
    text-decoration: none; /* Removes the default underline on hover */
}







    /* Custom CSS to style the dropdown menu */
    .dropdown-hover-container {
        position: relative;
    }

    .dropdown-hover-toggle {
        display: block;
        padding: 0.25rem 0; /* Match the padding of the other list items */
        color: #999;
        text-decoration: none;
        transition: color 0.3s ease;
        /* Arrow Styling */
        position: relative;
    }

    .dropdown-hover-toggle::after {
        content: '\25BE'; /* Unicode character for a small down-pointing black triangle */
        font-size: 1.25em;
        margin-left: 0.5em;
        transition: transform 0.3s ease;
        display: inline-block;
        transform: rotate(0deg);
    }

    .dropdown-hover-toggle:hover {
        color: #666666; /* Match the hover color of the existing links */
        text-decoration: underline;
    }

    .dropdown-hover-menu {
        list-style: none;
        padding: 0;
        margin: 0;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #f8f9fa; /* A light background for the dropdown */
        border: 1px solid rgba(0, 0, 0, 0.15);
        border-radius: 0.25rem;
        z-index: 1000;
        display: none;
        min-width: 150px; /* Set a minimum width for the dropdown */
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
    }

    .dropdown-hover-menu li a {
        display: block;
        padding: 0.5rem 1rem;
        color: #666666; /* Dark text color for readability */
        text-decoration: none;
        white-space: nowrap;
    }

    .dropdown-hover-menu li a:hover {
        background-color: #e9ecef; /* A lighter color on hover */
        color: #666666;
    }

    /* Show the dropdown menu and rotate arrow on hover for larger screens */
    @media (min-width: 992px) { /* Corresponds to Bootstrap's lg breakpoint */
        .dropdown-hover-container:hover .dropdown-hover-menu {
            display: block;
        }
        .dropdown-hover-container:hover .dropdown-hover-toggle::after {
            transform: rotate(180deg);
        }
    }

    /* Style for smaller screens to match the navbar's collapsible menu */
    @media (max-width: 991.98px) {
        .dropdown-hover-menu {
            position: static;
            border: none;
            box-shadow: none;
            background-color: transparent;
        }
        .dropdown-hover-menu li a {
            padding-left: 1rem; /* Indent the sub-items */
            color: #999;
        }
        .dropdown-hover-menu li a:hover {
             background-color: transparent;
             color: #666666;
        }
        /* Rotate arrow and show menu when active class is present */
        .dropdown-hover-toggle.active::after {
            transform: rotate(180deg);
        }
        .dropdown-hover-toggle.active + .dropdown-hover-menu {
            display: block;
        }
    }