@import "font-awesome-4.7.0/css/font-awesome.min.css";

.uploadgallery{
	width:840px;
	height:500px;
	background-color:#589;
	overflow: hidden;
	border-radius:10px;
	position:fixed;
	z-index: 20;
	top: 50%;
	left:50%;
	margin-top: -250px;
	margin-left: -420px;
	box-shadow: 3px 3px 3px #0005;
}

.uploadgallery .gheader{
	height:40px;
	width:100%;
	position:relative;
}

.uploadgallery .uploadgallery_screen .inputfield{
	width: 200px;
	margin: auto;
}

.uploadgallery .uploadgallery_screen .inputfield input{
	line-height:20px;
	padding: 5px;
	width:100%;
	font-size:15px;
	border: 1px solid #ddd;
	box-sizing: border-box;
	outline: none;


}

.uploadgallery .gheader .buttons{
	position:absolute;
	right:5px;
	top:5px;
	display:inline-block;
}

.uploadgallery .gheader .button{
	width:30px;
	height:30px;
	border-radius:5px;
	line-height:28px;
	text-align:center;
	color: black;
	font-size:20px;
	border: 1px solid #fff9;
	box-sizing: border-box;
	transition-property: opacity;
	transition-duration: 0.2s;
	cursor:pointer;
}

.uploadgallery .gheader .button:hover{
	opacity: 0.7;
}

.uploadgallery .gheader .button.close{
	background-color: red;
}

.uploadgallery .images{
	width:100%;
	height:100%;
	overflow:auto;
	text-align:center;
	box-sizing:border-box;
	padding:5px;
}

.uploadgallery .images .image{
	width:150px;
	height:150px;
	display:inline-block;
	background-position:center;
	background-size:cover;
	background-repeat:no-repeat;
	position:relative;
	box-sizing:border-box;
	margin:5px;
	vertical-align:bottom;
	border-radius:10px;
	cursor:pointer;
	border:2px solid #000;
	overflow:hidden;
	transition-property: border;
	transition-duration: 0.2s;
	box-shadow: 1px 1px 5px #0007;
	position:relative;
	background-image:url("example.jpg");
}

.uploadgallery .images .image.toolsenabled{
	border:2px solid #4df;
}

.uploadgallery .images .image:hover{
	/*border:2px solid #07f;*/
	box-shadow: 5px 5px 10px #0009;
	top: -2px;
	left: -2px;
}

.uploadgallery .images .image .title{
	width:100%;
	line-height:20px;
	color:#fff;
	text-shadow: 2px 2px 5px #000;
	opacity:0;
	background-image: linear-gradient(to bottom, #acec, #fff0);
	font-size:16px;
	transition-property: opacity;
	transition-duration: 0.2s;
	padding:10px;
	font-family:sans-serif;
}

.uploadgallery .images .image:hover .title{
	opacity:1;
}

.uploadgallery .images .image:hover .tools{
	opacity:1;
}

.uploadgallery .images .image .tools{
	position:absolute;
	bottom:0;
	right:0;
	left:0;
	height:40px;
	line-height:40px;
	background-image: linear-gradient(to bottom, #fff0, #acec);
	opacity:0;
	transition-property: opacity;
	transition-duration: 0.2s;
	text-shadow: 2px 2px 5px #000;
}

.uploadgallery .images .image .tools .tool{
	display:inline-block;
	vertical-align: bottom;
	height:40px;
	line-height:30px;
	padding: 5px;
	box-sizing: border-box;
	cursor: pointer;
	transition-property:color;
	transition-duration:0.2s;
	color:white;
	font-size:30px;
}

.uploadgallery .images .image .tools .tool:hover{
	color:#f88;
}

.uploadgallery .images .image .tools .tool.delete{

}

.uploadgallery .gcontent{
	background-color:white;
	width:calc(100% - 5px - 5px);
	height:calc(100% - 5px - 40px);
	margin:5px;
	box-shadow: border-box;
	border-radius:10px;
	margin-top: 0;
	position: relative;
	overflow: hidden;
}

.uploadgallery .gcontent .addbutton{
	position: absolute;
	z-index: 2;
	bottom: 20px;
	left: 20px;
	color:#888;
	height:50px;
	width:50px;
	line-height:50px;
	font-size:40px;
	cursor:pointer;
	transition-property: color, border, background-color;
	transition-duration: 0.2s;
	text-decoration: none;
	border: 1px solid #ccc;
	border-radius: 25px;
	text-align:center;
	font-family: sans-serif;
	background-color: #fffd;
}

.uploadgallery .gcontent .addbutton:hover{
	color: white;
	border: 1px solid #589;
	background-color: #5899;
}

.uploadgallery .uploadgallery_screen{
	position: absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index: 21;
	background-color:white;
	border-radius:10px;
}

.uploadgallery .uploadgallery_screen .preview{
	max-width:300px;
	width:100%;
	height:170px;
	border:1px solid #ddd;
	border-radius:10px;
	margin:20px auto;
	background-position: center;
	background-size:cover;
	background-repeat: no-repeat;
	background-color:white;
}

.uploadgallery .uploadgallery_screen input[type=file]:before{
	border:1px solid red;
	height:40px;
}

.uploadgallery .uploadgallery_screen input[type=file]:after{
	height:40px;
}

.uploadgallery .uploadgallery_screen input[type=file]{
	height:40px;
	opacity:0;
	min-width:14rem;
	filter: alpha(opacity=0);
	margin: 0;
	position:relative;
	z-index: 7;
	width:100%;
	cursor:pointer;
}

.uploadgallery .uploadgallery_screen .fileinput{
	width:200px;
	margin: 10px auto;
	height:40px;
	position:relative;
}

.uploadgallery .uploadgallery_screen .button{
	margin: 10px auto;
	width: 200px;
	height:40px;
	border: 1px solid #ddd;
	border-radius:5px;
	box-sizing: border-box;
	padding: 0 15px;
	line-height:40px;
	color:#777;
	font-family: sans-serif;
	text-align:center;
	transition-property: background-color, color;
	transition-duration:0.2s;
	cursor:pointer;
}

.uploadgallery .uploadgallery_screen .button:hover{
	background-color:#7775;
	color:white;
}

.uploadgallery .uploadgallery_screen .fileinput .custom-fileinput{
	position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 5;
    height: 2.5rem;
    padding: .5rem 1rem;
    line-height: 1.5;
    color: #555;
    background-color: #fff;
    border: .075rem solid #ddd;
    border-radius: .25rem;
    box-shadow: inset 0 0.2rem 0.4rem rgba(0,0,0,.05);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
	box-sizing: border-box;
	overflow:hidden;
}

.uploadgallery .uploadgallery_screen .fileinput .custom-fileinput:before{
	position: absolute;
    top: -.075rem;
    right: -.075rem;
    bottom: -.075rem;
    z-index: 6;
    display: block;
    content: "+";
	font-weight: bold;
	font-size:30px;
	line-height:40px;
    height: 2.5rem;
    width:40px;
	text-align: center;
    color: #555;
    background-color: #eee;
    border: .075rem solid #ddd;
    border-radius: 0 .25rem .25rem 0;
	box-sizing: border-box;
}

.uploadgallery .uploadgallery_screen .fileinput .custom-fileinput:after{
	/*content: "Válassz fájlt...";*/
}

.uploadgallery .input_description{
	width:100%;
	text-align: center;
	color:#666;
	font-family:sans-serif;
	border-top: 1px solid #37f5;
	border-radius:50%;
	padding-top:5px;
	padding-bottom:5px;
}

.uploadgallery .uploadgallery_background{
	/*background-color:red;*/
}

.uploadgallery .uploadgallery_screen{
	overflow:auto;
}

@media only screen and (max-width: 500px){
	/*Mobil nézet*/
	.uploadgallery .images .image .tools{
		opacity:1;
	}
}

@media only screen and (max-width: 800px){
	.uploadgallery{
		width: calc(100% - 10px);
		left:5px;
		margin-left: 0;
		height: calc(100% - 10px);
		top: 5px;
		margin-top: 0;
	}
}

.uploadgallery .radioButtons{
	text-align:center;
	/*border-top: 1px solid #37f5;
	border-radius:50%;*/
}

.uploadgallery .radioButton{
	display:inline-block;
	text-align:center;
	font-family:sans-serif;
	margin: 0 10px;
}

.uploadgallery .inputfield.link{
	display:none;
}