
      .tabbed-content .tabs{
        position: absolute;
            top: -31px;
    left: 30px;
      }
      .tabbed-content {
  background: #fff;
  
  padding: 24px 15px;
 
}

.tabs ul {
  margin: 0;
  padding: 0 0 1em 0;
  font-weight: bold;
}
.tabs ul li {
  background: #eee;
  width: 267px;
}
.tabs ul li a {
      padding: 4px 4px;
          font-size: 16px;
}
.tabs ul li a img{
  width: 52px;
}
.tabs ul li a:hover, .tabs ul li a.active {
      background: #5aabf1!important;
  color: #eee;
}
#tab1{
  position: relative;
}



.item {
  margin-bottom: 4px;
}
.item::before {
  cursor: pointer;
    font-weight: bold;
    background: #768792;
    padding: 23px;
    display: block;
    left: 16px;
    padding-left: 70px;
    font-size: 18px;
    color: #fff;
}
.item.active::before {
  background: #5aabf1;
  color: #eee;
}
.item.active .item-content {
  padding: 1em;
  -webkit-transition: opacity 0.3s ease-in-out;
  -moz-transition: opacity 0.3s ease-in-out;
  -o-transition: opacity 0.3s ease-in-out;
  -ms-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
}
@media only screen and (max-width: 800px) {
  #tab1::after {
  content: url(./images/statue-of-liberty.png);
      top: 4px;
    position: absolute;
        left: 0px;
  
}
#tab2{
  position: relative;
}
#tab2::after {
  content: url(./images/canada.png);
      top: 4px;
    position: absolute;
        left: 0px;
  
}
#tab3{
  position: relative;
}
#tab3::after {
  content: url(./images/big-ben.png);
      top: 4px;
    position: absolute;
        left: 0px;
  
}
#tab4{
  position: relative;
}
#tab4::after {
  content: url(./images/netherland.png);
      top: 4px;
    position: absolute;
        left: 0px;
  
}

}
@media only screen and (max-width: 1200px) {
.tabs ul li {
    width: 222px;
}
.tabs ul li a {
    font-size: 14px;
}
}
@media only screen and (max-width: 991px) {
.tabs ul li {
    width: 162px;
}
.tabs ul li a {
    font-size: 10px;
}
.tabs ul li a img {
    width: 30px;
}
.tabbed-content {
    padding: 2px 15px;
}
}
@media all and (min-width: 800px) {
  .item.active .item-content {
    padding-top: 0;
  }

  .tabs-side .tabs li {
    margin-bottom: 2px;
  }
}
/* 
The project specific CSS starts here
This is the minimum CSS that you will need in order for this to work
*/
.tabbed-content .tabs {
  display: none;
}
.tabbed-content .item {
  min-height: 2em;
}
.tabbed-content .item::before {
  content: attr(data-title);
}
.tabbed-content .item .item-content {
  opacity: 0;
  visibility: hidden;
  height: 0;
}
.tabbed-content .item.active .item-content {
  padding: 0px;
  opacity: 1;
  visibility: visible;
  height: auto;
}

@media all and (min-width: 800px) {
  .tabbed-content .tabs {
    display: block;
  }
  .tabbed-content .tabs li {
    display: inline-block;
  }
  .tabbed-content .tabs li a {
    display: block;
    background: #768792!important;
    color: #fff;
  }
  .tabbed-content .item {
    min-height: 0;
  }
  .tabbed-content .item::before {
    display: none;
  }
  .tabbed-content.tabs-side .tabs {
    width: 150px;
    float: left;
  }
  .tabbed-content.tabs-side .tabs li {
    display: block;
  }
  .tabbed-content.tabs-side .item {
    margin-left: 150px;
  }
}
