* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: 'Jost';
    src: url(../fonts/Jost/static/Jost-Regular.ttf);
}
@font-face {
    font-family: 'Jost Bold';
    src: url(../fonts/Jost/static/Jost-Bold.ttf);
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Jost';
    background-color: #F0F0F0;
}

a {
    color: #354566;
    text-decoration: none;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    cursor: pointer;
}
a:visited {
    color: #354566;
}
a:hover {
    color: #1958aa;
}
.nav-link {
    padding: 6px 10px;
}

.element-animation {
    opacity: 0;
    transform: translateY(20px);
}

.element-animation.animation-fade-in {
    opacity: 1;
    transition: all 1s;
    transform: translateY(0%);
}
.menu-btn {
    display: none;
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background-color: #fff;
    padding: 12px 20px;
    box-shadow: 0 0 8px #cdcdcd;
}


.nav {
    list-style: none;
    display: flex;
    justify-content: space-between;
}
.nav .logo {
    width: 115px;
    transition: 0.4s;
    -moz-transition: 0.4s;
    -webkit-transition: 0.4s;
}
.logos {
    display: flex;
}
.nav .logo:hover {
    -webkit-transform: scale(.95);
    -moz-transform: scale(.95);
    -o-transform: scale(.95);
    transform: scale(.95);
}
.nav .links {
    text-transform: uppercase;
    display: flex;
    margin-top: auto;
    margin-bottom: auto;
    font-size: 16px;
}


@keyframes letter{
    0% {opacity: 0; transform: translateY(-15px)}
    100% {opacity: 1; transform: translateY(0px)}
  }
  
.inner-header .title span, .inner-header .title span {
    animation: letter 0.5s;
}


.header .title {
    letter-spacing: 2px;
    font-size:48px;
    color:#fff;
    font-weight: 800;
  }
.header p {
    text-align: justify;
    letter-spacing: 1px;
    color: rgb(241, 241, 241);
    font-size: 24px;
    background: rgba(33,114,158,0.7);
    padding: 12px 22px;
    border-radius: 18px;
}
  
.header {
    position: relative;
    background-size: cover;
    background-position-x: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color:white;
    margin-top: -20px;
    height: 50vh;
    padding: 20% 0;
    padding-bottom: 30%;
}
  .pic-1 {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0),rgba(10, 10, 10, 0.3)),url(../img/main/entry-wide.jpg);
  }
  .pic-2 {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0),rgba(10, 10, 10, 0.3)),url(../img/main/side-building.jpg);
  }
  
  .header .inner-header {
    margin: 0;
    padding:0% 10%;
    
  }

  .wav {
    margin-top: -60px;
  }
  .wav .waves {
    position:relative;
    width: 100%;
    height:10vh;
    min-height:70px;
    max-height:400px;
}
  
  .header .content {
    position:relative;
    height:20vh;
    text-align:center;
    background-color: white;
  }
  
  /* Animation */
  .wav .parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
  }
  .wav .parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
  }
  .wav .parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
  }
  .wav .parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
  }
  .wav .parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
  }
  @keyframes move-forever {
    0% {
     transform: translate3d(-90px,0,0);
    }
    100% { 
      transform: translate3d(85px,0,0);
    }
  }
  /*Shrinking for mobile*/
  @media (max-width: 768px) {

    .wav .content {
      height:30vh;
    }
    .wav h1 {
      font-size:24px;
    }
  }

.absoluteError {
    z-index: 1001;
    position: absolute;
    max-width: 500px;
    height: 300px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    font-size: 40px;
    background-color: #ff8282;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 0 12px #ff8282;
}
.close-absoluteError {
    position: absolute;
    right: 12px;
    top: 12px;
}
.closer {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    transition: 1s;
    -o-transition: 1s;
    -webkit-transition: 1s;
    -moz-transition: 1s;
}

/* Payment form */

.payment-block .blocks {
    color: #fafafa;
    position: fixed;
    top: 130px;
    left: 0;
    display: flex;
    transform: translateX(-102%);
    transition: 0.3s;
    -moz-transition: 0.3s;
    -webkit-transition: 0.3s;
}
.payment-block form {
    padding: 12px 18px;
    padding-top: 32px;
    background-color: #354566;
    box-shadow: 0 0 6px #354566;
    border-bottom-right-radius: 14px;
    width: 300px;
}

.payment-block form h3 {
    margin-bottom: 12px;
    text-align: center;
    line-height: 1.3;
}

.payment-block .product .title {
    border-left: 1px solid #fafafa;
    padding-left: 6px;
}

/* .payment-block .title-payment {
    padding: 6px;
    height: 100%;
    box-shadow: 0 0 6px #354566;
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
    background-color: #354566;
    -moz-transition: 0.3s;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    cursor: pointer;
}
.payment-block .title-payment:hover {
    box-shadow: 0 0 8px #354566;
} */
.turn-payment-form {
    transform: translateX(0) !important;
}
.close-menu {
    display: none;
}
.close-form {
    position: relative;
    top: 8px;
    right: 32px;
}
.close {
    padding-top:1px;
    padding-left:7px;
    padding-right:7px;
    border: 1px solid #fff;
    color: #fff;
    cursor: pointer;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}
.close:hover {
    color: #ff3d3d;
    border-color: #ff3d3d;
}
.payment-block form .price {
    text-align: right;
}

form .group {
    margin: 12px 0;
}
form label {
    font-size: 18px;
    color: #fff;
}
form .group input {
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 3px;
    border: 0;
    width: 90%;
}


.line-between-blocks {
    height: 32px;
    width: 100%;
    background-color:#354566;
}
.line-between-blocks-thin {
    height: 15px;
    width: 100%;
    background-color:#354566ce;
}

.main-pic-1 {
    background:url(../img/main/entry-wide.jpg) no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}
.main-pic-2 {
    background:url(../img/main/side-building.jpg) no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}
.main-page .title {
    padding-left: auto;
    padding-right: auto;
    margin: auto;
    max-width: 70%;
    padding-top: 120px;
    color: #fff;
    font-size: 40px;
    text-shadow: 0 0 3px #354566;
}
/* Services */
.content {
    margin-top: 64px;
}
.content .services {
    margin: 0 auto;
    padding: 64px 0;
}
.content .services .service {
    margin: auto 200px 200px auto;
}
.content .services .service:last-child {
    margin-bottom: 12px;
}
.content .services .service img {
    z-index: 1;
    opacity: 0;
    transform: translateX(-40%);
    -webkit-transform: translateX(-40%);
    -moz-transform: translateX(-40%);
    -o-transform: translateX(-40%);
    border: 1px solid rgba(33,114,158,0.7);
    border-left: 0;
    box-shadow: 0px 1px 12px rgba(0, 0, 0, 0.705);
    border-top-right-radius: 32px;
    border-bottom-right-radius: 32px;
    max-width: 100%;
}

.content .services .service .context {
    z-index: 2;
    opacity: 0;
    position: absolute;
    transform: translateX(-20%);
    -webkit-transform: translateX(-20%);
    -moz-transform: translateX(-20%);
    -o-transform: translateX(-20%);
    color: #fff;
    background-color: rgba(33, 114, 158, 0.836);

    box-shadow: 0px 1px 12px rgba(0, 0, 0, 0.705);
    border: 1px solid rgba(33,114,158,0.7);
    border-radius: 32px;
    margin-top: -80px;
    margin-left: 350px;
    margin-right: 10px;
    padding: 30px 20px;
}
.content .services .service .context p {
    font-size: 18px;
    margin: 0;
    text-align: justify;
}
.content .services .service .context p::first-letter {
    font-size: 150%;
    color: #04B5E8;
    font-weight: 800;
}

/* Map */
.map {
    z-index: 1;
    opacity: 0;
    padding: 0 auto;
    background: url(../img/gmap-bg.jpg) no-repeat;
    background-position: center;
    background-size: cover;
}
.map .map-posit {
    width: 60%;
    padding-top: 130px;
    padding-bottom: 150px;
    margin: 12px auto;
    margin-bottom: 0;
}
.map iframe {
    border: 1px solid rgba(33,114,158,0.7);
    box-shadow: 0 3px 12px #8a8a8a;
    border-radius: 12px;
}

/* Footer */
footer {
    position: fixed;
    z-index: 200;
    background-color: #354566;
    color: #fff;
    list-style-type: none;
    margin-top: 32px;
}
footer .nav {
    padding: 32px 0;
}
footer .title {
    font-size: 20px;
    font-weight: 400;
}
footer hr {
    width: 50px;
    margin-top: 4px;
    margin-bottom: 12px;
    color: #fff;
    border-top: 0;
}
footer .list {
    font-size: 16px;
}
footer .list li {
    margin: 2px 0;
    color: #e1e1e1;
}
footer .copyright {
    padding: 12px 0;
    text-align: center;
    background-color: #111111;
    position: fixed;
    width: 100%;
    bottom: 0;
}
.rules {
    max-width: 1024px;
    margin: 0 auto;
    margin-top: 50px;
}
.rules_heading {
    font-size: 24px;
}
.rules_list {
    list-style-type: none;
    font-size: 18px;
}
.rule_fa {
    color: #04B5E8;
}
/* Timetable page */
table {
    /*   border: 1px solid #ccc; */
    border-collapse: collapse;
    margin: 0 auto;
    padding: 0;
    width: 80%;
    table-layout: fixed;
    margin-top: 12px;
    margin-bottom: 32px;
}
    
table caption {
    font-size: 42px;
    font-weight:700;
    color:#00000090;
    padding: 15px;
}
    
table tr {
    background-color: #ffffff90;
    border: 1px solid #ddd;
}
.thead{
    background-color: rgb(67 56 202);
    color:#fff;
}
    
table th,
table td {
    padding: 18px 18px;
    text-align: center;
}
    
table th {
    font-size: 18px;
    letter-spacing: .1em;
    text-transform: capitalize;
}
table td {
    font-size: 15px;
}
table .time span {
    display: block;
}

/* Pool map On timetable page */
.pool-map {
    max-width: 768px;
    margin-top: 32px;
    margin-bottom: 32px;
}
.pool-map .context {
    z-index: 1;
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}
.pool-map .title {
    font-size: 18px;
}
.pool-map img {
    border: 1px solid #354566;
    border-radius: 12px;
    padding: 24px 12px;
}

.ticketId_hide {
    display: none;
}

.news_page {    
    margin-top: 30px;
    margin-bottom: 60px;
}
.block_default {
    background-color: #fff;
    border-radius: 12px;
    color: #354566;
}
.news_page_title {
    text-transform: uppercase;
    text-align: center;
    font-size: 32px;
    font-family: 'Jost Bold';
    padding: 20px 0;
    margin-bottom: 16px;
    position: relative;
}
.redirect_back {
    position: absolute;
    left: 18px;
    font-size: 16px;
    border-radius: 12px;
    color: #fff !important;
    padding: 10px 16px;
    background-color: rgba(0, 177, 209, .5);
    display: flex;
    align-items: center;
    -webkit-transition: .6s;
    -moz-transition: .6s;
    -o-transition: .6s;
    transition: .6s;
    font-family: 'Jost';
    box-shadow: 0 0 6px #0000000d;
}
.redirect_back:hover {
    box-shadow: 0 0 12px #00000075;

}
.redirect_back_arrow_details::before {
    display: block;
    content: "";
    width: 15px;
    height: 3px;
    background-color: #fff;
    border-radius: 12px;
    transform: rotate(-45deg);
    margin-bottom: 6px;
    margin-right: 10px;
}
.redirect_back_arrow_details::after {
    display: block;
    content: "";
    width: 15px;
    height: 3px;
    background-color: #fff;
    border-radius: 12px;
    transform: rotate(45deg);
    margin-top: 6px;
    margin-right: 10px;
}
.news_total_blocks {
    display: flex;
}
.news_blocks {
    width: 100%;
    margin-right: 16px;
}
.news_block {
    padding: 32px 26px;
    margin-bottom: 32px;
}
.news_block_heading {
    font-size: 20px;
    font-family: 'Jost Bold';
    margin-bottom: 12px;
}
/* Details - views, publish */
.news_block_details {
    display: flex;
    font-size: 13px;
}
.news_views {
    margin-right: 20px;
}

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
    /* overflow: hidden;
    max-height: 350px; */
    text-align: center;
  }
  .slider_img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Next & previous buttons */
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
  }
  
  /* Caption text */
  .text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }  
  
  /* Fading animation */
  .fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @keyframes fade {
    from {opacity: 0} 
    to {opacity: 1}
  }
  
.d-none {
    display: none !important;
}


.img_slider_arrow {
    z-index: 1;
    position: absolute;
    display: flex;
    width: 70px;
    height: 100px;
    background-color: rgba(0, 177, 209, .5);
    border-radius: 12px;
    align-items: center;
    cursor: pointer;
    justify-content: center;
    transition: .4s;
}
.img_slider_arrow_details::before {
    margin-bottom: 20px;
    display: block;
    content: "";
    width: 50px;
    height: 10px;
    background-color: #fff;
    border-radius: 12px;
    transform: rotate(-45deg);
}
.img_slider_arrow_details::after {
    margin-top: 20px;
    display: block;
    content: "";
    width: 50px;
    height: 10px;
    background-color: #fff;
    border-radius: 12px;
    transform: rotate(45deg);
}
.img_slider_arrow:hover {
    background-color: rgba(0, 177, 209, .9);
    box-shadow: 0 0 6px #1111114e;
}
.img_slider_arrow_left {
    position: absolute;
    top: 0;
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
    left: 10px;
}
.img_slider_arrow_right {
    position: absolute;
    top: 0;
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
    right: 10px;
    transform: rotate(180deg);
}

.news_block_text {
    white-space: pre-line;
    margin-top: 20px;
    line-height: 29px;
    font-size: 20px;
    margin-bottom: 22.6px;
}

/* Visit btn start */
.news_visit_btn {
    text-transform: uppercase;
    padding: 10px 16px;
    display: inline-flex;
    border-width: 2px;
    font-family: 'Jost Bold';
}
.news_visit_btn_arrow {
    margin-top: auto;
    margin-bottom: auto;
    width: 20px;
    margin-left: 14px;
    position: relative;
    height: 3px;
    background-color: #4338CA;
    border-radius: 6px;
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
}
.news_visit_btn_arrow_details::before {
    position: absolute;
    display: block;
    margin-top: -3px;
    right: 0;
    content: "";
    width: 8px;
    transform: rotate(45deg);
    background-color: #4338CA;
    border-radius: 6px;
    height: 3px;
}
.news_visit_btn_arrow_details::after {
    position: absolute;
    display: block;
    margin-top: 3px;
    right: 0;
    content: "";
    width: 8px;
    transform: rotate(-45deg);
    background-color: #4338CA;
    border-radius: 6px;
    height: 3px;
}
.news_visit_btn:hover .news_visit_btn_arrow,
.news_visit_btn:active .news_visit_btn_arrow {
    background-color: #fff;
    transform: translateX(50px);
    opacity: 0;
}
.news_visit_btn:hover,
.news_visit_btn:active {
    padding-left: 32px;
    padding-right: 0px;
}
.news_visit_btn:focus {
    transform: scale(.95);
}
/* Visit btn end */

.show_others {
    display: none;
}
.side_news_block_list {
    max-width: 300px;
    min-width: 219px;
    padding: 27px 16px;
    position: sticky;
    height: 70vh;
    top: 150px;
}
.side_news_block_title {
    margin-bottom: 27px;
}
.side_news_title {
    font-size: 16px;
    font-family: 'Jost Bold';
    text-transform: uppercase;
}
.side_news_block_hr {
    height: 1px;
    width: 100%;
    background-color: #E3E3E3;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}
.side_news_block_item {
    margin-top: 10px;
    cursor: pointer;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}
.side_news_block_item:hover,
.side_news_block_item:hover .side_news_block_heading_link {
    color: #0474A2;
}
.side_news_block_item:hover .side_news_block_hr {
    background-color: #354566;
}
.side_news_block_item:hover {
    transform: scale(1.05) translateX(7px);
}
.side_news_block_heading_link {
    font-size: 14px;
}
.news_block_details {
    margin-top: 4px;
    margin-bottom: 9px;
}
.alert {
    z-index: 1000;
    position: absolute;
    width: 400px;
    border-radius: 12px;
    min-height: 100px;
    background-color: #CBFFFA;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    left: 0;right: 0;
    margin: auto;
    font-size: 20px;
    transition: .3s;
    -o-transition: .3s;
    -webkit-transition: .3s;
    -moz-transition: .3s;
}
.mess {
    margin-bottom: 12px;
    color: #111111;
}
#saveFile {
    border: 1px solid #0474A2;
    border-radius: 12px;
    background-color: #fff;
    padding: 6px 12px;
    box-shadow: inset 0 0 6px #0474A2;
    cursor: pointer;
    transition: .2s;
    -moz-transition: .2s;
    -webkit-transition: .2s;
    -o-transition: .2s;
    color: #0474A2;
    font-size: 16px;
    margin-top: 12px;
}
#saveFile:hover {
    box-shadow: inset 0 0 0;
}
.contacts-title-block {
    text-align: center;
    background-color: #0474A2;
    color: #fff;
    padding-top: 60px;
    padding-bottom: 60px;
    font-size: 30px;
}
.contacts-main {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 70px;
}
.contacts-main-title {
    font-size: 28px;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #0474A2;
}
.contacts-main-list-title {
    font-size: 24px;
    color: #0474A2;
}
.contacts-main-list {
    list-style: none;
}
.contacts-phones-list {
    list-style: none;
    margin-top: 12px;
}
.contacts-main-list-item {
    margin-top: 5px;
    font-size: 18px;
}
.contacts-phones {
    margin-top: 12px;
}
.contacts {
    margin-bottom: 50px;
}
.icon-title {
    display: flex;
    align-items: center;
}
.icon {
    width: 40px;
    margin-right: 12px;
}
.contacts-phones-list-item {
    font-size: 18px;
}


.contacts-main-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}
.contacts-main-title {
    margin-bottom: 0;
    color: #0474A2;
}
.input-container .input-group label {
    color: #0474A2;
}
.input-container .input-group {
    display: flex;
    flex-direction: column;
    margin-top: 12px;
}
.contacts-send-btn {
    display: flex;
    justify-content: center;
    border-radius: 6px;
    text-align: center;
    margin-top: 12px;
}

.input-container .input-group input,
.input-container .input-group textarea {
    width: 400px;
    padding: 12px;
    border: 1px solid #9ba6aa;
    border-radius: 6px;
    margin-top: 6px;
}
