/*

Upper Template

http://www.templatemo.com/tm-497-upper

*/
body {
	background-color: #DDDDDD;
	color: black;
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-size: 17px;
	font-weight: 300;
	overflow-x: hidden;
}

.tm-white { color: #FFFFFF; }

ul { padding: 0; margin: 0; }
figure { margin: 0; }
p:last-child { margin-bottom: 0; }
a { color: #3f97c9; }
a, button { transition: all 0.3s ease; }
a:hover,
a:focus {
	text-decoration: none;
	outline: none;
}

.tm-brand-icon { 
	padding: 10px;
    background: none;
    color: black;
    font-size: 4rem;
    margin-right: 15px;
}

.container-fluid { width: 100%; } /* IE fix */

.cd-hero-slider .cd-full-width { padding-top: 0; }

.cd-slider-nav {
	position: absolute;
	left: 0;
	right: 0;
	top: 10px;
	z-index: 1002;
	background: none;
}

.cd-slider-nav nav { 
	width: 100%; 
	padding: 0 10px;
}

.cd-slider-nav .navbar-nav {
	display: inline-block;
	float: none;
	vertical-align: top;
}

.cd-slider-nav li { 
	display: block;
	float: none;
	width: auto;	
}
/*
.tm-navbar { float: right; }
.tm-navbar-bg {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: center;
	    align-items: center;
	-ms-flex-pack: justify;
	    justify-content: space-between;
	padding-left: 10px;
	padding-right: 10px;
	background-color: rgba(255,255,255,0.7);
	overflow: auto;
}
*/

.tm-navbar-bg {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-left: 10px;
	padding-right: 10px;
	background-color: rgba(255,255,255,0.7);
	overflow: visible;
	position: relative;
}

.navbar-toggler {
	float: right;
	font-size: 1.75rem;
	padding: 1rem 1.5rem;
	background: rgba(255,255,255,0.7);
	border-radius: 0;
	position: absolute;
	right: 20px;
	top: 5px;
}

button:focus { outline: none; }

.cd-slider-nav a.navbar-brand {
	font-size: 2.5rem;
	padding-top: 0;
	padding-bottom: 0;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: center;
	    align-items: center;
	-ms-flex-pack: center;
	    justify-content: center;
	width: auto;
}

.cd-slider-nav a { text-transform: capitalize; }
.navbar-nav .nav-item { float: none; }
.navbar-nav .nav-item+.nav-item { margin-left: 0; }

.cd-slider-nav a,
.navbar-nav .nav-link {
	background-color: transparent;
	color: black;
    display: table-cell;
    font-weight: 400;
    font-size: 1em;
	vertical-align: middle;
    width: 130px;
    height: 40px;
}

.cd-slider-nav .nav-item.selected .nav-link,
.cd-slider-nav .nav-link:hover,
.cd-slider-nav .nav-link:focus {
	background-color: rgba(255,255,255,1);
	/*color: #5394D6;*/
color:#739400;
}

/* Hero Slider */

.cd-hero-slider { height: 100vh; }
.cd-hero-slider li { 
	background-color: #2c343b;
	list-style: none; 
}

.cd-hero-slider li:nth-of-type(1) { background-image: url(../img/tm-bg-1.jpeg); }
.cd-hero-slider li:nth-of-type(2) { background-image: url(../img/tm-bg-2.jpeg); }
.cd-hero-slider li:nth-of-type(3) { background-image: url(../img/tm-bg-3.jpeg); }
.cd-hero-slider li:nth-of-type(4) { background-image: url(../img/tm-bg-001.jpeg); }
.cd-hero-slider li:nth-of-type(5) { background-image: url(../img/tm-bg-001.jpeg); }
.cd-hero-slider li:nth-of-type(6) { background-image: url(../img/tm-bg-6.jpeg); }

/*
.cd-hero-slider li:nth-of-type(1) { background-image: url(../img/tm-bg-1.jpeg); }
.cd-hero-slider li:nth-of-type(2) { background-image: url(../img/tm-bg-2.jpeg); }
.cd-hero-slider li:nth-of-type(3) { background-image: url(../img/tm-bg-3.jpeg); }
.cd-hero-slider li:nth-of-type(4) { background-image: url(../img/tm-bg-4.jpeg); }
.cd-hero-slider li:nth-of-type(5) { background-image: url(../img/tm-bg-5.jpeg); } 
.cd-hero-slider li:nth-of-type(6) { background-image: url(../img/tm-bg-6.jpeg); }
*/

.tm-bg-white-translucent { background-color: rgba(255,255,255,0.8); }
.tm-bg-white-translucent p { color: black; }
.tm-textbox { 
	display: inline-block; 
	width: 100%;
}

.cd-hero-slider h2, .cd-hero-slider p {
	max-width: none;
	width: 100%;
}

.cd-hero-slider .tm-text { 
	font-size: 1em;
	line-height: 1.8; 
}

.cd-full-width .container-fluid.tm-page-width { 
	max-width: none;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

.tm-3-col-container { overflow: auto; }

.cd-hero-slider h2.tm-text-title {
	color: #000002;
    font-size: 1.6em;
    font-weight: 400;
}

/* footer */
.tm-social-link {    
    background-color: rgba(255,255,255,0.40);
    color: black;
    display: inline-block;
    width: 35px;
    height: 35px;
    text-align: center;
    padding-top: 5px;
    margin-right: 10px;
}

.tm-social-link:last-child { margin-right: 0; }

.tm-footer {
	position: absolute; 
	bottom: 0;
	left: 0;
}

.tm-footer {
    width: 100%;
    color: white;
    z-index: 1001;
    padding: 0 11px 12px;
}

.js-tm-page-content {
    margin-top: 10px !important;
    margin-bottom: 80px !important;
}

/* Tablet */
@media (max-width: 991px) {
    .js-tm-page-content {
        margin-top: 0px !important;
        margin-bottom: 120px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .js-tm-page-content {
        margin-top: 70px !important;
        margin-bottom: 350px !important;
    }
}


.tm-social-icons-container { margin-bottom: 30px; }

.cd-full-width {
	display: -ms-flexbox;
	display: flex;
    -ms-flex-direction: column;
        flex-direction: column;
    -ms-flex-align: center;
        align-items: center;
    -ms-flex-pack: center;
        justify-content: center;
}

.cd-hero-slider p:last-child { margin-bottom: 0; }

/* Contact */
.tm-contact-page {
	margin: 0 auto;
	max-width: 1190px;
	padding: 0;
}

.tm-contact-container { 
margin-top: 40px;
max-width: 1150px; 
}


/* center align of the text in contact us */
.center-content{
    text-align: center;
}

/* width of the reach us box in contact us */
.reach-box{
    width:400px !important;
    margin:0 auto 30px;
}

/* width of the head office box in contact us */
.reach-box-ho{
    width:700px !important;
    margin:0 auto 30px;
}

/* gap between translucent boxes */
.tm-flex{
    display:flex;
    gap:20px;
}




.form-control,
.tm-submit-btn {
	font-size: 1.8rem;
}
.form-control {
	background-color: rgba(255,255,255,0.7);
	border-radius: 0;
	padding: 1rem 2rem;
}

.form-control::-webkit-input-placeholder { color: #000000; }
.form-control:-moz-placeholder { color: #000000; } /* Firefox 18- */
.form-control::-moz-placeholder { color: #000000; } /* Firefox 19+ */
.form-control:-ms-input-placeholder { color: #000000; }

.form-group { margin-bottom: 1.5rem; }

.tm-submit-btn {
	background-color: green;
	/* background-color: #0066CC; */
	border: none;
	color: white;
	padding: 10px 50px;
	margin-top: 10px;
	font-weight: 400;
	font-size: 2.5rem;
}

.tm-submit-btn:hover,
.tm-submit-btn:focus {
	background-color: white;
	border: 1px solid;
	border-color: black;
	color: black;
	/* background-color: #2277EE;	 BLUE */
}

textarea { height: 168px; }

/* Preloader 
	https://ihatetomatoes.net/create-custom-preloading-screen/
*/
/* ==========================================================================
   Author's custom styles
   ========================================================================== */
   #loader-wrapper { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 2000; }
   #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: #3498db; /* Chrome, Opera 15+, Safari 5+ */
   	animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */ z-index: 2001; }
   #loader:before { content: ""; position: absolute; top: 5px; left: 5px; right: 5px; bottom: 5px; border-radius: 50%; border: 3px solid transparent;
   	border-top-color: #e74c3c; /* 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: #f9c922; /* Chrome, Opera 15+, Safari 5+ */ animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */ }
@keyframes spin {
	0%   {  /* Chrome, Opera 15+, Safari 3.1+ */  /* IE 9 */
		transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
	}
	100% {  /* Chrome, Opera 15+, Safari 3.1+ */  /* 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: 2000;  /* Chrome, Opera 15+, Safari 3.1+ */  /* 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 {  /* Chrome, Opera 15+, Safari 3.1+ */  /* IE 9 */
	transform: translateX(-100%);  /* Firefox 16+, IE 10+, Opera */  
	transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

.loaded #loader-wrapper .loader-section.section-right {  /* Chrome, Opera 15+, Safari 3.1+ */  /* IE 9 */
	transform: translateX(100%);  /* Firefox 16+, IE 10+, Opera */  
	transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

.loaded #loader {
	opacity: 0;  
	transition: all 0.3s ease-out;
}
.loaded #loader-wrapper {
	visibility: hidden;  /* Chrome, Opera 15+, Safari 3.1+ */  /* IE 9 */
	transform: translateY(-100%);  /* Firefox 16+, IE 10+, Opera */  
	transition: all 0.3s 1s ease-out;
}

/* JavaScript Turned Off */
.no-js #loader-wrapper { display: none; }
/*============ Preloader ends ==================================*/

.cd-hero-slider.small-screen { height: 100%; }

.tm-navbar {
	position: absolute;
    right: 20px;
    top: 44px;
}

.cd-slider-nav .navbar-nav { background-color: rgba(255,255,255,0.7); }

.cd-slider-nav a, 
.navbar-nav .nav-link { height: 50px; }

.tm-brand-icon { 
	font-size: 3rem;
	padding: 10px;
}

.cd-hero-slider .cd-full-width { text-align: left; }
.cd-full-width .container-fluid { margin-top: -80px; }

.tm-2-col-textbox-2 {
	width: 100%;
	padding: 25px;
	margin-bottom: 30px; 
	-ms-flex: 0 1 auto; 
	    flex: 0 1 auto; 
	        /* Fix flexbox in IE 10 bug https://philipwalton.com/articles/normalizing-cross-browser-flexbox-bugs/ */
}

.tm-2-col-textbox-2:last-child { margin-bottom: 0; }

.tm-3-col-textbox { 
	max-width: 100%;
	padding-left: 10px;
	padding-right: 10px;
	margin-bottom: 30px;
	width: 100%;
}

.tm-3-col-container {
	margin-left: 15px;
	margin-right: 15px;
}





/* Gallery */
.grid-item {
	margin-bottom: 20px;
	padding-left: 1px;
	padding-right: 1px;
	float: left;
	width: 100%;
}

.grid-item:last-child { margin-bottom: 0; }

.tm-img-gallery-container {
	max-width: 320px;
    margin: 0 auto;
}

.tm-img-gallery-container-3 { max-width: none; }

.tm-img-gallery {
	margin: 0 auto 10px;
	display: inline-block;
}

.tm-img-gallery-info-container {
	display: block;
	margin: 0 auto;
	padding: 30px 1px;	
}

.tm-img {
	max-width: 320px;
  	width: 100%;
  	height: auto;
  	border: none;
  	margin: 0 auto;
}

.gallery-two .tm-img,
.gallery-three .tm-img {
	max-width: none;
}

.tm-textbox-padding { padding: 35px 30px; }

.cd-hero-slider h2.tm-contact-info {
	color: black;
	font-size: 1.1em;
}

#google-map {
    height: 430px;
    width: 100%;    
}

.tm-copyright-text {
	background-color: rgba(0, 0, 0, 0.3);
	color: white;
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 400;
    padding: 5px 12px;
    width: 100%;
}

.tm-footer { padding: 50px 11px 20px; }
.tm-footer-link,.tm-footer-link:visited { color: yellow; /*white;*/ }
.tm-footer-link:hover {
	color: orange;
}
/*
.tm-footer-link:hover,
.tm-footer-link:focus {
	color: orange;
}
*/
.tm-home-fa {
	display: block;
    text-align: center;
    padding: 15px 0 30px 0;
}

/*http://tympanus.net/Development/HoverEffectIdeas/*/

.grid-item figure figcaption, .grid-item figure figcaption > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.grid-item figure figcaption {
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.grid-item figure {
    position: relative;
    overflow: hidden;
    text-align: center;
}

figure.effect-ruby {
    /*background-color: #739400; */ /* Light Green */
    background-color: #17819c;   /* org blue */
}

figure.effect-ruby:hover {
    /*background-color: #c8e6c9;*/
   background:rgba(0,0,0,0.95);
}

.cd-hero-slider .selected .cd-full-width figure.effect-ruby h2.tm-figure-title {
    margin-bottom: 0;
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    -webkit-transform: translate3d(0,20px,0);
    transform: translate3d(0,20px,0);
}

.cd-hero-slider .selected .cd-full-width figure.effect-ruby:hover h2.tm-figure-title {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

figure.effect-ruby img {
    opacity: 0.7;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: scale(1.15);
    transform: scale(1.15);
}

figure.effect-ruby p {
    margin: 1em 0 0;
    padding: 3em;
    border: 1px solid #fff;
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(0,20px,0) scale(1.1);
    transform: translate3d(0,20px,0) scale(1.1);
}

figure.effect-ruby:hover img {
    opacity: 0.2; /* image on hover */
    -webkit-transform: scale(1);
    transform: scale(1);
}

.grid-item figure img {
    position: relative;
    display: block;
    max-width: 100%;
    opacity: 0.8;
}



/* watermark effect - brand name in image */

.image-brand{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    font-size:42px;
    font-weight:700;
    font-family:'Poppins', sans-serif;
    text-transform:uppercase;
    letter-spacing:3px;
    color:#ffffff;
    opacity:1.08;
    mix-blend-mode:overlay;
    pointer-events:none;
    z-index:1;
    transition:opacity 0.2s ease;
}
/* Hide watermark on hover */
.effect-ruby:hover .image-brand
{   
      display:none;		
}
/* Blend into image while clicking */
.effect-ruby:hover .tm-figure-title,
.effect-ruby:hover .tm-figure-description
{
    opacity:1;
}
.tm-figure-title{
    opacity:0;
    visibility:hidden;
    transition:all 0.4s ease;
}
/* Show title on hover */
.effect-ruby:hover .tm-figure-title{
    opacity:1;
    visibility:visible;
}

/* End of watermark effect - brand name in image */

.cd-hero-slider h2 { font-size: 1.5em; }

.cd-hero-slider .selected .cd-full-width p.tm-figure-description {
    font-weight: 400;
    margin: 1em 0 0;
    padding: 2rem;
    border: 1px solid #fff;
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(0,20px,0) scale(1.1);
    transform: translate3d(0,20px,0) scale(1.1);
}

.cd-hero-slider .selected .cd-full-width figure.effect-ruby:hover p.tm-figure-description {
    opacity: 1;
    -webkit-transform: translate3d(0,0,0) scale(1);
    transform: translate3d(0,0,0) scale(1);
}

.grid-item figure figcaption > a {
    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
}

.tm-white-box-margin-b { margin-bottom: 30px; }
.gallery-one .grid-item { max-width: 340px; }
.gallery-two .grid-item { max-width: 453px; }
.tm-img-gallery-container-2 { max-width: 453px; }
.tm-gallery-title span { width: 100%; }

.cd-full-width .container-fluid.tm-page-width {
	padding-left: 10px;
	padding-right: 10px;
}

.tm-3-col-container {
	margin-left: 0;
	margin-right: 0;
}


/* Home page Slider */

.export-slider{
    position:relative;
    width:90%;
    height:500px;
    overflow:hidden;
    border-radius:10px;
    overflow:hidden;
    margin-left:auto;
    margin-right:auto;
    margin-top:100px;
    margin-bottom:40px;
}

.slide{
    position:absolute;
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
    opacity:0;
    transition:opacity 1.2s ease-in-out;
}

.slide.active{
    opacity:1;
}

.slide-overlay{
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.10);
    /*background:rgba(0,0,0,0.45);  Black*/    
    /*background:rgba(255,255,255,0.10); White */
    display:flex;
    align-items:center;
    justify-content:center;
}

.slide-content{
    max-width:700px;
    text-align:center;
    color:black;
    /* background-color: rgba(255,255,255,0.7);   White Text Bg*/
    color:#fff;
    background:rgba(0,0,0,0.35);
    padding:30px;
    border-radius:10px;
}

.slide-content h2{
    font-size:40px;
    font-weight:500;
    margin-bottom:15px;
    color:#fff;
}

.slide-content p{
    font-size:18px;
    font-weight:500;
    line-height:1.8;
    color:#fff;
}

/* End of Home page Slider */


/* Running Text and Marquee */

.top-running-text{
    position:absolute;
    top:140px;
    left:0;
    width:100%;
    z-index:1000;
    padding:0 30px;
}

.top-running-box{
    max-width:1200px;
    margin:auto;
    /* Transparent Background */
    background:  rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.30); /* White */
    border-left:5px solid #739400;  /* Green */
    border-radius:8px;
    padding:12px 25px;
    box-shadow:0 5px 15px rgba(0,0,0,0.25);


    /* Black Background
    background:rgba(0,0,0,0.35);
    backdrop-filter:blur(4px);
    border-left:5px solid #00bcd4; */


}

.tamil-text{
    color:#ffffff;
    font-size:22px;
    font-weight:700;
    text-align:center;
    margin-bottom:6px;
    letter-spacing:1px;
}

.english-running-text{
    color:#ffffff;
    font-size:17px;
    font-weight:400;
}

@media(max-width:991px){

    .top-running-text{
        top:120px;
        padding:0 15px;
    }

    .tamil-text{
        font-size:22px;
    }

    .english-running-text{
        font-size:15px;
    }
}

@media(max-width:767px){

    .top-running-text{
        top:110px;
    }

    .top-running-box{
        padding:10px 15px;
    }

    .tamil-text{
        font-size:18px;
        line-height:30px;
    }

    .english-running-text{
        font-size:14px;
    }
}



.top-running-text{
    position:absolute;
}

/* Add top spacing for inner pages */
.cd-hero-slider li:not(:first-child) .container-fluid{
    padding-top:230px;
}

/* Tablet */

@media(max-width:991px){

    .top-running-text{
        top:65px;
        padding:0 15px;
    }

    .top-running-box{
        padding:12px 18px;
    }

    .tamil-text{
        font-size:22px;
        line-height:34px;
    }

    .english-running-text{
        font-size:15px;
    }

    .cd-hero-slider li:not(:first-child) .container-fluid{
        padding-top:200px !important;
    }
}

/* Mobile */

@media(max-width:767px){

    .top-running-text{
        top:62px;
        padding:0 10px;
    }

    .top-running-box{
        padding:10px 14px;
    }

    .tamil-text{
        font-size:18px;
        line-height:30px;
    }

    .english-running-text{
        font-size:14px;
        line-height:24px;
    }

    .cd-hero-slider li:not(:first-child) .container-fluid{
        padding-top:280px !important;
    }
}

/* End of Running Text and Marquee */




/* Media Queries */

@media only screen and (min-width: 400px) {
	.cd-hero-slider h2 { font-size: 2em; }

	.cd-hero-slider .selected .cd-full-width figure.effect-ruby h2.tm-figure-title {
		margin-bottom: 14px;
	}

	.grid-item figure figcaption { padding: 2em; }
}

@media only screen and (min-width: 480px) {
	.cd-full-width .container-fluid { margin-top: -80px; }
	.cd-hero-slider h2.tm-text-title { font-size: 2.8em; }
	.tm-textbox-padding { padding: 30px 40px; }
	.tm-textbox-padding-contact { padding: 30px; }
	.tm-img-gallery-container { 
		margin: 40px auto 20px;
		max-width: 680px; 
	}

	.tm-img-gallery-container-2 { max-width: 453px; }
	
	.grid-item {
		padding-left: 10px;
		padding-right: 10px;
		width: 50%;
	}

	.gallery-two .grid-item,
	.gallery-three .grid-item {
		width: 100%;
	}

	.tm-img-gallery-info-container {
		padding: 0 11px 30px;
		max-width: 700px;
		margin: 0 auto 0 0;
	}

	.grid-item figure figcaption { padding: 1em; }
	.cd-hero-slider .selected .cd-full-width .gallery-one figure.effect-ruby h2.tm-figure-title,
	.cd-hero-slider .selected .cd-full-width .gallery-two figure.effect-ruby h2.tm-figure-title {
		font-size: 1.5em;
	}
}

@media only screen and (min-width: 600px) {
	.tm-footer { padding: 50px 30px 20px; }
	.tm-copyright-text { width: auto; }
}

@media only screen and (min-width: 652px) {
	.gallery-two .grid-item { width: 50%; }
	.tm-img-gallery-container-2 { max-width: 906px; }
}

@media only screen and (min-width: 720px) {	
	.tm-footer { 
		-ms-flex-direction: row; 
			flex-direction: row; 
	}

	.tm-copyright-text { margin-top: 0; }
}

@media only screen and (min-width: 768px) {

	.cd-slider-nav .nav-item.selected .nav-link,
	.cd-slider-nav .nav-link:hover,
	.cd-slider-nav .nav-link:focus {
		background-color: rgba(255,255,255,0.7);
	}

	.cd-hero-slider .cd-full-width { padding-top: 0; }

	.tm-3-col-textbox {
		width: 50%;
	}

	.tm-flex { 
		display: -ms-flexbox; 
		display: flex;
	}

	.tm-2-col-textbox-2 {	
		margin-bottom: 0;
		margin-right: 30px;
		width: 100%;
	}

	.tm-2-col-textbox-2:last-child { margin-right: 0; }

	.tm-3-col-container {
		margin-left: auto;
		margin-right: auto;
	}
	
	.tm-3-col-container,
	.cd-full-width .container-fluid.tm-page-width { max-width: 800px; }
	.tm-3-col-textbox { max-width: 400px; }	
}

@media only screen and (min-width: 992px) {
	.tm-navbar-bg { 
		padding-left: 25px; 
		padding-right: 0;
	}

	.tm-navbar {
		position: static;
		height: auto !important;		
	}

	.cd-slider-nav .navbar-nav {
		background: transparent;
		display: -ms-flexbox;
		display: flex;
	}

	.cd-slider-nav li {	
		display: inline-block; 
		width: auto;
		height: auto;
	}

	.cd-slider-nav a, 
	.navbar-nav .nav-link {
		height: 80px;
	}

	.tm-social-icons-container { margin-bottom: 20px; }

	.cd-full-width .container-fluid {
		margin-top: 0;
		padding-left: 0;
		padding-right: 0;
	}

	.cd-full-width .container-fluid.tm-page-pad,
	.cd-full-width .container-fluid.tm-page-pad {
		padding-left: 10px;
		padding-right: 10px;
	}

	.tm-3-col-container,
	.cd-full-width .container-fluid.tm-page-width {
		max-width: 1200px;
	}

	.tm-3-col-textbox {
		width: 33.333333%;
		margin-bottom: 0;
	}

	.tm-img-gallery-container,
	.tm-img-gallery-container-2,
	.tm-img-gallery-container-3 { max-width: 1360px; }

	.grid-item { width: 25%; }
	.gallery-two .grid-item { width: 33.3333%; }
	.gallery-three .grid-item { width: 50%; }
	.grid-item figure figcaption { padding: 1em; }
	.cd-hero-slider .selected .cd-full-width .gallery-one figure.effect-ruby h2.tm-figure-title,
	.cd-hero-slider .selected .cd-full-width .gallery-two figure.effect-ruby h2.tm-figure-title {
		font-size: 1.5em;
	}
}

@media only screen and (min-width: 1063px) {
	.cd-slider-nav { top: 30px; }	
	.cd-slider-nav nav { padding: 0 30px; }	
	.tm-brand-icon { margin-right: 15px; }
	.tm-contact-page { padding: 20px; }
	.cd-full-width .container-fluid {
		padding-left: 20px;
		padding-right: 20px;
	}
	.cd-full-width .container-fluid.tm-page-width {
		padding-left: 30px;
		padding-right: 30px;
	}
	.tm-page-width {
		padding-left: 30px;
		padding-right: 30px;
	}

	.tm-3-col-container {
		margin-left: 15px;
		margin-right: 15px;
	}

	.tm-3-col-textbox {
		padding-left: 15px;
		padding-right: 15px;
	}
}

@media only screen and (min-width: 1230px) {
	.tm-3-col-container {
		margin-left: auto;
		margin-right: auto;
	}
}

@media only screen and (min-width: 1170px) {	
	.cd-hero-slider h2, .cd-hero-slider p { margin-bottom: 5%; }
	.cd-hero-slider h2.tm-gallery-title { margin-bottom: 25px; }
	.cd-hero-slider p:last-child { margin-bottom: 0; }
	.cd-hero-slider .cd-full-width { padding-top: 0; }
	.cd-hero-slider .tm-text { font-size: 1em; }
	.grid-item figure figcaption { padding: 2em; }
}

@media only screen and (min-width: 1333px) {
	.cd-slider-nav a,
	.navbar-nav .nav-link {
		font-size: 1.2em;
		width: 160px;
		height: 110px;
	}
	.cd-slider-nav a.navbar-brand { font-size: 3.5rem; }

	.tm-brand-icon { 
		font-size: 4rem;
    	padding: 10px;
		margin-right: 15px;
	}
	.tm-navbar-bg { padding-left: 30px; }
}

@media only screen and (min-width: 1340px) {
	.cd-full-width .container-fluid.tm-page-width { 
		padding-left: 0; 
		padding-right: 0;
	}	
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
	.tm-2-col-textbox-2 { margin-right: 15px; }
	#google-map { height: 520px; }
}




/* Products - Submenu */

/* Products Dropdown */
.dropdown-product{
    position:relative;
}

/* Submenu */
.product-submenu{
    display:none;
    position:absolute;
    top:100%;
    left:0;

    min-width:220px;
    margin:0;
    padding:0;

    list-style:none;

    background-color: white;

    border-radius:5px;

    box-shadow:0 5px 15px rgba(0,0,0,0.3);

    z-index:99999;
}

/* Show on hover */
.dropdown-product:hover .product-submenu{
    display:block;
border: 1px solid black;
}

.product-submenu li{
    border-bottom:1px solid #c0c0c0; /* Light Grey */
}

.product-submenu li:last-child{
    border-bottom:none;
}

.product-submenu li a{
    display:block;
    padding:6px 15px;
    color:black;
    /*color:#fff; */
    text-decoration:none;
    width:100%;
    height:auto !important;
border-bottom:1px solid rgba(255,255,255,0.15);
}

.product-submenu li a:hover{
    background:#739400;
    color:#fff;
}



.product-menu-wrap{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.submenu-toggle{
    display:none;
    cursor:pointer;
    padding:10px;
    font-size:14px;
    color:black;
}

@media (max-width:991px){

    .submenu-toggle{
        display:block;
    }

    .dropdown-product:hover .product-submenu{
        display:none;
    }

    .product-submenu.show{
        display:block;
    }

}



/* End of Products - Submenu */



/* Gallery Images Properly visible one by one */

.gallery-two{
    display:flex !important;
    flex-wrap:wrap !important;
}

.gallery-two .grid-item{
    float:none !important;
    width:33.333%;
    padding:10px;
    box-sizing:border-box;
}

@media (max-width:991px){
    .gallery-two .grid-item{
        width:50%;
    }
}

@media (max-width:767px){
    .gallery-two .grid-item{
        width:100%;
    }
}

/* End of Gallery Images Properly visible one by one */



/* Back To Top Button */
#backToTop{
    position:fixed;
    bottom:25px;
    right:25px;

    width:50px;
    height:50px;

    background:#739400;
    color:#fff;

    border-radius:50%;
    text-align:center;
    line-height:50px;

    font-size:20px;

    box-shadow:0 4px 10px rgba(0,0,0,0.3);

    z-index:99999;

    opacity:0;
    visibility:hidden;

    transition:all 0.3s ease;
}

#backToTop:hover{
    background:#5d7700;
    color:#fff;
    transform:translateY(-3px);
}

#backToTop.show{
    opacity:1;
    visibility:visible;
}

/* End of Back To Top Button */


/*contact us page mobile view alter */

/* Mobile View */
@media (max-width: 767px){

    /* Branch 1, Branch 2, Branch 3 */
    .tm-flex{
        flex-direction:column;
    }

    /* Contact Form & Map */
    .tm-contact-container{
        flex-direction:column;
    }

    .tm-2-col-textbox-2,
    .tm-2-col-textbox-3{
        width:100% !important;
        margin-right:0 !important;
        margin-bottom:20px !important;
    }

    /* Reach Us & Head Office boxes */
    .reach-box,
    .reach-box-ho{
        width:100% !important;
    }

    iframe{
        height:350px !important;
    }
}

/* End of Contact us page mobile view alter */



/* Home page boxes in tablet */

@media (max-width: 991px){

    .tm-3-col-textbox{
        width:100% !important;
        max-width:100% !important;
        margin-bottom:20px;
    }
}

/* End of Home page boxes in tablet */



/* For Slider hidden behind marquee on mobile view */

@media(max-width:991px){
    .export-slider{
        margin-top:170px;
    }
}

@media(max-width:767px){
    .export-slider{
        margin-top:150px;
    }
}

/* End of Slider hidden behind marquee on mobile */

.dropdown-product{
    position:relative;
}

.submenu-toggle{
    display:none;
}

@media (max-width:991px){

    .submenu-toggle{
        display:block;
        position:absolute;
        right:10px;
        top:50%;
        transform:translateY(-50%);
        cursor:pointer;
        z-index:1000;
    }

}



