

     #form_wrapper, #file_content_wrapper{
    max-width: 90%;
    border: 1px solid #ccc;
    padding: 15px;
    width: 100%;
    text-align: center;
    background: lightslategray;
    margin: auto;
    position: relative;
     }

    #modal {
        display: none;
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* 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.4); /* Black w/ opacity */
}

#modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 40%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
#close {
     color: white;
    font-size: 28px;
    font-weight: bold;
    background: #ccc;
    padding: 0;
    line-height: .8em;
    padding: 2px;
    position: absolute;
    right: 0px;
    top: 0;
}

#close:hover,
#close:focus {
    background: #eee;
    color:white;
    text-decoration: none;
    cursor: pointer;
}


.inputfile {
width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}

.f_upload_button{
display: inline-block;
    height: 30px;
    margin: 15px 0;
    font-family: sans-serif;
    font-size: 14px;
    background: #ccc;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    line-height: 30px;
    border: 1px solid #bbb;
    padding: 0 5px;
    cursor: pointer;
}
input.f_upload_button{
height: 32px;
}

.f_upload_button:hover{
    background: #eee;
    color: white;
}

#addedFile {
    position: relative;
    display: block;
    overflow: hidden;
    word-break: break-all;
    margin-bottom: 5px;
    padding: 0 25px 0 25px;
    height: 30px;
    font-family: sans-serif;
    font-size: 16px;
    line-height: 30px;
    color: #646464;
    background: #f6f6f6 url(img/file.png) no-repeat 5px center;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

a#removeFile {
    position: absolute;
    display: block;
    width: 10px;
    height: 10px;
    top: 10px;
    right: 10px;
    background: url(img/remove-file.png);
    cursor:pointer;
}

a#removeFile:hover {
opacity: .8;
}

#upload_content{
height: auto;
display: inline-block;
width: 100%;
}

#file_contents{
    background: white;
    display: inline-block;
    width: 100%;
}

#file_content_wrapper{
    text-align: left;
}

.select_img_wrapper{
    border: 1px solid #ddd;
    text-align: center;
    width: 25%;
    height: 200px;
    float: left;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.img_delete{
    position: absolute;
    right: 2px;
    bottom: 2px;
    border: 1px solid #ccc;
    color: #ccc;
    padding: 0 5px;
    border-radius: 2px;
    font-size: 1.2em;
    background: white;
}

.select_img_wrapper img {
    max-width: 100%;
    max-height: 80%;
}

#image_select{
    text-align: center;
}
.image_select{

    padding: 5px;
}

.select_img_wrapper:hover{
   border-color: #444;
   background: beige;
}

.upload_img_wrapper{
    height: 250px;
}

.upload_img_links{
    margin-top: 15px;
}

.f_upload{
   display: inline-block;
   width: 100%;
}

.f_upload_img{
   float: left;
    max-width: 100%;
    margin-bottom: 10px;
    height: 100%;
}
.upload_img_links{
   margin-left:15px;
}