
@font-face {
    font-family: Cabin;
    src: url("Cabin/Cabin-Regular.ttf");
}


body {
  font-family: Cabin, Helvetica, sans-serif;
  background-color: #6a6a6a;
  margin: 0.8em;
  padding: 0.8em;
  font-size: 14px;
  background-image:  url("blueflowertile2.jpg");
  background-attachment: fixed;
  background-size: 50%;
  background-repeat: repeat;
  color: black;
}


#float{
  padding: 2em;
  height: 100%;
  border-radius: 25px;
  background-image:  url("orange_tile.jpg");
  background-size: 50%;
  background-repeat: repeat;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }

.btn,
p.itemPara,
p {
  padding: 0.5em;
  margin: 0.5em;
}

h1 {
  padding: 0.2em;
  margin: 0.2em;
}

p {
  color: black;
  font-size: 14px;
  line-height: 18px;
}

a.itemLink,
p.itemPara {
  float: left;
  display: inline-block;
  border-radius: 12px;
  font-size: 14px;
  background-color: rgba(235, 222, 200, 0.9);
}

.itemPara {
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.15), 0 2px 2px 0 rgba(0, 0, 0, 0.19);
}

.filterDiv,
.show {
  float: left;
  width: 100%;
}

.filterDiv,
.show,
.btn {
  margin: 2px 2px;
}

.show {
  display: inline-block;
}

#btnContainer {
  margin-bottom: 1em;
  max-height: 30vh;
  overflow-x: hidden;
}

#stickyContainer {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background-color: rgba(235, 222, 200, 0.9);
  margin-bottom: 20px;
  padding: 1em;
  z-index: 3;
  border-radius: 12px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#headerContainer {
  background-color: rgba(235, 222, 200, 0.9);
  margin-bottom: 10px;
  padding: 1em;
  z-index: 1;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 12px;

}

#headerDescription {
  max-width: 800px;
  padding-left: 1em;
  line-height: 1.1em;

}

#toolContainer {
  padding-bottom: 60px;
  overflow: hidden;
  background-color: #e9d086; 
}

/* e9d086

/* Style the buttons */
.btn {
  border-radius: 12px;
  background-color: #d2b561;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.15), 0 2px 2px 0 rgba(0, 0, 0, 0.19);
  font-size: 14px;
  border: none;
  outline: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #e9d086;
}

.btn.active {
  background-color: #2d84a2;
  color: white;
}

.btn.active:hover {
  background-color: #3094ae;
}

a {
  color: #2a6c7f;
  font-size: 14px;
  line-height: 18px;
  text-decoration: underline;    
  font-weight: bold;
}

a[onclick]:hover {
    cursor: pointer;
}

#currentlyShowing, #headerDescription{
  font-size: 15px;
}

.broider {
    border-image:  url("doodleborder.png") 20 /  20px / 2 round;
    border-width:  4px;
    border-style:  solid;
}

footer {
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: right;
  float: right;
  border-radius: 3px;
  font-size: 12px;
  background-color: rgba(235, 222, 200, 0.8);
}

/** Code for hover info **/

dfn {
  cursor: help;
  font-style: normal;
  position: relative;

}

dfn::after {
  content: attr(data-info);
  display: inline;
  position: absolute;
  top: 22px; left: 0;
  opacity: 0;
  width: 300px;
  padding: 0.5em 0.8em;
  pointer-events: none; /* This prevents the box from apearing when hovered. */
  transition: opacity 250ms, top 250ms;
  background-color: rgba(245, 232, 210);
}
dfn::before {
  content: '';
  display: block;
  position: absolute;
  top: 12px; left: 0px;
  opacity: 0;
  width: 0; height: 0;
  border: solid transparent 5px;
  border-bottom-color: rgba(0,0,0,0.8);
  transition: opacity 250ms, top 250ms;
}
dfn:hover {z-index: 4;} /* Keeps the info boxes on top of other elements */
dfn:hover::after,
dfn:hover::before {opacity: 1;}
dfn:hover::after {top: 30px;}
dfn:hover::before {top: 20px;}

/* Hidden navigation for screenreaders */
    .skip {
        position: absolute;
        top: -1000px;
        left: -1000px;
        height: 1px;
        width: 1px;
        text-align: left;
        overflow: hidden;
    }
    
    a.skip:active, 
    a.skip:focus, 
    a.skip:hover {
        left: 0; 
        top: 0;
        width: auto; 
        height: auto; 
        overflow: visible; 
    }

@media only screen and (max-width: 768px) {
  /* For mobile : */

body {
  margin: 0.5em;
  padding: 0.5em;
}

.btn,
p.itemPara,
p {
  padding: 0.3em;
  margin: 0.2em;
}

h1 {
  font-size: 20px;
  padding: 0.2em;
  margin: 0.1em;
}

body{
  font-size: 14px;
}
#float{
  padding: 0.5em;
  height: 100%;
  border-radius: 25px;
  background-image:  url("orange_tile.jpg");
  background-size: 50%;
  background-repeat: repeat;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }

}