body,
html,
#map {
  height: 100%;
  width: 100%;
  margin: 0;
  /*font-family: Helvetica,arial,sans-serif;*/
  font-family: 'Source Sans Pro', sans-serif;
  background-color: #242426;
}
a {
  text-decoration: none;
}
h1 {
  margin-top: 0;
  margin-bottom: 10px;
}
h2 {
  font-size: 10px;
  color: #888;
  border-bottom: 1px solid #222;
  padding-bottom: 5px;
  display: inline-block;
}
h2 a {
  color: #888;
  position: relative;
  padding-right: 22px;
  display: inline-block;
}
h2 a:after {
  content: "";
  background: url(CP_logo_geographica.svg) 0 0px no-repeat;
  position: absolute;
  right: 0;
  top: -2px;
  width: 24px;
  height: 15px;
  background-size: 29px 29px;
}
h4 {
  font-size: 14px;
  font-weight: normal;
  margin: 12px 0 0px 0;
}

ul{
  list-style: none;
}
#panel {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 300px;
  background-color: rgba(0, 0, 0, 0.7);
  border: 1px solid #888;
  border-radius: 5px;
  color: #fff;
  padding: 10px;
  display: none;
}
#panel select {
  margin-top: 5px;
  width: 100px;
}
#datapanel {
  position: absolute;
  right: 50px;
  top: 10px;
  width: 320px;
  background-color: rgba(0, 0, 0, 0.7);
  border: 1px solid #888;
  border-radius: 5px;
  color: #fff;
  padding: 10px;
}
#datapanel .arpt {
  float: left;
  width: 50%;
}
#datapanel .arpt span {
  font-size: 12px;
}
#datapanel span.big,
#datapanel span.big2 {
  font-size: 25px;
  font-weight: bold;
}
#datapanel span.big2 {
  font-size: 20px;
}
#datapanel h6 {
  margin: 0 0 10px 0;
  font-size: 27px;
  font-weight: bold;
  position: relative;
  border-bottom: 1px solid #444;
  display: inline-block;
}
#datapanel h6:after {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  position: absolute;
  left: 68px;
  top: 7px;
  border-radius: 9px;
}
#datapanel .el1 h6:after {
  background-color: #2795ff;
}
#datapanel .el2 h6:after {
  background-color: #0de000;
}
#datapanel label {
  margin-left: 5px;
  color: #888;
  font-size: 12px;
}
#datapanel label.l1,
#datapanel label.l2 {
  font-size: 20px;
  font-weight: bold;
}
#datapanel label.l2 {
  font-size: 16px;
}
.credits {
  position: absolute;
  bottom: 10px;
  right: 20px;
}
.credits .geographica {
  /*position: absolute;
      top: auto;
      bottom: 16px;
      right: 0;
      float: right;
      margin-right: 6px;
      width: 30px;
      height: 22px;
      background: url(images/FR_aProject_Geographica.svg) 0 -22px no-repeat;*/
  /*position: absolute;
      top: auto;
      bottom: 17px;
      bottom: 3px;
      right: -46px;
      width: 180px;
      height: 48px;*/
  /*background-image: url(images/FR_logo_Geo_pie.svg);*/
  /*background-repeat: no-repeat;*/
}
.credits .geographica span {
  display: block;
  position: relative;
  height: 27px;
  padding-left: 5px;
  line-height: 27px;
  white-space: nowrap;
  top: 0;
  z-index: 13;
  -webkit-transform: rotate(270deg);
  transform: rotate(270deg);
  -webkit-transform-origin: top left;
  transform-origin: top left;
  color: #82b600;
  width: 0;
  overflow: hidden;
  transition: width 0.2s ease-out;
}
/*.credits .geographica:hover{
      background-position: 0 0;
    }*/
.credits .geographica:hover span {
  text-decoration: none;
  overflow: inherit;
  font-size: 12px;
}
.coinfo p {
  font-size: 13px;
}
.coinfo p.disclaimer {
  color: #bbb;
  font-size: 11px;
}
.coinfo h3 {
  font-size: 13px;
  margin: 0;
  font-weight: normal;
}
.coinfo ul {
  margin: 5px 0;
  padding-left: 27px;
}
.coinfo li {
  font-size: 12px;
}
a {
  color: #2795ff;
}
.covis {
  font-size: 16px;
  line-height: 44px;
  color: #fff;
  position: absolute;
  bottom: 0;
  left: 125px;
  background-color: #0e0e0e;
  width: 336px;
  border-left: 2px solid #5d5d5f;
}
.covis input {
  /*margin-right: 5px;*/
  position: relative;
  bottom: 3px;
  visibility: hidden;
}
.covis input:first-of-type {
  margin-left: 20px;
}

input[type="radio"]:checked + label {
  color: #ffb400;
  border-bottom: 4px solid #ffb400;
  /*padding-bottom: 10px;*/
}
.covis label {
  /*margin-right: 20px;*/
  cursor: pointer;
  display: inline-block;
  margin-right: 15px;
}

.covis label:last-of-type{
  margin-right: 0;
}

#quiz {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  min-height: 100vh;
  width: 100vw;
  background: #0e0e0e;
  color: #ffffff;
  z-index: 9999;
  text-align: center;
  overflow-y: auto;
}
#quiz.show {
  display: block;
}
#quiz .wrapper {
  padding: 20px;
}
#quiz h1 {
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  color: #707070;
  margin-top: 10px;
}
#quiz h1 span.co_ico{
  display: block;
  margin: 0 auto 10px;
  border: 2px solid #707070;
  border-radius: 50%;
  padding: 8px;
  width: 36px;
  height: 36px;
}

#quiz .question {
  position: relative;
}
#quiz .question .next {
  position: absolute;
  left: calc(50% + 350px);
  margin-right: -300px;
  /*top: 7px;*/
  color: #707070;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
}

@media (max-width: 1300px) {
  #quiz .question .next {
    position: fixed;
    top: 145px;
    right: 100px; 
    margin-right: 0;
  }
}


#quiz .question .next img {
  display: block;
  margin: 0 auto 10px;
}

#quiz .question .next.right{
  color: #ffb400;
}

#quiz .question h5 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1em;
  margin: 36px auto 10px auto;
  max-width: 600px;
}
#quiz .question ul.questions li {
  width: 450px;
  margin: 0 auto;
  border-bottom: 2px solid #848484;
  position: relative;
  cursor: pointer;
}
#quiz .question ul.questions li input[type=radio] {
  display: none;
}
#quiz .question ul.questions li p.airport {
  margin: 0 0 14px 0;
}
#quiz .question ul.questions li p.airport .code {
  font-family: 'quantico', sans-serif;
  font-weight: 700;
  font-size: 48px;
  color: #ffb400;
  display: block;
}
#quiz .question ul.questions li p.airport .name,
#quiz .question ul.questions li p.airport .metro {
  font-family: 'source sans pro', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #fff;

}
#quiz .question ul.questions li p.airport .metro {
  color: #707070;
  font-weight: bold;
  text-transform: uppercase;
  margin-left: 5px;
}
#quiz .question ul.questions li p.passengers {
  display: none;
  text-align: right;
  position: absolute;
  right: 0;
  top: 7px;
  margin: 0;
}
#quiz .question ul.questions li p.passengers .label {
  display: block;
  color: #848484;
  font-size: 14px;
}
#quiz .question ul.questions li p.passengers .value {
  color: #848484;
  font-family: 'quantico', sans-serif;
  font-size: 24px;
}
#quiz .question ul.questions li.wrong p.airport {
  text-align: left;
  color: #848484;
}
#quiz .question ul.questions li.wrong p.airport span {
  color: #848484;
}
#quiz .question ul.questions li.wrong p.passengers {
  display: block;
}
#quiz .question ul.questions li.wrong p.passengers .label {
  color: #848484;
}
#quiz .question ul.questions li.wrong p.passengers .value {
  color: #848484;
}
#quiz .question ul.questions li.right p.airport {
  text-align: left;
  color: #82b600;
}
#quiz .question ul.questions li.right p.passengers {
  display: block;
}
#quiz .question ul.questions li.right p.passengers .label {
  color: #fff;
}
#quiz .question ul.questions li.right p.passengers .value {
  color: #82b600;
}

#quiz .question ul.questions li.right p.airport .code{
  color: #82b600;
}

.hide {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -webkit-transition: opacity 1s ease-in-out;
}
.show {
  opacity: 1;
  transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -webkit-transition: opacity 1s ease-in-out;
}

#quiz .questions ul {
  margin: 0;
  padding: 0;
}
#quiz ul.questions li.right:after,
#quiz ul.questions li.wrong:after {
  content: '';
  display: block;
  width: 30px;
  height: 30px;
  position: absolute;
  left: 50%;
  top: 2em;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}
#quiz ul.questions li.wrong:after {
  background: url('images/FR_icon-sadface.svg') no-repeat center;
}
#quiz ul.questions li.right:after {
  background: url('images/FR_icon-check.svg') no-repeat center;
}
#quiz .dontshow span{
  font-size: 12px;
  color:#707070;
}
#title_panel {
  position: absolute;
  top: 0;
  background-color: rgba(14,14,14,0.75);
  width: 100%;
}
#title_panel .logopanel {
  width: 420px;
  float: left;
}

@media (max-width: 1025px) {
  #title_panel .logopanel {
    width: 320px;
  }
}


#title_panel h1 {
  font-family: 'Quantico', sans-serif;
  font-size: 48px;
  line-height: 36px;
  color: #ffb400;
  padding: 37px 0 10px 20px;
  border-top: 10px solid #ffb400;
}

@media (max-width: 1025px) {
  #title_panel h1 {
    font-size: 36px;
    line-height: 28px;
    padding: 28px 0 10px 10px;
  }
}


#title_panel h1:before {
  content: url(images/FR_icon-cab.svg);
  float: left;
  margin-right: 14px;
  position: relative;
  bottom: 14px;
}
#title_panel h1 span {
  color: #fff;
  display: block;
  font-size: 32px;
  padding-top: 3px;
}

@media (max-width: 1025px) {
  #title_panel h1 span{
    font-size: 24px !important;
  }
}

ul.covis {
  list-style: none;
  display: inline;
}
ul.covis li {
  font-size: 16px;
}
ul.covis li.selected {
  color: #ffb400;
}
#airportPanels {
  width: calc(100% - 440px);
  float: right;
}

@media (max-width: 1025px) {
  #airportPanels{
    width: calc(100% - 320px);
  }
}

.panelAirport {
  width: calc(50% - 20px);
  float: left;
  padding: 0 20px;
  /*display: flex;*/
}
.panelAirport .col1 {
  flex:1;
  min-width: 99px;
  /*float: left;
  width: 29%;*/
}
.panelAirport .col2 {
  flex:1;
  /*float: left;
  width: 35.5%;*/
  text-align: right;
}
.panelAirport .col3 {
  /*flex:1;*/
  /*float: left;
  width: 35.5%;*/
  margin-left: 20px;
  text-align: right;
}
.panelAirport span {
  font-size: 16px;
  line-height: 48px;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.panelAirport h4 {
  font-family: 'Quantico', sans-serif;
  font-size: 48px;
  line-height: 10px;
  font-weight: 700;
  font-weight: normal;
  /*position: relative;
  display: block;*/
  /*width: 125px;*/
}
.panelAirport h5 {
  font-size: 24px;
  line-height: 10px;
  margin-top: 20px;
  margin-bottom: 10px;
  font-family: 'Quantico', sans-serif;
  font-weight: normal;
}
.panelAirport .airportName {
  color: #fff;
  font-size: 14px;
  line-height: 18px;
  display: block;
}
.panelAirport .airportCity {
  text-transform: uppercase;
  color: #848484;
  font-size: 13px;
  line-height: 18px;  
  padding-bottom: 20px;
  font-weight: bold;
}
.panelAirport .col1 h4 {
  cursor: pointer;
  min-width: 160px;
  font-weight: bold;
}
.panelAirport .col1 h4:after {
  content: url(images/FR_icon-picker1.svg);
  position: relative;
  bottom: 10px;
  left: 5px;
}

@media (max-width: 1024px) {
  .panelAirport .col1 h4:after {
    display: inline-block;
    transform: scale(.75);
  }
}

.panelAirport ul{
  padding: 0;
  margin: 0;
}
.panelAirport ul li{
  float: left;
  /*width: 37px;*/
  /*min-width: 34px;*/
}

#panelarpt1 {
  border-left: 2px solid #5d5d5f;
  border-right: 2px solid #5d5d5f;
  box-sizing: border-box;
  padding-bottom: 15px;
}
#panelarpt1 h4 {
  color: #ffb400;
}
#panelarpt1 .col1 h4:after {
  content: url(images/FR_icon-picker1.svg);
}
#panelarpt1 h5 {
  color: #ffb400;
}
#panelarpt2 h4 {
  color: #82b600;
}
#panelarpt2 h5 {
  color: #82b600;
}
#panelarpt2 .col1 h4:after {
  content: url(images/FR_icon-picker2.svg);
}

@media (max-width: 1025px) {
  .panelAirport span{
    font-size: 14px;
    line-height: 36px;
  }

  .panelAirport h4{
    font-size: 36px;
  }

  .panelAirport h5{
    font-size: 18px;
  }

  .panelAirport .airportName{
    font-size: 14px;
  }

  .panelAirport .airportCity{
    font-size: 13px;
  }
}


#about_panel {
  position: absolute;
  bottom: 0;
  max-width: 464px;
  font-size: 16px;
  line-height: 20px;
  background-color: #0e0e0e;
  visibility: hidden;
  z-index: 1001;
}

#about_panel:hover{
  visibility: visible;
}
#about_panel .content {
  padding: 0 40px;
  max-height: 0;
  overflow: hidden;
  -webkit-transition: max-height 0.5s;
  -moz-transition: max-height 0.5s;
  transition: max-height 0.5s;
}
#about_panel:hover .content {
  width: inherit;
  max-height: 460px;
  visibility: visible;
}
#about_panel .content img {
  /*padding: 45px 0px 14px 0;*/
  padding: 40px 0px 0px 0;
}
#about_panel .content .github:after {
  content: url(images/FR_icon-dir.svg);
  position: relative;
  top: 3px;
  left: 10px;
}
#about_panel p {
  color: #848484;
  /*margin-top: 30px;*/
}
#about_panel p a {
  color: #ffb400;
}
#about_panel .sources {
  border-top: 1px solid #242426;
}
#about_panel .sources p {
  font-size: 13px;
  line-height: 15px;
}
#about_panel .sources p {
  margin-top: 20px;
}
#about_panel span {
  display: block;
  color: #ffb400;
  margin-top: 46px;
  padding-bottom: 16px;
  padding-top: 12px;
  visibility: visible;

  background-color: #0e0e0e;
  width: 125px;
  margin:0;
}
#about_panel span:before {
  content: url(images/FR_icon-info.svg);
  float: left;
  margin: 2px 10px 0px 30px;
  cursor: pointer;
}
#list_airport_panel {
  z-index: 1000001;
  position: absolute;
  background-color: rgba(14, 14, 14, 0.9);
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  overflow: hidden;
  opacity: 0;
  display: block;
  visibility: hidden;
  -webkit-transition: opacity 0.3s ease-in-out;
  -moz-transition: opacity 0.3s ease-in-out;
  -ms-transition: opacity 0.3s ease-in-out;
  -o-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
}
#list_airport_panel.show {
  visibility: visible;
  opacity: 1;
}
#list_airport_panel.from tr:hover {
  background-color: #ffb400;
  color: #111112;
}
#list_airport_panel.to tr:hover {
  background-color: #82b600;
  color: #111112;
}
#list_airport_panel tr:hover .city {
  color: #111112;
}

#list_airport_panel h3{
  padding-left: 78px;
  font-weight: 500;
  color:#848484;
  font-size: 32px;
  line-height: 36px;
  margin-bottom: 0;
}

#list_airport_panel h4 {
  padding-left: 78px;
  /*color: #fff;*/
  float: left;
  font-size: 32px;
  line-height: 36px;
  font-weight: 500;
  margin: 0;
}

#list_airport_panel.from h4{
  color:#ffb400;
}

#list_airport_panel.to h4{
  color:#82b600;
}


#list_airport_panel .close {
  cursor: pointer;
  position: absolute;
  right: 56px;
  top: 40px;
}
#list_airport_panel table {
  clear: both;
  width: 100%;
  color: #fff;
  border-spacing: 0;
  border-collapse: collapse;
  margin-top: 62px;

  overflow: auto;
  height: 100vh;
  display: block;
  padding-top: 51px;

}
#list_airport_panel table thead {
  font-size: 16px;
  line-height: 48px;
  color: #848484;

  display: table;
  width: 100%;
  position: absolute;
  top: 129px;
  background-color: rgba(14, 14, 14, 1);
  z-index: 1;
}

#list_airport_panel table thead tr td:first-of-type{
  color: #fff;
}

#list_airport_panel table tbody {
  font-size: 21px;
  line-height: 48px;

  display: table;
  width: 100%;
  margin-bottom: 200px;
}
#list_airport_panel table tbody tr {
  font-size: 21px;
  line-height: 48px;
  cursor: pointer;
}

#list_airport_panel table tr td:first-of-type{
  width: 78%;
}

#list_airport_panel table tr td:nth-of-type(2){
  width: 3.47%;
}

#list_airport_panel table tr.to {
  position: relative;
  color: #82b600;
}
#list_airport_panel table tr.to td,
#list_airport_panel table tr.from td {
  position: relative;
}
#list_airport_panel table tr.to td:first-of-type:before,
#list_airport_panel table tr.from td:first-of-type:before {
  position: absolute;
  left: 28px;
  top: 10px;
}
#list_airport_panel table tr.to td:first-of-type:before {
  content: url("images/FR_icon_airp2.svg");
}
#list_airport_panel table tr.from {
  color: #ffb400;
}
#list_airport_panel table tr.from td:first-of-type:before {
  content: url("images/FR_icon_airp1.svg");
}

#list_airport_panel table thead tr td {
  border-bottom: 2px solid #363637;
}

#list_airport_panel table tr td {
  border-bottom: 1px solid #363637;
}
#list_airport_panel table tr td:nth-of-type(2),
#list_airport_panel table tr td:nth-of-type(3) {
  text-align: right;
}
#list_airport_panel table tr td:nth-of-type(1) {
  padding-left: 78px;
}
#list_airport_panel table tr td:nth-of-type(3) {
  padding-right: 78px;
}
#list_airport_panel table tr td .iata {
  font-weight: bold;
  margin-right: 20px;
}
#list_airport_panel table tr td .city {
  text-transform: uppercase;
  color: #848484;
  font-size: 13px;
  line-height: 18px;
  margin-left: 10px;
  font-weight: bold;
}
.leaflet-control-container {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  height: 30%;
}
.leaflet-control-container .leaflet-bar {
  border-radius: 2px;
  border: 4px solid rgba(147, 149, 151, 0.5);
}
.leaflet-control-container .leaflet-bottom {
  display: none;
}
.leaflet-bar {
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
}
.leaflet-control-container .leaflet-bar a.leaflet-control-zoom-in {
  border-radius: 2px 2px 0 0;
}
.leaflet-control-container .leaflet-bar a {
  text-shadow: none;
  background: url(images/cepsa_ui_sprt_zoom.svg) no-repeat #eeeeee;
  border: 1px solid #999;
}
.leaflet-control-container .leaflet-bar a.leaflet-control-zoom-out {
  margin-top: -1px;
  border-radius: 0 0 2px 2px;
  background-position: 0 -30px;
}
.leaflet-control-container .leaflet-bar a {
  height: 32px;
  width: 32px;
  cursor: pointer;
  color: transparent;
}
.cartodb-logo {
  right: 252px !important;
  left: initial !important;
  bottom: 10px !important;
}
div.cartodb-timeslider {
  bottom: 25px !important;
  left: 127px !important;
  background-color: #3a3a3c;
  border-color: #3a3a3c;
  /*left: 0 !important;
  right: 0 !important;
  width: 340px !important;
  margin: 0 auto;*/
}
div.cartodb-timeslider .time {
  display: none;
}
div.cartodb-timeslider .ui-slider .ui-slider-range {
  background-color: #ffb400;
}

div.cartodb-timeslider ul li{
  border-right: 1px solid #5d5d5f;
}

#tooltipmap{
  position: absolute;
  z-index: 1;
  display: none;
  
  padding: 10px
}

#tooltipmap.arpt1{
  background-color: #ffb400;
}

#tooltipmap.arpt2{
  background-color: #82b600;
}

#tooltipmap .title,#tooltipmap .subtitle,#tooltipmap ul li label,#tooltipmap ul li span{
  color: #0e0e0e;
  font-size: 13px;
}

#tooltipmap .title,#tooltipmap .subtitle{
  font-weight: bold;
  display: block;
}

#tooltipmap ul{
  margin: 18px 0 0 0;
  padding: 0;
}

#tooltipmap .subtitle,#tooltipmap ul li{
  line-height: 18px;
}

#tooltipmap .subtitle,#tooltipmap ul li span{
  font-size: 18px;
}

