
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, h2, h1 {
  font-family: Geomanist Regular, arial, sans-serif !important;
  font-size: 14px;
}

#main{
  background: ghostwhite;
}

.nav-cat{
	background-color: burlywood;
	color: white;
}

/* Contenedor iconos */
#container-icons{
  display: flex;
  justify-content: right;
  align-items: center;
  font-size: 1.3rem;
  font-weight: bold;
  color: darkslategrey;
  background-color: #e6e6e6;
  padding: 10px;
  position: sticky;
  top:0;
  width: 100%;
  z-index: 9999;  
}

#container-icons p{
  margin-bottom: 0px;
}

.icon-wrapper{
  width: 40px;
  margin-left: 10px;
  margin-right: 20px;
}

.icon-wrapper:hover{
  border: 2px solid rgb(34, 180, 119);
  border-radius: 5px;
}

#txt-icon{
  width: 100%;
}

#rss-icon{
  width: 100%;
  margin-right: 2.5%;
} 

h4{
  text-align: center;   
}

/* Header */
#containers {
  max-width: 80%;
  margin: 135px auto 40px auto;
  border-radius: 10px;
  padding: 20px;
  color: #02214e;
  border: 1px solid #cccccc;
  box-shadow: 0px 0px 12px -1px rgba(0, 0, 0, 0.75);
}

#header_title {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  color: #fff;
}

#header_title h1 {
  font-size: 1.5em;
  margin: 0;
  font-weight: bold;
}

#clock {
  font-size: 1em;
  font-style: italic;
  margin: 0 !important;
  align-self: end;
}

hr {
  height: 2px;
  background-color: #000000 !important;
  margin: 10px 0 20px 0 !important;
  opacity: .40 !important;
}

.logo{
  position:relative;
}

.logo img {
  width: 150px;
  height: auto;
  border-radius: 50%;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  background-color: #A9A9A9;
  box-shadow: 0px 0px 44px 2px rgba(0, 0, 0, 0.61);
}

/* Info Evento */
.content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  color: #333;
  text-align: left;
  flex-grow: 1;
  margin: 0 20px;
  box-shadow: rgba(0, 0, 0, 0.8) 0px 8px 17px;
}

.data {
  width: 100%;
}

.row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.field {
  flex: 1;
}

.right,
.left {
  margin-left: 10%;
}

#info-alert {
  animation: pulse 2.5s infinite;
  border-radius: 50%;
  display: inline;
  text-shadow: -3px 0px 6px rgba(0, 0, 0, 0.7);
  font-size: 1.3em;
}

/* Mapa */
#map {
  height: 450px;
  width: 80%;
  margin: 0 auto 10px auto !important;
  border-radius: 10px;
  box-shadow: 0px 0px 12px -1px rgba(0, 0, 0, 0.75);
  margin-bottom: 40px;
}

.leaflet-container{
 font-family: Geomanist Regular, arial, sans-serif !important;
}

.leaflet-popup-content{
 font-size: 1rem !important;
}

.leaflet-control-layers label{
 font-size: 1rem !important;
}

.leaflet-control-attribution .leaflet-attribution-flag {
  display: none !important;
}

.infowindow h2 {
  margin: 0px 0px;
  padding-bottom: 5px;
  font-size: 1.5em;
}

.infowindow h3 {
  margin-bottom: 5px;
  color: gray;
  font-weight: bold;
  display: inline-block;
  font-size: 1.2em;
}

.infowindow .item-info {
  border: 1px solid gray;
  padding: 5px;
  border-radius: 10px;
  background-image: linear-gradient(to top, #09203f 0%, #537895 100%);
  /*background-image: linear-gradient(to right, #0f0c29, #302b63, #24243e);*/
  color: white;
}

#eq-info {
  width: 80%;
  margin: 0 auto 10px auto;
}

#origin-info {
  width: 80%;
  margin: 0 auto;
}

/* Tabla */
#mainTable_wrapper {
  width: 80%;
  margin: 0 auto;
  font-size: 1.2rem;
}

#mainTable{
    td, th {
        vertical-align: middle;
    }
}

.dt-type-numeric, table.dataTable td.dt-type-date{
  text-align: center !important;
}

#mainTable{
  box-shadow: 0px 0px 12px -1px rgba(0, 0, 0, 0.75);
}

#mainTable thead th {
  background-color: #079e71;
  color: rgb(238, 238, 238);
}

#mainTable th,
tr {
  text-align: center;
}

table.dataTable {
  border-radius: 10px;
  overflow: hidden;
} 

li button.page-link{
	background-color:#079e71;
	border-radius:5px;
	cursor:pointer;
	color:#ffffff;
	font-size:1.3rem;
	padding:2px 10px;
	text-decoration:none;
}

.form-control{
	height: 24px;
}

/* Animacion */
@keyframes pulse {
  50% {
    opacity: 40%;
  }
}

/* Tablets, telefóno, escritorio */
@media only screen and (max-width: 768px) {
  .content {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo {
    margin-bottom: 20px;
  }

  .logo img {
    position: absolute;
    width: 65px;
  }

  .info {
    margin-bottom: 20px;
  }

  .reloj {
    text-align: center;
    width: 100%;
  }

  .row {
    flex-direction: row;
  }
}

/* Standard */
@media only screen and (max-width: 480px) {
  .logo img{
    width: 60px;
  }
}

@media only screen and (max-width: 320px) {
  .logo img{
    width: 55px;
  }
  .field.right{
    margin-top: 10px;
    margin-left: 10%;
  }
  #mainTable_wrapper {
    width: 90%;
  }  
}