/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 18.04.2015, 14:27:34
    Author     : Timo
*/
*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body{
    margin:0;
    padding:0;
    background:#e0e0e0;
    font-family:Verdana,Arial,sans-serif;
    color:white;
    font-size: 100%;
}

.small{
    font-size:0.6em;
}

.button{
    display:block;
    float:left;
    background:#919191;
    padding:8px;
    margin:8px;
    text-decoration: none;
    color: #fff;
}

.button:hover{
    background:#616161;
}

#container{
    margin: 0 auto;
}

#image-container, #plupcontainer{
    overflow:hidden;
    padding:12px;
}
    
.box{
    float:left;
    position:relative;
    width:50%;
    padding-bottom:50%;
}

@media screen and (min-width: 30em) {
    .box{
        width:25%;
        padding-bottom:25%;
    }
}

@media screen and (min-width: 55em) {
    .box{
        width:20%;
        padding-bottom:20%;
    }
}

@media screen and (min-width: 72em) {
    .box{
        width:16.66666666667%;
        padding-bottom:16.66666666667%;
    }
}

@media screen and (min-width: 90em) {
    .box{
        width:10%;
        padding-bottom:10%;
    }
}

#admin-bar{
    clear:both;
	background:#616161;
	overflow:hidden;
	padding:6px;
	max-height:38px;
}

#admin-bar ul.title{
    float:left;
}

#admin-bar ul{
	list-style:none;
	padding:0;
	margin:0;
}

#admin-bar ul li{
	display:block;
    float:right;
	padding:0 12px;
	color:white;
}

#admin-bar ul li a{
	text-decoration:none;
	color:white;
	height:100%;
}

#admin-bar ul li a img{
	float:left;
	margin-right:8px;
    height: 16px;
}

a .box{
	text-decoration:none;
	color:white;
}

a:hover .box{
	
}

a:hover .box .navBox{
	background:#919191;
}

.innerBox, .navBox{
    position:absolute;
    background:#616161;
    left:6px;
    right:6px;
    top:6px;
    bottom:6px;
    overflow:hidden;
}

.navBox{
	background:#A1A1A1;
}

.innerBox a img{
    width:100%;
    border:0;
}

.innerBox a{
    text-decoration: none;
}

.innerBox .titleBox, .innerBox .adminBox{
    background: #000;
    background: rgba(0, 0, 0, 0.5);
    color: #FFF;
    padding: 10px;
    text-align: center;
    font-size:0.6rem;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.innerBox .newBox{
    position:absolute;
    top:0;
    left:0;
    right:0;
    background:transparent;
    padding:6px;
    text-align:left;
}

.newCircle{
    display:inline-block;
    background:#A0D36E;
    width:32px;
    height:32px;
    text-align:center;
    border-radius: 50%;
    color:#333;
    padding:7px 4px 4px 4px;
    font-size:0.8rem
}

.innerBox .titleBox{
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    margin-bottom:-100px;
}

.innerBox .adminBox{    
    position:absolute;
    top:0;
    left:0;
    right:0;
    margin-top:-100px;
}

.innerBox:hover .titleBox{
    margin-bottom: 0;
    font-size:0.6rem;
}

.innerBox:hover .adminBox{
    margin-top: 0;
    font-size:0.6rem;
}

.adminBox .item{
    display:inline-block;
    width:16px;
    height:16px;
    margin-right:8px;
}

.adminBox .item:last-child{
    margin-right:0;
}

.adminBox .bin{
    background:url('../img/bin.png') no-repeat;
}

.adminBox .bin:hover{
    background:url('../img/bin_hover.png') no-repeat;
}

.adminBox .move{
    background:url('../img/move.png') no-repeat;
}

.adminBox .move:hover{
    background:url('../img/move_hover.png') no-repeat;
}

.adminBox .left{
    background:url('../img/left.png') no-repeat;
}

.adminBox .left:hover{
    background:url('../img/left.png') no-repeat;
}

.adminBox .right{
    background:url('../img/right.png') no-repeat;
}

.adminBox .right:hover{
    background:url('../img/right.png') no-repeat;
}

.adminBox .reset{
    background:url('../img/reset.png') no-repeat;
}

.adminBox .reset:hover{
    background:url('../img/reset_hover.png') no-repeat;
}

.adminBox .edit{
    background:url('../img/edit.png') no-repeat;
}

.adminBox .edit:hover{
    background:url('../img/edit_hover.png') no-repeat;
}

.corner{
    position:absolute;
    bottom:8px;
    right:8px;
    font-weight:bold;    
}

h2{
    
    text-align:center;
    position:relative;
    z-index:2;
    padding:12px 0;
    
}
h2:after{
    content:"";
    position:absolute;
    top:50%;
    left:0;
    right:0;
    border-top:solid 2px white;
    z-index:-1;
    opacity:0.7;
}

.img_upload{
    clear:both;
    overflow:hidden;
    padding:12px;
    background:#616161;
    margin-bottom:12px;
    color:white;
}

.img_upload div{
    margin-bottom:8px;
}

.elem{
    margin-bottom: 12px;
}

label{
    display:inline-block;
    width:180px;
    font-weight:bold;
    margin-bottom:6px;
}

input{
    display:inline-block;
    border:none;
    padding:2px;
    font-family:'Open Sans', sans-serif;
    font-size:1em;
    color:#616161;
}

input[type="submit"]{
    color:#616161;
    padding:4px;
}

#login{
    background:#616161;
    width:320px;
    padding:24px;
    margin:80px auto 0 auto;
}

#login h1{
    padding:0;
    margin:0 0 24px 0;
}

.message{
    margin-bottom:18px;
}

.success{
    padding:8px;
    margin-bottom:12px;
    background:#A0D36E;
    color:#fff;
    font-size:1.2rem;
}

.error{
    padding:8px;
    margin-bottom:12px;
    background:#CD3F3F;
    color:#fff;
    font-size:1.2rem;
}

#login a{
    color:white;
    text-decoration:none;
}

#login a:hover{
    font-weight:bold;
}

#login input[type="text"], #login input[type="password"]{
    width:100%;
}

.dropzone {
    background:none !important;
    border:none !important;
    padding: 0 !important;
}

.dropzone .dz-preview.dz-image-preview {
    background: transparent !important;
}

.dropzone .dz-preview {
}

#upload-container {
    color:#000;
}

.dropzone .dz-preview .dz-progress {
    width: 80% !important;
    margin-left: -40% !important;
}

.dropzone .dz-preview.dz-success img {
    opacity:0.4;
}

.dropzone .dz-preview.dz-success .dz-success-mark {
    opacity: 1 !important;
    -webkit-animation: slide-in 3s linear !important;
    -moz-animation: slide-in 3s linear !important;
    -ms-animation: slide-in 3s linear !important;
    -o-animation: slide-in 3s linear !important;
    animation: slide-in 3s linear !important;
}
