/*
    DEMO STYLE
*/
@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";


body {
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: rgb(105, 104, 104);
}

a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    padding: 5px 5px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 10px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
    perspective: 1500px;
}


#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #586877ce;
    color: #fff;
    transition: all 0.6s cubic-bezier(0.945, 0.020, 0.270, 0.665);
    transform-origin: bottom left;
}

#sidebar.active {
    margin-left: -250px;
    transform: rotateY(100deg);
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #586877;
    align-items: center;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #586877;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}
#sidebar ul li a:hover {
    color: #7386D5;
    background: #fff;
}

#sidebar ul li.active > a, a[aria-expanded="true"] {
    color: #fff;
    background: #6d7fcc;
}


a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #6d7fcc;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #fff;
    color: #7386D5;
}

a.article, a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}



/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
}

#sidebarCollapse {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    cursor: pointer;
}

#sidebarCollapse span {
    width: 80%;
    height: 2px;
    margin: 0 auto;
    display: block;
    background: #555;
    transition: all 0.8s cubic-bezier(0.810, -0.330, 0.345, 1.375);
    transition-delay: 0.2s;
}

#sidebarCollapse span:first-of-type {
    transform: rotate(45deg) translate(2px, 2px);
}
#sidebarCollapse span:nth-of-type(2) {
    opacity: 0;
}
#sidebarCollapse span:last-of-type {
    transform: rotate(-45deg) translate(1px, -1px);
}


#sidebarCollapse.active span {
    transform: none;
    opacity: 1;
    margin: 5px auto;
}

.border{
    border:none;
        margin-bottom:5px;
        border-top:10px solid #586877ce;
        background:none;
        color:none;
}
.iconos{
    padding-inline: 1px;
    padding-right: 8px;   
    color: gray;
}


/* ---------------------------------------------------
    Tablas
----------------------------------------------------- */

table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    border: 3px solid #6d7fcc;
  }
  th, td {
    padding: 15px;
    color: #f5f5f5;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 500;
    line-height: 1.7em;
    text-shadow: 1px 1px 1px #000000;
    background: linear-gradient(to up, rgba(0,0,0,0.1), rgba(0,0,0,0.5));
    border: 3px solid purple;
  }
  
thead th, tfoot th {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.7em;
    color: #FFFFFF;
    
  }
tbody tr:nth-child(odd) {
    background-color: #55639c;
  }
  
tbody tr:nth-child(even) {
    background-color: #6d7fcc;
  }
  thead, tfoot {
    background:#6d7fcc ;
    color: white;
    text-shadow: 1px 1px 1px black;
  }
  
  thead th, tfoot th, tfoot td {
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.5));
    border: 3px solid purple;
  }
  
  .grid-container {
    display: grid;
    grid-template-columns: auto auto auto;
    background-color: #6d7fcc;
    padding: 5px;
  }
  .grid-container2 {
    display: grid;
    grid-template-columns: auto auto;
    background-color: #6d7fcc;
    padding: 5px;
  }
.grid-item {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.486);
    padding: 10px;
    font-size: 15px;
    text-align: left;
  }
  /* ---------------------------------------------------
    formularios
----------------------------------------------------- */
.contenedor{	
	width:100%;
	margin:auto;
}
.contenido{
    padding:5px;
    background:#fff;
    }
form{    
        margin: 0 auto;
        width: 400px;
        background-color: #f5f5f5;
        padding: 2px;
        border-radius: 10px;
}
input,textarea{
    padding:10px ;
}
label {
    display: block; 
    padding: 5px; 
}
.formulario{	
    width: 100%;
	padding:5px;
	margin-bottom:30px;
	}
.from-group{
	width:90%;
	margin-bottom:5%;
	}

/* ---------------------------------------------------
    pie de pagina
----------------------------------------------------- */
footer .copyright{
	position: fixed;
  	left: 0;
  	bottom: 0;
  	width: 100%;
    text-align: center;
	color:#6d7eccd0;
    font-size: 10px;
    padding: 5px 0;
}

/* ---------------------------------------------------
    ocultar precio
----------------------------------------------------- */
.contenedorimg{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh;
}
.contenedorimg figure{
    position: relative;
    height: 250px;
    width: 350px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 15px 25px rgb(0,0,0,.50);
    cursor: pointer;

}
.contenedorimg figure img{
    width: 100%;
    height: 100%;
    transition: all 500ms ease-out;
}
.contenedorimg figure .capa{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background:rgba(109, 127, 204,.5);
    transition: all 500ms ease-out;
    opacity: 0;
    visibility: hidden;
    text-align: center;
}
.contenedorimg figure:hover > .capa{
    opacity: 1;
    visibility: visible;
}
.contenedorimg figure:hover > .capa h4{
    margin-top: 30px;
    margin-bottom: 15px;
}
.contenedorimg figure .capa h4{
    color: #ffff;
    font-weight: 700;
    text-shadow: 0px 5px 5px #000000;
}
 /*--------------------------------------------- 
 
 Personalizar input radio button 
 
-------------------------------------------- */

 /* Hide the browser's default radio button */
 .container {
	display:inline-block;
	  position: relative;
	padding-left: 30px;
	  margin-bottom: 10px;
	  align-content: center;
	cursor: pointer;
	font-family: 'IBM Plex Sans', sans-serif;
	font-size: 16px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
  }
 .container input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
  }
  
  /* Create a custom radio button */
  .checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 20px;
	width: 20px;
	background-color: #6d7fcc;
	border-radius: 50%;
  }
  /* On mouse-over, add a grey background color */
  .container:hover input ~ .checkmark {
	background-color: #5c6cb1;
  }
  
  /* When the radio button is checked, add a blue background */
  .container input:checked ~ .checkmark {
	background-color: #3b8ec2;
  }
  
  /* Create the indicator (the dot/circle - hidden when not checked) */
  .checkmark:after {
	content: "";
	position: absolute;
	display: none;
  }
  
  /* Show the indicator (dot/circle) when checked */
  .container input:checked ~ .checkmark:after {
	display: block;
  }
  
  /* Style the indicator (dot/circle) */
  .container .checkmark:after {
	   top: 7px;
	  left: 7px;
	  width: 6px;
	  height: 6px;
	  border-radius: 50%;
	  background: rgb(255, 255, 255);
  }
/* ---------------------------------------------------
    Galeria
----------------------------------------------------- */
.grid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 1em;
  }
  
  
  /* hover styles */
  .location-listing {
    position: relative;
  }
  
  .location-image {
    line-height: 0;
    overflow: hidden;
  }
  
  .location-image img {
    filter: blur(0px);
    transition: filter 0.3s ease-in;
    transform: scale(1.1);
  }
  
  .location-title {
    font-size: 1.5em;
    font-weight: bold;
    text-decoration: none;
    z-index: 1;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity .5s;
    background: rgba(90,0,10,0.4);
    color: white;
    
    /* position the text in t’ middle*/
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .location-listing:hover .location-title {
    opacity: 1;
  }
  
  .location-listing:hover .location-image img {
    filter: blur(2px);
  }
  
  
  /* for touch screen devices */
  @media (hover: none) { 
    .location-title {
      opacity: 1;
    }
    .location-image img {
      filter: blur(2px);
    }
  }

  /* ---------------------------------------------------
    Botones
----------------------------------------------------- */

.iconos{
  color: #000000;
  font-size: 30px;
  padding: 8px;

}
/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 768px) {
    table{
        font-size: .5em;
    }
    thead th:nth-child(1) {
        width: 30%;
      }
      
      thead th:nth-child(2) {
        width: 20%;
      }
      
      thead th:nth-child(3) {
        width: 15%;
      }
      
      thead th:nth-child(4) {
        width: 35%;
      }
      thead th:nth-child(5) {
        width: 35%;
      }
    #sidebar {
        margin-left: -250px;
        transform: rotateY(90deg);
    }
    #sidebar.active {
        margin-left: 0;
        transform: none;
    }
    #sidebarCollapse span:first-of-type,
    #sidebarCollapse span:nth-of-type(2),
    #sidebarCollapse span:last-of-type {
        transform: none;
        opacity: 1;
        margin: 5px auto;
    }
    #sidebarCollapse.active span {
        margin: 0 auto;
    }
    #sidebarCollapse.active span:first-of-type {
        transform: rotate(45deg) translate(2px, 2px);
    }
    #sidebarCollapse.active span:nth-of-type(2) {
        opacity: 0;
    }
    #sidebarCollapse.active span:last-of-type {
        transform: rotate(-45deg) translate(1px, -1px);
    }

}
