/*Optional css taken out*/
/* {
  box-sizing: border-box;
}*/

/*body {
  background: #f1f1f1;
  margin: 2rem;
}*/

.flex-container {
    display: flex;
    flex-wrap: wrap;
    /*background-color: #c7d9e6;*/ /*Taken oyt blue could set to tranparent*/
    /*justify-content:center;*/ /*requir emargin: 1rem 1rem below to function*/
    /*border: 1px solid;*/ /*Taken out*/
}

.container_trans {
    margin-left: 1rem;
    margin-right: 1rem;
    background: rgba(104, 101, 101, 0.68)
}
.flexboxtitle{
    background-color:none;
    color:#fff;
    padding:unset;
}
.header__image, .containercover {
    /*background: url("images/poverlay.png"), url("images/nearby/co3.jpg");*/
    background: url("../images/nearby/co4.jpg");
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    min-height: 100vh;
    /* height:100vh;*/
}

/*#header {
    background: url("../images/nearby/co3.jpg");
}*/

.blog-card {
    display: flex;
    flex-direction: column;
    margin: 1rem auto; /*changed margin for centering with justify-content on flex container*/
    /*margin: 1rem 1rem;*/
    /*box-shadow: 0 3px 7px -1px rgba(0, 0, 0, 0.1);*/
    /*box-shadow: 0px 0px 1.4rem .4rem #000;*/ /*1.4 means more blur*/
    box-shadow: 0px 0px .4rem .4rem #000;
    margin-bottom: 1.6%;
    /*background: #fff;*/
    background:#dedbdb;
    line-height: 1.4;
    font-family: 'robotoregular', sans-serif;
    border-radius: .5rem;
    overflow: hidden;
    z-index: 0;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.blog-card a {
  color: inherit;
  font-size: 1.4rem;
}
.blog-card a:hover {
  color: #5ad67d;
}
.blog-card:hover .photo {
  -webkit-transform: scale(1.3) rotate(3deg);
          transform: scale(1.3) rotate(3deg);
}
.blog-card .meta {
  position: relative;
  z-index: 0;
  height: 20rem;
}
    .blog-card .metahz {
        position: relative;
        z-index: 0;
        height: 20rem;
    }

    .blog-card .photo {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-size: cover;
        background-position: center;
        transition: -webkit-transform .2s;
        transition: transform .2s;
        transition: transform .2s, -webkit-transform .2s;
        /*border-right: 1.2rem solid;
        border-color: #0ac837;*/
    }
.blog-card .details,
.blog-card .details ul {
  margin: auto;
  padding: 0;
  list-style: none;
}
.blog-card .details {
  position: absolute;
  top: 0;
  bottom: 0;
  /*left: -100%;*/ /*dah out*/
  left: 0%;
  margin: auto;
  transition: left .2s;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 1rem;
  width: 100%;
  font-size: 1.4rem;
  opacity: 0.9; /*dah added*/
}
.blog-card .details a {
  -webkit-text-decoration: dotted underline;
   text-decoration: dotted underline;
}
.blog-card .details ul li {
  display: inline-block;
}
.blog-card .details .author:before {
  font-family: FontAwesome;
  margin-right: 1rem;
  content: "\f007";
}
.blog-card .details .date:before {
  font-family: FontAwesome;
  margin-right: 1rem;
  content: "\f133";
}
.blog-card .details .tags ul:before {
  font-family: FontAwesome;
  content: "\f02b";
  margin-right: 1rem;
}
.blog-card .details .tags li {
  margin-right: .2rem;
}
.blog-card .details .tags li:first-child {
  margin-left: -.4rem;
}
    .blog-card.white {
        background: #fff;
    }
    .blog-card .description, .blog-card .description.white {
        padding: 1rem;
        /*background: #a2f7ba;*/
        background: #fff;
        position: relative;
        z-index: 1;
    }

    .blog-card.grey {
        background: #dedbdb;
    }
    .blog-card .description.grey {
        padding: 1rem;
        background: #dedbdb;
        position: relative;
        z-index: 1;
    }
    .blog-card .description.yellowgreen {
        padding: 1rem;
        background: #d5f28e;
        position: relative;
        z-index: 1;
    }
    .blog-card.yellowgreen {
        /*padding: 1rem;*/
        background: #d5f28e;
        /*position: relative;*/
        /*z-index: 1;*/
    }

.blog-card .description h1, .blog-card .description h2 {
    font-family: 'robotoregular', Poppins, sans-serif;
}

.blog-card .description h1 {
  line-height: 1;
  margin: 0;
  font-size: 2rem;
}
.blog-card .description h2 {
  font-size: 1.6rem;
  font-weight: 300;
  text-transform: uppercase;
  color: #a2a2a2;
  margin-top: .5rem;
}

    .blog-card .flexfooter {
        margin-top: auto;
        text-align: center;
        width: 100%;
        background: #f36565;
        height: 50px;
        /*padding: 20px;*/
        padding-top: 10px;
    }
    .blog-card .description .read-more {
        text-align: left;
        padding-top: 10px;
    }
    /*Padding for read more button to bottom of card*/
    .blog-card .description .read-more.paddingb30 {
        padding-bottom: 30px;
    }
    .blog-card .flexfooter .read-more {
        text-align: center;
    }
    .blog-card .description .read-more a, .blog-card .flexfooter .read-more a {
        color: #32c156;
        display: inline-block;
        position: relative;
        font-size: 1.6rem;
        text-shadow: 1px 1px 1px #000;
        border-radius: 1rem;
        /*background-color: rgba(220, 0, 0, 1);*/
        background-color: #1b12fa;
        text-decoration: none;
        padding: .5rem 2rem;
        color: #fff;
    }
        .blog-card .description .read-more a:after, .blog-card .flexfooter .read-more a:after {
            content: "\f061";
            font-family: FontAwesome;
            margin-left: -1rem;
            opacity: 0;
            vertical-align: middle;
            transition: margin .3s, opacity .3s;
        }
        .blog-card .description .read-more a:hover:after, .blog-card .flexfooter .read-more a:hover:after {
            margin-left: .5rem;
            opacity: 1;
        }
.blog-card p {
  position: relative;
  margin: 1rem 0 0;
  font-size: 1.6rem;
}
.blog-card p:first-of-type {
  margin-top: 1.25rem;
}
.blog-card p:first-of-type:before {
  content: "";
  position: absolute;
  height: .5rem;
  background: #5ad67d;
  width: 3.5rem;
  top: -0.75rem;
  border-radius: .3rem;
}
.blog-card:hover .details {
  left: 0%;
}

/*Flexboxheight - only require to use for a image only blog card as its a fixed height*/
.flexboxheight20 {
    height: 30rem;
}
.flexboxheight30 {
    height: 30rem;
}
.flexboxheight40 {
    height: 40rem;
}
flexboxheight40 {
    height: 50rem;
}



@media (min-width: 640px) {

    .flex30 {
        flex-basis: 30%;
    }
    .flex40 {
        flex-basis: 40%;
    }
    .flex50 {
        flex-basis: 50%;
    }
    .flex60 {
        flex-basis: 60%;
    }
    .flex70 {
        flex-basis: 70%;
    }
    .flex100 {
        flex-basis: 100%;
    }
    .blog-card {
        flex-direction: row;
        max-width: 70rem;
    }
    .blog-card.forty {
        flex-direction: row;
        max-width: 40rem;
    }
    .blog-card.fortycol {
        flex-direction: column;
        max-width: 40rem;
    }
    .blog-card.sixtycol {
        flex-direction: column;
        max-width: 60rem;
    }
    .blog-card.fortycolw {
        flex-direction: column;
        width: 40rem;
    }
    .blog-card.thirtytwo {
        flex-direction: row;
        max-width: 32%;
    }
    .blog-card.thirtytwocol {
        flex-direction: column;
        max-width: 32%;
    }
    .blog-card.fortyeightpc {
        flex-direction: row;
        max-width: 48%;
    }
    .blog-card.fifty {
        flex-direction: row;
        max-width: 50rem;
    }
    .blog-card.eighty {
        flex-direction: row;
        max-width: 80rem;
    }
    .blog-card.sixtypc {
        flex-direction: row;
        max-width: 60%;
    }
    .blog-card.seventypc {
        flex-direction: row;
        max-width: 70%;
    }
    .blog-card.eightypc {
        flex-direction: row;
        max-width: 80%;
        /*width:80%;*/
    }
    .blog-card.ninetypc {
        flex-direction: row;
        max-width: 90%;
    }
    .blog-card.seventypcwidth {
        flex-direction: row;
        min-width: 70%;
        width: 70%;
    }
    .blog-card.eightypcwidth {
        flex-direction: row;
        min-width:80%;
        width: 80%;
    }
    .blog-card.ninetypcwidth {
        flex-direction: row;
        min-width:90%;
        width: 90%;
    }

    /*Min Heights for cards - use when flex direction set to row*/
   .blog-card.min_height300 {
       min-height: 30rem;
   }
   .blog-card.min_height400 {
        min-height: 40rem;
   }

  .blog-card .meta {
    /*flex-basis: 40%;*/
    height: auto;
    /*height: 30rem;*/ /*would set height - auto allows all text rendered*/
  }

  .blog-card .description {
    /*flex-basis: 60%;*/
  }

  /*.blog-card .description:before {
    -webkit-transform: skewX(-3deg);
            transform: skewX(-3deg);
    content: "";
    background: #fff;
    width: 3rem;
    position: absolute;
    left: -1rem;
    top: 0;
    bottom: 0;
    z-index: -1;
  }*/
        .blog-card.alt {
            flex-direction: row-reverse;
        }
        
    /*.blog-card.alt .photo {
        border-right: 0;
        border-left: 1.2rem solid;
        border-color: #0ac837;
    }*/

  /*.blog-card.alt .description:before {
    left: inherit;
    right: -1rem;
    -webkit-transform: skew(3deg);
            transform: skew(3deg);
  }*/

  .blog-card.alt .details {
      padding-left: 2.5rem;
  }
       
}


/*Full width set here for mobile devices*/
@media (max-width: 639px) {
    .blog-card, .blog-card.thirtytwo, .blog-card.fortyeightpc, .blog-card.forty, .blog-card.fortycol, .blog-card.sixtycol, .blog-card.fifty, .blog-card.eighty, .blog-card.sixtypc, .blog-card.seventypc, .blog-card.eightypc, .blog-card.ninetypc {
        flex-direction: column;
        max-width: 100%;
    }
        .blog-card.seventypcwidth, .blog-card.eightypcwidth, .blog-card.ninetypcwidth {
            flex-direction: column;
            min-width: 100%; /*Required*/
            width: 100%; /*Required*/
            max-width: 100%;
        }
    /*Its a set width above*/
        .blog-card.fortycolw {
        max-width: 80%;
    }

    .flex-container {
        display: flex;
        flex-wrap: wrap;
        background-color: transparent;
        /*justify-content:center;*/ /*requir emargin: 1rem 1rem below to function*/
        border: none;
    }
    .container_trans {
        margin-left: 1rem;
        margin-right: 1rem;
        background: unset; /*Removes color & opacity*/
    }
    .flexboxtitle {
        background-color: #fff;
        color: #000;
        padding-left: 10px;
        padding-right: 10px;
    }
    /*Padding for read more button to bottom of card*/
    .blog-card .description .read-more.paddingb30 {
        padding-bottom: 0px;
    }
}
    /*For Ipad air or similar etc in portrait*/
    @media only screen and (min-width : 768px) and (max-width : 1024px) and (orientation : portrait) {
        .blog-card, .blog-card.thirtytwo, .blog-card.fortyeightpc, .blog-card.forty, .blog-card.fifty, .blog-card.eighty, .blog-card.sixtypc, .blog-card.seventypc, .blog-card.eightypc, .blog-card.ninetypc {
            flex-direction: row;
            max-width: 100%;
        }
            .blog-card.seventypcwidth, .blog-card.eightypcwidth, .blog-card.ninetypcwidth {
                flex-direction: row;
                min-width: 100%; /*Required*/
                width: 100%; /*Required*/
                max-width: 100%;
            }
                .blog-card.alt {
                flex-direction: row-reverse;
            }
            .blog-card.fortycol, .blog-card.sixtycol {
                flex-direction: column;
                max-width: 90%;
            }
        .blog-card .description h1 {
            font-size: 3rem;
        }

        .blog-card .description h2 {
            font-size: 2.6rem;
        }

            .blog-card .details .date {
               font-size:2.4rem;
            }
        .blog-card a {
            color: inherit;
            font-size: 2.4rem;
        }
        .blog-card p {
            font-size: 2.2rem;
        }

            .blog-card .description .read-more a, .blog-card .flexfooter .read-more a {
                font-size: 2.2rem;
            }
            .blog-card .flexfooter {
                background: #f36565;
                height: 60px;
                padding-top: 10px;
            }
        .flex-container {
            display: flex;
            flex-wrap: wrap;
            background-color: transparent;
            /*justify-content:center;*/ /*requir emargin: 1rem 1rem below to function*/
            border: none;
        }
        .container_trans {
            margin-left: 1rem;
            margin-right: 1rem;
            background: unset; /*Removes color & opacity*/
        }
        .flexboxtitle {
            background-color: #fff;
            color: #000;
            padding-left: 10px;
            padding-right: 10px;
        }
        /*.header__image {
            min-height:unset;
        }*/
        /*Padding for read more button to bottom of card*/
        .blog-card .description .read-more.paddingb30 {
            padding-bottom: 0px;
        }
    }