/* tabla detalle TABS internas */
@import "compass/css3";

* {
  box-sizing: border-box;
}

::selection {
  background-color: #eee;
}

.tabbed {
  width: 100% /* 700px*/;
  margin: 0px auto; /* era 50px auto*/
}

.tabbed > input {
  display: none;
}

.tabbed > label {
  display: block;
  float: left;
  padding: 12px 20px;
  margin-right: 5px;
  cursor: pointer;
  transition: background-color .3s;

}

.tabbed > label:hover,
.tabbed > input:checked + label {
  background: #e27884;
  color:#FFF;
}

.tabs {
  clear: both;
  perspective: 500px;
}

.tabs > div {
   width: 100% /* 700px*/;
  position: absolute;
  border: 2px solid #e27884;
  padding: 10px 30px 40px;
  line-height: 1.4em;
  opacity: 0;
  transform: rotateX(-20deg);
  transform-origin: top center;
  transition: opacity .3s, transform 1s;
  z-index: 0;
}
.tabs p {
	 font-family: 'Nunito', sans-serif;
	font-size:14px;
	color:#333;
	text-align:justify; 
	}
.tabs i {
	color:#e27884;
	 margin-right:15px;
	}	
.tabs ul {
	 font-family: 'Nunito', sans-serif;
	font-size:14px;
	color:#333;
	text-align:justify; 
	list-style:none; 
	margin-left:25px; 
	
	}	
.tabs ul li {
	 font-family: 'Nunito', sans-serif;
	font-size:14px;
	margin-bottom:5px; 
	}	
#tab-nav-1:checked ~ .tabs > div:nth-of-type(1),
#tab-nav-2:checked ~ .tabs > div:nth-of-type(2)
/*#tab-nav-3:checked ~ .tabs > div:nth-of-type(3),
 #tab-nav-4:checked ~ .tabs > div:nth-of-type(4)*/{
  transform: rotateX(0);
  opacity: 1;
  z-index: 1;
}

@media screen and (max-width: 700px) {
  .tabbed { width: 400px }
  .tabbed > label { display: none }
  .tabs > div {
    width: 400px;
    border: none;
    padding: 0;
    opacity: 1;
    position: relative;
    transform: none;
    margin-bottom: 10px; /*60*/
  }
  .tabs > div h2 {
    border-bottom: 2px solid #e27884;
    padding-bottom: .3em; /*.5*/
  }
}