/**
 * Содержит общие стили сайта
 */
html{
  font-size: 15px;
}
body{
  background: #27A8BF;
  font-family: "Roboto","Helvetica Neue", Helvetica, Arial, sans-serif;
  /*font-weight: 300;*/
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  /*-moz-osx-font-smoothing: grayscale;*/
  -moz-osx-font-smoothing: auto;

  line-height: 1.5; /* 1.5em not working */
  color: #000;
  min-width: 340px;
}

@media (max-width: 767px){
  body{
    font-weight: normal;
  }
}


h1,.h1{
  position: relative;
}
h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5{
  line-height: 1.2;
  margin-top: 0;
  color: #eb15b0;
  /* color: #000; */
}
h1,.h1{
  font-size: 1.8rem ;
  /* font-weight: 300; */
  margin-top: 0;
  margin-bottom: .5em;
}
h2,.h2{
  font-size: 1.6rem;
  margin-bottom: .5em;
}
h3,.h3{
  font-size: 1.4rem;
  margin-bottom: .5em;
}
h4,.h4{
  font-size: 1.2rem;
  margin-bottom: .5em;
}
h5,.h5{
  font-size: 1.1rem;
  margin-bottom: .5em;
}
@media (max-width: 767px){
  h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5{
    line-height: 1.1;
    font-weight: normal;
  }
  h1,.h1{
    font-size: 1.5rem;
    font-weight: bold;
  }
  h2,.h2{
    font-size: 1.4rem;
  }
  h3,.h3{
    font-size: 1.3rem;
  }
  h4,.h4{
    font-size: 1.2rem;
  }
  h5,.h5{
    font-size: 1.1rem;
  }  
}

ul{
  list-style-type: square;
  padding-left: 2em;
}


body a,
body .b-style-link{
 color: #007299;
}
body a:hover{
  text-decoration: underline;
  color: #0090BB;
}
a.js{
  border-bottom: 1px dotted;
}

.b-block.b-state_bg_dark{
  color: rgba(255,255,255,.8);
  border:none;
}
.b-state_bg_dark a {
  color: white;
}
.b-state_bg_dark .b-user__name {
  color: #93CB4B;
}
.b-state_bg_dark a.active,
.b-state_bg_dark a:active,
.b-state_bg_dark a:focus,
.b-state_bg_dark a:hover{
  opacity: .9;
  color: white;
}
.b-state_bg_light{
  color: #007299;
}
.b-state_bg_light a,
.b-state_bg_light a:hover{
  color: #0090BB;
}

body .b-inherit-font{
  font-size: inherit;
}


/** 
 * Блоки 
 */
.b-block{
  border: #ededed solid 1px;
  border-radius: var(--global-block-border-radius, 3px);
  padding: 19px;
  /*margin-bottom: 20px;*/
}

.b-swipe-sidebar .b-block{
  border-radius: 0;
  border: 0;
  margin-bottom: 0;
}


.b-block__label{
  font-weight: normal;  
  width: 100%;
  font-size: var(--global-font-size-h3, 20px);
  margin-bottom: 15px;
  color: #222d35;
  position: relative;
}


/** GLOBAL ELEMENTS ***************************************/
.b-page{
  background: url(images/sun.png) top center no-repeat;
  background-attachment: fixed;
}

@media (max-width: 767px){
  .b-page{
    background: none;
  }
  body{
    background-image: none;
  }
}

.b-page__content-inner.container{
  background: #fff;
  padding-top: 30px;
  padding-bottom: 45px;
  position: relative;
  min-height: 400px
}
@media (max-width: 767px){
  .b-page__content-inner.container{
    padding-top: 15px;
    padding-bottom: 0;
  }  
}

.front .b-page__content,
.page-contacts .b-page__content{
  margin-bottom: 0;
}

/* Содержит текстовый форматированный контент */
.b-formatted-content{

}
.b-formatted-content img{
  margin-bottom: 1rem;
}

/**
 * Common elements
 */
.extra-text{
  color:#777;
}
.alert-text{
  font-weight: bold;
  color:red;
}
.error-text{
  color:red;
}
.warning-text{
  color:red;
}
.info-text{
  color:blue;
}
.ok-text{
  color:green;
}
.extra-info{
 font-size: .733em;
}


/** general sizes **/
/* Configure responsive fonts */ 
@media all { /* screen size until 500px */
  html,body {
    font-size: 14px; /* 0.8x default size */
  }
}
@media all and (min-width: 480px) { /* screen size until 500px */
  html,body {
    font-size: 14px; /* 0.8x default size */
  }
}
@media all and (min-width: 768px) { /* screen size until 1000px */
  html,body {
    font-size: 14px; /* 1.2x default size */
  }
  .container {
    width: 64rem !important;
  } 
}
@media all and (min-width: 992px) { /* screen size until 1000px */
  html,body {
    font-size: 15px; /* 1.2x default size */
  }
}
@media all and (min-width: 1170px) { /* screen size until 1200px */
  html,body {
    font-size: 15px; /* 1.2x default size */
  }
}

