.fr-text-gray {
  color: #AAA !important;
}
.fr-text-red {
  color: #F44336 !important;
}
.fr-text-blue {
  color: #2196F3 !important;
}
.fr-text-green {
  color: #4CAF50 !important;
}
.fr-text-bordered {
  border-top: solid 1px #222;
  border-bottom: solid 1px #222;
  padding: 10px 0;
}
.fr-text-spaced {
  letter-spacing: 1px;
}
.fr-text-uppercase {
  text-transform: uppercase;
}

img.fr-dib {
  margin: 5px auto;
  display: block;
  float: none;
  vertical-align: top;
}
img.fr-dib.fr-fil {
  margin-left: 0;
}
img.fr-dib.fr-fir {
  margin-right: 0;
}
img.fr-dii {
  display: inline-block;
  float: none;
  vertical-align: bottom;
  margin-left: 5px;
  margin-right: 5px;
  max-width: calc(100% - (2 * 5px));
}
img.fr-dii.fr-fil {
  float: left;
  margin: 5px 5px 5px 0;
  max-width: calc(100% - 5px);
}
img.fr-dii.fr-fir {
  float: right;
  margin: 5px 0 5px 5px;
  max-width: calc(100% - 5px);
}
img.fr-rounded {
  border-radius: 7px;
}
img.fr-bordered {
  border: 1px solid #ddd;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}
img.fr-padded {
  padding: 5px;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

img.fr-shadows {
  box-shadow: rgba(0, 0, 0, 0.29) 0px 1px 6px;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

.fr-video {
  text-align: center;
  position: relative;
}
.fr-video > * {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  max-width: 100%;
  border: none;
}
.fr-video.fr-dvb {
  display: block;
  clear: both;
}
.fr-video.fr-dvb.fr-fvl {
  text-align: left;
}
.fr-video.fr-dvb.fr-fvr {
  text-align: right;
}
.fr-video.fr-dvi {
  display: inline-block;
}
.fr-video.fr-dvi.fr-fvl {
  float: left;
}
.fr-video.fr-dvi.fr-fvr {
  float: right;
}
a.fr-strong {
  font-weight: 700;
}

table.fr-solid-borders td,
table.fr-solid-borders th {
  border: 1px solid #dddddd;
}

table.fr-dashed-borders td,
table.fr-dashed-borders th {
  border: 1px dashed #dddddd;
}

table.fr-alternate-rows tbody tr:nth-child(2n) {
  background: #f5f5f5;
}

table td.fr-red,
table th.fr-red {
  border: 1px double #F44336;
}
table td.fr-blue,
table th.fr-blue {
  border: 1px double #2196F3;
}
table td.fr-green,
table th.fr-green {
  border: 1px double #4CAF50;
}
table td.fr-thick,
table th.fr-thick {
  border-width: 2px;
}

/* кнопка вверх - вниз */
.podusan_kontent {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 45px;
  transition: background 0.2s ease;
}
.podusan_kontent:hover {
  background-color: rgba(0,0,0,0.5);  
}

/* Наверх */
#vedukas_klisan {
  display: block;
  width: 100%;
  height: 50%;  
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  opacity: 0.5;
  transition: background 0.2s ease;
}
#vedukas_klisan span {
  display: block;
  width: 100%;  
  position: absolute;
  left: 0;  
  top: 20px;
}
#vedukas_klisan:hover {
  background-color: rgba(0,0,0,0.5); 
  opacity: 1;
}

/* Вниз */
#knopka_vasumka {
  display: block;
  width: 100%;
  height: 50%;  
  position: absolute;
  top: 50%;
  left: 0;
  text-align: center;
  opacity: 0.5;
  transition: background 0.2s ease;
}
#knopka_vasumka span {
  display: block;
  width: 100%;  
  position: absolute;
  left: 0;  
  bottom: 20px;
}
#knopka_vasumka:hover {
  background-color: rgba(0,0,0,0.5); 
  opacity: 1;
}

/* Скрытие панели при маленькой ширине окна */
@media screen and (max-width: 700px) {
  .podusan_kontent {
  display: none;
  }
}