

/** 
 * Forms 
 *
 * see: https://blog.kulturbanause.de/2015/03/formular-styling-mit-css-select-listen-radio-buttons-und-checkboxen-individuell-gestalten/
 * see: https://media.kulturbanause.de/blog/2015/03/form-styling/form-styling.html
 */

 
/* Label */
.styled-form label {
  display: inline-block;
  width: 100%;
}

.styled-form label {
  margin: .2em 0;
}
  
/* Remove standard-styles */
.styled-form input, .styled-form select, .styled-form textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border:none;
  border-radius: 0;
  font-size: 1em;
  width: 100%
} 

/* Input & Textarea */
.styled-form input, .styled-form textarea {
  background-color: white;
  padding: .75em 1em .5em 1em;
}

.styled-form textarea {
  resize:vertical;
}

.styled-form input:hover,
.styled-form input:active,
.styled-form textarea:hover,
.styled-form textarea:active {

}

.webform-client-form .form-managed-file .form-submit {
  color: #fff;
  margin-top: 0.75em;
  font-size: 1.55em !important;
  padding: 0.45em !important;
  margin-bottom: 1em;
}


/* Select */
.styled-form select {
  width:100%;
  border: 1px solid #bbb;
  padding: .75em 1em .5em 1em;
  box-shadow: 0 2px 1px 0 rgba(0,0,0,0.2);
  background-color: white;
  /* background-image: url(select-arrow.png); */
  background-position: right;
  background-repeat: no-repeat;
}

.styled-form select:hover {
  box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1);
}

/* Hide browser-styling in IE 10 */
.styled-form select::-ms-expand {
  display: none;
}

/* Hide custom-icons in lower versions of Internet Explorer (< IE10). */
.styled-form .lt-ie10 select { 
  background-image: none; 
}

/* Graceful degradation for ie8 */
.styled-form input[type='checkbox'],
.styled-form input[type='radio'] {
  width:auto;
  float:left;
  margin-right: .75em;
  background:transparent;
  border:none;
}


/* Better styling only for modern browsers. To identify them, check for pseudoclass (:checked, :not(:checked)) */

/* Hide standard inputs */
.styled-form input[type='checkbox']:checked,
.styled-form input[type='checkbox']:not(:checked),
.styled-form input[type='radio']:checked,
.styled-form input[type='radio']:not(:checked) {
  background: transparent;
  position: absolute;
  visibility: hidden;
  margin:0;
  padding:0;
}

.styled-form input[type='checkbox'] + label,
.styled-form input[type='radio'] + label {
  cursor: pointer;
}

/* Add custom inputs with ::before */
.styled-form input[type='checkbox']:checked + label::before, 
.styled-form input[type='checkbox']:not(:checked) + label::before,
.styled-form input[type='radio']:checked + label::before,
.styled-form input[type='radio']:not(:checked) + label::before {
  content: ' ';
  display: block;
  width: 1.8em;
  height: 1.8em;
  border: 0.6em solid #fff;
  position: relative;
  background: #fff;
  float: left;
}

.styled-form input[type=radio]:checked + label::before,
.styled-form input[type=radio]:not(:checked) + label::before {
  border-radius: 3em;
}

.styled-form input[type='checkbox']:hover  + label::before,
.styled-form input[type='radio']:hover  + label::before {
  
}
  
.styled-form input[type='checkbox']:checked  + label::before,
.styled-form input[type='radio']:checked  + label::before {
  background: #8dae10;
}


/* User login */
form#user-login {
  margin-top: 3.6em;
}


/* User login */
.rubin-form-para a {
  text-decoration: underline;
}

.rubin-form-para-1 {

}

.rubin-form-para-2 {
  
}




/* - - - - - - - - - - - - - - - - - - - - */




/* rub-in-den-medien-form node/6030 */
.rub-in-den-medien-form .group-left {
  margin-bottom: 0 !important;
}

.page-node-6030 .group-left .group-left-inner {
  padding-bottom: 2em !important;
}

.page-node-6030 #content .last-child {
  padding-bottom: 3.6em;
}

.page-node-6030 .webform-component-textfield input,
.page-node-6030 .webform-component-email input {
  width: 100%;
  box-sizing: border-box;
}

@media only screen and (max-width: 1130px) { 
  
  .page-node-6030 #content .last-child {
    padding-bottom: 1.8em;
  }
}

@media only screen and (max-width: 700px) {  
  
  .page-node-6030 #content .last-child {
    padding-bottom: 0;
  }
}
