/*---------------------------------------------------------------------------------

 Theme Name:   RAM Handling
 Theme URI:    https://www.ramhandling.com
 Description:  Thème officiel pour le site web de la société RAM Handling.
 Author:       CHAHINE Youssef
 Author URI:   
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

------------------------------ ADDITIONAL CSS HERE ------------------------------*/

/* Alignement Centré en Vertical */
.ds-vertical-align {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/*bullet checklist by www.peeayecreative.com*/
.rh-bullet-list ul {
	list-style-type: none!important;
	}
	
	.rh-bullet-list ul li:before {
	content: '\24'!important;
	color: #F74262;
	font-family: 'ETMODULES'!important;
	margin-right: 10px;
	margin-left: -14px;
	padding-top: 5px !important;
	font-size: 16px!important;
	}


.rh-bullet-list .et_pb_button_module_wrapper {
	display: inline-block !important;
}


.stations_table {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(9%, 1fr));
	gap: 1%;
}

@media (min-width: 981px) {
	.et_pb_menu .et_pb_menu__wrap {
		justify-content: center !important;
	}
}

.mobile_nav {
	background-color: #0C181D !important;
}

.mobile_nav .mobile_menu_bar:before {
	color: #F4F5F5 !important;
}

:root {
	--swiper-theme-color: #0C181D !important;
}

.gs_logo_area.carousel_has--dots .gs_logo_container {
	padding-bottom: 25px !important;
}

.gs_logo_single--inner {
	width: auto !important;
	min-width: auto !important;
}

.def_to_gray,
.gray_to_def:hover {
	max-width: 150px !important;
}

@media (max-width: 768px) {

	.def_to_gray,
	.gray_to_def:hover {
		max-width: 220px !important;
	}
}

@media screen and (min-width: 981px) {
	.et-blog-css-grid>div {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(23%, 1fr));
		gap: 2%;
	}

	.et-blog-css-grid.et_pb_image:hover img,
	.et-blog-css-grid .et_pb_image_wrap:hover img,
	.et-blog-css-grid a:hover img {
		transform: scale(1.3);
		transition: all 2s 0s ease;
	}

	.et-blog-css-grid,
	.et-blog-css-grid a {
		overflow: hidden;
	}
	
	.et-blog-css-grid .post-content .post-content-inner>p {
		overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-line-clamp: 2; /* number of lines to show */
           line-clamp: 2;
   -webkit-box-orient: vertical;
	}

	.et-blog-css-grid.et_pb_image img,
	.et-blog-css-grid .et_pb_image_wrap img,
	.et-blog-css-grid a img {
		transition: all 1s 0s ease;
	}

	.et-blog-css-grid .entry-featured-image-url {
		padding-top: 100%;
		display: block;
	}

	.et-blog-css-grid .entry-featured-image-url img {
		position: absolute;
		height: 100%;
		width: 100%;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		object-fit: cover;
	}



	.et-blog-css-grid-page>div {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(19.5%, 1fr));
		gap: 0.5%;
	}

	.et-blog-css-grid-page .post-content .post-content-inner>p {
		font-size: 14px !important;
		overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-line-clamp: 2; /* number of lines to show */
           line-clamp: 2;
   -webkit-box-orient: vertical;
	}

	.et-blog-css-grid-page.et_pb_image:hover img,
	.et-blog-css-grid-page .et_pb_image_wrap:hover img,
	.et-blog-css-grid-page a:hover img {
		transform: scale(1.3);
		transition: all 2s 0s ease;
	}

	.et-blog-css-grid-page,
	.et-blog-css-grid-page a {
		overflow: hidden;
	}

	.et-blog-css-grid-page.et_pb_image img,
	.et-blog-css-grid-page .et_pb_image_wrap img,
	.et-blog-css-grid-page a img {
		transition: all 1s 0s ease;
	}

	.et-blog-css-grid-page .entry-featured-image-url {
		padding-top: 100%;
		display: block;
	}

	.et-blog-css-grid-page .entry-featured-image-url img {
		position: absolute;
		height: 100%;
		width: 100%;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		object-fit: cover;
	}

}

.join_us_single_line_form {
	position: relative;
}

.join_us_single_line_form .et_pb_contact_submit.et_pb_button {
	position: absolute;
	right: 20px;
	top: 10px;
}

.join_us_single_line_form .et_pb_button:hover::after {
	margin-left: 0em !important;
	padding-top: 2.5px !important;
}

/*make the menu items fullwidth and add space between them*/
.footer_vertical_menu .et_pb_menu__menu nav ul li {
	display: block;
	width: 100%;
	margin: 15px 0;
}

.footer_vertical_menu .et_pb_menu__menu nav ul li:first-child {
	margin-top: 0 !important;
}

/*style the menu items*/
.footer_vertical_menu .et_pb_menu__menu nav ul li a {
	padding: 0 20px !important;
	padding-left: 0 !important;
	color: #96a7b0 !important;
}

/*style the menu items on hover*/
.footer_vertical_menu .et_pb_menu__menu nav ul li a:hover {
	opacity: 1 !important;
	color: #ffffff;
}

/*style the active menu item*/
.footer_vertical_menu .et_pb_menu__menu nav ul li.current-menu-item a {
	opacity: 1 !important;
	color: #ffffff;
}

/*style the arrow icon if there are submenus*/
.footer_vertical_menu .et_pb_menu__menu .menu-item-has-children>a:first-child:after {
	content: "5" !important;
	/*change arrow icon for submenu*/
	padding: 20px;
	padding-left: 0px !important;
	font-size: 24px;
}

/*style the arrow icon if there are submenus to submenus*/
.footer_vertical_menu .et_pb_menu__menu .menu-item-has-children .menu-item-has-children>a:first-child:after {
	padding: 8px !important;
	right: 0px !important;
}

/*make the submenu align directly to the right of the menu item instead of below*/
.footer_vertical_menu .et_pb_menu__menu nav ul li ul {
	top: 0 !important;
}

/*align submenu to the right of menu link*/
.footer_vertical_menu .et_pb_menu__menu nav li ul {
	left: 100% !important;
}

/*add an icon to the left of each menu item link*/
.footer_vertical_menu ul li a:before {
	font-family: 'ETMODULES';
	content: '\24';
	text-align: center;
	vertical-align: middle;
	margin-right: 8px;
	margin-left: 0px;
	color: #f74262;
	font-size: 1.3em;
	transition: all .75s ease;
}

/*style the menu items icon*/
.footer_vertical_menu ul li a:hover:before {
	margin-left: 7px;
	color: white !important;
	transition: all .75s ease;
}

/*style the active menu item icon*/
.footer_vertical_menu ul li.current-menu-item a:before {
	margin-left: 7px;
	color: #ffffff !important;
}

@media (max-width: 980px) {

	/*open the mobile menu up and use on all devices*/
	.et-db #et-boc .et-l .footer_vertical_menu .et_pb_menu__menu {
		display: flex;
	}

	/*hide the hamburger icon*/
	.et-db #et-boc .et-l .footer_vertical_menu .et_mobile_nav_menu {
		display: none;
	}
}

/********************************
KEN BURNS EFFECT CLASS
********************************/

.kenburns-top {
	-webkit-animation: kenburns-top 10s ease-in-out alternate-reverse backwards;
	animation: kenburns-top 10s ease-in-out alternate-reverse backwards;
}

/**
 * ----------------------------------------
 * animation kenburns-top
 * ----------------------------------------
 */
@-webkit-keyframes kenburns-top {
	0% {
		-webkit-transform: scale(1) translateY(0);
		transform: scale(1) translateY(0);
		-webkit-transform-origin: 50% 16%;
		transform-origin: 50% 16%;
	}

	100% {
		-webkit-transform: scale(1.25) translateY(-15px);
		transform: scale(1.25) translateY(-15px);
		-webkit-transform-origin: top;
		transform-origin: top;
	}
}

@keyframes kenburns-top {
	0% {
		-webkit-transform: scale(1) translateY(0);
		transform: scale(1) translateY(0);
		-webkit-transform-origin: 50% 16%;
		transform-origin: 50% 16%;
	}

	100% {
		-webkit-transform: scale(1.25) translateY(-15px);
		transform: scale(1.25) translateY(-15px);
		-webkit-transform-origin: top;
		transform-origin: top;
	}
}


.featured-content-slider.slick-slider {
	padding: 0 !important;
	flex-direction: column !important;
	justify-content: center !important;
}

.featured-content-list.design-1 h3.entry-title,
.featured-content-slider.design-1 h3.entry-title {
	text-align: center;
	margin: 0 auto !important;
	padding: 0 !important;
	line-height: 1em !important;
	font-size: 16px !important;
	color: #66747A !important;
}

.featured-content-list.design-1 .featured_short_content .sub-content,
.featured-content-slider.design-1 .featured_short_content .sub-content {
	text-align: center;
	padding: 0 !important;
	margin: 0 auto !important;
	font-weight: bold !important;
	color: #060C0E;
}

.featured-content-list.design-1 .featured-content-image,
.featured-content-slider.design-1 .featured-content-image {
	text-align: center !important;
	position: relative !important;
	margin: 0 auto !important;
	margin-top: 20px !important;
	padding: 0 !important;
	height: 64px !important;
}

.featured-content-list.design-1 .featured-content-image,
.featured-content-slider.design-1 .featured-content-image>img {
	max-width: 64px !important;
	max-height: 64px !important;
	margin: 0 auto !important;
}

.numbers {
	color: #F14161 !important;
}