
body {
     height:100%;
     margin:0;
     padding:0;
}

/* Create two equal columns that floats next to each other */
.column50 {
    float: left;
    width: 50%;
    padding: 10px;
}

/* Used in base generic */
.wrapper {
    display: flex;
    align-items: stretch;
}

#sidewrap{
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    min-height: 100vh;
    background: #343434;
    transition: all 0.3s;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #0066CC;
    color: white;
}

#sidebar .sidebar-user {
    padding: 20px;
    color: white;
}


#sidebar ul li a {
    display: block;
    color: #9B9795;
    text-decoration: none;
    padding: 10px 20px;

}

#sidebar ul li a:hover {
    color: #7386D5;
    background: #fff;
}


/* used for order form */
#customorderform {
   width: 60%;
   min-width: 400px;
}

#customorderform_materials{
   width: 60%;
   min-width: 400px;

   padding: 10px;
    margin-bottom: 15px;
    background: #f2f2f2;
    border-radius: 7px;
}

#newmat {
    z-index: 10;
    width: 39%;
    min-width: 400px;
    min-height: 100vh;
    background: #f2f2f2;
    position:absolute;
    right: 0px;
    padding: 20px;
    margin-top: -20px;
}


#add_new_button{
  background: #5CB85C;
  color:white;
  border: 1px solid #65aa59;
  border-radius: 3px;
}


.contacts_area {
    display: flex;
    flex-direction: column;
    padding: 10px;
    padding-bottom: 0;
    margin-bottom: 15px;
    background: #f2f2f2;
    border-radius: 7px;
    width: 60%;
    min-width: 400px;
}

.contactinfo {
    width: 90%;
}


.address_grey{
     padding: 10px;
    padding-bottom: 0;
    margin-bottom: 15px;
    background: #f2f2f2;
    border-radius: 7px;
    width: 60%;
    min-width: 400px;

    display: flex;
    flex-direction: column;
}

.popoveraddress{
    display:none;
}

.address_question_button{
    text-align: right;
}

.comment_question_button{
    text-align: right;
}

.popovercomments{
    display:none;
    margin-bottom: 15px;
}

.address_question_button:hover + .popoveraddress{
    display:inline;
}

.comment_question_button:hover + .popovercomments{
    display:inline;
}

#addressesrow {
    margin-top: 15px;
    display: flex;
    flex-direction: row;
}

.comments_grey{
    padding: 10px;

    margin-bottom: 15px;
    background: #f2f2f2;
    border-radius: 7px;
    width: 60%;
    min-width: 400px;

    display: flex;
    flex-direction: column;
}

#hint_id_order_comments{
    margin-bottom: 0;
}

#div_id_order_comments{
    margin: 0;
}

#hint_id_order_contact{
    margin-bottom: 0;
}

.upper_area {
    display: flex;
}

.mainContactArea{
    flex-grow: 1;
}

#div_id_order_contact{
    margin-bottom: 10px;
}

.manage_contact_button{
  background: transparent;
  border: none;
}

.contacts_area a:hover {
    text-decoration: none;
    cursor: pointer;
}

.lasttip {
    color: #737373;
    margin-top: 15px;
}



#add_contact_button{
  background: transparent;
  border: none;
  color: #5CB85C;
}




#cancel_new_button{
  position: absolute;
  right: 20px;
  top: 40px;
  background: #f2f2f2;
  border: none;
}

#done_new_button{
  float: right;
  margin-right: 10px;
}

#addresses{
    width: 80%;
    background: transparent;
}

#vl {
    border-left: 1px solid #cdcdcd;
    height: 12em;
    width: 18%;

    float:left;
    margin-left:1%;

    margin-right:1%;
}

#vl strong {
    margin-left:5%;
}

#vllocal {
    margin-left:5%;
}

#vlor {
    margin-left:-0.5em;
    background: #f2f2f2;
    color: #444;
}


.pagination {
    display: inline-block;
}

.pagination li a {
    color: #9B9795;
}

#order_table li{
    list-style-type: none;
}

#editspot button{
    border: none;
    height: 70px;
    padding-top: 20px;
    width: 60px;
    font-size: 1.8em;
    font-weight: light;
    font-family: 'Trebuchet MS', sans-serif;
    text-transform: uppercase;
    background:#F03C61;
    position:absolute;
    top:0px;
    right:100px;
    color: white;
    text-align: center;
    border-radius: 0 0 7px 7px;

    transition: transform 0.2s;
}

#editspot button:hover {
    transform: scale(1.1);
}

#editingpage {
   border: 3px solid #F03C61;
   width: 100% + 30px;
   padding-left: 12px;
   padding-right: 12px;
   height: 100%;
   margin-left: -15px;
   margin-right: -15px;
}

#hiddenfields{
   display:none;
}


.editquantity input{
   border: 1px solid #9B9795;
   border-radius: 3px;
   width: 100%;
   padding-left: 4px;
   margin-bottom: 2px;

}

.editquantity select{
   margin-bottom: 2px;
}



.editsap input{
   border: 1px solid #9B9795;
   border-radius: 3px;
   width: 80%;
   padding-left: 4px;
}

#editcomments input{
   border: 1px solid #9B9795;
   border-radius: 3px;
   width: 100%;
   padding-left: 4px;
}


#searchstyle{
    height: 31px;
    position:absolute;
    top:25px;
    right:100px;
    background:white;
    padding-left:6px;
    border-bottom: 1px solid #8e8e8e;
}

#searchstyle button{
    float: right;
    height:31px;
    margin-top: 0px;
    margin-right: 0px;
    border: 1px solid #8e8e8e;
}

#searchstyle input{
    float: right;
    margin-top: 0px;
    margin-right: 6px;

    border-radius: 5px;
    border: 1px solid transparent;
    box-shadow: none;
    height: 30px;
}

#searchstyle select{
    float: right;
    margin-top: 0px;
    margin-right: 6px;
    height: 30px;
    background: white;
    border: 0;
    outline: 1px inset transparent;
}

#export_button {
    height: 31px;
    margin-left: 20px;
    position:absolute;
    top:25px;
    right:14px;
    border: 1px solid #8e8e8e;
}

@media (max-width: 1300px) {
    #export_button {
        top:14px;
    }
    #searchstyle{
        right: 14px;
        top:70px;
    }
    #order_table{
        margin-top: 40px;
    }
}


#staffarea input{
    height:30px;
    background-color: white;
    border-radius: 3px;
    border: 1px solid #8e8e8e;
}

#staffarea input:hover {
    background: #8e8e8e;
    color: white;
}

#staffarea form{
    display:inline-block;
}

#staffadd button{
    border: none;
    height: 70px;
    padding-top: 20px;
    width: 60px;
    font-size: 1.8em;
    font-weight: light;
    font-family: 'Trebuchet MS', sans-serif;
    text-transform: uppercase;
    background:#73d36e;
    position:absolute;
    top:0px;
    right:100px;
    color: white;
    text-align: center;
    border-radius: 0 0 7px 7px;

    transition: transform 0.2s;
}

#staffadd button:hover {
    transform: scale(1.1);
}

#loadit {
    width: 70.63px;
    height: 34px;
    background: #5CB85C;
    color:white;
    border: 1px solid #65aa59;
    border-radius: 3px;
}

.fa {
    margin-left: 27px;
    margin-top: 8px;
}

.labelstotalwrapper{
    display: -webkit-flex; /* Safari */
    -webkit-flex-wrap: wrap; /* Safari 6.1+ */
    display: flex;
    flex-wrap: wrap;

    width: 1470px;

}

.labeltableholder {
    margin: 30px 0px 30px 10px;
    width: 600px;
    height: auto;
}

.labelstable{
    width: 500px;
    margin-right: 15px;
    font-size: 16px;
}

.labelstable tr td:first-child {
    width: 170px;
}

.labelstable tr td:nth-child(2) {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.labelstable p{
    margin: 0;
}

.labelstable input {
    border: none;
    border-bottom: 1px solid #c2c2c2;
}

.labelsbutton {
    position: absolute;
    left: 10px;
    top: 10px;
    background: #fafafa;
    border: 1px solid #c2c2c2;
    border-radius: 5px;
}


.labelsbutton2 {
    position: absolute;
    left: 105px;
    top: 10px;
    background: #fafafa;
    border: 1px solid #c2c2c2;
    border-radius: 5px;
}

.loginfaqs {
    position:absolute;
    top:148px;
    width: 60%;
    padding:15px;
    background-color: #fafafa;
    border-radius: 5px;
}

.loginfaqs p {
    display: inline;
}

.loginfaqs a {
    display: inline;
}

.loginfaqs h3 {
    margin: 0;
    margin-bottom: 10px;
}

.xbuttonlabels {
    width: 22px;
    height: 22px;
    background: #f97a7a;
    color: white;
    border: none;
    border-radius: 50%;
    float: right;
    margin-right: 160px;
}

.ybutton {
    width: 22px;
    height: 22px;
    background: #f97a7a;
    color: white;
    border: none;
    border-radius: 50%;
    float: right;
    margin-right: 187px;
    margin-top: 25px;
}


.spacediv {
    width: 660px;
    height: 290px;
}


.pageination_wrapper{
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.pagination{
    display: flex;
    flex-direction: row;
}

.pagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
}

.pagination a.active {
  background-color: #4CAF50;
  color: white;
  border-radius: 5px;
}

.pagination a:hover:not(.active) {
  background-color: #ddd;
  border-radius: 5px;
}

.current{
    padding: 8px 16px;
}

@media print {
    .labelsbutton{
        display: none !important;
    }

    .labelsbutton2{
        display: none !important;
    }

    .xbuttonlabels{
        display: none !important;
    }

     .ybutton{
        display: none !important;
    }
}

#sidebar-bottom {
}

#notice-li {
    width: 250px;
}

#rochelogo {
    position: absolute;
    top: 17px;
    right: 17px;
}

#rochelogo>a {
    position: absolute;
    top: 1px;
    right: 1px;
    z-index: 999;
}

#constructionlogo {
    height: 150px;
}

/* test */

#mblock {
    margin: auto;
    width: 50%;
    padding: 70px 0;
}