:root {
  
  /*--t-dark-blue:#63A5BF;*/
  --t-dark-blue:#3B7D91;
  --t-light-blue:#77BDD9;
  --t-light-orange:#F2B263;
  --t-dark-orange:#A65A17;
  --t-black: #0D0D0D;
  --t-white: #FFF;
  }

[data-bs-theme="dark"] {
  --t-light-orange: #A65A17;
  --t-dark-orange: #F2B263;
  --t-black: #FFF;
  --t-dark-blue: #77BDD9;
  --t-white: #212529;

}

body {
  font-family: "Arvo", serif;
  font-weight: 400;
  font-style: normal;
  counter-reset: sidenote-counter;
  padding-bottom:50px
  }

#quote_header {
  background: var(--t-light-orange);
  color: var(--t-black);
 }

#name_header {
  background: var(--t-light-orange);
  color: var(--t-black);
 }

#name_header h1 {
  font-weight: bold;}

#name_header h1 span {
  font-size: 70%;
  font-style: italic;
  font-family: "Arvo", serif;
  padding-left: 1em
  }

#head_img_div {
  height: 0px;
  }
  
.head_img {
  position: relative;
  top: -90px;
  z-index:100}

section {border:2px solid var(--t-dark-orange);
        margin-top:75px;
        padding:0 75px;
        box-shadow: 4px 4px 4px var(--t-black);}

section p {text-align:justify}

h2 {
  color:var(--t-dark-orange);
  font-weight:bold;
  padding:10px 0;
  margin-left:-50px}

/*
h2 {
  color:var(--t-white);
  background:var(--t-dark-orange);
  font-weight:bold;
  margin:0 -10px;
  padding:0 10px}
*/

h3 {
  padding-top:10px;
  color:var(--t-dark-orange);
  font-style:italic}
  


nav, #navbar_links {background: var(--t-white)}


.nav-link {
  color:var(--t-dark-blue);
  }

.nav-link:hover {
  background:var(--t-dark-blue);
  color:white}

.active {
  color:var(--t-black);
  background:var(--t-light-orange)}

section a {
  color:var(--t-dark-blue);
  text-decoration: none}

section a:hover {
  text-decoration-line: underline;}

h2 a {
  color:var(--t-dark-orange);
  font-weight:bold;
  padding:10px 0;}

.offcanvas {--bs-offcanvas-height: 0px}


ul {list-style-type: circle}

.text-bg-dark-orange {
  color: white;
  background: var(--t-dark-orange)}
  
.text-bg-light-orange {
  color: black;
  background: var(--t-light-orange)}
  

.small-caps {font-variant: small-caps;}

button:focus-visible > i {outline: 2px solid var(--t-dark-blue)}
  
.more-link {font-style:italic}

  /** tufte report **/
  
  
.sidenote,
.marginnote {
    float: right;
    clear: right;
    margin-right: -50%;
    width: 40%;
    margin-top: 0.3rem;
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.3;
    vertical-align: baseline;
    position: relative;
}


.sidenote-number {
    counter-increment: sidenote-counter;
}

.sidenote-number:after,
.sidenote:before {
    font-family: et-book-roman-old-style;
    position: relative;
    vertical-align: baseline;
}

.sidenote-number:after {
    content: counter(sidenote-counter);
    font-size: 1rem;
    top: -0.5rem;
    left: 0.1rem;
}

.sidenote:before {
    content: counter(sidenote-counter) " ";
    font-size: 1rem;
    top: -0.5rem;
}

input.margin-toggle {
    display: none;
}

label.sidenote-number {
    display: inline-block;
    max-height: 2rem; /* should be less than or equal to paragraph line-height */
}

label.margin-toggle:not(.sidenote-number) {
    display: none;
}

div.fullwidth,
table.fullwidth {
    width: 100%;
}

figure {  text-align: center;
}

figure > span {
  font-size:80%;
  font-variant: small-caps;

  }
  
  blockquote p {
    width: 55%;
    margin-left: 50px;
    
}



/* toggle the collapse uncollapse arrows */

.clp.active {background:white}
.clp.active .closed {display:none}
.clp .open {display:none}
.clp.active .open {display:inline}

a.external:hover:after{
content:" \F1C5";
font-family: "bootstrap-icons";
font-size:80%}




@media only screen and (max-width: 992px) {
  #navbar_links {
    border: 2px solid white;
    border-radius: 0 0 5px 5px;
    border-top: none;
  }
     label.margin-toggle:not(.sidenote-number) {
        display: inline;
    }

   label.margin-toggle:not(.sidenote-number) {
        display: inline;
    }

    .sidenote,
    .marginnote {
        display: none;
    }

    .margin-toggle:checked + .sidenote,
    .margin-toggle:checked + .marginnote {
        display: block;
        float: left;
        left: 1rem;
        clear: both;
        width: 95%;
        margin: 1rem 2.5%;
        vertical-align: baseline;
        position: relative;
    }

    label {
        cursor: pointer;
    }

   
}



.toggle {
  position: relative;
  display: block;
  width: 50px;
  height: 30px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0); }
  .toggle:before {
    content: "";
    text-align: right;
    position: relative;
    top: 3px;
    left: 3px;
    width: 50px;
    height: 22px;
    font-size: 10px;
    display: block;
    background: #e6e6e6;
    border-radius: 30px;
    -webkit-transition: background .2s ease;
    -o-transition: background .2s ease;
    transition: background .2s ease;
    padding: 2px 8px; }
  .toggle span {
    position: absolute;
    top: 2px;
    left: 0;
    width: 24px;
    height: 24px;
    display: block;
    background: #fff;
    border-radius: 50%;
    -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    -webkit-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease; }
    .toggle span:before {
      font-family: 'bootstrap-icons';
      content: '\F5A2';
      position: absolute;
      display: block;
      margin: 0;
      padding-left:3.5px;
      width: 24px;
      height: 24px;
      background: var(--t-dark-blue);
      border-radius: 50%;
      -webkit-transform: scale(1);
      -ms-transform: scale(1);
      transform: scale(1);
      opacity: 1;
      pointer-events: none;
      color: #fff; }

#darkModeSwitch:checked + .toggle:before,
#darkModeSwitch2:checked + .toggle:before {
  background: var(--t-light-orange);
  content: '';
  text-align: left;
  color: #fff; }

#darkModeSwitch:checked + .toggle span,
#darkModeSwitch2:checked + .toggle span {
  background: #f1bc31;
  -webkit-transform: translateX(31px);
  -ms-transform: translateX(31px);
  transform: translateX(31px);
  -webkit-transition: all 0.2s cubic-bezier(0.8, 0.4, 0.3, 1.25), background 0.15s ease;
  -o-transition: all 0.2s cubic-bezier(0.8, 0.4, 0.3, 1.25), background 0.15s ease;
  transition: all 0.2s cubic-bezier(0.8, 0.4, 0.3, 1.25), background 0.15s ease;
  -webkit-box-shadow: 0 3px 8px rgba(241, 188, 49, 0.7);
  box-shadow: 0 3px 8px rgba(241, 188, 49, 0.7); }
  #darkModeSwitch:checked + .toggle span:before,
  #darkModeSwitch2:checked + .toggle span:before {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
    -webkit-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
    font-family: 'bootstrap-icons';
    content: ' \F496';
    background: var(--t-light-orange);
    color: #FFF; }
