/*
Theme Name: Авторская тема
Description: Тема сайта для Wordpress
Author: Дмитрий Костерин
Author URI: https://dkosterin.ru
License URI: https://dkosterin.ru
Version: 5.0
License: Dmitry Kosterin
Tags: black, white
*/

:root {
  --color: #b0f07c;
  --color-l: #b0f07c;
  --color-s: #848484;
  --color-w: #ffffff;
  --color-b: #323232;
  --swiper-theme-color: #595151 !important;
}

html {
  background: var(--color-w);
  font-size: 17px;
  overflow-x: hidden;
}

body {
  background: linear-gradient(160deg, #FAFFAF 0%, white 70%);
	overflow: hidden;
	position: relative;
}

* {
  font-family: 'Nunito Sans', sans-serif;
}

p {
  color: var(--color-b);
  margin: 10px 0;
}

p a {
  color: var(--color-b);
  text-decoration: none;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  display: inline-block;
  cursor: pointer;
}

p a:hover {
  color: var(--color-b);
  text-decoration: none;
}

p a:after {
  display: block;
  content: "";
  height: 3px;
  width: 0%;
  background-color: var(--color-b);
  transition: width 0.4s ease-in-out;
}

p a:hover:after,
p a:focus:after {
  width: 100%;
}

h1 {
  font-size: 1.8rem;
  text-transform: uppercase;
  margin: 1.5em auto 1em auto;
  color: var(--color-b);
}

.header-bottom p {
  font-size: 1.5rem;
  text-transform: uppercase;
}

h2 {
  font-size: 2rem;
  text-transform: uppercase;
  margin: 1.5em auto 1em auto;
  text-align: center;
  color: var(--color-b);
}

h3 {
  font-size: 1.3rem;
  text-transform: uppercase;
  margin: calc(var(--mx) * 0.5) 0;
}

h4 {
  font-size: 1.2rem;
  margin: calc(var(--mx) * 0.5) 0;
}

h5 {
  font-size: 1.1rem;
  margin: calc(var(--mx) * 0.5) 0;
}

h6 {
  font-size: 1rem;
  margin: calc(var(--mx) * 0.5) 0;
}

hr {
  margin: 1em auto;
  width: 100px;
  color: var(--color-b);
	display: none;
}

iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  margin: 0.5em 0;
}

/* header */

.logo-header {
  position: relative;
}

.title-header {
  position: absolute;
  display: flex;
  height: 100%;
}

.title-header-top {
  font-size: 7rem;
  font-family: 'Bad Script', cursive;
  position: relative;
  padding: 0;
  margin: 0;
  left: 38%;
  top: 35%;
}

.title-header-bottom {
  font-size: 6rem;
  font-family: 'Bad Script', cursive;
  position: relative;
  padding: 0;
  margin: 0;
  left: 57%;
  top: 72%;
  letter-spacing: 10px;
}

.info-header {
  position: absolute;
  font-size: 1.3rem;
  left: 2em;
  top: 2em;
  color: var(--color-b);
  z-index: 1;
  font-weight: bold;
  max-width: 600px;
}

.info-header i {
    margin-right: 10px;
    filter: drop-shadow(0px 1px 2px black);
    color: white;
}

/* hamburger */

.hamb {
  position: absolute;
  width: 90px;
  top: 2em;
  z-index: 100;
  cursor: pointer;
  transition: transform 0.5s;
  user-select: none;
  right: 0;
}

.hamb~.menu-bg {
  background: var(--color-b);
}

.hamb path {
  fill: none;
  stroke: var(--color);
  stroke-width: 6;
  stroke-linecap: round;
}

.hamb.active path {
  stroke: var(--color-w);
}

.hamb.active {
  transform: rotate(180deg);
}

.hamb .top {
  stroke-dasharray: 40 82;
}

.hamb .bottom {
  stroke-dasharray: 40 82;
}

.hamb.active .top {
  stroke-dasharray: 14 82;
  stroke-dashoffset: -72px;
}

.hamb.active .bottom {
  stroke-dasharray: 14 82;
  stroke-dashoffset: -72px;
}


.bookacti-form-field-type-quantity {
	display: none;
}

.bookacti-calendar-title.bookacti-booking-system-title {
    font-size: 1.8em;
    text-align: center;
}

.bookacti-submit-form {
    background-color: #1b252e;
    color: var(--color-w);
    border-radius: 0.25em;
    display: inline-block;
    font-size: 1em;
    font-weight: 400;
    line-height: 1.5;
    padding: 0.4em 0.65em;
    text-align: center;
    user-select: none;
    vertical-align: middle;
}

.bookacti-picked-events {
    font-size: 1.2em;
}

button.arm-df__form-control-submit-btn.arm-df__form-group_button.arm-waves-effect.arm-waves-lightarm-df__form-control_230.arm_material_input.arm_cl_submit_.arm-df__form-control_230 {
    background: var(--color-b);
    border: var(--color-b);
}

/* form */


.form {
  display: flex;
  justify-content: left;
  flex-wrap: wrap;
margin-top: 20px;
}

.form>div {
  background: linear-gradient(302deg, #fefee8, var(--color));
  border-radius: 15px;
  padding: 120px 0 0 20px;
  width: 90%;
  left: 10%;
  position: relative;
  overflow: hidden;
  box-shadow: 3px 3px #323232;
}

.form>h2 {
  width: auto;
  position: relative;
  top: 100px;
  background: var(--color-b);
  color: var(--color-w);
  text-align: left;
  padding: 10px 20px;
  font-size: 1.5rem;
  margin: 0;
  border-radius: 10px;
  z-index: 10;
}

.form img {
  width: auto;
  margin: 0 -50px 0 0;
  padding: 0;
  bottom: 0;
  position: absolute;
  right: 0;
  height: 100%;
  max-height: 700px;
}

.form input {
  font-size: 1.1rem;
  margin-top: 2px;
  margin-bottom: 10px;
}

.form input[type="checkbox"] {
  filter: hue-rotate(300deg);
  margin-right: 5px;
}

.form-table {
  margin-top: 1em;
}

.form-table h2 {
  display: none;
}

.form-table td {
  padding: 10px;
}

.wpcf7-submit {
  background: var(--color-b);
  padding: 10px 20px;
  border-radius: 10px;
  color: var(--color-w);
  text-transform: uppercase;
}

.title-form {
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: bold;
}

.bookacti-logout-form-field-container {
    display: none;
}

/* table */

table {
  font-size: 0.8rem;
  border: 1px solid var(--color-b);
  padding: 10px;
  border-collapse: collapse;
  width: 100%;
}

table td {
  border: 1px solid var(--color-b);
  margin: 0;
  padding: 5px;
  text-align: center;
}

table td:first-child {
  text-align: left;
  font-weight: bold;
}

table th {
  border: 1px solid var(--color-b);
  margin: 0;
  padding: 5px;
}

/* main */

main {
  z-index: 1;
  position: relative;
}

article {
  margin: 1em 0;
}

aside {
  margin: 1em 0;
  color: var(--color);
  height: min-content;
}

.content {
  margin-top: 2em;
}

.post ul {
  justify-content: center;
}

.post li {
  margin-bottom: 2em;
}

.post li>div {
  background: var(--color-w);
  box-shadow: 24px 24px 80px rgba(0, 0, 0, 0.1);
  border-radius: 30px;
  margin: 0;
  padding: 0;
}

.post img {
  height: 400px;
  border-radius: 30px 30px 0 0;
  transition: 0.4s all ease;
}

.post div {
  color: var(--color);
  padding: 1em;
}

.post span {
  height: 50px;
  font-size: 1.1rem;
  opacity: 1;
  display: flex;
  align-items: center;
  color: var(--color-l);
  transition: 0.5s all ease;
}

.post li a:hover img {
  height: 450px;
}

.post li a:hover span {
  height: 0px;
  opacity: 0;
}

.post ul.gallery {
  display: none;
}

.post a:visited {
  color: var(--color);
}

.gallery {
  margin-top: 2em;
  justify-content: center;
}

.gallery-item img {
  height: auto;
  margin-bottom: 1em;
}

.content-block > div {
    text-align: center;
}

.content-block {
    margin-top: 2em;
}

.content-block > div > div {
    height: 60px;
    width: 60px;
    background: var(--color);
    border-radius: 100px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-block i {
    font-size: 4rem;
	    color: var(--color-b);
}

.content-block h2 {
    margin: 0em auto 0.5em auto;
}

form.wpcf7-form.init {
    padding-bottom: 20px;
}

/* footer */

.podval {
  text-align: center;
  justify-content: center;
  color: var(--color-w);
    padding: 0 20px;
  align-items: end;
  min-height: 200px;
}

.podval section {
  position: relative;
}

.podval span {
  font-size: 1.3rem;
}

.footer-site {
  text-align: center;
}

.podval p {
  color: var(--color-b);
}

.podval a {
  color: var(--color-b);
}

.podval img {
  position: absolute;
  z-index: 0;
  filter: hue-rotate(332deg);
  opacity: 0.4;
}

.social {
  display: flex;
  justify-content: center;
}

.social a {
  width: 40px;
  height: 40px;
  display: flex;
  font-size: 1.5rem;
  margin: 0.2em;
}

.register a {
    color: var(--color-w);
    background: var(--color-b);
    padding: 5px 15px;
    margin-bottom: 10px;
    border-radius: 7px;
    text-align: center;
    width: fit-content;
    display: inline-block;
    margin-right: 20px;
    font-size: 1.5em;
}

.bookacti-column-title-booking_id {
    display: none !important;
}

.bookacti-column-title-events {
    display: none !important;
}

th.bookacti-column-events:before {
    content: "Время и дата занятий";
    display: block;
}

.bookacti-user-booking-list-table td:before {
    content: "";
}

th.bookacti-column-quantity {
    display: none;
}

td.bookacti-column-quantity {
    display: none;
}

.bookacti-column-title-status {
    display: none;
}

.bookacti-column-title-actions {
    display: none;
}

.bookacti-booking-status label {
    display: none !important;
}

a.bookacti-booking-action {
    font-weight: bold  !important;
    text-transform: uppercase  !important;
	color: red !important;
}

/* mobile */

@media (max-width: 1400px) {
  .title-header-top {
    font-size: 6rem;
    left: 40%;
    top: 40%;
  }

  .title-header-bottom {
    font-size: 5rem;
    left: 53%;
    top: 72%;
  }

  .info-header {
    max-width: 400px;
  }
}

@media (max-width: 1200px) {
  .title-header-top {
    font-size: 5rem;
    left: 41%;
    top: 40%;
  }
}

@media (max-width: 992px) {
  html {
    font-size: 16px;
  }

  .title-header-top {
    font-size: 4rem;
    left: 41%;
    top: 39%;
  }

  .title-header-bottom {
    font-size: 4rem;
  }

  .info-header {
    max-width: 300px;
    font-size: 1.1rem;
  }

  .form img {
    margin: 0 -80px 0 0;
    max-height: 500px;
  }
	.fc-header-toolbar {
    flex-wrap: wrap;
    justify-content: center !important;
}
	.fc-toolbar-chunk {
    padding: 10px;
}
}

@media screen and (max-width: 782px) {
td.bookacti-column-events:before {
    content: "Дата и время:" !important;
}
	
	td.bookacti-column-quantity {
    display: none !important;
}
	
	td.bookacti-column-status:before {
    content: "Забронировано" !important;
}
	span.bookacti-booking-status.bookacti-booking-status-booked label {
    display: none !important;
}
}


@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .hamb {
    width: 75px;
  }

  .title-header-top {
    font-size: 3rem;
  }

  .title-header-bottom {
    font-size: 2.5rem;
  }

  .form h2 {
    font-size: 1.2rem;
    top: 75px;
  }

  .form>div {
    padding: 90px 0 0 20px;
  }

  .form input {
    width: auto;
    max-width: 280px;
  }

  .form img {
    margin: 0 -150px 0 0;
    max-height: 450px;
  }

  .wpcf7-list-item {
    margin: 0 15px 5px 0 !important;
    width: max-content;
  }
}

@media (max-width: 576px) {
  .info-header {
    display: none !important;
  }

  .title-header-top {
    font-size: 4.5rem;
    left: 21%;
    top: -2%;
  }

  .title-header-bottom {
    left: 48%;
    top: 76%;
  }

  .form input {
    width: 100%;
    max-width: fit-content;
  }

  .form h2 {
    font-size: 1.1rem;
    top: 85px;
  }

  .form>div {
    padding: 100px 10px 0 10px;
    width: 90%;
    left: 5%;
    margin: 0;
  }

  .form img {
    display: none !important;
  }
}