body {
	margin: 0;
	padding: 0;
	font-family:'Open Sans',"Helvetica Neue",Helvetica,Arial,sans-serif;
	font-size:14px;
	line-height:22px;
	color: #093d52;
	font-weight:300;
	min-width: 100%;
}

* { box-sizing: border-box; }
.clear { clear: both; }

input {
    /* -webkit-appearance: none; */
}

.clear {
	clear: both;
}

.seperator {
	width: 100%;
	height: 1px;
	border-top: solid 1px #5c9954;
	margin: 40px 0 40px 0;
}

.wrap {
	width: 100%;
	padding: 10px;
	box-sizing: border-box;
}

.wrap_inner {
	width: 95%;
	max-width: 940px;
	margin: auto;
	box-sizing: border-box;
}

/* Hintergrundfarben */

.bg_grey { background: #f3f3f3; }
.bg_black { background: #000000; }
.bg_darkred { background: #c1272c !important; }
.bg_lightred { background: #ec1c23; }



.w100 { width: 100%; }
.w75 { width: 75%; }
.w50 { width: 50%; }
.w30 { width: 33%; }
.w25 { width: 25%; }

@media screen and (max-width: 600px) {
	.w100 { width: 100%; }
	.w75 { width: 100%; }
	.w50 { width: 100%; }
	.w30 { width: 100%; }
	.w25 { width: 100%; }
}

.p5 { padding: 5px; }
.p10 { padding: 10px; }

.aligncenter { text-align: center; }
.alignleft { text-align: left; }
.alignright { text-align: right; }

.left { float: left; }
.right { float: right; }

/* Container */

#footer {
	text-align: center;
	padding: 10px 0 10px 0;
	margin: 40px auto 0 auto;
	box-sizing: border-box;
}

#header {
	text-align: center;
	padding: 10px 0 10px 0;
	margin: 0 auto 0 auto;
	box-sizing: border-box;
}

/* Navigation */

#navigation {
	width: 100%;
	color: #ffffff;
	box-sizing: border-box;
}

#navigation a {
	color: #ffffff;
	text-decoration: none;
	padding: 5px;
}

#navigation a:hover {
	color: #ec1c23;
	background: #ffffff;
}

#navigation ul {
	list-style: none;
	margin: 0;
	padding: 10px 0 10px 0;
	text-align: center;
}

#navigation ul li {
	display: inline;
}

/* Systemmeldungen */

.messagebox {
	width: 100%;
	box-sizing: border-box;
	margin: 20px auto 20px auto;
	text-align: center;
}

.error {
	border: solid 1px #d8000c;
	color: #d8000c;
	background: #ffbaba;
}

.info {
	border: solid 1px #00529B;
    color: #00529B;
    background-color: #BDE5F8;
}

.success {
	border: solid 1px #4F8A10;
    color: #4F8A10;
    background-color: #DFF2BF;
}

.warning {
	border: solid 1px #9F6000;
    color: #9F6000;
    background-color: #FEEFB3;
}


/* Tabellen */

table {
    border: 1px solid #ddd;
    width: 100%;
	box-sizing: border-box;
	border-collapse: collapse;
}

th, td {
    padding: 20px 5px 20px 5px;
    border-bottom: 1px solid #ddd;
	box-sizing: border-box;
}

th {
    height: 40px;
    text-align: left;
    color: white;
	white-space: nowrap;
}

td {
    height: 40px;
    vertical-align: middle;
	text-align: left;
}

tr:nth-child(even) {
	background-color: #f2f2f2;
}

tr:hover {
	background-color: #ec1c23;
    color: white;
}

td a {
	text-decoration: none;
	color: #093d52;
}

tr:hover a {
    color: white;
}

tr:hover a:hover {
	text-decoration: underline;
}

td.first { width: 25%; }


/* Formulare in Tabellen */

td input[type=text], td input[type=submit] { float: left; }







/* Login Startseite */

form.login {
	text-align: center;
}

form.login label {
	width: 100%;
	text-align: center;
	font-weight: bold;
	box-sizing: border-box;
}

form.login input[type=text], form.login input[type=password], td input[type=text], form.album input[type=text], .textfield {
	border: solid 1px #dddddd;
	padding: 5px;
	width: 50%;
	box-sizing: border-box;
	display: block;
	margin: auto;
	text-align: center;
}

form.album input[type=text] {
	width: 100%;
	text-align: left;
}

.textfield {
	width: 100%;
	text-align: left;
}

.textarea {
	height: 80px;
}

form.login input[type=submit], td input[type=submit], form.album input[type=submit], .submit, .uploadifive-button {
	background: #505C5E;
	padding: 5px 10px 5px 10px;
    font-size: 14px;
	border: none;
	color: #ffffff;
	height: 30px; 
	margin-right: 10px;
	text-decoration: none;
}

/* Formular Saison-Auswahl */

#show_season select {
	float: right;
	display: inline-block;
	margin: 20px 0 20px 0;
	height: 20px;
}



/* Paginierung */

.pagination {
	text-align: center;
	margin: 40px 0 0 0;
}




/* Text-Formatierung */

h3 {
	width: 100%;
	padding: 20px 0 20px 0;
	margin: 0;
	line-height: 20px;
	vertical-align: middle;
}


/* Aufzählungen */

#content ul { list-style: none; margin: 0; padding: 0; }

#content ul li { line-height: 250%; vertical-align: middle; padding: 0 10px 0 10px; box-sizing: border-box; border: solid 1px #f2f2f2; }

#content ul li:nth-child(even) {
	background-color: #f2f2f2;
}



/* Album Detail Ansicht */

.flex_container { display: flex; align-items: stretch; flex-wrap: wrap; justify-content: space-between; }

.flex_container:after {
  content: "";
  flex: auto;
}

.albumoverview IMG { max-height: 133px; }

.photo_single IMG { width: 100%; height: auto; }



/* Delete Button */

#photo_delete {  }
#photo_delete p { text-align: center; }
#photo_delete a { padding: 10px; background: #093050; color: #ffffff; text-decoration: none; font-weight: bold; margin: 0 10px; }
#photo_delete a:hover { text-decoration: underline; }

.button { padding: 10px; background: #093050; color: #ffffff; text-decoration: none; font-weight: bold; margin: 0 10px; }
.button:hover { text-decoration: underline; }

/* FTP-Import */

.checkbox { /*width: 20px; height: 20px; */ }

/* iPhone Anpassungen */

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {

/* Spezielle Klassen */
.nomobile { display: none; }

/* Bestellungen - Suchformular */
#bestellungen_suche input[type=text] {
	width: 50%;
}

#bestellungen_suche input[type=submit] {
	width: 25%;
}

/* Tabellen */
th, td { font-size: 11px; line-height: 14px; }



}

.uploadifive-button{
	float: left;
	margin: 0;
	padding: 0;
}

input[type=submit] { top: 0px; }

#uploadifive-file_upload { margin-top: -5px !important; }

.uploadifive-button:hover { cursor: pointer; }

.uploadifive-queue-item {
	background-color: #F5F5F5;
	border-bottom: 1px dotted #D5D5D5;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	font: 12px Arial, Helvetica, Sans-serif;
	margin-top: 3px;
	padding: 15px;
}
.uploadifive-queue-item .close {
	background: url('images/uploadifive-cancel.png') 0 0 no-repeat;
	display: block;
	float: right;
	height: 16px;
	text-indent: -9999px;
	width: 16px;
}
.uploadifive-queue-item .progress {
	border: 1px solid #D0D0D0;
	height: 3px;
	margin-top: 5px;
	width: 100%;
}
.uploadifive-queue-item .progress-bar {
	background-color: #c1272c;
	height: 3px;
	width: 0;
}