/*-- Variables --*/
:root {
  --primary-font: 'Fira Sans', sans-serif;
  --secondary-font: 'Roboto', sans-serif;
  --font-awesome: 'story';
  --primary-color: #7e57c2;
  --primary-color-bg: #F8F9FF;
  --primary-bg-one: #BDEDFF;
  --primary-bg-two: #F7F8FF;
  --primary-bg-border: #f1f1f9;
  --primary-shade-one: #878EBA;
--primary-shade-two: #A7B1E8;
--primary-shade-three: #A8AABC;
--primary-shade-four: #9EA8DF;
--primary-shade-five: #BFA5A6;
--primary-color-text : #767ead;
  --secondary-color: #FF907D;
  --action-color: #FFC65E;
  --grey-dark-key: #000;
  --grey-dark-one: #121213;
  --grey-dark-two: #333;
  --grey-dark-three: #6B7074;
  --grey-dark-four: #444655;
  --grey-dark-five: #2B2B2B;
  --grey-dark-six: #cecece;
  --grey-dark-seven: #1a1a1a;
  --grey-dark-eight: #3f3f3f;
  --grey-mid: #C1C6C9;
  --grey-light-one: #D3D7DA;
  --grey-light-two: #e6e6e6;
  --grey-light-three: #F9F9F9;
  --border-color: #E6E6E6;
  --color-white: #fff;
  --color-success: #3EB75E;
  --color-warning: #FF8F3C;
  --color-info: #1BA2DB;
  --color-danger: #FF0003;
  --color-facebook: #3B5997;
  --color-twitter: #1BA1F2;
  --color-youtube: #ED4141;
  --color-linkedin: #0077B5;
  --color-pinterest: #E60022;
  --color-instagram: #C231A1;
  --color-vimeo: #00ADEF;
  --color-twitch: #6441A3;
  --color-green-one: #4CD965;
  --color-green-two: #3CD289;
  --color-green-three: #008079;
  --color-blue-one: #007AFF;
  --color-blue-two: #5AC8FA;
  --color-blue-three: #01ABF2;
  --color-blue-four: #4C8EBC;
  --color-red-one: #FF3A30;
  --color-red-two: #FF4F00;
  --color-purple-one: #5856D5;
  --color-purple-two: #CA9CF4;
  --color-yellow-one: #FFD400;
  --color-yellow-two: #FDE953;
  --color-blue-grey-one: #3F5573;
  --radius: 4px;
  --radius-big: 6px;
  --radius-small: 2px;
  --p-light: 300;
  --p-regular: 400;
  --p-medium: 500;
  --p-semi-bold: 600;
  --p-bold: 700;
  --p-extra-bold: 800;
  --p-black: 900;
  --s-light: 300;
  --s-regular: 400;
  --s-medium: 500;
  --s-bold: 700;
  --s-black: 900;
  --shadow-light: 0 2px 6px 0 rgba(0, 0, 0, 0.05);
  --shadow-dark: 0 2px 6px 0 rgba(0, 0, 0, 0.2);
  --shadow-big: 0px 14px 30px rgb(0 0 0 / 10%);
  --shadow-full: 0 1px 8px 0 rgb(0 0 0 / 10%);
  --cubic-easing: cubic-bezier(0.86, 0, 0.07, 1);
}

html {
  font-size: 11px;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  position: relative;
  font-family: var(--primary-font);
  font-size: 1.6rem;
  line-height: 1.7;
  margin: 0;
  padding: 0;
  color: var(--grey-dark-two);
}
* {
  -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


.btn-default {
    font-size: 1.6rem;
    text-transform: uppercase;
    color: #fff;
    background: var(--primary-color);
    border-radius: 50px;
    padding: 10px 30px;
    letter-spacing: 2px;
    box-shadow: var(--shadow-light);
}
.btn-default:hover {
  background: var(--primary-shade-one);
  color: #fff;
  box-shadow: var(--shadow-dark);
}
.btn-default i {
  font-size: 1.2rem;
  position: relative;
  top: -2px;
  margin-right: 5px;
}
.py-6 {
    padding: 5rem 0;
}
@font-face {
  font-family: 'story';
  src: url('../fonts/story.eot?23835580');
  src: url('../fonts/story.eot?23835580#iefix') format('embedded-opentype'),
       url('../fonts/story.woff2?23835580') format('woff2'),
       url('../fonts/story.woff?23835580') format('woff'),
       url('../fonts/story.ttf?23835580') format('truetype'),
       url('../fonts/story.svg?23835580#story') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'story';
    src: url('../font/story.svg?23835580#story') format('svg');
  }
}
*/
 
 [class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "story";
  font-style: normal;
  font-weight: normal;
  speak: never;
 
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */
 
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
 
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;
 
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;
 
  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
 
  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
 
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
 
.icon-search:before { content: '\e800'; } /* '' */
.icon-location:before { content: '\e801'; } /* '' */
.icon-calendar:before { content: '\e802'; } /* '' */
.icon-phone:before { content: '\e803'; } /* '' */
.icon-writer:before { content: '\e804'; } /* '' */
.icon-author:before { content: '\e805'; } /* '' */
.icon-cancel:before { content: '\e806'; } /* '' */
.icon-down-open:before { content: '\e807'; } /* '' */
.icon-left-open:before { content: '\e808'; } /* '' */
.icon-right-open:before { content: '\e809'; } /* '' */
.icon-up-open:before { content: '\e80a'; } /* '' */
.icon-plus:before { content: '\e80b'; } /* '' */
.icon-minus:before { content: '\e80c'; } /* '' */
.icon-down-big:before { content: '\e80d'; } /* '' */
.icon-left-big:before { content: '\e80e'; } /* '' */
.icon-right-big:before { content: '\e80f'; } /* '' */
.icon-up-big:before { content: '\e810'; } /* '' */
.icon-spin2:before { content: '\e831'; } /* '' */
.icon-facebook:before { content: '\f09a'; } /* '' */
.icon-mail-alt:before { content: '\f0e0'; } /* '' */
.icon-linkedin:before { content: '\f0e1'; } /* '' */
.icon-angle-left:before { content: '\f104'; } /* '' */
.icon-angle-right:before { content: '\f105'; } /* '' */
.icon-angle-up:before { content: '\f106'; } /* '' */
.icon-angle-down:before { content: '\f107'; } /* '' */
.icon-youtube:before { content: '\f167'; } /* '' */
.icon-instagram:before { content: '\f16d'; } /* '' */
.icon-skype:before { content: '\f17e'; } /* '' */
.icon-sun:before { content: '\f185'; } /* '' */
.icon-vkontakte:before { content: '\f189'; } /* '' */
.icon-paper-plane:before { content: '\f1d8'; } /* '' */
.icon-whatsapp:before { content: '\f232'; } /* '' */
.icon-odnoklassniki:before { content: '\f263'; } /* '' */


.primary-color {color: var(--primary-color);}
.secondary-color {color: var(--secondary-color);}
.fw500 {font-weight: var(--p-medium)}


/* Preloader */
#preloader {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100%;
    z-index: 99999;
    display: flex
}

#preloader:before,
#preloader:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: -1;
    background-color: var(--primary-color-bg);
    -webkit-transition: all .3s ease 0s;
    -o-transition: all .3s ease 0s;
    transition: all .3s ease 0s
}

#preloader:after {
    left: auto;
    right: 0
}

#preloader .loader_line {
    margin: auto;
    width: 1px;
    height: 250px;
    position: relative;
    overflow: hidden;
    -webkit-transition: all .8s ease 0s;
    -o-transition: all .8s ease 0s;
    transition: all .8s ease 0s
}

.loader_line:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 0%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    background-color: var(--primary-color);
    -webkit-animation: lineheight 1000ms ease-in-out 0s forwards;
    -o-animation: lineheight 1000ms ease-in-out 0s forwards;
    animation: lineheight 1000ms ease-in-out 0s forwards
}

.loader_line:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background-color: #999;
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transform: translateY(-100%);
    -webkit-animation: lineround 1200ms linear 0s infinite;
    -o-animation: lineround 1200ms linear 0s infinite;
    animation: lineround 1200ms linear 0s infinite;
    animation-delay: 2000ms
}

@keyframes lineheight {
    0% {
        height: 0%
    }

    100% {
        height: 100%
    }
}

@keyframes lineround {
    0% {
        -webkit-transform: translateY(-100%);
        -ms-transform: translateY(-100%);
        -o-transform: translateY(-100%);
        transform: translateY(-100%)
    }

    100% {
        -webkit-transform: translateY(200%);
        -ms-transform: translateY(200%);
        -o-transform: translateY(200%);
        transform: translateY(200%)
    }
}

.preloaded .loader_line:after {
    opacity: 0
}

.preloaded .loader_line {
    opacity: 0;
    height: 100% !important
}

.preloaded:before,
.preloaded:after {
    -webkit-animation: preloadedzero 300ms ease-in-out 500ms forwards;
    -o-animation: preloadedzero 300ms ease-in-out 500ms forwards;
    animation: preloadedzero 300ms ease-in-out 500ms forwards
}

@keyframes preloadedzero {
    0% {
        width: 50%
    }

    100% {
        width: 0%
    }
}
/* header */
header {
    box-shadow: var(--shadow-light);
    min-height: 80px;
    position: relative;
    z-index: 99;
}
.navbar-light .navbar-nav li.nav-item {
  padding: 0 1.3rem;  
}
.navbar-light .navbar-nav li.nav-item a {
    color: var(--grey-dark-two);
    font-size: 1.4rem;
    font-weight: var(--s-medium);
    position: relative;
    display: inline-flex; 
    width: auto;
    white-space: nowrap;
    padding: .5rem 0;
}

.navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .show>.nav-link, .navbar-light .navbar-nav .nav-link:hover {
    background: none;
    color: var(--primary-color);
}

.navbar-light .navbar-nav li.nav-item a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: .2rem;
  background-color: currentColor;
  transition: all .5s;
}

.navbar-light .navbar-nav li.nav-item a:hover::before, .navbar-light .navbar-nav .nav-link.active::before {
  width: 100%;
}
.navbar-light .navbar-toggler {
    border: none;
    color: #000;
    font-size: 1.8rem;
    background: var(--grey-light-two);
}
.logo-text {
  text-transform: uppercase;
  margin-top: 3px;
}
.navbar-toggler:focus {box-shadow: none;}
@media (max-width: 991px) {
ul.navbar-nav {
    margin-top: 20px;
}
.navbar-light .navbar-nav li.nav-item {
    padding: 0 1.3rem;
    border-top: 1px solid #dee2e6;
}
.topmenu {
  display: block !important; 
  width: 100% 
}
}
@media (max-width: 450px) {
  button.navbar-toggler {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    margin: auto;
    background: var(--grey-light-two);
}
}


/* Hero */
#hero {
  width: 100%;
  min-height: 50vh;
  background-size: cover;
  background-position: 0 0;
  background-color: var(--primary-color-bg);
  position: relative;
}
.banner-content h1 {
    color: var(--grey-dark-eight);
    margin-bottom: 0;
    font-size: 8rem;
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: uppercase;
}
.banner-image {
    text-align: center;
    position: relative;
}
.banner-image img {
    height: 500px;
    border-radius: 4px;
    box-shadow:  var(--shadow-big);
}
.overlay-bg {
    background-image: url(../img/libs.jpg);
    background-repeat: no-repeat;
    background-position: right center;
    background-attachment: scroll;
    background-size: cover;
    border-style: solid;
    border-width: 0;
    background-clip: border-box;
    border-color: #ededed;
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 1px;
    border-left-width: 0px;
}
.overlay-bg:after {
    border-radius: inherit;
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    background-image: linear-gradient(90deg, var(--primary-color-bg) 65%, rgb(126 87 194 / 93%) 35%);
}
.hero-content h3 {
    font-size: 4rem;
    margin-bottom: 2rem;
}
.hero-content h4 {
    margin-bottom: 4rem;
    font-size: 2.5rem;
    font-style: italic;
    line-height: 4rem;
    color: var(--primary-color);
}
.hero-content {
    background-color: var(--primary-color-bg);
    padding: 20px;
}

.banner-content {
    margin: 20px 0;
}
.banner-content .btn {
  margin-top: 25px;
    transition: all .5s;
    position: relative;
    top: 0;
}
.banner-content .btn:hover {
  top: -5px;
}
.social ul, .social-footer ul {
    padding-left: 0;
    margin-bottom: 0;
    list-style-type: none;
}
.social ul li, .social-footer ul li {
    display: inline-block;
    margin-right: 5px;
}
.social ul li a, .social-footer ul li a {
    color: var(--grey-dark-eight);
    display: inline-block;
    position: relative;
    transition: all .5s;
    top: 0;
}
.social ul li a:hover, .social-footer ul li a:hover {
  color: var(--primary-color);
  top: -5px;
}
.social li a i{
font-size: 1.2rem;
}
.social li a{
    background: var(--primary-color);
    color: #fff !important;
    width: 28px;
    height: 28px;
    text-align: center;
    border-radius: 50%;
    line-height: 2.4rem;
}
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-size: 1.4rem;
    padding: .7rem 1.4rem;
}
@media (max-width: 991px) {
.banner-content {
    text-align: center;
}
.banner-image {
    margin: 0px auto 0;
}

.social {
        text-align: center;
}
.btn-primary {
    display: block;
    margin: 10px;
    padding: 1rem 2rem;
}
}
@media (max-width: 767px) {
  .banner-image img{
 max-width: 100%;
}
.banner-content h1 {
    font-size: 5rem;
}
.hero-content h3 {
    font-size: 2rem;
}
.hero-content h4 {
    font-size: 2rem;
    line-height: 3rem;
}
.banner-image img {
    height: auto
}
}
@media (min-width: 991px) and (max-width: 1350px){
    .social {display: none;}
}
.btn-hero {
    font-size: 2rem;    
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow:  var(--shadow-light);
}
.keys-content h2 {
    margin: 20px 0;
    color: var(--primary-color);
    font-size: 3rem;
    line-height: 4rem;
}
.keys-content h3 {
    font-size: 2rem;
}


/* blocks */
#pragrammy {
  padding: 40px 0;
}
a.bloki-inner {
    display: block;
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 40px;
    text-decoration: none;
    position: relative;
    top: 0;
    transition: all .5s;
    border-radius: var(--radius-big);
    height: 167px;
    overflow: hidden;
    box-shadow: 0px 1px 2px rgb(0 0 0 / 8%); 
    margin-bottom: 20px;
}
span.text {
    color: rgba(0,0,0,.8);
    font-size: 2rem;
    font-weight: 500;
    max-width: 360px;
    display: block;
    position: relative;
    z-index: 9;
}
a.bloki-inner:hover span {
    color:#fff;
}
a.bloki-inner:hover {
  top: -5px;
  background: var(--primary-color);
  box-shadow: 0 0 30px rgb(0 0 0 / 20%);
  border-color: var(--primary-color);
}
a.bloki-inner img {
    width: 150px;
    position: absolute;
    top: 7px;
    right: 10px;
    transition: all .1s;    
filter: invert(88%) sepia(14%) saturate(149%) hue-rotate(195deg) brightness(99%) contrast(93%);
    z-index: 8;
}
a.bloki-inner:hover img {
filter: invert(51%) sepia(51%) saturate(394%) hue-rotate(220deg) brightness(93%) contrast(99%);
}

/* zapis */
#zapis {
  background: var(--primary-color);
  padding: 60px 0;
  position: relative;
}
.zapis-logo {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 145px;
    height: 127px;
    background: url(../img/zapis-logo.svg) no-repeat center;
    z-index: 8;

}
#zapis .btn {
    font-size: 2rem;
    margin: auto;
    display: block;
    padding: 20px;
    border-radius: 6px;
    position: relative;
    z-index: 9;
    background: rgba(0,0,0,.2);
    border: 0;
}
#zapis .btn:hover, #zapis  .btn-check:focus+.btn-primary, #zapis .btn-primary:focus {
    background: rgba(0,0,0,.4);
}

.form-zapis {
  padding: 40px;
  text-align: center;
    max-width: 600px;
    margin: 30px auto 0;
  background: #fff;  
}


/* kursy */
#kursy {}
h3.section-title {
    text-align: center;
    font-size: 5rem;
}

#inner-header {
    padding: 4rem 0;
    background: var(--primary-color-bg);
}
.page-text p, .page-text li {
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

.page-featured {
    text-align: center;
    margin-bottom: 3rem;
}
.page-featured img {
    border-radius: 9px;
    box-shadow: 0px 14px 30px rgb(0 0 0 / 20%);
    position: relative;
    top: 0;
    transition: all .5s;
}
.page-featured img:hover {
    top: -5px;
    opacity: 0.8;
}

.masonry-layout .card {
    border-radius: 4px;
    box-shadow: var(--shadow-light);
    transition: all .5s;
    position: relative;
}
.masonry-layout .card:hover {
    box-shadow: var(--shadow-big);
    cursor: pointer;
}
.masonry-layout .card p {
font-size: 1.5rem;
}
.blockquote-footer {
    margin-top: 1rem;
    font-size: 1.3rem;
    text-align: right;
        font-weight: 700;
    color: var(--primary-color) !important;
}
.masonry-layout .card figure {
    position: relative;
    z-index: 9;
}
.masonry-layout .card figure:before {
    content: "“";
    position: absolute;
    font-size: 10rem;
    font-family: Georgia, serif;
    top: -35px;
    left: 10px;
    z-index: 1;
    color: var(--primary-bg-border);
}
.masonry-layout .card blockquote {
    position: relative;
    z-index: 99;
}
.cardbox {
    position: relative;
    box-shadow: var(--shadow-light);
    transition: all .5s;
    top: 0;
    
}
.cardbox:hover {
    box-shadow: var(--shadow-big);
    cursor: pointer;
    top: -5px;
    opacity: 0.8;
}

.cardbox a{
    overflow: hidden;
}
.cardbox h4 {
    position: absolute;
    bottom: -5px;
    color: #fff;
    padding: 40px 20px 20px;
    width: 100%;
    background: linear-gradient(to top,rgba(0,0,0,.85),transparent);
    font-size: 1.7rem;
    z-index: 9;
}
.cardbox img {
    object-fit: cover;
    width: 100%;
    height: auto;
    
}
.shade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.3);
    display: block;
    z-index: 1;
}

.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } 
.embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }


.form-zapis {
text-align: center;
}
.wrapForm {
    margin: auto;
}
#footer {
padding: 4rem;
border-top: 1px solid var(--border-color);
}
.footer-top {
padding-bottom: 2rem;
}
.footer-top a {
justify-content: center;

}
.footer-top span {
font-size: 1.8rem !important;
}
.social-footer {
    margin: 25px 0;
    text-align: center;
}
.social-footer li a i{
font-size: 1.4rem;
}
p.sert {
    font-size: 1.3rem;
    text-align: center;
}
.footer-bottom {
    background: var(--primary-color-bg);
    padding: 1.7rem;
    font-size: 1.2rem;
    border-top: 1px solid var(--border-color);
}
.footer-bottom p {margin: 0;}
.footer-bottom a, .page-text a {
    text-decoration: none;
     position: relative;
    display: inline-flex; 
    width: auto;
    white-space: nowrap;
}
.footer-bottom a::before, .page-text a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: .1rem;
  background-color: currentColor;
  transition: all .5s;
}

.footer-bottom a:hover::before, .page-text a:hover::before  {
  width: 100%;
}
.footer-bottom p.bank {
    text-align: right;
}
@media (max-width: 767px) {
    .footer-bottom, .footer-bottom p.bank {text-align: center;}
}

.success {
    margin-bottom: 40px;
    text-align: center;
}
.stext {
    text-align: center;
    margin-top: 20px;
}

.pdev_ftd {
    text-align: center;
    background: var(--primary-color-bg);
    padding: 40px;
}
.pdev_ftd h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--primary-color);
}
.pdev_ftd a {
    font-size: 2rem;
    display: block;
}
.page-text .pdev_ftd a::before {
content: none;
}