.switcher {
  height: 100%;
  -webkit-box-shadow: 0 0.125rem 2.75rem rgba(0, 0, 0, 0.17);
          box-shadow: 0 0.125rem 2.75rem rgba(0, 0, 0, 0.17);
  background-color: #ffffff;
  position: fixed;
  top: 0;
  z-index: 99999;
  margin: 0 auto;
  text-align: center;
  max-width: 280px;
  right: -280px;
  -webkit-transition: .5s ease;
  -o-transition: .5s ease;
  transition: .5s ease;
}

@media only screen and (min-width: 576px) {
  .switcher {
    max-width: 370px;
    right: -370px;
  }
}

.switcher__is-open {
  right: 0;
}

.switcher__toggler {
  background-color: #ffffff;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 5px 0 0 5px;
  position: absolute;
  left: -45px;
  top: 150px;
  -webkit-box-shadow: -8px 5px 30px rgba(0, 0, 0, 0.1);
          box-shadow: -8px 5px 30px rgba(0, 0, 0, 0.1);
}

@media only screen and (min-width: 768px) {
  .switcher__toggler {
    left: -50px;
  }
}

.switcher-wrapper {
  overflow: auto;
  height: 100%;
}

.switcher__item-title {
  color: #2d3136;
  font-family: "SF Pro Display";
  font-size: 1.313rem;
  font-weight: 500;
  margin-bottom: 1.875rem;
  text-align: center;
}

.switcher-clone {
  padding-bottom: 20px;
}

.switcher-clone:not(:last-child) {
  border-bottom: 0.125rem dashed #e2e6ea;
  margin-bottom: 30px;
}

.switcher-tab {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  margin-bottom: 2.1875rem;
}

.switcher-tab__item button {
  padding-right: 1.375rem;
  padding-left: 1.375rem;
  min-width: 6.25rem;
  height: 2.313rem;
  border: 1px solid #e2e6ea;
  background-color: #ffffff;
  color: #818992;
  font-family: "SF Pro Display";
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
}

.switcher-tab__item button.active {
  background-color: #4777f4;
  color: #ffffff;
}

.switcher-tab__item:first-child button {
  border-radius: 5px 0 0 5px;
  border-right: 0;
}

.switcher-tab__item:last-child {
  border-radius: 0 5px 5px 0;
}

.switcher-colors {
  margin-top: 40px;
}

.switcher-tab-content ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  padding-right: 5rem;
  padding-left: 5rem;
}

.switcher-tab-content ul li {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 33.33%;
          flex: 0 0 33.33%;
  margin-bottom: 0.3125rem;
}

.switcher-tab-content ul button {
  width: 3.063rem;
  height: 3.063rem;
  border-radius: 100px;
}

.switcher .switcher-tab__color .switcher-color {
  display: none;
}

.switcher .switcher-tab__color .switcher-color.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.switcher .switcher-tab__color .switcher-gradient {
  display: none;
}

.switcher .switcher-tab__color .switcher-gradient.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.switcher .switcher-tab__color button.active:before {
  content: "\f00c";
  font-family: FontAwesome;
  color: #fff;
  font-size: 1.25rem;
}

.switcher .switcher-tab__color .color-green {
  background: #27ae60;
}

.switcher .switcher-tab__color .color-violet {
  background: #9b59b6;
}

.switcher .switcher-tab__color .color-red {
  background: #e74c3c;
}

.switcher .switcher-tab__color .color-firoza {
  background: #16a085;
}

.switcher .switcher-tab__color .color-blue {
  background: #4777f4;
}

.switcher .switcher-tab__color .color-orange {
  background: #fe9815;
}

.switcher .switcher-tab__color .gradient-1 {
  background-image: -webkit-linear-gradient(135deg, #2f1ce0 0%, #53a0fd 50%, #51eca5 100%);
  background-image: -o-linear-gradient(135deg, #2f1ce0 0%, #53a0fd 50%, #51eca5 100%);
  background-image: linear-gradient(-45deg, #2f1ce0 0%, #53a0fd 50%, #51eca5 100%);
}

.switcher .switcher-tab__color .gradient-2 {
  background-image: -webkit-linear-gradient(127deg, #995cdd 0%, #644be7 100%);
  background-image: -o-linear-gradient(127deg, #995cdd 0%, #644be7 100%);
  background-image: linear-gradient(-37deg, #995cdd 0%, #644be7 100%);
}

.switcher .switcher-tab__color .gradient-3 {
  background-image: -webkit-linear-gradient(307deg, #f5836f 0%, #e74c3c 100%);
  background-image: -o-linear-gradient(307deg, #f5836f 0%, #e74c3c 100%);
  background-image: linear-gradient(143deg, #f5836f 0%, #e74c3c 100%);
}

.switcher .switcher-tab__color .gradient-4 {
  background-image: -webkit-linear-gradient(301deg, #fad961 0%, #f76b1c 100%);
  background-image: -o-linear-gradient(301deg, #fad961 0%, #f76b1c 100%);
  background-image: linear-gradient(149deg, #fad961 0%, #f76b1c 100%);
}

.switcher .switcher-tab__color .gradient-5 {
  background-image: -webkit-linear-gradient(299deg, #64c9ef 0%, #3498db 100%);
  background-image: -o-linear-gradient(299deg, #64c9ef 0%, #3498db 100%);
  background-image: linear-gradient(151deg, #64c9ef 0%, #3498db 100%);
}

.switcher .switcher-tab__color .gradient-6 {
  background-image: -webkit-linear-gradient(306deg, #b4ec51 0%, #429321 100%);
  background-image: -o-linear-gradient(306deg, #b4ec51 0%, #429321 100%);
  background-image: linear-gradient(144deg, #b4ec51 0%, #429321 100%);
}

.switcher .switcher-boxed {
  display: none;
  padding-right: 3.125rem;
  padding-left: 3.125rem;
}

.switcher .switcher-boxed.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.switcher .switcher-boxed li {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 25%;
          flex: 0 0 25%;
}

.switcher .switcher-boxed button {
  width: 45px;
  height: 45px;
  border-radius: 5px;
  -webkit-box-shadow: 0 0 0 1px #ddd;
          box-shadow: 0 0 0 1px #ddd;
}

.switcher .switcher-boxed button.active {
  -webkit-box-shadow: 0 0 0 2px #4777f4;
          box-shadow: 0 0 0 2px #4777f4;
}

.switcher .theme-variation img {
  border-radius: 3px;
}

.switcher .theme-variation span {
  display: block;
  position: absolute;
  top: 50%;
  right: 50%;
  -webkit-transform: translate(50%, -50%);
      -ms-transform: translate(50%, -50%);
          transform: translate(50%, -50%);
  width: 3rem;
  height: 3rem;
  line-height: 3rem;
  border-radius: 100px;
  text-align: center;
  color: #ffffff;
  background-color: #3498db;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
}

.switcher .theme-variation a {
  position: relative;
  margin-bottom: 1.875rem;
  border-radius: 5px;
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
  -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
          box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.switcher .theme-variation a:before {
  position: absolute;
  content: "";
  border-radius: 5px;
  border: 0.063rem solid #e2e6ea;
  background-color: #2d3136;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
}

.switcher .theme-variation a:hover:before {
  opacity: 0.76;
  visibility: visible;
}

.switcher .theme-variation a.active:before {
  opacity: 0.76;
  visibility: visible;
}

.switcher .theme-variation a.active span {
  opacity: 1;
  visibility: visible;
}
