.main-content {
  padding: 10px 0 30px;
  background: #fff;
}

.tabs{ 
  width: 90%;
  position: relative;
}

.tabs > input{
   display: none;
}

.tabs > label{
	font: 18px "Modern Antiqua", Georgia;
	text-align: center;
	line-height: 40px;
	border-top: 3px solid #282C2D;
}

.tabs > label{
border-left: 1px solid grey;
border-right: 1px solid grey;
}

.tabs input:checked + label{
	color: #fff;
	text-shadow: 1px 1px 0 #000;
	background: #939596;
	border-top: 3px solid #FF6347;
	
}

.tabs input:not(:checked )+ label:hover{
	border-top-color: #FF6347;
	background: #efefef;
	cursor: pointer;
}

.tab_content > *{ 
	width: 100%;
    position: absolute;
    z-index: -1; 
	top: 0;
	left: 0;
	box-shadow: 0 0 1px 1px grey inset;
    padding: 10px 25px;
    opacity: 0;
    transform: translateY(-3px);
    transition: opacity 350ms ease-in-out;
}

.tabs #tab1:checked ~ .tab_content .tab_content1,
.tabs #tab2:checked ~ .tab_content .tab_content2,
.tabs #tab3:checked ~ .tab_content .tab_content3,
.tabs #tab4:checked ~ .tab_content .tab_content4,
.tabs #tab5:checked ~ .tab_content .tab_content5{
  position: relative;
  z-index: 100;  
  opacity: 1;
  background: transparent;
  transform: translateY(0px);
  transition: 0.5s opacity ease-in, 0.8s transform ease;
}

.tab_content > div{
	padding: 10px;
}

/* --------------------------------------------------------------------------------------------------- */

figure {
  position: relative;
  width: 180px;
  height: 236px;
  overflow: hidden;
  margin-right: 10px;
  margin-bottom: 10px;
}

figure img {
  position: absolute;
  top: 0;
  left: 0;
}

figure figcaption {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.8);
}

figure figcaption > * {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  font-family: "Palatino Linotype", Georgia;
}

figure figcaption h1 {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 25%;
      -ms-flex: 0 0 25%;
          flex: 0 0 25%;
  font-size: 17px;
  font-weight: bold;
  text-align: center;
  padding-top: 7px;
  display: block;
}

figure figcaption p {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 45%;
      -ms-flex: 0 0 45%;
          flex: 0 0 45%;
  text-align: center;
  line-height: 1.2;
  padding: 0 5px;
}

figure figcaption .links {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 30%;
      -ms-flex: 0 0 30%;
          flex: 0 0 30%;
}

figure figcaption .links i {
  color: #fff;
  padding: 5px;
  margin-right: 5px;
  border: 1px solid #fff;
  -webkit-transition: all 400ms;
          transition: all 400ms;
}

figure figcaption .links i:hover {
  background-color: #D04235;
  -webkit-transform: translateY(2px);
      -ms-transform: translateY(2px);
          transform: translateY(2px);
}

/* effect8 */

.effect8 img {
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
  -webkit-transition: all 0.4s ease-in-out;
          transition: all 0.4s ease-in-out;
}

.effect8:hover img {
  -webkit-transform: scale(1.2);
      -ms-transform: scale(1.2);
          transform: scale(1.2);
}

.effect8 figcaption {
  width: 0%;
  height: 0%;
  left: 50%;
  top: 50%;
  border: 1px solid transparent;
  background-clip: padding-box;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  -webkit-transition: width 0.3s linear, 0.3s height 0.3s linear, 0.3s border 0.6s;
          transition: width 0.3s linear, 0.3s height 0.3s linear, 0.3s border 0.6s;
}

.effect8:hover figcaption {
  border-color: rgba(0, 0, 0, 0.8);
  width: 100%;
  height: 100%;
  -webkit-transition: height 0.3s linear, 0.3s width 0.3s linear, 0.3s border 0s;
          transition: height 0.3s linear, 0.3s width 0.3s linear, 0.3s border 0s;
}

.effect8 figcaption > * {
  opacity: 0;
  -webkit-transition: all 0s;
          transition: all 0s;
}

.effect8:hover figcaption > * {
  opacity: 1;
  -webkit-transition: all 0.2s linear 0.6s;
          transition: all 0.2s linear 0.6s;
}