.simple-select-color {
  background-color: #fff;
  padding: 100px 40px;
}
.bg-color {
  background-size: cover;
  height: 485px;
  width: 650px;
  position: relative;
  margin: 0 auto;
}
.bg-color svg{
  position: absolute;
  top: 0;
  left: 0;
}
.mask2{
  position: absolute;
  z-index: 3;
  width: 650px;
  height: auto;
}
.mask{
  z-index: 1;
  position: absolute;
  width: 650px;
  height: auto;
}
svg#svg10, svg#svg22 {
  z-index: 2;
}
svg#svg22{
  display: none;
}
.color {
  height: 30px;
  width: 85px;
  margin: 4px;
  position: relative;
  border: 1px solid #000;
}
.color span {
  text-align: right;
  position: absolute;
  bottom: 0;
  color: #fff;
  right: 4px;
  text-shadow: 0 0 2px #000;
  font-size: 21px;
  visibility: hidden;
}


.control-panel {
  display: flex;
  padding: 15px 15px 0;
  justify-content: space-between;
}
.control-panel-col {
  display: flex;
  flex-direction: column;
  flex-basis: 150px;
}
.arrows-control{
  display: flex;

}
.color-select-heading h2 {
  position: relative;
  font-size: 24px;
  font-weight: bold;
  padding: 6px 20px 6px 0px;
  margin: 0 -10px 10px -10px;
  color: #000;
  background-color: #e49303;
  text-align: center;
}
.color-select-heading h2:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  border-right: 10px solid #ab6d00;
  border-bottom: 5px solid transparent;
}
.color-select-heading h2:after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  border-left: 10px solid #ab6d00;
  border-bottom: 5px solid transparent;
}
span.hidden-span {
  visibility: visible;
}
.control-panel input {
  display: none;
}

.up-btn, .down-btn {
  padding: 10px 30px 11px;
  margin-right: 4px;
  margin-top: 5px;
  height: 17px;
}
.up-btn {
  background: url(../img/a-up.png) center center no-repeat, #e49303;
}
.down-btn {
  background: url(../img/a-d.png) center center no-repeat, #e49303;
}
.select-wrap {
  width: 100%;
  position: relative;
  min-height: 270px;
  margin: 30px 0;
  overflow: hidden;
}
.select-colors {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.panel {

  margin: 30px 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}
.panel-row{
  margin-right: 30px;
}
.panel-row:last-child{
  margin-right: 0;
}
.panel-heading {
  margin-bottom: 15px;
}
.panel-heading span {
  font-size: 18px;
  font-weight: 700;
}
.bg_svg1, .bg_svg{
  fill: transparent;
}
img#t2_m2_2 {
  opacity: 0.05;
}
img#t2_m2_1 {
  opacity: 0.5;
}
.types2{
  display: none;
}
.color-button:disabled {
  background-color: #ccc;
  cursor: auto;
}
.panel-button {
  padding: 20px 15px;
  background: var(--color3);
  display: inline-block;
  text-align: center;
  color: #fff;
  margin-right: 4px;
  border: 0;
  font-size: 16px;
  cursor: pointer;
}
.panel .panel-button:last-child {
  margin-right: 0;
}
.panel-button.panel-button--active {
  background: var(--color2);
}

.panel-row:nth-child(3) {
  display: flex;
  padding-top: 39px;
}

.screen-wrap{
  position: relative;
}
/* стили для фоновой картинки и её обертки */
.screen-wrap img, .screen-wrap svg{
  max-width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
}
.screen {
  width: 1120px;
  position: relative;
  margin: 0 auto;
  min-height: 510px;
}
.type2{
  display: none;
}

#t1_m1, #t2_m1_1, #t2_m1_2, #t2_m2_1, #t2_m2_2 {
  display: none;
}
#t1_m1,#t1_m2, #t2_m1_1, #t2_m1_2, #t2_m2_1, #t2_m2_2 {

  z-index:2;
}
.arrows-control {
    visibility: hidden;
}

.color:nth-child(1){
  background-color: #85c5ce;
}
.color:nth-child(2){
  background-color: #b4cedd;
}
.color:nth-child(3){
  background-color: #70b0cb;
}
.color:nth-child(4){
  background-color: #319cc6;
}
.color:nth-child(5){
  background-color: #adcedf;
}
.color:nth-child(6){
  background-color: #299cd5;
}
.color:nth-child(7){
  background-color: #109ccd;
}
.color:nth-child(8){
  background-color: #2a6bad;
}
.color:nth-child(9){
  background-color: #315295;
}
.color:nth-child(10){
  background-color: #31297c;
}
.color:nth-child(11){
  background-color: #214285;
}
.color:nth-child(12){
  background-color: #23437e;
}
.color:nth-child(13){
  background-color: #294163;
}
.color:nth-child(14){
  background-color: #b4cedd;
}
.color:nth-child(15){
  background-color: #738cb5;
}
.color:nth-child(16){
  background-color: #d6427c;
}
.color:nth-child(17){
  background-color: #847bb4;
}
.color:nth-child(18){
  background-color: #a49cc5;
}
.color:nth-child(19){
  background-color: #9d639d;
}
.color:nth-child(20){
  background-color: #936ba9;
}
.color:nth-child(21){
  background-color: #843b73;
}
.color:nth-child(22){
  background-color: #433a7b;
}
.color:nth-child(23){
  background-color: #85295a;
}
.color:nth-child(24){
  background-color: #f5fefd;
}
.color:nth-child(25){
  background-color: #d5cebc;
}
.color:nth-child(26){
  background-color: #cecec4;
}
.color:nth-child(27){
  background-color: #bdc6c5;
}
.color:nth-child(28){
  background-color: #8cadb6;
}
.color:nth-child(29){
  background-color: #4a6b7e;
}
.color:nth-child(30){
  background-color: #a4a4a4;
}
.color:nth-child(31){
  background-color: #738c93;
}
.color:nth-child(32){
  background-color: #526b72;
}
.color:nth-child(33){
  background-color: #14141c;
}
.color:nth-child(34){
  background-color: #e693a5;
}
.color:nth-child(35){
  background-color: #dead84;
}
.color:nth-child(36){
  background-color: #d6837b;
}
.color:nth-child(37){
  background-color: #be5a4a;
}
.color:nth-child(38){
  background-color: #d67b8c;
}
.color:nth-child(39){
  background-color: #dd2928;
}
.color:nth-child(40){
  background-color: #de397b;
}
.color:nth-child(41){
  background-color: #d7478c;
}
.color:nth-child(42){
  background-color: #d62172;
}
.color:nth-child(43){
  background-color: #cd2139;
}
.color:nth-child(44){
  background-color: #d5213a;
}
.color:nth-child(45){
  background-color: #ad295a;
}
.color:nth-child(46){
  background-color: #9c293a;
}
.color:nth-child(47){
  background-color: #7b2842;
}
.color:nth-child(48){
  background-color: #423143;
}
.color:nth-child(49){
  background-color: #efedde;
}
.color:nth-child(50){
  background-color: #efe6c5;
}
.color:nth-child(51){
  background-color: #debd7a;
}
.color:nth-child(52){
  background-color: #b3b584;
}
.color:nth-child(53){
  background-color: #ada67c;
}
.color:nth-child(54){
  background-color: #9c624a;
}
.color:nth-child(55){
  background-color: #ac6b29;
}
.color:nth-child(56){
  background-color: #944332;
}
.color:nth-child(57){
  background-color: #6b4a41;
}
.color:nth-child(58){
  background-color: #59393a;
}
.color:nth-child(59){
  background-color: #8a5231;
}
.color:nth-child(60){
  background-color: #423930;
}
.color:nth-child(61){
  background-color: #c5dee5;
}
.color:nth-child(62){
  background-color: #73c4c5;
}
.color:nth-child(63){
  background-color: #6ca59c;
}
.color:nth-child(64){
  background-color: #739563;
}
.color:nth-child(65){
  background-color: #acad21;
}
.color:nth-child(66){
  background-color: #31ada5;
}
.color:nth-child(67){
  background-color: #008493;
}
.color:nth-child(68){
  background-color: #008cbd;
}
.color:nth-child(69){
  background-color: #09637b;
}
.color:nth-child(70){
  background-color: #056a88;
}
.color:nth-child(71){
  background-color: #636b3a;
}
.color:nth-child(72){
  background-color: #32ad42;
}
.color:nth-child(73){
  background-color: #94cf43;
}
.color:nth-child(74){
  background-color: #009761;
}
.color:nth-child(75){
  background-color: #d5ad29;
}
.color:nth-child(76){
  background-color: #00945a;
}
.color:nth-child(77){
  background-color: #096b52;
}
.color:nth-child(78){
  background-color: #08635a;
}
.color:nth-child(79){
  background-color: #f0e66b;
}
.color:nth-child(80){
  background-color: #f7dd00;
}
.color:nth-child(81){
  background-color: #f9da0d;
}
.color:nth-child(82){
  background-color: #f8e622;
}
.color:nth-child(83){
  background-color: #f6c500;
}
.color:nth-child(84){
  background-color: #c68c29;
}
.color:nth-child(85){
  background-color: #dd5229;
}
.color:nth-child(86){
  background-color: #c5842a;
}
.color:nth-child(87){
  background-color: #d86316;
}
.color:nth-child(88){
  background-color: #d63a21;
}
.color:nth-child(89){
  background-color: #a52929;
}

@media(max-width:1200px){
  .screen {
    max-width: 100%;
    min-height: 42vw;
    max-height: 510px;
  }
  .select-colors {
    justify-content: center;
  }
}


@media(max-width:768px){
  .simple-select-color {
    background-color: #fff;
    padding: 15px;
  }
  .screen {
    max-width: 100%;
    min-height: 45vw;
  }
  .panel-button {
    padding: 5px;
    font-size: 14px;
  }
  .panel-heading {
    margin-bottom: 5px;
  }
  .panel-row {
    margin-bottom: 10px;
  }
  .panel-row:nth-child(3){
    padding-top: 29px;
  }

  
  .select-wrap {
    overflow-y: scroll;
    height: 130px;
    min-height: initial;
    margin: 0;
  }
}

@media(max-width:440px){
  .panel-row {
    margin-right: 0;
  }
  .panel-row:nth-child(3){
    margin-right: 0;
    padding-top: 0;
    margin-bottom: 10px;
  }
}