/* 
 Theme Name:     OvationMR
 Author:         Jim Whaley/OvationMR
 Author URI:     https://www.ovationmr.com
 Template:       Divi
 Version:        1.1.2
 Description:   A Child Theme built using the elegantmarketplace.com Child theme maker
Developed by Andrew Palmer for Elegant Marketplace www.elegantmarketplace.com Free to use and duplicate as many times as you like
 Wordpress Version: 5.3.2
*/ 


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 

/* Hide the Divi main-header - we are using a customized mega-menau instead (ovmr-menu) */
header#main-header div.et_menu_container {
	display: none;
}

/* um 2021-05-01: Make sure the top-header does not cause that much CLS */
.ovmr-top-header-section {
	height: 48px;
	overflow-y: hidden;
	padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.ovmr-top-header-section .et_pb_row {
	padding-top: 0;
	padding-bottom: 0;
}

@media (max-width: 980px) {
	.ovmr-top-header-section .ovmr-top-header-row-desktop {
		display: none;
	}
}
@media (min-width: 981px) {
	.ovmr-top-header-section .ovmr-top-header-row-mobile {
		display: none;
	}
}

/*
 * CSS for the new OvationMR menu
 */

/* um 2021-05-01: Avoid CLS for the menu */
.ovmr-menu-section {
	overflow-y: hidden;
	padding: 0 !important;
	width: 100% !important;
}
.ovmr-menu-section .et_pb_row  {
	padding: 0 !important;
	margin: 0 !important;
	width: 100% !important;
}
.ovmr-menu-section .ovmr-menu  {
	height: 86px;
	vertical-align: middle;
	padding-top: 1em;
	padding-bottom: 1em;
}
@media (max-width: 767px) {
	.ovmr-menu-section .ovmr-menu .et_pb_menu__logo {
		margin-left: 15vw;
	}
	
	/* OvationMR text on mobile devices */
	.ovmr-text-post {
		font-size: 17px;
		line-height: 1.7em;
	}
}
@media (min-width: 768px) and (max-width: 980px) {
	.ovmr-menu-section .ovmr-menu .et_pb_menu__logo {
		margin-left: 10vw;
		margin-right: 0;
	}
	/* OvationMR text on tablet devices */
	.ovmr-text-post {
		font-size: 19px;
		line-height: 1.4em;
	}
}
@media (min-width: 981px) {
	.ovmr-menu-section .ovmr-menu  {
		height: 86px;
		vertical-align: middle;
		padding-top: 0;
		padding-bottom: 0;
	}
	.ovmr-menu-section .ovmr-menu .et_pb_menu__logo {
		margin-left: 5vw;
		margin-right: 0;
		display: none;
	}
	/* OvationMR text on desktop devices */
	.ovmr-text-post {
		font-size: 19px;
		line-height: 1.3em;
	}
}
.ovmr-menu-section .ovmr-menu .et_pb_menu__logo {
	height: 58px !important;
	width: 210px !important;
}
.ovmr-menu-section .et_pb_menu__logo img {
	overflow: hidden;
}
.ovmr-menu-section .et_pb_menu__logo img {
	height: 58px !important;
	width: 210px !important;
	object-fit: cover;
}

/* Align the menu */
.ovmr-menu.et_pb_menu .et_pb_menu__menu>nav>ul {
  align-items: center;
}

/* Style the menu items but not the first one (the image) */
.ovmr-menu.et_pb_menu .et_pb_menu__menu>nav>ul>li:not(:first-child) {
  padding-top: 2em;
  padding-bottom: 2em;
}

/* Make the last button not stretch the menu vertically */
.ovmr-menu.et_pb_menu .et_pb_menu__menu>nav>ul>li:last-child {
  padding-top: 0;
  padding-bottom: 0;
}

/* Make items with an icon also align nicely */
.ovmr-menu.et_pb_menu .et_pb_menu__menu>nav>ul>li:not(:first-child)>a {
  display: inline-flex;
  align-items: center;
}
.ovmr-menu.et_pb_menu .et_pb_menu__menu>nav>ul>li:not(:first-child)>a>i {
  height: 1em;
}

/* Position the sub-menu */
@media all and (max-width:1204px) {
  .ovmr-menu nav.et-menu-nav>ul>li>ul.sub-menu {
    width: 80%;
    top: calc(100% - 0px);
    left: calc(50% - 40%) !important;
    right: calc(50% - 40%) !important;
  }
}
@media all and (min-width:1205px) {
  .ovmr-menu nav.et-menu-nav>ul>li>ul.sub-menu {
    width: 1024px;
    left: calc(50% - 512px) !important;
    right: calc(50% - 512px) !important;
  }
}

@media all and (max-width:980px) {
    /* Hide the image (which is first in the menu) on smaller screens */
    .ovmr-menu li.menu-item-object-custom:first-child {
        display: none;
    }
}

@media all and (min-width:981px) {
  /* Limit the size of image in the menu but also responsive */
  .ovmr-menu li.menu-item-object-custom img {
    max-width: 210px;
    width: 100%;
  }
}

/* Make the current menu item not stand out */
.et_pb_menu_0.et_pb_menu .et-menu-nav li.current-menu-item a {
	font-weight: normal !important;
}
.et_pb_menu_0.et_pb_menu ul li.current-menu-item a {
	color: #ffffff!important;
}


/*
 * The global bread crumbs section / module
 */
.ovmr-bread-crumbs {
	padding-top: 1em !important;
	padding-bottom: 0 !important;
}
.ovmr-bread-crumbs .et_pb_row {
	padding: 0 !important;
}

/*
 * Make the padding between sections less
 */
.ovmr-section-padding-0 {
	padding-top: 1em !important;
	padding-bottom: 0 !important;
}
.ovmr-section-padding-0 .et_pb_row {
	padding: 0 !important;
}
.ovmr-section-padding-10 {
	padding-top: 1em !important;
	padding-bottom: 10 !important;
}

/* Adjust the menu padding for post-pages.
 *  They are in a left-area container */
#left-area .ovmr-menu nav.et-menu-nav>ul>li ul.sub-menu {
  padding: 0;
}
#left-area .ovmr-menu nav.et-menu-nav>ul>li>ul.sub-menu {
  padding: 20px 0;
}

/* Adjust the CLS for the footer a bit */
.ovmr-footer-phone .et_pb_image {
	height: 127px;
	width: 250px;
	overflow: hidden;
	margin-left: auto;
    margin-right: auto;
    padding-top: 40px;
    padding-bottom: 20px;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 5px;
    text-align: center;
}
.ovmr-footer-phone .et_pb_image img {
	height: 69px;
	width: 250px;
	object-fit: cover;
}
.ovmr-footer-desktop .et_pb_image {
	height: 115px;
	width: 210px;
	overflow: hidden;
	margin-left: auto;
    margin-right: auto;
    padding-top: 40px;
    padding-bottom: 20px;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 5px;
    text-align: center;
}
.ovmr-footer-desktop .et_pb_image img {
	height: 51px;
	width: 200px;
	object-fit: cover;
}

/* um 2021-05-02: Some standard article elements for pages (not for posts) */
article.type-page h1 {
	font-family: 'Open Sans',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 700;
    font-size: 56px;
    color: #141414!important;
    letter-spacing: 3px;
    text-align: center;
	line-height: 1em;
}

article.type-page h1.ovmr-h1-small {
    font-size: 40px;
}

@media (max-width: 767px) {
	article.type-page h1 {
		letter-spacing: 0px;
		text-align: center;
		font-size: 32px;
	}
}
article.type-page .ovmr-center h1 {
    text-align: center;	
}
.single h1 { 
    font-size: 44px; 
    line-height: 1.3em;
	text-align: center;
	padding-bottom: 1.3em;
} 
@media (max-width: 767px) {
	.single h1 {
	font-size: 32px; 
	line-height: 1.3em;
	text-align: center;
	padding-bottom: 1.3em;
	}
}
/* Adjust images to also avoid CLS */
.ovmr-image-18-6 span.et_pb_image_wrap {
	width: 100%;
	overflow: hidden;
}
.ovmr-image-18-6 span.et_pb_image_wrap img {
	width: 100%;
	object-fit: contain;
	aspect-ratio: 18/6;
}
.ovmr-image-18-5 span.et_pb_image_wrap {
	width: 100%;
	overflow: hidden;
}
.ovmr-image-18-5 span.et_pb_image_wrap img {
	width: 100%;
	object-fit: contain;
	aspect-ratio: 18/5;
}
.ovmr-image-18-4 span.et_pb_image_wrap {
	width: 100%;
	overflow: hidden;
}
.ovmr-image-18-4 span.et_pb_image_wrap img {
	width: 100%;
	object-fit: contain;
	aspect-ratio: 18/4;
}
.ovmr-image-18-3 span.et_pb_image_wrap {
	width: 100%;
	overflow: hidden;
}
.ovmr-image-18-3 span.et_pb_image_wrap img {
	width: 100%;
	object-fit: contain;
	aspect-ratio: 18/3;
}
.ovmr-image-18-2 span.et_pb_image_wrap {
	width: 100%;
	overflow: hidden;
}
.ovmr-image-18-2 span.et_pb_image_wrap img {
	width: 100%;
	object-fit: contain;
	aspect-ratio: 18/2;
}
.ovmr-image-16-9 span.et_pb_image_wrap {
	width: 100%;
	overflow: hidden;
}
.ovmr-image-16-9 span.et_pb_image_wrap img {
	width: 100%;
	object-fit: contain;
	aspect-ratio: 16/9;
}
.ovmr-image-16-9-cover span.et_pb_image_wrap {
	width: 100%;
	overflow: hidden;
}
.ovmr-image-16-9-cover span.et_pb_image_wrap img {
	width: 100%;
	object-fit: cover;
	aspect-ratio: 16/9;
}
.ovmr-image-16-3 span.et_pb_image_wrap {
	width: 100%;
	overflow: hidden;
}
.ovmr-image-16-3 span.et_pb_image_wrap img {
	width: 100%;
	object-fit: contain;
	aspect-ratio: 16/3;
}
.ovmr-image-12-9 span.et_pb_image_wrap {
	width: 100%;
	overflow: hidden;
}
.ovmr-image-12-9 span.et_pb_image_wrap img {
	width: 100%;
	object-fit: contain;
	aspect-ratio: 12/9;
}
.ovmr-image-12-6 span.et_pb_image_wrap {
	width: 100%;
	overflow: hidden;
}
.ovmr-image-12-6 span.et_pb_image_wrap img {
	width: 100%;
	object-fit: contain;
	aspect-ratio: 12/6;
}
.ovmr-image-7-5 span.et_pb_image_wrap {
	width: 100%;
	overflow: hidden;
}
.ovmr-image-7-5 span.et_pb_image_wrap img {
	width: 100%;
	object-fit: contain;
	aspect-ratio: 7/5;
}
.ovmr-image-9-9 span.et_pb_image_wrap {
	width: 100%;
	overflow: hidden;
}
.ovmr-image-9-9 span.et_pb_image_wrap img {
	width: 100%;
	object-fit: contain;
	aspect-ratio: 9/9;
}
.ovmr-image-9-12 span.et_pb_image_wrap {
	width: 100%;
	overflow: hidden;
}
.ovmr-image-9-12 span.et_pb_image_wrap img {
	width: 100%;
	object-fit: contain;
	aspect-ratio: 9/12;
}
.ovmr-image-9-16 span.et_pb_image_wrap {
	width: 100%;
	overflow: hidden;
}
.ovmr-image-9-16 span.et_pb_image_wrap img {
	width: 100%;
	object-fit: contain;
	aspect-ratio: 9/16;
}
.ovmr-image-3-16 span.et_pb_image_wrap {
	width: 100%;
	overflow: hidden;
}
.ovmr-image-3-16 span.et_pb_image_wrap img {
	width: 100%;
	object-fit: contain;
	aspect-ratio: 3/16;
}
.ovmr-image-responsive-large span.et_pb_image_wrap {
	width: 100%;
	overflow: hidden;
}
.ovmr-image-responsive-large span.et_pb_image_wrap img {
	width: 100%;
	object-fit: contain;
	height: 30rem;
	aspect-ratio: 16/9;
}

.ovmr-center {
	text-align: center !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/**
 * Some "global" changes for DIVI components
 **/

/* Make the blur element default to 100% width to avoid default CLS */
.et_pb_blurb {
	margin-bottom: 0;
}

.et_pb_blurb_content {
	width: auto;
    max-width: none;
}

/* Make Divi buttons be centered as default*/
.et_pb_button_module_wrapper {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
/* */

/* test to see if this improves things */
.pa-bullet-list-1 ul {
	list-style-type: none!important;
}

.pa-bullet-list-1 ul li:before {
	content: '\005a'!important;
	color: #000000;
	font-family: 'ETMODULES'!important;
	margin-right: 10px;
	margin-left: -14px;
	font-size: 1.2em!important;
}
.icon_box-checked:before {
	content: "\005a"!important;
	font-family: 'ETMODULES'!important;
	font-size: 1.2em!important;
	color: #000000;
}
/* Unorderedlist checkbox White */
.pa-bullet-list-2 ul {
  	list-style-type: none!important;
}

.pa-bullet-list-2 ul li:before {
  	content: '\005a'!important;
  	color: #FFFFFF;
  	font-family: 'ETMODULES'!important;
  	margin-right: 10px;
  	margin-left: -14px;
  	font-size: 1.2em!important;
}
.icon_box-checked:before {
	content: "\005a"!important;
	font-family: 'ETMODULES'!important;
	font-size: 1.2em!important;
	color: #FFFFFF;
}
/* Unorderedlist checkbox Blue */
	
.pa-bullet-list-3 ul {
	list-style-type: none!important;
}

.pa-bullet-list-3 ul li:before {
	content: '\005a'!important;
	color: #0c71c3;
	font-family: 'ETMODULES'!important;
	margin-right: 10px;
	margin-left: -14px;
	font-size: 1.2em!important;
}
.icon_box-checked:before {
	content: "\005a"!important;
	font-family: 'ETMODULES'!important;
	font-size: 1.2em!important;
	color: #0c71c3;
}
	/* Unorderedlist checkbox blue link icons */	
.pa-bullet-list-z ul {
	list-style-type: none!important;
}
.pa-bullet-list-z ul li:before {
	content: '\e02b'!important;
	color: #0c71c3;
	font-family: 'ETMODULES'!important;
	margin-right: 10px;
	margin-left: -14px;
	font-size: 1.2em!important;
}
.icon_link_alt:before {
    content: "\e02b"!important;
    font-family: 'ETMODULES'!important;
    font-size: 1.2em!important;
    color: #0c71c3;
}
/* Unorderedlist X out checkbox red icons */	
.pa-bullet-list-4 ul {
	list-style-type: none!important;
}
.pa-bullet-list-4 ul li:before {
	content: '\0051'!important;
	color: #c12b1b;
	font-family: 'ETMODULES'!important;
	margin-right: 10px;
	margin-left: -14px;
	font-size: 1.2em!important;
}
.icon_box-checked:before {
    content: "\0051"!important;
    font-family: 'ETMODULES'!important;
    font-size: 1.2em!important;
    color: #c12b1b;
}	
/* Space out ordered lists code */	
.et_pb_tjrw1 ul, .et_pb_tjrw1 ol { margin: 10px; }
.et_pb_tjrw1 li { margin-top: 16px; }
/* modify superscript font size */
sup {font-size: 0.6em; vertical-align: super; bottom: 0}
sub {font-size: 0.6em; vertical-align: sub; bottom: 0}
/******************************/
/*** divi blurb with button ***/
/******************************/
.ovmr_blurb_with_button a.et_pb_button {
	display: block;
	/*bottom: 10%;*/
	width: 100%;
	transition: 0.5s ease;
	cursor:pointer;
	font-size: 17px;
    background-color: #F86522;
    border:none;
}
.ovmr_blurb_with_button:hover a.et_pb_button { 
  	background-color: #0c71c3;
}


/*
 * On posts there is a white line above the footer - remove that
 */
.single .post {
	padding-bottom: 0;
}
.et_pb_post {
	margin-bottom: 0;
}

.ovmr-fullwidth-header .et_pb_fullwidth_header_0 {
    background-image: url(https://www.ovationmr.com/wp-content/uploads/2022/01/2022-header-G-Fullwidth-01.webp);
}


*, h1, h2, h3, h4, h5, h6, p, span, ul, li {
	line-height: 1.4;
}