/* Mapa interactivo
* --------------------------------------- */

.page-mapa-interactivo #main-navigation {
  background: transparent !important;
}

.single-post .barra-lateral,
.page-mapa-interactivo .barra-lateral {
  display: none;
}

.map-container {
  background: #502c7d;
  text-align: center;
  padding: 0 0 120px 0;
  position: relative;
  overflow: hidden;
  height: 100vh;
}

.map-container .map-img {
  width: 300px !important;
  position: relative;
  left: 0;
  transform: translateX(55px) translateY(50px);
  transition: all 1.2s cubic-bezier(0.16, 0.68, 0.43, 0.99);
}

.map-container .map-content {
  position: absolute;
  right: 0;
  top: 50px;
  text-align: left;
  width: 60%;
  padding: 25px 50px 0 0;
}

.map-content h1 {
  font-weight: 100;
  font-size: 3.5rem;
  margin-top: 2rem;
}

.map-content h3,
.map-content h4 {
  color: #fff;
}

.map-content h4.tooltip-svg {
  font-size: 1.1rem;
  margin: 0 0.25rem 0.25rem 0;
  padding: 0.5rem 1rem;
  background: #3a1765;
  border-radius: 5px;
}

.map-content .tooltip-svg:hover {
  color: #f38181;
}

.map-content h4 {
  margin: 0.5rem 0;
}

.map-container h1 {
  color: #fff !important;
  text-decoration: none;
}

.map-container .restofamerica {
  fill: #002c58;
  stroke: #001a3d;
  transition: all 1.2s cubic-bezier(0.16, 0.68, 0.43, 0.99);
  cursor: pointer;
}

.map-container .restofamerica:hover {
  fill: #009e99;
}

.st3 {
  fill: #fff;
}

.st0 {
  fill: #cee3f5;
  stroke: #502c7d;
  stroke-width: 2.9589;
}

.st1 {
  fill: #0071bc;
  stroke: none;
}

.st2 {
  fill: #cee3f5;
  stroke: none;
}

#grupo-argentina path {
  transition: all 1.2s cubic-bezier(0.16, 0.68, 0.43, 0.99);
  fill: #68b8aa;
}

#grupo-argentina:hover path,
#grupo-argentina.click-on path {
  /*fill: #306bb7;*/
}

.map-container .rest-of-america {
  fill: #063058;
  stroke: #15253f;
  stroke-miterlimit: 10;
}

.map-container .marcador {
  opacity: 0.3;
  transition: all 1.2s cubic-bezier(0.16, 0.68, 0.43, 0.99);
}

.map-container .tooltip-svg {
  cursor: pointer;
}

.map-container .tooltip-svg.click-on .marcador,
.map-container .tooltip-svg:focus .marcador,
.map-container .tooltip-svg:active .marcador {
  opacity: 1;
}

.map-container .tooltip-svg:hover path {
  opacity: 0.9;
}

.tooltip_templates {
  display: none;
}

.tooltipster-base {
  display: flex;
  pointer-events: none;
  right: 20px !important;
  left: initial !important;
  top: 200px !important;
  height: 100vh !important;
  max-width: 40vw !important;
  background: rgba(56, 19, 102, 0.6);
  z-index: 9 !important;
  /* margin-top: 10vh; */
  margin: 0 auto;
  width: 100% !important;
}

.tooltipster-box {
  background: none !important;
  border: 0 none !important;
  background: #3a1765 !important;
  margin: auto !important;
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  overflow: auto !important;
  width: 100%;
  max-width: 100%;
}

.tooltipster-content {
  padding: 3rem 4rem 2rem 2rem !important;
  width: 100%;
  height: auto;
  position: relative;
  text-align: left;
  overflow: visible !important;
}

.list-sentence {
  padding-bottom: 4rem;
}

.list-sentence .list-sentence-item {
  border-bottom: 1px solid rgba(243, 129, 129, 0.36);
  padding: 1.25rem 0;
  position: relative;
}

.list-sentence .list-sentence-item p {
  padding: 0 0 0 2.5em;
}
.list-sentence .list-sentence-item .dashicons {
position: relative;
top: 4px;
}

.list-sentence .list-sentence-item [data-toggle="collapse"][aria-expanded="true"] > .dashicons {
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}

.list-sentence .list-sentence-item .list-sentence-item-title {
  flex: 1;
  padding-left: 1.125rem;
  font-size: 1.25rem;
    padding-right: 160px;
}

.list-sentence .list-sentence-item .expander {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  align-items: baseline;
}

.list-sentence .list-sentence-item .fa {
  padding-left: 0.75rem;
  display: inline-block;
}

.list-sentence .list-sentence-item a {
  color: #fff;
  font-size: 1.1rem;
  margin: 0 0.25rem 0.25rem 0;
  padding: 0.5rem 1rem;
  background: #502c7d;
  border-radius: 5px;
  position: absolute;
  right: 0;
  top: 1.25rem;
}

.list-sentence .list-sentence-item a:hover {
  color: #fff;

  background: #f38181;
}

.tooltipster-content h4 {
  color: #fff;
  flex: 1;
  padding-left: 1.25rem;
  text-align: right;
  margin: 0;
}

.tooltipster-fade.tooltipster-show {
  /*z-index: 999 !important;*/
}

.tooltipster-content .tooltip-image {
  overflow: hidden;
  width: 300px;
  position: absolute;
  left: 48px;
  top: 50px;
}

.tooltipster-content .tooltip-image svg path {
  fill: transparent;
  stroke: #fff;
  opacity: 0.2;
}

.tooltipster-content .img-circle img {
  position: relative;
}

.tooltipster-content h3 {
  color: #fff;
  padding-bottom: 0;
  text-align: left;
  font-size: 30px;
  font-weight: 100;
  position: relative;
  z-index: 11;
  margin: 0;
}

.tooltipster-content h3 span {
  padding-bottom: 5px;
}

.tooltipster-content .map-markers {
  display: flex;
  justify-content: space-evenly;
  position: absolute;
  top: 270px;
  width: 310px;
}

.tooltipster-content .map-icon {
  float: left;
  text-align: center;
  width: 89px;
  height: 120px;
  position: relative;
  z-index: 2;
  margin: 15px;
  transition: all 0.8s;
}

.tooltipster-content .map-icon:hover {
  transform: scale(1.1);
}

.tooltipster-content .map-icon a {
  color: #fff;
}

.tooltipster-content .map-icon .fa {
  border-radius: 50px;
  color: #06163a;
  padding: 12px;
  background: #ef9c48;
}

.tooltipster-content .map-icon span {
  text-transform: uppercase;
  display: block;
  width: 90px;
  text-align: center;
  font-weight: 700;
  margin-top: 10px;
}

.tooltipster-content .description {
  width: 450px;
  font-size: 18px;
  line-height: 31px;
  text-align: left;
}

.tooltipster-content .tt-close {
  cursor: pointer;
  font-size: 21px;
  padding: 7px 9px;
  position: absolute;
  right: 10px;
  top: 10px;
}

.map-container .tooltip-svg.click-on .st0,
.map-container .tooltip-svg:hover .st0 {
  fill: #f38181;
}

#grupo-argentina:hover path {
  fill: #388e7f;
}

#tooltip_content_argentina h3 span {
  border-color: #388e7f;
}

#tooltip_content_argentina .fa {
  background: #388e7f;
}

#tooltip_content_argentina .map-icon span {
  color: #388e7f;
}

#grupo-chile.click-on .st1,
#grupo-chile:hover .st1 {
  fill: #d4de5c;
}

#tooltip_content_chile h3 span {
  border-color: #d4de5c;
}

#tooltip_content_chile .fa {
  background: #d4de5c;
}

#tooltip_content_chile .map-icon span {
  color: #d4de5c;
}

#grupo-uruguay.click-on .st1,
#grupo-uruguay:hover .st1 {
  fill: #a5aeff;
}

#tooltip_content_uruguay h3 span {
  border-color: #a5aeff;
}

#tooltip_content_uruguay .fa {
  background: #a5aeff;
}

#tooltip_content_uruguay .map-icon span {
  color: #a5aeff;
}

#grupo-paraguay.click-on .st1,
#grupo-paraguay:hover .st1 {
  fill: #9c459b;
}

#tooltip_content_paraguay h3 span {
  border-color: #9c459b;
}

#tooltip_content_paraguay .fa {
  background: #9c459b;
}

#tooltip_content_paraguay .map-icon span {
  color: #9c459b;
}

#grupo-brazil.click-on .st1,
#grupo-brazil:hover .st1 {
  fill: #d99a4f;
}

#tooltip_content_brazil h3 span {
  border-color: #d99a4f;
}

#tooltip_content_brazil .fa {
  background: #d99a4f;
}

#tooltip_content_brazil .map-icon span {
  color: #d99a4f;
}

#grupo-bolivia.click-on .st1,
#grupo-bolivia:hover .st1 {
  fill: #bc5148;
}

#tooltip_content_bolivia h3 span {
  border-color: #bc5148;
}

#tooltip_content_bolivia .fa {
  background: #bc5148;
}

#tooltip_content_bolivia .map-icon span {
  color: #bc5148;
}
/*
@media (max-width: 1100px) {
  .tooltipster-content .description {
    right: initial;
    position: relative;
    bottom: initial;
    width: 100%;
    font-size: 16px;
    line-height: 25px;
  }
  .map-container .map-img {
    left: -200px;
  }

  .tooltipster-content .tt-close {
    display: block;
  }

  .tooltipster-content .map-icon .fa {
  }

  .tooltipster-content {
    width: 400px;
    position: fixed;
    right: 25px;
    height: auto;
    top: 130px;
    overflow-x: auto !important;
    text-align: center;
    padding: 4px 24px 170px 24px !important;
  }

  .tooltipster-content .tooltip-image {
    display: none;
  }

  .tooltipster-content h3 {
    line-height: 45px;
    position: relative;
    bottom: initial;
    width: 100%;
  }

  .tooltipster-content .map-markers {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    top: initial;
  }

  .map-container .map-img {

    transform: scale(1) translateX(0) translateY(-100px);
  }
}

*/


body.page-template-mapa-ufem-basedesentencias .site-content  {

    margin-top: 100px !important;
}




@media (max-width: 990px) {
  .tooltipster-base {
    right: 10px !important;
    left: 10px !important;
    top: 387px !important;
    max-width: 60% !important;
    width: auto !important;
    margin: 0 0 0 auto;
  }

    .map-container .map-img {
    transform: scale(1) translateX(0) translateY(0);
    left: 0;
    opacity: .2;
  }
}

@media (max-width: 600px) {
  .tooltipster-content {
    width: auto;
    left: 0;
    padding: 3rem 2rem !important;
  }

   .tooltipster-base {
    max-width: 100% !important;
    margin: 0;
    top: 340px !important;
  }

  .tooltipster-content h3 {
    left: 0;
  }

  .tooltipster-content .map-markers {
    bottom: 10px;
  }



  .map-container .map-content {
        width: 90%;
    top: 0;

  }

  body.page-template-mapa-ufem-basedesentencias .site-content {
    margin-top: 210px !important;
}


}
