body,
html {
  height: 100%;
  margin: 0;
  font-size: 18px;
}



h1 {
  /* шрифт */
  font-family: 'Roboto Slab', serif;
  /* размер шрифта */
  font-size: 3.2em;
  text-transform: uppercase;
  color: #1A1A18;
  text-align: center;
  margin: 40px 0 20px 0;
  line-height: 1.5em;
}

h2 {
  /* шрифт */
  font-family: 'Roboto Slab', serif;
  /* цвет текста */
  color: #1A1A18;
  /* размер шрифта */
  font-size: 1.8em;
  text-align: center;
  margin: 0 0 60px 0;
}

h3 {
  /* шрифт */
  font-family: 'Roboto Slab', serif;
  /* цвет текста */
  color: #1A1A18;
  /* размер шрифта */
  font-size: 1.4em;
  text-align: center;
  text-align: left;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 40px;
}

h4 {
  /* шрифт */
  font-family: 'Roboto Slab', serif;
  /* размер шрифта */
  font-size: 1.2em;
  /* цвет текста */
  color: #fff;
  margin-bottom: 20px;
}

h5 {
  font-size: 1.2em;
  color: #fff;
  text-transform: uppercase;
}

h6 {
  /* шрифт */
  font-family: 'Roboto Slab', serif;
  /* размер шрифта */
  font-size: 1em;
  text-align: center;
  font-size: 1em;
}

/* ОСНОВНОЙ ТЕКСТ */

p,
li {
  /* шрифт */
  font-family: 'Roboto', sans-serif;
  /* размер шрифта */
  font-size: 1em;
  /* цвет текста */
  color: #000;
}

/* КНОПКИ */

.btn {
  /* цвет кнопки */
  background-color: #1A1A18;
}

.btn a {
  /* цвет текста на кнопке */
  color: #fff;
  /* размер шрифта */
  font-size: 1.4em;
}

p {
  line-height: 1.5em;
}

.cf:before,
.cf:after {
  content: " ";
  display: table;
}

.cf:after {
  clear: both;
}

.l_floatleft {
  float: left;
}

.l_floatright {
  float: right;
}

.block {
  padding-top: 100px;
  padding-bottom: 100px;
}


/*---------------------------------------------------------- Button --------------------------------------------------------*/

.btn {
  border: none;
  color: white;
  text-align: center;
  margin: 4px 2px;
  opacity: 1;
  transition: 0.3s;
}

.btn:hover {
  opacity: 0.6
}

.btn a {
  text-decoration: none;
  padding: 10px 32px;
  display: block;
}


/*---------------------------------------------------------- Первая страница с картинкой на весь экран --------------------------------------------------------*/

.bg {
  /* The image used */
  /* Full height */
  height: 100%;
  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.bg p {
  font-weight: 400;
  line-height: 1.5em;
  color: #fff;
}

.bg p.web_time {
  margin-bottom: 40px;
}

.center_middle_block {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(0%, -50%);
  text-align: center;
}


/*---------------------------------------------------------- MAIN POINTS ------------------------------------------------------------------------------*/

.main_points_bg {
  background-repeat: no-repeat;
  background-size: cover;
}

.main_points ul {
  margin: auto;
  width: 70%;
  list-style: none;
}

.main_points ul li {
  font-family: 'Roboto', sans-serif;
  font-size: 1.3em;
  line-height: 1.5em;
  font-weight: 400;
  padding-left: 30px;
  position: relative;
}

.main_points ul li:before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  left: 0;
  top: 50%;
  margin-top: -5px;
  border-radius: 50%;
  /* Or a color you prefer */
}


/*---------------------------------------------------------- SPEAKERS ----------------------------------------------------------------------------------------*/

.speakers {
  background-repeat: no-repeat;
  background-size: cover;
}

.speakers_img {
  width: 80%;
  border-radius: 50%;
  overflow: hidden;
}

.speakers_img img {
  width: 100%;
  height: auto;
}

.divider {
  width: 30%;
  margin: auto;
  padding: 60px 0;
}


/*--------------------------------------------------------------------------- VIDEO BLOCK ------------------------------------------------------------------------------*/

.video_block {
  text-align: center;
}

.video_block iframe {
  max-width: 100%;
}


/*--------------------------------------------------------------------------- 3 VIDEO BLOCKS ------------------------------------------------------------------------------*/

.video_block_3 {
  width: 100%;
  overflow: hidden;
  padding-left: 3%;
  padding-right: 3%;
  background-repeat: no-repeat;
  background-size: cover;
}

.video_block_3 .row > div {
  text-align: center;
}

.video_block_3 iframe {
  max-width: 95%;
}


/*--------------------------------------------------------------------------- OFFER WHITE ------------------------------------------------------------------------------*/

.offer {
  text-align: center;
}

.offer p {
  font-size: 1.6em;
  width: 40%;
  margin: 0 auto 40px auto;
}


/*--------------------------------------------------------------------------- OFFER BACKGROUND ------------------------------------------------------------------------------*/

.offer_bg {
  background-repeat: no-repeat;
  background-size: cover;
}


/*--------------------------------------------------------------------------- 3 BLOCKS ------------------------------------------------------------------------------*/

.block_3 {
  text-align: center;
}

.block_3 img {
  width: 100%;
  height: auto;
}


/*--------------------------------------------------------------------------- 2 BLOCKS ------------------------------------------------------------------------------*/

.block_2 {
  /* background-image: url(../img/bg_2_blocks.jpg);*/
  background-repeat: no-repeat;
  background-size: cover;
}

.block_2 img {
  width: 100%;
  height: auto;
}

.block_2 ul {
  list-style: none;
}

.block_2 ul li {
  font-family: 'Roboto', sans-serif;
  font-size: 1.1em;
  line-height: 1.5em;
  font-weight: 400;
  padding-left: 30px;
  position: relative;
  color: #fff
}

.block_2 ul li:before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  left: 0;
  top: 11px;
  border-radius: 50%;
  background-color: #fff;
  /* Or a color you prefer */
}


/*---------------------------------------------------------- LIGHTBOX ----------------------------------------------------------------------------------------*/

.light_box {
  width: 100%;
  overflow: hidden;
}

.light_box * {
  box-sizing: border-box;
}

.light_box .row > .column {
  padding: 0 15px;
}

.light_box .row:after {
  content: "";
  display: table;
  clear: both;
}

.light_box .column {
  float: left;
  width: 25%;
}


/* The Modal (background) */

.light_box .modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 40px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}


/* Modal Content */

.light_box .modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}


/* The Close Button */

.light_box .close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.light_box .close:hover,
.light_box .close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.light_box .mySlides {
  display: none;
}

.light_box .cursor {
  cursor: pointer
}


/* Next & previous buttons */

.light_box .prev,
.light_box .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}


/* Position the "next button" to the right */

.light_box .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}


/* On hover, add a black background color with a little bit see-through */

.light_box .prev:hover,
.light_box .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}


/* Number text (1/3 etc) */

.light_box .numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.light_box img {
  margin-bottom: -4px;
}

.light_box .caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

.light_box .demo {
  opacity: 0.6;
}

.light_box .active,
.light_box .demo:hover {
  opacity: 1;
}

.light_box img.hover-shadow {
  transition: 0.3s
}

.light_box .hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
}

.light_box .caption-container p {
  margin-top: 10px;
  margin-bottom: 10px;
}

.item_img {
  border: 3px solid #C1C1C1;
  margin-bottom: 20px;
}


/*------------------------------------------------------------------------- CAROUSEL LEFT -------------------------------------------------------------------------*/

.carousel_left {
  overflow: hidden;
}

.carousel_left p {
  margin-right: 40px;
}

#carousel-left.owl-theme .owl-dots .owl-dot {
  display: block;
}

#carousel-left.owl-carousel {
  position: relative;
}

#carousel-left.owl-carousel .item {
  width: 95%;
}

#carousel-left.owl-theme .owl-dots {
  position: absolute;
  right: 2%;
}

.owl-theme .owl-dots .owl-dot span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-bottom: 10px;
  margin-top: 10px;
}

.block_2 .buttons-list {
  list-style: none;
  text-align: center;
  margin-top: 40px;
  list-style-type: none;
  padding-left: 0;
}

.block_2 .buttons-list li {
  display: inline-block;
  margin-bottom: 20px;
  vertical-align: top;
  padding-left: 5px;
  padding-right: 5px;
}

.block_2 .buttons-list li img {
  width: 80px;
  max-width: 100%;
}

.block_2 .buttons-list p {
  font-size: 12px;
  line-height: 1.3em;
  margin-top: 10px;
  color: #cc2228;
}

.block_2 ul.buttons-list li:before {
  display: none !important;
}

.block_dark {
  background-color: #1A1A18;
  background-image: url(../img/bg_2_blocks-w.png);
}

.block_dark h2 {
  color: #FFEC00;
}



.block_dark .image_wrapper {
  border: 5px solid #FFEC00;
  margin-bottom: 20px;
}

.item_img {
  border: 5px solid #FFEC00;
  margin-bottom: 20px;
}

.block_dark .image_wrapper .item_img {
  border: 5px solid #1A1A18;
  margin-bottom: 0;
}

.block_dark.block_2 p {
  color: #999;
}

.btn {
  margin-top: 30px;
}

.block_dark .btn {
  background-color: #FFEC00;

}

.block_dark.block_2 h5 {
  color: #1A1A18;
  font-weight: 700;
}


/*------------------------------------------------------------------------- CAROUSEL MIDDLE -------------------------------------------------------------------------*/


/*--------------------------------------------------------------------------- CAROUSEL TESTIMONIALS ------------------------------------------------------------------------------*/

.testimonials_img {
  border-radius: 50%;
  overflow: hidden;
}

.testimonials_img img {
  width: 100%;
}


/*--------------------------------------------------------------------------- PRICE SELECTION ------------------------------------------------------------------------------*/

.price_selection {
  background-image: url("../img/main.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 100px 0;
  text-align: center;
}

.price_selection p.offer_text {
  font-size: 1.3em;
  color: #fff;
  width: 50%;
  margin: auto;
  margin-bottom: 60px;
}

.price_selection .plan {
  background-color: #fff;
  margin: 0 15px;
  padding: 40px;
}

.price_selection ul {
  text-align: left;
  list-style: none;
  margin: 0;
  margin-bottom: 40px;
  padding: 0;
}

.price_selection ul li {
  font-family: 'Roboto', sans-serif;
  font-size: 1em;
  line-height: 1.5em;
  font-weight: 400;
  padding-left: 20px;
  position: relative;
  color: #333;
}

.price_selection ul li:before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  left: 0;
  top: 11px;
  border-radius: 50%;
  background-color: #333;
  /* Or a color you prefer */
}

.price_selection p {
  font-family: 'Roboto Slab', serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
}

.plan ul {}


/*--------------------------------------------------------------------------- FOOTER ------------------------------------------------------------------------------*/

footer {
  text-align: center;
  padding: 20px;
}

footer p {
  margin: 0;
}

.parallax {
  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

table.table-rel {
  margin: 0 auto;
  border-collapse: collapse;
  font-weight: 100;
  color: #fff;
  text-rendering: optimizeLegibility;
  border-radius: 5px;
  width: 100%;
  margin-top: 40px;
}

table.table-rel tbody td {
  padding: .8rem;
  font-size: 1rem;
}

table.table-rel tbody td {
  padding: .8rem;
  font-size: 1rem;
  color: #444;
}

table.table-rel tbody tr:not(:first-child) {
  border-top: 1px solid #ddd;
}

table.table-rel tbody tr:not(:last-child) {
  border-bottom: 1px solid #ddd;
}

.top_logo {
  padding-top: 80px;
  padding-bottom: 80px;
}

.top_contacts {
  padding: 0 40px;
  text-align: center;
}

@media (max-width: 1600px) {
  h1 {
    font-size: 1.8em;
  }

  h2.h2top {
    font-size: 52px;
  }

}


@media (max-width: 1200px) {
  h1 {
    font-size: 1.4em;
  }

  h2.h2top {
    font-size: 42px;
  }

}

@media (max-width: 1024px) {
  .center_middle_block {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .top_img {
    display: none;
  }
}

.h2top {
  font-size: 62px;
}



@media (max-width: 992px) {

  body,
  html {
    font-size: 16px;
  }

  .video_block_3 iframe {
    margin-top: 10px;
  }

  .offer p {
    width: 60%;
  }

  .block_2 ul {
    margin-top: 40px;
  }

  .carousel_left .carousel_left_text {
    padding: 40px 40px 0 40px;
  }

  .plan {
    margin-top: 40px !important;
  }

  .plan ul {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
  }

  .parallax {
    background-attachment: scroll;
  }
}

@media (max-width: 768px) {

  body,
  html {
    font-size: 14px;
  }

  .speakers_img {
    width: 50%;
    margin: auto;
    margin-bottom: 20px;
  }

  .speakers h3 {
    text-align: center;
  }

  .testimonials_img {
    width: 50%;
    margin: auto;
  }

  .top_contacts h2 {
    font-size: 48px !important;
  }

  .block_2 ol,
  .block_2 ul {
    padding-left: 10px;
    margin-left: 10px;
  }

  .block_2 ol li,
  .block_2 ul li {
    padding-left: 10px;
    margin-left: 10px;
  }



}

@media screen and (max-width: 600px) {
  table.table-rel caption {
    background-image: none;
  }

  table.table-rel thead {
    display: none;
  }

  table.table-rel tbody td {
    display: block;
    padding: .6rem;
  }

  table.table-rel tbody tr td:first-child {
    background: #666;
    color: #fff;
  }

  table.table-rel tbody td:before {
    content: attr(data-th);
    font-weight: bold;
    display: inline-block;
    width: 6rem;
  }
}

@media (max-width: 570px) {

  body,
  html {
    font-size: 16px;
  }
  .block_2 p,
    .block_2 li{
    font-size: 16px !important;
  }

  .plan ul {
    width: 80%;
  }

  .block_2 .buttons-list li img {
    width: 60px;
  }

  h5 {
    font-size: 1em !important;
  }

  .block_2 .buttons-list li {
    margin-bottom: 0;
  }

  .block_2 .buttons-list {
    margin-top: 20px;
  }

  .block {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .main_points ul {
    width: 90%;
    padding-left: 0;
  }

  .center_middle_block {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .top_contacts h2 {
    font-size: 36px !important;
  }

  .top_logo {
    padding-top: 0;
    padding-bottom: 0;
  }

  .top_contacts {
    padding: 0;
  }

  h1 {
    font-size: 1.8em !important;
  }

  .owl-dots {
    display: none !important;
  }
}
