/*
font-family: 'Roboto', sans-serif;
font-family: 'Source Sans Pro', sans-serif;
font-family: 'Ubuntu', sans-serif;
font-family: 'Fira Sans',sans-serif;
*/

.fs10 {font-size: 10px;}
.fs11 {font-size: 11px;}
.fs12 {font-size: 12px;}
.fs13 {font-size: 13px;}
.fs14 {font-size: 14px;}
.fs16 {font-size: 16px;}
.fs18 {font-size: 18px;}
.fs20 {font-size: 20px;}
.fs22 {font-size: 22px;}
.fs24 {font-size: 24px;}
.fs25 {font-size: 25px;}
.fs26 {font-size: 26px;}
.fs28 {font-size: 28px;}
.fs30 {font-size: 30px;}
.fs32 {font-size: 32px;}
.fs34 {font-size: 34px;}
.fs35 {font-size: 35px;}
.fs36 {font-size: 36px;}
.fs37 {font-size: 37px;}
.fs38 {font-size: 38px;}
.fs39 {font-size: 39px;}
.fs40 {font-size: 40px;}
.fs41 {font-size: 41px;}

.small, small {font-size: 80%;}

.fw400 {font-weight: 400 !important;}
.fw500 {font-weight: 500 !important;}
.fw600 {font-weight: 600 !important;}
.fw700 {font-weight: 700 !important;}
.fw800 {font-weight: 800 !important;}
.fw900 {font-weight: 900 !important;}

.fw400:after {font-weight: 400 !important;}
.fw500:after {font-weight: 500 !important;}
.fw600:after {font-weight: 600 !important;}
.fw700:after {font-weight: 700 !important;}
.fw800:after {font-weight: 800 !important;}
.fw900:after {font-weight: 900 !important;}



.ffr {font-family: 'Roboto', sans-serif;}
.ffs {font-family: 'Source Sans Pro', sans-serif;}
.ffu {font-family: 'Ubuntu', sans-serif;}
.fff {font-family: 'Fira Sans',sans-serif;}

.tshad {
  text-shadow: 		1px 1px 2px rgba(0, 0, 0, 1);
}
.bshad {
  -webkit-box-shadow: 1px 1px 11px 0px rgba(50, 50, 50, 0.75);
  -moz-box-shadow:    1px 1px 11px 0px rgba(50, 50, 50, 0.75);
  box-shadow:         1px 1px 11px 0px rgba(50, 50, 50, 0.75);
}
.twshad {
  text-shadow: 		1px 1px 2px rgba(255, 255, 255, 1);
}

.ital {font-style: italic;}
.ital:after {font-style: italic;}

.black {color: #333;position:relative;}
.black:after {background: none;content: attr(data-text);z-index: -1;position: absolute;text-shadow: 1px 1px 2px #333333;}
.white {color: #fff;position:relative;}
.white:after {background: none;content: attr(data-text);z-index: -1;position: absolute;text-shadow: 1px 1px 2px #333333;}
.red {
  color: #c21519; /* Old browsers */
  background: -moz-linear-gradient(top, #c21519 0%, #f19693 51%, #d7292b 62%, #b50615 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #c21519 0%,#f19693 51%,#d7292b 62%,#b50615 100%); /* Chrome10-25,Safari5.1-6 */
  /*background: linear-gradient(to bottom, #c21519 0%,#f19693 51%,#d7292b 62%,#b50615 100%);*/ /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c21519', endColorstr='#b50615',GradientType=0 ); /* IE6-9 */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position:relative;}
.red:after {background: none;content: attr(data-text);z-index: -1;position: absolute;text-shadow: 1px 1px 2px #333333;}

.dashed {border-bottom: 1.2px dashed;border-color: rgba(253, 209, 92,.6);}
.dashed:hover	 {border-bottom: 1.2px dashed;border-color: rgba(253, 209, 92,.9);}
.uline  {border-bottom: 1px solid rgba(255, 255, 255, 0.9);}
.uline:hover  {text-decoration: none;}

.l{left: 0;}
.t-l{top: 0;left: 0;}
.t-r{top: 0;right: 0;}
.t-c{top: 0;left: 50%;}
.m-l {top: 50%;left: 0;}
.m-r {top: 50%;right: 0;}
.m-c {top: 50%;left: 50%;}
.b-l{bottom: 0;left: 0;}
.b-r{bottom: 0;right: 0;}
.b-c{bottom: 0;left: 50%;}
.l:after{left: 0;}
.t-l:after{top: 0;left: 0;}
.t-r:after{top: 0;right: 0;}
.t-c:after{top: 0;left: 50%;}
.m-l:after{top: 50%;left: 0;}
.m-r:after{top: 50%;right: 0;}
.m-c:after{top: 50%;left: 50%;}
.b-l:after{bottom: 0;left: 0;}
.b-r:after{bottom: 0;right: 0;}
.b-c:after{bottom: 0;left: 50%;}

.text {z-index: 2;position: relative;}
.text-left {
  text-align: left !important;
}
.text-right {
  text-align: right !important;
}
.text-center {
  text-align: center !important;
}

/* Flex Box */
.flex-csbsc{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}
.flex-ssc {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  flex-direction: column;
}

.flex-sbc {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.flex-sbs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.flex-sbe {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}

.flex-cc {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.flex-cs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.flex-ce {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}

.flex-sc {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.flex-ss {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.flex-se {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}

.flex-ec {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.flex-es {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.flex-ee {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}


.elem{position: fixed !important;height: 200px !important;z-index: 1;}

/*@media (min-width: 1280px)
@media (min-width: 1024px)
@media (min-width: 800px)
@media (min-width: 768px)
@media (min-width: 600px)
@media (min-width: 568px)
@media (min-width: 480px)
@media (min-width: 320px)*/

@media (max-width: 1024px) {
  .fs14 {font-size: 14px;}
  .fs16 {font-size: 16px;}
  .fs18 {font-size: 18px;}
  .fs20 {font-size: 20px;}
  .fs22 {font-size: 18px;}
  .fs24 {font-size: 24px;}
  .fs26 {font-size: 26px;}
  .fs28 {font-size: 28px;}
  .fs30 {font-size: 20px;}
  .fs32 {font-size: 32px;}
  .fs34 {font-size: 34px;}
  .fs36 {font-size: 34px;}
  .fs37 {font-size: 37px;}
  .fs38 {font-size: 26px;}
  .fs39 {font-size: 39px;}
  .fs40 {font-size: 28px;}


  .mt3{margin-top:20px;}
}

@media (max-width: 568px) {
  .fs20 {font-size: 10px;}
  .fs22 {font-size: 12px;}
  .fs24 {font-size: 14px;}
  .fs25 {font-size: 15px;}
  .fs26 {font-size: 16px;}
  .fs28 {font-size: 18px;}
  .fs30 {font-size: 20px;}
  .fs32 {font-size: 22px;}
  .fs34 {font-size: 24px;}
  .fs35 {font-size: 24px;}
  .fs36 {font-size: 26px;}
  .fs37 {font-size: 27px;}
  .fs38 {font-size: 23px;}
  .fs39 {font-size: 29px;}
  .fs40 {font-size: 30px;}
  .fs41 {font-size: 31px;}

}
/* MARGINS & PADDINGS */
.m-0 {
  margin: 0 !important;
}
.m-1 {
  margin: 10px !important;
}
.m-2 {
  margin: 20px !important;
}
.m-3 {
  margin: 30px !important;
}
.m-4 {
  margin: 40px !important;
}
.m-5 {
  margin: 50px !important;
}
.ml-0 {
  margin-left: 0 !important;
}
.ml-1 {
  margin-left: 10px !important;
}
.ml-2 {
  margin-left: 20px !important;
}
.ml-3 {
  margin-left: 30px !important;
}
.ml-4 {
  margin-left: 40px !important;
}
.ml-n0 {
  margin-left: -0 !important;
}
.ml-n1 {
  margin-left: -10px !important;
}
.ml-n2 {
  margin-left: -20px !important;
}
.ml-n3 {
  margin-left: -30px !important;
}
.ml-n4 {
  margin-left: -40px !important;
}
.mt-0 {
  margin-top: 0 !important;
}
.mt-1 {
  margin-top: 10px !important;
}
.mt-2 {
  margin-top: 20px !important;
}
.mt-3 {
  margin-top: 30px !important;
}
.mt-4 {
  margin-top: 40px !important;
}
.mt-5 {
  margin-top: 50px !important;
}
.mt-n0 {
  margin-top: -0 !important;
}
.mt-n1 {
  margin-top: -10px !important;
}
.mt-n2 {
  margin-top: -20px !important;
}
.mt-n3 {
  margin-top: -30px !important;
}
.mt-n4 {
  margin-top: -40px !important;
}
.mr-0 {
  margin-right: 0 !important;
}
.mr-1 {
  margin-right: 10px !important;
}
.mr-2 {
  margin-right: 20px !important;
}
.mr-3 {
  margin-right: 30px !important;
}
.mr-4 {
  margin-right: 40px !important;
}
.mr-n0 {
  margin-right: -0 !important;
}
.mr-n1 {
  margin-right: -10px !important;
}
.mr-n2 {
  margin-right: -20px !important;
}
.mr-n3 {
  margin-right: -30px !important;
}
.mr-n4 {
  margin-right: -40px !important;
}
.mb-0 {
  margin-bottom: 0 !important;
}
.mb-1 {
  margin-bottom: 10px !important;
}
.mb-2 {
  margin-bottom: 20px !important;
}
.mb-3 {
  margin-bottom: 30px !important;
}
.mb-4 {
  margin-bottom: 40px !important;
}
.mb-5 {
  margin-bottom: 50px !important;
}
.mb-n0 {
  margin-bottom: -0 !important;
}
.mb-n1 {
  margin-bottom: -10px !important;
}
.mb-n2 {
  margin-bottom: -20px !important;
}
.mb-n3 {
  margin-bottom: -30px !important;
}
.mb-n4 {
  margin-bottom: -40px !important;
}
.p-0 {
  padding: 0 !important;
}
.p-1 {
  padding: 10px !important;
}
.p-2 {
  padding: 20px !important;
}
.p-3 {
  padding: 30px !important;
}
.p-4 {
  padding: 40px !important;
}
.p-5 {
  padding: 50px !important;
}
.pl-0 {
  padding-left: 0 !important;
}
.pl-1 {
  padding-left: 10px !important;
}
.pl-2 {
  padding-left: 20px !important;
}
.pl-3 {
  padding-left: 30px !important;
}
.pl-4 {
  padding-left: 40px !important;
}
.pl-n0 {
  padding-left: -0 !important;
}
.pl-n1 {
  padding-left: -10px !important;
}
.pl-n2 {
  padding-left: -20px !important;
}
.pl-n3 {
  padding-left: -30px !important;
}
.pl-n4 {
  padding-left: -40px !important;
}
.pt-0 {
  padding-top: 0 !important;
}
.pt-1 {
  padding-top: 10px !important;
}
.pt-2 {
  padding-top: 20px !important;
}
.pt-3 {
  padding-top: 30px !important;
}
.pt-4 {
  padding-top: 40px !important;
}
.pt-n0 {
  padding-top: -0 !important;
}
.pt-n1 {
  padding-top: -10px !important;
}
.pt-n2 {
  padding-top: -20px !important;
}
.pt-n3 {
  padding-top: -30px !important;
}
.pt-n4 {
  padding-top: -40px !important;
}
.pr-0 {
  padding-right: 0 !important;
}
.pr-1 {
  padding-right: 10px !important;
}
.pr-2 {
  padding-right: 20px !important;
}
.pr-3 {
  padding-right: 30px !important;
}
.pr-4 {
  padding-right: 40px !important;
}
.pr-n0 {
  padding-right: -0 !important;
}
.pr-n1 {
  padding-right: -10px !important;
}
.pr-n2 {
  padding-right: -20px !important;
}
.pr-n3 {
  padding-right: -30px !important;
}
.pr-n4 {
  padding-right: -40px !important;
}
.pb-0 {
  padding-bottom: 0 !important;
}
.pb-1 {
  padding-bottom: 10px !important;
}
.pb-2 {
  padding-bottom: 20px !important;
}
.pb-3 {
  padding-bottom: 30px !important;
}
.pb-4 {
  padding-bottom: 40px !important;
}
.pb-n0 {
  padding-bottom: -0 !important;
}
.pb-n1 {
  padding-bottom: -10px !important;
}
.pb-n2 {
  padding-bottom: -20px !important;
}
.pb-n3 {
  padding-bottom: -30px !important;
}
.pb-n4 {
  padding-bottom: -40px !important;
}

/* Всплывающее окно
* при загрузке сайта
*/
/* базовый контейнер, фон затемнения*/
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 999;
  -webkit-animation: fade .6s;
  -moz-animation: fade .6s;
  animation: fade .6s;
  overflow: auto;
}
/* модальный блок */
.popup {
  top: 25%;
  left: 0;
  right: 0;
  font-size: 14px;
  margin: auto;
  width: 85%;
  min-width: 320px;
  max-width: 530px;
  position: absolute;
  padding: 15px 20px;
  border: 1px solid #383838;
  background: #fefefe;
  z-index: 1000;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  border-radius: 4px;
  font: 14px/18px 'Tahoma', Arial, sans-serif;
  -webkit-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
  -moz-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
  -ms-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
  box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
  -webkit-animation: fade .6s;
  -moz-animation: fade .6s;
  animation: fade .6s;
}
/* заголовки в модальном блоке */
.popup h2, .popup h3 {
  margin: 0 0 1rem 0;
  font-weight: 300;
  line-height: 1.3;
  color: #0442af;
  text-shadow: 1px 2px 4px #ddd;
}
/* кнопка закрытия */
.close {
  top: 10px;
  right: 10px;
  width: 27px;
  height: 27px;
  position: absolute;
  border: none;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
  background-color: #0442af;
  -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  cursor: pointer;
  outline: none;

}
.close:before {
  color: rgba(255, 255, 255, 0.9);
  content: "X";
  font-family:  Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: normal;
  text-decoration: none;
  text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  transition: all 0.5s;
}
/* кнопка закрытия при наведении */
.close:hover {
  background-color: #2b84d2;
}
/* изображения в модальном окне */
.popup img {
  width: 100%;
  height: auto;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
/* миниатюры изображений */
.pl-left,
.pl-right {
  width: 25%;
  height: auto;
}
/* миниатюры справа */
.pl-right {
  float: right;
  margin: 5px 0 5px 15px;
}
/* миниатюры слева */
.pl-left {
  float: left;
  margin: 5px 18px 5px 0;
}
/* анимация при появлении блоков с содержанием */
@-moz-keyframes fade {
  from { opacity: 0; }
  to { opacity: 1 }
}
@-webkit-keyframes fade {
  from { opacity: 0; }
  to { opacity: 1 }
}
@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1 }
}