/* ============================================================ */
/* CSS-Design für Webformulare UB Weimar von UB Hildesheim                    */
/* Basierend auf dem Design der Uni-Website stand 2017   */
/* ============================================================ */
    
/* CSS Reset */

* {
	vertical-align: baseline;
	font-weight: inherit;
	font-family: inherit;
	font-style: inherit;
	font-size:18px;
/*	border: 0 none; kup */
        box-sizing: border-box;
    	margin: 0;
	outline: 0;
	padding: 0;
	margin: 0;
	}

/*änderungen kup*/
input, textarea, select {
    width: 100%;
    padding: 12px;
    height: 48px;
    margin-top: 2px;
    border: 1px solid #979FA2; /* z. B. dunkelgrau */
    border-radius: calc(2 / 18 * 1rem);
}
    
body {
/*    font-family: Verdana,"Bitstream Vera Sans","DejaVu Sans",Geneva,sans-serif; kup*/
    font-family: "Fira Sans", sans-serif;
    font-size: 18px;
    color:#4d4d4d;
/*    background-color:#fff kup*/
}
div.container {
    margin:10px auto;
    padding: 20px 8px 10px 12px;
 /*   background: #EEEEEE; kup*/
}
h1 {
    font-size: 140%;
    font-weight: bold;
}
h2 {
    font-size: 120%;
    font-weight: bold;
}
strong, b {
    font-weight: bold;
}
a {
    color: #e3001b;
    text-decoration: none;
}

a:hover, a:focus, a:active {
    color: #4d4d4d;
    text-decoration: none;
}

a :visited{
    color: #e3001b;
    text-decoration: none;
}

.withborder {
    border: 1px solid #4d4d4d;
    padding: 6px;
}
fieldset{
    margin: 26px 0px 0px 0px;
 /*   border: none; kup*/
    border: 2px #98a0a3; 
    padding: 0;
}
input+fieldset {
    margin-top: 0;
    border: 2px #98a0a3; 
}
legend{
    font-size:      110%;
    font-weight:    bold;
    margin: 0px 0px 4px 0px;
}
legend span {
    font-size:      90%;
    font-weight: normal;
}

ul {
    list-style-type: none;
}
li{
    margin: 0px 0px 8px 0px;
}
label{
    margin:10px 0 0 0;
    display: block;

}
input ~ label{
    display: inline;
}
label > span{
    margin: 0 0 2px 0;
}
.required {
    color: #e2001a;
}
span.required {
    font-size: 110%;
}
p.required  {
    text-align: center;
}
select, option {
    width: 100%;
}
.dateselect select {
    width: auto;
    margin-top: 4px;
}
option {
    font-weight: normal;
    padding-left: 10px;
}
optgroup[label] {
    font-weight:bold;
}
input {
	width:100%;
    padding: 2px;
    margin-top: 2px; 
}
textarea {
	width:100%;
    padding: 2px;
    margin-top: 2px; 
}
input[type=text]:hover, input[type=text]:focus, 
textarea:hover, textarea:focus,
select:hover, select:focus {
    outline: 1px dotted #4d4d4d;
}
input[type=button], input[type=submit], input[type=reset] {
    background-color: #d6d6d6;
    color: #4d4d4d;
    border: none;
    padding: 8px 8px;
    text-decoration: none;
    font-weight: bold;
    margin: 4px 2px;
    display: inline-block;
    width: calc(50% - 8px);
}
input[type=button]:hover, input[type=button]:focus,  
            input[type=submit]:hover, input[type=submit]:focus, 
            input[type=reset]:hover, input[type=reset]:focus {
    background-color: #bfbfbf;
}
/* hack to style input-button */
input[type=file] {
    /* hide original input */
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}
label.input_file {
    background-color: #d6d6d6;
    color: #4d4d4d;
    border: none;
    padding: 8px 8px;
    text-decoration: none;
    font-weight: bold;
    margin: 6px 0px 0px 0px;
    width: auto;
    display: inline-block;
}
label.input_file + span {
    margin: 6px 0px 0px 6px;
}
.input_file:hover + label {
    background: #bfbfbf;
}
.input_file:focus  + label {
    background: #bfbfbf;
}
input[type=checkbox]{
	width:auto;
	position:relative; 
	margin:2px 6px 0px 0px;
}
input[type=radio]{
    display: inline;
    margin: 6px 0px;
	width:auto;
}
input[type=radio] + label  {
    margin: 6px 10px 0px 4px;
}
li.zip {
    display: inline-block;
    width: 20%;
}
li.zip+li {
    display: inline-block;
    width: 79%;
}
li.col1 {
    display: inline-block;
    width: 50%;
}
li.col1+li {
    display: inline-block;
    width: 49%;
}
div.framed_radio {
    padding: 4px 8px 4px 8px;
    border: 0px solid #4d4d4d;
    background-color: #FFFFFF;
}
.framed_radio label{
    display: inline-block;
}
.framed_radio li{
    margin: 0px 0px 0px 0px;
}

/* Formatierung für die Anzeige von Fehleingaben im Formular */       
span.averror, p.averror, label.averror,  h2.averror {
	color:#C00000;
    font-weight:bold;
	}
textarea.averror, input.averror, div.averror{
	border-color: #e2001a;
	border-style: solid;
	border-width: medium;
	padding: 3px;
}


@media only screen and (min-device-width:980px) and (min-width:451px){
    body {
        font-size: 14px;
    }
}
@media only screen and (min-width:361px) {
    div.container {
        margin: 10px auto;
        padding: 20px 12px 10px 20px;

    }
}

