#style_switcher {
  position: fixed;
  top: 190px;
  width: 295px;
  box-sizing: border-box;
  left: 0;
  z-index: 1008;
  padding: 21px 29px 62px 30px;
  text-align: left;
  -webkit-transform: translate(-100%, 0);
  -moz-transform: translate(-100%, 0);
  -ms-transform: translate(-100%, 0);
  -o-transform: translate(-100%, 0);
  transform: translate(-100%, 0);
  -webkit-transition: transform 0.2s ease;
  -moz-transition: transform 0.2s ease;
  -ms-transition: transform 0.2s ease;
  -o-transition: transform 0.2s ease;
  transition: transform 0.2s ease;
}
#style_switcher.shown {
  -webkit-transform: translate(0, 0);
  -moz-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
  z-index: 1012;
}
#style_switcher p {
  line-height: 28px;
  font-size: 17px;
  font-weight: normal;
  padding: 0 0 23px;
}
#style_switcher p span {
  font-size: 12.4px;
  display: block;
  line-height: 21px;
  color: #888;
}
#style_switcher .toggler {
  position: absolute;
  top: 0;
  left: 100%;
  width: 57px;
  height: 60px;
  font-size: 18px;
  line-height: 40px;
  cursor: pointer;
  color: #5f666b;
  text-align: center;
  transition: color .2s ease;
}
#style_switcher .toggler:before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  line-height: 60px;
  text-align: center;
  font-size: 26px;
  height: 60px;
  content: '\f040';
  font-family: fontawesome;
  transition: color .2s ease;
}
#style_switcher.shown .toggler:before{
  content: '\f00d';
}
#style_switcher ul {
  margin: 0;
  list-style: none;
  font-size: 0;
  padding: 0 0 21px;
  line-height: 0;
}
#style_switcher ul li {
  display: inline-block;
  margin-right: 10px;
  cursor: pointer;
  vertical-align: top;
}
#style_switcher ul li:hover,
#style_switcher ul li.active {
  padding: 2px;
}
#style_switcher div.color_scheme {
  width: 40px;
  height: 40px;
  border-radius: 3px;
}
#style_switcher ul li:hover div.color_scheme,
#style_switcher ul li.active div.color_scheme{
  height: 36px;
  width: 36px;
}
#style_switcher #style_switcher_form {
  padding: 0;
  margin: 0;
}
#style_switcher #style_switcher_form button.button {
  display: block;
  text-align: center;
  padding: 4px 30px 6px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background-position: 50% 50% !important;
  background-repeat: no-repeat !important;
  outline: none !important;
  position: relative;
  border: 2px solid #626262 !important;
  background: transparent !important;
  font-size: 15px;
  line-height: 26px;
  font-weight: bold;
}
#style_switcher #style_switcher_form button.button:hover{
  background: #626262 !important;
  color: #fff !important;
}

#style_switcher.loading:before {
  position: absolute;
  right: 30px;
  bottom: 40px;
  background: url(../images/loading.gif);
  width: 60px;
  height: 20px;
  content: '';
}

#style_switcher.success:before{
  position: absolute;
  right: 30px;
  bottom: 32px;
  content: '\f00c';
  font-family: FontAwesome;
  font-size: 20px;
  line-height: 40px;
}
@media (max-width: 480px){
  #style_switcher{
    width: 260px;
    padding-left: 20px;
  }
}

body.mobile_mode.mobile{
  #style_switcher{
    top: 0 !important;
  }
}


.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000000;
}
.modal-backdrop.fade {
  opacity: 0;
}
.modal-backdrop,
.modal-backdrop.fade.in {
  opacity: 0.8;
  filter: alpha(opacity=80);
}
.modal {
  position: fixed;
  top: 10%;
  left: 50%;
  z-index: 1050;
  width: 560px;
  margin-left: -280px;
  background-color: #ffffff;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, 0.3);
  *border: 1px solid #999;
  /* IE6-7 */

  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding-box;
  background-clip: padding-box;
  outline: none;
}
.modal.fade {
  -webkit-transition: opacity .3s linear, top .3s ease-out;
  -moz-transition: opacity .3s linear, top .3s ease-out;
  -o-transition: opacity .3s linear, top .3s ease-out;
  transition: opacity .3s linear, top .3s ease-out;
  top: -25%;
}
.modal.fade.in {
  top: 10%;
}
.modal-header {
  padding: 9px 15px;
  border-bottom: 1px solid #eee;
}
.modal-header .close {
  margin-top: 2px;
}
.modal-header h3 {
  margin: 0;
  line-height: 30px;
}
.modal-body {
  position: relative;
  overflow-y: auto;
  max-height: 400px;
  padding: 15px;
}
.modal-form {
  margin-bottom: 0;
}
.modal-footer {
  padding: 14px 15px 15px;
  margin-bottom: 0;
  text-align: right;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  -webkit-border-radius: 0 0 6px 6px;
  -moz-border-radius: 0 0 6px 6px;
  border-radius: 0 0 6px 6px;
  -webkit-box-shadow: inset 0 1px 0 #ffffff;
  -moz-box-shadow: inset 0 1px 0 #ffffff;
  box-shadow: inset 0 1px 0 #ffffff;
  *zoom: 1;
}
.modal-footer:before,
.modal-footer:after {
  display: table;
  content: "";
  line-height: 0;
}
.modal-footer:after {
  clear: both;
}
.modal-footer .btn + .btn {
  margin-left: 5px;
  margin-bottom: 0;
}
.modal-footer .btn-group .btn + .btn {
  margin-left: -1px;
}
.modal-footer .btn-block + .btn-block {
  margin-left: 0;
}

@media (max-width: 767px) {
  .modal {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    width: auto;
    margin: 0;
  }
  .modal.fade {
    top: -100px;
  }
  .modal.fade.in {
    top: 20px;
  }
}
