/* Paste this into the Custom CSS Window */
	#sub-nav .main-nav {
    width: 100%;
    max-width: 1300px;
    margin: 0px auto;
}
#sub-nav .main-nav > li > a::after {
  content: "|";
  margin-left: 38px;
  margin-right: 10px;
  color: #000000;
  display: inline;
}
/* .main-nav li {margin: 0 20px 40px 0;} */

img.emcare-cover {width: 60px;}
img.jbi-cover {width: 60px;}

/*a MODAL Starts  */

.modalDialog {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    opacity:0;
    -webkit-transition: opacity 300ms ease-in;
    -moz-transition: opacity 300ms ease-in;
    transition: opacity 300ms ease-in;
    pointer-events: none;
}
.modalDialog:target {
    opacity:1;
    pointer-events: auto;
}
.modalDialog > div {
    width: 80%;
    position: relative;
    font-size: 14px;
    margin: 2% auto;
    padding: 20px;
    border-radius: 4px;
    background: #fff;
    height: 80%;
    overflow-y: auto;
    top:30%
  }
.close {
    background: #DCDCDC;
    color: #FFFFFF;
    line-height: 25px;
    position: absolute;
    right: 12px;
    text-align: center;
    top: 10px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
}

.close a {
    color: white;
}
.close:hover {
    background: #99CC6D;
}
#links {
    font-weight: 400;
    font-size: 1.2em;
}


@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.0/css/all.min.css");

@font-face {
    font-family:FiraSans;
    font-style:normal;
    font-weight:normal;
	
 
	src:url('https://apacsales.ovidds.com/ui/shared/public/font/FiraSans-Light.otf') format('truetype');
	 	
}
body, ::after, button, input, option, select, textarea {font-family:FiraSans,Arial,Helvetica,sans-serif;}

.calendar-body.e-control.e-schedule.e-lib.e-keyboard.e-tooltip {font-family:FiraSans,Arial,Helvetica,sans-serif;}

/*Speciality Search*/
body.pages .widget.tabbed .ejmsearch .specialty-search {
  margin-left: 150px;
}

@media (max-width:620px) {
  body.pages .widget.tabbed .ejmsearch .specialty-search {
    margin-left: 0;
  }

/* Specialty Filter list */
.specialty-search {
  display: flex; flex-flow: row wrap; justify-content: center; gap: 0.5rem;
  padding: 0;
  list-style-type: none;
}
.specialty-search li {
  margin: 0;
}
.specialty-search li::before {
  display: none;
}
body #body .specialty-search li a {
  display: block;
  position: relative;
}
body #body .specialty-search a span:nth-child(1) {
  display: block;
  height: 3rem; width: 3rem;
  border: 3px solid var(--rcs-button-bgcolour);
  padding: 5px;
  border-radius: 100vmax;
}
body #body .specialty-search a img {
  display: inline-block;
  height: 2rem; width: 100%;
}

@media (hover: hover) {
  .specialty-search {
    margin-top: var(--rcs-paragraph-margin-bottom);
  }
  .specialty-search li {
    margin: 0;
    padding-bottom: 2rem;
  }
  body #body .specialty-search a:hover span:nth-child(1) {
    border-color: var(--rcs-button-bgcolour-active);
    background-color: rgba(1, 167, 145, 0.3);
  }
  body #body .specialty-search a span:nth-child(2) {
    display: none;
  }
  body #body .specialty-search a:hover span:nth-child(2) {
    display: block;
    position: absolute; top: 3.5rem; left: -200px; right: -200px;
    height: 2rem;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
  }
}
@media not (hover: hover) {
  .specialty-search li {
    flex: 1 0 32%;
  }
  body #body .specialty-search li a {
    display: flex; align-items: center; gap: 1rem;
    text-decoration: underline;
  }
  body #body .specialty-search a span {
    display: block;
    flex: 0 0 auto;
    width: 3rem;
  }
  body #body .specialty-search a span:nth-child(2) {
    flex-grow: 1;
  }
}
@media (max-width:840px) {
  @media not (hover: hover) {
    .specialty-search li {
      flex: 1 0 48%;
    }
  }
}
@media (max-width:450px) {
  @media not (hover: hover) {
    .specialty-search li {
      flex: 1 0 100%;
    }
  }
}
}

/* Temp CSS fix */
.widget.callout .widget-body
    {
        height:100% !important;
    }


.widget.callout .callout-widget {
            height: 100% !important;
        }

.widget.callout .custom-component {
            position: relative !important;
            width: 100% !important;
            height: 100% !important;
            align-content: center !important;
        }
/* End of Temp CSS fix */


/*a MODAL Ends */