/*#wrapper{*/
    /*height: 54vh;*/
/*}*/
.forbiography{
    color: #c69c6d;
}
@font-face {
    font-family: 'elgar';
    src: url('../fonts/elgar.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  @font-face {
    font-family: 'pathwayGothicOne-Regular';
    src: url('../fonts/pathwayGothicOne-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  .elgar{
      /* font-family: elgar; */
  }
  .biog{
    font-size: 116px;
    padding: 25px 0;
    padding-bottom: 45px;
    padding-top: 100px;
    color: #c69c6d;
  }
  .fordetails{
    background: linear-gradient(#29aae1, #2B32B2);
  }
  .thedetails{
      padding: 20px;
background: url(../img/pattern1.png);
width: 100%;
  }
  /*table*/
.hosam table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    border: 2px solid #cccccc1c;
    color: #fff;
}

.hosam th,.hosam td {
    text-align: left;
    padding: 8px;
    transition:1s;
}


.hosam tr:nth-child(even){background-color: #f2f2f217;}
.hosam th{
    font-size: 16px;
    font-weight: bold;
    /* font-family: elgar; */
}
.row2{background: linear-gradient(to right ,#ffffff ,#29aae1, #2B32B2);
}
.in-row2{
    background-image: url(../img/ddd.png);
    background-repeat: no-repeat;
    background-position: left;
}
.foraothmani{
    margin: 20px 0;
}
.rowfor1{
    position: relative;
    background: #fff url(../img/pattern.png) repeat 0 0;
}
.rowfor2{
    position: absolute;
    z-index: 100;
    top:0;
    width:100%;
}
/**/

.bg-white {
    padding: 50px 23px 50px 15px;
    position: relative;
    z-index: 5;
  }

  @media (min-width: 1200px) and (min-height: 660px) {
    .bg-white {
      padding: 155px 23px 155px 15px;
      position: relative;
      z-index: 5;
      margin-top: -93px;
      margin-bottom: -30px;
    }
  }

  @media (max-height: 650px) and (min-width: 1200px) {
    .bg-white {
      margin-top: 0;
      margin-bottom: 0;
      padding: 87px 23px 50px 15px;
    }
  }

  .bg-white:before {
    display: none;
    content: '';
    transform: skewX(-19deg);
    background:#02224f url(../img/pattern.png) repeat 0 0;
    position: absolute;
    left: -100vw;
    top: 0;
    bottom: 0;
    right: -100vw;
    z-index: -1;
    box-shadow: 3px 4px 5px 0px rgba(0, 0, 0, 0.11);
  }
  .forart{
      background-image: url(../img/art.png);
      background-position: left;
      background-repeat: no-repeat;
  }

  @media (min-width: 768px) {
    .bg-white:before {
      display: block;
    }
  }

  @media (min-width: 992px) {
    .bg-white:before {
      right: -103px;
      left: -100vw;
    }
  }

  .bg-white-var-1 {
    background-color: #fff;
    box-shadow: 3px 4px 5px 0px rgba(0, 0, 0, 0.11);
    padding: 57px 0 95px;
  }

  .bg-white-var-1 p {
    margin-top: 49px;
    padding: 0 56px 0 73px;
  }
  .triangel {
    display: none;
  }

  @media (min-width: 1200px) and (min-height: 660px) {
    .triangel {
      display: block;
    }
  }

  @media (max-height: 650px) and (min-width: 1200px) {
    .triangel {
      display: none;
    }
  }

  .triangel:before {
    position: absolute;
    content: '';
    bottom: 0;
    left: 96.4%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 30px 60px 0 0;
    border-color: #000 transparent transparent transparent;
    z-index: -2;
  }

  .triangel-position:before {
    left: 79.8%;
  }

  .triangel-var-1 {
    display: none;
  }

  @media (min-width: 1200px) and (min-height: 660px) {
    .triangel-var-1 {
      display: block;
    }
  }

  @media (max-height: 650px) and (min-width: 1200px) {
    .triangel-var-1 {
      display: none;
    }
  }

  .triangel-var-1:before {
    position: absolute;
    content: '';
    bottom: 0;
    left: -25.3%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 70px 30px 0;
    border-color: transparent #000000 transparent transparent;
    z-index: -2;
  }

  .bg-images-1 {
    display: none;
    position: relative;
    min-height: 576px;
  }

  @media (min-width: 992px) {
    .bg-images-1 {
      display: block;
    }
  }

  .bg-images-1:before {
    content: '';
    background-image: url("../img/arabia.jpg");
    position: absolute;
    background-repeat: no-repeat;
    background-size: cover;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
  }

  @media (min-width: 992px) {
    .bg-images-1:before {
      left: -40px;
      right: -42vw;
    }
  }
  .row-xs-center {
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
/*slide*/

.mySlides {
    display: none
}

img {
    vertical-align: middle;
}

/* Slideshow container */
.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    /* position: absolute; */
    top: 50%;
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    text-align: center;
    color: #fff;
    background-color: transparent;
    border-radius: 50%;
    /* width: 131px; */
    padding: 20px 25px;
    text-decoration: none;
    margin-left: 25px;
}

/* Position the "next button" to the right */
.next {
    right: 0;
}

    /* On hover, add a black background color with a little bit see-through */
    .prev:hover, .next:hover {
        color: #3F51B5;
    background-color: #fff;
    border-radius: 50%;
    /* width: 131px; */
    padding: 20px 25px;
    text-decoration: none;
    margin-left: 25px;
    }



/* Fading animation */
.fadex {
    -webkit-animation-name: fadex;
    -webkit-animation-duration: 1.5s;
    animation-name: fadex;
    animation-duration: 1.5s;
}

@-webkit-keyframes fadex {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@keyframes fadex {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
    .prev, .next, .text {
        font-size: 11px
    }
}
.firstth{
    margin-bottom: 30px;
    color:#fff;
    font-family: elgar;
    font-size: 25px;
    text-align: center;
    font-weight: bold;
}
.firsttd{
    margin-bottom: 30px;
    color:#fff;
    font-size: 20px;
    text-align: center;
}
/* section.customerow .row{
    display:block;
} */
/*TimeLine*/
/* The actual timeline (the vertical ruler) */
.timeline1 {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    width:100%;
    padding-top: 45px;
}

/* The actual timeline (the vertical ruler) */
.timeline1::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #052451;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;

    /* margin-top: 5vh;
    margin-bottom: 75vh; */
    margin-top: 68px;
    margin-bottom: 505px;
    
    
}
.timeline2 {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    width:100%;
    margin-top: 45px;
}

/* The actual timeline (the vertical ruler) */
.timeline2::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #052451;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    /* margin-top: 15px;
    margin-bottom: 500px; */
    /* margin-top: 38vh;
    margin-bottom: 52vh; */
    margin-top: 265px;
    margin-bottom: 351px;
}

/* Container around content */
.containerTimeLine {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* The circles on the timeline */
.containerTimeLine::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -11px;
    background-color: #c69c6d;
    border: 4px solid #c69c6d;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}
.colorh2{color:#c69c6d;}

/* Place the container to the left */
.leftTimeLine {
    left: 0;
}

/* Place the container to the right */
.rightTimeLine {
    left: 50%;
}

/* Add arrows to the left container (pointing right) */
.leftTimeLine::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid #02224f;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #02224f;

}

/* Add arrows to the right container (pointing left) */
.rightTimeLine::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid #02224f;
    border-width: 10px 10px 10px 0;
    border-color: transparent #02224f transparent transparent;
}

/* Fix the circle for containers on the right side */
.rightTimeLine::after {
    left: -14px;
}

/* The actual content */
.contentTimeLine {
    padding: 20px 30px;
    background-color: #02224f;
    position: relative;
    border-radius: 6px;
    color: #fff;
    /* box-shadow: 0 0 10px 1px #02224f85; */
    background:#02224f url(../img/pattern.png) repeat 0 0;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
  /* Place the timelime to the left */
  .timeline::after {
    left: 31px;
  }

  /* Full-width containers */
  .containerTimeLine {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  /* Make sure that all arrows are pointing leftwards */
  .containerTimeLine::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

  /* Make sure all circles are at the same spot */
  .leftTimeLine::after, .rightTimeLine::after {
    left: 15px;
  }

  /* Make all right containers behave like the left ones */
  .rightTimeLine {
    left: 0%;
  }
}
.leftTimeLine , .rightTimeLine {
    margin: 0;
}
.forlineimg{
    margin-top: -45px;
    z-index: 100;
    position: relative;
}


@media only screen and (max-width: 540px) {
.containerTimeLine::after{display: none;}
.timeline1::after{display: none;}
.timeline2::after{display: none;}
}
.forPicLeft{
    position: absolute;
    top: 10px;
    left: 3%;
    width: 44%;
}
.forPicRight{
    position: absolute;
    top: 10px;
    right: 3%;
    width: 44%;

}
.fordisplayimg0{display: none;}
@media only screen and (max-width: 767px) {
    .biog{font-size: 50px; padding-top: 0px;}
    .art_c{display:none;}
    .leftTimeLine{padding:10px;}
    .rightTimeLine{padding:10px;}
    .containerTimeLine::before{display:none;}
    .timeline1{padding-top: 90px;}
    .banner {
        background-size: 100% 100%;
    }
    .forcontainerbiog{
        margin-top: 107px;
    }
    .contentTimeLine {
        padding: 20px 15px;
    }
    .fordisplayimg{display:none;
    }
    .fordisplayimg0{display: block;}
}
.hosam .portfolio-name a {color:#000;
font-size:25px;
}
.hosam .portfolio-category  {color:#ccc;
    font-size:18px;
    }
    /**************************************/
    @import url("https://fonts.googleapis.com/css?family=Cardo|Pathway+Gothic+One");
    .timeline {
      display: flex;
      margin: 0 auto;
      flex-wrap: wrap;
      flex-direction: column;
      max-width: 700px;
      position: relative;
    }
    .timeline__content-title {
          font-weight: normal;
    font-size: 31px;
    margin: 10px 0 10px 0;
    transition: .4s;
    box-sizing: border-box;
    }
    .timeline__content-desc {
      margin: 0;
      font-size: 15px;
      box-sizing: border-box;
      color: rgba(255, 255, 255, 0.7);
      
      font-family: Cardo;
      font-family: "pathwayGothicOne-Regular", sans-serif;
      font-weight: normal;
      line-height: 25px;
      font-size: 19px;
      letter-spacing: 1px;
      text-align: justify;
    }
    .timeline:before {
      position: absolute;
      left: 50%;
      width: 2px;
      height: 100%;
      margin-left: -1px;
      content: "";
      background: rgba(255, 255, 255, 0.07);
    }
    @media only screen and (max-width: 767px) {
      .timeline:before {
        left: 40px;
      }
    }
    .timeline-item {
      padding: 40px 0;
      opacity: .3;
      filter: blur(2px);
      transition: .5s;
      box-sizing: border-box;
      width: calc(50% - 40px);
      display: flex;
      position: relative;
      transform: translateY(-80px);
    }
    .timeline-item:before {
      content: attr(data-text);
      letter-spacing: 3px;
      width: 100%;
      position: absolute;
      color: rgba(255, 255, 255, 0.5);
      font-size: 13px;
      font-family: "Pathway Gothic One", sans-serif;
      font-family: "pathwayGothicOne-Regular", sans-serif;
      border-left: 2px solid rgba(255, 255, 255, 0.5);
      top: 70%;
      margin-top: -5px;
      padding-left: 15px;
      opacity: 0;
      right: calc(-100% - 56px);
    }
    .timeline-item:nth-child(even) {
      align-self: flex-end;
    }
    .timeline-item:nth-child(even):before {
      right: auto;
      text-align: right;
      left: calc(-100% - 56px);
      padding-left: 0;
      border-left: none;
      border-right: 2px solid rgba(255, 255, 255, 0.5);
      padding-right: 15px;
    }
    .timeline-item--active {
      opacity: 1;
      transform: translateY(0);
      filter: blur(0px);
    }
    .timeline-item--active:before {
      top: 50%;
      transition: .3s all .2s;
      opacity: 1;
    }
    
    @media only screen and (max-width: 767px) {
      .timeline-item {
        align-self: baseline !important;
        width: 100%;
        padding: 0 30px 150px 80px;
      }
      .timeline-item:before {
        left: 10px !important;
        padding: 0 !important;
        top: 50px;
        text-align: center !important;
        width: 60px;
        border: none !important;
      }
      .timeline-item:last-child {
        padding-bottom: 40px;
      }
    }
    .timeline__img {
      max-width: 100%;
    }
    .timeline-container {
      width: 100%;
      position: relative;
      padding: 80px 0;
      transition: .3s ease 0s;
      background-attachment: fixed;
      background-size: cover;
    }
    .timeline-container:before {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      content: "";
    }
    .timeline-header {
      width: 100%;
      text-align: center;
      margin-bottom: 80px;
      position: relative;
    }
    .timeline-header__title {
      color: #fff;
      font-size: 46px;
      font-family: Cardo;
      font-weight: normal;
      margin: 0;
    }
    .timeline-header__subtitle {
      color: rgba(255, 255, 255, 0.5);
      font-family: "Pathway Gothic One", sans-serif;
      font-family: "pathwayGothicOne-Regular", sans-serif;
      font-size: 16px;
      letter-spacing: 5px;
      margin: 10px 0 0 0;
      font-weight: normal;
    }
    
    .demo-footer {
      padding: 60px 0;
      text-align: center;
    }
    .demo-footer a {
      color: #999;
      display: inline-block;
      font-family: Cardo;
    }
   
    .contentTimeLine {
        padding: 20px 30px;
        background-color: #02224f;
        position: relative;
        border-radius: 6px;
        color: #fff;
        /* box-shadow: 0 0 10px 1px #02224f85; */
        background:none;
        background-color: transparent;
        border:solid 2px #02224f;
        color: #02224f;
    }
    .hosam table {
        border-collapse: collapse;
        border-spacing: 0;
        width: 100%;
        border: 2px solid #02224f12;
        color: #02224f;
        font-family: "Pathway Gothic One", sans-serif;
    }
    
    .hosam th,.hosam td {
        text-align: left;
        padding: 8px;
        transition:1s;
        border: 2px solid #02224f12;
        font-family: "Pathway Gothic One", sans-serif;
    }
.hosam th{
width:24% !important;
}
.hosam td{
width:76% !important;
}
.hosam span{
letter-spacing: 0px !important;
    font-size: 16px !important;
}
    .timeline{
        max-width:1200px;
    }
    .contentTimeLine p p{
        color: #02224f;
    }

    .hosam p{
      color:#004F71;
    }
    .hosam h2{
      color:#02224f;
    }
p.timeline__content-desc{
     letter-spacing: 0px !important;
    font-size: 16px !important;
}
.hosam p img{
    float: right;
    position: absolute;
    right: -100%;
margin-top:-50px;
}
.hosam .timeline-item:nth-child(even) p img{
right: auto;
left:-75%
}