body {
    font-family: Open Sans;
    display: block;
}

#timer_value {
    margin-top: 15px;
    margin-bottom: 24px;
  }
  
  #timer_value > b{
    color: #F60;
  }
  
  .d-none {
    display: none;
  }
  
  
  
  .modal-text {
    color: var(--main-black, #0B2447);
  /* main */
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 27px */
  }
  .full-version {
    /* margin-top: 15px; */
    /* margin-bottom: 15px; */
    margin-left: 0 !important;
  
    color: #fff;
    width: 176px;
  }
  
  .full-ver-block {
    gap: 16px;
  }
  .line {
    height: 1px;
    background: #F60;
    width: 110px;
  }
  
  .upload_buttons {
    border-radius: 10px;
    background: #0F70E6;
    padding: 12px 28px;
    display: flex;
    height: 51px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    color: var(--main-white, #FFF);
    margin-bottom: 7px;
    gap: 8px;
    cursor: pointer;
  
  }
  
  #overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  #loading {
    text-align: center;
    color: white;
  }
  
  #loading img {
    width: auto;
    height: auto;
  }
  
  #loading p {
    margin-top: 5px;
    font-size: 26px;
  }
  
  .upload_buttons:hover {
    background:  #0B54AC
  }
  
  .new_photo {
    height: 130px;
    justify-content: center;
  }
  
  .drag-label {
    color: var(--main-black, #0B2447);
    text-align: center;
  
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 19.5px */
    opacity: 0.7;
  }
  
  .main-container {
    /* height: auto; */
    min-width: 100%;
    background: #F2F4F6;
    padding: 7px 0 7px 0;
    /* max-height: 718px; */
    /* min-height: 500px; */
    justify-content: center;
  }
  
  .servise-workspace {
    /* padding: 0 25px; */
    /* width: 1110px; */
    /* height: 692px; */
    border-radius: 20px;
    background: #FFF;
    /* shad card */
    box-shadow: 0px 0px 48px 0px rgba(11, 36, 71, 0.15);
  }
  
  .catalog-items {
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: #D0D0D0 #ffffff; /* Цвет скролла: красный на белом фоне */
    
            /* Округление углов */
    border-radius: 10px;
    align-items: self-start !important;
  
    padding-left: 9px;
  }
  
  ::-moz-scrollbar-track {
  
    border-radius: 17px;
  }
  
  .catalog-item {
    width: 85px;
    height: 85px;
    flex-shrink: 0;
    border-radius: 17px;
  }
  
  .catalog-item:hover {
    border: 2px solid #F60;
  }
  
  .catalog  {
    flex-wrap: wrap;
    row-gap: 15px;
    column-gap: 9px;
    padding-bottom: 12px;
    justify-content: space-around;
    padding-right: 9px;
  
  }
  
  .workspace-catalog {
    padding: 25px 25px 25px 16px;
    width: calc(100vw - 223px);
    height: calc(100vh - 270px);
    border-radius: 0px 20px 20px 0px;
    background: #FBFBFB;
    align-items: flex-start;
    max-width: 350px;
  }
  
  .catalog-item img {
    width: 85px;
    height: auto;
    border-radius: 13px;
  }
  
  .workspace-load-zone {
    width: 69%;
    padding: 23px 32px 28px 51px;
    height: auto;
  }
  .separator {
    min-height: 1px;
    margin-top: 22px;
    margin-bottom: 22px;
    background: #E3E3E3;
    max-width: 274px;
    min-width: 100px;
    width: 274px;
  }
  
  .catalog-items::-webkit-scrollbar {
    width: 12px;
  }
  
  .catalog-items::-webkit-scrollbar-thumb {
    background-color: #D0D0D0; /* Цвет ползунка скролла */
    border-radius: 17px;
  }
  
  .catalog-items::-webkit-scrollbar-track {
    background-color: #ffffff; /* Цвет фона скролла */
  }
  
  .catalog-items::-moz-scrollbar {
    width: 12px;
  }
  
  /* Стилизация ползунка скроллбара */
  .catalog-items::-moz-scrollbar-thumb {
    background-color: #D0D0D0; /* Цвет ползунка скролла */
    border-radius: 17px;
  }
  
  /* Стилизация трека скроллбара */
  .catalog-items::-moz-scrollbar-track {
    background-color: #888;
    border-radius: 5px;
  }
  
  .color-pickers  {
    align-items: flex-start !important;
    column-gap: 9px;
    margin-top: 7px;
  }
  
  .catalog-header {
    color: var(--main-black, #0B2447);
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 27px */
    margin-bottom: 19px;
    gap: 13px;
  }
  img {
    vertical-align:top;
  }
  .tooltip {
    position: absolute;
    z-index: 4;
    display: none;
    margin: 0;
    font-family: var(--bs-font-sans-serif);
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    text-align: start;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    word-break: normal;
    word-spacing: normal;
    white-space: normal;
    line-break: auto;
    font-size: 0.875rem;
    word-wrap: break-word;
    opacity: 1;
  }
  
  .tooltip-text {
    position: relative;
    transform: translateY(-240%);
    color: #000;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 104%;
  }
  
  .load-zone-drag-zone {
    border-radius: 10px;
    border: 1.2px dashed rgba(150, 161, 176, 0.50);
    height: calc(100vh - 482px);
    width: 100%;
    justify-content: center;
    margin-bottom: 31px;
    max-height: 700px;
  }
  
  #load_zone_svg{
    margin-bottom: 38px;
  }
  
  .load-zone-header {
    gap: 20px;
    margin-bottom: 28px;
    padding-left: 15px;
    width: 100%;
    display: flex;
  }
  .header-block {
    padding: 5px 17px;
  }
  .header-item {
    display: flex;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 27px */
    color: #9D9D9D;
    cursor: pointer;
    height: 45px;
    align-items: center;
  
  }
  
  /* .header-block:hover {
    border-bottom: 2px solid #F60;
    
  } */
  
  .header-block:hover .header-item{
    color: #FC812F;
    
  }
  
  .selected {
    border-bottom: 2px solid #F60;
  }
  
  .header-block.selected .header-item {
    color: #F60;
  }
  
  .workspace-catalog img {
    cursor: pointer;
  }
  
  .selected_theme {
    border: 2px solid var(--gradient-1, #FC6076);
    border-radius: 17px;
    box-shadow: 0px 2px 11px 0px rgba(0, 0, 0, 0.54);
    
  }
  
  input[type="color"] {
  
    opacity: 0;
    transform: translateY(-100%);
    width: 85px;
    height: 85px;
    z-index: -1;
  
  }
  
  .custom-color-picker {
    max-width: 85px;
    max-height: 85px;
    cursor: pointer;
  }
  .custom-color-picker.selected_theme {
    border-radius: 17px;
  }
  
  #choose {
    transform: translate(60%, 130%);
  }
  
  #transparent {
    transform: translate(10%,130%);
  
  }
  
  .save_buttons {
    
    border: 1px solid #0F70E6;       
    background: #0F70E6;       
    padding: 12px 28px;        
    display: flex;        
    height: 51px;       
    justify-content: center;       
    align-items: center;       
    flex-shrink: 0;       
    color: #FFF;       
    margin-bottom: 7px;       
    gap: 8px;     
    width: 221px;    
    cursor: pointer;  
    border-radius: 10px;     
  
  }
  
  #download {
    border: 1px solid #0F70E6;        
    /* background: #0F70E6;        */
    padding: 12px 28px;        
    display: flex;        
    height: 51px;       
    justify-content: center;       
    align-items: center;       
    flex-shrink: 0;       
    color: #0F70E6;       
    margin-bottom: 7px;       
    gap: 8px;     
    width: 221px;    
    cursor: pointer;  
    border-radius: 10px; 
  }
  
  #download:hover {
    color: #FFF; 
    background: #0F70E6; 
  }
  
  
  .save_buttons:hover {
    /* background:  #0B54AC; */
    
  }
  
  
  #file-upload-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .save_buttons-text {
    font-family: 'Open Sans', sans-serif;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background-color: #A9A9A9;
  }
  
  
  
  .desktop {
    gap: 5px;
    /* justify-content: center; */
    display: flex;
    width: 142px;
    align-items: center;
  }  
  .desktop svg {
    position: relative;
    top: 2px;
    margin-right: 3px;
  }
  
  .load-zone-drag-zone img{
    height: 100%;
  }



@media (max-width: 1367px) {
    .servise-workspace {
      width: auto;
    }
  
    .catalog {
        row-gap: 8px;
        column-gap: 5px;
  
    }
  
  }

/* @media (max-width: 702px) {  
    .workspace-catalog  {
        width: auto; 
    }
} */
  
@media (max-width: 783px) {

    /* .catalog-item img, .catalog-item{
      width: auto;
        
    }

    .catalog-item img {
        height: 65px;
    }
    .catalog-item {
        height: auto;
    } */
}

@media (max-width: 641px) {

    .header-block{
        padding: 0 10px;
    }

    .workspace-catalog {
        padding: 25px 5px 12px 5px 
    }

    .workspace-load-zone {
       padding: 20px 1px;
    }

    .separator, .save_buttons  {
        width: calc(85%);
    }
    .workspace-catalog  {
        
    }
    .save_buttons {
        padding: 5px;
    }

    .catalog-items {
        align-items: center !important;
    }

    .catalog-header {
        font-size: 15px;
        align-items: center;
        gap: 0px;
        text-align: start;
    }
    .catalog-header svg{
        width: 100%;
    }
    .main-container {
        height: auto;
        min-height: auto;
    }
    .load-zone-header {
        margin-bottom: 15px;
        padding: 0 7px;
        gap: 17px;    
        align-items: center;
    }

    .servise-workspace {
        padding: 0 5px;
    }

    .header-item{
        font-size: 15px;
    }

    .separator {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}


@media (max-width: 489px) { 

    .color-pickers {
        flex-direction: column;
        row-gap: 11px;
    }

    #choose {
       transform:  translate(0, 200%)
    }

    #transparent {
        transform: translate(-30%,130%);
    }
    .workspace-catalog  {
        width: auto;
    }

}

@media screen and (min-width: 1080px) {
    .load-zone-drag-zone {
        min-width: 600px;
        max-width: 600px;
    }
}

@media (max-height: 779px) {

    /* .load-zone-drag-zone img {
      height: 100% !important;
        
    } */
    .workspace-catalog {
        padding: 10px 1px;
        height: calc(100vh - 226px);
    }
    .load-zone-drag-zone {
        height: calc(100vh - 400px);
        margin-bottom: 10px;
    }

    .workspace-load-zone {
        padding: 10px 12px;
    }
    .catalog-header {
        margin-bottom: 19px;
    }

    /* .servise-workspace {
        padding: 5px;
    } */
    .separator {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .new_photo {
        height: 88px;
    }

}

@media (max-height: 650px) {

    .load-zone-drag-zone img {
      /* height: 100% !important; */
        
    }
    .workspace-catalog {
        padding: 10px 1px;
        /* height: 420px; */
    }
    .load-zone-drag-zone {
        /* height: 250px; */
        margin-bottom: 10px;
    }

    .workspace-load-zone {
        padding: 10px 12px;
    }
    .catalog-header {
        margin-bottom: 19px;
    }

    /* .servise-workspace {
        padding: 5px;
    } */
    .separator {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .new_photo {
        height: 88px;
    }

}


@media (max-height: 551px) {

    .save_buttons {
        height: 30px;
    }
    .workspace-catalog {
        /* height: 333px; */
    }

    .load-zone-drag-zone, .load-zone-header {
        margin-bottom: 3px;
    }
    .load-zone-drag-zone {
        height: calc(100vh - 356px);
    }

}

@media (max-height: 482px) {


    .workspace-catalog {
        height: 262px; 
    }

    .load-zone-drag-zone {
        height: 124px; 
    }

    .save_buttons{
        font-size: x-small;
    }

 
}

@media (max-height: 385px) {  
    .load-zone-drag-zone {
        height: 135px; 
    }
}

.load-zone-drag-zone img[src="https://arbg1.api.ams-soft.com/php_lib/get_image_rembg.php?out=null"] {
    visibility: hidden; /* Скрывает битое изображение */
}

.uniq_themes {
  font-family: Open Sans;
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
  letter-spacing: 0em;
  text-align: center;
  border-radius: 15px;
  width: 85px;
  height: 85px;
  background-color: #0f70e6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 6px;
  cursor: pointer;
  /* padding: 8px; */
}
.uniq_themes:hover {
  background: linear-gradient(226deg, #ff8a00 38.9%, #f60 100%);
}
.uniq_themes:hover .uniq_pro_bnt {
  background: #0f70e6;
}
.uniq_text {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 11px;
  line-height: 130%;
  text-align: center;
  color: #fff;
  /* padding: 1px; */
}
.uniq_pro_bnt {
  box-shadow: 0 2px 5px 0 rgba(5, 6, 15, 0.3);
  background: linear-gradient(226deg, #ff8a00 38.9%, #f60 100%);
  border-radius: 5px;
  width: 44px;
  height: 22px;
  text-align: center;
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0em;
  text-align: center;
  /* background: #FFFFFF; */
  color: white;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.downLoadMacWin-popup {
  background: #fff;
  border-radius: 20px;
  width: 854px;
  height: 561px;
  position: relative;
  margin: 0 auto;
  padding: 40px 99px 55px 88px;
}
.image_block_downLoadMacWin img {
  width: 327px;
  height: 262px;
}
.downLoadMacWin-popup-title {
  padding: 0 50px;
  font-family: "Poppins", sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 54px;
  letter-spacing: 0em;
  text-align: center;
  color: #0B2447;
}
.downLoadMacWin-popup-title span {
  color: #FF6600;
}
.downLoadMacWin-popup-block {
  display: flex;
  flex-direction: row;
  justify-content: center;
  column-gap: 20px;
}
.list_block_downLoadMacWin {
  padding-top: 38px;
}
.list_downLoadMacWin {
  display: flex;
  flex-direction: column;
  row-gap: 14px;
}
.list_item {
  text-wrap: nowrap;
  font-family: Open Sans;
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  letter-spacing: 0em;
  text-align: left;
  color: #0B2447;
  display: flex;
  column-gap: 10px;
}
.download_bnts_block {
  display: flex;
  flex-direction: row;
  column-gap: 15px;
  margin-top: 25px;
  align-items: center;
  justify-content: center;
}
#downLoadMacWin .mfp-close {
  background-image: initial;
  font-size: 28px;
  top: 0px;
}
#download_win {
  background: #00ab47;
  color: white;
  /* align-content: center; */
  border-color: transparent;
}
#download_win:hover {
  background: #009733;
}
.download_bnts_block button {
  border-radius: 10px;
  padding: 12px 28px;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 150%;
  text-align: center;
  display: flex;
  align-items: center;
  column-gap: 10px;
  text-wrap: nowrap;
  cursor: pointer;
  width: 236px;
  height: 51px;
  outline-color: transparent;
  /* border-color: transparent; */
  border: 1px solid #00AB47;
  color: #00ab47;
  background-color: transparent;
}
.download_bnts_block button#download_mac:hover {
  background: #009733;
  color: white;
}
.download_bnts_block button#download_mac:hover path {
  fill: white;
}
@media only screen and (max-width: 854px) {
  .downLoadMacWin-popup {
    padding: 20px 10px;
    height: auto;
    width: 100%;
  }
  .download_bnts_block {
    flex-direction: column;
    row-gap: 10px;
    align-items: center;
  }
}
@media only screen and (max-width: 650px) {
  .image_block_downLoadMacWin {
    display: none;
  }
}
@media only screen and (max-width: 350px) {
  .list_item {
    font-size: 12px
  }
  .downLoadMacWin-popup-title {
    font-size: 20px;
    line-height: normal;
    padding: 0 10px;
  }
  .list_block_downLoadMacWin {
    padding-top: 10px;
  }
}