/*  ==== Gallery CSS === */
.upme-clear{
    clear: both;
}

#uiga-modal-window-gallery img{
    border: 1px solid #cfcfcf;
    height: 75px;
    width: 100%;
}

#uiga-modal-window-header{
    background: none repeat scroll 0 0 #eee;
    border-bottom: 1px solid #cfcfcf;
    font-weight: bold;
    margin-bottom: 15px;
    padding: 10px;
}

#uiga_image_gallery_modal{
    background: #FFF;
    border: 1px solid #cfcfcf;
}

#uiga-modal-window-content{
    padding: 10px;
}

#uiga-modal-window-gallery{
    padding: 20px;
}

.uiga-image-gallery-field-label{
    float: left;
    font-weight: bold;
    padding: 6px;
}

.uiga-image-gallery-upload-field{
    float:left;
}

.uiga_gallery_button{
    font-size: 15px;
    height: 35px;
    margin: 0 5px;
    padding: 5px;
}

.uiga-gallery-image-save-single{
    border: 4px solid #eee;
    outline: 1px solid #cfcfcf;
    float: left;
    margin: 5px;
    text-align: center;
    width:47%;
}

.uiga-gallery-image-delete-single{
    text-align: center;
    padding: 5px;
    background: none repeat scroll 0 0 #1391da;
    color: #fff;
    font-weight: bold;
}

.uiga-gallery-image-delete-single:hover{
    cursor: pointer;
}

#uiga-image-gallery-save-bar{
    padding: 10px;
    margin: 10px 0;
}

#uiga-image-gallery-save-bar span{
    float: left;
    line-height: 200%;
    margin: 0 10px;
}

#uiga-modal-window-gallery-save{
/*
    background: none repeat scroll 0 0 #1391da;
    color: #fff;
    float: left;
    font-weight: bold;
    padding: 5px;
    text-align: center;
    width: 150px;
*/
    color: #fff;
	border: 1px solid #1278b2;
	background-color: #cfcfcf;
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#1391da), to(#1278b2));
	background-image: -webkit-linear-gradient(top, #1391da, #1278b2);
	background-image: -moz-linear-gradient(top, #1391da, #1278b2);
	background-image: -ms-linear-gradient(top, #1391da, #1278b2);
	background-image: -o-linear-gradient(top, #1391da, #1278b2);
	box-shadow: inset 0 -1px 1px -1px #fff;
	padding: 4px 10px;
    float: left;
    border-radius: 3px;
}

#uiga-modal-window-gallery-save:hover{
    cursor: pointer;
}

#uiga-modal-window-msg{
    margin: 5px 5px 15px;
    padding: 5px 10px;
    display: none;

}

#uiga-modal-window-msg i{
    margin-right: 10px;
}

.uiga_gallery_button{
    margin: 0 10px;
}

.uiga-error{
    background: #ffdbdb none repeat scroll 0 0;
    border: 1px solid #ffb4b4;
    color: #ac2c2c;
}

.uiga-success{
    background: #d8f7c1;
    border: 1px solid #a1d47b;
    color: #527638;
}

#uiga-image-gallery-uploader-submit{
    margin: 0px;
}

.uiga-frontend-gallery-thumb{
    border: 1px solid #cfcfcf;
    margin: 5px !important;
    padding: 4px;
    float: left;
}

.wp-admin .fancybox-opened{
    z-index: 15000 !important;
}

.wp-admin .fancybox-overlay{
    z-index: 10000 !important;
}


.uiga-image-gallery-field-row{
    width: 100%;
    margin: 5px 0 !important;
}

.uiga-image-gallery-field-label{
    width: 200px;
    float: left;
}

.uiga-image-gallery-field{
    width: 400px;
    float: left;
}

.uiga-gallery-image-save-single-right{
    float: left;
    padding: 10px;
    text-align: left;
    width: 75%;
}

.uiga-gallery-image-save-single-left{
    width: 20%;
    float: left;
}

.uiga-gallery-image-save-single-label,.uiga-gallery-image-save-single-field input{
    width: 100% !important;
}

@media only screen and (min-width: 767px) and (max-width: 980px) {
    #upme-addons-feed .upme-addon-single{
        width:45%;
    }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    .uiga-gallery-image-save-single{
        width: 95%;
    }
}

@media only screen and (max-width: 480px) {
    .uiga-gallery-image-save-single{
        width: 95%;
    }
    .uiga-gallery-image-save-single-left{ width: 30%;}
    .uiga-gallery-image-save-single-right{ width: 65%; }
    .uiga-image-gallery-field{width: 275px !important;}
}

.uiga-slider-item-caption{
    float: left;
    font-weight: bold;
    height: 25px;
    text-align: center;
    width: 100%;
}