/*essentials START*/
h1,
h2,
h3 {
  color: #009959;
}

textarea {
  height: 10em;
}

/*essentials END*/


/*helpers START*/
#wpbody-content .displaynone,
.displaynone {
  display: none;
}

.margin-bottom {
  margin-bottom: 2em;
}

.background.transparent,
.head.background.transparent {
  background: transparent;
}

.cleanlink {
  text-decoration: none;
}

.alertbox {
  margin-bottom: 3em;
  padding: 15px;
  border: 1px solid transparent;
  border-color: #ffd6b2;
  border-top-width: 0;
  border-right-width: 2px;
  border-bottom-width: 0;
  border-left-width: 2px;
  border-radius: 4px;
  background-color: #ffe4cc;
  color: #e67e22;
}

.alertbox h2 {
  font-weight: bolder;
  color: #e67e22;
}

.success {
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 5px 10px;
  border: green 1px solid;
  background-color: rgba(153, 231,132, .5);
  color: green;
}

.big-textarea {
  width: 100%;
  height: 8em;
}

.fullwidth {
  width: 100%
}

.has-top-space {
  margin-top: 2em;
}
/*helpers END*/

/* header START */

.headarea {
  display: flex;
  justify-content: space-between;
  padding: 20px 20px 0 0;
}

/* header END */

/*layout START*/
.schMainContainer {
  overflow-x: auto;
  margin-top: 20px;
  margin-right: 20px;
  padding: 20px;
  border: 1px solid #009959;
  background: #fff;
  color: #333;
}

.msgInner {
  margin-bottom: 0;
  padding: 10px;
  border: 1px solid green;
  background-color: rgba(154,222,109,.5);
  color: green;
}

.userflag span {
  display: inline-block;
  width: 190px;
  font-weight: bold;
  color: #009959;
}

#accordion .ui-state-active,
#accordion .ui-widget-content .ui-state-active,
#accordion .ui-widget-header .ui-state-active,
#accordion a.ui-button:active,
#accordion .ui-button:active,
#accordion .ui-button.ui-state-active:hover {
  border: 1px solid #333;
  background: #333;
  font-weight: normal;
  color: #fff;
  outline: none;
}
/*layout END*/


/*layout: buttons START*/
.custombutton,
.custombutton:focus {
  padding: .5em 1.5em;
  outline: none;
  border: none;
  border-radius: 4px;
  background: #009959;
  background:    -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0) 100%), #009959;
  background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 100%), #009959;
  background:         linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 100%), #009959;
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#00000000',GradientType=0 ), #009959;
  text-transform: uppercase;
  font-size: 1em;
  cursor: pointer;
  color: #fff;
}

.custombutton:hover {
  background: #009959;
  background:    -moz-linear-gradient(top,  rgba(0,0,0,.2) 0%, rgba(0,0,0,.2) 100%), #009959;
  background: -webkit-linear-gradient(top,  rgba(0,0,0,.2) 0%,rgba(0,0,0,.2) 100%), #009959;
  background:         linear-gradient(to bottom,  rgba(0,0,0,.2) 0%,rgba(0,0,0,.2) 100%), #009959;
  -webkit-box-shadow: inset 0 0 0 1px #009959;
     -moz-box-shadow: inset 0 0 0 1px #009959;
          box-shadow: inset 0 0 0 1px #009959;
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#33000000', endColorstr='#33000000',GradientType=0 ), #009959;
}

.accent.custombutton,
.accent.custombutton:focus {
  background: #0073aa;
  background:    -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0) 100%), #0073aa;
  background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 100%), #0073aa;
  background:         linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 100%), #0073aa;
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#00000000',GradientType=0 ), #055880;
}

.accent.custombutton:hover,
.accent.custombutton:active {
  background: #0073aa;
  background:    -moz-linear-gradient(top,  rgba(0,0,0,.2) 0%, rgba(0,0,0,.2) 100%), #0073aa;
  background: -webkit-linear-gradient(top,  rgba(0,0,0,.2) 0%,rgba(0,0,0,.2) 100%), #0073aa;
  background:         linear-gradient(to bottom,  rgba(0,0,0,.2) 0%,rgba(0,0,0,.2) 100%), #0073aa;
  -webkit-box-shadow: inset 0 0 0 1px #0073aa;
     -moz-box-shadow: inset 0 0 0 1px #0073aa;
          box-shadow: inset 0 0 0 1px #0073aa;
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#33000000', endColorstr='#33000000',GradientType=0 ), #055880;
}



/*layout: buttons END*/


/*layout: responsive table START*/
.responsivetable {
  display: flex;
  margin: 0 0 3em 0;
  padding: 0;
  flex-wrap: wrap;
  hyphens: auto;
  word-wrap: normal;
}

.responsive-row {
  display: flex;
  padding: 0;
  flex-wrap: wrap;
  flex-basis: 100%;
}

.has-buttons-firstcell .responsive-row:nth-child(2n+2) .responsivetable-cell:not(:first-child) {
  background: #ccc;
}

.responsivetable-cell.head {
background: #333;
color: #fff;
}

.has-buttons-firstcell .responsivetable-cell.head:first-child {
  background: transparent;
}

.responsivetable-cell {
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  padding: .8em 1.2em;
  border: solid 3px #fff;
  background: #eae8e8;
  list-style: none;
  flex-grow: 1;
}

#teilnehmerTable .subcat .responsivetable-cell.colspan3 {
  padding-left: 5%;
  background: #eae8e8;
}

#teilnehmerTable .maincat .responsivetable-cell.colspan3 {
  background: #ccc;
}



.responsivetable-cell.button-only {
  display: flex;
  padding: .8em 1.2em;
  border: none;
  text-decoration: none;
  align-items: center;
  justify-content: space-between;
}

#wpbody-content .button-only {
  background: none;
}

.responsivetable-cell.button-only a:not(:first-child) {
  margin-left: .5em;
}

.responsivetable_6cols .responsive-row > .responsivetable-cell {
  width: 16.66%;
}

.responsivetable_2cols .responsive-row > .responsivetable-cell {
  width: 50%;
}

.responsivetable_3cols .responsive-row > .responsivetable-cell {
  width: 33%;
}

.responsivetable_6cols .responsive-row > .responsivetable-cell.colspan3 {
  width: 49.98%;
}

.responsivetable_11cols .responsive-row > .responsivetable-cell {
  width: 9.09%;
}

.responsive-row > .responsivetable-cell:nth-child(3) {
  word-break: break-word;
}

.responsivetable-cell input:not[type="submmit"],
.responsivetable-cell select {
  width: 100%;
  height: 100%;
}

.newscolor .responsivetable-cell:not(.button-only) {
  background: #c8e8fa!important;
}

.jobcolor .responsivetable-cell:not(.button-only) {
  background: #fcf2c5!important;
}

.angebotscolor .responsivetable-cell:not(.button-only) {
  background: #e8e4ff!important;
}

.responsive-row.ad {
  border-bottom: 1px solid #ddd;
  padding-bottom: 35px;
  margin-bottom: 35px;
}

/*layout: responsive table END*/


/*layout: posts legend START*/
.legend {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  padding: 0  3px 3px 3px;
  text-align: right;
}


.legend .has-colorfield {
  position: relative;
  padding-left: 1.5em;
}

.legend .has-colorfield:before {
  position: absolute;
  top: -0.13em;
  left: 0;
  content: '•';
  font-size: 3em;
}

.legend .newspost:before {
  color: #c8e8fa;
}

.legend .angebotspost:before {
  color: #e8e4ff;
}

.legend .jobpost:before {
  color: #fcf2c5;
}

.legend .active:before {
  color: rgba(144,235,146, 0.8);
}
/*layout: posts legend END*/

/*layout: form START */
.default-lang-form {
  width: 100%;
}

.schMainContainer label {
  width: 20%;
  font-weight: bold;
}

.schMainContainer input[type="text"],
.schMainContainer textarea,
 .schMainContainer select {
  width: 80%;
}

.schMainContainer .inputgroup {
  margin: 10px 0;
  display: flex;
}

.messageContainer {
  width: calc(100% - 20px);
}

/*layout form END */


/*layout: usermailings START*/
.usermailings label:nth-child(2) {
  padding-left: 3em;
}
/*layout: usermailings END*/

/*layout: Lang Image upload START */

.flag-cell {
  text-align: center;
}

.flag-cell img {
  max-height: 60px;
}

.sublanguages {
  list-style: disc;
  padding-left: 40px;
}

.schMainContainer .btnRst {
  float: right;
  margin-top: -30px;
}
/*layout: Lang Image upload END */

/*layout: uebersetzung START */

.schMainContainer details {
  border-top: 1px solid #009959;
  padding: 15px 0;
  cursor: pointer;
}

.schMainContainer details:last-child {
  border-bottom: 1px solid #009959;
}

.langflag.small img {
  max-width: 30px;
  margin-right: 15px;
}

.add_translations label {
  width: 15%;
}

.add_translations input[type="text"] {
  width: 85%;
}

.add_translations label,
.add_translations input[type="text"],
.add_translations li {
  display: flex;
}

/*layout: uebersetzung END */

/*media queries START*/
@media only screen and (max-width : 1710px) {
  .responsive-row:not(.no-mobile-separations) {
    border: 0;
  }

  .responsive-row.ad:not(.no-mobile-separations) {
    margin-bottom: 2em;
    padding-bottom: 2em;
    border-bottom: 1px solid #ddd;
  }
}

@media only screen and (max-width : 768px) {
  .has-buttons-firstcell .responsivetable-cell.head:first-child,
  .has-buttons-firstcell .responsivetable-cell.head.button-inside {
    display: none;
  }

  .responsivetable_11cols .responsive-row > .responsivetable-cell {
    width: 18.18%;
  }

  .responsivetable_6cols .responsive-row > .responsivetable-cell.button-only,
  .responsivetable_2cols .responsive-row > .responsivetable-cell.button-only,
  .responsivetable_3cols .responsive-row > .responsivetable-cell.button-only,
  .responsivetable_11cols .responsive-row > .responsivetable-cell.button-only {
    width: 100%;
  }
}
/*media queries END*/
