/*
Theme styles for Previmed.
Sections are intentionally short: base, header, home, cards, content and footer.
*/

/* Base */
html,
body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #747474;
  font-family: Quicksand, Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.7;
}

body {
  min-width: 320px;
}

* {
  box-sizing: border-box;
}

a {
  color: #32b5c5;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #333;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

p {
  margin: 0 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 20px;
  color: #333;
  font-family: Quicksand, Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.35;
}

ul {
  margin: 0;
  padding: 0;
}

#wrapper {
  width: 100%;
  overflow: hidden;
  background: #fff;
}

#main {
  padding: 0 30px;
  background: #fff;
}

.previmed-row {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.previmed-clearfix,
.clearfix {
  clear: both;
}

.previmed-alignleft {
  float: left;
}

.previmed-alignright {
  float: right;
}

.previmed-aligncenter {
  text-align: center;
}

.cantsee,
.entry-title[style*="display: none"],
.vcard[style*="display: none"],
.updated[style*="display:none"] {
  display: none;
}

/* Header */
.previmed-secondary-header {
  min-height: 38px;
  background: #32b5c5;
  color: #fff;
  font-size: 13px;
}

.previmed-secondary-header .previmed-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
}

.previmed-secondary-menu .menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
}

.previmed-secondary-menu a {
  display: block;
  padding: 9px 14px;
  color: #fff;
  font-weight: 700;
}

.previmed-secondary-menu a:hover,
.previmed-secondary-menu a:focus {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

.previmed-contact-info {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.topselo {
  max-height: 30px;
  width: auto;
  margin-left: 7px;
}

.previmed-header {
  background: #fff;
}

.previmed-header > .previmed-row {
  display: flex;
  align-items: center;
  min-height: 142px;
}

.previmed-logo {
  padding: 31px 0;
}

.previmed-logo-link {
  display: inline-block;
}

.previmed-standard-logo {
  display: block;
  width: 400px;
  max-width: 100%;
  height: auto;
}

.previmed-logo-2x {
  display: none;
}

.previmed-secondary-main-menu,
.previmed-mobile-menu-icons,
.previmed-mobile-nav-holder,
.previmed-header-sticky-height {
  display: none;
}

/* Page title and content */
.previmed-page-title-bar {
  height: 87px;
  padding: 0 30px;
  border-color: #d2d3d4;
  background: #f6f6f6;
}

.previmed-page-title-row,
.previmed-page-title-wrapper {
  height: 100%;
}

.previmed-page-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
}

.previmed-page-title-bar h1 {
  margin: 0;
  font-size: 18px;
}

.previmed-breadcrumbs {
  color: #747474;
  font-size: 13px;
}

.previmed-breadcrumbs a {
  color: #747474;
}

.post-content {
  color: #747474;
}

#content {
  width: 100%;
}

#main #content.with-sidebar,
.has-sidebar #main #content {
  float: left;
  width: 72%;
}

.sidebar {
  float: right;
  width: 25%;
}

.previmed-sidebar-menu {
  margin-top: 0;
}

/* Home icons and slider */
.previmed-fullwidth {
  clear: both;
}

.fullwidth-box {
  position: relative;
}

.hiconmar {
  text-align: center;
}

.homeservice,
.homeserviceum {
  display: inline-block;
  width: 119px;
  height: 119px;
  margin: 0 0 12px 14.28px;
}

.homeserviceum {
  margin-left: 0;
}

#layerslider_1_tcdpnzacwa77 {
  position: relative;
  overflow: hidden;
  width: 100% !important;
  max-width: 1100px !important;
  height: 440px !important;
  margin: 0 auto !important;
  background: #fff;
}

#layerslider_1_tcdpnzacwa77 .ls-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
}

#layerslider_1_tcdpnzacwa77 .ls-slide.is-active {
  z-index: 2;
  opacity: 1;
}

#layerslider_1_tcdpnzacwa77 .ls-bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#layerslider_1_tcdpnzacwa77 .ls-link {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: block;
}

#layerslider_1_tcdpnzacwa77 .ls-nav {
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  z-index: 5;
  text-align: center;
}

#layerslider_1_tcdpnzacwa77 .ls-dot {
  width: 9px;
  height: 9px;
  margin: 0 4px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .65);
  cursor: pointer;
}

#layerslider_1_tcdpnzacwa77 .ls-dot.is-active {
  background: #32b5c5;
}

/* Flip cards */
.previmed-fullwidth-3 .previmed-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
}

.previmed-layout-column {
  position: relative;
  float: left;
  margin-right: 4%;
  margin-bottom: 20px;
}

.previmed-one-fifth {
  width: 16.8%;
}

.previmed-column-last {
  margin-right: 0;
}

.previmed-column-wrapper {
  min-height: 1px;
}

.previmed-flip-boxes {
  perspective: 1000px;
}

.previmed-flip-box {
  position: relative;
  min-height: 216px;
  perspective: 1000px;
}

.flip-box-inner-wrapper {
  position: relative;
  min-height: 216px;
  transform-style: preserve-3d;
}

.flip-box-front,
.flip-box-back {
  position: absolute;
  inset: 0;
  min-height: 216px;
  padding: 3px;
  border: 1px solid #58cfd8;
  border-radius: 10px;
  backface-visibility: hidden;
  transition: transform .35s ease;
  text-align: center;
}

.flip-box-front {
  z-index: 2;
  background: #f6f6f6;
  color: #747474;
}

.flip-box-back {
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #58cfd8;
  color: #fff;
  transform: rotateY(-180deg);
}

.previmed-flip-box:hover .flip-box-back,
.previmed-flip-box.hover .flip-box-back,
.previmed-flip-box:focus-within .flip-box-back {
  z-index: 2;
  transform: rotateY(0deg);
}

.previmed-flip-box:hover .flip-box-front,
.previmed-flip-box.hover .flip-box-front,
.previmed-flip-box:focus-within .flip-box-front {
  z-index: 1;
  transform: rotateY(180deg);
}

.flip-box-front-inner {
  height: 187px;
}

.previmed-flip-box .flip-box-image {
  height: 150px;
}

.flip-box-image img {
  width: 178px;
  height: 150px;
  object-fit: cover;
}

.flip-box-heading {
  margin: 8px 0 0;
  color: #333;
  font-size: 18px;
  line-height: 27px;
}

.flip-box-heading-back {
  margin: 0 0 10px;
  color: #eeeded;
  font-family: Quicksand, Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.flip-box-back-inner {
  width: 100%;
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
}

.previmed-button-wrapper {
  margin-top: 8px;
}

.previmed-button {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid #000;
  border-radius: 3px;
  background: linear-gradient(to top, #3395c6, #1e76db);
  color: #000;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.previmed-button:hover,
.previmed-button:focus,
.previmed-button:active {
  border-color: #fff;
  background: linear-gradient(to top, #1e76db, #3395c6);
  color: #fff;
}

.button-icon-divider-left {
  margin-right: 6px;
}

/* News and posts */
.previmed-title {
  display: flex;
  align-items: center;
  margin: 0 0 30px;
}

.title-heading-left {
  margin: 0;
  padding-right: 12px;
  color: #333;
  font-size: 24px;
}

.title-sep-container {
  flex: 1;
}

.title-sep {
  border-top: 1px solid #e0dede;
  border-bottom: 1px solid #e0dede;
  height: 6px;
}

.previmed-recent-posts .columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2.66%;
}

.previmed-recent-posts .column {
  width: 23%;
  margin-bottom: 30px;
}

.previmed-recent-posts .slides {
  list-style: none;
}

.previmed-recent-posts img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.recent-posts-content {
  padding-top: 12px;
}

.recent-posts-content .entry-title {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.25;
}

.recent-posts-content p {
  font-size: 14px;
}

.post h2,
#main .post h2 {
  font-weight: 700;
}

.post-slideshow img,
.previmed-flexslider img {
  display: block;
}

/* Footer */
.previmed-footer-widget-area,
.previmed-footer-copyright-area {
  padding-right: 30px;
  padding-left: 30px;
  background: #57cfd8;
  color: #fff;
}

.previmed-footer-widget-area {
  padding-top: 43px;
  padding-bottom: 40px;
  border-color: #e9eaee;
}

.previmed-footer-copyright-area {
  padding-top: 18px;
  padding-bottom: 16px;
  border-color: #4b4c4d;
  text-align: center;
}

.previmed-footer a,
.previmed-footer-widget-area a,
.previmed-footer-copyright-area a {
  color: #fff;
}

.previmed-footer a:hover,
.previmed-footer a:focus {
  color: #333;
}

.previmed-columns-3 {
  display: flex;
  gap: 4%;
}

.previmed-columns-3 > .previmed-column,
.previmed-columns-3 > .col-lg-4 {
  width: 30.666%;
}

.previmed-footer-widget-column p {
  margin-bottom: 10px;
}

.synved-social-container-follow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.synved-social-button {
  display: inline-block;
}

.synved-social-image {
  display: block;
}

/* Mobile */
@media only screen and (max-width: 900px) {
  #main,
  .previmed-page-title-bar,
  .previmed-footer-widget-area,
  .previmed-footer-copyright-area {
    padding-right: 20px;
    padding-left: 20px;
  }

  .previmed-secondary-header .previmed-row,
  .previmed-header > .previmed-row,
  .previmed-fullwidth-3 .previmed-row,
  .previmed-columns-3,
  .previmed-recent-posts .columns {
    display: block;
  }

  .previmed-alignleft,
  .previmed-alignright,
  .previmed-layout-column,
  .sidebar,
  #main #content.with-sidebar,
  .has-sidebar #main #content {
    float: none;
    width: 100%;
  }

  .previmed-secondary-menu .menu {
    justify-content: center;
  }

  .previmed-contact-info {
    justify-content: center;
    padding: 6px 0 9px;
  }

  .previmed-logo {
    width: 100%;
    padding: 24px 0;
    text-align: center;
  }

  .previmed-standard-logo {
    width: 280px;
    margin: 0 auto;
  }

  #layerslider_1_tcdpnzacwa77 {
    height: auto !important;
    aspect-ratio: 1000 / 400;
  }

  .homeservice,
  .homeserviceum {
    margin-left: 8px;
    margin-right: 8px;
  }

  .previmed-one-fifth,
  .previmed-column-last,
  .previmed-recent-posts .column,
  .previmed-columns-3 > .previmed-column,
  .previmed-columns-3 > .col-lg-4 {
    width: 100%;
    margin-right: 0;
  }

  .previmed-flip-box,
  .flip-box-inner-wrapper,
  .flip-box-front,
  .flip-box-back {
    min-height: 216px;
  }

  .previmed-recent-posts img {
    height: auto;
  }
}
/* Home parity adjustments */
.previmed-header-wrapper {
  border-bottom: 1px solid #eae9e9;
}

#main,
#content,
.post-content,
.post-content > .previmed-fullwidth,
.post-content > .previmed-fullwidth > .previmed-row {
  border-right: 0 !important;
  border-left: 0 !important;
  box-shadow: none !important;
}

.previmed-fullwidth-1 {
  padding-top: 0 !important;
  padding-bottom: 20px !important;
}

.previmed-fullwidth-1 .previmed-row > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 100px;
}

.previmed-fullwidth-1 a {
  display: flex;
  flex: 0 0 119px;
  align-items: center;
  justify-content: center;
  width: 119px;
  height: 119px;
  line-height: 0;
}

.homeservice,
.homeserviceum {
  display: block;
  width: 119px !important;
  height: 119px !important;
  max-width: 119px !important;
  max-height: 119px !important;
  margin: 0 !important;
  object-fit: contain;
}

body.home .previmed-footer::before {
  content: "";
  display: block;
  height: 40px;
  margin-right: -30px;
  margin-left: -30px;
  background: #f6f6f6;
}

@media only screen and (max-width: 900px) {
  .previmed-fullwidth-1 .previmed-row > div {
    justify-content: center;
    flex-wrap: wrap;
  }

  body.home .previmed-footer::before {
    margin-right: -20px;
    margin-left: -20px;
  }
}
/* Card size parity */
.previmed-fullwidth-3 .previmed-row {
  align-items: flex-start;
}

.previmed-flip-box,
.flip-box-inner-wrapper,
.flip-box-front,
.flip-box-back {
  height: 216px;
  max-height: 216px;
}

.flip-box-front-inner {
  overflow: hidden;
}

.flip-box-back-inner {
  max-height: 198px;
  overflow: hidden;
}

.flip-box-back-inner p {
  margin-bottom: 8px;
}

@media only screen and (max-width: 900px) {
  .previmed-flip-box,
  .flip-box-inner-wrapper,
  .flip-box-front,
  .flip-box-back {
    height: 216px;
    max-height: 216px;
  }
}