/*
CSS is ordered alphabetically by Tags, then Ids, and finally classes.
Media Queries follow initial rules in a similar organization.
*/

h1 {
  margin: auto;
  padding-top: 3rem;
  text-align: center;
}

h2 {
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}

header {
  height: 10rem;
  width: 100%;
  background-color: #00ced1;     /* for older browsers */
  background-image: linear-gradient(#00ced1, #e0ffff);
  border-bottom: 1px solid #d3d3d3; 
}

hr {
  width: 80%;
  border: .1rem solid #d3d3d3;  /* light gray */
  border-radius: .05rem;
}

footer {
  clear: both;
  background-color: #00ced1;     /* for older browsers */
  background-image: linear-gradient(#e0ffff, #00ced1);
  padding: 1rem;
  text-align: center;
}

footer > a {
  text-decoration: none;
  color: #000;
}

footer > a:hover {
  text-decoration: none;
  color: #000;
}

#controls {
  display: none;
}

#controls-sm {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
}

#controlsmenu-sm {
  border-width: 2px;
}

#drop-grid {
  display: table;
}

.bg-carousel-inner-color {
  background-color: #e0ffff;
}

/* cursor: pointer added to resolve accordian not opening on iphone */
.card-cursor {
  cursor: pointer;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg'\
                         fill='%2300ced1' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4\
                         1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E")
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg'\
                         fill='%2300ced1' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5\
                         2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
} 

.collapse-icon {
  margin-right: 1.5rem;
}

.discard {
  height: 50px;
  width: 75px;
  background-image: url("/static/img/tile/trash.0d2018360ffa.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.drag-div {
  width: 50px;
  height: 50px;
  margin: .25rem;
  font-size: 0px;
}

.drop-cell {
  display: table-cell;
  width: 50px;
  height: 50px;
  max-width: 50px;
  max-height: 50px;
  border: 1px solid #d3d3d3;
  margin: 0px;
  padding: 0px;
  white-space: nowrap;
  overflow: hidden;
  font-size: 0px;
}

.drop-row {
  display: table-row;
}

.img-drag { 
  width: 23px;
  height: 23px;
  margin: 0px;
  padding: 0px;
}

.img-header-left {
  position: absolute;
  top: 3rem;
  left: .5rem;
  width: 3.5rem;
  height: 3.5rem;
}

.img-header-right {
  position: absolute;
  top: 3rem;
  right: .5rem;
  width: 3.5rem;
  height: 3.5rem;
}

.img-screenshot-left {
  width: 33%;
  height: auto;
  float: left;
  margin-right: 1rem;
}

.img-screenshot-right {
  width: 33%;
  height: auto;
  float: right;
  margin-bottom: 1rem;
}

.section-max-width {
    max-width: 960px;
    margin: 0 auto 0;
  }
  
@media screen and (min-width: 375px) {
  .img-header-left {
    position: absolute;
    top: 2rem;
    left: 1rem;
    width: 6rem;
    height: 6rem;
  }

  .img-header-right {
    position: absolute;
    top: 2rem;
    right: 1rem;
    width: 6rem;
    height: 6rem;
  } 
}

    
@media screen and (min-width: 576px) {
  #controls {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: left;
  }

  #controls-sm {
    display: none;
  }

  #controlsmenu {
    border-width: 2px;
  }

  .discard {
    margin-top: auto;
    margin-right: 3rem;
    margin-bottom: auto;
    margin-left: auto;
  }

  .drag-div {
    width: 100px;
    height: 100px;
    margin: .25rem;
    font-size: 0px;
  }

  .drop-cell {
    display: table-cell;
    width: 50px;
    height: 50px;
    max-width: 50px;
    max-height: 50px;
    margin: 0px;
    padding: 0px;
    border: 1px solid #d3d3d3;
    white-space: nowrap;
    overflow: hidden;
    font-size: 0px;
  }

  .drop-row {
    display: table-row;
  }

  .img-drag {
    width: 48px;
    height: 48px;
    margin: 0px;
    padding: 0px;
  }
  
  .img-header-left {
    position: absolute;
    top: 1.5rem;
    left: 1rem;
    width: 7rem;
    height: 7rem;
  }

  .img-header-right {
    position: absolute;
    top: 1.5rem;
    right: 1rem;
    width: 7rem;
    height: 7rem;
  }
}

@media screen and (min-width: 768px) {
  .img-header-left {
    top: 1rem;
    left: 5rem;
    width: 8rem;
    height: 8rem;
  }

  .img-header-right {
    top: 1rem;
    right: 5rem;
    width: 8rem;
    height: 8rem;
  }

  .img-screenshot-left {
    width: 20%;
    height: auto;
    margin-right: 1rem;
    margin-bottom: 1rem;
  }

  .img-screenshot-right {
    width: 20%;
    height: auto;
  }
}