/* LAYOUTS */
.uu-post-loop-container {
  margin: 0px auto;
  position: relative;/* relative to position nav dots */
  padding-bottom: 18px; /* padding for nav dots */
}
a.uu-pl-card-wrapper-link:focus {
  outline: 1px dotted #be0000;
}
.uu-pl-three-col, .uu-pl-three-col-with-feature {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* used padding on cards instead of gap to accomodate for owl slider clipping */
  /* gap: 20px; */
}

.post-item {
  grid-column: span 1;
  grid-row: auto / span auto; /* This also allows other items to adjust their height based on content */
  padding:10px
}

.uu-pl-one-col{
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  /* used padding on cards instead of gap to accomodate for owl slider clipping */
  /* gap:20px; */
} 

.uu-pl-card{
  display: flex;
  flex-flow: column wrap;
  box-sizing: border-box;
  background-color: #fff;
  height: 100%;
  justify-content: space-between;
  overflow: hidden;
  overflow-wrap: anywhere;
  -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-pl-one-col .post-item .uu-pl-card{
  display: flex;
  flex-flow: row ;
}

.uu-pl-one-col .post-item .uu-pl-card .uu-pl-card-img-desktop{
  height: 100%;
  width: 350px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.uu-pl-one-col .uu-pl-card-body{
  padding-bottom:45px;
}

.uu-pl-card-img-desktop{
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.uu-pl-card-body{
  padding: 1rem;
  position: relative;
  flex: 1;
  padding-bottom: 53px;
  background-color:#ffffff;
}
div.uu-pl-card-title {
  font-family:"factoria",sans-serif!important;
  font-weight: 700!important;
}
.uu-pl-card-body p{
  font-size: 15px;
  color: #47494a;
  font-family: "myriad-pro",sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
}
.uu-pl-card-title{
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0px 0px 15px 0px;
}
.uu-pl-card-btn-wrapper{
  position: absolute;
  left: 15px;
  right: auto;
  bottom: 15px;
}

.uu-pl-three-col-with-feature .post-item:first-child  {
  grid-column: span 3;
}

.uu-pl-three-col-with-feature .post-item:first-child .uu-pl-card {
  display: flex;
  flex-flow: row ;
}

/* div with backgroun image left justified */
.uu-pl-three-col-with-feature .post-item:first-child .uu-pl-card .uu-pl-card-img-desktop {
  height: 100%;
  width: 350px;
}

.uu-pl-cat, .uu-pl-date, .uu-pl-site-name{
  font-size: 15px;
  font-weight: 700;
  color: #47494a;
  margin-bottom: 2px;
  display: block;
}
.uu-pl-site-name{
  color:#be0000;
}
.uu-pl-card-img-moblie-wrapper{
  display: none;
}

/* media queries for grid*/
@media (max-width: 1000px) {
  .uu-pl-three-col, .uu-pl-three-col-with-feature{
    grid-template-columns: repeat(2, 1fr);
  }
  .uu-pl-three-col-with-feature .post-item:first-child {
    grid-column: span 1;
  }
  .uu-pl-three-col-with-feature .post-item:first-child .uu-pl-card{
    flex-direction: column;
  }
  .uu-pl-three-col-with-feature .post-item:first-child .uu-pl-card .uu-pl-card-img-desktop{
    /* height: 200px; */
    width: 100%;
  }

}
@media (max-width: 800px) {
  .uu-pl-three-col, .uu-pl-three-col-with-feature{
    grid-template-columns: repeat(1, 1fr);
  }
  .uu-pl-one-col .post-item .uu-pl-card{
    flex-flow: column ;
  }
  .uu-pl-one-col .post-item .uu-pl-card .uu-pl-card-img-desktop{
    height: 250px;
    width: 100%;
  }
  .uu-pl-card-img-desktop{
    display: none;
  }
  .uu-pl-card-img-moblie-wrapper{
    display: block;
    width: 100%;
  }
  .uu-pl-card-img-moblie{
    width: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
  }
}

/* 
* IF USING OWL CAROUSEL, USE FLEXBOX INSTEAD OF CSS GRID
* OWL SLIDER SETS THE HIEGHT OF THE SLIDES TO 0PX
*/
.uu-post-loop-container .owl-stage{
  display: flex;
  margin-bottom: 50px;
  cursor: url(../assets/cursor-drag-red.png) 25 15, grab;
}
.uu-post-loop-container.uu-pl-three-col.owl-carousel .post-item, .uu-post-loop-container.uu-pl-one-col.owl-carousel .post-item {
  height: 100%;   /* height: 100% needed for owl carousel. Makes all cards stretch to same height in owl carousel */
}
/* .uu-pl-one-col .post-item .uu-pl-card .uu-pl-card-img-desktop{
  height: auto;
} */


.uu-post-loop-container.owl-carousel .owl-stage-outer {
  position: relative;
  overflow: hidden;
  -webkit-transform: translate3d(0px, 0px, 0px);
}


.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-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 {
  cursor: pointer;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background: #fff !important;
  padding: 0px 12px !important;
  border-radius: 4px;
  border-color: #c1c1c1 !important;
  border-width: 1px;
  box-shadow: none;
  border-style: solid;
  -webkit-transition: all, .15s ease-in-out;
  -moz-transition: all .15s ease-in-out;
  -ms-transition: all .15s ease-in-out;
  -o-transition: all .15s ease-in-out;
  transition: all .15s ease-in-out;
}
.uu-post-loop-container.owl-carousel .owl-nav button.owl-prev:hover, 
.uu-post-loop-container.owl-carousel .owl-nav button.owl-prev:active, 
.uu-post-loop-container.owl-carousel .owl-nav button.owl-next:hover,
.uu-post-loop-container.owl-carousel .owl-nav button.owl-next:active {
  background-color: #be0000 !important;
  border-color: #be0000 !important;
  color: #fff !important;
}
.uu-post-loop-container.owl-carousel .owl-nav button.owl-prev span, .uu-post-loop-container.owl-carousel .owl-nav button.owl-next span{
  display: inline-block;
    line-height: 28px;
    position: relative;
    top: 1px;
    font-size: 45px !important;
}
.owl-carousel .owl-nav [class*='owl-'] {
  color: #c1c1c1;
  vertical-align: middle;
}
.owl-carousel .owl-nav {
  position: absolute !important;
  bottom: 3px !important;
  left: 10px !important;
  right: 10px !important;
  width: auto !important;
  display: flex !important;
  justify-content: space-between !important;
}
.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;
}
.uu-post-loop-container.owl-carousel .owl-dots {
  position: absolute;
  bottom: 13px;
  left: 0;
  right: 0;
  margin: 0px 50px;
  text-align: center;
  
}
.uu-post-loop-container.owl-carousel .owl-dots .owl-dot {
  width: 14px;
  height: 14px;
  border: 2px solid #c1c1c1 !important;
  border-radius: 14px;
  margin: 4px;
}
.uu-post-loop-container.owl-carousel .owl-dots .owl-dot.active {
  border: 1px solid #be0000 !important;
  background-color: #be0000;
}

.uu-pl-view-all{
  width: 100%;
  display: flex;
  justify-content: center;
}


