/*PEN STYLES*/
.blog-card {
  transition: height 0.3s ease;
  -webkit-transition: height 0.3s ease;
  background: #d5eeff;
  border-radius: 3px;
  box-shadow: 0 3px 7px -3px rgba(0, 0, 0, 0.3);
  margin: 0 auto 1.6%;
  overflow: hidden;
  position: relative;
  font-size: 14px;
  line-height: 1.45em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.blog-card:hover .details {
  left: 0;
}
.blog-card:hover.alt .details {
  right: 0;
}
.blog-card.alt .details {
  right: -100%;
  left: inherit;
}
.blog-card .photo {
  height: 200px;
  position: relative;
}

.blog-card .photo.photo0 {
  background: url("../img/genesis.jpg") center no-repeat;
  background-size: cover;
}
.blog-card .photo.photo1 {
  background: url("../img/JLL.jpg") center no-repeat;
  background-size: cover;
}
.blog-card .photo.photo2 {
  background: url("../img/KEY2.jpg") center no-repeat;
  background-size: cover;
}
.blog-card .photo.photo3 {
  background: url("../img/SFD.jpg") center no-repeat;
  background-size: cover;
}
.blog-card .photo.photo4 {
  background: url("../img/RMLL2.jpg") center no-repeat;
  background-size: cover;
}.blog-card .photo.photo5 {
  background: url("../img/RICHARD.jpg") center no-repeat;
  background-size: cover;
}
.blog-card .photo.photo6{
  background: url("../img/workshopet.jpg") center no-repeat;
  background-size: cover;
}
.blog-card .photo.photo7 {
  background: url("../img/ENT.jpg") center no-repeat;
  background-size: cover;
}



.blog-card .details {
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
  color: #fff;
  font-family: "Open Sans";
  list-style: none;
  margin: 0;
  padding: 10px 15px;
  height: 100%;
  /*POSITION*/
  position: absolute;
  top: 0;
  left: -100%;
}
.blog-card .details > li {
  padding: 3px 0;
}
.blog-card .details li:before, .blog-card .details .tags ul:before {
  margin-right: 10px;
  vertical-align: middle;
}
.blog-card .details .author:before {
  content: "\f007";
}
.blog-card .details .date:before {
  content: "\f133";
}
.blog-card .details .tags ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.blog-card .details .tags ul:before {
  content: "\f02b";
}
.blog-card .details .tags li {
  display: inline-block;
  margin-right: 3px;
}
.blog-card .details a {
  color: inherit;
}
.blog-card .details a:hover {
  color: #75D13B;
}
.blog-card .description {
  padding: 10px;
  box-sizing: border-box;
  position: relative;
  border-bottom :7px solid #1b435d ;

}
.just   {
  font-family: "Roboto";
  line-height: 1em;
  margin: 0 0 10px 0;
  padding-top: 20px;
  padding-right: 30px;
  padding-left: 30px;
  padding-bottom: 20px;
  color : #fff ;
  font-weight: bold;
  margin-left: -10px ;
  margin-right :-13px ; 
  background-color: #1b435d ;
  
}
.inv   {
  font-family: "Roboto";
  line-height: 1em;
  margin: 0 0 10px 0;
  padding-top: 20px;
  padding-right: 30px;
  padding-left: 30px;
  padding-bottom: 20px;
  color : #fff ;
  font-weight: bold;
  margin-left: -15px ;
  margin-right :-11px ; 
  background-color: #1b435d ;
  
}
.blog-card .description h2 {
  color: #9b9b9b;
  font-family: "Open Sans";
  line-height: 1.2em;
  text-transform: uppercase;
  font-size: 1em;
  font-weight: 400;
  margin: 1.2% 0;
}
.blog-card .description p {
  position: relative;
  margin: 0;
}
.blog-card .description p:after {
  content: "";
  background: #1b435d;
  height: 6px;
  width: 40px;
  /*POSITION*/
  position: absolute;
  top: 6px;
  left: 0;
}

.blog-card .description a:after {
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  content: "\f061";
  font-family: FontAwesome;
  margin-left: -10px;
  opacity: 0;
  vertical-align: middle;
}
.blog-card .description a:hover:after {
  margin-left: 5px;
  opacity: 1;
}




@media screen and (min-width: 600px) {
  .blog-card {
    height: 400px;
    max-width: 1200px;
  }
  .blog-card:hover .photo {
    -webkit-transform: rotate(5deg) scale(1.3);
            transform: rotate(5deg) scale(1.3);
  }
  .blog-card:hover.alt .photo {
    -webkit-transform: rotate(-5deg) scale(1.3);
            transform: rotate(-5deg) scale(1.3);
  }
  .blog-card.alt .details {
    padding-left: 30px;
    
  }
  .blog-card.alt .description {
    float: right;
  }
  .blog-card.alt .description:before {
    -webkit-transform: skewX(5deg);
            transform: skewX(5deg);
    right: -20px;
    left: inherit;
  }
  .blog-card.alt .photo {
    float: right;
  }
  .blog-card .photo {
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    float: left;
    height: 100%;
    width: 40%;
  }
  .blog-card .details {
    width: 40%;
  }
  .blog-card .description {
    float: left;
    width: 60%;
    height: 100%;
    z-index: 0;
  }
  .blog-card .description:before {
    -webkit-transform: skewX(-5deg);
            transform: skewX(-5deg);
    content: "";
    background: #d5eeff;
    width: 100%;
    z-index: -1;
    /*POSITION*/
    position: absolute;
    left: -20px;
    top: 0;
    bottom: 0;
  }
  .just  {
    -webkit-transform: skewX(-5deg);
            transform: skewX(-5deg);
  }

  .inv {
    -webkit-transform: skewX(5deg);
    transform: skewX(5deg);
  }
}

@media screen and (max-width: 600px) {
  .act-margin{
    margin-top: 40px ;
  }
}



@media screen and (min-width: 1500px) {
  .blog-card {
    height: 470px;
    max-width: 1400px;
  }
  
}

@media screen and (min-width: 1700px) {
  .blog-card {
    height: 600px;
    max-width: 1800px;
  }
  
}








