﻿/* 
story telling template */




html {
	direction: rtl;
  overflow-x:hidden;
  font-family: 'Droid Arabic Naskh' ,'Signika' ,Arial,sans-serif;
}

.chart-svg {
  margin-top: 40px;
  margin-bottom: 40px;
  
}
.chart-img {
  margin-top: 50px;
  margin-bottom: 50px;
}
.show {
  visibility: visible;
  -webkit-transition: visibility .5s ease-in;
	-moz-transition: visibility .5s ease-in;
	-o-transition: visibility .5s ease-in;
	transition: visibility .5s ease-in;
  
}
.hide {
  visibility: hidden;
  -webkit-transition: visibility .5s ease-out;
	-moz-transition:    visibility .5s ease-out;
	-o-transition:      visibility .5s ease-out;
	transition:         visibility .5s ease-in-out;
}

body {
  -webkit-backface-visibility: hidden;
 overflow-x: hidden;
 font-size: 30px;
}
body .collapsible-header {
  padding: 1rem;
  font-size: 16px;

}
.article-ref {
  margin-top: 50px;
}
body p {
  font-size: 16px;
  line-height: 1.8;
}
.header-nav {
	width:100%;
	background: rgba(0, 0, 0, 0);
	height: 44px;
  position: fixed;
  top:0;
  right: 0;
  z-index: 10;
	border-bottom: none;
  box-shadow: none;
  max-width: 100%;
}
.header-nav .material-icons {
  font-size: 34px;
  position: fixed;
  top: -9px;
  left: 5px;
}
.side-nav li {
  padding: 0 7px;
}
.side-nav li a {
  font-size: 13px;
}

.side-nav li:hover {
  cursor: pointer;
}
/* .side-nav .logo {




} */
.nav-logo {
    background: url(https://www.7iber.com/wp-content/uploads/2017/11/logo-red.png);
    background-size: 94.86px 34px;
    background-repeat: no-repeat;
    background-position: left top;
    display: block;
    color: transparent;
    width: 102px;
    height: 87px;
    padding-top: 10px;
    margin-top: 5px;
    transition: transform 0.5s linear;
}
.nav-log p:hover {
  cursor: pointer;
  transform: scale(1.1);
 
}
.active-nav.header-nav {
  background: #d1d3d4;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
	-webkit-transition: background .5s ease-in;
	-moz-transition: background .5s ease-in;
	-o-transition: background .5s ease-in;
	transition: background .5s ease-in;
}
.svg-title {
  width:100%;
  font-size: 16px;
  text-align: right;
}
.svg-info {
  width:100%;
  float: right;
  margin-bottom: 40px;
}
.svg-title {
  width:100%;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}
.svg-det {
  font-size: 9px;
  
}
.author_bar {
	margin-top: 20px;
}

 .main-title-2 {

}
.main-title {
    position: absolute;
    font-weight: 900;
    z-index: 10;
    font-size: 30px;
    top: 80vh;
  line-height: 2;
  
	width:100%;
    color: #fff;
}
.main-title span {
  background-color: rgba(0, 0, 0, 0.81);
  font-size: 30px;
  padding: 5px;
}

.fancy {
    line-height: 0.5;
    text-align: center;
}

    .fancy span {
        display: inline-block;
        position: relative;
        font-size: 40px;
        font-weight: bold;
    }

        .fancy span:before,
        .fancy span:after {
            content: "";
            position: absolute;
            height: 5px;
            border-bottom: 1px solid white;
            top: 0;
            width: 100%;
            max-width: 100%;
        }


        .fancy span:before {
            right: 100%;
            margin-right: 15px;
        }

        .fancy span:after {
            left: 100%;
            margin-left: 15px;
        }

/*.main-title span {
        background: rgba(0, 0, 0, 0) url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpBQ0Y2NkIzQkNCOUYxMUUzOEEyN0Q4RDlCRTA0NDJCMiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpBQ0Y2NkIzQ0NCOUYxMUUzOEEyN0Q4RDlCRTA0NDJCMiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkFDRjY2QjM5Q0I5RjExRTM4QTI3RDhEOUJFMDQ0MkIyIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkFDRjY2QjNBQ0I5RjExRTM4QTI3RDhEOUJFMDQ0MkIyIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+s7aX4wAAAA9JREFUeNpiYGBgOAMQYAAA0QDNW2hbhQAAAABJRU5ErkJggg==") repeat scroll 0 0;
        display: inline;
        float: none;
        font-size: 35px !important;
        padding-left: 10px;
        padding-right: 10px;
    }*/

.main-title-2 {
    z-index: 10;
    top: 57.7%;
    color: #fff;
}
.cover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}
.body-container.full.inner-page.intro-image {
  /* background: none repeat scroll 0 0 black; */
  margin-top: 0;
  overflow: hidden;
  min-height: 100vh;
  padding-top: 0px;
}

.cover img {
  right: 0;
  overflow: hidden;
  max-width: 100%;
  position: fixed;
  z-index: 9;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index:1;
    position: absolute;
}


/* -------------------------------- 

Primary style

-------------------------------- */
*, *::after, *::before {
  box-sizing: border-box;
}

.date {
  font-size: 16px;
    margin-top: 21px;
    margin-right: 10px;
    border-right: 1px solid;

}
.author_link a {
  font-size: 16px;
  color:#05a1c9;
}

.headline {
  font-weight: 900;
  margin-top:20px;
}
.inline-img{

  max-width: 100%;
}

 .cd-horizontal-timeline .events-content li .img-chart {
  max-width: 300px;

  display: block ;/*for the img inside your div */  
  margin-left: auto ;
  margin-right: auto ;

}
.chart-wrapper {
  width:100%;
}

html {
  font-size: 62.5%;
  direction: rtl;
}

body {
 
  color: #383838;
  background-color: white;
}

a {
  color: #71b292;
  text-decoration: none;
}
.side-nav a {
  text-align: center;
  font-size: 16px;
} 
.side-nav a.logo  {

  background: url(https://www.7iber.com/wp-content/uploads/2017/11/logo-red.png);
    background-size: 93.3px 34px;
    background-repeat: no-repeat;
    background-position: left top;
    position: absolute;
    bottom:4%;
    left: 31%;
    display: block;
    color: rgba(0, 0, 0, 0);
    width: 93.3px;
    height: 87px;
    padding-top: 10px;
    margin-top: 5px;
}
.side-nav .logo img {
  width: 35%;
    /* position: absolute; */
    /* left: 31%; */
    /* bottom: 105px; */
}

/* -------------------------------- 

Main Components 

-------------------------------- */
.cd-horizontal-timeline {
  opacity: 0;
  /* margin: 2em auto; */
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  transition: opacity 0.2s;
  padding-bottom: 100px;
}
.timeline-wrapper {
  width:100%;
  height: 48px;
  position: fixed;
  top: 44px;
  z-index: 10;
  background-color: white;
  box-shadow: 0 2px 1px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}
.cd-horizontal-timeline::before {
  /* never visible - this is used in jQuery to check the current MQ */
  content: 'mobile';
  display: none;
}
.cd-horizontal-timeline.loaded {
  /* show the timeline after events position has been set (using JavaScript) */
  opacity: 1;
}
.cd-horizontal-timeline .timeline {
  position: fixed;
  height: 44px;
  width: 62%;
  top: 45px;
  right:17%;
  background-color: white;
  z-index:10;
  /* max-width: 800px; */
  margin: 0 auto;
}
.cd-horizontal-timeline .events-wrapper {
  position: relative;
  height: 100%;
  width:100%;
  margin: 0 40px;
  overflow: hidden;
}
.cd-horizontal-timeline .events-wrapper::after, .cd-horizontal-timeline .events-wrapper::before {
  /* these are used to create a shadow effect at the sides of the timeline */
  /* content: '';
  position: absolute;
  z-index: 2;
  top: 0;
  height: 100%;
  width: 20px; */
}
.cd-horizontal-timeline .events-wrapper::before {
  /* left: 0;
  background-image: -webkit-linear-gradient( left , #f8f8f8, rgba(248, 248, 248, 0));
  background-image: linear-gradient(to right, #f8f8f8, rgba(248, 248, 248, 0)); */
}
.cd-horizontal-timeline .events-wrapper::after {
  /* right: 0;
  background-image: -webkit-linear-gradient( right , #f8f8f8, rgba(248, 248, 248, 0));
  background-image: linear-gradient(to left, #f8f8f8, rgba(248, 248, 248, 0)); */
}
.cd-horizontal-timeline .events {
  /* this is the grey line/timeline */
  position: absolute;
  z-index: 10;
  left: 0;
  top: 32px;
  height: 2px;
  /* width will be set using JavaScript */
  background:#71b292;
  -webkit-transition: -webkit-transform 0.4s;
  -moz-transition: -moz-transform 0.4s;
  transition: transform 0.4s;
}


/* SVG style */

svg {
  width: 100%;
  height: 500px;
}
nav a.button-collapse  {
  display: block;
} 


#map-mbh {
      width: 100%;
      border:1px solid lightgray;
      height: 500px;
}
.chart-mbh {
 /* transform:scale(1.2); */
 /* transform-origin:center; */
 width:100%;
 
 height: 200px;
}
.circle:hover {
  cursor: pointer;

}
.side-nav {
  left:0;
}
.circle {
  z-index: -1;
}

.circle-ch:hover {
  cursor: pointer;

}
.box {
  visibility:hidden;

}
.boxchart {
  visibility: hidden;
}
.fully-visible {
  visibility: visible;
  
  z-index: 999;
}
.fully-hidden {
display: none;
  transition: visibility 0.5s;

}
#map .showBox {
  display: block;
}
.Hide-c {
  display: none;
}
.cls-1 {
  fill: #95c1d1;
}

.cls-2 {
  fill: #d1d3d4;
}

.cls-3 {
  fill: #00a287;
}

.cls-3, .cls-4, .cls-5 {
  stroke: #fff;
  stroke-width: 2px;
}

.cls-3, .cls-4, .cls-5, .cls-7, .cls-9 {
  stroke-miterlimit: 10;
}

.cls-4 {
  fill: #8cb574;
}

.cls-5 {
  fill: #326744;
}

.cls-6 {
  fill: #333;
}

.cls-7 {
  fill: #fff;
  stroke: #d9dadb;
  opacity: 0.9;
}

.cls-8 {
  fill: #3a3e3e;
}

.cls-9 {
  fill: none;
  stroke: #3a3e3e;
}

/* SVG style end*/


.cd-horizontal-timeline .filling-line {
  /* this is used to create the green line filling the timeline */
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  /* background-color: #71b292; */
  -webkit-transform: scaleX(0);
  -moz-transform: scaleX(0);
  -ms-transform: scaleX(0);
  -o-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -ms-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
}
.cd-horizontal-timeline .events a {
  position: absolute;
  bottom: 0;
  z-index: 2;
  text-align: center;
  font-size: 1.3rem;
  padding-bottom: 15px;
  color: #383838;
  /* fix bug on Safari - text flickering while timeline translates */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
}
.cd-horizontal-timeline .events a::after {
  /* this is used to create the event spot */
  content: '';
  position: absolute;
  left: 50%;
  right: auto;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  bottom: -5px;
  height: 12px;
  width: 12px;
  border-radius: 50%;
  border: 2px solid #dfdfdf;
  background-color: #f8f8f8;
  -webkit-transition: background-color 0.3s, border-color 0.3s;
  -moz-transition: background-color 0.3s, border-color 0.3s;
  transition: background-color 0.3s, border-color 0.3s;
}
.no-touch .cd-horizontal-timeline .events a:hover::after {
  background-color: #71b292;
  border-color: #71b292;
}
/* .cd-horizontal-timeline .events a.selected {
  pointer-events: none;
} */
.cd-horizontal-timeline .events a.selected::after {
  background-color: #71b292;
  border-color: #71b292;
}
.cd-horizontal-timeline .events a.older-event::after {
  border-color: #71b292; 
}
@media only screen and (min-width: 1100px) {
  .cd-horizontal-timeline {
    /* margin: 6em auto; */
  }
  .cd-horizontal-timeline::before {
    /* never visible - this is used in jQuery to check the current MQ */
    content: 'desktop';
  }
}

.cd-timeline-navigation a {
  /* these are the left/right arrows to navigate the timeline */
  position: absolute;
  z-index: 1;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  height: 34px;
  width: 34px;
  border-radius: 50%;
  border: 2px solid #dfdfdf;
  /* replace text with an icon */
  overflow: hidden;
  color: transparent;
  text-indent: 100%;
  white-space: nowrap;
  -webkit-transition: border-color 0.3s;
  -moz-transition: border-color 0.3s;
  transition: border-color 0.3s;
}
.cd-timeline-navigation a::after {
  /* arrow icon */
  content: '';
  position: absolute;
  height: 16px;
  width: 16px;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  background: url(../img/cd-arrow.svg) no-repeat 0 0;
}
.cd-timeline-navigation a.prev {
  left: -80px;
  -webkit-transform: translateY(-50%) rotate(180deg);
  -moz-transform: translateY(-50%) rotate(180deg);
  -ms-transform: translateY(-50%) rotate(180deg);
  -o-transform: translateY(-50%) rotate(180deg);
  transform: translateY(-50%) rotate(180deg);
}
.cd-timeline-navigation a.next {
  right: 0;
}
.no-touch .cd-timeline-navigation a:hover {
  border-color: #71b292;
}
.cd-timeline-navigation a.inactive {
  cursor: not-allowed;
}
.cd-timeline-navigation a.inactive::after {
  background-position: 0 -16px;
}
.no-touch .cd-timeline-navigation a.inactive:hover {
  border-color: #dfdfdf;
}

.cd-horizontal-timeline .events-content {

  /* z-index:-1; */
}
.cd-horizontal-timeline .events-content li {
  /* position: absolute; */
  z-index: 1;
  width: 100%;
  /* left: 0;
  top: 0; */
  /* -webkit-transform: translateX(-100%);
  -moz-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  -o-transform: translateX(-100%);
  transform: translateX(-100%); */
  padding: 0 5%;
  opacity: 1;
  -webkit-animation-duration: 0.4s;
  -moz-animation-duration: 0.4s;
  animation-duration: 0.4s;
  -webkit-animation-timing-function: ease-in-out;
  -moz-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  /* border:1px solid lightgray; */

}
.cd-horizontal-timeline .events-content li.selected {
  /* visible event content */
  position: relative;
  z-index: 2;
  opacity: 1;
  /* -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
  max-height: 600px;
  overflow-y:scroll; */
}
.cd-horizontal-timeline .events-content li.enter-right, .cd-horizontal-timeline .events-content li.leave-right {
  -webkit-animation-name: cd-enter-right;
  -moz-animation-name: cd-enter-right;
  animation-name: cd-enter-right;
}
.cd-horizontal-timeline .events-content li.enter-left, .cd-horizontal-timeline .events-content li.leave-left {
  -webkit-animation-name: cd-enter-left;
  -moz-animation-name: cd-enter-left;
  animation-name: cd-enter-left;
}
.cd-horizontal-timeline .events-content li.leave-right, .cd-horizontal-timeline .events-content li.leave-left {
  -webkit-animation-direction: reverse;
  -moz-animation-direction: reverse;
  animation-direction: reverse;
}
.cd-horizontal-timeline .events-content li > * {
  /*max-width: 800px; */
  margin: 0 auto;
}
.cd-horizontal-timeline .events-content h2 {
  font-weight: bold;
  font-size: 2.6rem;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.cd-horizontal-timeline .events-content em {
  display: block;
  font-style: italic;
  margin: 10px auto;
}
.cd-horizontal-timeline .events-content em::before {
  content: '- ';
}
.cd-horizontal-timeline .events-content p {
  font-size: 1.4rem;
  color: #959595;
}
.cd-horizontal-timeline .events-content em, .cd-horizontal-timeline .events-content p {
  line-height: 1.6;
}
@media only screen and (min-width: 768px) {
  .cd-horizontal-timeline .events-content h2 {
    font-size: 7rem;
  }
  .cd-horizontal-timeline .events-content em {
    font-size: 2rem;
  }
  .cd-horizontal-timeline .events-content p {
    font-size: 1.8rem;
  }
}

@-webkit-keyframes cd-enter-right {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0%);
  }
}
@-moz-keyframes cd-enter-right {
  0% {
    opacity: 0;
    -moz-transform: translateX(100%);
  }
  100% {
    opacity: 1;
    -moz-transform: translateX(0%);
  }
}
@keyframes cd-enter-right {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -ms-transform: translateX(0%);
    -o-transform: translateX(0%);
    transform: translateX(0%);
  }
}
@-webkit-keyframes cd-enter-left {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0%);
  }
}
@-moz-keyframes cd-enter-left {
  0% {
    opacity: 0;
    -moz-transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    -moz-transform: translateX(0%);
  }
}
@keyframes cd-enter-left {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -ms-transform: translateX(0%);
    -o-transform: translateX(0%);
    transform: translateX(0%);
  }
}
@media (min-width: 1024px) {

  .chart-mbh {
    transform:scale(1.4); 
  transform-origin:center;
  }
  
  .text-after-svg {
    margin-top: 128px;
  }

  .svg-det {
    transform: scale(1.3);
  }
  .show-mobile {
    display: none;
  }

}
@media (max-width: 1024px) {




          .header-nav {
            height: 36px;
          }
          .nav-logo  {
            background-size: 69.86px 25px;
            width: 71px;
            margin-top: 6px;


          }
          #map-mbh {
            height: 320px;
            border: 1px solid lightgray;
          }

          .main-title {
            top:70vh;
          }
          .main-title span {
            font-size: 20px;
            line-height: 50px;
          }

          .timeline-wrapper {
            display: none;
          }
          
            .cover img.attachment-full.size-full.wp-post-image {
              width: auto;
              max-width: inherit;


            
          }
      
          .chart-svg {
            border:1px solid lightgray;
            /* margin-top: 40px;
            margin-bottom: 40px; */
            
          }

          .side-nav a.logo  {
            display: none;
        
        
          }
       

}