html * {
  font-family: 'Open Sans', sans-serif;
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
body {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  line-height: 1;
  vertical-align: baseline;
  background-color: #ccc;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #2a343d;
  margin: 0;
}
p {
  margin: 0;
}
.width950 {
  max-width: 950px;
  margin: auto;
}
.blueblock {
  background: url('/images/background.png');
  background-size: cover;
}
.clear {
  clear: both;
}
.hr {
  background: url('/images/heading-underline.png') no-repeat;
  height: 8px;
  margin-left: -10px;
  margin-top: 5px;
  margin-bottom: 7px;
}
.spacer {
  height: 60px;
}
.replaced {
  display: block;
  height: 0px;
  width: 0px;
  overflow: hidden;
}

#loadingPanel h1 {
  font-size: 60px;
  text-align: center;
  margin: 15px 10px 10px;
  text-transform: uppercase;
  font-weight: 400;
}
#loadingPanel .loadMessage {
  text-align: center;
  font-size: 16px;
  font-weight: normal;
}
#spinner {
  text-align: center;
  margin: 25px auto;
}

/* General Application Styles, app panels, etc*/
.application_panel {
  width: 100%;
  display: none;
}
.application_panel .controls {
  height: auto;
}
.application_panel .hr {
  background: url('/images/app_hr.png') no-repeat center;
  margin: 3px 0px;
  clear: both;
  width: 160px;
}
.application_panel h3 {
  font-size: 16px;
  font-weight: 600;
  color: #2a343d;
  text-align: center;
}

/* PANEL 1 Styles */
#panel1 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 108px 35px;
}
.panel1 {
  text-align: center;
}
.panel1 .copyLeft {
  min-width: 420px;
  text-align: left;
  font-size: 18px;
  font-weight: 100;
  line-height: 1.05;
  margin-right: 50px;
}
.panel1 .copyLeft .textDown {
  margin-top: 30px;
  line-height: 1.25;
}
.panel1 .copyLeft strong {
  font-size: 20px;
}
.panel1 h1 {
  color: #2a343d;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 35px;
  text-wrap: nowrap;
}
.panel1 .options {
  max-width: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.panel1 .option {
  text-align: center;
  cursor: pointer;
}
.panel1 .option h2 {
  font-size: 12px;
  color: #2a343d;
  text-transform: uppercase;
  font-weight: 700;
}
.panel1 .option .image {
  width: 177px;
  height: 130px;
  padding: 5px;
  margin-bottom: 10px;
}
.panel1 .upload .image {
  background: url('/images/panel1_background_upload.jpg') no-repeat;
}
.panel1 #background1 .image {
  background: url('/images/panel1_background1.jpg') no-repeat;
}
.panel1 #background2 .image {
  background: url('/images/panel1_background2.jpg') no-repeat;
}
.panel1 #background3 .image {
  background: url('/images/panel1_background3.jpg') no-repeat;
}

/* Panel 2 Styles */
#panel2 {
  padding: 10px;
}
.panel2 h1 {
  color: #2a343d;
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  text-wrap: nowrap;
}
.panel2 h2 {
  color: #2a343d;
  font-size: 18px;
  font-weight: 700;
  text-wrap: nowrap;
}
.panel2 .verticalBreak {
  margin-left: 15px;
  margin-right: 5px;
}
.panel2 .options {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.panel2 .option {
  color: #121212;
  font-size: 15px;
  font-weight: 100;
  line-height: 22px;
  text-align: left;
  min-width: 300px;
  padding: 100px 20px 20px;
  background-position-x: center !important;
  background-position-y: 30px !important;
  flex: 1;
}
.panel2 .examples {
  margin: 0;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
}
.panel2 .example {
  margin: 0;
  max-width: 125px;
}
.panel2 .example .imageHolder {
  padding: 5px;
  height: 107px;
  overflow: hidden;
}
.panel2 .example .caption {
  background: white;
  text-align: center;
  font-weight: 700;
  margin-top: 10px;
}
.panel2 .heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 5px;
  padding-bottom: 15px;
  padding-left: 10px;
  padding-right: 10px;
}
.panel2 .example img {
  display: block;
  margin: auto;
  line-height: 0px;
}
.panel2 .option1 {
  background: url('/images/panel2_num1.png') no-repeat #f1f7fa;
}
.panel2 .option2 {
  background: url('/images/panel2_num2.png') no-repeat #eaf2f8;
}
.panel2 .option3 {
  background: url('/images/panel2_num3.png') no-repeat #f1f7fa;
}
.panel2 .upload {
  margin-top: 70px;
}
.panel2 .footer {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  padding: 20px 0;
  justify-content: flex-end;
}
.panel2 .app_content {
  font-size: 13px;
  margin-left: 20px;
}
.panel2 .app_content p {
  line-height: 16px;
  max-width: 750px;
}
.panel2 form {
  margin: 40px -5px;
  text-align: left;
  font-size: 14px;
  display: flex;
}
.panel2 .max {
  display: inline-block;
  padding: 5px;
  background: #969895;
  border: 1px #ccc;
  height: 23px;
  line-height: 23px;
  vertical-align: top;
  margin-left: -2px;
  display: none;
}
.panel2 #userfile {
  background: #cbcaca;
  opacity: 0;
  filter: alpha(opacity=0);
  width: 205px;
  z-index: 500;
  display: inline-block;
  height: 34px;
  text-align: center;
}
.panel2 .restyled {
  position: relative;
  height: 34px;
  line-height: 34px;
  display: inline-block;
  width: 205px;
}
#uploadsubmit {
  display: inline-block;
  height: 34px;
  line-height: 34px;
  margin-left: 7px;
}

.restyled span {
  display: inline-block;
  position: absolute;
  left: 0px;
  top: 0px;
}
.restyled .imagereplacement {
  background: white no-repeat;
  width: 213px;
  height: 34px;
  overflow: hidden;
}
.restyled .newURL {
  padding: 0px 5px;
  overflow: hidden;
  font-size: 18px;
  font-weight: 100;
  color: #949494;
  margin-left: 5px;
}
.panel2 .uploadPopup {
  display: none;
  padding: 20px;
  width: 260px;
  position: absolute;
  top: 175px;
  height: 210px;
  margin-left: -150px;
  background: #959694;
  border: 2px solid #cbccca;
  color: #fff;
  text-align: center;
  left: 50%;
  box-shadow: 0px 0px 28px rgba(0, 0, 0, 0.99);
  -moz-box-shadow: 0px 0px 28px rgba(0, 0, 0, 0.99);
  -webkit-box-shadow: 0px 0px 28px rgba(0, 0, 0, 0.99);
}
.uploadPopup h2 {
  text-align: center;
  font-size: 25px;
  text-transform: uppercase;
  color: #fff;
}
.uploadPopup .percentage {
  margin: 20px 0px;
  font-size: 20px;
}
.uploadPopup .complete {
  font-size: 16px;
  color: #121212;
}
.pretty_hr {
  background: url('/images/pretty_hr.png') no-repeat center top;
  height: 17px;
  clear: both;
  margin-bottom: 10px;
}
.nextButton {
  background: url('/images/next_button.png') no-repeat;
  height: 28px;
  width: 61px;
  cursor: pointer;
  position: absolute;
  bottom: 5px;
  right: 5px;
}
.prevButton {
  background: url('/images/prev_button.png') no-repeat;
  height: 28px;
  width: 61px;
  cursor: pointer;
}

/* Panel 3/Multi Menu Styles */
.panel3 {
  padding: 5px;
}
.panel3 .button_set {
  justify-content: space-between;
  align-items: center;
}
.panel3 .fabrics_button_set {
  justify-content: space-between;
  align-items: center;
}
.fabrics {
  width: 100%;
}

/* SLIDERS */
.ui-slider-horizontal {
  height: 9px;
  background: url('/images/slider_bg.gif') repeat-x;
}
.ui-slider-horizontal .ui-slider-handle {
  background: url('/images/slider_slide.gif') no-repeat;
  height: 24px;
  width: 8px;
  top: -8px;
  margin-left: -4px;
  cursor: pointer;
  -webkit-border-radius: 0px;
  border-radius: 0px;
  border: none;
}

/* Slider adjust buttons */
.minusButton {
  float: left;
  width: 20px;
  height: 20px;
  display: block;
  cursor: pointer;
}
.plusButton {
  float: right;
  width: 20px;
  height: 20px;
  display: block;
  cursor: pointer;
}
.menu_panel.fabrics_panel {
  display: flex;
  flex-direction: column;
}
.menu_panel {
  display: none;
  line-height: 1.2;
  align-items: flex-start;
}
.menu_panel.image_panel {
  max-width: 225px;
  margin-bottom: 20px;
}
.menu_panel.image_panel .spacer {
  height: 50px;
}

.menu_panel .heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.menu_panel h2,
.menu_panel h3 {
  text-align: left;
  font-size: 17px;
  margin-bottom: 10px;
}
.menu_panel h3 {
  margin-bottom: 3px;
  font-size: 14px;
}

.menu_panel.share_panel h2,
.menu_panel.confirmation_panel {
  margin-top: 10px;
}
.bottom_menu_panel {
  display: none;
}
.menuChangeNext {
  background: url('/images/next_button.png') no-repeat;
  height: 28px;
  width: 61px;
  cursor: pointer;
}
.sendButton {
  background: url('/images/sendButton.png') no-repeat 0px -1px;
  height: 28px;
  width: 61px;
  cursor: pointer;
}
.menuChangePrev {
  background: url('/images/prev_button.png') no-repeat;
  height: 28px;
  width: 61px;
  cursor: pointer;
}
.getPanelButton {
  background: url('/images/prev_button.png') no-repeat;
  height: 28px;
  width: 61px;
  cursor: pointer;
}
#visualizer_application {
  position: static;
  width: 100%;
  height: auto;
}
#visualizer_application .body {
  display: flex;
}
#visualizer_application .footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 5px;
  margin-top: auto;
}
#visualizer_application .controls {
  margin-left: 10px;
}
#visualizer_application .viewscreen {
  background: #6c6f70;
  border: 1px solid #fff;
  flex: 1;
  max-width: 717px;
}
#viewFrame {
  max-width: 707px;
  max-height: 471px;
  overflow: hidden;
  margin: 5px;
}
#viewBG {
  display: block;
}
#visualizer_application .second_controls {
  display: flex;
}
#visualizer_application .button_set {
  width: 210px;
  height: 40px;
  display: none;
  padding-right: 5px;
}
.measuringPanel {
  background: url('/images/25_foot_scale.png') no-repeat -1px 2px;
  flex: 1;
  max-width: 100%;
  height: 29px;
  position: relative;
  bottom: 0;
}
.slider {
  margin: 10px 0px 20px;
}

/* Slider controls */
.controlbox {
  margin-top: 20px;
}
#smallerBigger {
  padding: 15px 0px;
  width: 205px;
  height: 35px;
  background: url('/images/smallerBiggerBG.png') no-repeat top left;
}
#leftRight {
  padding: 15px 0px;
  height: 35px;
  width: 205px;
  background: url('/images/leftRightBG.png') no-repeat top left;
}
#upDown {
  padding: 15px 0px;
  height: 35px;
  width: 205px;
  background: url('/images/upDownBG.png') no-repeat top left;
}

/* Frame and Cloth Selector Panels */
.frameChange {
  margin-right: -5px;
  /*background: url('/images/PS5000-only.png') no-repeat 99px 45px;*/
}
.frameChange .activeFrame {
  -moz-box-shadow: 0px 0px 14px #fff;
  -webkit-box-shadow: 0px 0px 14px #fff;
  box-shadow: 0px 0px 14px #fff;
}
.frameButton {
  border: 1px solid #ccc;
  background: #656867;
  width: 46px;
  height: 20px;
  float: left;
  margin-right: 2px;
  cursor: pointer;
  font-size: 12px;
  text-align: center;
  line-height: 20px;
}
.frameSet {
  width: 98px;
  background: url('/images/modelbuttons.jpg') no-repeat #6c6f70 0px -29px;
  height: 29px;
  line-height: 29px;
  float: left;
  margin-top: 2px;
  margin-right: 2px;
  margin-bottom: 2px;
  cursor: pointer;
  text-align: center;
  color: #030303;
  overflow: hidden;
  font-size: 12px;
}
.frameChange .active {
  background-position: 0px 0px;
  -moz-box-shadow: 0px 0px 7px #fff;
  -webkit-box-shadow: 0px 0px 7px #fff;
  box-shadow: 0px 0px 7px #fff;
}
.selectionInfo .frameButton {
  float: none;
  display: inline-block;
}
.frameButton span {
  display: block;
  color: #000;
  line-height: 17px;
  width: 42px;
  text-align: center;
  margin: 2px;
  height: 16px;
}
.frameChange .ps5000 {
  display: none;
}
#whiteFrame span {
  background: #fefefe;
}
#latteFrame span {
  background: #d5b491;
}
#ivoryFrame span {
  background: #fdfedd;
}
#blackFrame span {
  background: #000;
  color: #fff;
}
.scrollable_y {
  overflow: auto;
  overflow-y: auto;
}
.swatches {
  border: 1px solid #fff;
  background: #fcfdfe;
  max-height: 300px;
  flex: 1;
}
.swatch {
  margin: 3px;
  padding: 2px;
  border: 1px solid #ddd;
  position: relative;
  height: 60px;
  cursor: pointer;
  display: none;
  box-sizing: content-box;
}
.swatch .image {
  width: 60px;
  height: 60px;
  float: left;
  overflow: hidden;
  position: relative;
}
.swatch .image img {
  display: block;
  line-height: 0px;
  width: 100%;
  min-height: 60px;
  cursor: pointer;
}
.swatch .swatchInfo {
  float: left;
  margin-left: 3px;
  height: 60px;
  cursor: pointer;
  padding: 0px 0px 0px 5px;
  width: 105px;
  position: relative;
}
.swatchInfo .magnifier {
  background: url('/images/magnifier.png') no-repeat right center #b7d4e6;
  width: 100px;
  font-size: 10px;
  height: 16px;
  cursor: pointer;
  line-height: 18px;
  padding-left: 5px;
  position: absolute;
  bottom: 5px;
  left: 5px;
}
.swatchInfo .swatchName {
  font-size: 11px;
  color: #121212 !important;
  margin-top: 0px;
}
.dropDown {
  text-align: center;
}
.fabricGroups {
  width: 200px;
  text-align: left;
  margin: auto;
  display: block;
  margin-bottom: 5px;
  margin-top: 5px;
  background: #eff6fa;
  border: 0px;
}
.valenceChange {
  margin: auto;
  margin-top: 5px;
  background: url('/images/Valance-button.jpg') no-repeat;
  font-size: 14px;
  line-height: 33px;
  padding-left: 10px;
  cursor: pointer;
  height: 31px;
  width: 205px;
  position: absolute;
  bottom: 0px;
}
.valenceChange h3 {
  margin: 0px;
}
.valenceChange p {
  font-size: 10px;
}
.valenceChange a {
  font-weight: bold;
  color: #000;
}
.saveButton {
  height: 28px;
  display: block;
  bottom: 4px;
  width: 108px;
  cursor: pointer;
  background: url('/images/saveShareButton.png') no-repeat;
}

/* PopupHolder */
#popupHolder {
  width: 322px;
  height: 340px;
  border: 2px solid #fcfdfe;
  background: #bad5e7;
  padding: 15px;
  position: absolute;
  left: 50%;
  top: 40px;
  margin-left: -161px;
  overflow: hidden;
  display: none;
  box-shadow: 0px 0px 28px rgba(0, 0, 0, 0.99);
  -moz-box-shadow: 0px 0px 28px rgba(0, 0, 0, 0.99);
  -webkit-box-shadow: 0px 0px 28px rgba(0, 0, 0, 0.99);
}
#closePopup {
  position: absolute;
  right: 10px;
  top: 10px;
  height: 15px;
  width: 15px;
  background: url('/images/popupClose.jpg') no-repeat;
  cursor: pointer;
}
#popupHolder #popupContent {
  margin-top: 10px;
}
#popupHolder h3 {
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  margin-left: 30px;
  color: #2a343d;
}
.valencePopup {
  margin-left: 30px;
  margin-top: 20px;
  padding: 5px;
  background: #6c6f70;
  width: 260px;
  height: 235px;
  font-size: 12px;
  line-height: 14px;
  background: url('/images/valences.jpg') no-repeat;
}
.valenceInfo {
  margin-left: 165px;
  text-align: left;
  margin-top: 5px;
}
.valenceInfo h6 {
  color: #000;
  font-weight: bold;
  margin-top: 8px;
}
.bigPopupSwatch {
  margin-left: 30px;
  border: 3px solid #fff;
  width: 248px;
  height: 248px;
}
.bigPopupSwatch .popupFrame {
  height: 248px;
  width: 248px;
}
.bigPopupSwatch img {
  width: 248px;
  height: 248px;
}

/*Bottom Fabric Menu */
.second_controls h4 {
  color: #000;
  font-size: 15px;
  line-height: 30px;
  text-transform: uppercase;
  font-weight: 100;
  text-align: left;
  float: left;
}
.second_controls .magnifier {
  width: 18px;
  height: 30px;
  position: absolute;
  right: 0px;
  top: 0px;
  cursor: pointer;
}
.currentFrame {
  position: absolute;
  top: 0px;
  left: 100px;
  width: 181px;
  height: 30px;
  line-height: 30px;
  background: url('/images/current-frameBG.jpg') no-repeat;
}
.currentFrame h4 {
  width: 40px;
  padding-left: 8px;
}
.selection {
  border: 2px solid #6c6f70;
  width: 55px;
  height: 55px;
  cursor: pointer;
  overflow: hidden;
}
.bottom_menu_panel .selection {
  cursor: default;
}
.selection img {
  width: 100%;
}
.share_panel .socialButtons {
  display: none;
  margin-top: 17px;
  width: 205px;
  height: 65px;
}
.currentFabric {
  margin-top: 10px;
  background: #f2f7fa;
  text-align: left;
  color: #2a343d;
  padding: 10px;
  width: unset;
}
.currentFabric h4 {
  font-size: 10px;
}
/* .share_panel .currentFabric {
    margin-top: 10px;
    background: #f2f7fa;
    width: 205px;
    height: 65px;
    position: absolute;
    bottom: 74px;
    color: #2A343D;
} */
.share_panel .currentFabric h4 {
  font-size: 10px;
  color: #2a343d;
}
.currentFabric .fabricName {
  margin: auto;
}
.currentFabric .fabricName h4 {
  text-align: left;
  min-height: 30px;
  display: flex;
  align-items: center;
}
.currentFabric .border {
  border: 2px solid #6c6f70;
  width: 176px;
  height: 20px;
}
.fabricInfo {
  position: relative;
}

/* Email/Share Panel */
.share_panel h4 {
  color: #000;
  font-size: 15px;
}
.frameTitle {
  line-height: 48px;
}
.share_panel .frameButton {
  cursor: default;
  vertical-align: middle;
}
.share_panel .fabricInfo {
  height: 20px;
  vertical-align: top;
}
.share_panel .selection {
  display: inline-block;
}
.share_panel .fbnameHolder {
  font-size: 10px;
  line-height: 10px;
  vertical-align: top;
}
.share_panel .leftinput {
  float: left;
}
.share_panel .leftlabel {
  padding-right: 15px;
  margin-right: 80px;
  background: url('/images/little-arrow.png') no-repeat right 8px;
  display: block;
  line-height: 27px;
  text-align: left;
  margin-left: 27px;
}
.share_panel .rightinput {
  float: right;
  margin-right: 5px;
  padding: 3px;
  font-size: 14px;
  background: #cbcaca;
  border: 1px solid #dbdddd;
}
.share_panel .smallinput {
  width: 40px;
  margin-right: 20px;
}
.share_panel label {
  color: #121212;
  font-size: 12px;
  font-weight: normal;
}
.share_panel .contactInfo {
  margin-top: 10px;
}
.share_panel .textInput {
  display: block;
  margin-bottom: 10px;
  padding: 3px;
  color: #333;
  background: #fbfdfe;
  border: 1px solid #dbdddd;
  width: 100%;
  margin: 3px 0px 10px;
}
.share_panel textarea {
  display: block;
  margin-bottom: 10px;
  padding: 3px;
  font-size: 12px;
  background: #fbfdfe;
  border: 1px solid #dbdddd;
  width: 100%;
  height: 50px;
  margin: 3px 0px 10px;
  color: #333;
}
.share_panel .checkleft input {
  vertical-align: text-top;
  float: left;
  width: 12px;
}
.share_panel .checkleft span {
  display: inline-block;
  margin-left: 10px;
}

/* Confirmation Panel */
.confirmation_panel .message {
  font-weight: bold;
  padding: 5px 0px;
  color: #333;
  font-size: 14px;
  line-height: 1.2;
}
.confirmation_panel h5 {
  color: #000;
  font-weight: normal;
  font-size: 14px;
}
.confirmation_panel .savedURL {
  margin-top: 10px;
}
.savedURL input {
  background: #fcfdfe;
  padding: 3px;
  overflow: hidden;
  line-height: 22px;
  height: 22px;
  width: 100%;
  border: 1px solid #fff;
  display: block;
  text-decoration: none;
  color: #000;
}
.savedURL img {
  float: right;
  display: block;
}
#copyURL {
  width: 78px;
  height: 29px;
  margin-top: 10px;
  /*cursor: pointer;*/
  /*background: url('/images/copy_link_button.png') no-repeat;*/
}
#savedInfo {
  visibility: hidden;
  margin-bottom: 10px;
}
.confirmation_panel .retailer {
  font-size: 14px;
  margin: 10px 0px;
}
.confirmation_panel .retailerInfo {
  padding: 15px 10px 10px;
  background: url('/images/little-arrow.png') no-repeat -1px 16px;
}
.confirmation_panel .retailerInfo h5 {
  font-weight: bold;
}
.confirmation_panel .retailerInfo h5 {
  text-decoration: none;
  color: #232323;
}
.confirmation_panel .retailerInfo p {
  font-size: 14px;
}
.confirmation_panel .hr {
  margin-bottom: 8px;
}
.confirmation_panel .pretty_hr {
  margin-top: 10px;
}
.viewerContent {
  text-align: left;
  width: 180px;
  line-height: 18px;
  font-weight: 600;
  text-transform: capitalize;
  margin-bottom: 25px;
  font-size: 14px;
}
.viewerContent a {
  display: block;
  margin-top: 10px;
  background: url('/images/viewer_buttons.jpg') no-repeat;
  width: 111px;
  height: 28px;
  color: #c9cac8;
  text-decoration: none;
  font-size: 17px;
  text-transform: uppercase;
  line-height: 28px;
  text-align: center;
  font-weight: 100;
}
.error {
  font-size: 10px;
  color: #f20b0b;
  margin-bottom: 10px;
}

/* RESPONSIVNESS */
@media screen and (max-width: 945px) {
  #panel1 {
    flex-direction: column;
    padding: 50px 35px;
  }
  .panel1 .copyLeft {
    margin-right: 0;
    margin-bottom: 25px;
    min-width: auto;
  }
  .panel1 .options {
    width: 100%;
    align-self: center;
  }
  .panel2 .options {
    flex-direction: column;
  }
  .panel2 .example {
    max-width: unset;
  }
  #visualizer_application .viewscreen {
    max-height: 484px;
  }
}

@media screen and (max-width: 800px) {
  .panel2 .heading {
    flex-direction: column;
    align-items: flex-start;
  }
  .panel2 .verticalBreak {
    display: none;
  }
  .panel2 h1 {
    text-wrap: wrap;
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 768px) {
  #panel1 {
    padding: 30px 25px;
  }
  .panel2 h1 {
    font-size: 25px;
  }
  #visualizer_application .body {
    flex-direction: column;
  }
  #visualizer_application .viewscreen {
    max-height: unset;
  }
  .fabrics {
    display: flex;
  }
  .swatches {
    height: 160px;
    display: flex;
  }
  .swatch {
    height: fit-content;
  }
  .swatch .image {
    margin-left: 8px;
    margin-bottom: 5px;
  }
  .menu_panel .heading {
    flex-direction: row;
    padding: 10px 0;
    align-items: center;
  }
  .menu_panel h2 {
    margin: 0;
    margin-right: 20px;
    margin-bottom: 5px;
    margin-top: 5px;
  }
  .menu_panel.image_panel {
    margin-top: 10px;
  }
  .menu_panel .preview_menu_panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .menu_panel .preview_menu_panel .viewerContent {
    margin-bottom: 0;
  }
  #visualizer_application .viewscreen.view {
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 485px) {
  .fabrics {
    flex-direction: column;
  }
  .menu_panel .heading {
    flex-direction: column;
    padding: 10px 0;
    align-items: flex-start;
  }
  .preview_menu_panel .currentFabric {
    flex-direction: column;
    align-items: flex-start;
  }
  .preview_menu_panel .currentFabric .fabricName {
    margin: 0;
  }
  #visualizer_application .footer {
    justify-content: center;
  }
  #visualizer_application .button_set {
    padding: 0;
  }
}

@media screen and (max-width: 400px) {
  #panel1 {
    padding: 16px 10px;
  }
  .panel1 h1 {
    font-size: 35px;
    text-wrap: wrap;
  }
  .preview_menu_panel {
    flex-direction: column;
    gap: 10px;
  }
}
