.imguploadelement{
    width: 30%;
    margin: 0 1%;
    height: fit-content;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid gray;
    z-index: 1;
}
.imgcontroller{
    /*width: 100%;*/
    /*height: 50px;*/
    background-color: rgb(216, 216, 216);
    justify-content: space-around;
    align-items: center;
    display: flex;
}
.elementimgcontainer{
    /*height: 19.3vh;*/
    cursor: pointer;
    justify-content: center;
    align-items: center;
    display: flex;
    overflow: hidden;
}

.container {
    width: 600px;
    margin: 0 auto;
}

#canvas {
    width: 600px;
    height: 30%;
    border: 1px solid #aaa;
    cursor: default;
}


img {
    max-width: 100%;
}


.image_area {
  position: relative;
}

img {
    display: block;
    max-width: 100%;
}

.preview {
    overflow: hidden;
    width: 160px; 
    height: 160px;
    margin: 10px;
    border: 1px solid red;
}

.modal-lg{
    max-width: 1000px !important;
}

.overlay {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.5);
  overflow: hidden;
  height: 0;
  transition: .5s ease;
  width: 100%;
}

.image_area:hover .overlay {
  height: 50%;
  cursor: pointer;
}

.text {
  color: #333;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}


img{
    max-width:280px;
}
input[type=file]{
    padding:10px;
    background:white;

}

/*========== looking img*/
                              ul {
  list-style-type: none;
}

/*li {
  display: inline-block;
}*/

input[type="radio"][id^="myCheckbox"] {
  display: none;
}

.image_tic {
  border: 1px solid #fff;
  padding: 2px;
  display: block;
  position: relative;
  margin: 1px;
  cursor: pointer;
}

label:before {
  background-color: white;
  color: white;
  content: " ";
  display: block;
  border-radius: 50%;
  border: 1px solid grey;
  position: absolute;
  top: -5px;
  left: -5px;
  width: 25px;
  height: 25px;
  text-align: center;
  line-height: 28px;
  transition-duration: 0.4s;
  transform: scale(0);
}

:checked + label {
  border-color: #ddd;
}

label .img2 {
  height: 100px;
  width: 100px;
  transition-duration: 0.2s;
  transform-origin: 50% 50%;
}

:checked + .lab:before {
  content: "✓";
  background-color: grey;
  transform: scale(1);
}

:checked + label img {
  transform: scale(0.9);
  /* box-shadow: 0 0 5px #333; */
  z-index: -1;
}

/*========== looking img*/