.outerlayer{ max-width: 800px; width: 100%;margin-left: auto;margin-right: auto;}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  left: -10000px;
  overflow: hidden;
}

.control, fieldset { 
  margin: 6px 0;
}
input{
padding: 5px;
font-size: 16px;}
label {
    padding: 3px;
  width: 120px;
  vertical-align: top;
 margin-right: 5%;
}

.required {
    display: inline-block;
  color: red;
}
.input{
    border: 1px solid #DFE4E4;
    border-radius: 5px;
    width:100%;
    max-width: 500px;
    height: 30px;
    margin-bottom: 1%;
    font-size: small;
}
.inputs p{display: none}

.outerlayer,.Names,.inputs,.doublerow,.doublecolumn,.sizePrice{
  box-sizing: border-box;
}


.Names{float: left;
  width: 30%;
  padding: 10px;
  height:auto;}
.inputs {
  float: left;
  width: 70%;
  padding: 10px;
  height: auto; 
}

/* Clear floats after the columns */
.outerlayer:after {
  content: "";
  display: table;
  clear: both;
}
/* Image*/
.imageOutput{
 border: 1px solid #91C5DF;
 max-width: 800px;
 width: 100%;
 height:250px;
 margin-left: auto;
margin-right: auto;
border-radius: 5px; 
}
/*Copied from bootstrap to handle input file multiple*/
.btn {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
}
/*Also */
.btn-success {
  border: 1px solid #c5dbec;
  background: #d0e5f5;
  font-weight: bold;
  color: #2e6e9e;
}
.fileinput-button {
  position: relative;
  overflow: hidden;
}

.fileinput-button input {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  opacity: 0;
  -ms-filter: "alpha(opacity=0)";
  font-size: 200px;
  direction: ltr;
  cursor: pointer;
}
/*overlay for upload*/
#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 2;
  cursor: pointer;
}
#text{
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 25px;
  color: white;
  transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
}
/*deal with uploading images*/
.uploadImgs{
    max-width: 600px;
    width: 100%;
    height: auto;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
* {
  box-sizing: border-box;
}

.row,.column {
  box-sizing: border-box;
}

/* Create two equal columns that floats next to each other */
.column {
  float: left;
  border:0.1px solid #73CFF5;
  width: 25%;
  padding: 10px;
  height: 120px;
  overflow: hidden;
  /*max-height:320px;
  height: 100%;*/
}
/* Create four equal columns that floats next to each other */
.column a {text-decoration: none;text-align: center}
.column a:hover{text-decoration:underline;}
.row{ max-width: 1000px;
    margin-left: auto;
    margin-right: auto}
/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}
    .img-wrap {
    position: relative;
    display: inline-block;
    border: 1px #98C2E9 solid;
    font-size: 0;
    max-width: 100px;
    width: 100%;
    height: 95px;
    overflow: hidden;
}
.img-wrap .closeImg {
    position: absolute;
    top: 2px;
    right: 2px;
    z-index: 100;
    background-color: #FFF;
    padding: 5px 2px 2px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    opacity: .2;
    text-align: center;
    font-size: 22px;
    line-height: 10px;
    border-radius: 50%;
}
.img-wrap:hover .closeImg {
    opacity: 1;
}
.listImg{
    width: 100%;
    margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}


/* Responsive layout - makes the four columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    width: 25%;
  }
}
.doublecolumn,.sizePrice {
  float: left;
  padding: 10px;
  height: auto; /* Should be removed. Only for demonstration */
}

.doublerow{max-width:700px; width: 100%; margin-left: auto;margin-right: auto}
.left {
  width: 50%;
}

.right {
  width: 50%;
}
.columnSize{
  width: 33.3%
}

/* Clear floats after the columns */
.doublerow:after {
  content: "";
  display: table;
  clear: both;
}
@media screen and (max-width: 600px) {
  .inputs {
    width: 100%;
  }
    .inputs p{display: block}
    .input{height: 30px;}
    .Names{display: none}
    label{display: none}
    .columnSize{
      width: 100%
    }
}

/* dropdown checkbox/features */

.multiselect {
  max-width: 400px;
    height: 30px;
}

.selectBox {
  position: relative;
}

.selectBox select {
      border: 1px #dadada solid;
    border-radius: 5px;
  width: 100%;
}

.overSelect {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

#checkboxes {
  display: none;
  border: 1px #dadada solid;
}

#checkboxes label {
  display: block;
  width: 100%;
}

#checkboxes label:hover {
  background-color: #DFE4E4;
   width: 97%;
}

#checkboxesNet {
  display: none;
  border: 1px #dadada solid;
}

#checkboxesNet label {
  display: block;
  width: 100%;
}

#checkboxesNet label:hover {
  background-color: #DFE4E4;
   width: 97%;
}
.textArea{width: 100%; max-width: 800px; height: 400px; margin-left: auto;margin-right: auto;}


textarea {
  margin-top: 10px;
  margin-left:auto;
  margin-right: auto;
  width: 100%;
  max-width: 800px;
  height: 300px;
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0.07);
  border-color: -moz-use-text-color #FFFFFF #FFFFFF -moz-use-text-color;
  border-image: none;
  border-radius: 6px 6px 6px 6px;
  border-style: none solid solid none;
  border-width: medium 1px 1px medium;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12) inset;
  color: #555555;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 1em;
  line-height: 1.4em;
  padding: 5px 8px;
  transition: background-color 0.2s ease 0s;
}


textarea:focus {
    background: none repeat scroll 0 0 #FFFFFF;
    outline-width: 0;
}
.submit{
    margin-left: auto;
    margin-right: auto;
    display: block;
    border-radius: 5px;
    border: 0.5px;
    max-width: 150px;
    width: 100%;
    background-color:#2B81E4;
    height: 30px;
    font-size: 16px;
    margin-bottom: 1%;
    cursor: pointer;
    color: black;
}

@media screen and (max-width:780px){

.imageOutput{
 max-width: 700px;
 width: 100%;
 height:350px;
}
}
@media screen and (max-width:540px){

.imageOutput{
 max-width: 400px;
 width: 100%;
 height:500px;
}
}
@media screen and (max-width:400px){

    ul.thumb-Images li {
     height:120px;
    width: 100%;
  max-width: 100px;
  
}
}
@media screen and (max-width:399px){
    .img-wrap {
    max-width: 80px;
    width: 100%;
    height: 100%;
}
    
}
@media screen and (max-width:340px){
    .img-wrap {
    max-width: 60px;
    width: 100%;
    height: 100%;
}
     ul.thumb-Images li {
     height:100px;
    width: 100%;
  max-width: 80px;
}   
.imageOutput{
 height:400px;
}
}