
/*-- scss:defaults --*/

$aggie-blue: #0F2439;
$white: #FFFFFF;
$black: #000000;
$red-lt: #fc4938;      /*  2.62 contrast with white,  8.02 contrast with black,  6.02 contrast with aggie blue */
$red: #990f02;         /*  8.66 contrast with white,  2.42 contrast with black,  1.82 contrast with aggie blue */
$red-dk: #340501;      /* 17.98 contrast with white,  1.17 contrast with black,  1.14 contrast with aggie blue */
$pink-lt: #f692a1;     /*  2.20 contrast with white,  9.54 contrast with black,  7.16 contrast with aggie blue */
$pink: #f16278;        /*  3.11 contrast with white,  6.76 contrast with black,  5.07 contrast with aggie blue */
$pink-dk: #B21028;     /*  7.01 contrast with white,  3.00 contrast with black,  2.25 contrast with aggie blue */
$orange-lt: #F9DCBE;   /*  1.31 contrast with white, 16.01 contrast with black, 12.02 contrast with aggie blue */
$orange: #f58220;      /*  2.59 contrast with white,  8.10 contrast with black,  6.08 contrast with aggie blue */
$orange-dk: #8e4506;   /*  6.99 contrast with white,  3.00 contrast with black,  2.26 contrast with aggie blue */
$yellow-lt: #f9df90;   /*  1.31 contrast with white, 15.99 contrast with black, 12.0  contrast with aggie blue */
$yellow: #f6bd17;      /*  1.72 contrast with white, 12.21 contrast with black,  9.17 contrast with aggie blue */
$yellow-dk: #6f5506;   /*  7.05 contrast with white,  2.98 contrast with black,  2.24 contrast with aggie blue */
$green-lt: #31c18d;    /*  2.30 contrast with white,  9.14 contrast with black,  6.87 contrast with aggie blue */
$green-mid: #1c7052;   /*  6.02 contrast with white,  3.49 contrast with black,  2.62 contrast with aggie blue */
$green: #124734;       /* 10.62 contrast with white,  1.98 contrast with black,  1.48 contrast with aggie blue */
$green-dk: #0f3e2c;    /* 12.02 contrast with white,  1.75 contrast with black,  1.31 contrast with aggie blue */
$sage-lt: #90b6a8;     /*  2.22 contrast with white,  9.44 contrast with black,  7.09 contrast with aggie blue */
$sage: #6b9e85;        /*  3.06 contrast with white,  6.85 contrast with black,  5.15 contrast with aggie blue */
$sage-dk: #3e604c;     /*  7.04 contrast with white,  2.98 contrast with black,  2.24 contrast with aggie blue */
$cerulean-lt: #9febfe; /*  1.33 contrast with white, 15.79 contrast with black, 11.86 contrast with aggie blue */
$cerulean: #01add8;    /*  2.63 contrast with white,  7.97 contrast with black,  5.98 contrast with aggie blue */
$cerulean-dk: #016179; /*  7.03 contrast with white,  2.99 contrast with black,  2.24 contrast with aggie blue */
$blue-lt: #6bb7e1;     /*  2.21 contrast with white,  9.49 contrast with black,  7.12 contrast with aggie blue */
$blue: #288dc2;        /*  3.70 contrast with white,  5.68 contrast with black,  4.26 contrast with aggie blue */
$blue-dk: #1a5c7f;     /*  7.29 contrast with white,  2.88 contrast with black,  2.16 contrast with aggie blue */
$grey-lt: #a9afb2;     /*  2.22 contrast with white,  9.46 contrast with black,  7.1  contrast with aggie blue */
$grey: #a9afb2;        /*  2.22 contrast with white,  9.46 contrast with black,  7.1  contrast with aggie blue */
$grey-dk: #4f5959;     /*  7.23 contrast with white,  2.91 contrast with black,  2.18 contrast with aggie blue */
$gray-lt: #a9afb2;     /*  2.22 contrast with white,  9.46 contrast with black,  7.1  contrast with aggie blue */
$gray: #a9afb2;        /*  2.22 contrast with white,  9.46 contrast with black,  7.1  contrast with aggie blue */
$gray-dk: #4f5959;     /*  7.23 contrast with white,  2.91 contrast with black,  2.18 contrast with aggie blue */
$sand-lt: #e0e0d6;     /*  1.33 contrast with white, 15.80 contrast with black, 11.87 contrast with aggie blue */
$sand: #d1cbbd;        /*  1.62 contrast with white, 12.99 contrast with black,  9.75 contrast with aggie blue */
$sand-dk: #5d5741;     /*  7.23 contrast with white,  2.91 contrast with black,  2.18 contrast with aggie blue */


$primary: $aggie-blue;
$secondary: $gray;
$navbar-dark-color: rgba($primary, .75) !important;
$navbar-dark-hover-color: $primary !important;
$theme-colors: (
  "primary": $aggie-blue,
  "secondary": $green,
  "success": $sage,
  "info": $cerulean,
  "warning": $yellow,
  "danger": $orange,
  "dark": $black,
  "link": $aggie-blue
);


/* css styles */
.vcenter{
  margin: 0!important;
  height: 1em;
}

.reveal section {
  background-position: left 10px bottom 10px;
  background-size: 100%;
	font-size: 18pt;
	text-shadow: 0 0 0 #a2aaad;
}

.reveal section .sourceCode {
  font-size: 18pt;
}

.reveal section h1, h2, h3, h4 {
    font-weight: 500;
    margin-bottom: 0;
    margin-top: 10px;
}

.reveal section h1 {
  color: #0F2439;
  font-size: 200%!important;
  font-family: 'Roboto', sans-serif;
  /*background: rgba(.9961, .9922, .9804, .3);*/
  padding:20px;
}
.reveal section h2 {
  color: #124734;
  font-size: 175%em;
  font-family: 'Roboto', sans-serif;
}
.reveal section h3 {
  color: #016179;
  font-size: 150%!important;
  font-family: 'Montserrat', sans-serif;
}
.reveal section h4 {
  font-size: 125%!important;
  font-family: 'Montserrat', sans-serif;
}

.reveal section body{
  font-size: 14pt!important;
  font-weight:400;
}

.reveal section a{
  color: #016179!important;
}


.reveal section#title-slide {
	data-background-color: #fefdfa;
  data-background-image:  url(libs/usu.png), url(libs/usu-u.png);
	data-background-position: 10px 10px, right 10px 10px;
	data-background-size: 25%, 30%;
}

.reveal section#title-slide h1 {
	color: #0F2439 !important;
	margin-top: -130px!important;
}

.reveal section#title-slide .subtitle {
	color: #124734 !important;
  font-size: 150%!important;
}

.reveal section#title-slide .author{
  font-family: 'Handlee', cursive;
	color:  #016179 !important;
  font-size: 130%!important;
}

.reveal .slide.inverse {
  data-background-color: #0F2439 !important;
  background-color: #0F2439 !important;
  border-bottom: 0!important;
  color: #FFFFFF!important;
}

.reveal .slide.inverse h2 {
  background-color:  #0F2439 !important;
	color: #90b6a8!important;
}

.reveal .slide.inverse h3 {
  background-color:  #0F2439 !important;
	color: #f9df90!important;
}

.reveal .slide.inverse a {
  background-color:  #0F2439 !important;
	color: #9febfe!important;
}

.reveal .slide.inverse code a {
  background-color: #FFFFFF!important;
  color: #016179;
}

/* Other font formatting stuff */
.reveal section .emph { font-family: 'Handlee', cursive!important; }
.reveal section .read { font-family: 'Atkinson Hyperlegible'!important; }

.reveal section {
  span,p,code,i,ol,ul {
    span,p,code,i,ol,ul,li {
      span,p,code,i,ol,ul,li {
        
  .pink-lt { color: #f692a1 !important;} /* watermelon, lightened to 7.16 contrast with aggie blue */
  .red-lt { color: #fc4938 !important;}      /*  2.62 contrast with white,  8.02 contrast with black,  6.02 contrast with aggie blue */
  .orange-lt { color: #F9DCBE !important;} /* tangerine, lightened to 7.02 contrast with aggie blue */
  .yellow-lt { color: #f9df90 !important;} /* sunflower, lightened to 12.0 contrast with aggie blue */
  .green-lt { color: #30c58e !important;} /* hunter green, lightened to 7.13 contrast with aggie blue */
  .sage-lt { color: #90b6a8 !important;} /* sage green, lightened to 7.09 contrast with aggie blue */
  .cerulean-lt { color: #9febfe !important; }  /* electric, lightened to 12.0 contrast with aggie blue */
  .blue-lt { color: #6bb7e1 !important;} /* sky, lightened to 7.12 contrast with aggie blue */
  .gray-lt { color: #a9afb2 !important;} /* grey, lightened to 7.1 contrast with aggie blue */
  .sand-lt { color: #e0e0d6 !important;} /* sand, lightened to 11.86 contrast with aggie blue */

  .pink { color: #f16278 !important;} /* watermelon */
  .red { color: #990f02 !important;}         /*  8.66 contrast with white,  2.42 contrast with black,  1.82 contrast with aggie blue */
  .orange { color: #f58220 !important;} /* tangerine */
  .yellow { color: #f6bd17 !important;} /* sunflower */
  .green { color: #124734 !important;} /* hunter green */
  .sage { color: #6b9e85 !important;} /* sage green */
  .cerulean { color: #01add8 !important; }  /* electric */
  .blue { color: #288dc2 !important; } /* sky */
  .gray { color: #a9afb2 !important;} /* grey */
  .sand { color: #d1cbbd !important;} /* sand */

  .pink-dk { color: #B21028 !important;} /* watermelon, darkened to 7 contrast with white */
  .red-dk { color: #340501!important;}      /* 17.98 contrast with white,  1.17 contrast with black,  1.14 contrast with aggie blue */
  .orange-dk { color: #8e4506 !important;} /* tangerine, darkened to 6.99 contrast with white */
  .yellow-dk { color: #6f5506 !important;} /* sunflower, darkened to 7.05 contrast with white */
  .green-dk { color: #0f3e2c !important;} /* hunter green, darkened to 12.02 contrast with white */
  .sage-dk { color: #3e604c !important;} /* sage green, darkened to 7.04 contrast with white */
  .cerulean-dk { color: #016179 !important; } /* electric, darkened to 7.02 contrast with white */
  .blue-dk { color: #1a5c7f !important; }  /* sky, darkened to 7.28 contrast with white */
  .gray-dk { color: #4f5959 !important;} /* grey, darkened to 7.22 contrast with white */
  .sand-dk { color: #5d5741 !important;} /* sand, darkened to 7.22 contrast with white */

      }
      
  .pink-lt { color: #f692a1 !important;} /* watermelon, lightened to 7.16 contrast with aggie blue */
  .red-lt { color: #fc4938 !important;}      /*  2.62 contrast with white,  8.02 contrast with black,  6.02 contrast with aggie blue */
  .orange-lt { color: #F9DCBE !important;} /* tangerine, lightened to 7.02 contrast with aggie blue */
  .yellow-lt { color: #f9df90 !important;} /* sunflower, lightened to 12.0 contrast with aggie blue */
  .green-lt { color: #30c58e !important;} /* hunter green, lightened to 7.13 contrast with aggie blue */
  .sage-lt { color: #90b6a8 !important;} /* sage green, lightened to 7.09 contrast with aggie blue */
  .cerulean-lt { color: #9febfe !important; }  /* electric, lightened to 12.0 contrast with aggie blue */
  .blue-lt { color: #6bb7e1 !important;} /* sky, lightened to 7.12 contrast with aggie blue */
  .gray-lt { color: #a9afb2 !important;} /* grey, lightened to 7.1 contrast with aggie blue */
  .sand-lt { color: #e0e0d6 !important;} /* sand, lightened to 11.86 contrast with aggie blue */

  .pink { color: #f16278 !important;} /* watermelon */
  .red { color: #990f02 !important;}         /*  8.66 contrast with white,  2.42 contrast with black,  1.82 contrast with aggie blue */
  .orange { color: #f58220 !important;} /* tangerine */
  .yellow { color: #f6bd17 !important;} /* sunflower */
  .green { color: #124734 !important;} /* hunter green */
  .sage { color: #6b9e85 !important;} /* sage green */
  .cerulean { color: #01add8 !important; }  /* electric */
  .blue { color: #288dc2 !important; } /* sky */
  .gray { color: #a9afb2 !important;} /* grey */
  .sand { color: #d1cbbd !important;} /* sand */

  .pink-dk { color: #B21028 !important;} /* watermelon, darkened to 7 contrast with white */
  .red-dk { color: #340501!important;}      /* 17.98 contrast with white,  1.17 contrast with black,  1.14 contrast with aggie blue */
  .orange-dk { color: #8e4506 !important;} /* tangerine, darkened to 6.99 contrast with white */
  .yellow-dk { color: #6f5506 !important;} /* sunflower, darkened to 7.05 contrast with white */
  .green-dk { color: #0f3e2c !important;} /* hunter green, darkened to 12.02 contrast with white */
  .sage-dk { color: #3e604c !important;} /* sage green, darkened to 7.04 contrast with white */
  .cerulean-dk { color: #016179 !important; } /* electric, darkened to 7.02 contrast with white */
  .blue-dk { color: #1a5c7f !important; }  /* sky, darkened to 7.28 contrast with white */
  .gray-dk { color: #4f5959 !important;} /* grey, darkened to 7.22 contrast with white */
  .sand-dk { color: #5d5741 !important;} /* sand, darkened to 7.22 contrast with white */

    }
    
  .pink-lt { color: #f692a1 !important;} /* watermelon, lightened to 7.16 contrast with aggie blue */
  .red-lt { color: #fc4938 !important;}      /*  2.62 contrast with white,  8.02 contrast with black,  6.02 contrast with aggie blue */
  .orange-lt { color: #F9DCBE !important;} /* tangerine, lightened to 7.02 contrast with aggie blue */
  .yellow-lt { color: #f9df90 !important;} /* sunflower, lightened to 12.0 contrast with aggie blue */
  .green-lt { color: #30c58e !important;} /* hunter green, lightened to 7.13 contrast with aggie blue */
  .sage-lt { color: #90b6a8 !important;} /* sage green, lightened to 7.09 contrast with aggie blue */
  .cerulean-lt { color: #9febfe !important; }  /* electric, lightened to 12.0 contrast with aggie blue */
  .blue-lt { color: #6bb7e1 !important;} /* sky, lightened to 7.12 contrast with aggie blue */
  .gray-lt { color: #a9afb2 !important;} /* grey, lightened to 7.1 contrast with aggie blue */
  .sand-lt { color: #e0e0d6 !important;} /* sand, lightened to 11.86 contrast with aggie blue */

  .pink { color: #f16278 !important;} /* watermelon */
  .red { color: #990f02 !important;}         /*  8.66 contrast with white,  2.42 contrast with black,  1.82 contrast with aggie blue */
  .orange { color: #f58220 !important;} /* tangerine */
  .yellow { color: #f6bd17 !important;} /* sunflower */
  .green { color: #124734 !important;} /* hunter green */
  .sage { color: #6b9e85 !important;} /* sage green */
  .cerulean { color: #01add8 !important; }  /* electric */
  .blue { color: #288dc2 !important; } /* sky */
  .gray { color: #a9afb2 !important;} /* grey */
  .sand { color: #d1cbbd !important;} /* sand */

  .pink-dk { color: #B21028 !important;} /* watermelon, darkened to 7 contrast with white */
  .red-dk { color: #340501!important;}      /* 17.98 contrast with white,  1.17 contrast with black,  1.14 contrast with aggie blue */
  .orange-dk { color: #8e4506 !important;} /* tangerine, darkened to 6.99 contrast with white */
  .yellow-dk { color: #6f5506 !important;} /* sunflower, darkened to 7.05 contrast with white */
  .green-dk { color: #0f3e2c !important;} /* hunter green, darkened to 12.02 contrast with white */
  .sage-dk { color: #3e604c !important;} /* sage green, darkened to 7.04 contrast with white */
  .cerulean-dk { color: #016179 !important; } /* electric, darkened to 7.02 contrast with white */
  .blue-dk { color: #1a5c7f !important; }  /* sky, darkened to 7.28 contrast with white */
  .gray-dk { color: #4f5959 !important;} /* grey, darkened to 7.22 contrast with white */
  .sand-dk { color: #5d5741 !important;} /* sand, darkened to 7.22 contrast with white */

  } 
.reveal section .center p, 
.reveal section .center span {
  text-align: center !important
}

/* other handy classes */
.pull-left{
  float: left;
  width: 47%;
}
.pull-right{
  float: right;
  width: 47%;
}

.huge {font-size: 150%!important;}
.large {font-size: 130%!important;}
.largish{font-size: 110%!important;}
.reg{font-size: 100%!important;}
.slightly-small {font-size: 80%!important;}
.smaller {font-size: 75%!important;}
.small {font-size: 70%!important;}
.tiny {font-size: 50%!important;}
.microscopic {font-size: 28% !important;}


.underline {
  border-bottom:1px solid;display:inline-block;
}

.hidden{
  visibility:hidden;
}

.move-up { margin-top:-50px !important;}
.nudge-up { margin-top:-20px !important;}

.move-left { margin-left:-50px !important;}
.nudge-left { margin-left:-20px !important;}

.move-right { margin-left:50px !important;}
.nudge-right { margin-left:20px !important;}

.move-down {margin-top:50px !important;}
.nudge-down { margin-top:20px !important;}


.toprightfig{
  position:absolute;
  top:-10px;
  right: 10px;
  max-height: 150px;
  max-width: 150px;
  height:auto;
  width: auto;
}

.topleftfig{
  position:absolute;
  top:0;
  left: 0;
  max-height: 100%;
  max-width: 50%;
  height:auto;
  width: auto;
}

.bottom {
  left: 12%;
  position: absolute;
  bottom: 5px;
  font-size: 50%;
  /*width: 100%;*/
}

.cover{
  width:100%;
  height:100%;
}

.qrcode {
  width: 100%;
  text-align:center!important;
  margin-bottom: 1rem;
}

.reveal .slide-logo {
  height: 50px !important;
  width: 50px !important;
  max-width: unset !important;
  max-height: unset !important;
}
.highlight-last  {
  color: $grey-dk;
  .current-fragment {
    color: $aggie-blue;
  }
}

/*https://slidecrafting-book.com/fragments#sliding-code-out-and-results-in*/
$highlightcolors: (
  $pink: #f16278;
  $orange: #f58220;
  $green: #124734;
  $sage: #6b9e85;
  $cerulean: #01add8;
  $blue: #288dc2;
);

@each $name, $color in $highlightcolors {
  .reveal .slides section .fragment.hl-#{$name} {
    opacity: unset;
    visibility: unset;

    &.visible {
      background-color: lighten($color, 80%);
    }

    &.current-fragment {
      background-color: lighten($color, 50%);
    }
  }
}

.cell-output {
  font-size: 130%
}
.code-copy-outer-scaffold:has(.code-annotated)>.code-copy-button {
  right: 3em!important;
  margin-right: 1em!important;
}

figure {
  figcaption {
    text-align: center;
    margin-bottom: 8px!important;
  }
  p {
    img {
      margin-top: 2px!important;
      margin-bottom: 2px!important;
    }
      
  }
}
.v-center-container {
  display: flex;
  justify-content: center;
  align-items: center;
}