html {
	width:100%;
	height:100%;
}

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body {
	/*background-image: url("/images/4k-wallpaper-architecture-background-1308624.jpg");*/
	background-color: #808080;
	font-family: 'Comic Sans',Verdana, Geneva, Arial, Helvetica, sans-serif;
	color:#fff;
	width:100%;
	height:100%;
	margin: 0;
	padding-top: 40px;
	padding-bottom: 40px;
	overflow:hidden;	
}

h1 {
	text-align: center;
}

/* Login page */
#login-container {
	margin-left:25%;
}

#login-form {
	max-width:400px;
	padding:15px;
	margin: 0 0 0 20%;
	
}

#login-form h1 {
  margin-bottom: 10px;
}

#login-form input[type="email"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.input-field {
	margin-bottom: 10px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	position: relative;
	height: auto;
	background-color: #eee;
	display: block;
	width: 100%;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color:#555;
	background-image: none;
	border: 1px solid#ccc;
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
	font-family: inherit;
}

.input-button {
	color:#000;
	background-color:#fff;
	border-color:#fff;
	display: block;
	width: 100%;
	padding: 10px 16px;
	font-size: 18px;
	line-height: 1.3333333;
	border-radius: 6px;
	margin-bottom: 0;
	font-weight: 400;
	text-align: center;
	white-space: nowrap;
	cursor: pointer;
	user-select: none;
	background-image: none;
	border: 1px solid transparent;
	font-family: inherit;
	transition: all 0.5s;
}

.input-button:hover {
	background-color: #cbcbcb;
}

/* Logout bits */
#logout-container {
	width: 75px;
  	position: absolute;
  	top: 5px;
  	right: 0px;
}

#logout {
	cursor:pointer;
	margin-top: 10px;
}

/* Uploadify  */
#photoey-uploady_dropper {
    width: 60%;
    height: 60%;
    z-index: 1;
    position: absolute;
    border: 2px #a8a8a8 dashed;
    float: left;
    margin-left: 20%;
}

#hidden_file_uploader_photoey-uploady {
    position: absolute;
    top: -50px;
    left: -250px;
}

.doc_dropper.dragged {
    background-color: #8cc7f6;
    opacity: 0.5;    
}

#queue_photoey-uploady {
    min-width: 300px;
    color: #000000;
    min-height: 150px;
    display: none;
    box-shadow: 2px 2px 10px #777;
    border-radius: 7px;
    background: none repeat scroll 0% 0% #FFF;
    overflow-y: auto;
    z-index: -1;
}

.queue-progress-bar {
    border-bottom: 2px solid #000000;
    padding: 5px 0;
}

.uploadifive-queue-item {
    padding: 10px 15px 10px 15px !important;
}

.uploadifive-button.file-select {
    /*display:none;*/
	background-color: #fff;
  	color: #000;	
  	width: 120px !important;
	cursor: pointer;
}

.uploadifive-button.file-select input {
	cursor: pointer;
}

.dragdrophighlight {
    border: 2px solid #a8a8a8;
}

#dnd-text {
    width: 100%;
    height: 100%;
    text-align: center;
    margin-top: 10%;
    font-size: 24px;
}

#viewer {
	width: 100%;
    height: 100%;
    overflow: auto;
    text-align: center;
    padding-bottom: 100px;
}
.ui-dialog {
    width:350px !important;
}
.dialog-row {
    line-height:25px;    
}
.create-album, .upload-button {
    cursor: pointer;
    margin-left: 25px;
}
.upload-close {
    cursor: pointer;
    margin-left: 60%;
    font-size:36px;
}

#backy {
	cursor:pointer;
}

#end-title {
	font-style: italic;
	font-size:12px;
	width:100%;
	float:left;
}

.album-list {
	width: 85%;
	margin-left: 10%;
	text-align: left;	
}

.album-row {
	width:500px;
	float:left;
}

.album-icon {
	width: 32px;
	float: left;
	/* background-image: url("/images/folder-32.png"); */
	height: 32px;	
	margin-top:10px;
}

.album-icon .fa-folder {
	font-size: 36px; 
}

#album-photos {
	width: 100%;
	margin-top: 0;
	position: relative;
	float: left;
}

.album_name {
	font-size:24px;
	cursor:pointer;
	margin:13px 0 0 15px;
	float:left;
}

.album_name:hover {
	color: #bbb;
  	text-decoration: none;
  	cursor: pointer;
}

 /* Style the Image Used to Trigger the Modal */
.album-block {
	float:left;
	width:100%;
	padding: 0 50px;
}

.img-block {
	float:left;
	position:relative;
	transition: 0.3s;
	margin-bottom:10px;
}
 
.thumby {
	border-radius: 5px;
  	cursor: pointer;
	width:128px;height:128px;
	margin:10px;
}

.img-block:hover .thumby {
	opacity: 0.7;
}

.img-block:hover .dload {
	opacity: 1.0;
}

.img-block .dload {
	position: absolute;
	width: 128px;
	height: 20px;
	left: 10px;
	bottom: -5px;
	background-color: green;
	border-radius: 10px;
	font-size: 12px;
	cursor: pointer;
	opacity: 0;    
    transition: all 0.5s;
    border:2px solid green;
}

.img-block .dload:hover {
	border:2px solid #ffffff;	
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 50px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
  /*margin: auto;
  display: block;
  width: 80%;*/ 
  height: 100%;
  width: 100%;
  max-height: 95vh;
  max-width: 160vh;
  object-fit: contain;
  margin: auto;
  display: block;  
  animation-name: zoom;
  animation-duration: 0.6s;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
  animation-name: zoom;
  animation-duration: 0.6s;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
  
}

@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

#image-container {
	position:relative;
}

.img-magnifier-glass {
  position: absolute;
  border: 3px solid #000;
  border-radius: 50%;
  cursor: none;
  /*Set the size of the magnifier glass:*/
  width: 300px;
  height: 300px;
}

/* left and right buttons */
.left, .right {
	position:absolute;
	top: 40%;
	font-size:40px;
	font-weight: bold;
	color: #f1f1f1;
  	transition: 0.3s;	
}
.left {
	left:5%;
}
.right {
	right:5%;
}

.left:hover, .left:focus, .right:hover, .right:focus {
	color: #bbb;
  	text-decoration: none;
  	cursor: pointer;
}

#zoom-in-out {
	position: absolute;
	top: 75px;
	right: 30px;
	font-size: 30px;	
	cursor:pointer;
}

/* The Close Button */
.modal .close {
  position: absolute;
  top: 2px;
  right: 35px;
  color: #f1f1f1;
  font-size: 35px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  
    #login-container{
        margin-left:0px;
        margin-top:0px;
    }
    
    #login-form {
		max-width: 350px;
	  	padding: 15px;
	  	margin: 5% 0 0 0;
	}
	
	.album_name {
        font-size:18px;        
    }
	
	.album-list {
		margin-left:5%;
	}
	
	.album-row {
		width:100%;
	}
		
	.thumby {
		width:225px;
		height:225px;
	}
		
	.left {
		font-size:26px;
		left: 15px;
	}
	.right {
		right:15px;
		font-size:26px;
	}
	
	#zoom-in-out {
		font-size:26px;
		right:15px;
	}
	
	.close { 
		font-size: 26px;
		right: 20px;
	}
	
	.img-magnifier-glass {
		width:150px;
		height:150px;	
	}
} 
