.preview-image {
  float: left;
  margin: 0 20px 15px 5px;
  width: 150px;
  height: 220px;
  position: relative;
}

.thumb-image {
  width: 150px;
  height: 150px;
}

.name-image {
  margin-top: 10px;
}

.delete-image {
  position: absolute; 
  bottom: 0;
  right: 0;
}

.none {
  display:none;
}

a.del-uplod-image {
  background: url(img/delete.png) no-repeat 0 3px; 
  padding-left: 13px;
  font-size: 14px;
}

.center {
  text-align: center;
  padding-bottom: 1px;
  padding-top: 1px;
}

.img-wrap {
  padding-top: 15px;
}

.progress {
  height: 15px;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid #c7c3bf;
  border-radius: 7px;
  margin-top: 4px;
  margin-bottom: 4px;
}

.progress-bar {
  float: left;
  width: 0;
  height: 100%;
  color: #fff;
  background-color: #d60;
  transition: width .6s ease;
}

fieldset.fields1 div {
  margin-bottom: 1px;
}

#loadImg {
  background: #000000 url("img/loading.gif") center center no-repeat;
  border-radius: 5px;
  display: none;
  opacity: 0.8;
  margin-top: -25px;
  margin-left: -25px;
  height: 50px;
  width: 50px;
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1000;
}

#overlay {
  position: fixed; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  opacity: 0.5;
  z-index: 500;
  display: none;
} 

.popup {
  background-color: #fff;
  border: 3px solid #fff;
  display: inline-block;
  left: 50%;
  opacity: 0;
  padding: 10px 20px 10px 20px;
  width: 35%;
  position: fixed;
  top: 40%;
  white-space: nowrap;
  visibility: hidden;
  z-index: 999999;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: opacity .5s, top .5s;
  -moz-transition: opacity .5s, top .5s;
  -ms-transition: opacity .5s, top .5s;
  -o-transition: opacity .5s, top .5s;
  transition: opacity .5s, top .5s;
  border-radius: 7px;
}

.confirm {
  background-color: #fff;
  border: 3px solid #fff;
  display: none; 
  left: 50%;
  padding: 10px 20px 10px 20px;
  width: 35%;
  position: fixed;
  top: 40%;
  z-index: 999999;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: opacity .5s, top .5s;
  -moz-transition: opacity .5s, top .5s;
  -ms-transition: opacity .5s, top .5s;
  -o-transition: opacity .5s, top .5s;
  transition: opacity .5s, top .5s;
  border-radius: 7px;
}

.popup .close_window {
  width: 5px;
  height: 15px;
  position: absolute;
  padding: 0px 7px 2px 6px;
  top: -12px;
  right: -12px;
  cursor: pointer;
  color: #fff;
  font-family: 'tahoma', sans-serif;
  background: -webkit-gradient(linear, left top, right top, from(#c83d3d), to(#b80505));
  background: -webkit-linear-gradient(top, #c83d3d, #b80505);
  background: -moz-linear-gradient(top, #c83d3d, #b80505);
  background: -o-linear-gradient(top, #c83d3d, #b80505);
  background: -ms-linear-gradient(top, #c83d3d, #b80505);
  background: linear-gradient(top, #c83d3d, #b80505);
  background-color: #c83d3d;
  border: 1px solid #b80505;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -o-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
  box-shadow: -1px 1px 3px rgba(0, 0, 0, 0.5);
}

.popup .close_window:hover {
  background: -webkit-gradient(linear, left top, right top, from(#b80505), to(#c83d3d));
  background: -webkit-linear-gradient(top, #b80505, #c83d3d);
  background: -moz-linear-gradient(top, #ff5f0, #c83d3d7);
  background: -o-linear-gradient(top, #b80505, #c83d3d);
  background: -ms-linear-gradient(top, #b80505, #c83d3d);
  background: linear-gradient(top, #b80505, #c83d3d);
  background-color: #b80505;
  border: 1px solid #5E0000;
}

.none_yes_button {
  text-align: center;
  margin-top: 25px;
  margin-bottom: 15px;
}

.popup .close_window:active {
  background: #e08f8f;
}

@media screen and (min-width: 0px) and (max-width: 700px) {
  .popup {
       width: 75%;
   }
  .confirm {
       width: 75%;
   }
}

@media screen and (min-width: 701px) and (max-width: 950px) {
  .popup {
       width: 60%;
   }
  .confirm {
       width: 60%;
   }
}

@media screen and (min-width: 951px) and (max-width: 1280px) {
  .popup {
       width: 50%;
   }
  .confirm {
       width: 50%;
   }
}

@media screen and (min-width: 1281px) and (max-width: 1600px) {
  .popup {
       width: 40%;
   }
  .confirm {
       width: 40%;
   }
}
