/*
 Theme Name: HC RMS
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Hirt&Carter RMS Website
 Author: David Snyman
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */

/* Nav */
header#main-header {
    background: #000;
}
.home header#main-header {
    background: transparent;
}
.edfm-toggle {
    display: block !important;
    background: transparent;
}
.edfm-toggle > div {
    background: #fff;
    height: 2px;
    width: 40px;
}
.edfm_position_right .edfm-toggle-wrapper {
    right: 5%;
}
.admin-bar .edfm-toggle-wrapper {
    top: 45px;
}
.edfm-toggle-wrapper {
    top: 20px;
}
.edfm_side_menu .edfm-fly-menu-wrapper-inner {
    background: #000;
    font-family: 'Roboto', sans-serif;
}

.edfm-body-additional-content a {
    display: block;
    color: #fff;
    font-size: 1rem;
    padding: 10px 0!important;
    border-bottom: 1px solid #242424;
}
.edfm-body-additional-content {
    text-align: left;
    padding: 30px 40px !important;
}
.edfm-fly-menu-wrapper-inner {
    width: 40%;
}
.edfm-body-additional-content h3 {
    text-transform: uppercase;
}
.edfm-toggle-wrapper {
    position: fixed;
    z-index: 9999999;
    left: 10px;
}
nav#top-menu-nav {
    display: none;
}
.et_header_style_left .logo_container {
    position: relative;
    height: 100%;
    width: 30%;
}
.et_fixed_nav #main-header {
    position: fixed;
    height: 100px;
}
.et-fixed-header#main-header {
    background: #000 !important;
}
/* fonts */

@font-face {
	font-family: Bebas-Neue-Pro-Expanded-Bold;
	src: url(fonts/Bebas-Neue-Pro-Expanded-Bold.ttf);
}
@font-face {
	font-family: Bebas-Neue-Pro-Expanded-Regular;
	src: url(fonts/Bebas-Neue-Pro-Expanded-Regular.ttf);
}

h1, h2, h3, h4 {
    font-family: Bebas-Neue-Pro-Expanded-Bold;
    color: #ea1b47;
	text-transform: uppercase;
}

body {
	font-family: Bebas-Neue-Pro-Expanded-Regular;
	color: #000000;
	font-size: 1rem;
	line-height:1.5rem;
}
h1 {
	font-size: 3rem;
	line-height: 3.2rem;
}
h1.red {
    color: #ea1b47 !important;
}

h2 {
    font-size: 2.3rem;
    line-height: 2.8rem;
}

.text-big {
	font-size: 1.2rem !important;
	line-height: 1.6rem !important;
}

/* Layout */

.height-70 {
    height: 70svh;
}

div#page-container {
    padding-top: 0 !important;
}
.video-banner {
    padding-top: 0 !important;
    margin-bottom: -50px;
}
.et_pb_row {
    width: 90%;
    max-width: 1280px;
    margin: auto;
    position: relative;
}

/* RMS Icons */
.rms-icon-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    grid-auto-flow: dense;
    width: 100%;
    float: none;
    gap: 60px;
}
.rms-icon-wrapper img {
    width: auto;
    height: 100px !important;
}
.rms-icon-wrapper {
    display: block;
    cursor: pointer;
    text-align: center;
}
.rms-icon-wrapper:nth-child(3) img, .rms-icon-wrapper:nth-child(6) img, .rms-icon-wrapper:nth-child(7) img {
    height: 90px;
}
.rms-content-wrapper {
    grid-column: 1 / -1;
}

.rms-content-wrapper {
    background: #f2f2f2;
    padding: 50px;
}
/* Footer */

footer.et-l.et-l--footer {
    font-size: .8rem;
}

/* Contact */

.locations strong {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: -10px !important;
    display: block;
}

.locations p {
    font-size: 1rem;
}
.locations .et_pb_column:last-child {
    border-right: none;
}
/*.locations .et_pb_column {
    border-right: 1px solid #dadada;
    padding-right: 35px;
}*/
.locations a {
    color: #000;
}
.locations .et_pb_gutters2 .et_pb_column_1_4, .et_pb_gutters2.et_pb_row .et_pb_column_1_4 {
    width: auto;
}

/* Features */

.et_pb_tabs_controls li {
    float: none;
    display: block;
}
.et_pb_all_tabs {
    width: 80%;
}

.et_pb_tabs_controls {
    width: 20%;
}
.et_pb_tabs {
    display: flex;
}
.et_pb_tabs_controls li:last-child {
    border-bottom: 0 !important;
}
.et_pb_tabs_controls li {
    height: auto !important;
    border-bottom: 1px solid #ddd;
    border-right: none;
}
ul.et_pb_tabs_controls:after {
    border-top: none;
}
.video-container {
    display: flex;
    flex-wrap: wrap;
}.video-placeholder {
    width: 48%;
    margin-right: 2%;
    margin-top: 2%;
}
.et_pb_tabs_controls li a {
    display: block;
    font-family: 'Gotham-Bold';
    font-size: 1rem;
    line-height: 1.3rem;
    padding: 18px 20px;
	color: #fff;
}
ul.et_pb_tabs_controls {
    background-color: #ea1b47;
	 border-right: 2px solid #ea1b47;
}
.et_pb_tab {
    padding: 24px 10px 24px 30px;
}

/* RMS Content */

h2.small {
    font-size: 1rem;
    color: #000;
    line-height: 1.1rem;
    margin-top: 10px;
}

/* Mobile */

@media(max-width:979px) {
.et_pb_all_tabs {
    width: 100%;
}

.et_pb_tabs_controls {
    width: 100%;
}
.et_pb_tabs {
    display: block;
}
.et_pb_tab {
    padding: 15px !important;
}
.video-placeholder {
    width: 100%;
    margin-right: 0;
    margin-top: 2%;
    margin-bottom: 30px;
}
.edfm-fly-menu-wrapper-inner {
    width: 100%;
}
.rms-icon-container {
    flex-wrap: wrap;
    width: 90%;
    margin: 0 auto;
}
.rms-icon-wrapper {
    width: 33.33%;
    text-align: left;
    margin-bottom: 20px;
}
.rms-icon-wrapper:nth-child(3) img, .rms-icon-wrapper:nth-child(6) img, .rms-icon-wrapper:nth-child(7) img {
    height: 63px;
}
.rms-icon-wrapper img {
    width: auto;
    height: 72px;
}
.arrow-row-swap .et_pb_column:last-child {
    width: 50% !important;
    margin: 0 0 0 50%;
}
.arrow-row-swap .et_pb_column:first-child {
    order: 2;
    margin-bottom: -20px;
}
.arrow-row-swap {
    display: flex;
    flex-wrap: wrap;
}
.et_had_animation {
    transform: none !important;
}
.et_pb_row.et_pb_row_8.arrow-row-swap {
    height: 100px;
    align-content: flex-start;
}
.height-70 {
    height: auto;
}
.et_pb_image_0 {
    margin-top: -103px!important;
}
div#et_mobile_nav_menu {
    display: none;
}
.et_header_style_left #logo {
    max-width: 100%;
}
.et_header_style_left .logo_container {
    width: 50%;
}
.et_transparent_nav #page-container {
    padding-top: 70px !important;
}
header#main-header {
    background: #000;
}
h2 {
    font-size: 1.5rem;
    line-height: 1.8rem;
}
h1.red {
    color: #ea1b47 !important;
    font-size: 1.5rem;
    line-height: 1.8rem;
}
.et_pb_column {
    width: 100%!important;
}
.locations .et_pb_column {
    border-right: none;
    padding-bottom: 30px !important;
    padding-right: 0;
    border-bottom: 1px solid #dadada;
}
.rms-icon-wrapper {
    width: 50%;
    text-align: center;
}
.rms-icon-container {
    display: flex;
    gap: 0;
}
.rms-content-wrapper {
    padding: 30px;
    margin-bottom: 20px;
}
}