@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&display=swap');

@font-face {
  font-family: 'LazyMorning';
  src: url(/work/models/PTP/Presupuesto/CuentaPublica2019/css/font/Lazy-Morning.otf);
}

@font-face {
  font-family: 'Cunia';
  src: url(/work/models/PTP/Presupuesto/CuentaPublica2019/css/font/Cunia.otf);
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #FEE7E7;
}
nav{
  width: 110%;
  margin-left: -5%;
}
.table th {
  border-top: none;
}
.plusTabla{
  float: left!important;
  margin: 15px 10px!important;
}
.dinero1 {
  margin-top: 30%;
}
.ciudadanos1 {
  margin-top: 30%;
}
.escaleras {
  width: 50%;
}
.showSmall {
  display: none;
}
.showBig {
  display: block;
}
.main-bg{
  width:110%;
  margin-left:-5%;
}
.nav-tabs{
  border-bottom: none;
}
.perro {
  width: 30%;
  float: right;
  margin: -150px -155px;
}
.maceta {
  width: 30%;
  float: left;
  margin: -150px -220px;
}
.tituloPrincipal{
  text-align:center;
  font-family:'Amatic SC', cursive;
  font-size: 60px;
}
.tituloCP{
  text-align:center;
  color:#EA6063;
}
.subtituloPrincipal{
  text-align:center;
  font-family:'Amatic SC', cursive;
  font-size: 38px;
}
.mainTabs{
  font-family: 'Amatic SC', cursive;
  background-repeat: no-repeat;
  background-size: cover;
  max-width: 15%;
  margin: 0 0.8%;
  background-size: 100% 100%;
}
button:hover, button:focus{
  text-decoration: none!important;
}
.mainTabs span{
  vertical-align: middle;
  color: #333;
  font-size: 19px;
  line-height: 0.8;
}

#resultados-generales{
  background-color: #FEE8BC;
  padding: 25px;
}
#ingresos-y-gastos{
  background-color: #F8F9E9;
  padding: 25px;
}
#desarrollo{
  background-color: #EFA4A0;
  padding: 25px;
}
#inversion{
  background-color: #E3E67E;
  padding: 25px;
}
#transferencias-federales{
  background-color: #FAF6B8;
  padding: 25px;
}

@keyframes shake {
  0% {
    transform: translate(5px, 0);
  }
  50% {
    transform: translate(-5px, 0);
  }
  100% {
    transform: translate(0, 0);
  }
}

@-moz-keyframes shake {
  0% {
    -moz-transform: translate(5px, 0);
  }
  50% {
    -moz-transform: translate(-5px, 0);
  }
  100% {
    -moz-transform: translate(0, 0);
  }
}

@-webkit-keyframes shake {
  0% {
    -webkit-transform: translate(5px, 0);
  }
  50% {
    -webkit-transform: translate(-5px, 0);
  }
  100% {
    -webkit-transform: translate(0, 0);
  }
}

@-ms-keyframes shake {
  0% {
    -ms-transform: translate(5px, 0);
  }
  50% {
    -ms-transform: translate(-5px, 0);
  }
  100% {
    -ms-transform: translate(0, 0);
  }
}

@-o-keyframes shake {
  0% {
    -o-transform: translate(5px, 0);
  }
  50% {
    -o-transform: translate(-5px, 0);
  }
  100% {
    -o-transform: translate(0, 0);
  }
}

a#que-paso-2019-tab{
  background-color: #9FDAE2;
  border-radius: 45px;
  color: #333;
  border: 1px solid #333;
  height: max-content;
  box-shadow: -3px 2px 1px;
  padding: 20px 12px;
}
a#resultados-generales-tab{
  background-color: #FDD68B;
  border-radius: 45px;
  color: #333;
  border: 1px solid #333;
  height: max-content;
  box-shadow: -3px 2px 1px;
}
a#ingresos-y-gastos-tab{
  background-color: #C5CEBC;
  border-radius: 45px;
  color: #333;
  border: 1px solid #333;
  height: max-content;
  box-shadow: -3px 2px 1px;
}
a#desarrollo-tab{
  background-color: #EFA8A8;
  border-radius: 45px;
  color: #333;
  border: 1px solid #333;
  height: max-content;
  box-shadow: -3px 2px 1px;
}
a#inversion-tab{
  background-color: #DFE45E;
  border-radius: 45px;
  color: #333;
  border: 1px solid #333;
  height: max-content;
  box-shadow: -3px 2px 1px;
}
a#transferencias-federales-tab{
  background-color: #F9F6BF;
  border-radius: 45px;
  color: #333;
  border: 1px solid #333;
  height: max-content;
  box-shadow: -3px 2px 1px;
}
#que-paso-2019-tab.active{
  box-shadow: -3px 12px 5px;
  margin-top: -12px;
}
#resultados-generales-tab.active{
  box-shadow: -3px 12px 5px;
  margin-top: -12px;
}
#ingresos-y-gastos-tab.active{
  box-shadow: -3px 12px 5px;
  margin-top: -12px;
}
#desarrollo-tab.active{
  box-shadow: -3px 12px 5px;
  margin-top: -12px;
}
#inversion-tab.active{
  box-shadow: -3px 12px 5px;
  margin-top: -12px;
}
#transferencias-federales-tab.active{
  box-shadow: -3px 12px 5px;
  margin-top: -12px;
}
a#que-paso-2019-tab:hover{
  animation: shake 150ms 2 linear;
  -moz-animation: shake 150ms 2 linear;
  -webkit-animation: shake 150ms 2 linear;
  -o-animation: shake 150ms 2 linear;
}
a#que-paso-2019-tab.active:hover{
  animation: none;
}
a#resultados-generales-tab:hover{
  animation: shake 150ms 2 linear;
  -moz-animation: shake 150ms 2 linear;
  -webkit-animation: shake 150ms 2 linear;
  -o-animation: shake 150ms 2 linear;
}
a#resultados-generales-tab.active:hover{
  animation: none;
}
a#ingresos-y-gastos-tab:hover{
  animation: shake 150ms 2 linear;
  -moz-animation: shake 150ms 2 linear;
  -webkit-animation: shake 150ms 2 linear;
  -o-animation: shake 150ms 2 linear;
}
a#ingresos-y-gastos-tab.active:hover{
  animation: none;
}
a#desarrollo-tab:hover{
  animation: shake 150ms 2 linear;
  -moz-animation: shake 150ms 2 linear;
  -webkit-animation: shake 150ms 2 linear;
  -o-animation: shake 150ms 2 linear;
}
a#desarrollo-tab.active:hover{
  animation: none;
}
a#inversion-tab:hover{
  animation: shake 150ms 2 linear;
  -moz-animation: shake 150ms 2 linear;
  -webkit-animation: shake 150ms 2 linear;
  -o-animation: shake 150ms 2 linear;
}
a#inversion-tab.active:hover{
  animation: none;
}
a#transferencias-federales-tab:hover{
  animation: shake 150ms 2 linear;
  -moz-animation: shake 150ms 2 linear;
  -webkit-animation: shake 150ms 2 linear;
  -o-animation: shake 150ms 2 linear;
}
a#transferencias-federales-tab.active:hover{
  animation: none;
}
.imagenAcordion{
  background-repeat: no-repeat;
  background-size: 100%;
}
#headingOne{
  background-image: url(/work/models/PTP/Presupuesto/CuentaPublica2019/images/botonhorizontal1.svg);
  padding: 0;
  min-height: 100px;
  background-color: #FBCBCB;
}
#headingTwo{
  background-image: url(/work/models/PTP/Presupuesto/CuentaPublica2019/images/botonhorizontal2.svg);
  padding: 0;
  min-height: 100px;
  background-color: #E2F0F3;
}
#headingThree{
  background-image: url(/work/models/PTP/Presupuesto/CuentaPublica2019/images/botonhorizontal3.svg);
  padding: 0;
  min-height: 100px;
  background-color: #FAF6B8;
}
#headingFour{
  background-image: url(/work/models/PTP/Presupuesto/CuentaPublica2019/images/botonhorizontal4.svg);
  padding: 0;
  min-height: 100px;
  background-color: #CACAB2;
}
#headingFive{
  background-image: url(/work/models/PTP/Presupuesto/CuentaPublica2019/images/botonhorizontal5.svg);
  padding: 0;
  min-height: 100px;
  background-color: #E5C0B6;
}
#headingSix{
  background-image: url(/work/models/PTP/Presupuesto/CuentaPublica2019/images/botonhorizontal6.svg);
  padding: 0;
  min-height: 100px;
  background-color: #E0CFD8
}
#headingSeven{
  background-image: url(/work/models/PTP/Presupuesto/CuentaPublica2019/images/botonhorizontal7.svg);
  padding: 0;
  min-height: 100px;
  background-color: #B9D8D9;
}
#headingEight{
  background-image: url(/work/models/PTP/Presupuesto/CuentaPublica2019/images/botonhorizontal8.svg);
  padding: 0;
  min-height: 100px;
  background-color: #DBE081;
}
#headingNine{
  background-image: url(/work/models/PTP/Presupuesto/CuentaPublica2019/images/botonhorizontal1.svg);
  padding: 0;
  min-height: 100px;
  background-color: #FBCBCB;
}
#headingTen{
  background-image: url(/work/models/PTP/Presupuesto/CuentaPublica2019/images/botonhorizontal2.svg);
  padding: 0;
  min-height: 100px;
  background-color: #E2F0F3;
}
#DesarrolloSocial{
  padding: 0;
  min-height: 100px;
  background-color: #3E9FFE;
}
#DesarrolloEconomico{
  padding: 0;
  min-height: 100px;
  background-color: #A517FF;
}
#Gobierno{
  padding: 0;
  min-height: 100px;
  background-color: #4D13FE;
}

#ServiciosPersonales{
  padding: 0;
  min-height: 100px;
  background-color: #7C5AF9;
}
#GastosOperacion{
  padding: 0;
  min-height: 100px;
  background-color: #F9551C;
}
#Subsidios{
  padding: 0;
  min-height: 100px;
  background-color: #0F45BC;
}
#GastosInversion{
  padding: 0;
  min-height: 100px;
  background-color: #05DDB3;
}
#PensionesJubilaciones{
  padding: 0;
  min-height: 100px;
  background-color: #C40EBF;
}

.buttonLabel{
  /*font-family: 'Amatic SC', cursive;*/
  color: white;
  font-size: 38px;
  color: #333;
  margin-top: 12px;
}
.cifrasAcordion{
  font-size: 30px;
  text-align: right;
  margin: 10% 5%;
}
.cifrasGrandes{
  font-family: 'Cunia';
  font-size: 38px;
}
.pResaltado{
  font-size: 25px;
}
.pResaltadoLM{
  font-size: 35px;
}
.pTituloTabla{
  margin: 0 0 15px;
  padding: 15px;
  /*font-family: 'Amatic SC', cursive;*/
  font-size: 28px;
}
.linkEF{
  margin: 25px 0;
  background-color: #4a4a4a;
  padding: 10px 25px;
  border-radius: 15px;
  border: 1px solid black;
  text-align: right;
}
.buttonLabel:hover{
  color: #333;
}
.nota{
  font-size: 14px;
  text-align: center;
}
.grandTitle{
  text-align: center;
  font-size: 32px;
}
.grandSubtitle{
  text-align: center;
  font-family: 'Amatic SC', cursive;
  font-size: 35px;
}
.subMarco{
  font-family: 'Cunia';
  color: white;
  text-align: center;
}
h3.fondoMacro{
  /*background-color: #FCD186;*/
  padding: 10px;
  margin: 15px 10%;
  font-weight: 300;
}
.backSpace{
  padding: 15px;
}
.sombra{
  text-shadow: -3px 3px 0px #333;
}
.icono{
  width: 30px;
}
.iconoP{
  width: 20px;
  margin: 0 10px;
}
.iconoR{
  width: 30px;
  /*margin-left: -10px;
  margin-right: -10px;*/
}
.iconoEM{
  width: 45%;
}
.iconoL{
  width: 25px;
  margin: 0 7px;
}

.linkDA {
  color: #FF2670;
}
.linkDA:hover {
  color: black;
}

.mensajeLM{
  font-size: 35px;
}
.cifrasTable{
  /*font-family: 'Cunia';*/
  font-size: 18px;
}
.table td{
  border-top: 0;
  padding: 0;
}
.tituloTablaMacro{
  text-align: center;
  padding: 10px;
  font-weight: 300;
}
.btnTablas{
  margin-bottom: 0;
  text-align: center;
  /*font-family: 'Amatic SC', cursive;*/
  font-size: 35px;
}
.iconoTablas{
  width: 60px;
  padding-bottom: : 3px;
}
.iconoRTablas{
  width: 60px;
  margin-bottom: -5px;
}
.fa {
  float: right;
  margin: 10px;
  /*color: #777;*/
}
.nameTable{
  width: 100%;
  font-size: 20px;
  font-weight: bold;
  margin-top: 0;
}
.textoGraficaRoja{
  font-size: 15px;
}
.graficaRoja {
  position:absolute;
  margin: 60px 130px 0 0;
}

@media only screen and (max-width: 1024px) {
  p {
    font-size: 16px;
  }
  nav {
    width: 100%;
    margin-left: 0;
  }
  .main-bg{
    width: 100%;
    margin-left: 0;
  }
  .mainTabs span{
    font-size: 16px;
  }
  #headingOne{
    background-image: none;
    min-height: 75px;
  }
  #headingTwo{
    background-image: none;
    min-height: 75px;
  }
  #headingThree{
    background-image: none;
    min-height: 75px;
  }
  #headingFour{
    background-image: none;
    min-height: 75px;
  }
  #headingFive{
    background-image: none;
    min-height: 75px;
  }
  #headingSix{
    background-image: none;
    min-height: 75px;
  }
  #headingSeven{
    background-image: none;
    min-height: 75px;
  }
  #headingEight{
    background-image: none;
    min-height: 75px;
  }
  #headingNine{
    background-image: none;
    min-height: 75px;
  }
  #headingTen{
    background-image: none;
    min-height: 75px;
  }
  .cifrasGrandes{
    font-size: 28px;
  }
  .buttonLabel{
    font-size: 28px;
  }
  .tituloTablaMacro {
    font-size: 22px;
  }
  .fondoMacro {
    font-size: 24px;
  }
  .cifrasAcordion{
    font-size: 24px;
  }
  #DesarrolloSocial{
    background-image: none;
  }
  #DesarrolloEconomico{
    background-image: none;
  }
  #Gobierno{
    background-image: none;
  }

  #ServiciosPersonales{
    background-image: none;
  }
  #GastosOperacion{
    background-image: none;
  }
  #Subsidios{
    background-image: none;
  }
  #GastosInversion{
    background-image: none;
  }
  #PensionesJubilaciones{
    background-image: none;
  }
  .nameTable {
    font-size: 24px;
  }
}

@media only screen and (max-width: 991px) {
  .container {
    max-width: 950px;
  }
  .nameTable{
    font-size: 22px;
  }
}

@media only screen and (max-width: 768px) {
  .mainTabs{
    min-width: 30%;
    margin-bottom: 15px!important;
  }
  .mainTabs span{
    font-size: 24px;
  }
  .buttonLabel{
    font-size: 24px;
  }
  .table td {
    font-size: 14px;
  }
  .fondoMacro {
    font-size: 18px;
  }
  .cifrasGrandes {
    font-size: 24px;
  }
  .tituloTablaMacro {
    font-size: 18px;
  }
  .grandTitle {
    font-size: 28px;
  }
  .graficaRoja {
    margin: 100px 80px 0 0;
  }
  .textoGraficaRoja {
    font-size: 12px;
  }
  .nota {
    font-size: 12px;
  }
  .icono {
    width: 25px;
  }
  .iconoR {
    width: 50px;
  }
  .btnTablas {
    font-size: 30px;
  }
  .iconoTablas {
    width: 60px;
  }
  .iconoRTablas {
    width: 80px;
  }
}

@media only screen and (min-width: 512px) and (max-width: 767px) {
  .img33 {
    margin-top: 0!important;
    width: 33%!important;
    margin-left: 33%!important;
  }
  .img20 {
    width: 20%!important;
    margin-left: 40%!important;
  }
  .table {
    width: 50%;
    margin-left: 25%;
  }
  .img20-no-mrg {
    width: 20%!important;
    margin: -30px 0 10px;
  }
  .showSmall {
    display: block;
    text-align: center;
  }
  .showBig {
    display: none;
  }
  .img-small-no {
    display: none;
  }
  .element-small-center {
    text-align: center!important;
    margin: 0!important;
  }
  .iconoEM {
    width: 10%;
  }
}

/** Gráficas **/
.highcharts-figure, .highcharts-data-table table {
    min-width: 310px; 
    max-width: 1100px;
    margin: 1em auto;
}

#containerGrafSectores {
    height: 800px;
}

#containerGrafGasto {
    height: 600px;
}

#containerGrafGastoNeto {
    height: 600px;
}

#containerGrafClasFunc {
    height: 600px;
}

#containerGrafClasEcon {
    height: 600px;
}

.highcharts-data-table table {
  font-family: Verdana, sans-serif;
  border-collapse: collapse;
  border: 1px solid #EBEBEB;
  margin: 10px auto;
  text-align: center;
  width: 100%;
  max-width: 500px;
}
.highcharts-data-table caption {
    padding: 1em 0;
    font-size: 1.2em;
    color: #555;
}
.highcharts-data-table th {
  font-weight: 600;
    padding: 0.5em;
}
.highcharts-data-table td, .highcharts-data-table th, .highcharts-data-table caption {
    padding: 0.5em;
}
.highcharts-data-table thead tr, .highcharts-data-table tr:nth-child(even) {
    background: #f8f8f8;
}
.highcharts-data-table tr:hover {
    background: #f1f7ff;
}
