/* REGISTER */


/* Enkel sök */

.simple-search {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  max-width: 570px;
}


.simple-search input[type="text"] {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  width: calc(100% - 100px) !important;
  max-width: 490px;
}

.simple-search input[type="submit"] {
  min-height: 0;
  margin: 0 0 10px 10px;
  line-height: 1;
}

/* Formulär */

.sv-proxy-portlet input[type="text"] {
  width: 100%;
  margin: 0 0 10px;
  padding: 10px;
  font-size: 1.6rem;
}

.sv-proxy-portlet h2 {
  margin: 0 0 20px;
}

.sv-proxy-portlet hr {
  color: #e4e4e5;
  background: #e4e4e5;
  border:0;
  height: 1px;
  margin: 30px 0;
  clear: both;
}

.sv-proxy-portlet p:empty {
  display: none;
}

.sv-proxy-portlet #adv input[type="submit"],
.sv-proxy-portlet #adv input[type="reset"] {
  margin: 20px 0 0;
}


/* SÖKTRÄFFAR */

.sv-proxy-portlet table {
  width: 100%;
  border-collapse: collapse;
}

.sv-proxy-portlet tr:nth-child(odd) {
}

.sv-proxy-portlet table td {
  padding: 10px 5px;
  vertical-align: top;
}

.sv-proxy-portlet table p {
  margin: 0;
}

.sv-proxy-portlet td:first-child p {
  font-weight: bold;
}

/* KMH CD */

.sv-proxy-portlet .kmh-cd {
  overflow-x: auto;
}

.sv-proxy-portlet .kmh-cd td:first-child p {
  font-weight: normal;
}

.sv-proxy-portlet .kmh-cd tr:first-child {
  font-weight: bold;
}

.sv-proxy-portlet .kmh-cd tr:nth-child(even) {
  background: #fdf2f6;
}

/* KMH Songs */

.kmh-songs h2 + span {
  margin: 0 0 30px;
}

.kmh-cd h2 + span + p,
.kmh-songs h2 + span + p,
.kmh-periodica h2 + span + p {
  margin: 0 0 50px;
  color: #777;
}

.kmh-songs ul li table:before  {
  position: absolute;
  top: 10px;
  left: 20px;
  content: counter(result-counter) '.';
  counter-increment: result-counter;
  display: inline-block;
  vertical-align: middle;
  padding: 12px 5px;
  font-weight: bold;
}

.kmh-songs ul li {
  margin: 0 0 20px;
  padding: 50px 20px 20px;
}

.kmh-songs ul li:nth-child(odd) {
  background: #fdf2f6;
}

/* KMH Periodica */

.kmh-periodica ol,
.kmh-songs ul  {
  padding: 0;
  counter-reset: result-counter;
  list-style-type: none;
}

.kmh-periodica li,
.kmh-songs li  {
  position: relative;
}

.kmh-periodica ol li a:before  {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  content: counter(result-counter) '.';
  counter-increment: result-counter;
  display: inline-block;
  vertical-align: middle;
  padding: 12px 5px;
  min-width: 28px;
  color: #777;
  border-right: 1px dotted rgba(0, 0, 0, .05);
  text-align: center;
}

.kmh-periodica li a,
.kmh-songs li a {
  display: block;
  padding: 12px 10px 12px 50px;
  text-decoration: none;
}

.kmh-periodica li a:hover,
.kmh-periodica li a:focus {
  text-decoration: underline;
}

.kmh-periodica li:nth-child(odd) a {
  background: #fdf2f6;
}

.kmh-periodica > span {
  margin: 0 0 30px;
}

/* EVI Anmälan */

.main-container label {
  display: block;
  margin: 20px 0 5px;
  font-weight: bold;
}

.main-container label + div {
  font-size: 1.5rem;
   margin: 0 0 1rem;
}


.sv-proxy-portlet fieldset label {
  margin: 0;
  font-weight: normal;
}

.main-container .row {
  margin: 0;
}

.main-container .container-inline.form-inline {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin: 0 -10px;
}

.main-container .container-inline.form-inline > div {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 50%;
          flex: 1 1 50%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0 10px;
}

.main-container input[type="text"],
.main-container input[type="tel"],
.main-container input[type="email"],
.main-container input[type="url"],
.main-container input[type="date"],
.main-container input[type="time"],
.main-container textarea {
  display: block;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0 0 30px;
  padding: 10px;
  font-size: 1.6rem;
  font-family: "Open sans";
}

.main-container .form-type-radio label {
  position: relative;
  padding: 5px 0 5px 30px;
  font-size: 15px;
}

.main-container .form-type-radio label input {
  position: absolute;
  top: 9px;
  left: 0;
}

.main-container button {
  margin: 20px 0 0;
}

.main-container fieldset {
  margin: 50px 0 20px;
  padding: 10px 0;
  border: none;
}

.main-container legend {
  width: 100%;
  margin: 0 0 20px;
  padding: 0 0 5px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 2rem;
  font-weight: bold;
}

.main-container {
  width: 100%;
  margin: 0 0 20px;
  padding: 0 0 5px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 2rem;
}


.main-container .panel-title {
  font-weight: bold;
}




.main-container .help-block {
  color: #777;
  font-size: 1.3rem;
  line-height: 140%;
}

.main-container .field-multiple-table {
  margin: 30px 0 0;
  background: #f5f5f5;
}

.main-container .field-multiple-table .form-item {
  padding: 0 10px 10px;
}
.main-container input[type="file"] {
  font-family: 'Open sans';
  font-size: 1.6rem;
}

/* Döljer saker i EVI-anmälan */

.form-item-field-stage-plot-0 .description.help-block,
.tabledrag-toggle-weight {
  display: none;
}

.main-container .form-required::after {
  content:'*';
  display: inline-block;
  margin: 0 0 0 5px;
  color: #e1001a;
}

/* Felmeddelanden EVI */

.alert {
  position: relative;
  padding: 15px;
  margin-bottom: 20px;
  background: #555;
  color: #fff;
  font-style: italic;
}

.alert-warning {
  background: #e16500;
}

.alert-danger {
  background: #e1001a;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.alert-dismissable .close,
.alert-dismissible .close {
  position: absolute;
  top: 15px;
  right: 5px;
  padding: 0 10px;
  color: inherit;
  font-size: 2.8rem;
  text-decoration: none;
}
