html {
    -webkit-font-smoothing: antialiased;
}

input.has-error {border: 3px solid #f61300!important;}
@media (min-width: 1260px) {
  .container {
    width: 1230px;
  }
}
body {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  line-height: 1.75;
  font-weight: 300;
  color: #000;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  line-height: 1.2;
}
h1 {
  color: #000000;
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 40px;
  font-family: 'Libre Baskerville', serif;
}
@media(max-width: 767px){
  h1 {
    margin-bottom: 20px;
    font-size: 36px;
  }
}
h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}
ul, li {
  margin: 0;
  padding: 0;
}
p {
  margin-bottom: 30px;
}
a {
  color: #000;
}
a:hover {
  color: #000;
}
.btn {
  display: inline-block;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  background: none;
  border: none;
  border-radius: 0px;
}
.btn.active,
.btn:active,
.btn:focus {
  box-shadow: none;
}
.row-flex {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
  flex-wrap: wrap;
}
.row-flex > [class*='col-'] {
  display: flex;
  flex-direction: column;
}
.row-flex > [class*='col-'] > div {
  height: 100%;
}
.vertical-align {
  display: flex;
  align-items: center;
}
.horizontal-align {
  display: flex;
  justify-content: center;
}
.styled-ul ul {
    text-align: left;
    list-style: none !important;
    margin: 0;
    padding: 0;
    margin: 0 auto;
    margin-top: 0px;
    margin-bottom: 30px;
}
.styled-ul ul li {
    background: url("./../images/list.svg") no-repeat left top 5px;
    background-size: 17px auto;
    padding-left: 30px;
    margin-bottom: 15px;
    line-height: 1.2;
}
.input-group .form-control {
  width: 100%;
  height: 50px;
  padding: 0;
  font-size: 18px;
  color: #000000;
  font-weight: 300;
  background-color: #fff;
  padding-left: 18px;
  line-height: 1.42857143;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 0;
  box-shadow: none;
  transition: none;
}
.input-group .form-control:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.input-group-btn {
  width: 1%;
}
.input-group-btn:last-child > .btn {
  margin-left: -1px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding: 0;
  height: 34px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 0;
}
/* 5THS */
.col-xs-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}
.col-xs-5ths {
  width: 20%;
  float: left;
}
@media (min-width: 768px) {
  .col-sm-5ths {
    width: 20%;
    float: left;
  }
}
@media (min-width: 992px) {
  .col-md-5ths {
    width: 20%;
    float: left;
  }
}
@media (min-width: 1200px) {
  .col-lg-5ths {
    width: 20%;
    float: left;
  }
}
/* END 5THS */
@media (min-width: 768px) {
  .size-1130 {
    max-width: 1130px;
    margin: 0 auto;
    float: none;
  }
}
@media (min-width: 768px) {
  .size-990 {
    max-width: 990px;
    margin: 0 auto;
    float: none;
  }
}
/* NAVBAR */
.navbar {
  position: relative;
  min-height: unset;
  border: none;
  border-radius: 0;
  margin: 0 -15px;
  margin-top: 10px;
  margin-bottom: 40px;
}
.navbar-nav {
    margin: 7.5px -15px;
}
.navbar-brand {
  height: auto;
  padding: 0px 15px;
  font-size: 18px;
  line-height: 1;
  color: #000000;
  font-weight: 600;
  text-transform: uppercase;
  padding-top: 10px;
}
.navbar-nav > li.home > a {
  padding-right: 0px;
}
.navbar-nav > li.home > a img{
  margin: 0 auto;
}
.navbar-nav > li > a {
    padding: 0 15px;
    color: #000000;
    font-size: 18px;
    font-weight: 300;
    text-align: center;
}
.nav > li > a:focus, .nav > li > a:hover {
  text-decoration: underline;
  background-color: transparent;
}
.navbar-nav > li.active > a {
  font-weight: 700;
}
.nav .open > a, .nav .open > a:focus, .nav .open > a:hover {
    background-color: transparent;
    border: none;
}
.navbar-toggle {
  float: right;
  padding: 9px 10px;
  margin-top: 0px;
  margin-right: 15px;
  margin-bottom: 0px;
  border: 1px solid #000;
  border-radius: 0px;
}
.navbar-toggle .icon-bar {
  width: 22px;
  height: 2px;
  border-radius: 0px;
  background: #000;
}
.navbar-toggle .icon-bar + .icon-bar {
  margin-top: 4px;
}
@media (min-width: 768px){
  .navbar-nav > li.home > a {
    padding-right: 20px;
  }
  .navbar {
    margin-top: 30px;
    margin-bottom: 40px;
  }
  .navbar-nav {
    margin: 0;
  }
  .navbar-brand {
    padding-top: 0;
  }
  .navbar-right {
    float: right !important;
    margin-right: -15px;
  }
  .navbar-nav > li > a {
    padding: 0;
    padding-left: 35px;
  }
}
@media(min-width: 1200px){
  .navbar {
    margin-top: 30px;
    margin-bottom: 140px;
  }
  .body-404 .navbar {
    margin-bottom: 35px;
  }
  .hp .navbar {
    margin-bottom: 35px;
  }
}
@media(max-width: 1199px){
  .navbar-nav > li > a {
    padding: 0;
    padding-left: 15px;
  }
}
@media(max-width: 991px){
  .navbar-nav > li > a {
    padding: 0;
    padding-left: 10px;
    font-size: 16px;
  }
  .navbar-nav > li.home > a {
    padding-right: 0px;
  }
}
@media(max-width: 767px){
  #navbar {
    border-bottom: 1px solid #000;
  }
  .navbar-nav > li > a {
    padding: 5px 0px;
  }
}
/* END NAVBAR */
/* blok */
/* blok-header */
.blok-header {
  background: url("./../images/blok_top.png") no-repeat top right;
  padding-top: 190px;
}
@media(max-width: 1199px){
  .blok-header {
    background: url("./../images/blok_top.png") no-repeat top right;
    background-size: auto 200px;
    padding-top: 190px;
  }
}
@media(max-width: 767px){
  .blok-header {
    background: url("./../images/blok_top.png") no-repeat top -50px right -10px;
    background-size: auto 150px;
    padding-top: 100px;
  }
  .blok-header h1 {
    margin-bottom: 0;
  }
  .blok-header-open h1 {
    margin-bottom: 20px;
  }
}
/* end blok-header */
/* blok vypis */
.blok-item {
  margin-top: 60px;
}
.blok-img {
  display: block;
  margin-bottom: 45px;
}
.blok-name h3 {
  font-size: 24px;
  font-weight: 700;
}
.blok-date {
  font-size: 14px;
  font-weight: 600;
  margin-top: 20px;
}
.blok-item .blok-text {
  font-size: 18px;
  margin-top: 10px;
}
.blok-text p {
  margin-bottom: 30px;
}
.blok-more {
  font-size: 24px;
  font-weight: 700;
  font-family: 'Libre Baskerville', serif;
}
@media(min-width: 1230px){
  .blok-item {
    max-width: 560px;
  }
  .blok-list > [class*='col-']:nth-child(even) .blok-item {
    float: right;
  }
}
/* end blok vypis */
.blok-open {
  max-width: 890px;
}
.blok-open .blok-date {
  margin-top: 0;
  font-size: 20px;
  margin-bottom: 40px;
}
.blok-header-open h1 {
  max-width: 890px;
}
/* end blok */
/* footer */
footer {
  margin-top: 100px;
}
.body-404 footer {
  margin-top: 0;
}
footer.no-margin {
  margin-top: 0;
}
.footer-bg {
  background-color: #d0d0d0;
  padding-top: 55px;
  padding-bottom: 55px;
}
.footer-bg2 {
  background-color: #fff;
}
.footer-head {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 45px;
  max-width: 425px;
  font-family: 'Libre Baskerville', serif;
}
.footer-right .footer-head {
  max-width: 555px;
}
.footer-right {
  font-size: 18px;
  color: #000000;
}
.footer-right .input-group .form-control {
  width: 100%;
  border: 0;
  border-radius: 25px;
  box-shadow: none;
  transition: none;
}
.footer-right .input-group .form-control:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.footer-right .input-group-btn {
  width: 1%;
}
.footer-right .input-group-btn:last-child > .btn {
  margin-left: -1px;
  border-radius: 0 25px 25px 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding: 0;
  height: 50px;
  text-align: center;
  background-color: #000000;
  border: 1px solid #000;
  color: #ffffff;
  font-size: 18px;
  padding-left: 30px;
  padding-right: 40px;
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  transition: 0.5s all;
}
.footer-right .input-group-btn:last-child > .btn:hover {
  background: #fff;
  color: #000;
}
#mc_embed_signup {
    background: none;
}
#mc_embed_signup input.email{
    width: calc(100% - 156px);
    border: 0;
    border-radius: 25px;
    box-shadow: none;
    transition: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    height: 50px;
    padding: 0;
    font-size: 18px;
    color: #000000;
    font-weight: 300;
    padding-left: 18px;
    line-height: 1.42857143;
    background-color: #fff;
    float: left;
}
#mc_embed_signup .button {
    width: 156px;
    border-radius: 0 25px 25px 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 0;
    height: 50px;
    text-align: center;
    background-color: #000000;
    border: 1px solid #000;
    color: #ffffff;
    font-size: 18px;
    padding-left: 30px;
    padding-right: 40px;
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    transition: 0.5s all;
    letter-spacing: normal;
    line-height: 50px;
    float: right;
}
.footer-bottom {
  padding: 55px 0px;
  background-color: #fff;
}
.footer-mail {
  background: url("./../images/mail.svg") no-repeat left center;
  background-size: 22px auto;
  padding-left: 32px;
  display: block;
  font-size: 18px;
}
@media(max-width: 380px) {
  .footer-mail {
    font-size: 16px;
  }
}
.footer-phone {
  background: url("./../images/phone.svg") no-repeat left center;
  background-size: 21px auto;
  padding-left: 32px;
  display: block;
  font-size: 18px;
}
.footer-bottom .right-side {
  text-align: right;
  font-size: 12px;
}
@media(max-width: 767px){
  .footer-bottom .right-side {
    text-align: center;
    margin-top: 20px;
  }
  footer {
    margin-top: 30px;
  }
}
/* end footer */
/* jak-item */
.jak-item {
  margin-top: 30px;
  margin-bottom: 40px;
  float: left;
  width: 100%;
}
.jak-item p {
  margin-bottom: 0;
}
.jak-item .text {
  max-width: 690px;
}
.jak-item-list .row:nth-child(even) .text{
  float: right;
}
.jak-img img {
  margin-right: 30px;
}
.jak-item-list .row:nth-child(odd) .jak-img img{
  float: right;
}
.jak-item-list .row:nth-child(even) .jak-img img {
  margin-right:0px;
  margin-left: 30px;
}
@media(max-width: 767px){
  .jak-item {
    display: block;
  }
  .jak-item-list .row:nth-child(odd) .jak-img img{
    float: none;
    margin: 0 auto;
    margin-bottom: 20px;
  }
  .jak-item-list .row:nth-child(even) .jak-img img {
    float: none;
    margin: 0 auto;
    margin-bottom: 20px;
  }
}
/* end jak-item */

/* write-me */
.write-me {
  text-align: center;
  margin-top: 40px;
}
.write-me .headline {
  font-size: 48px;
  font-weight: 700;
  font-family: 'Libre Baskerville', serif;
  line-height: 1.2;
}
.write-me-icon {
  margin-top: 60px;
}
.write-me-icon img {
  margin: 0 auto;
  margin-top: 40px;
  transform: rotate(220deg);
}
.btn-write-me {
  display: block;
  width: 220px;
  height: 220px;
  background-color: #000000;
  text-align: center;
  color: #fff;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
  padding-top: 95px;
  margin: 0 auto;
  position: relative;
  margin-top: 60px;
  border: 3px solid #000;
  transition: 0.5s all;
}
.btn-write-me::after {
  position: absolute;
  left: -123px;
  bottom: 0;
  width: 123px;
  height: 122px;
  background: url("./../images/cat_sit.svg") no-repeat;
  content: "";
}
.btn-write-me:hover {
  color: #000;
  background: #fff;
}
@media(max-width: 767px){
  .write-me .headline {
    font-size: 32px;
  }
  .write-me-icon {
    margin-top: 30px;
  }
}
/* end write-me */
/* services */
.services-list {
  margin-bottom: 15px;
}
.service-item {
  max-width: 490px;
  margin: 0 auto;
  margin-top: 40px;
  margin-bottom: 20px;
}
.service-item .item-img img{
  margin: 0 auto;
}
.service-item .item-name {
  font-size: 24px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 30px;
}
.service-item p {
  margin-bottom: 0;
}
/* end services */
/* page 404 */
.bg-404 {
  background-color: #3bca48;
}
.page-404 {
  width: 100%;
  height: 800px;
  background: url("./../images/404.png") no-repeat center top;
}
.text-404 {
  color: #fefefe;
  margin: 0 auto;
  max-width: 490px;
  padding-top: 270px;
  font-size: 18px;
}
.text-404 a {
  color: #fefefe;
  text-decoration: underline;
}
.text-404 h1 {
  color: #fefefe;
  font-weight: 400;
}
/* end page 404 */
/* kontakt */
.kontakt-bg {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  min-height: 650px;
  background: url("./../images/kontakt_bg.jpg") no-repeat center;
}
.kontakt-top {
  background: #fff;
  padding-top: 25px;
  padding-bottom: 50px;
  padding-left: 100px;
  padding-right: 100px;
  margin-top: 40px;
}
.kontakt-phone {
  background: url("./../images/phone_kontakt.png") no-repeat left top;
  background-size: 69px auto;
  padding-left: 103px;
  min-height: 75px;
  line-height: 1;
}
.kontakt-phone span {
  font-size: 18px;
  display: block;
  margin-bottom: 15px;
  font-weight: 300;
}
.kontakt-phone a {
  font-size: 48px;
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  display: block;
}
.kontakt-mail {
  background: url("./../images/mail_kontakt.png") no-repeat left top;
  background-size: 75px auto;
  padding-left: 103px;
  min-height: 75px;
  line-height: 1;
}
.kontakt-mail span {
  font-size: 18px;
  font-weight: 300;
  display: block;
  margin-top: 0px;
  margin-bottom: 25px;
}
.kontakt-mail a {
  font-size: 24px;
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  display: block;
}
.kontakt-bot {
  background: #fff;
  margin-top: 270px;
  padding: 50px 110px;
  padding-bottom: 20px;
  position: relative;
  z-index: 1;
}
.kontakt-map {
  position: relative;
  width: 100%;
  margin-top: -90px;
  float: left;
}
.kontakt-faktura {
  font-size: 18px;
  margin-top: 100px;
}
@media(max-width: 1200px){
  .kontakt-top {
    padding-top: 25px;
    padding-bottom: 25px;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 40px;
  }
  .kontakt-phone {
    background: url("./../images/phone_kontakt.png") no-repeat left top;
    background-size: 69px auto;
    padding-left: 103px;
    min-height: 75px;
    line-height: 1;
  }
  .kontakt-phone a {
    font-size: 30px;
  }
  .kontakt-mail {
    background: url("./../images/mail_kontakt.png") no-repeat left top;
    background-size: 55px auto;
    padding-left: 80px;
    min-height: 55px;
    line-height: 1;
  }
  .kontakt-mail a {
    font-size: 20px;
  }
}
@media(max-width: 991px) {
  .kontakt-phone {
    margin-bottom: 30px;
    text-align: center;
    padding: 0;
    background-position: top center;
    padding-top: 60px;
    background-size: auto 50px;
  }
  .kontakt-mail {
    margin-bottom: 30px;
    text-align: center;
    padding: 0;
    background-position: top center;
    padding-top: 60px;
    background-size: auto 50px;
  }
  .kontakt-mail span {
    margin-bottom: 15px;
  }
}
@media(max-width: 767px) {
  .kontakt-bg {
    background: none;
  }
  .kontakt-top {
    padding: 0;
  }
  .kontakt-bot {
    margin-top: 0px;
    padding: 0;
  }
  .kontakt-map {
    margin-top: 0px;
  }
  .kontakt-faktura {
    margin-top: 30px;
  }
}
@media(max-width: 380px) {
  .kontakt-mail a {
    font-size: 16px;
  }
}
/* end kontakt */
/* about */
.about-1 {
  background: #000 url("./../images/about.png") no-repeat left center;
  min-height: 600px;
  max-width: 1920px;
  margin: 0 auto;
}
.about-1-bg {
  background: #000;
}
.about-1 .text {
  color: #ffffff;
}
.about .text p {
  margin-bottom: 0;
}
.about-col {
  min-height: 600px;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
}
.about .text {
  max-width: 600px;
}
.about-1 .text {
  float: right;
}
.about-2 {
  background: #fff url("./../images/about_2.png") no-repeat right bottom;
  min-height: 590px;
  max-width: 1920px;
  margin: 0 auto;
}
.about-2-bg {
  background: #fff;
}
.about-2 .about-col {
  flex-direction: row;
  min-height: 590px;
}
.about-3 {
  background: #000 url("./../images/about_3.png") no-repeat left bottom;
  min-height: 600px;
  max-width: 1920px;
  margin: 0 auto;
}
.about-3-bg {
  background: #000;
}
.about-3 .text {
  color: #ffffff;
}
.about-3 .text {
  float: right;
}
@media(max-width: 1540px) {
  .about-1 {
    background-position: left -150px center;
  }
  .about-2 {
    background-position: right -150px bottom;
  }
  .about-3 {
    background-position: left -150px center;
  }
}
@media(max-width: 1260px) {
  .about-1 {
    background-position: left -250px center;
  }
  .about-2 {
    background-position: right -250px bottom;
  }
  .about-3 {
    background-position: left -250px center;
  }
}
@media(max-width: 1199px) {
  .about-1 {
    background-position: left -200px bottom;
    background-size: 700px auto;
  }
  .about-2 {
    background-position: right -200px bottom;
    background-size: 700px auto;
  }
  .about-3 {
    background-position: left -200px bottom;
    background-size: 700px auto;
  }
}
@media(max-width: 991px) {
  .about-1 {
    background-position: center bottom;
    background-size: 300px auto;
    min-height: 0;
  }
  .about-2 {
    background-position: center bottom;
    background-size: 300px auto;
    min-height: 0;
  }
  .about-3 {
    background-position: center bottom;
    background-size: 300px auto;
    min-height: 0;
  }
  .about-col {
    min-height: 0;
    display: block;
    padding-top: 50px;
    padding-bottom: 200px;
  }
  .about-2 .about-col {
    min-height: 0;
  }
  .about .text {
    max-width: 100%;
    font-size: 16px;
  }
}
/* end about */
/* reference */
/* carousel */
.ref-slider {
  margin-top: 10px;
}
.carousel-inner>.item {
  min-height: 300px;
}
.carousel-control {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 15%;
  font-size: 20px;
  color: #fff;
  text-align: center;
  text-shadow: none;
  background-color: transparent;
  filter: none;
  opacity: 1;
}
.carousel-control.right {
  right: 0;
  left: auto;
  background-image: none;
  filter: none;
  background-repeat: no-repeat;
}
.carousel-control.left {
  background-image: none;
  filter: none;
  background-repeat: no-repeat;
}
.carousel-caption {
  position: relative;
  bottom: auto;
  top: 0;
  left: 0%;
  right: 0%;
  z-index: 10;
  padding-top: 0px;
  padding-bottom: 0px;
  color: #000;
  text-align: center;
  text-shadow: none;
  padding-left: 110px;
}
.carousel-caption h3 {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 600;
    margin: 0;
    color: #000;
}
.carousel-caption p {
    color: #000;
    font-size: 20px;
    line-height: 1.75;
    font-weight: 300;
    text-align: left;
    font-style: italic;
}
.carousel-indicators {
  bottom: 0px;
  left: auto;
  right: 0;
  z-index: 15;
  width: 100%;
  margin-left: 0%;
  text-align: right;
  margin: 0;
}
.carousel-indicators li {
  width: 15px;
  height: 15px;
  margin: 0;
  border-radius: 50%;
  background-color: #d0d0d0;
  border: 1px solid transparent;
}
.carousel-indicators .active {
  width: 15px;
  height: 15px;
  margin: 0;
  background-color: #9b4ba4;
  border: 1px solid transparent;
}
.slider-name {
  text-align: left;
}
.slider-name .name {
  font-weight: 700;
}
.ref-slider .carousel-inner {
  background: url("./../images/uvozovky.svg") no-repeat left top;
}
@media(max-width: 991px) {
  .carousel-inner>.item {
    min-height: 400px;
  }
  .carousel-caption p {
    font-size: 16px;
  }
}
@media(max-width: 767px) {
  .carousel-inner>.item {
    height: auto;
  }
  .ref-slider .carousel-inner {
    background-size: 30px auto;
  }
  .carousel-caption {
    top: 0%;
    left: 0%;
    right: 0%;
    padding-left: 0px;
    padding-bottom: 50px;
    padding-top: 30px;
  }
}
/* end carousel */
/* ref-list */
.ref-list {
  margin-top: 70px;
}
.ref-list h2 {
  font-size: 30px;
  font-family: 'Libre Baskerville', serif;
  margin-bottom: 40px;
}
@media(max-width: 767px) {
  .ref-list h2 {
    font-size: 24px;
  }
}
.ref-item-col {
  width: 49.9%;
}
@media(min-width: 768px) {
  .ref-item-col {
    width: 24.9%;
  }
}
.ref-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px 0px;
  height: 100%;
}
@media(max-width: 600px){
  .ref-item-col-last {
    width: 100%;
  }
}

.ref-list .size-990 {
  margin-top: 30px;
  margin-bottom: 35px;
}
.ref-item-box {
  width: 278px;
  height: 150px !important;
  border-radius: 5px;
  border: 2px dashed #000000;
  padding-top: 25px;
  line-height: 1.2;
}
.ref-item-link {
  display: block;
  background: url("./../images/btn_arrow.svg") no-repeat left center;
  background-size: cover;
  width: 189px;
  height: 44px;
  line-height: 44px;
  color: #fff;
  margin-left: 50px;
  font-weight: 700;
  margin-top: 13px;
  text-align: left;
  padding-left: 24px;
  transition: all 0.3s;
}
.ref-item-link:hover {
  color: #fff;
  text-decoration: none;
  background: url("./../images/btn_arrow_hover.svg") no-repeat left center;
}
/* end ref-list  */
/* end reference */
/* hp-slider */
.hp-slide {
  display: none;
  height: 650px;
  margin-bottom: 50px;
  opacity: 0;
  float: left;
  width: 100%;
}
.hp-slide.active {
  opacity: 1;
}
.hp-slide-content {
  max-width: 490px;
  padding-top: 50px;
  float: left;
  width: 100%;
}
.hp-slide-1 {
  background: url("./../images/slide_1.png") no-repeat right bottom;
}
.hp-slide-2 {
  background: url("./../images/slide_2.png") no-repeat right bottom;
}
.hp-slide-3 {
  background: url("./../images/slide_3.png") no-repeat right bottom;
}
.hp-slide-4 {
  display: block;
  background: url("./../images/slide_4.png") no-repeat right bottom;
  opacity: 1;
}
.hp-slide-5 {
  background: url("./../images/slide_5.png") no-repeat right bottom;
}
.hp-slide-6 {
  background: url("./../images/slide_6.png") no-repeat right bottom;
}
.hp-slide-7 {
  background: url("./../images/slide_7.png") no-repeat right bottom;
}
.hp-slide {
  background-size: auto 650px;
}
.slide-kontakt {
  float: left;
  width: 100%;
}
.slide-kontakt .mail {
  display: block;
  background: url("./../images/mail.svg") no-repeat left center;
  background-size: 22px auto;
  padding-left: 35px;
  min-height: 20px;
  line-height: 1;
  margin-bottom: 15px;
}
.slide-kontakt .phone {
  display: block;
  background: url("./../images/phone.svg") no-repeat left center;
  background-size: 22px auto;
  padding-left: 35px;
  min-height: 20px;
  line-height: 1;
  margin-bottom: 15px;
}
.hp-under {
  font-size: 18px;
  margin-top: 15px;
  margin-bottom: 30px;
}
.hp-under-center {
  font-size: 20px;
  font-weight: 700;
}
.slide-kontakt-btn {
  display: block;
  width: 150px;
  height: 150px;
  background-color: #000000;
  text-align: center;
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  padding-top: 65px;
  margin: 0 auto;
  margin-top: -50px;
  float: right;
  position: relative;
  border: 3px solid #000;
  transition: 0.5s all;
}
.slide-kontakt-btn::before {
  position: absolute;
  left: -138px;
  top: 11px;
  width: 118px;
  height: 70px;
  content: "";
  background: url('./../images/kontakt-slide-2.svg') no-repeat;
}
.slide-kontakt-btn:hover {
  color: #000;
  background: #fff;
  text-decoration: none;
}
.slide-ref-btn {
  width: 165px;
  height: 153px;
  background: url("./../images/hp-slide-ref.svg") no-repeat;
  display: block;
  float: right;
  margin-right: 100px;
  margin-top: 5px;
}
.slide-ref-btn:hover {
  background: url("./../images/hp-slide-ref-hover.svg") no-repeat;
}
.slide-ref-btn span {
  color: #ffffff;
  font-family: "Libre Baskerville";
  font-size: 18px;
  font-weight: 700;
  line-height: 28.38px;
  display: block;
  transform: rotate(20deg);
  margin-top: 80px;
  width: 100%;
  text-align: center;
  float: left;
}
.slide-head > span {
  font-size: 30px;
  font-weight: 400;
  display: block;
  font-family: "Libre Baskerville";
  margin-bottom: 40px;
}
.slide-text-7 {
  max-width: 360px;
}
.slide-text-7 a {
  position: relative;
  text-decoration: underline;
}
.slide-text-7 a::before {
  content: "";
  position: absolute;
  right: -20px;
  top: calc(100% + 20px);
  width: 116px;
  height: 146px;
  background: url("./../images/circle_arrow.svg") no-repeat;
}
@media(max-width: 1199px) {
  .hp-slide {
    height: 400px;
    margin-bottom: 50px;
    background-size:auto 400px;
  }
  .hp-slide-content {
    padding-top: 0;
    font-size: 16px;
  }
  .hp-slide-content p {
    margin-bottom: 10px;
  }
  .hp-slide h1 {
    font-size: 40px;
    margin-bottom: 10px;
  }
  .slide-head > span {
    margin-bottom: 10px;
  }
  .slide-ref-btn {
    margin-right: 0;
    margin-top: -30px;
  }
  .hp-under {
    line-height: 1.2;
    font-size: 14px;
  }
  .hp-under-center {
    font-size: 16px;
  }
}
@media(min-width: 1199px) and (max-height: 830px){
  .hp-slider-box {
    margin: 0 auto;
    margin-top: 0px;
  }
  .hp-slide {
    height: 550px;
    margin-bottom: 50px;
    background-size:auto 550px;
  }
  .hp-slide-content {
    padding-top: 50px;
    font-size: 18px;
  }
  .hp-slide h1 {
    font-size: 54px;
    margin-bottom: 10px;
  }
  .hp-slide-5 h1{
    margin-bottom: 40px;
  }
  .hp-slide-4 h1{
    margin-bottom: 40px;
  }
  .hp-slide-2 h1{
    margin-bottom: 40px;
  }
  .hp-slide-4   .hp-slide-content {
    padding-top: 70px;
    font-size: 20px;
  }
  .hp-slide-1 h1{
    margin-bottom: 40px;
  }
  .hp-slide-1   .hp-slide-content {
    padding-top: 70px;
    font-size: 20px;
  }
  .slide-ref-btn {
    margin-top: -30px;
    margin-right: 50px;
  }
}
@media(min-width: 1199px) and (max-height: 730px){
  .hp-slider-box {
    max-width: 990px;
    margin: 0 auto;
    margin-top: 0px;
  }
  .hp-slide {
    height: 450px;
    margin-bottom: 50px;
    background-size:auto 450px;
  }
  .hp-slide-content {
    padding-top: 0;
    font-size: 16px;
  }
  .hp-slide-content p {
    margin-bottom: 10px;
  }
  .hp-slide h1 {
    font-size: 40px;
    margin-bottom: 10px;
  }
  .slide-head > span {
    margin-bottom: 10px;
  }
  .slide-ref-btn {
    margin-right: 0;
    margin-top: -30px;
  }
  .hp-under {
    line-height: 1.2;
    font-size: 14px;
  }
  .hp-under-center {
    font-size: 16px;
  }
}
@media(max-width: 991px) {
  .hp-range {
    display: none !important;
  }
  .hp-under {
    display: none;
  }
  .hp-slide-1 {
    display: none;
  }
  .hp-slide-4 {
    display: block;
    padding-bottom: 320px;
    height: auto;
    opacity: 1;
    background: url("./../images/slide_4.png") no-repeat center bottom;
    background-size: auto 300px;
  }

}
/* end hp-slider */
