
input[type=radio] {
  appearance: radio;
  -webkit-appearance: radio;
  -moz-appearance: radio;
}


a.img {
  border-bottom: none;
}


.video-iframe-container {
  overflow: hidden;
  padding-top: 56.25%;
  position: relative;
}
.video-iframe-container iframe {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}




@media(min-width: 800px) {
  #nav-trigger, #nav-trigger-label {
    display: none;
  }


  #navbar {
    display: block; 
    width: 100vw; 
    height: 60px; 
    display: flex; 
    flex-direction: row; 
    align-items: center;
    padding: 0 20px;
  }

  #navbar ul {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    margin: 0;
    padding: 0;
    height: 100%;
  }

  #navbar li {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0 10px;
  }

  #navbar li:hover {
    background: #eee;
  }

  #navbar a {
    text-decoration: none;
    border: none;
    cursor: pointer;
  }

}

@media(max-width: 799px) {
  #navbar {
    background: #333;
    width: 240px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: -240px;
    bottom: 0;
    z-index: 1000;
    overflow-y: scroll;
  }
  #navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-top: 70px;
    margin-bottom: 70px;
  }
  #navbar li {
    transition: all 0.2s ease-in-out;
    border-bottom: 1px #444 solid;
  }
  #navbar li a {
    color: white;
    display: block;
    padding: 1em 1em;
    text-decoration: none;
  }
  #navbar li:hover {
    background: #555;
    border-color: #666;
  }
  #navbar li.selected {
    background: #444;
  }
  #navbar li.selected:hover {
    background: #666;
    border-color: #777;
  }
  #navbar .tag {
    float: right;
  }
  #navbar li.logout a {
    padding: 0.75em 1em;
    color: #aaa;
  }



}



.nav-trigger {
  position: absolute;
  clip: rect(0,0,0,0);
}
label[for="nav-trigger"] {
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 1001;
  width: 30px;
  height: 30px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' x='0px' y='0px' width='30px' height='30px' viewBox='0 0 30 30' fill='rgb(255,255,255)' enable-background='new 0 0 30 30' xml:space='preserve'><rect width='30' height='6'/><rect y='24' width='30' height='6'/><rect y='12' width='30' height='6'/></svg>");
  background-size: contain;
}
label[for="nav-trigger"]:hover {
  opacity: 0.6;
}

.nav-trigger:checked ~ #navbar {
  left: 0;
}

label[for="nav-trigger"], #navbar {
  transition: all 0.2s;
}




.colors {
  display: flex;
  flex-direction: row;
}
.colors .chooser {
  flex: 1 1;
  text-align: left;
}
.colors .chooser .label {
  font-weight: bold;
}




@media screen and (max-width: 1800px) {

  ul.actions.wide:not(.fixed) {
    -moz-flex-direction: column;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-left: 0;
    width: 100% !important;
  }

  ul.actions.wide:not(.fixed) li {
    -moz-flex-grow: 1;
    -webkit-flex-grow: 1;
    -ms-flex-grow: 1;
    flex-grow: 1;
    -moz-flex-shrink: 1;
    -webkit-flex-shrink: 1;
    -ms-flex-shrink: 1;
    flex-shrink: 1;
    padding: 1em 0 0 0;
    text-align: center;
    width: 100%;
  }

}

@media screen and (min-width: 936px) and (max-width: 1800px) {

  ul.actions.wide:not(.fixed) {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  ul.actions.wide:not(.fixed) li {
    margin: 0 6px;
  }
}

@media screen and (min-width: 600px) and (max-width: 935px) {

  ul.actions.wide:not(.fixed) {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  ul.actions.wide:not(.fixed) li {
    padding: 6px;
  }
}



input.error, textarea.error {
  border: solid 1px rgba(191, 16, 16, 0.75);
}


