/* LAYOUTS */
.uu-post-loop-container {
  max-width: 1160px;
  margin: 0px auto;
}

/* LAYOUT 1 (3 POSTS OBVIOUSLY) */
.uu-post-loop-layout-1 .owl-stage{
  display: flex;
}
.uu-post-loop-layout-1 .post-item{
  box-sizing: border-box;
  padding: 10px;
  width: 100%;
  height: 100%;
}
.uu-post-loop-layout-1 .post-item a{
  display: block;
  position: relative;
  color: #545454;
  height: 100%;
}
.uu-post-loop-layout-1 .post-item .uu-post-loop-card{
  position: relative;
  height: 100%;
  box-sizing: border-box;
  background-color: #FFFFFF;
  -webkit-box-shadow: 0px 0px 10px 0px rgba(84, 117, 145, 0.1);
  -moz-box-shadow: 0px 0px 10px 0px rgba(84, 117, 145, 0.1);
  box-shadow: 0px 0px 10px 0px rgba(84, 117, 145, 0.1);
  -webkit-transition: all, 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.uu-post-loop-layout-1 .post-item .uu-post-loop-card .card-img{
  height: 175px;
  width: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.uu-post-loop-layout-1 .post-item .uu-post-loop-card .card-body{
  height: calc(100% - 150px);
  box-sizing: border-box;
  position: relative;
  padding: 20px 20px 80px 20px;
}
.uu-post-loop-layout-1 .post-item .uu-post-loop-card .card-body .uu-post-loop-card-title{
  font-size: 18px;
  font-family: "Montserrat",sans-serif;
  font-weight: 600;
  line-height: 1.5;
  margin: 0px 0px 15px 0px;
}
.uu-post-loop-layout-1 .post-item .uu-post-loop-card .card-body .uu-read-link{
  position: absolute;
  bottom: 40px;
  left: 20px;
}
.uu-post-loop-layout-1 .post-item a .uu-post-loop-card .card-body .uu-read-link:hover{
  background-color: #B40023 !important;
  color: #FFFFFF !important;
}
@media (max-width: 400px) {
  .uu-post-loop-layout-1 .post-item{
    height: 480px;
  }
  .uu-post-loop-layout-1 .post-item p{
    font-size: 14px;
    line-height: 1.5;
  }
}

/* NOT LAYOUT 1 */
.uu-post-loop-layout-2 .post-item, .uu-post-loop-layout-4 .post-item {
  box-sizing: border-box;
  padding: 10px;
  width: 100%;
  height: 460px;
}
.uu-post-loop-layout-2 .post-item a, .uu-post-loop-layout-4 .post-item a {
  display: block;
  position: relative;
  color: #545454;
  height: 100%;
}
.uu-post-loop-layout-2 .post-item .uu-post-loop-card, .uu-post-loop-layout-4 .post-item .uu-post-loop-card {
  position: relative;
  height: 100%;
  box-sizing: border-box;
  background-color: #FFFFFF;
  -webkit-box-shadow: 0px 0px 10px 0px rgba(84, 117, 145, 0.1);
  -moz-box-shadow: 0px 0px 10px 0px rgba(84, 117, 145, 0.1);
  box-shadow: 0px 0px 10px 0px rgba(84, 117, 145, 0.1);
  -webkit-transition: all, 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.uu-post-loop-layout-2 .post-item .uu-post-loop-card .card-img, .uu-post-loop-layout-4 .post-item .uu-post-loop-card .card-img {
  height: 175px;
  width: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.uu-post-loop-layout-2 .post-item .uu-post-loop-card .card-body {
  height: calc(100% - 150px);
  box-sizing: border-box;
  position: relative;
  padding: 20px 20px 80px 20px;
}
.uu-post-loop-layout-2 .post-item .uu-post-loop-card .card-body .uu-post-loop-card-title {
  font-size: 18px;
  font-family: "Montserrat",sans-serif;
  font-weight: 600;
  line-height: 1.5;
  margin: 0px 0px 15px 0px;
}
.uu-post-loop-layout-2 .post-item .uu-post-loop-card .card-body .uu-read-link {
  position: absolute;
  bottom: 40px;
  left: 20px;
}

.uu-post-loop-layout-2 {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: stretch;
}
.uu-post-loop-layout-2 .post-item {
  flex: 1 1 33.333%;
}
@media (max-width: 1200px) {
  .uu-post-loop-layout-2 .post-item {
    flex: 1 1 50%;
  }
}
@media (max-width: 600px) {
  .uu-post-loop-layout-2 .post-item {
    flex: 1 1 100%;
  }
}
@media (max-width: 400px) {
  .uu-post-loop-layout-2 .post-item, .uu-post-loop-layout-4 .post-item {
    height: 480px;
  }
  .uu-post-loop-layout-2 .post-item p, .uu-post-loop-layout-4 .post-item p {
    font-size: 14px;
    line-height: 1.5;
  }
}
.uu-post-loop-layout-2 .post-item:first-child, .uu-post-loop-layout-4 .post-item {
  flex: 1 1 100%;
  height: 350px;
}
.uu-post-loop-layout-2 .post-item:first-child .uu-post-loop-card, .uu-post-loop-layout-4 .post-item .uu-post-loop-card {
  display: flex;
  flex-flow: row nowrap;
}
.uu-post-loop-layout-2 .post-item:first-child .uu-post-loop-card .card-img {
  flex: 0 1 50%;
  height: 100%;
  order: 2;
}
.uu-post-loop-layout-2 .post-item:first-child .uu-post-loop-card .card-body {
  flex: 0 1 50%;
  height: 100%;
  padding: 30px;
  order: 1;
}
.uu-post-loop-layout-2 .post-item:first-child .uu-post-loop-card .card-body .uu-read-link {
  bottom: 30px;
  left: 30px;
}
.uu-post-loop-layout-4 .post-item .uu-post-loop-card .card-body .uu-read-link {
  bottom: 0px;
  left: 0px;
}
.uu-post-loop-layout-2 .post-item a .uu-post-loop-card .card-body .uu-read-link:hover, .uu-post-loop-layout-4 .post-item a .uu-post-loop-card .card-body .uu-read-link:hover {
  background-color: #B40023 !important;
  color: #FFFFFF !important;
}

.uu-post-loop-layout-3 .post-item{
  box-sizing: border-box;
  padding: 10px;
  width: 100%;
  height: 220px;
}
.uu-post-loop-layout-3 .post-item a{
  display: block;
  position: relative;
  color: #545454;
  height: 100%;
}
.uu-post-loop-layout-3 .post-item a .uu-post-loop-card{
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: stretch;
  position: relative;
  height: 100%;
  box-sizing: border-box;
  background-color: #FFFFFF;
  -webkit-box-shadow: 0px 0px 10px 0px rgba(84, 117, 145, 0.1);
  -moz-box-shadow: 0px 0px 10px 0px rgba(84, 117, 145, 0.1);
  box-shadow: 0px 0px 10px 0px rgba(84, 117, 145, 0.1);
  -webkit-transition: all, 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.uu-post-loop-layout-3 .post-item a .uu-post-loop-card .card-img{
  flex: 0 0 200px;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
@media (max-width: 600px) {
  .uu-post-loop-layout-3 .post-item a .uu-post-loop-card .card-img{
    flex: 0 0 150px;
  }
}
.uu-post-loop-layout-3 .post-item a .uu-post-loop-card .card-body{
  flex: 1 1 auto;
  height: 100%;
  box-sizing: border-box;
  position: relative;
  padding: 20px 20px 80px 20px;
}
.uu-post-loop-layout-3 .post-item a .uu-post-loop-card .card-body .uu-post-loop-card-title{
  font-size: 18px;
  line-height: 21px;
}
.uu-post-loop-layout-3 .post-item a .uu-post-loop-card .card-body .uu-post-excerpt {
  display: none;
}
.uu-post-loop-layout-3 .post-item a .uu-post-loop-card .card-body .uu-read-link {
  position: absolute;
  bottom: 20px;
  left: 20px;
}
.uu-post-loop-layout-3 .post-item a .uu-post-loop-card .card-body .uu-read-link:hover {
  background-color: #B40023 !important;
  color: #FFFFFF !important;
}

.uu-post-loop-layout-4 .post-item .uu-post-loop-card .card-img  {
  flex: 0 1 50%;
  height: 100%;
}
.uu-post-loop-layout-4 .post-item .uu-post-loop-card .card-body {
  flex: 0 1 50%;
  height: 100%;
  padding: 30px;
}


/* OWL OVERRIDES */
.uu-post-loop-container.owl-carousel {
  /* display: none; */
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  /* position relative and z-index fix webkit rendering fonts issue */
  position: relative;
  z-index: 1;
}
.uu-post-loop-container.owl-carousel .owl-stage {
  position: relative;
  -ms-touch-action: pan-Y;
  touch-action: manipulation;
  -moz-backface-visibility: hidden;
  /* fix firefox animation glitch */
}
.uu-post-loop-container.owl-carousel .owl-stage:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.uu-post-loop-container.owl-carousel .owl-stage-outer {
  position: relative;
  overflow: hidden;
  /* fix for flashing background */
  -webkit-transform: translate3d(0px, 0px, 0px);
}
.uu-post-loop-container.owl-carousel .owl-wrapper {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
}
.uu-post-loop-container.owl-carousel .owl-item {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  position: relative;
  min-height: 1px;
  float: left;
  -webkit-backface-visibility: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}
.uu-post-loop-container.owl-carousel .owl-item img {
  display: block;
  width: 100%;
}
.uu-post-loop-container.owl-carousel .owl-nav.disabled, .uu-post-loop-container.owl-carousel .owl-dots.disabled {
  display: none;
}
.uu-post-loop-container.owl-carousel .owl-nav .owl-prev, .uu-post-loop-container.owl-carousel .owl-nav .owl-next {
  cursor: pointer;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.uu-post-loop-container.owl-carousel .owl-dot {
  cursor: pointer;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.uu-post-loop-container.owl-carousel .owl-nav button.owl-prev, .uu-post-loop-container.owl-carousel .owl-nav button.owl-next {
  background: none;
  color: inherit;
  border: none;
  padding: 0 !important;
  font: inherit;
}
.uu-post-loop-container.owl-carousel button.owl-dot {
  background: none;
  color: inherit;
  border: none;
  padding: 0 !important;
  font: inherit;
}
.uu-post-loop-container.owl-carousel.owl-loaded {
  display: block;
}
.uu-post-loop-container.owl-carousel.owl-loading {
  opacity: 0;
  display: block;
}
.uu-post-loop-container.owl-carousel.owl-hidden {
  opacity: 0;
}
.uu-post-loop-container.owl-carousel.owl-refresh .owl-item {
  visibility: hidden;
}
.uu-post-loop-container.owl-carousel.owl-drag .owl-item {
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.uu-post-loop-container.owl-carousel.owl-grab {
  cursor: move;
  cursor: grab;
}
.uu-post-loop-container.owl-carousel.owl-rtl {
  direction: rtl;
}
.uu-post-loop-container.owl-carousel.owl-rtl .owl-item {
  float: right;
}

/* No Js */
.no-js .uu-post-loop-container.owl-carousel {
  display: block;
}

/*  Owl Carousel - Animate Plugin */
.uu-post-loop-container.owl-carousel .animated {
  animation-duration: 1000ms;
  animation-fill-mode: both;
}
.uu-post-loop-container.owl-carousel .owl-animated-in {
  z-index: 0;
}
.uu-post-loop-container.owl-carousel .owl-animated-out {
  z-index: 1;
}
.uu-post-loop-container.owl-carousel .fadeOut {
  animation-name: fadeOut;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
/* 	Owl Carousel - Auto Height Plugin */
.owl-height {
  transition: height 500ms ease-in-out;
}

/* 	Owl Carousel - Lazy Load Plugin */
.uu-post-loop-container.owl-carousel .owl-item {
  /*     *
   * 			This is introduced due to a bug in IE11 where lazy loading combined with autoheight plugin causes a wrong
   * 			calculation of the height of the owl-item that breaks page layouts */
}
.uu-post-loop-container.owl-carousel .owl-item .owl-lazy {
  opacity: 0;
  transition: opacity 400ms ease;
}
.uu-post-loop-container.owl-carousel .owl-item .owl-lazy[src^=""], .uu-post-loop-container.owl-carousel .owl-item .owl-lazy:not([src]) {
  max-height: 0;
}
.uu-post-loop-container.owl-carousel .owl-item img.owl-lazy {
  transform-style: preserve-3d;
}
.uu-post-loop-container.owl-carousel .owl-video-wrapper {
  position: relative;
  height: 100%;
  background: #000;
}
.uu-post-loop-container.owl-carousel .owl-video-play-icon {
  position: absolute;
  height: 80px;
  width: 80px;
  left: 50%;
  top: 50%;
  margin-left: -40px;
  margin-top: -40px;
  background: url("owl.video.play.png") no-repeat;
  cursor: pointer;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  transition: transform 100ms ease;
}
.uu-post-loop-container.owl-carousel .owl-video-play-icon:hover {
  -ms-transform: scale(1.3, 1.3);
  transform: scale(1.3, 1.3);
}
.uu-post-loop-container.owl-carousel .owl-video-playing .owl-video-tn, .uu-post-loop-container.owl-carousel .owl-video-playing .owl-video-play-icon {
  display: none;
}
.uu-post-loop-container.owl-carousel .owl-video-tn {
  opacity: 0;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: opacity 400ms ease;
}
.uu-post-loop-container.owl-carousel .owl-video-frame {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
}

/* 	Owl Carousel - Video Plugin */
.uu-post-loop-container.owl-carousel .owl-dots {
  position: absolute;
  bottom: -35px;
  left: 0;
  right: 0;
  margin: 0px auto;
  text-align: center;
}
.uu-post-loop-container.owl-carousel .owl-dots .owl-dot {
  width: 12px;
  height: 12px;
  border: 1px solid #E0E0E0 !important;
  border-radius: 12px;
  margin: 4px;
}
.uu-post-loop-container.owl-carousel .owl-dots .owl-dot.active {
  border: 1px solid #585858 !important;
  background-color: #585858;
}

.uu-post-loop-container.owl-carousel .owl-stage-outer{
  margin-bottom: 50px;
}