﻿/*
Theme Name: PROFlex
Author: Dmitaur
Author URI: https://dmitaur.ru/
Description: Оформление сайта
Version: 2.0
*/


/* Start style block */

@import url('https://fonts.googleapis.com/css2?family=Yanone+Kaffeesatz:wght@200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@font-face { 
  font-family: 'agluc'; 
  src: url('fonts/agluc.woff2') format('woff2'), 
       url('fonts/agluc.ttf')  format('truetype'), /* Только если нужна поддержка старых Android, иначе закомментировать */ 
       url('fonts/agluc.woff') format('woff');
  font-family: 'charteritc'; 
  src: url('fonts/charteritc.woff2') format('woff2'), 
       url('fonts/charteritc.ttf')  format('truetype'), /* Только если нужна поддержка старых Android, иначе закомментировать */ 
       url('fonts/charteritc.woff') format('woff');
  font-family: 'm_brody'; 
  src: url('fonts/m_brody.woff2') format('woff2'), 
       url('fonts/m_brody.ttf')  format('truetype'), /* Только если нужна поддержка старых Android, иначе закомментировать */ 
}

*, *:after, *:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin:0;
	padding:0;
}

html, body {
  background-color: #fff;
  margin: 0;
  padding: 0;
  height: 100%;
  /*font-family: 'agluc', sans-serif;*/
  /*font-family: 'Yanone Kaffeesatz', sans-serif;*/
  font-family: 'Montserrat', sans-serif;
  background-image: url("img/body_main.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

#wrapper {
  width: 100%;
  position: relative;
  left: 0;
  right: 0;
  margin: 0 auto;
}

#masthead {
  height: auto;
  max-width: 1051px;
  left: 0;
  right: 0;
  margin: auto auto;
  position: relative;
}
#head {
  height: 447px;
  display: grid;
  grid-template-columns: 251px auto;
}
#logo {
  width: auto;
  height: auto;
}
#logo a {
  width: 200px;
  height: auto;
  display: flex;
}
#logo svg {
  height: auto;
  width: 252px;
  position: relative;
  z-index: 2;
}
#slider {
  width: auto;
  overflow: hidden;
  /*display: flex;
  justify-content: center;
  flex-direction: column;*/
}

#primary {
  display: grid;
  grid-template-columns: 200px auto;
  max-width: 1051px;
  left: 0;
  right: 0;
  margin: auto auto;
  position: relative;
}

#sidebar {
  text-align: center;
}
#sidebar ul {
  list-style: none;
}
.widget-title {
  padding: 5px;
  margin-bottom: 7px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 19px;
  color: #5bb2ce;
}
#futuretours li {
  margin-bottom: 10px;
}
#futuretours li a img {
  transition: all ease .2s;
  width: 150px;
  height: auto;
}
#futuretours li a:hover img {
  rotate: 3.5deg;
  filter: drop-shadow(2px 2px 10px #90d0e375);
}
#futuretours li a:hover .tour-title {
  font-size: 18px;
}
.tour-icon {
  position: relative;
}
.tour-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  color: #5bb2ce;
  margin: auto auto;
  transition: all ease .2s;
  text-shadow: 1px 1px 0px #ffffffb5, 2px 2px 3px #c4c4c4;
}
.xoxo {
    position: sticky;
    top: 30px;
}

.entry-content .one_half {
  position: relative;
  z-index: 2;
  text-shadow: 1px 1px 1px #fff;
  width: 62%;
}
.entry-content .one_half.last_column {
  position: relative;
  z-index: 1;
  width: 317px;
  text-align: center;
}
.naklon {
  rotate: 7deg;
  border-radius: 15px;
  height: auto;
  filter: brightness(150%);
  box-shadow: -15px -15px 56px #076ae89c, -1px 15px 56px #ce8c1f;
  position: relative;
  right: 21px;
  z-index: 1;
  margin-left: 61px;
  margin-bottom: 25px;
  width: 27%;
  float: right;
  top: 20px;
}
p {
  text-indent: 35px;
  margin: 10px 0;
  position: relative;
  z-index: 1;
  text-shadow: 1px 1px 2px #fff;
}
#paged {
  padding: 10px;
}

#pftteam {
  margin-top: 31px;
  display: inline-block;
}
#pftteam #title,
#pftexpectation #title,
#reviews #title,
#primfooter .widget-title,
h3 {
  display: block;
  text-align: center;
  font-size: 37px;
  font-weight: bold;
  color: #5bb2ce;
  text-transform: inherit;
  clear: both;
}
#pftteam #grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(333px, 1fr));
  position: relative;
}
#pftteam #item {
  text-align: center;
  margin: 10px;
  padding: 10px;
  position: relative;
  display: grid;
  /*grid-template-rows: 103px auto;*/
}
#pftteam #poster {
  position: relative;
  z-index: 2;
  left: 0;
  right: 0;
  margin: auto auto;
}
#pftteam #poster img {
  border-radius: 100%;
  outline: 7px solid #fff;
  width: 73%;
  height: auto;
}
#pftteam #item #cont {
  position: relative;
  background-color: #91d0e4;
  padding: 20px 20px 20px;
  z-index: 1;
  color: #fff;
  line-height: 25px;
  border-radius: 25px;
  font-size: 17px;
  font-weight: 600;
}
#pftteam #name {
  text-transform: uppercase;
  font-size: 35px;
  display: block;
  padding: 15px 0;
}
#pftexpectation #grid {
  display: grid;
  justify-content: center;
  margin-top: 15px;
  gap: 1em;
  grid-template-columns: repeat(auto-fill, minmax(325px, 1fr));
}
#pftexpectation #item {
  text-align: center;
  margin: 5px;
  padding: 10px;
  box-sizing: content-box;
  background-color: #def8ff;
  border-radius: 19px;
  border: 1px solid #81cbdf;
}
#pftexpectation #poster img {
  border-radius: 15px;
}
#pftexpectation #name {
  text-transform: uppercase;
  font-weight: 700;
  margin: 10px 0;
}
#pftexpectation #desc {
  line-height: 25px;
}

.content-column.full_width {
  background-color: #91d0e4;
  color: #fff;
  padding: 10px;
  margin-top: 20px;
  position: relative;
  float: inherit;
}
.content-column.full_width:before {
  content: "";
  background-image: url('img/bg.png)');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.3;
  position: absolute;
  z-index: 1;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
}
.content-column.full_width td:nth-child(2n+1) {
  width: 0px;
}
.content-column.full_width td:nth-child(2n) {
  background-color: #d1eaf4;
  color: #000;
  padding: 10px 29px;
  position: relative;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  width: 151px;
  border-radius: 10px;
}
.content-column.full_width td pre {
  position: absolute;
  background-color: #fff;
  width: 40px;
  height: 37px;
  font-size: 31px;
  left: -17px;
  top: -9px;
  text-align: right;
  border-radius: 100%;
  rotate: 11deg;
  font-weight: 600;
  color: #91d0e4;
  font-family: "Montserrat", serif;
  padding-right: 5px;
}
.content-column.full_width h4 {
  font-size: 29px;
  margin-top: 25px;
  margin-right: 25px;
  margin-bottom: 25px;
}
.content-column.full_width ul {
  padding-left: 21px;
  width: 90%;
  margin-left: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
  font-size: 13px;
  line-height: 27px;
}

#reviews {
  margin-top: 10px;
}
#reviews #cont {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(auto-fill, minmax(291px, 1fr));
}
#reviewscontainer {
  text-align: center;
  margin: 15px;
  background-color: #91d0e4;
  border-radius: 10px;
  position: relative;
  pointer-events: none;
  transition: all ease .2s;
  outline: 3px solid #fff;
}
#reviewscontainer:hover {
  outline: 3px solid #c2effd;
  border-radius: 10px;
  box-shadow: 2px 2px 12px #8c8c8c;
}
#reviewscontainer .thumbnail {
  height: 445px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
#reviewscontainer span {
  font-family: 'm_brody';
  color: #fff;
  position: absolute;
  left: 11px;
  top: 425px;
  font-size: 31px;
  opacity: 0;
  transition: all ease .2s;
}
#reviewscontainer:hover span {
  opacity: 1;
  text-shadow: 2px 1px 4px #000;
}
#reviewscontainer a {
  text-decoration: none;
  display: inline-block;
  height: 100%;
  transition: all ease .2s;
  pointer-events: auto;
  border-radius: 10px
}
#reviewscontainer a:hover {
  outline: 3px solid #c2effd;
  border-radius: 10px;
}
#reviewscontainer .title {
  line-height: 49px;
  font-family: 'm_brody';
  font-size: 43px;
  color: #fff;
  text-shadow: 1px 1px 0px #106986;
  padding-bottom: 5px;
}
#reviewscontainer .content {
  padding: 10px;
  color: #fff;
  font-size: 13px;
  line-height: 21px;
  margin-bottom: 15px;
}
#reviewscontainer .content p {
  font-size: 15px;
  text-shadow: none;
  font-weight: 600;
  text-indent: unset;
}
#reviewscontainer #videoreview {
  position: absolute;
  top: 425px;
  right: 0px;
  font-family: 'Yanone Kaffeesatz', sans-serif;
}
#reviewscontainer #videoreview a {
  background-color: #ffffff70;
  border-top-left-radius: 11px;
  padding-left: 15px;
  text-decoration: none;
  font-size: 17px;
  color: #fff;
  text-shadow: 1px 1px 5px #183c66;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  line-height: 33px;
  display: block;
  border-bottom-left-radius: 11px;
  padding-right: 5px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
#reviewscontainer #videoreview a:hover {
  box-shadow: 0px -2px 0px #183c66, 0px 2px 0px #fff;
  outline: none;
}
#reviewscontainer #videoreview a i {
  margin-left: 5px;
  background-color: #183c66;
  color: #fff;
  padding: 5px;
  border-radius: 15px;
  margin-top: 5px;
}
#sidebar-primaryfooter #content {
  max-width: 1050px;
  margin: auto auto;
  color: #5c5c5c;
  font-size: 1.5625rem;
  line-height: 2.3125rem;
  padding: 30px;
  text-transform: uppercase;
  font-weight: 600;
  text-shadow: 2px 2px 1px #fff;
}
#sidebar-primaryfooter .widget-title {
  text-shadow: none;
  margin-top: 25px;
  margin-bottom: 35px;
}
#primfooter li {
  list-style: none;
}
#primfooter #sidebar-primaryfooter {
  text-align: center;
  /*background-image: url(img/pic/15.jpg);*/
  background-size: cover;
  background-repeat: no-repeat;
  margin-top: 30px;
  background-color: #def8ff;
  border-bottom: 2px solid #86cde0;
  border-top: 2px solid #86cde0;
  padding-top: 15px;
}
#primfooter #futuretours .tour-title {
  font-size: 23px;
  bottom: 30px;
}
#primfooter #futuretours li a:hover .tour-title {
  font-size: 29px;
}
#primfooter #futuretours li {
  display: inline-block;
  margin: 0 10px 30px;
}
#primfooter #futuretours li .tour-icon img {
  width: 250px;
}
#primfooter {
}

#footer {
  text-align: center;
}
#footer .widget {
  display: inline-block;
  margin-bottom: 20px;
}
#copyright {
  background-color: #91d0e4;
  line-height: 35px;
  color: #fff;
  margin-top: 10px;
}
#footer .textwidget span {
  margin: 5px;
  display: inline-flex;
}
#footer .textwidget span a {
  text-decoration: none;
  color: #424242;
  border: 1px solid #91d0e4;
  padding: 5px 10px;
  border-radius: 5px;
}
#footer .textwidget span a:hover {
  background-color: #e3f8ff;
}

/* Страницы туров */

.single-tour #head {
  height: 355px;
  display: grid;
  grid-template-columns: 200px auto;
}
.single-tour #logo svg {
  height: auto;
  width: auto;
}
.single-tour #logo {
  width: 200px;
  height: auto;
  display: flex;
}
.single-tour #tourbranding {
  height: 355px;
  display: block;
  text-align: center;
  padding: 10px;
  align-content: center;
  background-size: cover;
  background-position: center;
  border-bottom: 5px solid #5bb2ce;
  position: relative;
  overflow: hidden;
}
.single-tour #tourbranding img {
  max-width: 400px;
  height: fit-content;
  filter: drop-shadow(0 0 5px #fff);
  -webkit-filter: drop-shadow(0 0 5px #fff);
  padding: 25px;
}
.single-tour #tourbranding video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tournavigation {
  display: none;
  margin-top: 20px;
  align-content: center;
  text-align: center;
  padding-top: 10px;
}
.tournavigation span {
  display: block;
  padding: 0 0 10px;
  text-transform: uppercase;
}
.tournavigation a {
  padding: 7px 13px;
  background-color: #deeff5;
  border-radius: 5px 5px 0 0;
  display: inline-block;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  color: #424242;
  font-size: 11px;
  margin: 0 2px;
}
.tournavigation a.current {
  background-color: #005f82;
  color: #fff;
}
.sticky {
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 999;
}
#tourinfobox {
  opacity: 0.9;
}
#tourinfo {
  background-color: #005f82;
  color: #fff;
  font-size: 15px;
  padding: 15px;
  text-align: right;
  text-shadow: 1px 1px 1px #000, 1px 1px 8px #104151;
  font-weight: 600;
  line-height: 25px;
  background-position: 7px 0px;
  background-size: 19%;
  background-blend-mode: normal;
  background-repeat: no-repeat;
}
#tourinfo span {
  font-size: 27px;
  padding-left: 10px;
}
h4 {
  text-transform: uppercase;
  font-size: 21px;
  color: #5bb2ce;
  margin: 25px 0;
  text-align: center;
  display: inline-block;
  line-height: 30px;
  width: 100%;
  white-space: normal;
}
h4 span {
  font-size: 31px;
  color: #246b82;
  margin: 0 5px;
  display: inline-block;
  vertical-align: bottom;
}
.opentour h4 span,
.closedtour h4 span.lastday {
  font-size: 11px;
  display: block;
  line-height: 21px;
  color: #107b9d;
  font-weight: 500;
}
.opentour h4 span span {
  display: inline;
  color: #fff;
  background-color: orange;
  padding: 2px 5px;
}
#tourplanbox h4 {
  margin-bottom: 0;
}
form p {
  text-indent: unset;
  display: inline-grid;
  gap: 1em;
  align-items: center;
  width: 100%;
  justify-content: center;
}
form p label {
  text-align: center;
}
form p input {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #186e8e;
  font-size: 20px;
  width: 100%;
}
form p input.acceptance {
  width: 21px;
  height: 21px;
  display: block;
}
form p .wpcf7-list-item {
  margin: 0;
}
form p .wpcf7-list-item label {
  display: grid;
  grid-template-columns: 31px auto;
}
form p .wpcf7-form-control.wpcf7-acceptance {
  display: flex;
  justify-content: center;
}

#tourplan {
  display: grid;
  grid-template-columns: repeat(auto-fill, 185px);
  grid-column-gap: 17px;
  grid-row-gap: 53px;
  justify-content: center;
  margin-top: 45px;
  margin-left: 20px;
  margin-bottom: 20px;
}
#tourplan .slide {
  width: 185px;
  height: 300px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 15px;
  border: 2px solid #186e8e;
  position: relative;
  color: #fff;
  text-shadow: 1px 1px 10px #000;
}
/*#tourplan .slide::after {
  content: "";
  width: 80px;
  height: 80px;
  display: block;
  position: absolute;
  top: -53px;
  left: -48px;
  background-image: url('img/arrow.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
#tourplan .slide:first-child::after {
  display: none;
}*/
#tourplan .slide:first-child::before {
  content: "";
  width: 80px;
  height: 80px;
  display: block;
  background-image: url('img/airplane.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transform: rotate(11deg);
  -webkit-transform: rotate(11deg);
  -moz-transform: rotate(11deg);
  -ms-transform: rotate(11deg);
  -o-transform: rotate(11deg);
  position: absolute;
  top: -57px;
  left: -47px;
  filter: drop-shadow(6px 4px 3px #00000061);
  -webkit-filter: drop-shadow(6px 4px 3px #00000061);
}
#tourplan .slide:last-child::before {
  content: "";
  width: 80px;
  height: 80px;
  display: block;
  background-image: url('img/airplane.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transform: rotate(-23deg);
  -webkit-transform: rotate(-23deg);
  -moz-transform: rotate(-23deg);
  -ms-transform: rotate(-23deg);
  -o-transform: rotate(-23deg);
  position: absolute;
  bottom: 19px;
  right: -39px;
  filter: drop-shadow(-6px 4px 3px #00000061);
  -webkit-filter: drop-shadow(-6px 4px 3px #00000061);
}
#tourplan .slide .data {
  background-color: #fff;
  padding: 5px 10px;
  margin-top: -12px;
  display: grid;
  justify-items: center;
  border-bottom: 2px solid #186e8e;
  border-left: 2px solid #186e8e;
  border-right: 2px solid #186e8e;
  border-radius: 0 0 10px 10px;
  margin-bottom: 12px;
  font-size: 17px;
  color: #186e8e;
  font-weight: 800;
  text-shadow: none;
}


/* For compact mode */
.fancybox__container.is-compact .fancybox__slide.my-iframe .fancybox__content {
  width: 75%;
  height: 90%;
}

/* For all other cases */
.fancybox__slide.my-iframe .fancybox__content {
  width: 800px;
  height: 600px;
  padding: 0;
  border-radius: 20px;
}

.grecaptcha-badge {
  z-index: 9;
}



/* media */
@supports (object-fit: cover) {

}
@media (width < 1052px) {
#sidebar-primaryfooter #content {
  font-size: 1em;
  line-height: 1.5em;
}

@media (max-width: 1500px) {
	
}

@media (max-width: 1140px) {
	
}

@media (max-width: 900px) {

}
@media (max-width: 768px) {
#primary {
  grid-template-columns: auto;
  padding: 0 20px;
}
#sidebar {
  display: none;
}
.tournavigation {
  display: block;
}
#tournavigationhome {
  padding-bottom: 15px;
}
#head {
  grid-template-columns: auto;
}
#slider {
  display: none;
}
#logo {
  display: flex;
  justify-content: center;
}

}
@media (max-width: 600px) {


}
@media (max-width: 640px) {
.single-tour #tourbranding img {
  width: 100%;
  height: -webkit-fill-available;
  height: auto;
}
.single-tour #tourbranding video {
  width: 100%;
  height: -webkit-fill-available;
  height: 100%;
}
#tourinfo {
  font-size: 13px;
  line-height: 21px;
  border-radius: 5px;
}
#tourinfo span {
  font-size: 23px;
}
	
}
@media (max-width: 450px) {
	
}
@media (max-width: 400px) {

}

/* fixing */
