/* Панель настроек версии для слабовидящих */
/* Эти стили должны быть подключены в head.php версии для слабовидящих. */

.specials-panel {
  height: auto;
  line-height: 90px;
  background: #f8f8f8;
  position: fixed;
  z-index: 999;
  width: 100%;
  white-space: nowrap;
  border: 1px solid black;
  border-radius: 0 0 4px 4px;
  border-top: none;
  padding-left: 20px;
  padding-right: 20px;
}

.after-panel {
  height: 90px;
}

.specials-wrap {
  width: 100%;
  text-align: center;
  display: inline-block;
}

.specials-panel .specials-wrap {
  width: auto;
}

.specials-panel .site-style-switch {
  height: 35px;
  margin-bottom: 2px;
  margin-top: 0;
  width: 45px;
  top: -5px;
  position: relative;
}

.specials-panel-label {
  display: inline-block;
  position: relative;
  margin-left: 25px;
  font-size: 20px;
}

.site-style-switch {
  margin-top: 16px;
  text-align: center;
  background-position: 50%;
  background-repeat: no-repeat;
  height: 30px;
  background-size: contain;
}

.change-font,
.change-font-size-button,
.change-line-height-button,
.change-color-scheme-button,
.change-images-button {
  text-align: center;
  background-position: 50%;
  background-repeat: no-repeat;
  height: 45px;
  background-size: contain;
  width:45px;
  float: left;
  border-radius: 5px;
}

.change-font.arial {
  font-family: 'Arial' !important;
}

.change-font.times {
  font-family: 'Times New Roman' !important;
}

.change-font {
  width: auto;
  padding-left: 10px;
  padding-right: 10px;
  line-height: 2.5;
  font-weight: bold;
  font-size: 18px;
  text-decoration: none;
}


.change-font-size-button.small {
  background-image: url(../images/f1.png);
}
.change-font-size-button.normal {
  background-image: url(../images/f2.png);
}
.change-font-size-button.large {
  background-image: url(../images/f3.png);
}
.change-line-height-button.small {
  background-image: url(../images/h1.png);
}
.change-line-height-button.normal {
  background-image: url(../images/h2.png);
}
.change-line-height-button.large {
  background-image: url(../images/h3.png);
}
.change-color-scheme-button.normal {
  background-image: url(../images/a1.png);
}
.change-color-scheme-button.inverse {
  background-image: url(../images/a2.png);
}
.change-color-scheme-button.contrast {
  background-image: url(../images/a3.png);
}
.change-images-button.color {
  background-image: url(../images/c1.png);
}
.change-images-button.grey {
  background-image: url(../images/c2.png);
}
.change-images-button.none {
  background-image: url(../images/c3.png);
}

.change-font.active,
.change-font-size-button.active,
.change-line-height-button.active,
.change-color-scheme-button.active,
.change-images-button.active {
  border: 1px solid black;
}

.headerBG .right.ib .specials-wrap .site-style-switch {
    display: inline-block;
    width: 30px;
    margin-bottom: -12px;
    margin-top: 5px;
}

.headerBG .right.ib .specials-wrap span {
    margin-left: 5px;
}

.change-images-button.none {
    display: block;
}

.special-version-toggler {
  display: block;
  position: relative;
}

.special-version-toggler a {
  position: absolute;
  right: 15px;
  display: flex;
  top: -34px;
  white-space: nowrap;
  align-items: center;
  font-size: 14px;
  padding: 1px 10px;
  border-radius: 3px;
  color: #007dc6;
}

.special-version-toggler a .fa {
  margin-right: 10px;
  font-size: 20px;
}