body{
	margin: 0 auto;
}

.filter-gallery.selector{
	margin: 0 auto;
	text-align: center;
}

.filter-gallery.selector .btn{
	background-color: #DDDDDD;
	margin-right: 10px;
	margin-bottom: 10px;
  color: #574B43;
}

.filter-gallery.selector .btn:last-child{
	margin-right: 0;
}

.filter-gallery.selector .btn:hover{
	background-color: #c1c1c1;
}


.modal .modal-content{
	-webkit-box-shadow: none;
	box-shadow: none;
	border: none;
	outline: none;
	background-color: #fafafa;
}

.modal .modal-content .modal-header h4{
	font-size: 28px;
	margin-top: 0;
	margin-bottom: 0;
}

.modal .modal-footer{
	border: none;
}

.modal .modal-footer button{
	color: #343434;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 6px 12px;
	font-weight: normal;
	text-decoration: none;
}

.modal .modal-footer button:hover,
.modal .modal-footer button:focus{
	color: #343434;
	background-color: #e6e6e6;
	border-color: #adadad;
	text-decoration: none;
}

#foogallery-upload-form{
	position: relative;
}



#foogallery-upload-form li ul li, 
#foogallery-upload-form section ul li, 
#foogallery-upload-form section ul ul li, 
#foogallery-upload-form ul li, 
#foogallery-upload-form ul li {
	background-image: none;
	padding: 0 5px;
	margin-bottom: 5px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #545454;
}

#foogallery-upload-form li ul li:nth-child(6n+2),
#foogallery-upload-form section ul li:nth-child(6n+2),
#foogallery-upload-form section ul ul li:nth-child(6n+2),
#foogallery-upload-form ul li:nth-child(6n+2),
#foogallery-upload-form ul li:nth-child(6n+2){
	background-image: none !important;
}

.select2 .selection .select2-selection{
	display: flex;
}


.title_gallery{
	font-size: 16px;
	margin: 20px 0 10px;
	color: #333;
	background-color: #f5f5f5;
	border: 1px solid #ddd;
	border-radius: 5px;
	padding: 10px 15px;
}

.title_gallery span{
	font-weight: 600;
}

.inputfile {
 width: 0.1px;
 height: 0.1px;
 opacity: 0;
 overflow: hidden;
 position: absolute;
 z-index: -1;
}
.inputfile + label {
  font-size: 14px;
	font-weight: 700;
	color: white;
	background-color: black;
	display: inline-block;
	border: 1px solid transparent;
	border-radius: 4px;
	display: inline-block;
	line-height: 1;
	padding: 1em 2em;
	background-color: #5cb85c;
	border-color: #4cae4c;
  border-radius: 2px;
  transition: all .5s ease-out;
	-moz-transition: all .5s ease-out;
	-webkit-transition: all .5s ease-out;
	-o-transition: all .5s ease-out;
}


.inputfile + label:hover {
	background-color: #449d44;
	border-color: #398439;
}
.inputfile + label {
	cursor: pointer; /* "hand" cursor */
}
.inputfile:focus + label {
	outline: 1px dotted #000;
	outline: -webkit-focus-ring-color auto 5px;
}

.inputfile + label * {
 pointer-events: none;
}

.fooupload_button_add{
	display: flex;
  justify-content: space-between;
}

#modal_upload .status{
	font-size: 14px;
	padding: 10px;
	color: #fff;
	border-radius: 2px;
	background-color: #5cb85c;
	width: calc(100% - 140px);
	margin: 0;
	margin-bottom: 10px;
	width: 100%;
}

#modal_upload .status span{
	font-weight: 600;
}

#modal_upload .status:first-letter{
	text-transform: uppercase;
}

.container_fooupload{
	display: none;
	justify-content: space-between;
	align-items: center;
	margin-top: 10px;
	padding-bottom: 15px;
	border-bottom: 1px solid #bfbfbf;
}

.preview-area .container_fooupload:last-child{
	border-bottom: 0px;
}

.container_fooupload_img{
	width: 30%;
	line-height: 0;
}

.container_fooupload_img img{
	width: 100%;
	height: auto;
}

.container_fooupload .title_description{
	width: 65%;
}

.container_fooupload .title_description input[type="text"],
.container_fooupload .title_description textarea{
	color: #666;
	background: #fff;
	border: 1px solid #bbb;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	display: block;
	padding: 4px 0 4px 7px;
	width: 100%;
	outline: none;
	height: auto;
	font-size: 14px;
	margin: 0;
	-moz-box-sizing: border-box; 
  box-sizing: border-box;
}

.container_fooupload .title_description input[type="text"]:focus,
.container_fooupload .title_description textarea:focus,
.select2-container--default.select2-container--focus .select2-selection--multiple{
	border-bottom: 1px solid #5cb85c;
	-webkit-box-shadow: 0 1px 0 0 #5cb85c;
	box-shadow: 0 1px 0 0 #5cb85c;
}

.select2-container--default.select2-container--focus .select2-selection--multiple{
	border: 1px solid #aaa;
}

#foogallery-upload-form .select-dropdown{
	width: 100%;
	margin-top: 5px;
}

#foogallery-upload-form .select2-container{
	width: 100% !important;
}

.fooupload_button{
	display: none;
	align-items: stretch;
	justify-content: flex-end;
	text-align: right;
	margin-top: 10px;
	margin-bottom: 10px;
}

.fooupload_button_all{
	display: none;
	align-items: stretch;
	justify-content: flex-end;
	text-align: right;
	margin-top: 20px;
	margin-bottom: 10px;
	border-top: 1px solid #bfbfbf;
	padding-top: 20px;
}

.fooupload_button_all #submit{
	border: none;
	background-color: #428bca;
	border-color: #357ebd;
	color: #fff;
	position: relative;
	padding: 1em 2em 1em 2em;
	max-height: 42px;	
	border-radius: 2px;
	font-size: 14px;
	line-height: 1;
	font-weight: 700;
	text-transform: capitalize;
	transition: all .5s ease-out;
	-moz-transition: all .5s ease-out;
	-webkit-transition: all .5s ease-out;
	-o-transition: all .5s ease-out;
}

.fooupload_button_all #submit i{
	position: relative;
	margin-right: 5px;
	font-size: 14px;
}

.fooupload_button_all #submit:hover{
	color: #fff;
	background-color: #3071a9;
	border-color: #285e8e;
}

.fooupload_button span.icon-submit{
	position: relative;
	display: inline-block;
}

.fooupload_button span.icon-submit i{
	position: absolute;
	z-index: 99;
	color: #fff;
	top: 50%;
	font-size: 14px;
	transform: translateY(-50%);
	left: 22px;
}

.fooupload_button .reset{
	font-size: 14px;
	line-height: 1;
	padding: 1em 2em;
	border: none;
	background-color: #d9534f;
	border-color: #d43f3a;
	color: #fff;
	border-radius: 2px;
	max-height: 42px;
	font-weight: 700;
	text-transform: capitalize;
	transition: all .5s ease-out;
	-moz-transition: all .5s ease-out;
	-webkit-transition: all .5s ease-out;
	-o-transition: all .5s ease-out;
}

.fooupload_button .reset:hover{
	color: #fff;
	background-color: #c9302c;
	border-color: #ac2925;
}

.fooupload_button .reset i{
	position: relative;
	margin-right: 5px;
	font-size: 14px;
}


.fooupload_button .reset span:before {
	font-family: 'FontAwesome';
	content: '\f085';
	position: relative;
	margin-right: 5px;
	font-size: 14px;
}


.fooupload_button .inputfile-child{
	margin: 0;
	margin-right: 10px;
	max-height: 42px;
}

.loader-bg{
	position: absolute;
	border-radius: 5px;
	width: calc(100% + 20px);
	height: calc(100% + 20px);
	top: -10px;
	left: -10px;
	display: none;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: 4;
}

.loader {
	
	border: 8px solid #f2f2f2; 
	border-top: 8px solid #c6c6c6; 
	border-radius: 50%;
	width: 120px;
	height: 120px;
	animation: spin 2s linear infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.select2-selection__rendered{
	min-height: 26px;
	max-height: 100px;
}

.select2-search__field{
	margin: 3px 0 0 0 !important;
	max-height: 26px;
}

.error{
	border: 1px solid red !important;
}
.instagram_social.error{
	border: none;
}