/*
 CSS for the main interaction
*/

.clearfix {
	clear: both !important;
}

.lightBoxMask-forcountriesguide {
  display:none;
  position:fixed;
  z-index:100;
  width:100%;
  height:100%;
  top:0;
  bottom:0;
  left:0;
  right:0;
  -webkit-overflow-scrolling:touch;
  -webkit-transform:translate3d(0, 0, 0);
  transform:translate3d(0, 0, 0);
  background-color:rgba(0,0,0,0.75);
  max-width:100%;
  margin-left:auto;
  margin-right:auto
 }

.lightBox ol.countriesGuideList {
  margin: 0;
  padding: 1em;
  text-align: center;
}

.countriesGuideOtherDesc {
  text-align: center;
  padding-top: 1em;
}

.countriesByPopularity .header {
  margin: .8em 1em 0;
  padding: .7em 0;
  text-align: center;
  background-color: #EEE;
  border-radius: 3px;
  color: #3A3A3A;
  font-size: 1.2em;
  cursor: pointer
}

.countriesByPopularity .header:not(:first-child) {
  margin: .2em 1em 0;
}

.countriesByPopularity .header:hover {
  background-color: #E1E1E1;
}

.lightBox ol.countriesGuideList>li {
  width: 49%;
  margin: 0;
  display: inline-block;
  cursor: pointer;
  border: 1px solid #CACACA;
  border-radius: 3px;
}

.lightBox ol.countriesGuideList>li label[for] {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  padding: 10px 16px;
}

.lightBox ol.countriesGuideList>li label[for]>input[type=radio] {
  display: none;
}

.lightBox ol.countriesGuideList>li:hover label{
  background-color: #2895F1!important;
  color: #fff!important;
  /* -o-transform-origin: center;
  -ms-transform-origin: center;
  -moz-transform-origin: center;
  -webkit-transform-origin: center;
  transform-origin: center;
  -o-transform: scale(1.02, 1.02);
  -ms-transform: scale(1.02, 1.02);
  -moz-transform: scale(1.02, 1.02);
  -webkit-transform: scale(1.02, 1.02);
  transform: scale(1.02, 1.02);
  box-shadow: 1px 1px 0px #ddd; */
}

.lightBox ol.countriesGuideList .countriesName {
  float: left;
  text-align: left;
}

.lightBox ol.countriesGuideList .countriesRate {
  float: right;
  text-align: right;
}

/* .lightBox ol.countriesGuideList .countriesNameAndRate {
  padding: 10px 16px;
} */


.lightBoxMask-forcountriesguide:after {
  content:" ";display:block;clear:both
 }

.lightBoxMask-forcountriesguide {
  z-index:102
 }

.tabset > .tabs {
  padding: 0 1.3em;
}

.tabset > .tabs > input[type="radio"] {
  position: absolute;
  left: -200vw;
}

.tabset .tab-panel {
  display: none;
}

/* .tabset > input:first-child:checked ~ .tab-panels > .tab-panel:first-child,
.tabset > input:nth-child(3):checked ~ .tab-panels > .tab-panel:nth-child(2),
.tabset > input:nth-child(5):checked ~ .tab-panels > .tab-panel:nth-child(3),
.tabset > input:nth-child(7):checked ~ .tab-panels > .tab-panel:nth-child(4),
.tabset > input:nth-child(9):checked ~ .tab-panels > .tab-panel:nth-child(5),
.tabset > input:nth-child(11):checked ~ .tab-panels > .tab-panel:nth-child(6),
.tabset > input:nth-child(13):checked ~ .tab-panels > .tab-panel:nth-child(7) {
  display: block;
} */


.tabset > .tabs > input[type=radio] + label {
  max-width: 14%;
  position: relative;
  display: inline-block;
  padding: 0 15px 10px;
  border: 1px solid transparent;
  border-bottom: 0;
  cursor: pointer;
  font-weight: 600!important;
  text-align: center;
}


.tabset > .tabs > label::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  margin: auto;
  width: 2em;
  height: 4px;
  background: #8d8d8d;
}

.tabset > .tabs > label:hover,
.tabset > .tabs > input:focus + label {
  color: #2895F1;
}

.tabset > .tabs > label:hover::after,
.tabset > .tabs > input:focus + label::after,
.tabset > .tabs > input:checked + label::after {
  background: #2895F1;
  color: #FFF!important;
}

.tabset > .tabs > input:checked + label {
  border: 1px solid #ccc;
  border-bottom: 1px solid #f8f8f8;
  border-radius: 5px 5px 0 0;
  /*margin-bottom: -1px;*/
  box-shadow: 2px -2px 3px rgba(180, 180, 180, .3);
  background-color: #f8f8f8;
}

/*
 Demo purposes only
*/

.tabset {
  max-width: 65em;
}

.tabset .tab-panels{
  border-top: 1px solid #ccc;
  box-shadow: 0 -2px 2px rgba(180, 180, 180, .3);
}

@media screen and (max-width: 768px) {
  .lightBox ol.countriesGuideList>li {
    float: none;
    position: relative;
    margin: auto;
    width: 90%
  }

  .tabset > .tabs {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
  }

  .tabset > .tabs > input[type=radio] + label {
    flex: 1 0 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: none;

    max-width: inherit;
    padding: 0;
    margin: 0;
    /* border: 1px solid #CACACA; */
  }
  .tabset > .tabs > input[type=radio] + label h3 {
    line-height: 1em;
  }
  .tabset > .tabs > input[type=radio]:checked + label {
    background-color: #2895F1;
    color: #FFF!important;
    border-radius: 5px;
  }
  .tabset > .tabs > label::after {
    content: none;
  }

  .tabset > .tab-panels {
    box-shadow: none;
  }
}