/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  padding-bottom: 40px;
  color: #5a5a5a;
}

#team {
  text-align: center;
  margin-bottom: 6%;
}

.play-button {
  margin: 5% auto 10%;
}

.back-to-top {
  cursor: pointer;
}

.headerimg {
  border-radius: 50%;
  width: 35px;
  margin-right: 13px;
}

/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper > .container {
  padding-right: 0;
  padding-left: 0;
}
.navbar-wrapper .navbar {
  padding-right: 15px;
  padding-left: 15px;
}
.navbar-wrapper .navbar .container {
  width: auto;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  height: 500px;
  margin-bottom: 60px;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
  margin-bottom: 120px;
  padding-left: 25px;
  background: rgba(0, 0, 0, 0.4);
  padding-right: 25px;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  height: 500px;
  background-color: #777;
}
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 500px;
  object-fit: cover;
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 20px;
  text-align: center;
}
.marketing h2 {
  font-weight: normal;
}
.marketing .col-lg-4 p {
  margin-right: 10px;
  margin-left: 10px;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 80px 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
}

.featurette-image {
  border-radius: 5px;
}

.play-call .dropdown {
  display: inline-block;
  margin-right: 5px;
}

/* REVIEWS
--------------------------------------------------- */

.review {
  max-width: 730px;
  margin: auto;
  font-size: 20px;
  font-family: 'georgia';
  margin-bottom: 100px;
}

.review p {
  margin-bottom: 20px;
}

.review h2 {
  font-weight: bold;
  border-bottom: solid 1px;
  margin: 40px 0;
  font-size: 28px;
}

.carousel-caption.review-style {
  margin-bottom: 80px;
}

.review-style cite {
  color: white;
}

.review blockquote {
  margin: 35px 0;
  font-size: 25px;
  border-left: 5px solid #337ab7;
}

.review blockquote p {
  opacity: 0.75
}

.review img {
  width: 100%;
  height: 450px;
  margin: 25px auto 35px;
  display: block;
  background: black;
  object-fit: contain;
  border: solid 8px #ddd;
}

.review-style blockquote footer:before {
  color: white;
}

/* WRITING
--------------------------------------------------- */

.writing.container .heading {
  max-width: 1000px;
  margin-bottom: 30px;
}

.writing.container .heading h1 {
  text-align: center;
  border-bottom: solid 1px #ddd;
  padding-bottom: 5px;
}

.writing.container .heading h2 {
  font-size: 18px;
  opacity: 0.5;
  text-align: center;
  margin-bottom: 40px;
}

.writing p {
  max-width: 800px;
  font-size: 18px;
  margin-right: auto;
  margin-left: auto;
}

.writing img {
  max-width: 100%;
  width: 100%
}

.writing .caption {
  font-style: italic;
  opacity: 0.5;
  text-align: center;
}

.writing .spoiler {
  font-style: italic;
  opacity: 0.5;
  text-align: center;
}

.cta {
  border: solid 1px #ddd;
  max-width: 850px;
  border-radius: 10px;
  padding: 20px 40px;
  margin: auto;
  font-style: italic;
  background: #f5f5f5;
  margin-top: 50px;
}

.cta p {
  opacity: 0.75;
  margin: auto;
}

.writing-list {
  margin: auto;
}

.writing-list img {
  max-height: 195px;
  margin: auto;
  display: block;
  background: #ddd;
  width: 100%;
  object-fit: cover
}

.writing-list .content-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.writing-list a {
  width: 32%;
  display: inline-block;
  margin: 10px 0;
  border: solid 1px #ddd;
  border-radius: 5px;
  position: relative;
}

.writing-list .label-box {
  padding: 5px 12px 20px 12px;
  color: initial;
  border-top: solid 1px #ddd;
  height: 70px;
  position: relative;
}

.writing-list h3 {
  border-bottom: solid 1px #ddd;
}

.writing-list h5 {
  font-size: 16px;
  margin: 0;
  position: absolute;
  transform: translateY(-50%);
  top: 37%;
}

.content-list a:hover {
  opacity: 0.75;
}

.writing-list span.type {
  left: 12px;
}

.label-box span {
  position: absolute;
  bottom: 0px;
  font-size: 14px;
  opacity: 0.3;
  right: 7px;
}

/* ACCOLADES
--------------------------------------------------- */

#text-accolades {
  display: none;
  margin: 50px 0;
}

.container .heading {
  text-align: center;
  max-width: 650px;
  margin: auto;
}

.award-buttons {
  text-align: center;
  margin: 5px auto;
  border: solid 1px #ddd;
  border-radius: 5px;
  padding: 15px;
  max-width: 650px;
  background: #eee;
  display: flex;
  justify-content: space-evenly;
}

.award-buttons button {
  width: 30%;
}

.award-buttons select {
  width: 46%;
}

#award-results {
  display: none;
}

#user-entry {
  border: solid 1px #ddd;
  border-radius: 10px;
  padding: 50px;
  max-width: 650px;
  margin: 90px auto 90px;
  text-align: center;
  box-shadow: 0px 0px 15px 0px rgb(0 0 0 / 10%)
}

.awardsform {
  width: 90%;
  margin: auto;
  max-width: 400px;
  display: flex;
}

.awardsform button {
  width: 25%;
  margin-left: 3px;
  min-width: 90px;
}

.awardsform .spinner-border {
  display: none;
}

.awardsalert.alert {
  display: none;
  width: 90%;
  margin: auto;
  max-width: 400px;
  margin-top: 8px; 
  font-style: italic;
  padding: 10px 25px;
  text-align: left;
  border-radius: 5px;
  font-size: 14px;
}

.awardsform.well {
  margin-top: 8px; 
  font-style: italic;
  padding: 10px 25px;
  text-align: left;
  border: solid 1px #ddd;
  border-radius: 5px;
  background: #eee;
  font-size: 14px;
}

.awardsform.well span {
  opacity: 0.75;
}

#reply-accolades {
  padding: 20px;
  margin-top: 20px;
  /*margin: 30px 20px;*/
}

#reply-accolades .header {
  border-bottom: solid 1px #ddd;
  text-align: center;
}

#reply-accolades #accolades {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  margin-top: 15px;
  margin-bottom: 100px;
}

.accolade {
  text-align: center;
  width: 40%;
  border-radius: 5px;
  padding: 17px 0;
  position: relative;
}

.userimg {
  border-radius: 50px;
  width: 75px;
  height: 75px;
  background: white;
  z-index: 2;
  /*padding: 3px;*/
}

.text {
  background: #aaa;
  color: white;
  width: 100%;
  margin: auto;
  padding: 5px;
  border-radius: 0px 5px 0px 0px;
  margin-top: 7px;
}

.username {
  font-size: 18px;
  margin-top: 10px;
  white-space: pre;
  text-overflow: ellipsis;
  overflow-y: hidden;
}

.accolade .userimg {
  position: absolute;
  left: -18px;
  top: 17px;
  border: solid 3px #333;
}

.accolade .username {
  border-bottom: solid 1px white;
  padding-bottom: 5px;
  width: 70%;
  margin: auto;
}

.accolade .award {
  font-size: 14px;
  margin: auto;
  margin-top: 5px;
  font-style: italic;
}

.infobox {
  border: solid 1px #aaa;
  width: 100%;
  position: relative;
  background: white;
  height: 50px;
  border-radius: 5px 0px 5px 5px;
}

.info {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  width: 90%;
  margin: auto;
}

.remove-user {
  position: absolute;
  top: 28px;
  right: 5px;
  cursor: pointer;
  font-size: 12px;
  border-radius: 50%;
  background: white;
  border: solid 1px black;
  opacity: 0.5;
  height: 20px;
  width: 20px;
  padding: 0;
}

.remove-user:hover {
  opacity: 1;
}

.footer .container p {
  margin-bottom: 0;
}

.navbar-brand img {
  max-width:250px;
  position:relative;
  top:-2px;
  filter:invert(1);
}

/* ACCOLADE COLORS
--------------------------------------------------- */

/* 8B1F26 */

/*.accolade:nth-child(1n) .userimg {
  border-color: #8B1F26;
}

.accolade:nth-child(1n) .text {
  background: #8B1F26;
}

.accolade:nth-child(2n) .userimg {
  border-color: #841f8b;
}

.accolade:nth-child(2n) .text {
  background: #841f8b;
}

.accolade:nth-child(3n) .userimg {
  border-color: #268b1f;
}

.accolade:nth-child(3n) .text {
  background: #268b1f;
}

.accolade:nth-child(4n) .userimg {
  border-color: #1f8b84;
}

.accolade:nth-child(4n) .text {
  background: #1f8b84;
}*/




/*.accolade:nth-child(1n) .userimg {
  border-color: #017BFE;
}

.accolade:nth-child(1n) .text {
  background: #017BFE;
}

.accolade:nth-child(2n) .userimg {
  border-color: #DC3444;
}

.accolade:nth-child(2n) .text {
  background: #DC3444;
}

.accolade:nth-child(3n) .userimg {
  border-color: #6510F1;
}

.accolade:nth-child(3n) .text {
  background: #6510F1;
}

.accolade:nth-child(4n) .userimg {
  border-color: #28A745;
}

.accolade:nth-child(4n) .text {
  background: #28A745;
}

.accolade:nth-child(5n) .userimg {
  border-color: #14A2B8;
}

.accolade:nth-child(5n) .text {
  background: #14A2B8;
}

.accolade:nth-child(6n) .userimg {
  border-color: #6F42C1;
}

.accolade:nth-child(6n) .text {
  background: #6F42C1;
}

.accolade:nth-child(7n) .userimg {
  border-color: #E83E8B;
}

.accolade:nth-child(7n) .text {
  background: #E83E8B;
}

.accolade:nth-child(8n) .userimg {
  border-color: #1EC997;
}

.accolade:nth-child(8n) .text {
  background: #1EC997;
}*/




.light .accolade .text {
  background: #eee !important;
  color: initial;
  border: solid 1px #aaa;
  border-bottom: none;
}

.light .accolade .username {
  border-bottom: solid 1px #aaa;
}

.light .accolade .userimg {
  border-color: #aaa !important;
}

.dark .accolade .text {
  background: #343A3F;
}

.dark .accolade .userimg {
  border-color: #343A3F;
}

.red .accolade .text {
  background: #DC3444;
}

.red .accolade .userimg {
  border-color: #DC3444 !important;
}

.blue .accolade .text {
  background: #017BFE;
}

.blue .accolade .userimg {
  border-color: #017BFE !important;
}

.indigo .accolade .text {
  background: #6510F1;
}

.indigo .accolade .userimg {
  border-color: #6510F1 !important;
}

.purple .accolade .text {
  background: #6F42C1;
}

.purple .accolade .userimg {
  border-color: #6F42C1;
}

.green .accolade .text {
  background: #28A745;
}

.green .accolade .userimg {
  border-color: #28A745;
}

.pink .accolade .text {
  background: #E83E8B;
}

.pink .accolade .userimg {
  border-color: #E83E8B;
}

.teal .accolade .text {
  background: #1EC997;
}

.teal .accolade .userimg {
  border-color: #1EC997;
}

.cyan .accolade .text {
  background: #14A2B8;
}

.cyan .accolade .userimg {
  border-color: #14A2B8;
}


#mainusername {
  color: white;
}

.light-bg {
  background: white;
}

.light-bg #mainusername {
  color: initial;
}

.dark-bg {
  background: #343A3F;
}

.red-bg {
  background-color: #DC3444;
}

.blue-bg {
  background-color: #017BFE;
}

.indigo-bg {
  background-color: #6510F1;
}

.purple-bg {
  background-color: #6F42C1;
}

.green-bg {
  background-color: #28A745;
}

.pink-bg {
  background-color: #E83E8B;
}

.teal-bg {
  background-color: #1EC997;
}

.cyan-bg {
  background-color: #14A2B8;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (max-width: 768px) {
  .review-style.carousel-caption {
    right: 7%;
    left: 7%;
    margin-bottom: 30px;
  }

  .carousel {
    margin-top: 51px; 
  }

  #user-entry {
    padding: 25px 10px;
  }

  .award-buttons {
    display: block;
  }

  .award-buttons button {
    width: 100%;
    margin: 5px 0;
  }

  .accolade {
    width: 100%;
    margin: -10px 0;
    padding: 17px 0 17px 17px;
  }

  .award-buttons select {
    width: 100%;
    margin: 5px 0;
  }

  .play-call {
    text-align: center;
  }

  .featurette-body h2 {
    text-align: center;
    margin-bottom: 20px;
  }

  .featurette-body .play-call {
    position: absolute;
    bottom: -440px;
    z-index: 5;
    margin: auto;
    left: 0;
    right: 0;
  }

  .featurette-body .play-call .btn {
    margin-right: 5px;
  }

  .desktop-only {
    display: none;
  }

  .featurette-heading .badge-success {
    margin-top: -5px;
  }

  .featurette-divider {
    margin: 90px 0 50px 0;
  }

  .navbar-brand img {
    max-width: 200px;
  }

  .writing-list a {
    width: 100%;
  }

}

@media (min-width: 768px) {
  /* Navbar positioning foo */
  .navbar-wrapper {
    margin-top: 20px;
  }
  .navbar-wrapper .container {
    padding-right: 15px;
    padding-left: 15px;
  }
  .navbar-wrapper .navbar {
    padding-right: 0;
    padding-left: 0;
  }

  /* The navbar becomes detached from the top, so we round the corners */
  .navbar-wrapper .navbar {
    border-radius: 4px;
  }


  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 992px) {
  .featurette-heading {
    margin-top: 120px;
  }

  .play-button {
    margin: initial
  }
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
  line-height: 60px; /* Vertically center the text there */
  background-color: #f5f5f5;
}


/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

body > .container {
  padding: 60px 15px 0;
}

.footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}

code {
  font-size: 80%;
}