/*
* Template by Alexander Spivak
*
*
* Color Palette Used
* #323232 Dark Gray
* #870058 Persian Indigo
* #5B2A86 KSU Purple
* #7785AC Shadow Blue
* #9AC6C5 Opal
*/

@import url('https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400;0,700;1,400&display=swap');

li a {
  /* font-family: 'Cabin', sans-serif; */
  font-family: Georgia, serif;
}

h1 {
  /* font-family: 'Cabin', sans-serif; */
  font-family: Georgia, serif !important;
  /* font-family: "Times New Roman", Times, serif; */
  font-weight: 700;
  font-size: 60px;
  margin-top: 14px;
  margin-bottom: 14px;
}

.top-header {
  height: 65px;
  width: 100%;
  background-color: black;
  position: fixed;
  z-index: 21;
  border-bottom: 1px solid white;
}

.nav-header {
  font-size: 20px;
  line-height: 70px;
  color: white;
  vertical-align: middle;
  /* font-family: 'Cabin', sans-serif; */
  font-family: Georgia, serif;
  letter-spacing: 1.5px;
  margin-left: 1%;
}

.header-svg {
  height: 70px;
}

#h1-2 {
  color: white;
  text-align: center;
  margin-bottom: 2vh;
  margin-top: 0px;
  padding-top: 2vh;
}

.h-container {
  display: flex;
  flex-direction: row;
  margin-left: auto;
  margin-right: auto;
}

#learn-button1, #learn-button2 {
  margin-left: auto;
  margin-right: auto;
  width: 16vw;
  cursor: pointer;
}

#button-1 {
  cursor: pointer;
  z-index: 30;
}

.example_d{
  font-family: Georgia, serif;
}

.section-title {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.section-title p {
  color: #161616;
  text-align: center;
}

.button_container {
  position: fixed;
  top: 20px;
  right: 4%;
  height: 27px;
  width: 35px;
  cursor: pointer;
  z-index: 100;
  -webkit-transition: opacity .25s ease;
  transition: opacity .25s ease;
}
.button_container:hover {
  opacity: .7;
}
.button_container.active .top {
  -webkit-transform: translateY(11px) translateX(0) rotate(45deg);
          transform: translateY(11px) translateX(0) rotate(45deg);
  background: #FFF;
  z-index: 101;
}
.button_container.active .middle {
  opacity: 0;
  background: #FFF;
}
.button_container.active .bottom {
  -webkit-transform: translateY(-11px) translateX(0) rotate(-45deg);
          transform: translateY(-11px) translateX(0) rotate(-45deg);
  background: #FFF;
}
.button_container span {
  background: white;
  border: none;
  height: 5px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transition: all .35s ease;
  transition: all .35s ease;
  cursor: pointer;
  z-index: 100;
}
.button_container span:nth-of-type(2) {
  top: 11px;
}
.button_container span:nth-of-type(3) {
  top: 22px;
}

.overlay {
  position: fixed;
  background: rgba(22, 22, 22, 0.95);
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity .35s, visibility .35s, height .35s;
  transition: opacity .35s, visibility .35s, height .35s;
  overflow: hidden;
}
.overlay.open {
  opacity: .9;
  visibility: visible;
  height: 100%;
  z-index: 20;
}
.overlay.open li {
  -webkit-animation: fadeInRight .5s ease forwards;
          animation: fadeInRight .5s ease forwards;
  -webkit-animation-delay: .35s;
          animation-delay: .35s;
}
.overlay.open li:nth-of-type(2) {
  -webkit-animation-delay: .4s;
          animation-delay: .4s;
}
.overlay.open li:nth-of-type(3) {
  -webkit-animation-delay: .45s;
          animation-delay: .45s;
}
.overlay.open li:nth-of-type(4) {
  -webkit-animation-delay: .50s;
          animation-delay: .50s;
}
.overlay nav {
  position: relative;
  height: 70%;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  font-size: 50px;
  font-family: 'Vollkorn', serif;
  font-weight: 400;
  text-align: center;
}
.overlay ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  position: relative;
  height: 70%;
}
.overlay ul li {
  display: block;
  height: 25%;
  height: calc(100% / 4);
  min-height: 50px;
  position: relative;
  opacity: 0;
}
.overlay ul li a {
  display: block;
  position: relative;
  color: #FFF;
  text-decoration: none;
  overflow: hidden;
}
.overlay ul li a:hover:after, .overlay ul li a:focus:after, .overlay ul li a:active:after {
  width: 100%;
}
.overlay ul li a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  height: 3px;
  background: #FFF;
  -webkit-transition: .35s;
  transition: .35s;
}

@-webkit-keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}

.divider-line {
  border-top: 1px solid #0d394a;
  border-radius: 5px;
  width: 85%;
}

html {
  overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 0px;  /* Remove scrollbar space */
    background: transparent;  /* Optional: just make scrollbar invisible */
}
/* Optional: show position indicator in red */
::-webkit-scrollbar-thumb {
    background: #FF0000;
}

/* Banner (Home Page) */
.header {
  display: flex;
  height: 100vh;
  width: 100vw;
  background-image: linear-gradient(
      rgba(0, 0, 0, 0.1),
      rgba(0, 0, 0, 0.7)
    ), url('../images/banner/bg-image.jpg');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  justify-content: center;
  flex-direction: column;
}

#banner-logo {
  height: 40vh;
}

.timeline-element-container {
  display: flex;
  justify-content: center;
}

.timeline-element {
  width: 800px;
}

#timeline-1 {
  margin-top: 20px;
}

#timeline-4 {
  margin-bottom: 20px;
}

.timeline-container {
  background-color: white;
}

#h1-1 {
  /* color: #161616; */
  font-size: 66px;
  padding-bottom: 10px;
  font-family: "Times New Roman", Times, serif !important;
  color: #0d394a;
}

p {
  /* font-family: 'Cabin', sans-serif; */
  font-family: Georgia, serif;
  color: white;
  font-size: 24px;
}

.section-title {
    border-bottom: solid 2px white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


@media (max-width: 650px) {
  #banner-logo {
    margin-top: 8vh;
    width: 60vw;
    height: auto;
    margin-top: 0;
  }

  @media (min-height: 550px ) {
  .header {
    align-items: center;
  }
}
}

/* Carousel */

#st2 {
  position: absolute;
  width: 100%;
  z-index: 10;
}

.carousel,
.item,
.active {
  height: 100%;
}
.carousel-inner {
  height: 100%;
}

.carousel-caption {
  z-index: 10;
}
.carousel .item {
  background-color: #777;
}
.carousel .carousel-inner .bg {
  background-color: white;
}
.carousel .carousel-inner .bg1 {
  background-color: white;
}
.carousel .carousel-inner .bg2 {
  background-color: white;
}
.carousel .carousel-inner .bg3 {
  background-color: white;
}

.glyphicon {
  color: #161616;
}

#c1, #c2, #c3 {
  margin-bottom: 10vh;
  font-size: 4em;
}

#c1 {
  color: #073B3A;
}

#c2 {
  color: #1C7C54;
}

#c3 {
  color: #08A045;
}

.carousel-control {
  background-image: none !important;
}

.carousel-container {
  height: calc(100vh - 65px);
}

.grapes-container {
  height: calc(100vh - 65px);
}

.calendar-container {
  height: calc(100vh - 65px);
}

#calendar-image {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.SAMlogo img{
  border: 0;
  width: 20%;
  padding-left: 20px;
  padding-top: 10px;
}

.main-logo{
  width: 20%;
}

/* about columns and rows */
/* Create three equal columns that floats next to each other */
.column {
  float: left;
  width: 30%;
  min-height: 450px;
}

.column2 {
  float: left;
  width: 50%;
  min-height: 471px;
  padding: 10px;
}

.column3 {
  float: left;
  width: 50%;
  min-height: 450px;
  padding-left: 10px;
}
/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
  padding: 10px;
}

.row{
  padding-left: 100px;
}

.aboutp{
  text-align: center;
  font-size: 20px !important;
  padding: 10%;
  font-family: Georgia, serif;
}

.profile{
  width: 70%;
}

li{
  font-family: Georgia, serif !important;
}

/* resume section */
.resume{
  font-size: 15px;
  text-align: left !important;
  padding-left: 15px !important;
  padding-bottom: 0px !important;
  margin: 0 !important; 
  padding: 0 !important;
}

.ulres{
  margin: 0px !important; 
  padding-left: 20px !important;
}

.space{
  padding:5px;
}

.additionalspace{
  padding-left: 25px;
  padding-top:15px;
}

.grey{
  background-color: lightgray;
  padding-left:40px;
  padding-bottom: 40px;
  padding-top: 20px;
}

/* contact */
/* button */
/* source: https://www.fabriziovanmarciano.com/button-styles/ */
.example_d {
  color: #161616 !important;
  text-transform: uppercase;
  background: #ffffff;
  padding: 20px;
  border: 4px solid hsl(0, 0%, 71%) !important;
  border-radius: 6px;
  display: inline-block;
  transition: all 0.3s ease 0s;
  }
  .example_d:hover {
    color: hsl(0, 0%, 83%) !important;
    border-radius: 50px;
    border-color: #5a5959 !important;
    background: #161616;
    transition: all 0.3s ease 0s;
    }

    /* social media */
    /* Style all font awesome icons */
  .fa {
    padding: 20px;
    font-size: 30px;
    width: 50px;
    text-align: center;
    text-decoration: none;
  }

  /* Add a hover effect if you want */
  .fa:hover {
    opacity: 0.7;
  }

  /* Set a specific color for each brand */

  /* Facebook */
  .fa-facebook {
    background: #3B5998;
    color: white;
    border-radius: 100%;
  }

  /* Twitter */
  .fa-twitter {
    background: #55ACEE;
    color: white;
    border-radius: 100%;
  }

  /* location */
  .fa-map-marker-alt{
    background: #043251;
    color: white;
    border-radius: 100%;
    padding: 8px;
    padding-top: 10px;
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 10px;
  }

  .fa-phone{
    background: #a9b8ba;
    color: white;
    border-radius: 100%;
    padding: 8px;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .fa-envelope{
    background: #055b8a;
    color: white;
    border-radius: 100%;
    padding: 8px;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .fa-linkedin-in{
    background: #0e76a8;
    color: white;
    border-radius: 100%;
    padding: 8px;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .contact{
    display: -webkit-inline-box;
    padding: 10px;
  }

  .contact_info{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width:100%;
    padding-left: 270px;
    padding-right: 100px;
  }

  .aemail{
    color: #161616;
    font-size: 24px;
  }

  .num{
    padding-left: 3px;
  }

  address{
    margin-bottom: 0px !important;
  }

  .actual_contact{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px !important;
    padding-left: 10px;
    /* font-family: 'Cabin', sans-serif; */
    font-family: Georgia, serif;
    /* color: #161616; */
    font-size: 22px;
    color: #0d394a;
  }

  .locate{
    padding: 0px !important;
    margin: 0px !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    font-family: Georgia, serif !important;
    color: #0d394a;
  }

  /* approach */
  .column4 {
    float: left;
    width: 25%;
    padding: 10px;
  }
  
  .row4{
    padding-left:30px;
  }
  /* Clear floats after the columns */
  .row4:after {
    content: "";
    display: table;
    clear: both;
  }

  .fa-desktop{
    size: 7x;
  }

  /* approach h2 */
  #h2-2{
    display: inline;
    font-size: 25px;
    font-family: Georgia, serif;
    color: #0d394a;
  }

  .aboutapproach{
    padding: 10px;
    padding-left:35px;
  }

  .approachp{
    text-align: left !important;
    font-size:17px;
    font-family: Georgia, serif;
    color: #0d394a !important;
  }

  .quotes{
    font-size:20px !important;
  }
  /* bootstrap bootsnip css */
  /* carousel */
  .quoteblock{
    background: white !important;
  }

  .fa-chevron-right{
    color:black;
  }

  .fa-chevron-left{
    color:black;
  }

  #quote-carousel 
  {
    padding: 0 10px 30px 10px;
    margin-top: 30px;
  }

  /* Control buttons  */
  #quote-carousel .carousel-control
  {
    background: none;
    font-size: 2.3em;
    text-shadow: none;
    margin-top: 30px;
  }
  /* Previous button  */
  #quote-carousel .carousel-control.left 
  {
    left: -100px;
  }
  /* Next button  */
  #quote-carousel .carousel-control.right 
  {
    right: -100px !important;
  }
  /* Changes the position of the indicators */
  #quote-carousel .carousel-indicators 
  {
    right: 50%;
    top: auto;
    bottom: 0px;
    margin-right: -19px;
  }
  /* Changes the color of the indicators */
  #quote-carousel .carousel-indicators li 
  {
    background: #c0c0c0;
  }
  #quote-carousel .carousel-indicators .active 
  {
    background: #333333;
  }
  #quote-carousel img
  {
    width: 250px;
    height: 100px
  }
  /* End carousel */

  .item blockquote {
      border-left: none; 
      margin: 0;
  }

  .item blockquote p:before {
      content: "\f10d";
      font-family: 'Fontawesome';
      float: left;
      margin-right: 10px;
  }

  /* useful link section */
  

  /* links section */
  .useful_links{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width:100%;
    padding-left: 100px;
    padding-right: 100px;
  }

  .fidelity{
    width: 100%;
    height: auto;
    max-width:80px;
  }

  .assetbook{
  width: 100%;
  height: auto;
  max-width:80px;
}

.emoney{
  width: 100%;
  height: auto;
  max-width:80px;
}

.inside_link{
  display:flex;
  padding-left: 50px;
  /* border-style: solid;
  border-radius: 100px; */
}

.actual_link{
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0px !important;
  padding-left: 10px;
  /* font-family: 'Cabin', sans-serif; */
  font-family: Georgia, serif;
  color: #161616;
  font-size: 17px;
}

.link_logo{
  padding:10px;
}
.link_logo2{
  padding-bottom: 40px;
}

.iframe{
  width:100%;
  border:0; 
  margin-left: auto; 
  margin-right:auto; 
  display:block;
}
.row2{
  width:80%;
  padding-bottom: 40px;
}

/* footer */
.footer_info{
  color: white;
  text-align: center;
  background-color: black;
  padding: 20px;
  margin-bottom: 0px;
}
.footer{
  background-color: black;
  min-height:200px; 
}
  /**
    MEDIA QUERIES
  */

  /* Small devices (tablets, 768px and up) */
  @media (min-width: 768px) { 
      #quote-carousel 
      {
        margin-bottom: 0;
        padding: 0 40px 30px 40px;
      }
      
  }

  /* Small devices (tablets, up to 768px) */
  @media (max-width: 768px) { 
      
      /* Make the indicators larger for easier clicking with fingers/thumb on mobile */
      
      #quote-carousel .carousel-indicators {
          bottom: -20px !important;  
      }
  }


/*  GO FULL WIDTH BELOW 480 PIXELS */
@media only screen and (max-width: 1024px) {
  .overlay-menu{
    font-size: 20px !important;
  }
  /* titles */
  #h1-1 {
    font-size: 34pt !important;
    text-align: center !important;
  }
  /* investment philosophy */
  .aboutp{
    font-size: 15px !important;
  }
  .column{
    width: 100% !important;
    min-height: 0px !important;
  }
  .row{
    padding-left: 0px !important;
  }
  /* quotes section*/
  #quote-carousel .carousel-indicators li {
    display: inline-block;
    margin: 0px;
    width: 8px;
    height: 8px;
  }
  #quote-carousel .carousel-indicators li.active {
    margin: 0px;
    width: 8px;
    height: 8px;
  }
  #quote-carousel {
    margin-top: 0px !important;
  }
  /* profile section */
  .additionalspace{
    padding-left: 0px !important;
    padding-top: 0px !important;
  }
  .column2{
    width: 100% !important;
  }
  .column3{
    width: 100% !important;
    min-height: 0px !important;
  }
  .profile{
    width: 80% !important;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  .inside_link{
    padding-left: 0px !important;
  }

  .actual_contact{
    font-size: 18px !important;
  }

  .column2{
    min-height: 0;
  }

  
  .useful_links{ display: inline !important; padding-left: 25px !important;}
  .contact_info{ display: inline !important; padding-left: 25px !important;}
  .column4 {
    width: 100% !important;
    padding: 0px !important;
  }
}

body, html { overflow-x:hidden; } 

/* nav bar */
a.anchor {
  display: block;
  position: relative;
  top: -50px;
  visibility: hidden;
}
