body {
  max-width: 100vw;
  overflow-x: hidden;
}

html {
  scroll-padding-top: 56px; /*offset sticky header height*/
}

a {
  color: black;
}

.modal-body {
  font-size: 14px;
  padding-top: 0;
}

@keyframes loaderCentreAnimation {
  from {
    background-color: rgb(226, 213, 192);
    width: 0px;
  }

  to {
    background-color: rgb(7, 47, 95);
    width: 100%;
  }
}

@keyframes loaderTextAnimation {
  from {
    color: rgb(226, 213, 192);
  }

  to {
    color: rgb(7, 47, 95);
  }
}


.loaderContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  font-size: 50px;
  background-color: white;
  z-index: 10000000;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  overflow: auto;
  transition: 1s all linear
}

.loaderContainer__content {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loaderContainer__content__centre {
  background-color: rgb(7, 47, 95);
  height: 20px;
  width: 100%;
  animation-name: loaderCentreAnimation;
  animation-duration: 3s;
  border-radius: 50px;
}

.loaderContainer__content__top__text {
  color: rgb(7, 47, 95);
  font-size: 4rem;
  animation-name: loaderTextAnimation;
  animation-duration: 3s;
}

.jumbotron {
  margin-bottom: 0px;
  padding: 2rem !important;
}

.headingClass {
  margin-bottom: 50px;
  text-align: center;
}

.card:hover {
  background-color: rgb(226, 236, 250) !important;
  cursor: pointer;
}

.skills:hover {
  background-color: #fff !important;
  cursor: default;
}

#me:hover {
  background-color: #ffffff !important;
  cursor: default;
}

.card {
  box-shadow: 0 0 10px 0 rgba(12, 23, 67, 0.26);
  z-index: 15;
  margin-top: 10px;
  text-align: left;
  -webkit-transition: background 0.5s;
  transition: background 0.5s;
}

.card-text {
  margin-bottom: 20px;
  color: rgb(12, 23, 67);
  font-weight: bold;
}

.card-card-text-location {
  font-size: 16px;
}

.card-text-company {
  font-size: 16px;
  font-weight: normal;
  color: rgb(37, 44, 72);
}


.card-title {
  font-weight: bold;
  font-size: 19px;
  color: rgb(12, 23, 67);
  margin-bottom: 20px;
}

.img {
  margin-right: 10px;
}

.close {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
}

.header__main {
  font-size: 50px;
  animation: text 3s 1;
  text-align: center;
}

.sticky-top {
  top: -5px;
  margin-right: -1px;
}

.images {
  display: flex;
  justify-content: space-around;
}

.btn {
  background-color: rgb(7, 47, 95) !important;
  border-color: rgb(7, 47, 95) !important;
}

.btn:focus {
  border: none !important;
  outline: 0 !important;
}

.navbar {
  background: rgb(226, 213, 192) !important;
  font-size: 16px;
  color: rgb(16, 35, 45) !important;
}

.progress {
  height: 15px;
  border-radius: 0;
  box-shadow: none;
  line-height: 35px;
  overflow: visible;
  background: #e9ecef;
  margin-bottom: 10px;
}

.progressbar-title {
  color: #333;
  font-size: 1em;
  margin: 10px 0 5px;
}

.progress .progress-bar-page span {
  position: absolute;
  top: -25px;
  right: 27px;
  color: #555;
  display: block;
  font-size: 17px;
  font-weight: bold;
}

.progress-bar-page {
  border-radius: 10px;
}

.progress-bar-modal {
  border-radius: 10px;
}

/* Three image containers (use 25% for four, and 50% for two, etc) */
.column {
  float: left;
  width: 45%;
  padding: 20px;
  padding-left: 20px;
}

/* Clear floats after image containers */
.row::after {
  content: "";
  clear: both;
  display: table;
}

.header__sub {
  font-size: 24px;
  color: white;
  text-align: center;
}

.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 100000;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 95%;

  @media screen and (min-width: 750px) {
    padding: 30px;
  }
}

#pb {
  border-radius: 5%;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  padding: 30px;
  background: url('./images/kingscliffbeach.jpg') center center !important;
  background-size: cover;
}

.timelineContainer {
  display: flex;
  flex-direction: row;

}

.timeline {
  position: relative;
  width: 430px;
  margin: 0 auto;
  padding: 0.5em 0;
  list-style-type: none;
}

.timeline:before {
  position: absolute;
  top: 0;
  content: ' ';
  display: block;
  width: 6px;
  height: 100%;
  margin-left: -3px;
  background: rgb(80, 80, 80);
  background: -moz-linear-gradient(top, rgba(80, 80, 80, 0) 0%, rgb(80, 80, 80) 8%, rgb(80, 80, 80) 92%, rgba(80, 80, 80, 0) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(30, 87, 153, 1)), color-stop(100%, rgba(125, 185, 232, 1)));
  background: -webkit-linear-gradient(top, rgba(80, 80, 80, 0) 0%, rgb(80, 80, 80) 8%, rgb(80, 80, 80) 92%, rgba(80, 80, 80, 0) 100%);
  background: -o-linear-gradient(top, rgba(80, 80, 80, 0) 0%, rgb(80, 80, 80) 8%, rgb(80, 80, 80) 92%, rgba(80, 80, 80, 0) 100%);
  background: -ms-linear-gradient(top, rgba(80, 80, 80, 0) 0%, rgb(80, 80, 80) 8%, rgb(80, 80, 80) 92%, rgba(80, 80, 80, 0) 100%);
  background: linear-gradient(to bottom, rgba(80, 80, 80, 0) 0%, rgb(80, 80, 80) 8%, rgb(80, 80, 80) 92%, rgba(80, 80, 80, 0) 100%);

  z-index: 5;
}

.timeline li {
  padding: 1em 0;
}

.timeline li:after {
  content: "";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}


.direction-r {
  position: relative;
  width: 400px;
  float: right;

}

.direction-r>.card {
  text-align: left;
}



.flag-wrapper {
  position: relative;
  display: inline-block;

}

.flag {
  position: relative;
  display: inline;
  background: rgb(248, 248, 248);
  padding: 6px 10px;
  border-radius: 5px;
  font-weight: 600;

}

.direction-r .flag {
  -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
}

.modal-header {
  /* border-bottom: 1px solid #1481BA; */
  border-bottom: none;
  padding-bottom: 0;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.modal-title-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
}

.direction-r .flag:before {
  left: -40px;
}

.direction-r .flag:after {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  height: 0;
  width: 0;
  margin-top: -8px;
  border: solid transparent;
  border-right-color: rgb(248, 248, 248);
  border-width: 8px;
  pointer-events: none;
  text-align: left;
}

.direction-r .time-wrapper {
  float: right;
}

.time {
  display: inline-block;
  padding: 4px 6px;
  background: rgb(248, 248, 248);
}

.desc {
  margin: 1em 0.75em 0 0;

  font-size: 0.77777em;
  font-style: italic;
  line-height: 1.5em;
}

.direction-r .desc {
  margin: 1em 0 0 0.75em;
}

.rightFlag {
  text-align: right;
}

.progess-title {
  margin-top: 30px;
}

.btn-info {
  display: none;
}

.contactText {
  text-align: center;
}

@media screen and (max-width: 650px) {
  .loaderContainer__content__top__text {
    font-size: 1.5rem;
  }
}


/* ================ Timeline Media Queries ================ */

@media screen and (max-width: 1000px) {

  .timeline:before {
    visibility: hidden;
  }

  .card {
    margin-top: 20px;
  }

  .btn-info {

    display: inline-block;
  }

  .timeline {
    width: 100%;

  }

  .direction-r {
    float: none;
    width: 100%;

    text-align: center;
  }

  .rightFlag {
    text-align: center;
  }

  .flag-wrapper {
    text-align: center;
  }

  .flag {
    background: rgb(255, 255, 255);
    z-index: 15;
  }

  .direction-r .flag:after {
    visibility: hidden;
  }

  .time-wrapper {
    display: block;
    position: relative;
    margin: 4px 0 0 0;
    z-index: 14;
  }

  .direction-r .time-wrapper {
    float: none;
  }

  .desc {
    position: relative;
    margin: 1em 0 0 0;
    padding: 1em;
    background: rgb(245, 245, 245);

    z-index: 15;
  }

  #headingId {
    margin-right: -1px;
  }

  .direction-r .desc {
    position: relative;
    margin: 1em 1em 0 1em;
    padding: 1em;

    z-index: 15;
  }

}

.modal-dialog {
  
  @media screen and (max-width: 920px) {
    max-width: none;
  };
  @media screen and (min-width: 921px) {
    max-width:80%;
  };
  @media screen and (min-width: 1100px) {
    max-width: 60%;
  }
  
}

