 form#node-complaint-form fieldset#edit-group-general-information #edit-title-wrapper {
  display: none;
}

form#node-complaint-edit-form fieldset#edit-group-general-information #edit-title-wrapper {
  display: none;
}

/*****************Flex container**********/
.flex-container {
  display: flex;
  flex-direction: row;
}

.flex-left {
  width: 50%;
  margin: 5px;
}

.flex-right {
  width: 50%;
  margin: 5px;
}

@media (max-width: 1026px) {

  .flex-container {
    display: flex;
    flex-direction: column;
  }

  .flex-left {
    width: 100%;
    margin: 5px;
  }

  .flex-right {
    width: 100%;
    margin: 5px;
  }
}


.node--type-complaint #block-turosicomplaints-content form#node-complaint-edit-form #edit-field-complaint-photo-wrapper button.link.tabledrag-toggle-weight {
  display: none;
}

#block-warningmessage p a.btn-primary {
  width: 200px;
  height: 45px;
  display: inline-block;
  padding: 10px;
  text-align: center;
  border-radius: 5px;
}

#edit-group-customer-details,
#edit-group-general-information,
#edit-group-reason-code,
#edit-group-complaint-description,
#edit-group-pickup-delivery,
#edit-group-product-details,
#edit-group-resolution,
#group-general-information {
  background:lightgray;
  float: left;
  margin: 10px;
  width: 48%;
}


#group-customer-details,
#group-reason-code,
#group-complaint-description,
#group-pickup-delivery,
#group-product-details,
#group-resolution{
  background:lightgray;
  float: left;
  margin: 10px;
  width: 100%;
}

#edit-group-customer-details legend,
#edit-group-general-information legend,
#edit-group-reason-code legend,
#edit-group-complaint-description legend,
#edit-group-pickup-delivery legend,
#edit-group-product-details legend,
#edit-group-resolution legend{
  background-color: darkgray;
  padding: 5px;
}

#group-customer-details legend,
#group-general-information legend,
#group-reason-code legend,
#group-complaint-description legend,
#group-pickup-delivery legend,
#group-product-details legend,
#group-resolution legend{
  background-color: darkgray;
  padding: 5px;
}

fieldset#edit-group-customer-details legend .fieldset-legend,
fieldset#edit-group-general-information legend .fieldset-legend,
fieldset#edit-group-reason-code legend .fieldset-legend,
fieldset#edit-group-complaint-description legend .fieldset-legend,
fieldset#edit-group-pickup-delivery legend .fieldset-legend,
fieldset#edit-group-product-details legend .fieldset-legend,
fieldset#edit-group-resolution legend .fieldset-legend
{
  padding-left:15px;
}

fieldset#group-customer-details legend .fieldset-legend,
fieldset#group-general-information legend .fieldset-legend,
fieldset#group-reason-code legend .fieldset-legend,
fieldset#group-complaint-description legend .fieldset-legend,
fieldset#group-pickup-delivery legend .fieldset-legend,
fieldset#group-product-details legend .fieldset-legend,
fieldset#group-resolution legend .fieldset-legend
{
  padding-left:15px;
}

fieldset#edit-group-customer-details .fieldset-wrapper,
fieldset#edit-group-general-information .fieldset-wrapper,
fieldset#edit-group-reason-code .fieldset-wrapper,
fieldset#edit-group-complaint-description .fieldset-wrapper,
fieldset#edit-group-pickup-delivery .fieldset-wrapper,
fieldset#edit-group-product-details .fieldset-wrapper,
fieldset#edit-group-resolution .fieldset-wrapper{
  padding:20px;
}

fieldset#group-customer-details .fieldset-wrapper,
fieldset#group-general-information .fieldset-wrapper,
fieldset#group-reason-code .fieldset-wrapper,
fieldset#group-complaint-description .fieldset-wrapper,
fieldset#group-pickup-delivery .fieldset-wrapper,
fieldset#group-product-details .fieldset-wrapper,
fieldset#group-resolution .fieldset-wrapper{
  padding:20px;
}


fieldset#edit-group-complaint-description {
  margin-bottom:90px;
}

fieldset#edit-group-product-details {
  margin-bottom:10px;
}

fieldset#edit-group-resolution {
  width:97%;
}

.complaintsNumberContainer, .complaintNumberContainer {
  background: #eee;
  border: solid 1px #d0d0d0;
  padding: 10px;
}

.complaintsNumberContainer h2 {
  font-size:1.5em;
}


.complaintsNumberHeading {
  float: right;
}

#block-turosicomplaints-content .table td {
  padding: 0.3rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}

.node--type-complaint .field__item {
  font-weight:bold;
}

.field--name-field-complaint-responsible {
  width:50%;
  float: left;
}

.field--name-field-date-received {
  width:50%;
  float: right;
  text-align: right;
}

#recordedbydateraisedcontainer.ComplaintsFullContainer legend span.fieldset-legend {
  display: none;
}

#headofficereferencecontainer.ComplaintsFullContainer legend span.fieldset-legend {
  display: none;
}

#headofficereferencecontainer {
  float: right;
}

.individualComplaintContainer span{
  font-weight: bold;
}


#recordByContainer {
  background: #fff;
  padding: 10px;
}

#customerTitleContainer {
  background: #fff;
  padding: 10px;
}


#dateRecordedContainer {
  background: #fff;
  padding: 10px;
}

#customerContactContainer {
  background: #ffffff;
  padding: 10px;
}

#complaintHeadOfficeRef {
  background: #fff;
  padding: 10px;
}

#customerPhoneContainer {
  background: #fff;
  padding: 10px;
}

#shipToContainer {
  background: #fff;
  padding: 10px;
}

#customerDetailsContainer h3 {
  font-size: 1.2em;
}

#customerDetailsContainer {
  background: #eee;
  padding: 10px;
  border: solid 1px #d0d0d0;
}

#complaintPickupInvoiceContainer {
  margin-top: 5px;
  background: #eee;
  padding: 10px;
  border: solid 1px #d0d0d0;
  margin-left: 5px;
  margin-right: 5px;
}

#complaintPickupInvoiceContainer h3 {
  font-size: 1.2em;
}

#reasonDescriptionContainer {
  font-size: 1.2em;
  background: lightgray;
  padding: 10px;
  margin-bottom: 0px;
  margin-top:20px;
}

#reasonDescriptionContainer {
  margin-top: 0px;
  background: #eee;
  padding: 10px;
  border: solid 1px #d0d0d0;
  min-height: 100px;
}

#reasonDescriptionContainer h3 {
  font-size: 1.2em;
}

#complaintInvestigationContainer {
  margin:5px;
  background: #eee;
  padding: 10px;
  border: solid 1px #d0d0d0;
}

#complaintInvestigationContainer h3 {
  font-size:1.2em;
}

.complaintsInvestigaitonDetails {
  background:#fff;
  padding:10px;
}

#complaintCorrectiveContainer {
  margin:5px;
  background: #eee;
  padding: 10px;
  border: solid 1px #d0d0d0;
}

#complaintCorrectiveContainer h3 {
  font-size: 1.2em;
}

.complaintsCorrectiveAction {
  background:#fff;
  padding:10px;
}

#complaintCreditApproved {
  background: #fff;
  padding: 10px;
}

.complaintsReasonDetails {
  width:100%;
  padding:10px;
  background:#fff;
}

#complaintDescriptionContainer {
  margin-top: 0px;
  background: #eee;
  padding: 10px;
  border: solid 1px #d0d0d0;
  min-height: 100px;
  margin-bottom: 0px;
}


#complaintDescriptionContainer h3 {
  font-size: 1.2em;
}

.complaintDescriptionDetails {
  width:100%;
  padding:10px;
  background:#fff;
}

#complaintPickUpDateContainer {
  background:#fff;
  padding:10px;
}

#complaintDeliveryContainer {
  background:#fff;
  padding:10px;
}

#complaintInvoice {
  background:#fff;
  padding:10px;
}

#complaintInvoiceDate {
  background:#fff;
  padding:10px;
}

#complaintProductContainer {
  background: #eee;
  padding: 10px;
  border: solid 1px #d0d0d0;
  margin: 5px;
}

#complaintProductContainer h3 {
  font-size: 1.2em;
}

#complaintsProductTitle {
  background:#fff;
  padding:10px;
}

#complaintsProductType {
  background: #fff;
  padding: 10px;
}

#complaintProductCode {
  background:#fff;
  padding:10px;
}

#complaintQuantity {
  background:#fff;
  padding:10px;
}

#complaintUnitMeasure {
  background:#fff;
  padding: 10px;
}

#complaintUsedBy {
  background:#fff;
  padding:10px;
}

#complaintPhotoContainer {
  background: #eee;
  padding: 10px;
  border: solid 1px #d0d0d0;
  margin: 5px;
}

.complaintsPDFContainer {
  background: #eee;
  padding: 10px;
  border: solid 1px #d0d0d0;
  margin: 5px;
}
 
#complaintEmailContainer {
  background: #eee;
  padding: 10px;
  border: solid 1px #d0d0d0;
  margin: 5px;
}


.complaintsPDFContainer a {
  font-size:2em;
  color:#000;
}

.individualComplaintContainer #complaintProductContainer .row .col-md-4 {
  margin-bottom:10px;
}

.individualComplaintContainer #complaintProductContainer .row .col-md-2 {
  margin-bottom:10px;
}

.individualComplaintContainer #complaintProductContainer .row .col-md-3 {
  margin-bottom:10px;
}

.individualComplaintContainer #complaintProductContainer .row .col-md-6 {
  margin-bottom:10px;
}

.individualComplaintContainer .flex-container .complaintsNumberContainer.flex-left .row.firstRow {
  margin-bottom: 10px;
}

.individualComplaintContainer .flex-container #customerDetailsContainer.flex-right .row.firstRow {
  margin-bottom: 10px;
}

#complaintFilesContainer .complaintFiles a li {
  list-style: none;
}

#complaintFilesContainer {
  background: #eee;
  padding: 10px;
  border: solid 1px #d0d0d0;
  margin: 5px;
}

form#node-complaint-edit-form.node-complaint-edit-form.node-form .complaintsNodeEditActions div#edit-actions a#edit-delete.button {
  color: #fff;
  background-color: #007bff;
  width: 100px;
  display: block;
  margin: 0px 5px;
  border-radius: 3px;
  padding: 7px 0px;
  float: left;
  text-align: center;
}

#edit-field-pack-date-timestamp-wrapper.field--type-datetime.field--name-field-pack-date-timestamp.field--widget-materialize-date-time-widget.js-form-wrapper.form-group .container {
  padding-left:0px;
  padding-right:0px;
}

#complaintPackDate {
  background: #fff;
  padding: 10px;
}

form#views-exposed-form-complaints-page-1.views-exposed-form.bef-exposed-form div.form-row fieldset.js-form-item.js-form-type-select.form-group {
  max-width:210px !important;
}

form#views-exposed-form-complaints-page-1.views-exposed-form.bef-exposed-form div.form-row fieldset.js-form-item.js-form-type-textfield.form-group {
  max-width:180px !important;
}

/***********************************************************************/
/***********************************************************************/
/***************************** 5 column layout **************************/

.col-xs-1-5, .col-sm-1-5, .col-md-1-5, .col-lg-1-5,
.col-xs-2-5, .col-sm-2-5, .col-md-2-5, .col-lg-2-5,
.col-xs-3-5, .col-sm-3-5, .col-md-3-5, .col-lg-3-5,
.col-xs-4-5, .col-sm-4-5, .col-md-4-5, .col-lg-4-5 {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}
.col-xs-1-5 {
  width: 20%;
  float: left;
}
.col-xs-2-5 {
  width: 40%;
  float: left;
}

.col-xs-3-5 {
  width: 60%;
  float: left;
}

.col-xs-4-5 {
  width: 80%;
  float: left;
}

@media (max-width: 767px) {
  .col-md-1-5 {
    width:100%;
  }
  .col-md-2-5 {
    width:100%;
  }
  .col-md-3-5 {
    width:100%;
  }
  .col-md-4-5 {
    width:100%;
  }
  .col-md-5-5 {
    width:100%;
  }
}

@media (min-width: 768px) {
  .col-sm-1-5 {
    width: 20%;
    float: left;
  }
  col-sm-2-5 {
    width: 40%;
    float: left;
  }
  col-sm-3-5 {
    width: 60%;
    float: left;
  }
  col-sm-4-5 {
    width: 80%;
    float: left;
  }
}
@media (min-width: 992px) {
  .col-md-1-5 {
    width: 20%;
    float: left;
  }
  .col-md-2-5 {
    width: 40%;
    float: left;
  }
  .col-md-3-5 {
    width: 60%;
    float: left;
  }
  .col-md-4-5 {
    width: 80%;
    float: left;
  }
}
@media (min-width: 1200px) {
  .col-lg-1-5 {
    width: 20%;
    float: left;
  }
  .col-lg-2-5 {
    width: 40%;
    float: left;
  }
  .col-lg-3-5 {
    width: 60%;
    float: left;
  }
  .col-lg-4-5 {
    width: 80%;
    float: left;
  }
}

/***********************************************************************/
/***********************************************************************/
/***********************************************************************/



@media (max-width: 767px) {
  #edit-group-customer-details,
  #edit-group-general-information,
  #edit-group-reason-code,
  #edit-group-complaint-description,
  #edit-group-pickup-delivery,
  #edit-group-product-details,  
  #edit-group-resolution,
  #group-general-information {
    width: 100%;
  }

  fieldset#edit-group-product-details {
    margin-bottom: 20px;
  }

  fieldset#edit-group-complaint-description {
    margin-bottom: 20px;
  }

  .node--type-complaint #main.container-fluid main#content.main-content.col {
    padding:0px 20px 0px 0px;
  }

  .node--type-complaint #main.container-fluid main#content.main-content.col {
    padding:0px 10px 0px 0px;
  }

  .node--type-complaint #block-turosicomplaints-content form#node-complaint-edit-form .complaintsNumberContainer,.node--type-complaint #block-turosicomplaints-content form#node-complaint-edit-form .complaintNumberContainer {
    margin-left: 15px;
  }

  .complaintsNodeEditActions {
    text-align: center;
    margin-top:20px;
    margin-right:10px;
  }

  form#node-complaint-edit-form #edit-actions button#edit-submit,form#node-complaint-edit-form #edit-actions button#edit-preview {
    margin-left:10px;
    width:100%;
    margin-top:10px;
  }

  .node--type-complaint #reasonDescriptionContainer {
    margin-bottom: 10px;
    margin-top:5px;
  }

  .node--type-complaint #complaintDescriptionContainer {
    margin-bottom: 5px;
  }
  
  .node--type-complaint #complaintPickupInvoiceContainer {
    margin-right: -5px;
  }

  .node--type-complaint #complaintProductContainer {
    margin-right:-5px;
  }

  .node--type-complaint #complaintPhotoContainer {
    margin-right:-5px;
  }

  .node--type-complaint .complaintsPDFContainer {
    margin-right:-5px;
  }

  .node--type-complaint form#node-complaint-edit-form .content {
    margin:0px;
  }


  form#node-complaint-edit-form.node-complaint-edit-form.node-form .complaintsNodeEditActions div#edit-actions a#edit-delete.button {
    color: #fff;
    background-color: #007bff;
    width: 100%;
    display: block;
    margin: 10px;
    border-radius: 3px;
    padding: 7px 0px;
    float: none;
  }

  #edit-group-customer-details, #edit-group-general-information, #edit-group-reason-code, #edit-group-complaint-description, #edit-group-pickup-delivery, #edit-group-product-details, #edit-group-resolution, #group-general-information {
    background: lightgray;
    float: none;
    margin: 10px;
    min-width: 97%;
  }

  .node--type-complaint #block-turosicomplaints-page-title .content h1.title {
    margin-top:10px;
    text-align: center;
    font-size:2em;
  }

}