@import url(http://fonts.googleapis.com/css?family=Open+Sans:300,400,700);

* {
    box-sizing:border-box;
    -moz-box-sizing:border-box;
}

body {
    margin:0; padding:0;
    height:100%;
    font:16px Corbel;
}

#showcase {
    overflow:hidden;
    white-space:nowrap;
    width:100%; height:calc(100% - 180px);
}

#showcase .work {
    display:inline-block;
    width:100%; height:100%;
    position:relative;
}

#showcase .image {
    width:100%; height:100%;
    background:#1c1c1c center / cover no-repeat;
/*    background:#1c1c1c center / contain no-repeat;*/
}

#showcase img {
    width:100%; height:100%;
}

#footer {
    width:100%; min-height:180px;
    background:#ffb642;
    color:#fff;
}

h1 {
    font:bold 50px Corbel;
    padding:0 20px;
    color:#1c1c1c;
}

h2 {
    font:normal 27px Corbel;
    padding:0 20px;
    color:#1c1c1c;
}

a.small {
    font-weight:normal;
    font-size:14px;
    display:block;
    width:100px;
    text-decoration:underline;
    text-indent:2px;
    cursor:pointer;
}

#logo {
    margin:0; padding:20px 45px;
	font-size:24px;
    line-height:30px;
    display:inline-block;
}

#logo small {
    display:block;
    font:300 16px Corbel;
	line-height:20px;
    text-indent:0px;
}

#ticker {
    margin:0; padding:0;
    list-style:none;
    min-width:100%; height:30px;
    background:#1c1c1c;
    font:14px Times New Roman;
    line-height:32px;
    position:relative;
    overflow:hidden;
    white-space:nowrap;
}

#ticker li {
    display:none;
}

#ticker #tickermessage {
    display:inline-block;
    padding:0px 50px;
    position:absolute; top:0; right:0;
    min-width:100%;
}

#impressum {
    display:inline-block;
    float:right;
    margin:0; padding:31px 30px;
}

.label {
    display:inline-block;
    width:70px;
}

a {
    color:#1c1c1c;
    text-decoration:none;
}

/* ADMIN SITE */
.admin, .login {
    background:#f3f3f3;
    -webkit-user-select:none;
}

.admin section {
    text-align:center;
    max-width:700px;
    margin:0 auto; padding:10px 0;
}

.admin h1, .admin h2 {
    width:700px;
    margin:30px auto 30px; padding:0;
}

.content {
    width:340px; height:240px;
    display:inline-block;
    border-radius:4px;
    box-shadow:0 0 0 4px transparent, 0 1px #fff;
    position:relative;
    -webkit-transition:opacity .4s ease, box-shadow .4s ease;
    -moz-transition:opacity .4s ease, box-shadow .4s ease;
    -ms-transition:opacity .4s ease, box-shadow .4s ease;
    -o-transition:opacity .4s ease, box-shadow .4s ease;
    transition:opacity .4s ease, box-shadow .4s ease;
}

.content.hidden {
    opacity:0.3;
    pointer-events:none;
}

.content:nth-child(2n-1) {
    margin-right:20px;
}

.content:nth-child(n-2) {
    margin-bottom:20px;
}

.content.active {
    box-shadow:0 0 0 4px #1c1c1c;
}

.content.clone {
    opacity:0;
    position:relative!important; left:0!important; top:0!important;
}

#add {
    cursor:pointer;
}

#add:after {
    pointer-events:none;
    content:'Bilder hinzufügen';
    position:absolute; bottom:40px; left:0;
    width:100%;
    color: #888;
}

.loader {
    position:absolute; top:105px; left:0;
    width:100%; height:30px;
    text-align:center;
    font:14px Corbel;
}

input#upload {
    width:100%; height:100%;
    position:absolute; top:0; left:0;
    opacity:0;
    cursor:pointer;
}

.image {
    width:100%; height:200px;
    background:center / cover no-repeat;
    border-radius:4px 4px 0 0;
}

.image:last-child {
    background-size:inherit;
    height:240px;
    background-color:#fafafa;
    box-shadow:0 1px rgba(0,0,0,.1);
}

.color {
    width:100%; height:40px;
    border-radius:0 0 4px 4px;
    cursor:pointer;
}

.color:active {
    box-shadow:inset 0 40px rgba(0,0,0,.03);
}

.delete-image {
    background:url(../delete.png);
    width:34px; height:31px;
    position:absolute; top:10px; right:10px;
    opacity:0;
    -webkit-transition:opacity .4s ease;
    -moz-transition:opacity .4s ease;
    -ms-transition:opacity .4s ease;
    -o-transition:opacity .4s ease;
    transition:opacity .4s ease;
    cursor:pointer;
}

.content:hover .delete-image {
    opacity:1;
}

.active .delete-image {
    opacity:0!important;
    pointer-events:none;
}

input[type=text], input[type=password] {
    color:#444;
    border:0;
    margin:0 10px 20px 0; padding:11px 13px 7px;
    font:14px Corbel;
    border-radius:4px;
    box-shadow:0 1px rgba(0,0,0,.2);
}

input[type=submit] {
    line-height:32px; height:32px;
    border:none;
    background:#1c1c1c;
    color:#fff;
    border-radius:4px;
    font:14px Corbel;
    padding:3px 0 0;
}

#tickercontent input {
    width:500px;
}

.delete-message {
    display:inline-block;
    width:190px;
    text-align:center;
    background:#1c1c1c;
    color:#fff;
    border-radius:2px;
    height:35px;
    line-height:35px;
    cursor:pointer;
}

.save {
    border:none;
    border-radius:2px;
    background:#1c1c1c;
    color:#fff;
    font:16px Corbel;
    padding:13px 0 10px;
    display:block;
    width:150px;
    text-align:center;
}

.save.blink {
    background:#fff;
    color:#1c1c1c;
}

/* COLOR PICKER */
.colorpicker {
    width:220px;
    padding:10px;
    position:absolute; top:10px; left:10px;
    z-index:2;
    background-color:#fff;
    box-shadow:0 1px rgba(0,0,0,.1);
    border-radius:4px;
}

.colorpicker, #confirmdelete {
    -webkit-transition:opacity .4s ease;
    -moz-transition:opacity .4s ease;
    -ms-transition:opacity .4s ease;
    -o-transition:opacity .4s ease;
    transition:opacity .4s ease;
}

.spectrum, .hue {
    position:relative;
    display:inline-block;
    border-radius:2px;
    height:180px;
    border-radius:2px;
}

.spectrum {
    width:180px;
    margin-right:10px;
    background:-webkit-linear-gradient(bottom, black, transparent), -webkit-linear-gradient(left, white, transparent);
    background:-moz-linear-gradient(bottom, black, transparent), -moz-linear-gradient(left, white, transparent);
    background:-ms-linear-gradient(bottom, black, transparent), -ms-linear-gradient(left, white, transparent);
    background:linear-gradient(bottom, black, transparent), linear-gradient(left, white, transparent);
    background-color:#f00;
}

.hue {
    width:10px;
    background:-webkit-linear-gradient(top,#f00,#f0f,#00f 33%,#0ff,#0f0 66%,#ff0,#f00);
    background:-moz-linear-gradient(top,#f00,#f0f,#00f 33%,#0ff,#0f0 66%,#ff0,#f00);
    background:-ms-linear-gradient(top,#f00,#f0f,#00f 33%,#0ff,#0f0 66%,#ff0,#f00);
    background:linear-gradient(top,#f00,#f0f,#00f 33%,#0ff,#0f0 66%,#ff0,#f00);
}

.choose {
    position:absolute; top:-5px; left:-5px;
    width:10px; height:10px;
    box-shadow:0 0 0 2px #fff, 0 0 0 3px rgba(0,0,0,0.3);
    border-radius:50%;
    pointer-events:none;
}

.hue .choose {
    left:0!important;
}

.output, #savecolor {
    display:inline-block;
    margin-top:10px;
    vertical-align:top;
}

.output {
    width:65px; height:30px;
    background:red;
}

#oldcolor { border-radius:2px 0 0 2px; }
#output { border-radius:0 2px 2px 0; }

#savecolor {
    font:13px Corbel;
    color:#555;
    width:60px; height:30px;
    line-height:30px;
    margin-left:10px;
    cursor:pointer;
    background:#f0f0f0;
    text-align:center;
}

#confirmdelete {
    display:none;
    opacity:0;
    z-index:3;
    text-align:center;
    margin:0; padding:90px 0;
    width:340px; height:240px;
    position:absolute;
    background: rgba(28,28,28,.83);
    color:#fff;
    font-size:24px;
    font-weight:normal;
}

#confirmdelete span {
    display:inline-block;
    width:70px;
    font-size:16px;
    margin:10px 5px 0;
    background:#000;
    border-radius:4px;
    padding:8px 5px 5px;
    cursor:pointer;
}

#confirmdelete span:hover {
    background:#1c1c1c;
}

/* LOGIN SITE */
#loginform {
    display:block;
    background:#fff;
    width:300px;
    margin:50px auto; padding:20px;
    border-radius:4px;
    box-shadow:0 1px rgba(0,0,0,.2);
}

#loginform input {
    display:block;
    width:260px;
}

.login h1 {
    margin:0 0 20px; padding:0;
}

.error {
    display:block;
    margin:0 0 10px;
    color:#e22;
}
