

.themes {
  font-family: "Gotham Pro Regular", Formular, Helvetica, Roboto, Arial, sans-serif;
  margin: 2em 0;
}

.themes a {
  color: inherit;
  font-size: 0.9em;
  font-weight: bold;
}

.themes a.all-authors {
  font-weight: normal;
}

#photos_front,
#videos_front,
footer {
  padding: var(--v-margin) var(--h-margin)
}

.content_more_links a:hover,
.more_gallery {
  text-decoration: underline
}

@media screen and (min-width:768px) and (max-width:992px) {
  #postContent .post:nth-child(n+3):not(.double) {
    order: 1
  }
}

@media screen and (min-width:1200px) {
  #left-side .post.double {
    width: calc(100% / 1.5);
  }
}

#photos_front {
  background-color: var(--gray);
  border-top: 1px solid #dedede;
  border-bottom: 1px solid #dedede
}

.post-photos .post-pic img {
  width: 100%
}

#photos_front .post-photos {
  margin-bottom: 1em
}

.post-photos a {
  width: 100%
}

.more_gallery,
.post-photos a:hover,
.video-link,
.video-link:hover {
  color: inherit
}

.more_gallery {
  display: table;
  margin: 1em auto 0
}

.post-photo-descr {
  padding: 1rem
}

.post-photo-descr .photo-count {
  margin: 0;
  font-size: smaller;
  opacity: .5
}

.post-photos,
.post-videos {
  margin-right: -5px;
  vertical-align: top
}

.post-photos a.link-holder:before {
  content: "";
  background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2
}

.post-photos {
  display: flex;
  width: 100%;
  padding: 0 10px;
  margin-bottom: 40px
}

#photos_front .row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap
}

#photos_front .row:after,
#photos_front .row:before {
  display: none;
  content: unset
}

.stack.stack_bottom {
  background-color: #fff;
  -webkit-box-align: stretch !important;
  -ms-flex-align: stretch !important;
  align-items: stretch !important;
  display: flex
}

.collections__card {
  display: flex;
  position: relative
}

.collections__card:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  -webkit-box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);
  z-index: 2
}

.stack {
  position: relative;
  margin-top: 8px
}

.stack:after,
.stack:before {
  content: "";
  bottom: 100%;
  left: 6px;
  right: 6px;
  height: 7px;
  background: #fff;
  border: 1px solid #dad9d9;
  border-bottom: none;
  position: absolute
}

#videos-list .post-pic,
.button {
  position: relative
}

.stack:after {
  height: 3px;
  left: 3px;
  right: 3px
}

.stack_bottom {
  margin-top: 0;
  margin-bottom: 8px
}

.stack_bottom:after,
.stack_bottom:before {
  bottom: auto;
  top: 100%;
  border-top: none;
  border-bottom: 1px solid #dad9d9;
  transition: all .25s ease
}

.button,
button {
  border-style: solid;
  border-color: #007095
}

.stack:hover:after {
  height: 6px
}

.stack:hover:before {
  height: 12px
}

@media screen and (min-width:768px) {
  .post-photos {
    width: 50%
  }
  .all_tags {
   float: right; 
  }
}

@media screen and (min-width:992px) {
  .post-photos {
    width: 33.3%
  }

  .post-photos:last-child {
    display: none
  }
}

@media screen and (min-width:1200px) {
  .post-photos {
    width: 25%
  }

  .post-photos:last-child {
    display: flex
  }
}

@media screen and (max-width:767.8px) {
  #photos_front .row {
    flex-direction: column
  }
}

#videos-list {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap
}

#videos-list:after,
#videos-list:before {
  display: none;
  content: unset
}

#videos-list .post-pic {
  width: 100%;
  transition: transform .25s ease
}

#videos-list .video-link:hover .post-pic {
  transform: scale(1.03)
}

.post-videos {
  display: flex;
  width: 100%;
  padding: 0 10px;
  margin-bottom: 40px
}

.video-link {
  width: 100%
}

.video-title {
  margin-top: .75em;
  line-height: 1.4em;
  padding-right: 3em;
  margin-bottom: .5em
}

.video-duration {
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, .7);
  color: #fff;
  padding: 1px 10px;
  font-size: small;
  font-weight: 700;
  width: 100%;
  text-align: right
}

.frontpage .video-title {
  font-size: 1rem
}

@media screen and (min-width:768px) {
  .post-videos {
    width: 50%
  }
}

@media screen and (min-width:992px) {
  .post-videos {
    width: 33.3%
  }

  .post-videos:last-child {
    display: none
  }
}

@media screen and (min-width:1200px) {
  .post-videos {
    width: 25%
  }

  .post-videos:last-child {
    display: unset
  }
}

@media screen and (max-width:767.8px) {
  #videos_front .row {
    flex-direction: column
  }
}




.text-sm {
  font-size: small
}

.text-muted {
  opacity: .8
}


.img-fluid {
  max-width: 100%;
  height: auto;
  width: 100%
}

textarea {
  overflow: auto;
  height: auto;
  min-height: 50px;
  max-width: 100%
}





.columns {
  padding-left: .9375rem;
  padding-right: .9375rem;
  width: 100%
}

@media only screen {
  .columns {
    position: relative;
    padding-left: .9375rem;
    padding-right: .9375rem
  }

  .small-12 {
    width: 100%
  }
}

@media screen and (min-width:992px) {
  .columns {
    position: relative;
    padding-left: .9375rem;
    padding-right: .9375rem
  }
}

@media screen and (min-width:1200px) {
  .columns {
    position: relative;
    padding-left: .9375rem;
    padding-right: .9375rem
  }
}

.button {
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 0;
  border-width: 0;
  cursor: pointer;
  line-height: normal;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  padding: 1rem 2rem 1.0625rem;
  background-color: #008CBA;
  color: #FFF;
  -webkit-transition: background-color .3s ease-out;
  transition: background-color .3s ease-out
}

.button:focus,
.button:hover {
  background-color: #007095;
  color: #FFF
}





@media print {
  * {
    background: 0 0 !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important
  }

  a,
  a:visited {
    text-decoration: underline
  }

  a[href]:after {
    content: " ("attr(href) ")"
  }

  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: ""
  }

  img {
    page-break-inside: avoid;
    max-width: 100% !important
  }

  h2,
  h3,
  p {
    orphans: 3;
    widows: 3
  }

  h2,
  h3 {
    page-break-after: avoid
  }
}

.header_menu_button_showed #menuToggle span {
  opacity: 1;
  transform: rotate(45deg) translate(-9px, -15px);
  background: #fff
}

.header_menu_button_showed #menuToggle span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0) scale(.2, .2)
}

.header_menu_button_showed #menuToggle span:nth-last-child(2) {
  transform: rotate(-45deg) translate(-4px, 10px)
}





#body-click.showed {
  display: block
}

#header_top_menu.opacity #body-click.showed {
  display: none
}





#ctrl_panel,
#ctrl_panel_news {
  width: 100%;
  text-align: center
}

#ctrl_panel a,
#ctrl_panel_news a,
.button {
  background: var(--secondary) !important;
  height: 2.75em;
  margin: 0;
  font-weight: 400;
  text-transform: uppercase;
  font-family: var(--font-regular)
}

p span {
  color: var(--secondary)
}





footer {
  background: var(--primary);
  width: 100%;
  z-index: 99;
  color: black;
  overflow: hidden
}

footer hr {
  background: #222;
  height: .188em;
  margin: 1.438em auto;
  border: 0
}

footer .small_logo {
  float: left;
  width: 250px
}

footer .small_logo img {
  width: 100%;
  height: auto
}

footer .age_round {
  margin-left: 3.5%;
  margin-bottom: 2px;
  margin-top: 10px;
  float: left;
  width: 36px;
  height: 36px
}

footer .menu {
  width: 100%;
  margin-top: .813em;
  font-size: 18px
}

footer .menu a {
  color: #000;
  margin-left: 4%;
  float: right
}

footer .first {
  width: 40%
}

.footer_mag {
  display: flex
}

.footer_magazine img {
  margin-right: 1em;
  min-width: 150px;
  margin-bottom: .5rem
}

.footer-logo-evromedia img {
  min-width: 122px
}

.footer_magazine_descr {
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.before_hr,
.under_hr {
  display: flex;
  flex-direction: row
}

.before_hr,
.footer-menu {
  -webkit-box-align: end !important;
  -ms-flex-align: end !important;
  align-items: flex-end !important
}

.footer-menu {
  width: 60%;
  display: flex;
  flex-direction: row
}

.under_hr .first {
  display: inline-block;
  font-size: 12px
}

.under_hr .first p {
  font-size: 12px
}

.under_hr .first span {
  font-size: small
}

.under_hr .second {
  display: inline-block;
  flex: 1
}

.under_hr .second a {
  display: block;
  color: #000;
  font-size: 11px;
  text-decoration: none
}

.under_hr .second .b_link {
  font-size: 16px;
  text-decoration: none
}

.under_hr .second .magazine-links a {
  margin-bottom: .5rem
}

.under_hr .third {
  display: inline-block;
  margin-left: auto
}

.under_hr .third .mobiles_picture {
  margin: 0;
  padding: 0;
  display: inline-block
}

footer .social a {
  margin-left: .75em;
  color: #fff
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  display: inline-block;
  fill: currentcolor
}

.apps-links,
.apps-wrap,
footer .social,
footer .under_hr .first {
  display: flex
}

.apps-wrap {
  flex-direction: row;
  justify-content: flex-end
}

.apps-links {
  font-size: smaller;
  width: auto;
  padding-left: 1em;
  flex-direction: column;
  justify-content: flex-end
}

footer .social {
  justify-content: space-between;
  margin-bottom: auto
}

.copyrights {
  font-size: small;
  margin-top: 1.5rem
}

span.delimiter-green {
  color: var(--secondary);
  margin-left: 5px;
}

.tags-link:last-child .delimiter-green {
  display: none;
}

footer .social.mobile {
  display: none
}

@media screen and (max-width:992px) {
  footer .small_logo {
    width: 200px
  }
}

@media screen and (min-width:520px) and (max-width:992px) {
  .apps-wrap {
    flex-direction: column;
    text-align: right;
    align-items: flex-end
  }

  footer .social {
    display: none
  }

  footer .social.mobile {
    display: flex;
    margin-bottom: 1em;
    width: 100%
  }
}

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

  footer .first .magazines-descr {
    margin-top: 1em
  }
}

.frontpage .banner-bottom-all {
  margin-top: var(--v-margin)
}

.frontpage h3 {
  margin-bottom: .75em
}



.footer-telephone-block {
  display: inline-block;
  font-size: 26px;
  color: #fff;
  float: right;
  font-weight: 700;
  margin-top: 2rem
}

@media screen and (max-width:767px) {
  .footer-telephone-block {
    float: none
  }

  .third::after {
    background: #000;
    color: #000;
    height: .188em;
    margin: 1.438em auto;
    border: 0;
    content: "";
    display: block
  }
  footer .first {
    display: none
  }
  footer .menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  }
}

@media (max-width:560px) {
  iframe {
    width: 100% !important
  }
}

.footer-telephone-block .text {
  text-align: right;
  margin-bottom: 0;
  font-size: 14px
}

.footer-telephone {
  font-size: inherit;
  color: #fff;
  margin-top: 5px;
  font-weight: 700;
  margin-bottom: 0;
  text-align: right;
  white-space: nowrap
}

.footer-telephone a {
  color: #fff
}

footer .first .magazines-descr {
  margin-bottom: 10px;
  display: block;
  color: inherit
}

footer .first a span,
footer .mags-footer a {
  display: inline-block
}

footer .first a {
  text-decoration: none;
  margin-right: 20px
}

footer .first a span {
  padding: .15em 0;
  color: #fff;
  line-height: unset
}

footer .mags-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-right: 10px
}

footer .mag-stroy span {
  background-color: #ca5639;
  box-shadow: -10px 0 0 #ca5639, 10px 0 0 #ca5639
}

footer .mag-zdrav span {
  background-color: #54aeb4;
  box-shadow: -10px 0 0 #54aeb4, 10px 0 0 #54aeb4
}

footer .mag-agro span {
  background-color: #e9a83a;
  box-shadow: -10px 0 0 #e9a83a, 10px 0 0 #e9a83a
}

footer .mag-obraz span {
  background-color: #e39535;
  box-shadow: -10px 0 0 #e39535, 10px 0 0 #e39535
}

footer .mag-social span {
  background-color: #47959a;
  box-shadow: -10px 0 0 #47959a, 10px 0 0 #47959a
}

footer .mag-econom span {
  background-color: #285a8a;
  box-shadow: -10px 0 0 #285a8a, 10px 0 0 #285a8a
}

footer .mag-sevkav span {
  background-color: #54aeb4;
  box-shadow: -10px 0 0 #54aeb4, 10px 0 0 #54aeb4
}

footer .mag-povol span {
  background-color: #61a4b7;
  box-shadow: -10px 0 0 #61a4b7, 10px 0 0 #61a4b7
}

footer .mag-sevzap span {
  background-color: #51a798;
  box-shadow: -10px 0 0 #51a798, 10px 0 0 #51a798
}

footer .mag-nation span {
  background-color: #ac914e;
  box-shadow: -10px 0 0 #ac914e, 10px 0 0 #ac914e
}

footer .mag-agro span,
footer .mag-econom span,
footer .mag-nation span,
footer .mag-obraz span,
footer .mag-povol span,
footer .mag-sevkav span,
footer .mag-sevzap span,
footer .mag-social span,
footer .mag-stroy span,
footer .mag-zdrav span {
  margin-left: 10px
}

.play-icon {
  position: absolute;
  width: 3rem;
  height: 3rem;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  -webkit-filter: drop-shadow(0 0 4px grey);
  filter: drop-shadow(0 0 4px grey);
  background-color: #707070;
  border-radius: 50%
}



.my-4 {
  margin-top: 2rem;
  margin-bottom: 2rem
}

.btn {
  display: inline-block;
  font-weight: 400;
  color: #212529;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 2px solid transparent;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: .25rem;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

.btn-primary {
  color: #fff;
  background-color: var(--primary);
  border-color: var(--primary)
}

.btn-outline-order {
  border-radius: 0;
  white-space: nowrap;
  line-height: 1.7em;
  background-color: #fff
}

.btn-outline-order:hover {
  color: inherit
}

.btn-outline-order::before {
  content: " ";
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNCA4Ij48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS40MTciIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTS41LjVMNyA3IDEzLjUuNSIvPjwvc3ZnPg==);
  width: 24px;
  height: 10px;
  display: inline-block;
  background-repeat: no-repeat;
  background-size: contain;
  padding-right: 10px
}



@media screen and (max-width:1200px) {
  footer .under_hr .first {
    flex-direction: column
  }
}

@media screen and (max-width:767.8px) {

  .apps-links,
  .footer-menu,
  .footer_magazine_descr,
  footer .first,
  footer .under_hr .third {
    width: 100%
  }

  .before_hr {
    flex-direction: column
  }

  .footer-menu {
    flex-direction: column-reverse;
    align-items: center !important
  }

  footer .menu {
    margin: 1em 0
  }

  footer .menu a {
    margin: .35em 4%
  }

  .before_hr,
  .under_hr {
    flex-wrap: wrap
  }

  footer .under_hr .first {
    order: 3;
    flex-direction: column
  }

  footer .under_hr .second {
    order: 1
  }

  footer .under_hr .third {
    order: 2;
    margin-top: 1.438em;
    text-align: right
  }

  .under_hr .first p {
    margin-top: 0
  }

  .under_hr .second .magazine-links a {
    margin-bottom: .75rem;
    font-size: 16px
  }

  .footer_mag {
    flex-wrap: nowrap
  }
}

.subscribe_form_footer label {
  max-width: 240px;
  font-size: 14px;
  margin-bottom: .5em;
  margin-top: 1em;
  color: inherit
}

.subscribe_form_footer input[type=email] {
  color: #555;
  background-color: #FFF;
  border: 0 solid #D5D5D5;
  height: 30px;
  padding: 17px 7px 15px;
  font-size: 14px;
  border-radius: 0;
  box-shadow: none !important;
  -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  display: inline-block;
  outline: rgba(255, 255, 255, 0) solid 2px;
  transition: all .5s;
  width: calc(100% - 55px)
}

#subscribe_modal input[type="email"].error,
#subscribe_footer input[type="email"].error {
outline: 2px solid rgba(255, 0, 0, 1);
}


#send_footer {
  height: 32px;
  width: 55px;
  background-color: #ecab00;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNDUuOCAxOTkuOCI+PHBhdGggZD0iTTYyLjEgMTczLjdjMjktMjQuOCA1Ny4zLTQ5LjEgODYtNzMuNy0yOC42LTI0LjUtNTctNDguOS04NS40LTczLjItLjQuMS0uOC4yLTEuMi40IDAgMy44LjEgNy42IDAgMTEuNC0uMSAyLjEtLjEgNC4zLS42IDYuMy0uOSAzLjQtNC4zIDUuNS03LjcgNS4yLTMuNi0uMy03LTMtNy02LjYtLjEtNi4zLS40LTEyLjguNy0xOUM0OS40IDEwLjUgNjEuNy4zIDc1LjguMiAxMDAuNCAwIDEyNSAuMSAxNDkuNy4xYzU0LjUgMCAxMDkgLjIgMTYzLjUtLjEgMTcuOC0uMSAyOS4xIDExLjkgMzEuNiAyMy45LjYgMi45LjkgNS45LjkgOC45LjEgNDQuNy4xIDg5LjUgMCAxMzQuMiAwIDE2LjctOS43IDI5LTI1LjEgMzIuMi0yLjUuNS01LjIuNS03LjguNS03OC4xIDAtMTU2LjIuMS0yMzQuMyAwLTE5LjIgMC0zMi4xLTEyLjktMzIuMy0zMi4xIDAtMy4xLS4xLTYuMiAwLTkuNC4xLTUgMy4xLTguNCA3LjYtOC41IDQuNC0uMSA3LjcgMy4yIDggOC4yLjIgMy45LjEgNy43LjEgMTEuNi0uMiAxLjEgMCAyLjEuMiA0LjJ6bTEyLTE1Ny45YzEuMyAxLjIgMiAyIDIuOSAyLjdsMTEyLjIgOTZjNC45IDQuMiA4LjMgNC4zIDEzLjIuMSAzNy41LTMyLjEgNzUtNjQuMiAxMTIuNS05Ni4yLjgtLjcgMS44LTEgMi44LTEuNS0uMy0uNC0uNi0uNy0xLTEuMUg3NC4xem04NiA5NC4zYy0yOC43IDI0LjYtNTcuMSA0OS04Ni4yIDczLjloMjQzLjhjLTI5LjEtMjUtNTcuNi00OS40LTg2LjEtNzMuOS02LjggNS45LTEzLjQgMTEuNy0yMCAxNy40LTkuOCA4LjUtMjEuMyA4LjYtMzEuMi4yLTYuNy01LjktMTMuNC0xMS43LTIwLjMtMTcuNnpNMzI5LjggMjZjLTI5LjIgMjUtNTcuNSA0OS40LTg2LjEgNzMuOSAyOC44IDI0LjYgNTcuMSA0OC45IDg2LjEgNzMuOFYyNnpNNzUuMyAxMjYuOWM1LjcgMCA5LjEtMi44IDkuMi03LjYuMS00LjktMy40LTgtOS4zLThoLTY2Yy01LjYgMC05LjEgMy05LjIgNy43LS4xIDQuOCAzLjUgNy45IDkuMyA3LjloNjZ6TTMxLjYgNzNjLTQuOSAwLTguNSAzLjItOC42IDcuNS0uMiA0LjQgMy40IDggOC41IDguMSAxNC45LjEgMjkuNy4xIDQ0LjYgMCA1LjIgMCA4LjUtMy40IDguMy04LjEtLjEtNC42LTMuNC03LjUtOC41LTcuNS03LjQtLjEtMTQuNyAwLTIyLjEgMC03LjQgMC0xNC44LS4xLTIyLjIgMHoiIGZpbGw9IiNmZmYiLz48L3N2Zz4=);
  background-position: 45% 50%;
  background-repeat: no-repeat;
  border: none;
  padding: 12px;
  display: inline-block;
  background-size: 50%;
  line-height: 0;
color: transparent;
}

#send_footer:hover {
  background-color: #fbb705
}



@media screen and (max-width:540px) {
  #subscribe_modal {
    right: 0;
    width: 100%;
    bottom: 0
  }

  #subscribe_modal input[type=button] {
    margin-left: 0;
    margin-top: 10px
  }

  #subscribe_modal label {
    font-size: smaller
  }

  #subscribe_modal h3 {
    font-size: 1rem
  }

  #subscribe_footer input[type=email] {
    width: 120px
  }
}

@media screen and (min-width:768px) and (max-width:1200px) {
  .footer_mag {
    flex-wrap: wrap
  }
}



#inline {
  width: 600px;
  border: 2px solid var(--primary)
}

.form-required.starrequired {
  color: red;
  display: inline
}

h3.modal-title {
  font-size: 2.5em;
  margin-bottom: 0 !important
}

.modal__content-form-input {
  margin-top: 32px
}

.common-input {
  position: relative;
  min-height: 56px;
  width: 100%
}

.common-input__placeholder {
  position: absolute;
  top: 22px;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 10px;
  font-size: 18px;
  color: #9b9b9b;
  pointer-events: none;
  transition: all .3s
}




.common-input__input {
  display: block;
  width: 100%;
  height: 56px;
  box-sizing: border-box;
  border: none;
  font-size: 18px;
  line-height: 40px;
  box-shadow: none;
  resize: none;
  color: #000;
  padding: 12px 10px 0;
  outline: 0;
  border-bottom: 2px solid #bdc8d0;
  background: 0 0
}


@media screen and (max-width:739px) {

  .common-input__input,
  .common-input__placeholder {
    font-size: 14px
  }

  h3.modal-title {
    font-size: 1.5em
  }
}

.common-input__input:focus {
  border-color: var(--primary)
}

.common-input__input[placeholder="!"]:-ms-input-placeholder {
  font-size: 0
}

.common-input__input[placeholder="!"]::placeholder {
  font-size: 0
}

.common-input__input:focus+.common-input__placeholder,
.common-input__input.filled+.common-input__placeholder {
  font-size: 11px;
  top: 0
}

.under_hr .third .social a {
  margin-left: 1.5% !important
}

@media (min-width:992px) {

  .footer-menu,
  .under_hr .second {
    padding-left: 20px
  }
}

.content_more_links {
  background: #f8f8f8;
  width: 100%;
  padding: 20px;
  margin: 35px 0;
  text-align: center
}

.content_more_links a {
  background: url(https://vestnikapk.ru/img/icon_cml2.png) no-repeat;
  background-size: 20px 60px;
  padding-left: 28px;
  margin-left: 2px;
  line-height: 20px;
  display: inline-block;
  color: inherit
}

.social-goodshare span {
  background-color: transparent
}


.content_more_links a.cml_zen {
  background-position-y: 0
}

.content_more_links a.cml_vk {
  background-position-y: -20px
}












h3 {
  font-size: 1.375rem
}

h5 {
  font-size: 1.125rem
}



dl,
ul {
  line-height: 1.6;
  list-style-position: outside;
  margin-bottom: 1.25rem
}

ul {
  margin-left: 1.1rem
}

dl dd {
  margin-bottom: .75rem
}



@media print {
  * {
    background: 0 0 !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important
  }

  a,
  a:visited {
    text-decoration: underline
  }

  a[href]:after {
    content: " ("attr(href) ")"
  }

  a[href^="#"]:after {
    content: ""
  }

  img {
    page-break-inside: avoid;
    max-width: 100% !important
  }

  h2,
  h3,
  p {
    orphans: 3;
    widows: 3
  }

  h2,
  h3 {
    page-break-after: avoid
  }
}



.full_post_social_share {
  margin-top: 20px;
  margin-bottom: 55px;
  font-family: 'Gotham Pro Regular', sans-serif
}

.hr,
.popular_articles hr {
  width: 100px;
  margin-bottom: 1em
}

.popular_articles h3 {
  color: var(--secondary);
  padding-bottom: 1.62em;
  font-size: 24px;
  letter-spacing: .2em;
  margin-bottom: -1em
}

.popular_articles .post p {
  margin: .5em 0 1em;
  font-family: 'Swift Light Regular';
  font-size: 16px;
  width: 100%;
  letter-spacing: .01em
}



.full_post_img {
  width: auto
}


.full_post_img img {
  width: 100%
}


.photo_caption {
  margin: .75em 10% -1em 0;
  font-size: 16px;
  font-size: 14px;
  color: gray;
  letter-spacing: initial;
  line-height: 1.5;
  font-family: 'Gotham Pro Regular',sans-serif;
}


.inter_post_text img {
  display: block;
  max-width: 100%
}

.full_post_img,
.video_wrapper {
  margin: 3em 0;
  font-family: 'Swift Light Regular';
  font-size: .875em;
  font-weight: 400;
  text-align: left
}


.social-goodshare div {
  display: inline-block
}

@media all and (max-width: 540px) {
  .full_post_img,
  .video_wrapper {
    margin: 2em -5.6% !important
  }
  .photo_caption {
    margin-left: 20px;
  }
}



.banner-bottom-all {
  margin: 0 var(--h-margin) var(--v-margin);
  overflow: hidden
}


.banner-bottom,
.banner-bottom .right-ban {
  display: block;
  float: none
}

.inter_post .banner-bottom {
  margin-left: 8.33%
}

.inter_post .banner-bottom .right-ban {
  margin: 0
}



#advert_modal {
  position: fixed;
  bottom: 3rem;
  left: 3rem;
  z-index: 139;
  background: #fff;
  display: block;
  padding: 2rem;
  width: 460px;
  -webkit-box-shadow: 0 0 19px 0 rgba(0, 0, 0, .35);
  -moz-box-shadow: 0 0 19px 0 rgba(0, 0, 0, .35);
  box-shadow: 0 0 19px 0 rgba(0, 0, 0, .35);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  transition: all .5s;
}

#advert_modal p {
    margin-bottom: 1em;
}

#advert_modal ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

#advert_modal ul li a {
    display: flex;
    align-items: center;
    margin-right: 3em;
    color: inherit;
}

#advert_modal ul li svg {
    width: 1.6em;
    height: 1.6em;
    margin-right: .5em;
}

#advert_modal .close {
  position: absolute;
  right: 24px;
  top: 22px;
  width: 26px;
  height: 26px;
  opacity: .3
}

#advert_modal .close:hover {
  opacity: 1
}

#advert_modal .close:after,
#advert_modal .close:before {
  position: absolute;
  left: 15px;
  content: ' ';
  height: 26px;
  width: 2px;
  background-color: #333
}

#advert_modal .close:before {
  transform: rotate(45deg)
}

#advert_modal .close:after {
  transform: rotate(-45deg)
}

@media screen and (max-width:540px) {
  #advert_modal {
    left: 0;
    width: 100%;
    bottom: 0
  }
}



#subscribe_modal {
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  z-index: 139;
  background: #fff;
  display: block;
  padding: 2rem;
  width: 550px;
  -webkit-box-shadow: 0 0 19px 0 rgba(0, 0, 0, .35);
  -moz-box-shadow: 0 0 19px 0 rgba(0, 0, 0, .35);
  box-shadow: 0 0 19px 0 rgba(0, 0, 0, .35);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  transition: all .5s
}

.subscribe_form {
  display: flex;
  flex-wrap: wrap
}

#subscribe_modal label {
  font-size: 1rem;
  margin-bottom: 1rem;
  width: 100%
}

#subscribe_modal input[type=email],
#subscribe_modal input[type=button] {
  padding: 1.2rem 1rem 1rem;
  font-family: var(--font-regular);
  border: none
}

#subscribe_modal input[type=email] {
  background-color: #f2f2f2;
  flex: 1;
  outline: rgba(255, 255, 255, 0) solid 2px;
  transition: all .5s
}

#subscribe_modal input[type=button] {
  background-color: var(--primary);
  margin-left: 10px
}

#subscribe_modal .close {
  position: absolute;
  right: 24px;
  top: 22px;
  width: 26px;
  height: 26px;
  opacity: .3
}

#subscribe_modal .close:hover {
  opacity: 1
}

#subscribe_modal .close:after,
#subscribe_modal .close:before {
  position: absolute;
  left: 15px;
  content: ' ';
  height: 26px;
  width: 2px;
  background-color: #333
}

.social-goodshare ul li,
button {
  position: relative
}

#subscribe_modal .close:before {
  transform: rotate(45deg)
}

#subscribe_modal .close:after {
  transform: rotate(-45deg)
}



#subscribe_modal p {
  font-family: var(--font-regular);
  margin-bottom: 0
}

#subscribe_modal .preview-link {
  margin-top: 1rem;
  font-size: smaller
}

#subscribe_modal .fancybox:focus,
#subscribe_modal .preview-link:focus {
  outline: 0
}

@media screen and (max-width:540px) {
  #subscribe_modal {
    right: 0;
    width: 100%;
    bottom: 0
  }

  #subscribe_modal input[type=button] {
    margin-left: 0;
    margin-top: 10px
  }

  #subscribe_modal label {
    font-size: smaller
  }

  #subscribe_modal h3 {
    font-size: 1rem
  }
}


.social-goodshare {
  color: var(--dark);
  line-height: 1em;
  overflow: hidden;
  margin-bottom: 4em;
  margin-top: 3em;
  font-family: Formular, 'Open Sans', Helvetica, Roboto, Arial, sans-serif
}

.social-goodshare a {
  color: var(--dark)
}

.social-goodshare a:hover {
  color: inherit
}

.social-goodshare a,
.social-goodshare div {
  cursor: pointer
}

.social-goodshare ul {
  display: flex;
  flex-flow: row wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: center
}

.social-goodshare span {
  border-width: 0;
  outline: 0;
  font-size: 12px;
  line-height: 1;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: inline-block;
  padding-left: 7px;
  color: grey;
  font-weight: 400
}



.social-goodshare a,
.social-goodshare li div {
  padding: 0 15px;
  border: none;
  display: flex !important;
  align-items: center
}


.social-goodshare a:hover,
.social-goodshare li div:hover {
  opacity: .5
}

.social-goodshare .icon-share.ok {
  width: 16px;
  height: 24px
}

.social-goodshare .icon-share.tg,
.social-goodshare .icon-share.wa {
  width: 21px;
  height: 21px
}

.social-goodshare .icon-share.vk {
  width: 24px;
  height: 22px
}

.social-goodshare ul li:first-child>* {
  padding-left: 0
}


.archive .years {
  margin: 10px 0 30px
}

.archive .years .year {
  margin-right: 50px;
  margin-bottom: 15px;
  color: var(--secondary);
  border-bottom: 1px solid var(--secondary)
}

.archive .years .year.active,
.archive .years .year:hover {
  color: var(--primary);
  border-color: var(--primary)
}

.archive .years .year a {
  color: inherit
}

.archive .post .post-pic-archive {
  box-shadow: 0 0 7px 0 #cecece;
  border: 1px solid #e6e6e6;
  border-radius: 3px;
  background: #f2f2f2;
  margin-bottom: 25px;
  max-width: 300px
}

.archive .post .post-descr {
  font-size: 14px
}

.archive .post .post-descr a {
  color: var(--secondary)
}

.w-100 {
  width: 100%
}



button,
label {
  cursor: pointer;
  font-weight: 400
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0
}

.contacts input,
.contacts textarea,
button {
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 0
}

button {
  overflow: visible;
  text-transform: none;
  border-width: 0;
  line-height: normal;
  margin: 0 0 1.25rem;
  text-align: center;
  padding: 1rem 2rem 1.0625rem;
  font-size: 1rem;
  background-color: #008CBA;
  color: #FFF;
  -webkit-transition: background-color .3s ease-out;
  transition: background-color .3s ease-out
}

button:focus,
button:hover {
  background-color: #007095;
  color: #FFF
}

button::-moz-focus-inner {
  border: 0;
  padding: 0
}

label {
  color: #4d4d4d;
  display: block;
  font-size: .875rem;
  line-height: 1.5;
  margin-bottom: 0
}

.about h2 {
  text-transform: uppercase;
  color: var(--secondary);
  line-height: 25px;
  text-align: left;
  margin-bottom: 18px;
  font-weight: 500
}

.about p,
.contacts h2,
.contacts label {
  font-weight: 400;
  text-align: left
}

.about p {
  line-height: 1.389
}

.about .add_white_spaces {
  margin-top: 3em
}


.contacts form {
  margin-top: 1em;
  max-width: 600px
}

.contacts input,
textarea {
  width: 50%;
  border: 1px solid #C4CAD0;
  border-radius: 4px;
  margin-top: .25em;
  margin-left: -.3em
}

.contacts textarea {
  min-height: 9em
}

.contacts label {
  font-family: 'Swift Light Regular';
  color: #929ca6;
  font-size: 14px;
  line-height: 23px;
  margin-left: .3em
}

.contacts p {
  margin-bottom: 0
}

.contacts h2 {
  font-size: 18px;
  line-height: 25px;
  margin-bottom: 18px;
  text-transform: none
}

.contacts input,
.contacts textarea {
  background-color: #fff;
  border-style: solid;
  border-width: 1px;
  border-color: #ccc;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
  color: rgba(0, 0, 0, .75);
  display: block;
  font-family: inherit;
  font-size: .875rem;
  height: 2.3125rem;
  margin: 0 0 1rem;
  padding: .5rem;
  width: 100%;
  box-sizing: border-box;
  -webkit-transition: border-color .15s linear, background .15s linear;
  transition: border-color .15s linear, background .15s linear
}

form button,
form button:hover {
  background: var(--secondary)
}

form button {
  margin-left: 35%
}

@media screen and (max-width:520px) {
  .columns {
    float: none
  }
}

.mf-captcha label {
  display: inline
}

.mf-captcha input {
  margin-left: 0;
  margin-top: 10px
}

.left-h h1 {
  font-size: x-large;
  margin-top: 0
}

.left-h {
  flex-basis: 25%;
  flex-shrink: 0;
  margin-right: 1em
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  background: #FFF;
  border: 1px solid #DDD;
  margin-bottom: 1.25rem;
  table-layout: auto;
  font-family: var(--font-regular)
}

.wrap_table {
  overflow: scroll
}



.inter_post_text table p {
  margin: 0;
  padding: 0;
  font-size: inherit
}

table tr td {
  color: #222;
  font-size: .9em;
  padding: .5625rem .625rem;
  text-align: left;
  border-bottom: 1px solid #d7d7d7
}

table tr:nth-of-type(even) {
  background: #F9F9F9
}

table tbody tr td,
table tr td {
  display: table-cell;
  line-height: 1.125rem
}

#authors h2 {
  padding-top: 120px;
  margin-top: -120px
}

.autors h2 {
  color: #9f8257;
  font-size: 24px;
  font-weight: 500;
  line-height: 23px
}

.about.autors a,
.autors li {
  font-family: 'Swift Light Regular';
  font-size: 19px;
  font-weight: 300;
  line-height: 30px;
  list-style: none
}

.autors ul {
  margin-left: 0;
  margin-bottom: 2em
}

.autors hr {
  margin-top: -10px;
  width: 130px
}

.about.autors a {
  font-style: normal
}

#toc {
  margin: 30px 0 120px
}

#toc a {
  color: #9f8257;
  font-size: 20px;
  font-weight: 500;
  line-height: 23px;
  font-family: var(--font-medium);
  margin-right: 1em
}



/************************************* jQuery Fancybox CSS ******************************************/

body.compensate-for-scrollbar {
    overflow: hidden;
}

.fancybox-active {
    height: auto;
}

.fancybox-is-hidden {
    left: -9999px;
    margin: 0;
    position: absolute !important;
    top: -9999px;
    visibility: hidden;
}

.fancybox-container {
    -webkit-backface-visibility: hidden;
    height: 100%;
    left: 0;
    outline: none;
    position: fixed;
    -webkit-tap-highlight-color: transparent;
    top: 0;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    transform: translateZ(0);
    width: 100%;
    z-index: 99992;
}

.fancybox-container * {
    box-sizing: border-box;
}

.fancybox-outer,
.fancybox-inner,
.fancybox-bg,
.fancybox-stage {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.fancybox-outer {
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
}

.fancybox-bg {
    background: white;
    /*background: rgb(30, 30, 30);*/
    opacity: 0;
    transition-duration: inherit;
    transition-property: opacity;
    transition-timing-function: cubic-bezier(.47, 0, .74, .71);
}

.fancybox-is-open .fancybox-bg {
    opacity: .9;
    transition-timing-function: cubic-bezier(.22, .61, .36, 1);
}

.fancybox-infobar,
.fancybox-toolbar,
.fancybox-caption,
.fancybox-navigation .fancybox-button {
    direction: ltr;
    opacity: 0;
    position: absolute;
    transition: opacity .25s ease, visibility 0s ease .25s;
    visibility: hidden;
    z-index: 99997;
}

.fancybox-show-infobar .fancybox-infobar,
.fancybox-show-toolbar .fancybox-toolbar,
.fancybox-show-caption .fancybox-caption,
.fancybox-show-nav .fancybox-navigation .fancybox-button {
    opacity: 1;
    transition: opacity .25s ease 0s, visibility 0s ease 0s;
    visibility: visible;
}

.fancybox-infobar {
    color: #ccc;
    font-size: 13px;
    -webkit-font-smoothing: subpixel-antialiased;
    height: 44px;
    left: 0;
    line-height: 44px;
    min-width: 44px;
    mix-blend-mode: difference;
    padding: 0 10px;
    pointer-events: none;
    top: 0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.fancybox-toolbar {
    right: 0;
    top: 0;
}

.fancybox-stage {
    direction: ltr;
    overflow: visible;
    transform: translateZ(0);
    z-index: 99994;
}

.fancybox-is-open .fancybox-stage {
    overflow: hidden;
}

.fancybox-slide {
    -webkit-backface-visibility: hidden;
    /* Using without prefix would break IE11 */
    display: none;
    height: 100%;
    left: 0;
    outline: none;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 44px;
    position: absolute;
    text-align: center;
    top: 0;
    transition-property: transform, opacity;
    white-space: normal;
    width: 100%;
    z-index: 99994;
}

.fancybox-slide::before {
    content: '';
    display: inline-block;
    font-size: 0;
    height: 100%;
    vertical-align: middle;
    width: 0;
}

.fancybox-is-sliding .fancybox-slide,
.fancybox-slide--previous,
.fancybox-slide--current,
.fancybox-slide--next {
    display: block;
}

.fancybox-slide--image {
    overflow: hidden;
    padding: 44px 0;
}

.fancybox-slide--image::before {
    display: none;
}

.fancybox-slide--html {
    padding: 6px;
}

.fancybox-content {
    background: #fff;
    display: inline-block;
    margin: 0;
    max-width: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 44px;
    position: relative;
    text-align: left;
    vertical-align: middle;
}

.fancybox-slide--image .fancybox-content {
    animation-timing-function: cubic-bezier(.5, 0, .14, 1);
    -webkit-backface-visibility: hidden;
    background: transparent;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    left: 0;
    max-width: none;
    overflow: visible;
    padding: 0;
    position: absolute;
    top: 0;
    -ms-transform-origin: top left;
    transform-origin: top left;
    transition-property: transform, opacity;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    z-index: 99995;
}

.fancybox-can-zoomOut .fancybox-content {
    cursor: zoom-out;
}

.fancybox-can-zoomIn .fancybox-content {
    cursor: zoom-in;
}

.fancybox-can-swipe .fancybox-content,
.fancybox-can-pan .fancybox-content {
    cursor: -webkit-grab;
    cursor: grab;
}

.fancybox-is-grabbing .fancybox-content {
    cursor: -webkit-grabbing;
    cursor: grabbing;
}

.fancybox-container [data-selectable='true'] {
    cursor: text;
}

.fancybox-image,
.fancybox-spaceball {
    background: transparent;
    border: 0;
    height: 100%;
    left: 0;
    margin: 0;
    max-height: none;
    max-width: none;
    padding: 0;
    position: absolute;
    top: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 100%;
}

.fancybox-spaceball {
    z-index: 1;
}

.fancybox-slide--video .fancybox-content,
.fancybox-slide--map .fancybox-content,
.fancybox-slide--pdf .fancybox-content,
.fancybox-slide--iframe .fancybox-content {
    height: 100%;
    overflow: visible;
    padding: 0;
    width: 100%;
}

.fancybox-slide--video .fancybox-content {
    background: #000;
}

.fancybox-slide--map .fancybox-content {
    background: #e5e3df;
}

.fancybox-slide--iframe .fancybox-content {
    background: #fff;
}

.fancybox-video,
.fancybox-iframe {
    background: transparent;
    border: 0;
    display: block;
    height: 100%;
    margin: 0;
    overflow: hidden;
    padding: 0;
    width: 100%;
}

/* Fix iOS */
.fancybox-iframe {
    left: 0;
    position: absolute;
    top: 0;
}

.fancybox-error {
    background: #fff;
    cursor: default;
    max-width: 400px;
    padding: 40px;
    width: 100%;
}

.fancybox-error p {
    color: #444;
    font-size: 16px;
    line-height: 20px;
    margin: 0;
    padding: 0;
}

/* Buttons */

.fancybox-button {
    /*background: rgba(30, 30, 30, .6);*/
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
    display: inline-block;
    height: 44px;
    margin: 0;
    padding: 10px;
    position: relative;
    transition: color .2s;
    vertical-align: top;
    visibility: inherit;
    width: 44px;
}

.fancybox-button,
.fancybox-button:visited,
.fancybox-button:link {
    color: var(--primary);
}

.fancybox-button:hover {
color: var(--secondary);
background-color: unset;
}

.fancybox-button:focus {
    outline: none;
}

.fancybox-button.fancybox-focus {
    outline: 1px dotted;
}

.fancybox-button[disabled],
.fancybox-button[disabled]:hover {
    color: #888;
    cursor: default;
    outline: none;
    background-color: unset;
    border-color: unset;
}

/* Fix IE11 */
.fancybox-button div {
    height: 100%;
}

.fancybox-button svg {
    display: block;
    height: 100%;
    overflow: visible;
    position: relative;
    width: 100%;
}

.fancybox-button svg path {
    fill: currentColor;
    stroke-width: 0;
}

.fancybox-button--play svg:nth-child(2),
.fancybox-button--fsenter svg:nth-child(2) {
    display: none;
}

.fancybox-button--pause svg:nth-child(1),
.fancybox-button--fsexit svg:nth-child(1) {
    display: none;
}

.fancybox-progress {
    background: #ff5268;
    height: 2px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -ms-transform-origin: 0;
    transform-origin: 0;
    transition-property: transform;
    transition-timing-function: linear;
    z-index: 99998;
}

/* Close button on the top right corner of html content */

.fancybox-close-small {
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #ccc;
    cursor: pointer;
    opacity: .8;
    padding: 8px;
    position: absolute;
    right: -12px;
    top: -44px;
    z-index: 401;
}

.fancybox-close-small:hover {
    color: #fff;
    opacity: 1;
background: var(--primary);
}

.fancybox-slide--html .fancybox-close-small {
    color: currentColor;
    padding: 10px;
    right: 0;
    top: 0;
}

.fancybox-slide--image.fancybox-is-scaling .fancybox-content {
    overflow: hidden;
}

.fancybox-is-scaling .fancybox-close-small,
.fancybox-is-zoomable.fancybox-can-pan .fancybox-close-small {
    display: none;
}

/* Navigation arrows */

.fancybox-navigation .fancybox-button {
    background-clip: content-box;
    height: 100px;
    opacity: 0;
    position: absolute;
    top: calc(50% - 50px);
    width: 70px;
}

.fancybox-navigation .fancybox-button div {
    padding: 7px;
}

.fancybox-navigation .fancybox-button--arrow_left {
    left: 0;
    left: env(safe-area-inset-left);
    padding: 31px 26px 31px 6px;
}

.fancybox-navigation .fancybox-button--arrow_right {
    padding: 31px 6px 31px 26px;
    right: 0;
    right: env(safe-area-inset-right);
}

/* Caption */

.fancybox-caption {
/*    background: linear-gradient(to top,
        rgba(255, 255, 255, .85) 0%,
        rgba(255, 255, 255, .3) 50%,
        rgba(255, 255, 255, .15) 65%,
        rgba(255, 255, 255, .075) 75.5%,
        rgba(255, 255, 255, .037) 82.85%,
        rgba(255, 255, 255, .019) 88%,
        rgba(255, 255, 255, 0) 100%);*/
    background-color: rgba(255, 255, 255, 0.8);
    bottom: 0;
    color: inherit;
    font-size: 14px;
    font-weight: 400;
    left: 0;
    line-height: 1.5;
    padding: 75px 44px 25px 44px;
    pointer-events: none;
    right: 0;
    text-align: center;
    z-index: 99996;
}

@supports (padding: max(0px)) {
    .fancybox-caption {
        padding: max(25px, env(safe-area-inset-bottom)) max(44px, env(safe-area-inset-right));
    }
}

.fancybox-caption--separate {
    margin-top: -50px;
}

.fancybox-caption__body {
    max-height: 50vh;
    overflow: auto;
    pointer-events: all;
    /*font-family: 'Formular', 'Open Sans', 'Helvetica Neue', 'Arial', sans-serif;*/
    font-size: 1.2em;
}

.fancybox-caption a,
.fancybox-caption a:link,
.fancybox-caption a:visited {
    color: #ccc;
    text-decoration: none;
}

.fancybox-caption a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Loading indicator */

.fancybox-loading {
    animation: fancybox-rotate 1s linear infinite;
    background: transparent;
    border: 4px solid #888;
    border-bottom-color: #fff;
    border-radius: 50%;
    height: 50px;
    left: 50%;
    margin: -25px 0 0 -25px;
    opacity: .7;
    padding: 0;
    position: absolute;
    top: 50%;
    width: 50px;
    z-index: 99999;
}

@keyframes fancybox-rotate {
    100% {
        transform: rotate(360deg);
    }
}

/* Transition effects */

.fancybox-animated {
    transition-timing-function: cubic-bezier(0, 0, .25, 1);
}

/* transitionEffect: slide */

.fancybox-fx-slide.fancybox-slide--previous {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
}

.fancybox-fx-slide.fancybox-slide--next {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
}

.fancybox-fx-slide.fancybox-slide--current {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* transitionEffect: fade */

.fancybox-fx-fade.fancybox-slide--previous,
.fancybox-fx-fade.fancybox-slide--next {
    opacity: 0;
    transition-timing-function: cubic-bezier(.19, 1, .22, 1);
}

.fancybox-fx-fade.fancybox-slide--current {
    opacity: 1;
}

/* transitionEffect: zoom-in-out */

.fancybox-fx-zoom-in-out.fancybox-slide--previous {
    opacity: 0;
    transform: scale3d(1.5, 1.5, 1.5);
}

.fancybox-fx-zoom-in-out.fancybox-slide--next {
    opacity: 0;
    transform: scale3d(.5, .5, .5);
}

.fancybox-fx-zoom-in-out.fancybox-slide--current {
    opacity: 1;
    transform: scale3d(1, 1, 1);
}

/* transitionEffect: rotate */

.fancybox-fx-rotate.fancybox-slide--previous {
    opacity: 0;
    -ms-transform: rotate(-360deg);
    transform: rotate(-360deg);
}

.fancybox-fx-rotate.fancybox-slide--next {
    opacity: 0;
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
}

.fancybox-fx-rotate.fancybox-slide--current {
    opacity: 1;
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
}

/* transitionEffect: circular */

.fancybox-fx-circular.fancybox-slide--previous {
    opacity: 0;
    transform: scale3d(0, 0, 0) translate3d(-100%, 0, 0);
}

.fancybox-fx-circular.fancybox-slide--next {
    opacity: 0;
    transform: scale3d(0, 0, 0) translate3d(100%, 0, 0);
}

.fancybox-fx-circular.fancybox-slide--current {
    opacity: 1;
    transform: scale3d(1, 1, 1) translate3d(0, 0, 0);
}

/* transitionEffect: tube */

.fancybox-fx-tube.fancybox-slide--previous {
    transform: translate3d(-100%, 0, 0) scale(.1) skew(-10deg);
}

.fancybox-fx-tube.fancybox-slide--next {
    transform: translate3d(100%, 0, 0) scale(.1) skew(10deg);
}

.fancybox-fx-tube.fancybox-slide--current {
    transform: translate3d(0, 0, 0) scale(1);
}

/* Styling for Small-Screen Devices */
@media all and (max-height: 576px) {
    .fancybox-slide {
        padding-left: 6px;
        padding-right: 6px;
    }

    .fancybox-slide--image {
        padding: 6px 0;
    }

    .fancybox-close-small {
        right: -6px;
    }

    .fancybox-slide--image .fancybox-close-small {
        background: #4e4e4e;
        color: #f2f4f6;
        height: 36px;
        opacity: 1;
        padding: 6px;
        right: 0;
        top: 0;
        width: 36px;
    }

    .fancybox-caption {
        padding-left: 12px;
        padding-right: 12px;
    }

    @supports (padding: max(0px)) {
        .fancybox-caption {
            padding-left: max(12px, env(safe-area-inset-left));
            padding-right: max(12px, env(safe-area-inset-right));
        }
    }
}
/* Share */

.fancybox-share {
    background: #f4f4f4;
    border-radius: 3px;
    max-width: 90%;
    padding: 30px;
    text-align: center;
}

.fancybox-share h1 {
    color: #222;
    font-size: 35px;
    font-weight: 700;
    margin: 0 0 20px 0;
}

.fancybox-share p {
    margin: 0;
    padding: 0;
}

.fancybox-share__button {
    border: 0;
    border-radius: 3px;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    line-height: 40px;
    margin: 0 5px 10px 5px;
    min-width: 130px;
    padding: 0 15px;
    text-decoration: none;
    transition: all .2s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    white-space: nowrap;
}

.fancybox-share__button:visited,
.fancybox-share__button:link {
    color: #fff;
}

.fancybox-share__button:hover {
    text-decoration: none;
}

.fancybox-share__button--fb {
    background: #3b5998;
}

.fancybox-share__button--fb:hover {
    background: #344e86;
}

.fancybox-share__button--pt {
    background: #bd081d;
}

.fancybox-share__button--pt:hover {
    background: #aa0719;
}

.fancybox-share__button--tw {
    background: #1da1f2;
}

.fancybox-share__button--tw:hover {
    background: #0d95e8;
}

.fancybox-share__button svg {
    height: 25px;
    margin-right: 7px;
    position: relative;
    top: -1px;
    vertical-align: middle;
    width: 25px;
}

.fancybox-share__button svg path {
    fill: #fff;
}

.fancybox-share__input {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #d7d7d7;
    border-radius: 0;
    color: #5d5b5b;
    font-size: 14px;
    margin: 10px 0 0 0;
    outline: none;
    padding: 10px 15px;
    width: 100%;
}
/* Thumbs */

.fancybox-thumbs {
    background: #ddd;
    bottom: 0;
    display: none;
    margin: 0;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    padding: 2px 2px 4px 2px;
    position: absolute;
    right: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    top: 0;
    width: 212px;
    z-index: 99995;
}

.fancybox-thumbs-x {
    overflow-x: auto;
    overflow-y: hidden;
}

.fancybox-show-thumbs .fancybox-thumbs {
    display: block;
}

.fancybox-show-thumbs .fancybox-inner {
    right: 212px;
}

.fancybox-thumbs__list {
    font-size: 0;
    height: 100%;
    list-style: none;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0;
    position: absolute;
    position: relative;
    white-space: nowrap;
    width: 100%;
}

.fancybox-thumbs-x .fancybox-thumbs__list {
    overflow: hidden;
}

.fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar {
    width: 7px;
}

.fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
}

.fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 10px;
}

.fancybox-thumbs__list a {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-color: rgba(0, 0, 0, .1);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
    float: left;
    height: 75px;
    margin: 2px;
    max-height: calc(100% - 8px);
    max-width: calc(50% - 4px);
    outline: none;
    overflow: hidden;
    padding: 0;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    width: 100px;
}

.fancybox-thumbs__list a::before {
    border: 6px solid #ff5268;
    bottom: 0;
    content: '';
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: all .2s cubic-bezier(.25, .46, .45, .94);
    z-index: 99991;
}

.fancybox-thumbs__list a:focus::before {
    opacity: .5;
}

.fancybox-thumbs__list a.fancybox-thumbs-active::before {
    opacity: 1;
}

/* Styling for Small-Screen Devices */
@media all and (max-width: 576px) {
    .fancybox-thumbs {
        width: 110px;
    }

    .fancybox-show-thumbs .fancybox-inner {
        right: 110px;
    }

    .fancybox-thumbs__list a {
        max-width: calc(100% - 10px);
    }
}


/************************************* End jQuery Fancybox CSS ******************************************/

/********* Lite Youtube *********/
lite-youtube {
    background-color: #222;
    position: relative;
    display: block;
    contain: content;
    background-position: center center;
    background-size: cover;
    cursor: pointer;
/*    max-width: 720px;*/
}

/* gradient */
lite-youtube::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADGCAYAAAAT+OqFAAAAdklEQVQoz42QQQ7AIAgEF/T/D+kbq/RWAlnQyyazA4aoAB4FsBSA/bFjuF1EOL7VbrIrBuusmrt4ZZORfb6ehbWdnRHEIiITaEUKa5EJqUakRSaEYBJSCY2dEstQY7AuxahwXFrvZmWl2rh4JZ07z9dLtesfNj5q0FU3A5ObbwAAAABJRU5ErkJggg==);
    background-position: top;
    background-repeat: repeat-x;
    height: 90px;
    padding-bottom: 50px;
    width: 100%;
    transition: all 0.2s cubic-bezier(0, 0, 0.2, 1);
}

/* responsive iframe with a 16:9 aspect ratio
    thanks https://css-tricks.com/responsive-iframes/
*/
lite-youtube::after {
    content: "";
    display: block;
    padding-bottom: calc(100% / (16 / 9));
}
lite-youtube > iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: 0;
}

/* play button */
lite-youtube > .lty-playbtn {
    display: block;
    width: 68px;
    height: 48px;
    position: absolute;
    cursor: pointer;
    transform: translate3d(-50%, -50%, 0);
    top: 50%;
    left: 50%;
    z-index: 1;
    background-color: transparent;
    /* YT's actual play button svg */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 68 48"><path d="M66.52 7.74c-.78-2.93-2.49-5.41-5.42-6.19C55.79.13 34 0 34 0S12.21.13 6.9 1.55c-2.93.78-4.63 3.26-5.42 6.19C.06 13.05 0 24 0 24s.06 10.95 1.48 16.26c.78 2.93 2.49 5.41 5.42 6.19C12.21 47.87 34 48 34 48s21.79-.13 27.1-1.55c2.93-.78 4.64-3.26 5.42-6.19C67.94 34.95 68 24 68 24s-.06-10.95-1.48-16.26z" fill="red"/><path d="M45 24 27 14v20" fill="white"/></svg>');
/*    filter: grayscale(100%);*/
    transition: filter .1s cubic-bezier(0, 0, 0.2, 1);
    border: none;
}

lite-youtube:hover > .lty-playbtn,
lite-youtube .lty-playbtn:focus {
    filter: none;
}

/* Post-click styles */
lite-youtube.lyt-activated {
    cursor: unset;
}
lite-youtube.lyt-activated::before,
lite-youtube.lyt-activated > .lty-playbtn {
    opacity: 0;
    pointer-events: none;
}

.lyt-visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }