/**
 * Millco Base CSS.
 * and definitions.
 */

 :root{

  --theme: #0364b4;
  --accent: #F0FF00;

  --dark: hsl(0, 0%, 30%); /*   #2E2E2E */
  --grey-dark: hsl(0, 0%, 15%);
  --grey-mid: hsl(0, 0%, 25%);
  --grey-light: hsl(0, 0%, 75%); /* #F0F0F0 */
  --grey-very-light: hsl(0, 0%, 94%); /* #F0F0F0 */

  --pale: hsl(0, 0%, 94%); /* #F0F0F0 */

  --grey: #C4C8D0;

  --green: #BBF50F;
  --purple: #0b0246;
  --red: #E03000;
  --yellow: #E19800;
  --blue: #006dc7;;
  --blue-dark: #253670;
  --blue-light: #253670;
  --mauve: #7268AB;

  --shadow: 0 5px 10px 2px rgba(0,0,0,0.2);

  --transition: all 0.3s ease-in-out;

  --text-light: 200;
  --text-regular: 400;
  --text-strong: 700;
  --strong: 700;
  --smaller: 0.9375rem;

  --text-extra-strong: 900;

  --header-height: 100px;
  

  --plyr-color-main: #ffffff;
  --plyr-audio-controls-background: #0b0246;
  --plyr-audio-control-color: #ffffff;
  --plyr-audio-control-background-hover: #DA3616;
  --plyr-range-fill-background: #FFBB4D;
  --plyr-video-control-color: #E15D30;
  --plyr-video-control-color-hover: #E15D30;
  --plyr-video-control-background-hover: #eee;
  --plyr-control-spacing:8px;
  --plyr-audio-progress-buffered-background: #BBF50F;
  
      /* Modern Font Stacks */

/* System */
/* font-family: system, -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif; */

/* Times New Roman-based serif */
/* font-family: Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif; */

/* A modern Georgia-based serif */
/* font-family: Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif; */

/*A more traditional Garamond-based serif */
/* font-family: "Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif; */

/*The Helvetica/Arial-based sans serif */
/* font-family: Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif; */

/*The Verdana-based sans serif */
/* font-family: Corbel, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", "Bitstream Vera Sans", "Liberation Sans", Verdana, "Verdana Ref", sans-serif; */

/*The Trebuchet-based sans serif */
/* font-family: "Segoe UI", Candara, "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif; */

/*The heavier "Impact" sans serif */
/* font-family: Impact, Haettenschweiler, "Franklin Gothic Bold", Charcoal, "Helvetica Inserat", "Bitstream Vera Sans Bold", "Arial Black", sans-serif; */

/*The monospace */
/* font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace; */

--heading-font: 'Roboto Slab', Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;;

--font-sans: system, -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif;;

--font-serif: Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;

--font-condensed: Impact, Haettenschweiler, "Franklin Gothic Bold", Charcoal, "Helvetica Inserat", "Bitstream Vera Sans Bold", "Arial Black", sans-serif;


/*=============================
 Fluid Type sizes from
 https://utopia.fyi/
=============================*/

  /* @link https://utopia.fyi/type/calculator?c=320,16,1.333,1240,24,1.333,5,2,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l&g=s,l,xl,12 */

  --step--2: clamp(0.75rem, 0.46rem + 0.49vw, 0.84rem);
  --step--1: clamp(0.875rem, 0.62rem + 0.65vw, 1.13rem);
  --step-0: clamp(1.00rem, 0.83rem + 0.87vw, 1.50rem);
  --step-05: clamp(1.00rem, 1rem + 1.0vw, 1.75rem);
  --step-1: clamp(1.33rem, 1.10rem + 1.16vw, 2.00rem);
  --step-2: clamp(1.78rem, 1.47rem + 1.55vw, 2.67rem);
  --step-3: clamp(2.37rem, 1.96rem + 2.06vw, 3.55rem);
  --step-4: clamp(3.16rem, 2.61rem + 2.75vw, 4.74rem);
  --step-5: clamp(4.21rem, 3.48rem + 3.66vw, 6.31rem);


/* Current (v5.0) Boostrap breakpoints are 
X-Small 	None 	<576px
Small 	sm 	≥576px
Medium 	md 	≥768px
Large 	lg 	≥992px
Extra large 	xl 	≥1200px
Extra extra large 	xxl 	≥1400px
*/

--gap: 0.75rem;
--gap-small: 0.5rem;

--gutter : 8px;

--grid-min: 45ch;

--max-container-width: 1460px;
--max-container-width-small: 1095px;

accent-color: mediumvioletred;

}

@media (min-width: 768px) {
  :root {
    --gap: 1rem;
    --gap-small: 0.75rem;
    --gutter : 32px;
  }

}

@media (min-width: 992px) {
  :root {
    --gap: 2rem;
    --gap-small: 1rem;
    --gutter : 44px;
  }
}



/*=============================
  Base Styles
=============================*/
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-size: 100%;
  line-height: 1.4;
  color: var(--dark);
  font-weight: 400;
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  position:relative;
}

/*=============================
  Link
=============================*/
a {
  color:var(--theme);
  transition: var(--transition);
}
a:hover {
  cursor: pointer;
  color: var(--theme);
  transition: var(--transition);
}

/*=============================
  List
=============================*/
ul,
ol {
  margin-top: 0;
  margin-bottom: 16px;
  padding-left: 0;
  list-style-position: inside;
}
ul li,
ol li {
  margin-bottom: 16px;
}
ul li:last-child,
ol li:last-child {
  margin-bottom: 0;
}
ul ul,
ol ul,
ul ol,
ol ol {
  margin-left: 1rem;
}

/*=============================
  Image
=============================*/
img {
  margin-top: 0;
  max-width: 100%;
  height: auto;
}

.img-fluid{
  display: inline-block;
  max-width: 100%;
  height: auto;
}

.img-full-width{
  display: inline-block;
  width: 100%;
  height: auto;
}

figure{
  margin:0;
  margin-bottom: 1rem;
}

figure img,
svg{
  vertical-align: bottom;/* get rid of space for descender */
}

figcaption{
  background-color:white;
  color: var(--theme);
  padding:0.5rem;
  font-size:0.875rem;
}

/*=============================
  Components
=============================*/

.alert{
  display: inline-block;
  margin: auto;
  padding:0.5rem;
  padding-left: 28px;
  border:2px solid hsl(349,100%,95%);
  background-color: hsl(349,100%,63%);
  color: white;
  border-radius: 0.5rem;
  position: relative;;
}

.alert::before {
	content: '!';
	color: hsl(349,100%,63%);
	background-color: white;
	width: 16px;
	height: 16px;
	position: absolute;
	top: 11px;
	left: 6px;
	font-weight: 700;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.box {
  margin-bottom: 16px;
  padding-top: 16px;
  padding-right: 16px;
  padding-left: 16px;
  border: 1px solid #a7a7a7;
  border-radius: 2px;
}

.edit-link{
  position:fixed;
  width:44px;
  top:120px;
  right:0;
  border:2px solid #ccc;
  background-color: var(--theme);
  padding:4px;
  color:white;
  text-decoration: none;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  box-shadow: 2px 2px 4px #666;
  font-size:0.9rem;
  font-weight: bold;

}

.edit-link:hover{
  background-color: #ccc;
  color: var(--dark);
}


/*=============================
  Code
=============================*/
pre {
  margin-top: 0;
  margin-bottom: 16px;
}
pre code {
  display: block;
  padding: 16px;
  white-space: pre-wrap;
  word-wrap: break-word;
}
code {
  font-size: 0.8125rem;
  padding: 2px;
  white-space: nowrap;
  background: #e7e7e7;
  border: 1px solid #d7d7d7;
  border-radius: 2px;
  font-family: "Consolas", "Monaco", "Menlo", monospace;
}

@media(min-width: 768px ){
  code {
    font-size: 1rem;
  }
}


/*=============================
  Fills
=============================*/

.fill-dark{
  fill:var(--dark);
}

.fill-pale{
  fill:var(--pale);
}

.fill-theme{
  fill:var(--theme);
}

.fill-none{
  fill:none;
}

.fill-white{
  fill:white;
}

/*=============================
  Divider
=============================*/
hr{
  border: 0;
  height: 2px;
  background: var(--grey-light);
  margin:1rem 0;
  opacity: 1;
}

/*=============================
  Padding and margins
=============================*/

/* .p-0{padding:0 !important}

.p-1{padding:1rem;}
.pl-1{padding-left:1rem;}
.pr-1{padding-right:1rem;}
.pt-1{padding-top:1rem;}
.pb-1{padding-bottom:1rem;}

.p-2{padding:2rem;}
.pl-2{padding-left:2rem;}
.pr-2{padding-right:2rem;}
.pt-2{padding-top:2rem;}
.pb-2{padding-bottom:2rem;}

.p-4{padding:4rem;}
.pl-4{padding-left:4rem;}
.pr-4{padding-right:4rem;}
.pt-4{padding-top:4rem;}
.pb-4{padding-bottom:4rem;}

.m-auto{margin-left:auto; margin-right: auto;}

.m-0{margin:0rem;}
.ml-0{margin-left:0rem;}
.mr-0{margin-right:0rem;}
.mt-0{margin-top:0rem;}
.mb-0{margin-bottom:0rem;}

.m-1{margin:1rem;}
.ml-1{margin-left:1rem;}
.mr-1{margin-right:1rem;}
.mt-1{margin-top:1rem;}
.mb-1{margin-bottom:1rem;}

.m-2{margin:2rem;}
.ml-2{margin-left:2rem;}
.mr-2{margin-right:2rem;}
.mt-2{margin-top:2rem;}
.mb-2{margin-bottom:2rem;}

.m-4{margin:4rem;}
.ml-4{margin-left:4rem;}
.mr-4{margin-right:4rem;}
.mt-4{margin-top:4rem;}
.mb-4{margin-bottom:4rem;}

.mt-auto{margin:auto;}

@media screen and (min-width: 768px) {
  .p-lg-0{
    padding:0;
  }
} */


/*=============================
  Display and hidden
=============================*/

.desktop-only-block,
.desktop-only-flex{
  display:none;
}

@media screen and (min-width: 768px) {

  .desktop-only-block{
    display: flex;
  }
  .desktop-only-flex{
    display: flex;
  }
}


/*=============================
  Accessibility
=============================*/
.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
  color: black !important;
  background-color: white !important;
}

.text_measure {
	max-width: 640px;
}