/*!
Theme Name: JTEC
Theme URI: jtec.gov.jm
Author: Jamaica Information Service
Author URI: https://jis.gov.jm/
Description: JTEC Main website template
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: jtec
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.

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

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	/*font-family: "Founders Grotesk", Sans-serif;*/
	-webkit-text-size-adjust: 100%;
	 /*scroll-behavior: smooth;*/
	 scroll-behavior: auto !important;
}
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #d9d9d9;  
}
#map {
    height: 500px;
}
/********************************************************************************/
/* TEAM MEMBERS
*********************************************************************************/
.team_img_wrapper {
    overflow: hidden;
    width: 100%;
    min-height: 430px;
    border-radius: 12px;
    position: relative;
    cursor: crosshair;
}
.team_img_wrapper::before {
    position: absolute;
	top: 0;
	left: -75%;
	z-index: 2;
	display: block;
	content: '';
	width: 50%;
	height: 100%;
	background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
	background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
	-webkit-transform: skewX(-25deg);
	transform: skewX(-25deg);
}
.team_img_wrapper:hover::before {
	-webkit-animation: shine .75s;
	animation: shine .75s;
}
@-webkit-keyframes shine {
	100% {
		left: 125%;
	}
}
@keyframes shine {
	100% {
		left: 125%;
	}
}
.team_img_wrapper {
	background: #f6f6f6;
}
.team_img {
    width: 100%;
    max-width: 100%;
    height: 430px;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: top center !important;
}
.teams_wrapper .team_img_wrapper .team_img {
	-webkit-transform: scale(1);
	transform: scale(1);
	/*-webkit-filter: grayscale(100%);*/
	/*filter: grayscale(100%);*/
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.teams_wrapper .team_img_wrapper:hover .team_img {
	-webkit-transform: scale(1.3);
	transform: scale(1.3);
	/*-webkit-filter: grayscale(0);*/
	/*filter: grayscale(0);*/
}
.job_title {
    padding: 15px 0;
}
.job_title h5 {
    margin-bottom: 3px;
    font-weight: 500;
    font-family: "Founders Grotesk", Sans-serif;
    font-size: 18px;
}
.job_title h6 {
    margin-top: 5px;
    color: #545454;
    font-family: "Founders Grotesk", Sans-serif;
    font-weight: 500;
    font-size: 14px;
}
.job_title h5,
.job_title h6 {
    line-height: 1.4rem;
}
.wp-pagenavi {
    display: flex;
    margin-top: 30px;
}
.wp-pagenavi span.pages,
.wp-pagenavi a.first,
.wp-pagenavi a.previouspostslink,
.wp-pagenavi span.extend,
.wp-pagenavi span.current,
.wp-pagenavi a.page.smaller,
.wp-pagenavi a.page.larger,
.wp-pagenavi a.nextpostslink {
    padding: 10px 15px;
}

.events__wrap {
    background: #fff;
    margin-bottom: 15px;
    padding: 12px 20px;
    border-radius: 7px;
}
.date__time__wrap {
    background: #f5f5f5;
    border-radius: 7px;
    text-align: center;
    padding: 12px 0;
}
.date__time__wrap.dt__color__2 {
    background: #ffc4c452;
}
.date__time__wrap.dt__color__3 {
    background: #6633992e;
}
.date__time__wrap.dt__color__4 {
    background: #42dd4236;
}
.events__date__time h6 {
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
}
.date_time {
    font-weight: 500;
    font-size: 25px;
    margin-top: -5px;
}
.events_content_body h3 {
    font-size: 18px;
    font-weight: 600;
    font-family: "Founders Grotesk", Sans-serif;
	padding: 12px 0;
}
div#comments,.mec-event-content {
    display: none;
}
.mec-container {
	padding: 40px 0;
}
.cta__wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.cta__wrap a {
    font-size: 14px;
    color: #000;
    text-decoration: none;
    padding: 10px 13px;
    border-radius: 9px;
    transition: .2s ease-in;
}
.cta__wrap a:hover {
    background: #000;
    color: #fff;
    text-decoration: none;
}
.element-on-hover:hover .change-color-on-hover h2,
.element-on-hover:hover .change-color-on-hover h3,
.element-on-hover:hover .change-color-on-hover i,
.element-on-hover:hover .change-color-on-hover .elementor-post-info__terms-list,
.element-on-hover:hover .change-color-on-hover .elementor-button-content-wrapper {
    color: #fdbc2c !important;
}
.element-on-hover:hover .change-color-on-hover .elementor-icon {
    background: #FDBC2C1F !important;
}
.menu-hover-effect:hover .change-color-to-white h2 {
    color: #fff !important;
}
.mega-page-item-13 a {
    background: none !important;
}