#main {
  margin-bottom: 50px;
}
.wrap {
  max-width: 1110px;
  margin-left: auto;
  margin-right: auto;

  padding-left: 20px;
  padding-right: 20px;
}
.page-wrap {
  max-width: 810px;
  margin-left: auto;
  margin-right: auto;

  padding-left: 20px;
  padding-right: 20px;
}

#wrapper {
  /*padding-top: 800px;*/
}

.rubric-wrapper {
  padding-top: 80px;
}

.gray-block {
  background-color: #fafafa;
}

.content ul li {
  margin-bottom: 5px;
  line-height: 24px;
}

/* --------------------------------------------------
    
    ANCHOR
    
-------------------------------------------------- */

a[id]:empty:not([href]) {
  position: absolute;
  margin-top: -140px;
}

@media only screen and (max-width: 470px) {
  a[id]:empty:not([href]) {
    margin-top: -108px;
  }
}

/* --------------------------------------------------
    
    BUTTONS
    
-------------------------------------------------- */

a.internal-link-button {
	display: inline-block;
    padding-top: 12px;
    padding-bottom: 10px;
    padding-right: 15px;
    padding-left: 15px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;
    border: 1px solid #df2026;
    border-radius: 3px;
    font-weight: normal;
}

a.red-button {
  display: inline-block;
  position: relative;
  padding: 20px;

  font-size: 20px;
  line-height: 20px;
  color: #fff;
  letter-spacing: 1px;

  background-color: #ff2424;
  border: none;
  overflow: hidden;
}
a.red-button.is-white {
	color: #ff2424;
	background-color: #fff;
	border: 1px solid #ff2424;
}

a.red-button:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
  opacity: 1;
  -webkit-transform: translate(-105%, 0);
  transform: translate(-105%, 0);
  border-right-width: 1px;
  border-right-style: solid;
  border-right-color: rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.15);
}
a.red-button:hover::before {
  opacity: 0;
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}
a.gray-button {
  display: inline-block;
  padding: 20px;

  font-size: 20px;
  line-height: 20px;
  color: #fff;
  letter-spacing: 1px;

  background-color: #4b4b4b;
  border: none;
}

a.scroll-btn {
  display: inline-block;
  padding-right: 30px;

  font-size: 18px;
  color: #fff;

  position: absolute;
  z-index: 20;
  bottom: 50px;
  box-sizing: border-box;
}

a.scroll-btn:before,
a.scroll-btn:after {
  content: "";
  display: block;
  width: 2px;
  height: 15px;
  background-color: #fff;
  position: absolute;
  top: 4px;
}
a.scroll-btn:before {
  transform: rotate(-45deg);
  right: 12px;
}
a.scroll-btn:after {
  transform: rotate(45deg);
  right: 2px;
}

.slider-fullscreen a.scroll-btn,
.cover-dispatch a.scroll-btn {
  font-size: 20px;
}
.slider-fullscreen a.scroll-btn:before,
.slider-fullscreen a.scroll-btn:after,
.cover-dispatch a.scroll-btn:before,
.cover-dispatch a.scroll-btn:after {
  height: 20px;
}
.slider-fullscreen a.scroll-btn:after,
.cover-dispatch a.scroll-btn:after {
  right: -1px;
}

a.scroll-btn.funnel {
  left: 50%;
  margin-left: -115px;
}

.center-scroll-btn {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;

  text-align: center;
}
.center-scroll-btn .scroll-btn {
  position: relative;
}

@media only screen and (max-width: 600px) {
  a.scroll-btn,
  .slider-fullscreen a.scroll-btn,
  .cover-dispatch a.scroll-btn {
    font-size: 15px;
  }
  .slider-fullscreen a.scroll-btn:before,
  .slider-fullscreen a.scroll-btn:after,
  .cover-dispatch a.scroll-btn:before,
  .cover-dispatch a.scroll-btn:after {
    height: 15px;
  }
  .slider-fullscreen a.scroll-btn:after,
  .cover-dispatch a.scroll-btn:after {
    right: 2px;
  }
}

a.back-parent-btn {
  display: block;
  padding-left: 40px;
  margin-left: 20px;
  margin-bottom: 30px;

  position: relative;

  color: #242424;
  font-size: 14px;
}
a.back-parent-btn:before {
  content: "";
  display: block;
  width: 28px;
  height: 18px;
  margin-top: -9px;

  background-image: url(../images/sprite.svg);
  background-repeat: no-repeat;
  background-position: -2px -94px;

  position: absolute;
  left: 0;
  top: 50%;
}
.no-svg a.back-parent-btn:before {
  background-image: url(../images/sprite.png);
}

.cover-dispatch a.back-parent-btn,
.cover-duo a.back-parent-btn {
  position: absolute;
  top: 140px;
  left: 0;
  z-index: 11;

  color: #fff;
}

.carousel-container a.back-parent-btn {
  float: left;
  margin-top: -20px;
}

.simple-cover a.back-parent-btn {
  position: absolute;
  top: 100px;
  left: 20px;
  z-index: 3;

  color: #fff;
  font-size: 14px;
}
.simple-cover a.back-parent-btn:before,
.cover-dispatch a.back-parent-btn:before,
.cover-duo a.back-parent-btn:before {
  background-position: -64px -94px;
}

/* --------------------------------------------------

    PAGE CONTENT GENERAL

-------------------------------------------------- */

h1,
h2,
h3 {
  margin-top: 0;
}

h1 {
  margin-bottom: 30px;
  color: #242424;
  font-size: 32px;
}
h1.small {
  font-size: 26px;
  font-weight: normal;
  text-align: center;
}
h1.small.align-left {
  font-size: 26px;
  font-weight: normal;
  text-align: left;
}
h1.small.carousel-title {
  font-weight: bold;
}

h2 {
  margin-bottom: 25px;

  color: #404040;
}

p + h2,
p + h3 {
  padding-top: 20px;
}
.content ul {
  margin-bottom: 10px;
}
.content p {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 1px;
}
.page-content p {
  margin-top: 0;
  margin-bottom: 15px;

  font-size: 14px;
  line-height: 24px;
  letter-spacing: 1px;
}
.page-content table {
  margin-bottom: 30px;
}

.page-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-bottom: 30px;
}

/* --------------------------------------------------
    
    SOCIAL SHARE BLOCK
    
-------------------------------------------------- */

.social-share-bloc {
  padding-top: 40px;
  text-align: center;
}
.social-share-bloc:after {
  content: "";
  display: block;
  clear: both;
}
.social-share-bloc a {
  display: inline-block;
  width: 100%;
  max-width: 115px;
  margin-right: 15px;
  margin-left: 15px;
  margin-bottom: 20px;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-right: 20px;
  padding-left: 40px;
  box-sizing: border-box;
  /* background-color: #3b5998; */
  background-color: #a6a6a6;
  color: #fff;
  font-size: 11px;
  line-height: 6px;
  letter-spacing: 1px;
  border-radius: 5px;
  position: relative;
}
.social-share-bloc a:hover {
  background-color: #9a9a9a;
}
/*.social-share-bloc a.twitter {
    background-color: #4099ff;
}
.social-share-bloc a.email {
    background-color: #ff2424;
}*/

.social-share-bloc a:before {
  content: "";
  display: block;
  width: 11px;
  height: 21px;
  margin-top: -11px;

  background-image: url(../images/sprite-maj-2024.svg);
  background-position: -2px -2px;
  background-repeat: no-repeat;

  position: absolute;
  top: 50%;
  left: 15px;
}
.no-svg .social-share-bloc a:before {
  background-image: url(../images/sprite.png);
}

.social-share-bloc a.twitter:before {
  width: 25px;
  height: 21px;
  left: 10px;

  background-position: -15px -2px;
}

.social-share-bloc a.linkedin:before {
    width: 28px;
    height: 25px;
    left: 10px;
    background-position: -95px -92px;
  }
.social-share-bloc a.email:before {
  width: 24px;
  height: 17px;
  margin-top: -9px;
  left: 10px;

  background-position: -115px -2px;
}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%; /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/**
*   TABLE
**/

table {
  width: 100%;
  margin: 0 0 1em;
  font-size: 1em;
}

td,
th {
  padding: 0.8em 1em;
  background-color: #fff;
  border-bottom: 1px solid #e6e6e6;
  border-left: 1px dashed #e6e6e6;
}

td:first-child,
th:first-child {
  border-left: none;
}

img {
  height: auto;
  max-width: 100%;
}

thead th {
  color: #000;
  font-weight: 700;
  border-left: none;
  border-bottom: 1px solid #bbb;
  padding-bottom: 0.5em;
}

tbody td {
  font-size: 0.85714em;
}
table img {
  margin-bottom: 8px;
}

/**
*   ANCHOR
**/

.anchor {
  position: absolute;
  margin-top: -130px;
}

@media only screen and (max-width: 470px) {
  .anchor {
    margin-top: -106px;
  }
}

/* --------------------------------------------------

	DO YOU LIKE COOKIES ?

-------------------------------------------------- */

.doyoulikecookies {
  padding: 10px 17px;
  max-width: 340px;
  text-align: left;

  z-index: 99999;
  position: fixed;
  bottom: 30px;
  left: 30px;

  font-size: 14px;
  color: #5e5e5e;

  background-color: #f2f2f8;
  box-shadow: 0 0 0 14px rgba(0, 0, 0, 0.3);
}
.doyoulikecookies_readmore {
  color: inherit;
  display: inline-block;
  text-decoration: underline;
}
.doyoulikecookies_accept {
  margin: 10px auto;
  padding: 3px 17px;
  box-sizing: border-box;
  display: block;
  vertical-align: middle;

  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 500;

  border-radius: 5px;
  background-color: #5e5e5e;
}
.doyoulikecookies_accept:hover {
  opacity: 0.8;
  color: #fff;
}

@media only screen and (max-width: 340px) {
  .doyoulikecookies {
    right: 10px;
    left: 10px;
    bottom: 10px;
    max-width: none;
  }
}
