/* 
Theme Name: RMI Theme
Description: RMI Theme is a child theme of Hello Elementor, created exclusively for RMI.
Author: Mason Digital
Author URI: https://masondigital.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* Add your custom styles here */

html, body {
	overflow-x: hidden;
}

h1,h2,h3,h4 {
	margin-top: 0;
	text-wrap: balance;
}
h2 {font-size: 2.5em;}
h3 {font-size: 1.8em;}
@media (max-width: 767px) {
	h2 {font-size: 2em;}
	h3 {font-size: 1.5em;}
}

a {
	overflow-wrap: break-word;
	word-wrap: break-word;
}

.styled-list ul {
	padding-left: 18px;
	list-style: none;
}
.styled-list li {
	line-height: 1.4;
	margin-bottom: 10px;
}
.styled-list li:last-child {
	margin-bottom: 0px;
}
.styled-list li:before {
	content: '\f105';
	font-family: 'FontAwesome';
	color: var(--e-global-color-accent);
	margin-right: 8px;
	margin-left: -20px;
	font-size: 1.1em;
}
.styled-list ul ul {
	margin-top: 5px;
	list-style: disc;
}
.styled-list ul ul li {
	margin-bottom: 5px;
}
.styled-list ul ul li:before {
	display: none;
}



.wp-block-table td,.wp-block-table th {
	padding: 15px;
	line-height: 1.3
}

.wp-block-table td[data-align="center"] {
	text-align: center;
}

.wp-block-table.is-style-custom-stripe-1 {
	color: #0A3048;
	border-bottom: 1px solid #f0f0f0;
	border: none;
}

.wp-block-table.is-style-custom-stripe-1 thead th {
	min-width: 200px;
	line-height: 1.2 !important;
	border-block-start: none!important;
}

.wp-block-table.is-style-custom-stripe-1 thead th:first-child {
	width: auto;
	min-width: 350px
}

@media (max-width: 767px) {
	.wp-block-table.is-style-custom-stripe-1 thead th:first-child {
		min-width:160px
	}
}

@media (max-width: 1200px) {
	.wp-block-table.is-style-custom-stripe-1 thead th {
		min-width:160px
	}
}

@media (max-width: 991px) {
	.wp-block-table.is-style-custom-stripe-1 thead th {
		width:200px
	}
}

.wp-block-table.is-style-custom-stripe-1 thead th span {
	display: block;
	font-size: 80%;
	font-weight: 400
}

.wp-block-table.is-style-custom-stripe-1 tbody {
	border-top: 5px solid #A5BF45
}

.wp-block-table.is-style-custom-stripe-1 tbody tr:nth-child(odd) {
	background-color: #f0f0f0
}

.wp-block-table.is-style-custom-stripe-1 td,.wp-block-table.is-style-custom-stripe-1 th {
	border-color: transparent
}

.wp-block-table.is-style-custom-stripe-1 td img,.wp-block-table.is-style-custom-stripe-1 th img {
	width: 30px;
	margin: 0
}

@media (max-width: 767px) {
	.wp-block-table.is-style-custom-stripe-1 td img,.wp-block-table.is-style-custom-stripe-1 th img {
		width:25px
	}
}

.wp-block-table.is-style-custom-stripe-1 thead th:nth-child(3),.wp-block-table.is-style-custom-stripe-1 tbody td:nth-child(3) {
	background: #0A3048;
	color: #fff
}

.wp-block-table.is-style-custom-stripe-1 thead th:nth-child(3) {
	border-top-left-radius: 10px;
	border-top-right-radius: 10px
}



/* ELEMENTOR TWEAKS */

.elementor-widget-text-editor p:last-child {
  margin-bottom: 0px;
}
.elementor-widget-text-editor ul,
.elementor-widget-text-editor ol,
.elementor-widget-theme-post-content ul,
.elementor-widget-theme-post-content ol {
	margin-bottom: 20px;
}
.elementor-widget-text-editor a {
  text-decoration: underline;
}







.my-icon-swiper {
  height: 180px; /* adjust as needed */
  //height: 280px; /* if five items */
  overflow: hidden;
}
@media (max-width: 767px) {
	.my-icon-swiper {
		height: 100px; 
	}
}

.my-icon-swiper .vert-swiper-container {
  height: 100%;
}

.my-icon-swiper .swiper-slide {
  display: flex !important; /* so icon and text stay horizontal */
  align-items: center;
  transform: scale(.75);
  opacity: .3;
  transition: .5s;
}
.my-icon-swiper .swiper-slide.is-active {
	//transform: scale(.85);
	//opacity: .5;
}
.my-icon-swiper .swiper-slide.swiper-slide-next {
	transform: scale(1);
	opacity: 1;
}

.my-icon-swiper .swiper-notification {
  display: none !important; /* hide accessibility alerts */
}



.gform_wrapper.gravity-theme .gfield_label {
	font-size: .9em;
}
.gfield input,
.gfield textarea,
.gfield select {
	border: 1px solid #ccc;
}




/* PAGE HERO */

.page-hero {
	min-height: 200px;
	padding: 60px 20px;
}
@media (max-width: 1024px) {
	.page-hero {
		padding: 40px 20px;
	}
}
@media (max-width: 767px) {
	.page-hero {
		padding: 30px 20px;
	}
}


/* ELEMENTOR ANIMATIONS */

@keyframes fadeDown {
	from {opacity: 0; transform: translate3d(0,-60px,0)}
	to {opacity: 1; transform: none}
}
.elementor-element.fadeInDown {
	animation-name: fadeDown;
}

@keyframes fadeLeft {
	from {opacity: 0; transform: translate3d(-60px,0,0)}
	to {opacity: 1; transform: none}
}
.elementor-element.fadeInLeft {
	animation-name: fadeLeft;
}

@keyframes fadeRight {
	from {opacity: 0; transform: translate3d(60px,0,0)}
	to {opacity: 1; transform: none}
}
.elementor-element.fadeInRight {
	animation-name: fadeRight;
}

@keyframes fadeUp {
	from {opacity: 0; transform: translate3d(0,60px,0)}
	to {opacity: 1; transform: none}
}
.elementor-element.fadeInUp {
	animation-name: fadeUp;
}

@keyframes zoomIn {
	from {opacity: 0; transform: scale3d(.7,.7,.7)}
	50% {opacity: 1}
}
.elementor-element.zoomIn {
	animation-name: zoomIn;
}

.zoomIn {
	animation-name: zoomIn
}

.elementor-animation-grow:active,
.elementor-animation-grow:focus,
.elementor-animation-grow:hover {
	transform: scale(1.03)!important;
}