/* plan for the future - publications tab */
#publications .tab-info h4 {
  margin: 2rem 0 0.5rem;
}
#publications .tab-info > p:first-of-type {
  margin: 0;
}
#aheList {
text-decoration: underline;
}
#aheList p:first-of-type {
  margin: 0;
}
#publications #request {
  margin-top: 3rem;
}

/* publications - terminal pages */
div.publications {
  margin: 0 0 3rem;
}
.publications .subtitle {
  font-size: 2.4rem;
  font-weight: bold;
  margin-top: 2rem;
}
.publications a {
  display: flex;
  flex-direction: column;
  margin: 1rem 0;
}
audio {
  height: 30px;
}
ul li ul {
  list-style-type: circle;
  margin-bottom: 1rem;
}
.no-bullets {
  list-style: none;
}
.no-bullets.colleges {
  margin-bottom: 2.5rem;
}
#pubOrders input,
#pubOrders select,
#pubOrders textarea {
  padding: 0 0.25rem;
  border: 1px solid var(--primary);
  border-radius: 3px;
}

/* publications order form */

#pubOrders fieldset {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  border: none;
  margin-top: 1.5rem;
}

#pubOrders fieldset legend {
  font-size: 2.4rem;
  font-weight: bold;
  color: var(--tertiary);
  text-transform: capitalize;
}

#pubOrders .item {
  justify-content: center; /*flex-end;*/
  align-items: center;
  flex-wrap: wrap;
  margin: 1rem .5rem;
  width: 19%;
  display: flex;
  flex-direction: column;
  text-align: center;
}

#pubOrders .item label {
  font-weight: bold;
  color: var(--primary);
  text-align: center;
}

#pubOrders .item img {
  display: block;
  width: auto;
  height: 125px;
  margin: 1rem auto;
}

#pubOrders .item input {
  width: 80px;
}
.out-of-stock {
  position: relative; 
}

.out-of-stock label,
.out-of-stock input {
  opacity: .5;
}

.out-of-stock div.oos-msg {
  position: absolute;
  z-index: -1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}
.out-of-stock div.oos-msg p {
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0;
  background: var(--white);
  color: var(--red);
  text-transform: uppercase;
  transform: rotate(-42deg);
}

.oos_online_copy {
	position: relative;
	z-index: 10;
	font-size: 1.4rem;
	margin-left: 5px;
	margin-top: 10px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 200px;
}

[id*="msgPubsOrderForm"] {
  list-style: none;
}
[id*="msgPubsOrderForm"] li {
  margin: 1rem;
}

/* order information */
#orderInfo fieldset {
  flex-direction: column;
  align-items: center;
}
#orderInfo fieldset legend {
  margin-bottom: 1rem;
  text-align: center;
}
#orderInfo .info-container {
  display: flex;
  flex-direction: column;
  margin: 0 0 1rem;
}
#orderInfo .info-container > .flex {
  display: flex;
  align-items: unset;
  justify-content: flex-start;
}
#orderInfo .info-container label {
  font-size: 1.8rem;
  font-weight: bold;
  margin-right: 5px;
  margin: 0 0 0.5rem;
}
#orderInfo input,
#orderInfo select,
#orderInfo textarea {
  width: 440px;
}
#orderInfo input,
#orderInfo select {
  height: 2.4rem;
}
#orderInfo textarea {
  resize: none;
}
a.blue-btn:link, a.blue-btn:visited, a.blue-btn:hover, a.blue-btn:active {
  font-family: Calibri, Arial, sans-serif;
  font-size: 1.6rem;
  color: white;
  text-decoration: none;
}
a.blue-btn {
  display: block;
  margin: 3rem auto;
  width: fit-content;
  color: white;
  text-decoration: none;
}
[id*="backToPubs"] {
  justify-content: center;
  margin: 5rem auto 3rem;
  width: fit-content;
  text-decoration: none;
}
[id*="backToPubs"] i {
  position: relative;
  top: 1px;
  font-size: 1.6rem;
  font-weight: bold;
  margin-right: 1rem;
  color: var(--tertiary);
}
[id*="backToPubs"] span {
  font-size: 1.8rem;
  text-decoration: underline;
}

/************************************

    PUBLICATIONS MOBILE STYLES

************************************/
@media screen and (max-width: 980px) {
  #pubOrders .item {
    width: 23%;
  }
}
@media screen and (max-width: 640px) {
  #pubOrders fieldset {
    justify-content: space-between;
  }
  #pubOrders .item {
    width: 30%;
  }
}
@media screen and (max-width: 480px) {
  audio {
    width: 100%;
  }
  #pubOrders .item {
    width: 45%;
  }
  #orderInfo .info-container {
    width: 100%;
  }
  #orderInfo input,
  #orderInfo select,
  #orderInfo textarea {
    width: 100%;
  }
}