/*
Theme Name: BRPF Theme
Description: A theme developed by ZeroCool 2017
Version: 1.0
*/


@import "./reset.css";
@import "./typography.css";
@import "./layout.css";
@import "./article.css";

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto-regular-webfont.eot');
    src: url('../fonts/roboto-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/roboto-regular-webfont.woff2') format('woff2'),
         url('../fonts/roboto-regular-webfont.woff') format('woff'),
         url('../fonts/roboto-regular-webfont.svg#robotoregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto-bold-webfont.eot');
    src: url('../fonts/roboto-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/roboto-bold-webfont.woff2') format('woff2'),
         url('../fonts/roboto-bold-webfont.woff') format('woff'),
         url('../fonts/roboto-bold-webfont.svg#robotoregular') format('svg');
    font-weight: bold;
    font-style: normal;

}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto-italic-webfont.eot');
    src: url('../fonts/roboto-italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/roboto-italic-webfont.woff2') format('woff2'),
         url('../fonts/roboto-italic-webfont.woff') format('woff'),
         url('../fonts/roboto-italic-webfont.svg#robotoregular') format('svg');
    font-weight: normal;
    font-style: italic;

}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto-light-webfont.eot');
    src: url('../fonts/roboto-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/roboto-light-webfont.woff2') format('woff2'),
         url('../fonts/roboto-light-webfont.woff') format('woff'),
         url('../fonts/roboto-light-webfont.svg#robotoregular') format('svg');
    font-weight: 300;
    font-style: normal;
}

button::-moz-focus-inner /*Remove button padding in FF*/
{ 
    border: 0;
    padding: 0;
    margin:0;
}

input::-moz-focus-inner /*Remove button padding in FF*/
{ 
    border: 0;
    padding: 0;
    margin: 0;
}

button:focus {outline:0;}

* {
  margin: 0;
}

html, body {
  height: 100%;
  width: 100%;
}

body {
  width: 100%;
  background: #ffffff none;
}

body.home {

}

body, p, a, span, div, dl, dt, dd, ul, ol, li, pre, form, label, fieldset, input, blockquote, th, td, textarea, h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1.2em;
  color: #000000;
  font-size: 14px;
  font-weight: normal;
  outline: none;
}

div {
  min-height: 1%;
  _height: auto!important;
  _height: 1%;
}

a, a:visited {
  color: #004e80;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  
}

img {
  vertical-align: top;
  max-width: 98%;
}

.clear {
  clear: both;
  height: 0px;
  font-size: 0px;
  line-height: 0px;
  min-height: 0px;
}

.alignleft { 
  margin: 0px 44px 21px 0px;
}

.alignright { 
  margin: 0px 0px 21px 44px;
}

.aligncenter { 
  display: block;
  text-align: center;
  padding: 0px 0px 21px;
}

.header_wrap {
  width: 100%;
  min-height: 180px;
  margin: 0 0 32px;
}

.header_top {
  width: 1140px;
  margin: 0 auto;
}

.logo {
  float: left;
  width: 766px;
  height: auto;/*93px;*/
  margin: 21px 0 0 6px; 
  overflow: hidden;
}

.header_right {
  float: right;
  width: 350px;
  margin: 17px 0 0;
}

.faq {
  float: right;
  width: 126px;
  height: 64px;
  overflow: hidden;
}

.faq a, .faq a:hover, .faq a:visited {
  display: block;
  float: left;
  width: 79px;
  height: 42px;
  padding: 9px 0 13px 47px;
  background: #f0f3f4 url("../images/faq.png") no-repeat 11px 20px;
  font-size: 12px;
  line-height: 1.2em;
  text-transform: uppercase;
  color: #0066b0;
  text-decoration: none;
}

.phone {
  float: right;
  width: 145px;
  min-height: 54px;
  padding: 10px 0 0 20px;
  margin: 0 21px 0 0;
  /*background: url("../images/phone.png") no-repeat 0px 26px;*/
}

.phone span {
  display: block;
  text-align: right;
}

.phone span.phone_top {
  font-size: 12px;
  line-height: 12px;
  text-transform: uppercase;
}

.phone span.phone_number{
  font-size: 24px;
  line-height: 24px;
  font-weight: 700;
}

.phone span.phone_bottom {
  font-size: 9px;
  font-style: italic;
}

.search {
  float: right;
  width: 307px;
  height: 27px;
  margin: 10px 0 0;
  border: 1px solid #f0f3f4;
}

.search input {
  display: block;
  float: left;
  height: 27px;
  width: 273px;
  padding: 0 0 0 7px;
  line-height: 27px;
  background: transparent;
  font-size: 13px;
  color: #525454;
  border: 0 none;
}

.search button {
  display: block;
  float: right;
  width: 27px;
  height: 27px;
  border: 0 none;
  cursor: pointer;
  padding: 0;
  background: url("../images/looking_glass.png") no-repeat;/* 6px 6px;*/
}

.nav_wrap {
  width: 100%;
  min-height: 49px;
  margin: 11px 0 0;
  background: url("../images/nav_bckg_slice.jpg") repeat-x top center;
}

.nav {
  width: 1140px;
  margin: 0 auto;
}

.nav_left {
  float: left;
}

/*MAIN MENU*/

.nav_left {
  float: left;
  height: 49px;
  padding: 0;
  margin: 0;
}

.nav_left ul{
  float: left;
}

.nav_left li {
  position: relative;
  display: block;
  float: left;
  padding: 0 5px;
  background: url("../images/nav_separator.png") no-repeat 0px 17px;
  z-index: 1000;
}

.nav_left a, .nav_left a:visited {
  display: block; 
  height: 34px;
  padding: 15px 7px 0;
  line-height: 16px;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
}

.nav_left > ul > li:first-child, .nav_left > ul > li:first-child a {
  /*padding-left: 0px;
  background: transparent none; //2017*/
}

.nav_left li.has_submenu {
  padding-left: 1px;
  padding-right: 7px;
}

.nav_left li.has_submenu > a, .nav_right li.has_submenu > a {
  padding-right: 9px;
  background: url("../images/nav_arrow.png") no-repeat 100% 15px;
}

/*second level*/

.nav_left li > ul{
  display: none;
  position: absolute;
  top: 49px;
  left: 0%;
  background: #a53e2f none;
  z-index: 1000;
}

.nav_left li:hover > ul{
  display: block;
}

.nav_left .sub-menu li {
  display: block;
  float: none;
  width: auto;
  min-width: 200px;
  min-height: 1%;
  padding: 0;
  margin: 0;
  background: transparent;
  border-bottom: 1px solid #ba5e50;
}

.nav_left .sub-menu a, .nav_left .sub-menu a:hover, .nav_left .sub-menu a:visited {
  display: block; 
  float: none;
  height: auto;
  width: 100%;
  padding: 15px 10px;
  white-space:nowrap;
  box-sizing: border-box;
}

.nav_left .sub-menu a:hover {

}

/*SIDE MENU*/

.nav_right {
  float: right;
  height: 49px;
  padding: 0;
  margin: 0;
  width: auto;
}

.nav_right ul{
  float: right;
}

.nav_right li {
  position: relative;
  display: block;
  float: left;
  padding: 0 5px;
  background: url("../images/nav_separator.png") no-repeat 0px 17px;
  z-index: 1000;
}

.nav_right a, .nav_right a:visited {
  display: block; 
  height: 34px;
  padding: 15px 7px 0;
  line-height: 16px;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
}

.nav_right > ul > li:first-child {
  padding-left: 0px;
  padding-right: 0px;
  background: transparent;
}

.nav_right li.has_submenu {
  padding-left: 1px;
  padding-right: 7px;
}

.nav_right li.last_item {
  padding-right: 0;
}

.nav_right li.has_submenu > a, .nav_right li.has_submenu > a {
  padding-right: 9px;
  background: url("../images/nav_arrow.png") no-repeat 100% 15px;
}

/*second level*/

.nav_right li > ul{
  display: none;
  position: absolute;
  top: 49px;
  right: 0px;
  background: #a53e2f none;
  z-index: 1000;
}

.nav_right li:hover > ul{
  display: block;
}

.nav_right .sub-menu li {
  display: block;
  float: none;
  width: auto;
  min-height: 1%;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid #ba5e50;
}

.nav_right .sub-menu a, .nav_right .sub-menu a:hover, .nav_right .sub-menu a:visited {
  display: block; 
  float: none;
  height: auto;
  width: 100%;
  padding: 15px 10px;
  white-space:nowrap;
  box-sizing: border-box;
}

.nav_right .sub-menu a:hover {

}
  
.body_wrap {
  width: 1140px;
  margin: 0 auto;
  padding: 0 0 34px;
}

.body_top {
  margin: 0 0 30px;
}

.slider {
  position: relative;
  float: left;
  width: 847px;
  height: 318px;
}
  
#slides {
 display:none;
}

.slidesjs-navigation {
  display:none !important;
}

.slidesjs-container, .slidesjs-control {
  z-index:10;
  width: 847px !important;
  height: 318px !important;
  position: absolute !important; top: 0; left: 0;
}

#slides .slidesjs-slide {
  width:auto !important;
  left:auto !important;
  min-width: 100%;
  min-height: 100%;
}

#slides img {
  width: auto !important;
  width: 100% !important;
}
/*
#slides .slidesjs-pagination {
    margin: 320px 0 0;
    float: right;
    list-style: none;
}

#slides .slidesjs-pagination li {
    float: left;
    margin: 0 1px;
}

#slides .slidesjs-pagination li a {
    display: block;
    width: 13px;
    height: 0px;
    padding-top: 13px;
    background-image: url("../images/pagination.png");
    background-position: 0 0;
    float: left;
    overflow: hidden;
}

#slides .slidesjs-pagination li a.active, .slidesjs-pagination li a:hover.active { background-position: 0 -13px }

#slides .slidesjs-pagination li a:hover { background-position: 0 -26px }

#slides #slides a:link, #slides a:visited { color: #333 }

#slides #slides a:hover, #slides a:active { color: #9e2020 }
*/
.slider_text {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 420px;
  height: 240px;
  padding: 35px 0 0 21px;
}

.slider_text h1, .slider_text h2, .slider_text h3, .slider_text h4, .slider_text h5, .slider_text h6 {
  display: block;
  margin: 0 0 59px;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
}

.slider_text a, .slider_text a:hover, .slider_text a:visited {
  display: block;
  float: left;
  height: 25px;
  padding: 7px 13px 0;
  background: #a53e2f;
  border: 1px solid #7d281c;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  border-radius: 4px;
}

.teaser {
  float: right;
  width: 260px;
  height: 316px;
  border: 1px solid #a74030;
  text-align: center;
  overflow: hidden;
}

.teaser img{
  display: inline-block;
  max-width: 260px;
  max-height: 316px;
  width: auto;
  height: auto;
  vertical-align: top;
}

.body_center_left {
  float: left;
  width: 261px;
} 

.body_center_left li{
  display: block;
  padding: 8px 0;
  width: 100%;
  border-bottom: 1px solid #f0f3f4;
} 

.body_center_left li ul li a.active{
	font-weight: bold;
	text-decoration: underline;
}

.body_center_left li.has_submenu {
  padding-bottom: 0;
  border: 0 none;
}

.body_center_left li ul{
  padding: 2px 0 0 20px;
}

.body_center_left a, .body_center_left a:visited {
  display: block;
  padding: 0 0 0 11px;
  background: url("../images/bullet.png") no-repeat 0px 5px;
  color: #004e80;
} 

.body_center_left a:hover {
  text-decoration: underline;
}

.body_center_right {
  float: right;
  width: 848px;
}

.events {
  float: right;
  width: 264px;
}

.events_title {
  padding: 0 0 7px;
  margin: 0 0 18px;
  border-bottom: 1px solid #f0f3f4;
  text-transform: uppercase;
}

.events_title h2{
  font-weight: bold;
}

.events_block {
  margin: 0 0 10px;
}

.event_time {
  float: left;  
  width: 70px;
  min-height: 45px;
  padding: 0px 0 0;
  background: #f0f3f4;
}

.event_time span.event_date {
  display: block;
  width: 100%;
  font-size: 30px;
  line-height: 30px;
  font-weight: bold;
  text-align: center;
  padding-bottom: 0px;
}

.event_time span.event_month {
  display: block;
  width: 100%;
  font-size: 12px;
  line-height: 11px;
  text-align: center;
}

.event_title {
  float: right;
  width: 177px;
}

.event_title h2 a, .event_title h2 a:hover, .event_title h2 a:visited {
  display: block;
  color: #004e80;
}

.event_title h2 a:hover {
  text-decoration: underline;
}

.news {
  float: left;
  width: 557px;
}

.news_title {
  padding: 0 0 7px;
  margin: 0 0 18px;
  border-bottom: 1px solid #f0f3f4;
  text-transform: uppercase;
}

.news_title h2{
  font-weight: bold;
}

.news_block {
  margin: 0 0 29px;
}

.news_thumb {
  float: left;
  width: 100px;
  height: 100px;
  text-align: center;
  border: 1px solid #dbe3e7;
  overflow: hidden;
}

.news_thumb img {
  display: inline-block;
  max-width: 100px;
  max-height: 100px;
  width: auto;
  height: auto;
}

.news_date {
  display: block;
  width: 100%;
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 12px;
  color: #adadad;
}

.news_block_content {
  float: right;
  width: 437px;
  float: right;
  padding: 0 0 10px;
}


.news_block_content h2 a, .news_block_content h2 a:visited {
  color: #004e80;
}

.news_block_content h2 a:hover {
  text-decoration: underline;
}

.in_media {
  width: 824px;
  min-height: 100px;
  margin: 0 0 30px;
  padding: 13px 12px 17px;
  background: #f0f3f4;
}

div.in_media_block + div + div {
  margin: 0;
}

.in_media_title {
  margin: 0 0 27px;
}

.in_media_title h2 {
  display: block;
  font-weight: bold;
  line-height: 14px;
  text-transform: uppercase;
}

.in_media_title h2 a, .in_media_title h2 a:hover, .in_media_title h2 a:visited {
  display: block;
}

.in_media_block {
  float: left;
  width: 242px;
  margin: 0 49px 0 0;
}

.in_media_block h2 {
  margin: 0 0 12px;
}

.in_media_block a:hover {
  text-decoration: underline;
}

.in_media_date {
  display: block;
  margin: 0 0 11px;
  font-size: 12px;
  color: #8e8f90;
}

.body_center_bottom {
  width: 1140px;
}

.banner_block {
  float: left;
  width: 358px;
  height: 168px;
  margin: 0 30px 0 0;
  border: 1px solid #f0f3f4;
  text-align: center;
  overflow: hidden;
}

.banner_block  img {
  display: inline-block;
  max-width: 358px;
  max-height: 168px;
  width: auto;
  height: auto;
}

div.banner_block_wrap + div.banner_block_wrap + div.banner_block_wrap .banner_block {
  margin: 0;
}

.footer_wrap {
  width: 100%;
  min-height: 100px;
  padding: 39px 0 0;
  border-top: 4px solid #a84031;
  background: #f0f3f4;
}

.footer_top {
  width: 1140px;
  margin: 0 auto;
} 

.footer_block {
  float: left;
  width: 262px;
  padding: 0px 15px 0px 0px;
  margin: 0px 15px 38px 0px;
  border-right: 1px solid #e4e7e8;
}

.footer_block  p {
  display: block;
  width: 100%;
  line-height: 17px;
  min-height: 17px;
}

.footer_block  p a, .footer_block  p a:visited {
  color: #000;
}

.footer_block  p a:hover {
  color: #004e80;
}

.footer_block  h3 {
  display: block;
  margin: 0 0 14px;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 300;
}

div.footer_block + div.footer_block + div.footer_block + div.footer_block h3 {
  margin: 0 0 17px;
}

div.footer_block + div.footer_block + div.footer_block + div.footer_block  {
  width: 246px;
  margin: 0;
  padding: 0 15px 0 0;
  border: 0;
}

/*div.footer_block + div.footer_block + div.footer_block + div.footer_block a, 
div.footer_block + div.footer_block + div.footer_block + div.footer_block a:hover, 
div.footer_block + div.footer_block + div.footer_block + div.footer_block a:visited {
  display: block;
  float: left;
  height: 25px;
  padding: 7px 14px 0; 
  background: #a53e2f;
  border: 1px solid #7d281c;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  border-radius: 4px;
}*/

.footer_contact {
  width: 100%;
  padding: 12px 0;
  background: #e4e7e8;
  text-align: center;
}

.footer_contact p {
  color: #7d7f7f;
}

.footer_copyright {
  width: 100%;
  padding: 15px 0;
  text-align: center;
}

.footer_copyright p {
  font-size: 12px;
  color: #7d7f7f;
}

/*HIDE FROM DESKTOP*/

.nav_t  {
  display: none;
}

.nav_m {
  display: none;
}

.search_m {
  display: none;
}

.toggle_blocks {
  display:none;
}

.search_f {
  display:none;
}
/*Input fields*/
.search_b {
  width: 22px;
  height: 22px;
  border: 0 none;
  cursor: pointer;
  padding: 0;
  background: url("../images/looking_glass.png") no-repeat;/* 6px 6px;*/
}

.feedb_input {
  display: block;
  float: left;
  height: 27px;
  max-width:400px;
  width: 100%;
  padding: 0 0 0 7px;
  line-height: 27px;
  background: transparent;
  font-size: 13px;
  color: #525454;
  border-width:1px;
}

.feedb_input_a {
  display: block;
  float: left;
  max-width: 400px;
  width: 100%;
  padding: 0 0 0 7px;
  line-height: 27px;
  background: transparent;
  font-size: 13px;
  color: #525454;
  border-width:1px;
}

.feedb_button {
  display: block;
  float: right;
  height: 45px;
  padding: 0px 14px 0; 
  background: #a84031;
  border: 0px solid #7d281c;
  color: #fff !important;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  /*border-radius: 4px;*/
}

.feedb_table
{
	border: 0px;
	max-width: 480px;
	width: 100%;
}

.feedb_th {
    padding: 10px;
    height: auto;
    max-width: 80px;
}

.feedb_td {
    padding: 10px;
    height: auto;
    width: 100%;
}


/* TABLET VERSION*/


@media all and (min-width: 750px) and (max-width: 1140px) { 

  html {
    font-size: 62.5%;
  }
  
  body {
    line-height: 1.2;
  }
  
  body, p, a, span, div, em, dl, dt, dd, ul, ol, li, pre, form, label, fieldset, input, blockquote, th, td, textarea, h1, h2, h3, h4, h5, h6 {
    font-size: 1.4rem;
    font-weight: normal;
    word-wrap: break-word;
  }
  
  .header_wrap {
    min-height: 0;
    margin: 0 0 3rem;
  }
  
  .header_top {
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
  }
  
  .logo {
    width: 47.6rem;
	/*width: 77.6rem;*/
	height: 21.3rem;
    /*height: 12.3rem;*/
    margin: 0.9rem 0 0; 
  }
  
  .header_right {
    width: auto;
    margin: 0.8rem 0 0;
  }
  
  .faq {
    height: 6.4rem;
    width: 4.5rem;
  }
  
  .faq a, .faq a:hover, .faq a:visited {
    height: 6.4rem;
    width: 4.5rem;
    padding: 0;
    text-indent: -9999px;
    background-position: 1.1rem 2rem;
  }
  
  .phone {
    width: 14.5rem;
    min-height: 5.4rem;
    padding: 1rem 0 0 2rem;
    margin: 0 1.3rem 0 0;
    /*background: url("../images/phone.png") no-repeat 0 2.6rem;*/
  }

  .phone span {
    display: block;
    text-align: right;
  }

  .phone span.phone_top {
    font-size: 1.2rem;
    line-height: 1.2rem;
    text-transform: uppercase;
  }

  .phone span.phone_number{
    font-size: 2.4rem;
    line-height: 2.4rem;
    font-weight: 700;
  }

  .phone span.phone_bottom {
    font-size: 0.9rem;
    font-style: italic;
  }

  .search {
    float: right;
    width: 22.5rem;
    height: 2.7rem;
    margin: 1rem 0 0;
    border: 1px solid #f0f3f4;
  }

  .search input {
    display: block;
    float: left;
    height: 2.7rem;
    width: 18.7rem;
    padding: 0 0 0 1.1rem;
    line-height: 2.7rem;
    background: transparent;
    font-size: 1.3rem;
    color: #525454;
    border: 0 none;
  }

  .search button {
    display: block;
    float: right;
    width: 2.7rem;
    height: 2.7rem;
    border: 0 none;
    cursor: pointer;
    padding: 0;
    background: url("../images/looking_glass.png") no-repeat;/* 0.6rem 0.6rem;*/
  }
  
  .nav_wrap {
    min-height: 4.9rem;
    margin: 1.1rem 0 0;
  }
  
  .nav {
    display: none;
  }
  
  .nav_t {
    display: block;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
  }
  
  .nav_left {
    float: left;
    height: 4.9rem;
    padding: 0;
    margin: 0;
  }

  .nav_left ul{
    float: left;
  }

  .nav_left li {
    position: relative;
    display: block;
    float: left;
    padding: 0 0.5rem;
    background: url("../images/nav_separator.png") no-repeat 0px 1.7rem;
    z-index: 1000;
  }

  .nav_left a, .nav_left a:visited {
    display: block; 
    height: 3.4rem;
    padding: 1.5rem 0.7rem 0;
    line-height: 1.6rem;
    font-size: 1.6rem;
    color: #fff;
    text-decoration: none;
  }
  
  .nav_left > ul > li:first-child {
    background: transparent none;
  }

  .nav_left > ul > li:first-child, .nav_left > ul > li:first-child a {
    padding-left: 0;
  }

  .nav_left li.has_submenu {
    padding-left: 0.1rem;
    padding-right: 0.7rem;
  }

  .nav_left li.has_submenu > a, .nav_right li.has_submenu > a {
    padding-right: 0.9rem;
    background: url("../images/nav_arrow.png") no-repeat 100% 1.5rem;
  }

  /*second level*/

  .nav_left li > ul{
    display: none;
    position: absolute;
    top: 4.9rem;
    left: 0%;
    background: #a53e2f none;
    z-index: 1000;
  }

  .nav_left li:hover > ul{
    display: block;
  }
  
  .nav_left li.last_item > ul{
    float: right;
    left: auto;
    right: 0;
  }

  .nav_left .sub-menu li {
    display: block;
    float: none;
    width: auto;
    min-height: 1%;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #ba5e50;
  }

  .nav_left .sub-menu a, .nav_left .sub-menu a:hover, .nav_left .sub-menu a:visited {
    display: block; 
    float: none;
    height: auto;
    width: 100%;
    padding: 1.5rem 1rem;
    white-space:nowrap;
    box-sizing: border-box;
  }

  .nav_left .sub-menu a:hover {

  }
  
  .nav_right {
    float: right;
    height: 4.9rem;
    padding: 0;
    margin: 0;
    width: auto;
  }

  .nav_right ul{
    float: right;
  }

  .nav_right li {
    position: relative;
    display: block;
    float: left;
    padding: 0 0.5rem;
    background: url("../images/nav_separator.png") no-repeat 0px 1.7rem;
    z-index: 1000;
  }

  .nav_right a, .nav_right a:visited {
    display: block; 
    height: 3.4rem;
    padding: 1.5rem 0.7rem 0;
    line-height: 1.6rem;
    font-size: 1.6rem;
    color: #fff;
    text-decoration: none;
  }

  .nav_right > ul > li:first-child {
    padding-left: 0rem;
    padding-right: 0rem;
  }

  .nav_right li.has_submenu {
    padding-left: 0.1rem;
    padding-right: 0.7rem;
  }

  .nav_right li.has_submenu > a, .nav_right li.has_submenu > a {
    padding-right: 0.9rem;
    background: url("../images/nav_arrow.png") no-repeat 100% 1.5rem;
  }

  /*second level*/

  .nav_right li > ul{
    display: none;
    position: absolute;
    top: 4.9rem;
    right: -1rem;
    background: #a53e2f none;
    z-index: 1000;
  }

  .nav_right li:hover > ul{
    display: block;
  }

  .nav_right .sub-menu li {
    display: block;
    float: none;
    width: auto;
    min-height: 1%;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #ba5e50;
  }

  .nav_right .sub-menu a, .nav_right .sub-menu a:hover, .nav_right .sub-menu a:visited {
    display: block; 
    float: none;
    height: auto;
    width: 100%;
    padding: 1.5rem 1rem;
    white-space:nowrap;
    box-sizing: border-box;
  }

  .nav_right .sub-menu a:hover {

  }
  
  .body_wrap {
    width: 100%;
    padding: 0 1rem 3.4rem;
    box-sizing: border-box;
  }
  
  .body_top {
    margin: 0 0 3rem;
  }
  
  .slider {
    position: relative;
    width: 65.5080%;
    height: auto;
    overflow:hidden;
  }
  
  .slider_inner {
    padding-bottom: 57.45%;
    overflow:hidden;
  }
  
  #slides {
   display:none;
  }

	.slidesjs-navigation {
    display:none !important;
  }
	
	.slidesjs-container, .slidesjs-control {
	  z-index:10;
	  width: 123.8% !important;
    margin-left: -11.9%;
    margin-right: -11.9%;
	  height: 100% !important;
    position: absolute !important; top: 0; left: 0;
	}
  
	#slides .slidesjs-slide {
	  width:auto !important;
	  left:auto !important;
	  min-width: 100%;
	  min-height: 100%;
	}
  
  #slides img {
    width: auto !important;
    width: 100% !important;
  }
  
  .slider_text {
    height: auto;
    max-width: 40%;
    left: 0;
    padding: 3.5rem 0 0 2.1rem;
    padding-left: 18.95%;
    position: absolute;
    top: 0;
    width: auto;
    text-align: left;
  }
  
  .slider_text h1, .slider_text h2, .slider_text h3, .slider_text h4, .slider_text h5, .slider_text h6 {
    margin: 0 0 3.6rem;
    font-size: 1.8rem;
  }

  .slider_text a, .slider_text a:hover, .slider_text a:visited {
    height: 2.5rem;
    padding: 0.7rem 1.3rem 0;
    font-size: 1.3rem;
  }
  
  .teaser {
    float: right;
    width: 30.82%;
    height: auto;
    border: 1px solid #a74030;
    text-align: center;
    overflow: hidden;
  }
  
  .teaser img{
    display: inline-block;
    width: 100%;
    max-width: 100%;
    max-height: initial;
    height: auto;
    vertical-align: top;
  }
  
  .body_center_left {
    float: left;
    width: 19.25%;
  }
  
  .body_center_left li {
    padding: 0.8rem 0;
    width: 100%;
  }
  
  .body_center_left a, .body_center_left a:visited {
    padding: 0 0 0 1.1rem;
  }
  
  .body_center_left li.has_submenu {
    padding-bottom: 0;
    border: 0 none;
  }

  .body_center_left li ul{
    padding: 0.2rem 0 0 2rem;
  }
  
  .body_center_right {
    width: 77.27%;
  }
  
  .events {
    width: 39.79%;
  }
  
  .events_title {
    padding: 0 0 0.7rem;
    margin: 0 0 1.8rem;
  }
  
  .events_block {
    margin: 0 0 1.5rem;
  }
  
  .event_time {
    min-height: 4.5rem;
    width: 7rem;
  }
  
  .event_time span.event_date {
    font-size: 3rem;
    line-height: 3rem;
  }
  
  .event_time span.event_month {
    font-size: 1.2rem;
    line-height: 1.1rem;
  }
  
  .event_title {
    float: none;
    width: auto;
    padding: 0 0 0 1.6rem;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  .news {
    width: 54.84%;
  }
  
  .news_block {
    margin: 0 0 2.9rem;
  }
  
  
  .news_block_content {
    float: none;
    width: auto;
    padding: 0 0 1rem 1.8rem;
    overflow: hidden;
  }
  
  .news_title {
    padding: 0 0 0.7rem;
    margin: 0 0 1.8rem;
  }
  
  .news_thumb {
    height: 10rem;
    width: 10rem;
  }
  
  .news_thumb img {
    height: auto;
    max-height: 10rem;
    max-width: 10rem;
    width: auto;
  }
  
  .news_date {
    margin: 0 0 0.8rem;
    font-size: 1.2rem;
    line-height: 1.2rem;
  }
  
  .in_media {
    width: 100%;
    min-height: initial;
    margin: 0 0 3rem;
    padding: 1.3rem 1.2rem 1.7rem;
    box-sizing: border-box;
  }
  
  .in_media_title {
    margin: 0 0 2.7rem;
  }

  .in_media_title h2 {
    line-height: 1.4rem;
  }

  .in_media_block {
    width: 50%;
    margin: 0;
    padding: 0 4.5rem 0 0;
    box-sizing: border-box;
  }

  .in_media_block h2 {
    margin: 0 0 1.2rem;
  }

  .in_media_date {
    margin: 0 0 1.1rem;
    font-size: 1.2rem;
  }
  
  div.in_media_block + div.in_media_block + div.in_media_block {
    display: none;
  }
  
  .body_center_bottom {
    width: 100%;
  }
  
  .banner_block {
    height: auto;
    margin: 0;
  }
  
  .banner_block_wrap {
    float: left;
    width: 31.6%;
    height: auto;
    max-height: initial;
    padding: 0 2.5% 0 0;
  }
  
  .banner_block {
    position: relative;
    float: left;
    width: auto;
    width: 100%;
    padding-bottom: 46.94%;
  }

  .banner_block  img {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    height: auto;
  }
  
  div.banner_block_wrap + div + div {
    padding: 0;
  }
  
  .footer_wrap {
    min-height: 10rem;
    padding: 3.9rem 0 0;
    width: 100%;
  }
  
  .footer_top {
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
  } 
  
  .footer_block {
    width: 23.16%;
    margin: 0 1.05% 3.8rem 0;
    padding: 0 1.05% 0 0;
  }
  
  div.footer_block + div.footer_block + div.footer_block + div.footer_block {
    border: 0 none;
    margin: 0;
    padding: 0 1.31% 0 0;
    width: 22.38%;
  }
  
  .footer_block h3 {
    font-size: 1.6rem;
    margin: 0 0 1.4rem;
  }
  
  .footer_block p {
    line-height: 1.7rem;
    min-height: 1.7rem;
  }
  
  /*div.footer_block + div.footer_block + div.footer_block + div.footer_block a, 
  div.footer_block + div.footer_block + div.footer_block + div.footer_block a:hover, 
  div.footer_block + div.footer_block + div.footer_block + div.footer_block a:visited {
    height: 2.5rem;
    padding: 0.7rem 1.4rem 0; 
    font-size: 1.3rem;
  }*/
  
  div.footer_block + div.footer_block + div.footer_block + div.footer_block h3 {
    margin: 0 0 1.7rem;
  }
  
  .footer_contact {
    padding: 1.2rem 1rem;
    box-sizing: border-box;
  }
  
  .footer_copyright {
    padding: 1.5rem 1rem;
    font-size: 1.2rem;
    box-sizing: border-box;
  }
  
  .footer_copyright p {
    font-size: 1.2rem;
  }
  
	.search_f {
	  display:block;
	}
  
  search_b {
	  width: 22px;
	  height: 22px;
	  border: 0 none;
	  cursor: pointer;
	  padding: 0;
	  background: url("../images/looking_glass.png") no-repeat;/* 6px 6px;*/
  }
  
}  
  
  
/*MOBILE DESIGN*/
  

@media all and (max-width: 750px) { 

  html {
    font-size: 62.5%;
  }
  
  body {
    line-height: 1.2;
  }
  
  body, p, a, span, div, em, dl, dt, dd, ul, ol, li, pre, form, label, fieldset, input, blockquote, th, td, textarea, h1, h2, h3, h4, h5, h6 {
    font-size: 1.4rem;
    font-weight: normal;
    word-wrap: break-word;
  }
  
  .header_wrap {
    min-height: 0;
    margin: 0 0 1rem;
  }
  
  .header_top {
    width: 100%;
  }
  
  .logo {
    float: none;
    width: 100%;
    height: auto;
    margin: 1rem 0 0;
    padding: 0 2rem 0.7rem;
    /*border-bottom: 1px solid #f0f3f4;*/
    box-sizing: border-box;
  }
  
  .logo a, .logo a:hover, .logo a:visited {
    display: block;
    margin: 0 auto;
    text-align: center;
  }
  
  .logo img {
    display: inline-block;
    width: auto;
    max-width: 100%;
  }
  
  .header_right {
    float: none;
    width: 100%;
    margin: 2rem 0 0;
    padding: 0 2rem;
    box-sizing: border-box;
  }
  
  .search_m {
    display: block;
    float: right;
    height: 6.4rem;
    width: 2.5rem;
  }
  
  .search_m a, .search_m a:hover, .search_m a:visited {
    display: block;
    height: 6.4rem;
    width: 2.5rem;
    padding: 0;
    background: #fff url("../images/search_m.png") no-repeat 0rem 2rem;
  }
  
  .faq {
    height: 6.4rem;
    width: 2.5rem;
    margin: 0 2rem 0 0;
  }
  
  .faq a, .faq a:hover, .faq a:visited {
    height: 6.4rem;
    width: 2.5rem;
    padding: 0;
    text-indent: -9999px;
    background: #fff url("../images/faq_m.png") no-repeat 0rem 2rem;
  }
  
  .phone {
    float: none;/*left;*/
    width: 100%;/*14.5rem;*/
    min-height: 5.4rem;
    padding: 1rem 0 0 2rem;
    margin: 0;
    /*background: url("../images/phone.png") no-repeat 0 2.6rem;*/
  }

  .phone span {
    display: block;
    text-align: right;
  }

  .phone span.phone_top {
    font-size: 1.2rem;
    line-height: 1.2rem;
    text-transform: uppercase;
  }

  .phone span.phone_number{
    font-size: 2.4rem;
    line-height: 2.4rem;
    font-weight: 700;
    text-align: center;
  }

  .phone span.phone_bottom {
    font-size: 0.9rem;
    font-style: italic;
    text-align: center;
  }
  
  .search {
    display: block;/*none;*/
    float: right;
    /*width: 22.5rem;*/
    width: 100%;
    height: 2.7rem;
    margin: 1rem 0 0;
    border: 1px solid #f0f3f4;
  }

  .search input {
    display: block;
    float: left;
    height: 2.7rem;
    width: 18.7rem;
    padding: 0 0 0 1.1rem;
    line-height: 2.7rem;
    background: transparent;
    font-size: 1.3rem;
    color: #525454;
    border: 0 none;
  }

  .search button {
    display: block;
    float: right;
    width: 2.7rem;
    height: 2.7rem;
    border: 0 none;
    cursor: pointer;
    padding: 0;
    background: url("../images/looking_glass.png") no-repeat;/* 0.6rem 0.6rem;*/
  }
  
  .nav_wrap {
    min-height: 4.9rem;
    margin: 1.1rem 0 0 0;
    padding: 0rem;
    box-sizing: border-box;
  }
  
  .nav {
    display: none;
  }
  
  .nav_m {
    display: block;
  }
  
  .nav_right {
    float: right;
    height: 4.9rem;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .nav_right ul{
    float: right;
    width: 100%;
  }
  
  .nav_right li {
    position: relative;
    display: block;
    float: left;
    padding: 0 0.5rem;
    background: url("../images/nav_separator.png") no-repeat 0px 1.7rem;
    z-index: 1000;
  }
   
  .nav_right > ul > li:first-child {
    padding-left: 0rem;
    padding-right: 0rem;
    width: 100%;
  }
  
  .nav_right > ul > li:first-child ul{
    display: none;
  }
  
  .nav_right > ul > li:first-child > a {
    float: right;
    padding: 1.5rem 4.4rem 0 0;
    margin: 0 1rem 0 0;
    background: url("../images/menu_m.png") no-repeat 100% 1.6rem;
  }

  .nav_right a, .nav_right a:visited {
    display: block; 
    height: 3.4rem;
    padding: 1.5rem 0.7rem 0;
    line-height: 1.6rem;
    font-size: 1.6rem;
    color: #fff;
    text-decoration: none;
  }

  .nav_right li.has_submenu > a, .nav_right li.has_submenu > a {
    background: transparent;
  }

  /*second level*/

  .nav_right li > ul{
    display: none;
    position: absolute;
    top: 4.9rem;
    right: auto;
    background: #a53e2f none;
    z-index: 1000;
  }
  
  .nav_right li.has_submenu > ul ul {
    float: none;
  }
  
  .nav_right li > ul ul {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
  }
  
  .nav_right li.has_submenu > ul  a, .nav_right li.has_submenu > ul  a:hover, .nav_right li.has_submenu > ul  a:visited {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #ba5e50;
    white-space: normal;
    word-wrap: break-word;
  }

  .nav_right li.has_submenu > ul ul a, .nav_right li.has_submenu > ul ul a:hover, .nav_right li.has_submenu > ul ul a:visited {
    padding-left: 3rem;
  }
   
 .nav_right .sub-menu li { 
    border: 0 none;
    background: transparent;
  } 
  
  .body_wrap {
    width: 100%;
    padding: 0 0 3.9rem;
    box-sizing: border-box;
  }
  
  .body_top {
    margin: 0 0 0.9rem;
  }
  
  .slider {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0 0 2rem;
    text-align: center;
    overflow:hidden;
  }
  
  .slider_inner {
    padding-bottom: 80%;
    overflow:hidden;
  }
  
  #slides {
   display:none;
  }

	.slidesjs-navigation {
    display:none !important;
  }
	
	.slidesjs-container, .slidesjs-control {
	  z-index:10;
	  width: 146% !important;
    margin-left: -23%;
    margin-right: -23%;
	  height: 100% !important;
    position: absolute !important; top: 0; left: 0;
	}
  
	#slides .slidesjs-slide {
	  width:auto !important;
	  left:auto !important;
	  min-width: 100%;
	  min-height: 100%;
	}
  
  #slides img {
    
    height: 100% !important;
    max-height: 100%;
  }
  
  .slider_text {
    height: auto;
    max-width: 40.6%;
    left: 0;
    padding: 3.5rem 0 0 2.1rem;
    padding-left: 29.55%;
    position: absolute;
    top: 0;
    width: auto;
    text-align: left;
  }

  .slider_text h1, .slider_text h2, .slider_text h3, .slider_text h4, .slider_text h5, .slider_text h6 {
    margin: 0 0 1.6rem;
    font-size: 1.8rem;
  }

  .slider_text a, .slider_text a:hover, .slider_text a:visited {
    height: 2.5rem;
    padding: 0.7rem 1.3rem 0;
    font-size: 1.3rem;
  }
  
  .teaser {
    float: none;
    width: 100%;
    height: auto;
    padding: 0 1rem;
    border: 0 none;
    box-sizing: border-box;
  }
  
  .teaser_inner {
    border: 1px solid #a74030;
  }
  
  .teaser img{
    display: inline-block;
    width: 100%;
    max-width: 100%;
    max-height: initial;
    height: auto;
    vertical-align: top;
  }
  
  .body_center {
    padding: 0 1rem;
  }
  
  .body_center_left {
    float: none;
    width: 100%;
    margin: 0 0 3.6rem;
  }
  
  .body_center_left li {
    padding: 0.8rem 0;
    width: 100%;
  }
  
  .body_center_left li.has_submenu {
    padding-bottom: 0;
    border: 0 none;
  }

  .body_center_left li ul{
    padding: 0.2rem 0 0 2rem;
  }
  
  .body_center_left li.show_more a, .body_center_left li.show_less a {
    font-weight:bold;
  }
  
  .body_center_left a, .body_center_left a:visited {
    padding: 0 0 0 1.1rem;
    box-sizing: border-box;
  }
  
  .body_center_right {
    float: none;
    width: 100%;
    margin: 0 0 4rem;
  }
  
  .events {
    float: none;
    width: 100%;
  }
  
  .events_title {
    padding: 0 0 0.7rem;
    margin: 0 0 1.8rem;
  }
  
  .events_block {
    margin: 0 0 1.5rem;
  }
  
  .event_time {
    min-height: 4.5rem;
    width: 7rem;
  }
  
  .event_time span.event_date {
    font-size: 3rem;
    line-height: 3rem;
  }
  
  .event_time span.event_month {
    font-size: 1.2rem;
    line-height: 1.1rem;
  }
  
  .event_title {
    float: none;
    width: auto;
    padding: 0 0 0 1.6rem;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  .news {
    float: none;
    width: 100%;
  }
  
  .news_block {
    margin: 0 0 2.9rem;
  }
  
  
  .news_block_content {
    float: none;
    width: auto;
    padding: 0 0 1rem 1.8rem;
    overflow: hidden;
  }
  
  .news_title {
    padding: 0 0 0.7rem;
    margin: 0 0 1.8rem;
  }
  
  .news_thumb {
    height: 10rem;
    width: 10rem;
  }
  
  .news_thumb img {
    height: auto;
    max-height: 10rem;
    max-width: 10rem;
    width: auto;
  }
  
  .news_date {
    margin: 0 0 0.8rem;
    font-size: 1.2rem;
    line-height: 1.2rem;
  }
  
  .in_media {
    width: 100%;
    min-height: initial;
    margin: 0;
    padding: 1.5rem 1.5rem 3.5rem;
    box-sizing: border-box;
  }
  
  .in_media_title {
    float: none;
    overflow: hidden;
    width: auto;
    margin: 0 0 2.7rem;
  }

  .in_media_title h2 {
    line-height: 1.4rem;
  }
  
  .toggle_blocks {
    display: block;
    float:right;
    height: 1.2rem;
    width: 5.6rem;  
  }
  
  .toggle_blocks a + a + a, .toggle_blocks a + a + a:hover, .toggle_blocks a + a + a:visited {
    margin: 0;
  }
  
  .toggle_blocks a, .toggle_blocks a:hover, .toggle_blocks a:visited {
    display: block;
    float: left;
    width: 1.2rem;
    height: 1.2rem;
    margin: 0 1rem 0 0;
    background: url("../images/toggle_bullet.png") no-repeat top left;
  }
  
  .toggle_blocks a.active_block {
    background: url("../images/toggle_bullet_active.png") no-repeat top left;
  }

  .in_media_block {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .in_media_block h2 {
    margin: 0 0 1.2rem;
  }

  .in_media_date {
    margin: 0 0 1.1rem;
    font-size: 1.2rem;
  }
  
  div.in_media_block + div.in_media_block, div.in_media_block + div.in_media_block + div.in_media_block {
    display: none;
  }
  
  .body_center_bottom {
    width: 100%;
  }
  
  .banner_block {
    height: auto;
    margin: 0;
  }
  
  .banner_block {
    float: none;
    width: 100%;
    margin: 0 0 1rem;
  }

  .banner_block  img {
    width: 100%;
    max-width: 100%;
    max-height: initial;
    height: auto;
  }
  
  .footer_wrap {
    min-height: 10rem;
    padding: 3.9rem 0 0;
    width: 100%;
  }
  
  .footer_top {
    width: 100%;
    padding: 0 5rem;
    box-sizing: border-box;
  } 
  
  .footer_block {
    width: 100%;
    margin: 0 0 3.8rem;
    padding: 0;
    border: 0 none;
  }
  
  div.footer_block + div.footer_block + div.footer_block + div.footer_block {
    border: 0 none;
    margin: 0 0 3.6rem;
    padding: 0;
    width: 100%;
  }
  
  .footer_block h3 {
    font-size: 1.6rem;
    margin: 0 0 1.4rem;
  }
  
  .footer_block p {
    line-height: 1.7rem;
    min-height: 1.7rem;
  }
  
  /*div.footer_block + div.footer_block + div.footer_block + div.footer_block a, 
  div.footer_block + div.footer_block + div.footer_block + div.footer_block a:hover, 
  div.footer_block + div.footer_block + div.footer_block + div.footer_block a:visited {
    height: 2.5rem;
    padding: 0.7rem 1.4rem 0; 
    font-size: 1.3rem;
  }*/
  
  .footer_contact {
    padding: 1.4rem 2rem;
    box-sizing: border-box;
  }
  
  .footer_copyright {
    padding: 1rem 1rem;
    font-size: 1.2rem;
    box-sizing: border-box;
  }
  
  .footer_copyright p {
    font-size: 1.2rem;
  }
  
	.search_f {
	  display:block;
	}
  
  search_b {
	  width: 22px;
	  height: 22px;
	  border: 0 none;
	  cursor: pointer;
	  padding: 0;
	  background: url("../images/looking_glass.png") no-repeat/* 6px 6px;*/
  }
  
}

/* Fixes */

.xhid{
	display: none;
}
		
.xact
{
	font-weight: bold;
}

.container .box {
  /*float: left;*/
  /*width: 150px;*/
  margin: 20px;
}

.container .box .top {
  padding: 0px;
}

.container .box .top h2{
  cursor: pointer;
  color: #A53E2F !important;
	text-decoration: underline;
}

.container .box .bottom {
  padding: 4px;
  /*display: none;*/
}

.container .box .bottom h2{
  color: #A53E2F !important;
}

.button {
	color: #fff;
	background: #a84031;
	border: 0px;
	font-size: 16px;
	padding: 10px;
	text-align: center;
	display: inline-block;
	width: 99%;
	cursor: pointer;
}

/*login*/
.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index:9999;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 70px auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 30%;
  position: relative;
  transition: all 4s ease-in-out;
}

.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup .close:hover {
  color: #DDDDDD;
}
.popup .content {
  max-height: 80%;
  min-height: 320px;
  overflow: auto;
  margin-top: 40px;
}

@media screen and (max-width: 700px){
  .box{
    width: 70%;
  }
  .popup{
    width: 70%;
  }
  .xleft{
  	display: none !important;
  }
}

.xlabel {
    display: block;
    padding-bottom: 10px;
    padding-top: 20px;
}

.xerror {
	color: #ba5e50;
}

.xinfo {
	color: #ba5e50;
}

.xinput {
    display: block;
    width: 99%;
    padding: 6px 0px;
}

.avatarcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
    position: relative;
}

img.avatar {
    width: 80px;
    border-radius: 50%;
}