/*
Theme Name: ORMC Intranet
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.1.1.1724288891
Updated: 2024-08-22 01:08:11

*/

/* Global settings */
p, a, span, li {
	word-wrap: break-word;
}

.elementor-button span {
	text-align: left;
}

.hover-link a:hover {
    text-decoration: underline;
}

.hfe-menu-toggle.sub-arrow.hfe-menu-child-0 {
	margin-left: 5px;
}

.hfe-menu-toggle.sub-arrow.hfe-menu-child-0 .fa {
	display: none;
}
.hfe-menu-item :after {
	content: "▾" !important;
	display: block;
	font-size: 16px;
}

.eael-adv-accordion .eael-accordion-list .eael-accordion-header.active .fa-toggle {
    transform: rotate(180deg);
}

/* Header */
#megamenu {
    display: none;
    position: absolute;
    z-index: 100;
    width: 100%;
}
#menu-item-32 .sub-menu {
    display: none;
}
.hfe-submenu-icon-classic .hfe-nav-menu .parent-has-child .sub-arrow i:before {
    content: "▾" !important;
    display: block;
    font-size: 16px;
    transform: rotate(230deg);
}
@media(max-width:480px) {
  #menu-item-32 .sub-menu {
    display: block;
    }  
}
@media only screen and (max-width: 1024px) {
    .hfe-nav-menu__breakpoint-tablet .hfe-layout-horizontal .hfe-nav-menu__toggle, .hfe-nav-menu__breakpoint-tablet .hfe-layout-vertical .hfe-nav-menu__toggle {
        visibility: visible;
        opacity: 1;
        display: inline-block;
    }
    #menu-item-32 .sub-menu {
        display: block;
    }
}
#searchBarTablet {
    display: none;
}
#searchBar {
    display: none;
}

.SandHcontainer {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 30px 0;
}

.SandHimg {
	width: 380px;
	height: 250px !important;
}

.SandHtext {
	position: relative;
	width: 200px;
	height: 100px;
	background-color: #003D7C;
	text-align: center;
	color: white;
	font-family: Arial;
	margin-top: -55px;
	font-size: 32px;
	line-height: 36px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	transition: margin-top 0.3s ease, height 0.3s ease;
/* 	border-bottom: 5px solid #003D7C; */
}

/* .SandHtext:hover {
	color: black;
	background-color: white;
	border-bottom: 5px solid #003D7C;
	height: 120px;
	margin-top: -85px; 
} */

/* .SandHtext:hover::after {
	content: "View Report \2192";
	font-size: 20px;
} */

.past-report .elementor-shortcode {
	display: flex;
	flex-wrap: wrap;
	gap: 5%;
}
.past-report .past-report-box {
	flex: 0 0 30%; 
	box-sizing: border-box;
	list-style: none;
	box-shadow: 0px 2px 6.927px 0px rgba(0, 0, 0, 0.25);
	margin-bottom: 40px;
	border-radius: 12px;
	transition: .3s
}
.past-report .past-report-box:hover {
	transform: scale(1.05);
}
.past-report .past-report-box img {
	border-radius: 12px 12px 0 0;
}
.past-report .past-report-box .past-report-content {
	padding: 20px;
}
.past-report .past-report-box .past-report-title {
	color: #003D7C;
	font-weight: bold;
	font-size: 24px;
	text-align: center;
}
.past-report .past-report-box p {
	font-size: 14px;
	color: black;
}

.tabs .eael-advance-tabs .eael-tabs-nav>ul li {
    flex: none !important;
    min-height: 80px;
}

.eael-accordion-tab-title {
	width: 90% !important;
}

.blue-tabs .eael-tab-item-trigger.active{
    border-bottom: 3px solid #EF7C00 !important;
}

.compliance .elementor-button span {
	text-align: center;
}

@media(max-width: 480px) {
	.past-report .elementor-shortcode {
		display: block;
	}
	.tabs .eael-advance-tabs .eael-tabs-nav>ul {
		display: block;
	}
	.tabs .eael-advance-tabs .eael-tabs-nav>ul li {
		min-height: 40px;
	}
	.eael-accordion-tab-title {
		max-width: 85%;
	}
	.eael-data-table-wrap .td-content-wrapper {
		display: block;
	}
		.eael-data-table-wrap .td-content-wrapper .th-mobile-screen {
		text-align: left;
			padding: 0;
	}
	#nus-total-workplace-safety-amp-health-total-wsh-nus, #nus-first-aid-programme, #office-safety-programme, #tenant-safety, #safety-and-health-management-system, #fire-safety, #construction-safety, #community-of-practice-cop {
        width: 100% !important;
    }
    #slips-trips-and-falls, #accident-and-incident-management-system-aims, #student-internship-safety-and-health-programme {
        width: 100% !important;
    }
}

.eael-data-table .td-content {
	display: block !important;
}

.vertical-tabs .eael-tab-item-trigger{
    box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.25);
    justify-content: center !important;
}    

@media(max-width: 780px) and (min-width:481px) {
.vertical-tabs .eael-tab-item-trigger {
    min-height: 150px;   
}
}

/* Useful Contact */
.contactButton {
    border: none;
    color: #003D7C;
    padding-left: 0px;
}
.contactButton:hover,
.contactButton:active {
    text-decoration: underline;
    background: none;
    color: #003D7C;
}
@media (max-width:767px) {
    .contactButton:hover, .contactButton:active, .contactButton {
        text-decoration: none;
    }
}

.visit-page-button {
    font-family: Arial;
    font-size: 1rem;
    line-height: 1.5;
}

/* Button Styles */
.useful button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
}

/* Learn More Button Styles */
.useful button.learn-more {
    width: 150px;
    height: auto;
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
}

/* Circle Styles */
.useful button.learn-more .circle {
    transition: 0.5s;
    position: relative;
    display: block;
    margin: 0;
    width: 2rem;
    height: 2rem;
    background: #003D7C;
    border-radius: 1rem;
}

/* Icon Styles */
.useful button.learn-more .circle .icon {
    transition: all 0.5s;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: white;
}

/* Arrow Icon Styles */
.useful button.learn-more .circle .icon.arrow {
    transition: all 0.5s;
    left: 0.125rem;
    width: 1.125rem;
    height: 0.125rem;
    background: none;
}

.useful button.learn-more .circle .icon.arrow::before {
    position: absolute;
    content: '';
    top: -0.25rem;
    right: 0.0625rem;
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid #fff;
    border-right: 0.125rem solid #fff;
    transform: rotate(45deg);
}

/* Button Text Styles */
.useful button.learn-more .button-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.25rem 0;
    color: #003D7C;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    font-style: italic;
}

/* Hover Styles */
.useful button.learn-more:hover .circle,
.useful button.learn-more:active .circle {
    width: 100% !important;
}

.useful button.learn-more:hover .circle .icon.arrow,
.useful button.learn-more:active .circle .icon.arrow {
    background: white;
    transform: translate(1rem, 0);
}

.useful button.learn-more:hover .button-text,
.useful button.learn-more:active .button-text {
    color: white;
}

@media (max-width: 767px) {
    .useful button.learn-more .circle {
        width: 100%;
    }
        
    .useful button.learn-more .circle .icon.arrow {
        background: white;
        transform: translate(1rem, 0);
    }
    
    .useful button.learn-more .button-text {
        color: white;
    }
}

.general-safety .eael-advance-tabs .eael-tabs-nav>ul {
    flex-wrap: wrap;
}
.general-safety .eael-advance-tabs .eael-tabs-nav>ul li {
    height: 70px;
}
#nus-total-workplace-safety-amp-health-total-wsh-nus, #nus-first-aid-programme, #office-safety-programme, #tenant-safety, #safety-and-health-management-system, #fire-safety, #construction-safety, #community-of-practice-cop {
    width: 25%;
}
#slips-trips-and-falls, #accident-and-incident-management-system-aims, #student-internship-safety-and-health-programme {
    width: 33%;
}