@import url("https://fonts.googleapis.com/css?family=Lato:400,400i,700");

body {
  background-color: #6d695c;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAACVBMVEUAAAAAAAAAAACDY+nAAAAAA3RSTlMmDQBzGIDBAAAAG0lEQVR42uXIIQEAAADCMHj/0NdkQMws0HEeAqvwAUGJthrXAAAAAElFTkSuQmCC);
  font-size: 100%;
  color: #333;
  font-family: Lato, Arial, sans-serif;
  padding: 0;
  margin: 0;
}

main {
  display: block;
  box-sizing: border-box;
  width: auto;
  padding: 1rem 2vw;
  margin: 1rem 2vw;
  color: #000;
  background-color: rgba(204, 204, 204, 0.7);
  border: 0.07em solid rgba(0, 0, 0, 0.5);
  border-radius: 0.5rem;
  max-width: 1280px;
  /* border: 1px solid green; */
}

.catalog_heading {
  /* width: 90%; */
  padding: 0.2rem 2vw;
  /* border: 1px solid green; */
  display: flex;
  flex-flow: row wrap;
  /*flex-direction: row;*/
  /*justify-content: space-between;*/
}

h1 {
  /* padding: 0 1vw; */
  padding: 0.4rem 1.4vw 0.2rem 0.8vw;
  /* flex: 1 0 300px; */
  /* border: solid purple 1px; */
  line-height: 2rem;
  margin: 0;
  font-size: 1.5rem;
  /* padding: 0; */
  /* flex: 1 1 auto; */
}
h1 a {
  text-decoration: none;
  color: black;
}
h1 a:hover,
h1 a:active {
  color: darkblue;
}

/* .cat_form { */
/* display: none; */
/* display: flex; */
/* flex: 1 800px; */

/* margin-top: 1.2rem; */
/* border: 1px solid blue; */
/* flex-direction: row; */
/*align-items: flex-end;*/
/* padding: 20px 0; */
/* } */
.input_catsearch {
  /* display: none; */
  /*align-self: stretch;*/
  /* flex: 1 800px; */
  /* padding: 12px 160px 2px 14px; */
  padding: 0.7rem 0vw 0.2rem 1.4vw;
  /*width: 70%;*/
  background-color: transparent;
  transition: transform 250ms ease-in-out;
  font-size: 24px;
  line-height: 18px;

  color: #575756;
  border-radius: 10px;
  border: 1px solid #575756;
  transition: all 250ms ease-in-out;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.input_catsearch::placeholder {
  color: rgba(87, 87, 86, 0.8);
  /*text-transform: uppercase;*/
  /*letter-spacing: 1.5px;*/
}

.input_catsearch:hover,
.input_catsearch:focus {
  /* padding: 12px 160px 2px 14px; */
  padding: 0.7rem 0vw 0.2rem 1.4vw;
  outline: 0;
  border: 1px solid transparent;
  border-bottom: 1px solid #575756;
  border-radius: 0;
  /*background-position: 100% center;*/
  color: black;
}

.searchButton {
  display: none;
  width: 40px;
  height: 40px;
  /*border: 0px solid #004CC;*/
  border: 0px;
  background: transparent;
  text-align: center;
  color: #000;
  border-radius: 10px;
  cursor: pointer;
  font-size: 24px;
  padding: 2px 0 0 2px;
  border: solid rgba(0, 0, 0, 0.1) 1px;
  top: 120px;
  vertical-align: top;
}

.searchButton:hover,
.searchButton:focus {
  background: rgba(255, 255, 255, 0.3);
}

.edit_btn {
  margin: 0.2rem 0.4rem 0 0;
  padding: 0;
  width: 1rem;
  height: 1rem;
}
.edit_btn:hover {
  /* .edit_btn image :hover { */
  background-color: aquamarine;
  /* background-size: cover; */
  /* outline: none; */
  outline: 1px solid #fff;
  outline-offset: -4px;

  /* border: 1px solid black; */
  border-radius: 4px;
  padding-left: 0.3rem;
}

.edit_btn img {
  /* margin: -0.07rem 0 0 -0.5rem; */
  margin: 0.04rem 0 0 -0.34rem;
  padding: 0;
  width: 0.8rem;
  height: 0.8rem;
}
.edit_btn2 {
  margin: 0.2rem 0.2rem 0 0;
  padding: 0;
  width: 1rem;
  height: 1rem;
}
.edit_btn2 img {
  margin: -0.2rem 0 0 -0.38rem;
  padding: 0;
  width: 1rem;
  height: 1rem;
}

.table_heading {
  display: flex;
  flex-flow: row wrap;
  /* width: 100%; */
  /* border: 1px solid green; */
  padding: 0.2rem 2vw;
  color: #fff;
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.5);
}
.table_entry {
  display: flex;
  flex-flow: row wrap;
  /* width: 100%; */
  /* border: 1px solid green; */
  padding: 0.2rem 1vw;
}
.cat_no {
  /*  border: solid blue 1px; */
  text-align: right;
  padding-right: 0.4vw;
  width: 3.4rem;
  /* color: rgb(54, 54, 54); */
  /* font-weight: bold; */
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.25rem;
}
.cat_copies {
  /*  border: solid purple 1px; */
  text-align: right;
  padding-right: 0.4vw;
  width: 2rem;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.25rem;
}
.cat_composer {
  /*  border: solid slategrey 1px; */
  flex: 2;
  padding-left: 0.4vw;
}
.cat_title {
  /*  border: solid green 1px; */
  flex: 4;
  padding-left: 0.2vw;
  font-style: italic;
}

article:nth-child(odd) {
  background-color: rgba(255, 255, 255, 0.25);
}
article:nth-child(even):not(.table_heading) {
  background-color: rgba(255, 255, 255, 0.5);
}
/* article.table_heading {
  background-color: rgba(0, 0, 0, 0.5);
} */

/*@media (max-width: 400px) */
/* @media only screen
and (min-device-width : 375px)
and (max-device-width : 667px)
and (orientation : portrait) { */

@media only screen and (max-device-width: 500px) and (orientation: portrait) {
  /* @media (orientation: landscape) { */
  /* @media only screen and (max-device-width: 500px) { */
  /* .table_entry { */
  /* padding: 0.2rem 10rem; */
  /* } */
  .cat_no {
    order: 3;
    background-color: rgba(255, 255, 255, 0.25);
    padding: 0.2rem 0.4vw 0.2rem 0;
    text-align: right;
  }
  .cat_copies {
    order: 2;
    background-color: rgba(255, 255, 255, 0.25);
    padding: 0.2rem 0.4vw 0.2rem 0;
    text-align: right;
  }
  .cat_composer {
    order: 1;
    background-color: rgba(255, 255, 255, 0.25);
    padding: 0.2rem 1vw;
  }
  .cat_title {
    order: 4;
    flex: 1 800px;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 0.2rem 1vw;
  }
  article:nth-child(even):not(.table_heading) {
    background-color: rgba(255, 255, 255, 0.25);
  }
}

/* ---------  Show all fields styling ---------------- */
/* body {  font-size: 26px;} */

/*
article.anthem_detail {}
*/

form.form_detail {
  display: flex;
  flex-flow: row wrap;
}
.form_detail_left,
.form_detail_right,
.form_detail_bottom {
  flex: 1 1 1rem;
}

ul {
  list-style-type: none;
  margin: 0 0;
  padding: 0 0;
  overflow: hidden;
  display: flex;
  flex-flow: row wrap;
  /* width: 20rem; */
  flex-basis: 20rem;
}

li {
  flex: 1 1 1rem;
}

label,
input {
  display: block;
  font-size: 0.8rem;
}
label,
legend {
  color: #666;
}

ul.athm_location {
  background-color: #fcbd11;
}
ul.athm_composer {
  background-color: #54b854;
}
ul.athm_voicing {
  background-color: #dbb882;
}
ul.athm_performance {
  background-color: #92e292;
}
ul.athm_notes {
  background-color: #92c2e2;
  flex-basis: 40rem;
}

#id_CatLoc,
#id_CatNum,
#id_Qty {
  text-align: right;
}
#id_Collection {
  text-align: left;
}

#id_CatLoc {
  width: 3rem;
  /* flex: 1 1 3rem; */
}
#id_CatNum,
#id_Qty {
  width: 2rem;
}
#id_Collection {
  width: 8rem;
  /* flex: 1 1 8rem; */
}
#id_Composer {
  width: 8rem;
  /* flex: 1 1 8rem; */
}
#id_FirstName {
  width: 6rem;
  /* flex: 1 1 6rem; */
}
#id_Voicing {
  width: 5rem;
  /* flex: 1 1 5rem; */
}
#id_Title,
#id_OtherInstr {
  width: 20rem;
  /* flex: 1 1 20rem; */
}
#id_Accomp input,
#id_Accomp label {
  width: 1rem;
  /* flex: 1 1 2rem; */
}
#id_PerfDates,
#id_Service {
  width: 9rem;
  /* flex: 1 1 9rem; */
}
#id_Notes,
#id_ScoreLoc {
  width: 24rem;
  /* flex: 1 1 36rem; */
}

.li_Voicing {
  flex: 1;
}
.li_accomp {
  flex: 3;
  margin-bottom: -0.5rem;
}

.li_notes,
.li_score {
  flex: 1 1 36rem;
}

/*.li_OtherInstr {*/
/* margin-top: -0.5rem; */
/*}*/

fieldset {
  font-size: 0.8rem;
}
fieldset input,
fieldset label {
  display: inline;
}
fieldset label {
  padding-right: 0.4rem;
  /* flex: 1 1 2rem; */
}
blockquote {
  /* color: #e40000; */
  color: darkred;
  font-size: 0.9rem;
}
