/* stylesheet for dances.php */
table.confirm_add { border: 2px solid #666; margin: 10px }
table.confirm_add tr td { padding: 2px 10px; border: 1px solid #ccc }
form.datarec_form { margin: 10px 0 }




@media (max-width: 350px)
{
  form.datarec_form div.oldnew 
  { 
    display: block;
  }
}


div.dancesearch { background: #acb; border-radius: 5px; }
form.datarec_form.setstyle { margin-bottom: 0; padding-bottom: 0 }
form.datarec_form.danceselect { margin-top: 0; padding-top: 0 }

form.datarec_form.dancerec div.form_input_pair.notationsources div.input
{
  display: block;
  
}
form.datarec_form.dancerec div.form_input_pair.notationsources div.input label
{
  display: block;
  margin: 5px 0;
}

form.datarec_form.dancerec div.info
{
  padding: 5px;
  margin: 5px 0;
  grid-column-start: 1;
}


div.msgbox 
{ 
  margin: 10px; 
  padding: 10px; 
  border: 2px solid green;
  border-radius: 10px;
  background: white;
  width: max-content;
  max-width: 600px;
  min-width: 280px;
}
div.flexwidth 
{ 
  width: max-content; 
  max-width: 600px; 
  display: inline-block;
  vertical-align: top;
}

td.abbr
{
  display: none;
}



table tr td.tunedetails { font-size: 90% }

table tr td span.tdlabel
{
  display: inline-block;
  color: #066;
  width: 40px;
}

form.tune_editbutton
{
  float: right;
}

form.addtunebutton input { font-size: 90%; }

form.returnbutton
{
  margin: 10px 0;
}

form.editdancebutton, form.deldancebutton
{
  display: inline-block;
  margin: 10px 0;
}

@media screen and ( max-width: 900px )
{
  td.abbr { display: table-cell; max-width: min-content }
  td.trad { display: none }
  td.style { display: none }
  td.origin { display: none }
  td.set { display: none }
  td.hands { display: none }
}
@media screen and (max-width: 500px)
{
  td.list_r { display: none }
}

/*** styles help buttons ***/
div.stylehelp
{
  background: #e8f8ff;
  border-radius: 5px;
  padding: 5px;
  font-size: 90%;
  border: 1px solid #ccc;
  margin: 5px auto;
}

div.stylehelp h3
{
  margin: 0 0 5px;
  text-align: center;
}

button.stylehelp
{
  padding: 2px;
  background: white linear-gradient(#def, #8be);
  border: 2px solid #9cf;
  border-radius: 5px;
}

@media screen and (max-width: 700px)
{
  button.stylehelp { width: 18%; }
}

@media screen and (max-width: 500px)
{
  button.stylehelp 
  {
    width: 30%;
  }
}

select.style { background: #def; }

button.help { margin-left: 20px }
button.editdancehelp
{
  display: block;
  margin: 20px 0 0 0; 
}
th.headerpadding {padding: 2px 0}
div.dancedetails 
{
  display: inline-block; 
  width: 45%;
  max-width: 600px; 
  background: #eef
}
@media screen and ( max-width: 1000px )
{
  div.dancedetails 
  { 
    width: max-content;
    max-width: 90%; 
  }
}

table.showdance 
{ 
  width: 100%; 
}
table.showdance tr td, table.showdance tr th
{
  border: 1px solid #3c3;
  padding: 2px;
  background: white;
  overflow-wrap: anywhere; 
}
table.showdance tr th 
{ 
  white-space: nowrap;
  font-weight: normal;
  text-align: left;
  color: #444;
}

table.showdance tr.admin td,
table.showdance tr.admin th
{
  background: #fee;
}


form.editvars
{
  margin: 0 0 10px;
}

div.teamslist { background: white; padding: 10px 5px }
button.addhelp { margin-left: 20px }
td.check { color: #900 }

button.notsrchelp { display: block }

@media screen and (max-width: 500px)
{
  div.teamslist
  {
    padding: 5px 1px;
    width: 99%;
  }
}

div.tradnotes
{
  border: 1px solid black; 
  padding: 10px; 
  background: white;
  width: -moz-max-content;
  width: max-content;
  min-width: 250px;
  max-width: 800px;
}


div.panel div.text
{
  line-height: 1.3;
}

table.notationsourceshelp
{
  margin: 20px 0;
}
table.notationsourceshelp th { text-align: left; }
table.notationsourceshelp th, table.notationsourceshelp td
{
  padding: 10px;
  vertical-align: top;
}

p.final
{
  font-size: 110%;
  background: #f8f0e8;
  padding: 10px;
}