/*

Known Template 

https://templatemo.com/tm-516-known

*/

  @import url('https://fonts.googleapis.com/css?family=Muli:300,700|Nunito');

  body {
    background: #ffffff;
    font-family: 'Nunito', sans-serif;
    overflow-x: hidden;
    padding-top: 70px;
  }


  /*---------------------------------------
     TYPOGRAPHY              
  -----------------------------------------*/

  h1,h2,h3,h4,h5,h6 {
    font-family: 'Muli', sans-serif;
    font-weight: bold;
    line-height: inherit;
  }

  h1 {
    color: #252525;
    font-size: 3em;
    line-height: normal;
  }

  h2 {
    color: #353535;
    font-size: 2em;
    padding-bottom: 10px;
  }

  h3 {
    font-size: 1.5em;
    margin-bottom: 0;
  }

  h3,
  h3 a {
    color: #454545;
  }

  p {
    color: #757575;
    font-size: 14px;
    font-weight: normal;
    line-height: 24px;
  }



  /*---------------------------------------
     GENERAL               
  -----------------------------------------*/

  html{
    -webkit-font-smoothing: antialiased;
  }

  a {
    color: #252525;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    text-decoration: none !important;
  }

  a,
  input, button,
  .form-control {
    -webkit-transition: 0.5s;
    transition: 0.5s;
  }

  a:hover, a:active, a:focus {
    color: #29ca8e;
    outline: none;
  }

  ::-webkit-scrollbar{
    width: 8px;
    height: 8px;
  }

  ::-webkit-scrollbar-thumb {
    cursor: pointer;
    background: #000000;
  }

  .section-title {
    padding-bottom: 40px;
    text-align: center;
  }

  .section-title h2 {
    margin: 0;
  }

  .section-title small {
    display: block;
  }

  .overlay {
    background: rgba(20,20,20,0.5);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .entry-form {
    background: #252020;
    border-radius: 100%;
    text-align: center;
    padding: 6em;
    width: 450px;
    height: 450px;
  }

  .entry-form h2 {
    color: #ffffff;
    margin: 0;
  }

  .entry-form .form-control {
    background: transparent;
    border: 0;
    border-bottom: 1px solid;
    border-radius: 0;
    box-shadow: none;
    height: 45px;
    margin: 10px 0;
  }

  .entry-form .submit-btn {
    background: #ffffff;
    border-radius: 50px;
    border: 0;
    color: #252020;
    width: 50%;
    height: 50px;
    margin: 30px auto;
    margin-bottom: 10px;
  }

  .entry-form .submit-btn:hover {
    background: #bc70cf;
    color: #ffffff;
  }

  section {
    position: relative;
    padding: 60px 0;
  }

  #team,
  #friends,
  #edukacja {
    background: #f9f9f9;
  }

  #team, 
  #testimonial {
    text-align: center;
  }
  
  #google-map iframe {
    border: 0;
    width: 100%;
    height: 390px;
  }



  /*---------------------------------------
     BUTTONS               
  -----------------------------------------*/

  .section-btn, .more {
    background: transparent;
    border-radius: 50px;
    border: 1px solid rgb(244,133,73, 0.5);
    color: rgb(244,133,73, 0.5);
    font-size: inherit;
    font-weight: normal;
    padding: 15px 30px;
    transition: all 0.5s ease-in;
    pointer-events: visible;
  }

  .section-btn:hover, .more:hover {
    background: rgb(244,133,73, 0.5);
    border-color: transparent;
    color:#333
  }

  .fiolet {
    color: rgb(188,112,207, 0.5);
    border: 1px solid rgb(188,112,207, 0.5);
    margin: 20px 0;
    margin-bottom: 7px;
  }
  
  .q-button {
    font-family: 'Muli', sans-serif;
    font-weight: bold;
    line-height: inherit;
    font-size: 16px;
    border: none;
    background-color:inherit;
    padding: 0;
    margin: 15px 0;
    display: block;
  }
    
  .fiolet:hover {
    background: rgb(188,112,207, 0.25);
  }

  .dark {
    color: #29ca8e;
    border: 1px solid #29ca8e;
    margin: 20px 0;
    margin-bottom: 7px;
  }

  .plus {
    color: #FFF;
    border: 1px solid #fff;
    margin: 20px 0;
    margin-bottom: 7px;
  }

  .minus {
    color: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.5);
    margin: 20px 0;
    margin-bottom: 7px
  }

  .dark:hover {
    background-color:#29ca8e;
    color: #333;
    border: 1px solid #29ca8e;
  }


  /*---------------------------------------
       PRE LOADER              
  -----------------------------------------*/

  .preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    background: none repeat scroll 0 0 #ffffff;
  }

  .spinner {
    border: 1px solid transparent;
    border-radius: 3px;
    position: relative;
  }

  .spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 45px;
    height: 45px;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;
    border: 1px solid #575757;
    border-top-color: #ffffff;
    animation: spinner .9s linear infinite;
  }

  @-webkit-@keyframes spinner {
    to {transform: rotate(360deg);}
  }

  @keyframes spinner {
    to {transform: rotate(360deg);}
  }



  /*---------------------------------------
      MENU              
  -----------------------------------------*/

  .custom-navbar {
    background: #ffffff;
    border-top: 5px solid #29ca8e;
    border-bottom: 0;
    -webkit-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    margin-bottom: 0;
    padding: 0;
  }

  .custom-navbar .navbar-brand {
    color: #454545;
    font-size: 18px;
    font-weight: bold;
    line-height: 40px;
  }

  .custom-navbar .navbar-nav.navbar-nav-first {
    margin-left: 3em;
  }

  .custom-navbar .navbar-nav.navbar-right li a {
    padding-right: 12px;
    padding-left: 12px;
  }

  .custom-navbar .navbar-nav.navbar-right li a .fa {
    background: #29ca8e;
    border-radius: 100%;
    color: #ffffff;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    display: inline-block;
    margin-right: 40px;
  }

  .custom-navbar .nav li a {
    line-height: 40px;
    color: #575757;
    padding-right: 10px;
    padding-left: 10px;
  }

  .custom-navbar .navbar-nav > li > a:hover,
  .custom-navbar .navbar-nav > li > a:focus {
    background-color: transparent;
  }

  .custom-navbar .nav li a:hover {
    background-color: #29ca8e;
    color: #ffffff;
  }

  .custom-navbar .nav li.active > a {
    background-color: #29ca8e;
    color: #ffffff;
  }

  .custom-navbar .navbar-toggle {
    border: none;
    padding-top: 10px;
  }

  .custom-navbar .navbar-toggle {
    background-color: transparent;
  }

  .custom-navbar .navbar-toggle .icon-bar {
    background: #252525;
    border-color: transparent;
  }

  #logon {
    height: 3%;
    width: 3%;
    box-sizing: border-box;
    float: left;
    padding: 0;
    margin: 2px 2px;
  }

  



  /*---------------------------------------
      HOME  & SLIDER            
  -----------------------------------------*/

  #home {
    padding: 0;
  }

  #home h1 {
    color: #ffffff;
  }

  #home h3 {
    color: #f9f9f9;
    font-size: 16px;
    font-weight: 300;
    margin: 0;
    padding: 5px 0 40px 0;
  }

  @media (min-width: 768px) {
    .home-slider .col-md-6 {
      padding-left: 0;
    }
  }

  .home-slider .caption {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: left;
    background-color: rgba(20,20,20,0.2);
    height: 100%;
    color: #fff;
    cursor: e-resize;
  }

  .home-slider .item {
    background-repeat: no-repeat;
    background-attachment: local;
    background-size: cover;
    height: 650px;
  }
  
  .caption h3 a { color: #FFF; }
  .caption h3 a:hover { color: #FF3; }

  .home-slider .item-first {
    background-image: url(../images/slider-image1.jpg);
	background-position: center;
  }

  .home-slider .item-second {
    background-image: url(../images/slider-image2.jpg);
  }

  .home-slider .item-third {
    background-image: url(../images/slider-image3.jpg);
  }



  /*---------------------------------------
      FEATURE              
  -----------------------------------------*/

  .therapy-row {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 25px;
    grid-row-gap: 5px;
    grid-template-areas:
    "hh ii jj"
    "kk kk kk"
    "ll ll ll"
    "mm mm mm"
    "nn oo pp"
    "rr rr rr"
    "ss ss ss"
    "tt tt tt";
  }

  #dpsych {
    grid-area: hh;
  }

  #dpsych-desc {
    grid-area: kk;
  }

  #duwag {
    grid-area: ii;
  }

  #duwag-desc {
    grid-area: ll;
  }

  #dmnri {
    grid-area: jj;
  }

  #dmnri-desc {
    grid-area: mm;
  }

  #dneuro {
    grid-area: nn;
  }

  #dneuro-desc {
    grid-area: rr;
  }

  #dlogo {
    grid-area: oo;
  }

  #dlogo-desc {
    grid-area: ss;
  }

  #dped {
    grid-area: pp;
  }

  #dped-desc {
    grid-area: tt;
  }
  
  .therapy-card {
    background-color: #FFF;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border: 1px solid #f0f0f0;
    padding: 2em 1em;
    min-height: fit-content;
  }

  .therapy-desc {
    border: 1px solid #f0f0f0;
    padding: 1em 1em;  
  }

  .therapy-desc h4 {
    margin-top: 0;
  }
  .therapy-card button {
    align-self: right;
  }
  
  .feature-thumb {
    border: 1px solid #f0f0f0;
    padding: 2em 1em;
    min-height: fit-content;
    margin-bottom: 2em;
  }

  .feature-thumb span, .therapy-card > span {
    position: absolute;
    top: -25px;
    left: -25px;
    opacity: 0.25;
    background: #bc70cf;
    border-radius: 50px;
    color: #ffffff;
    font-size: 90px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90px;
    height: 90px;
    
  }

  .feature-thumb h3, .therapy-card h3 {
    margin: 10px 0;
    text-align: center;
  }

  .therapy-info-card {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    position: relative;
    clear: both;
  }

  .therapy-det {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
  }

  .therapy-det span {
    display: flex;
    justify-content: center;
    align-items: center;
    /* vertical-align: middle; */
  }

  .therapy-det .fa {
    margin-right: 10px;
    border-radius: 50px;
    color: rgb(188,112,207, 0.25);
    font-size: 25px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
  }

  .therapy-price {
    float: right;
  }

  .therapy-price span {
    background: rgb(188,112,207, 0.25);
    border-radius: 25px;
    color: #ffffff;
    display: block;
    padding: 5px 10px;
    margin-top: 20px;
  }



  /*---------------------------------------
      ABOUT              
  -----------------------------------------*/

  #about figure {
    display: inline-block;
    vertical-align: top;
    margin-left: 15px;
  }

  #about figure span {
    float: left;
    margin-left: -15px;
    padding: 15px 20px;
    position: relative;
    top: 20px;
  }

  #about figure span i {
    background: #29ca8e;
    border-radius: 50px;
    color: #ffffff;
    font-size: 25px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
  }

  .about-info img {
    position: fixed;
    transform: rotate(45deg);
    opacity: 0.1;
    top: -100px;
    left: 410px;
    z-index: -1;
  }



  /*---------------------------------------
      TEAM              
  -----------------------------------------*/


  .team-info {
    padding: 10px 20px;
    height: max-content;
  }

  
#team-details {
  background-color: #f9f9f9;
  height: fit-content;
  padding-bottom: 100px;
}

.team-row {
  position: relative;
  top: 40px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-column-gap: 25px;
  box-sizing: border-box;
}

.container .first {
  grid-template-areas: 
  "a b c d" 
  "e e e e"
  "f f f f"
  "g g g g"
  "h h h h";
}

.container .second {
  grid-template-areas:
  "i j k l"
  "m m m m"
  "n n n n"
  "o o o o"
  "p p p p";
}

.container .third {
  grid-template-areas:
  "r s t u"
  "w w w w"
  "x x x x"
  "y y y y"
  "z z z z";
}

.container .fourth {
  grid-template-areas:  
  "aa bb cc dd"
  "ee ee ee ee"
  "ff ff ff ff"
  "gg gg gg gg"
  "hh hh hh hh";
}

.team-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  text-align: left;
  margin-bottom: 15px;
}

.team-info {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  text-align: center;
}

.team-info > a {
  font-family: 'Muli', sans-serif;
  font-weight: bold;
  line-height: inherit;
  border: none;
  margin: 0;
  color:#454545;
  font-size: 1.5em;
  background-color: #FFF;
  text-decoration: none;
}

#mjt-desc-buttn:active .mjt-card {
  animation: down 1s;
}

.team-card ul {
  text-align: center;
  width: 100%;
  border-top: 3px solid #f9f9f9;
}

.team-desc {
  background: #ffffff;
  height: fit-content;
  text-align: left;
  margin-bottom: 15px;
  padding: 20px 30px;
  -webkit-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
}

#mjt-card {
  grid-area: a;
}
#mjt-desc {
  grid-area: e;
  display: none;
}

#np-card {
  grid-area: b;
}

#ms-card {
  grid-area: c;
}

#jk-card{
  grid-area: d;
}

#np-desc {
  grid-area: f;
  display: none;
}

#ms-desc {
  grid-area: g;
  display: none;
}

#jk-desc {
  grid-area: h;
  display: none;
}

#ek-card {
  grid-area: i;
}

#ek-desc {
  grid-area: m;
  display: none;
}

#mb-card {
  grid-area: j;
}

#mb-desc {
  grid-area: n;
  display: none;
}

#ll-card {
  grid-area: k;
}

#ll-desc {
  grid-area: o;
  display: none;
}

#js-card {
  grid-area: l;
}

#js-desc {
  grid-area: p;
  display: none;
}

#mk-card {
  grid-area: r;
}

#mk-desc {
  grid-area: w;
  display: none;
}

#gs-card {
  grid-area: s;
}

#gs-desc {
  grid-area: x;
  display: none;
}

#zpc-card {
  grid-area: t;
}

#zpc-desc {
  grid-area: y;
  display: none;
}

#pp-card {
  grid-area: u;
}

#pp-desc {
  grid-area: z;
  display: none;
}

#jm-card {
  grid-area: aa;
}

#jm-desc {
  grid-area: ee;
  display: none;
}

#aw-card {
  grid-area: bb;
}

#aw-desc {
  grid-area: ff;
  display: none;
}

#bp-card {
  grid-area: cc;
}

#bp-desc {
  grid-area: gg;
  display: none;
}

#x-card {
  grid-area: dd;
}

#x-desc {
  grid-area: hh;
  display: none;
}

.team-image img {
  width: auto;
  height: 350px;
  object-fit: contain;
  margin: 0 auto;
}

.team-thumb .social-icon {
  border-top: 1px solid #f0f0f0;
  padding: 4px 20px 0 20px;
}

.team-thumb .social-icon li a {
  background: #ffffff;
  color: #252020;
}

.team-info h3 {
  margin: 0;
}

.down-shaddow {
  -webkit-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
      -moz-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
      box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
  animation: down 2s forwards;
}


/* edukacja */

.dwie-kolumny {
  display: grid;
  grid-template-areas: 
  "logo prze"
  "logo wwr";
  grid-gap: 1em;
}

#logo-edu {
  grid-area: logo;
  position: relative;
  scale: 150%;
  opacity: 50%;
  z-index: 0;
  transform: translate(-50px);
}

#przedszkole {
  grid-area: prze;
  z-index: 1;
}

#wwr {
  grid-area: wwr;
  z-index: 1;
}

.kolumny {
  background-color: #FFF;
  border: 1px solid #f0f0f0;
  padding: 1em 2em;
}

.kolumny h3 {
  text-align: center;
  padding-bottom: 1em;
}

.kolumny figure span i {
  background: #29ca8e;
  border-radius: 50px;
  color: #ffffff;
  font-size: 15px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
}

.kolumny span {
  float: left;
}

.kolumny figure figcaption p {
  margin-left: 3em;
  font-size: larger;
}

.kolumny p a i {
  padding-left: 1em;
  color: #29ca8e;
}

.edulogo {
  display: flex;
  justify-content: center;
  align-items: center;
}
.edulogo #edukacja-logo {
 width: 400px;
}

  /*---------------------------------------
      COURSES             
  -----------------------------------------*/

  #courses .section-title {
    text-align: center;
  }

  #courses .owl-theme .owl-nav {
    margin-top: 30px;
  }

  #courses .owl-theme .owl-nav [class*=owl-] {
    border-radius: 2px;
    font-size: 16px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    padding: 0;
  }

  .courses-thumb {
    background: #f9f9f9;
    position: relative;
  }

  .courses-top {
    position: relative;
  }

  .courses-image {
    background: linear-gradient(to right, #202020, #101010);
    height: 40%;
  }

  .courses-date {
    background: linear-gradient(rgba(255, 0, 0, 0), rgba(0, 0, 0, 0.6));
    width: 100%;
    position: absolute;
    bottom: 0;
    padding: 20px 25px;
  }

  .courses-date span,
  .courses-author span {
    font-size: 14px;
    font-weight: bold;
  }

  .courses-date span {
    color: #ffffff;
    display: inline-block;
    margin-right: 10px;
  }

  .courses-detail {
    box-sizing: border-box;
    padding: 25px 25px 15px 25px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
  }

  .courses-detail h3 {
    margin: 0 0 2px 0;
  }

  .courses-detail .fa {
    padding-left: 20px;
  }

  .courses-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    position: relative;
    clear: both;
    padding: 15px 25px;
  }

  .courses-author,
  .courses-author span {
    display: flex;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
  }

  .courses-author .fa {
    margin-right: 10px;
    border-radius: 50px;
    color:rgb(244,133,73, 0.5);
    font-size: 25px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
  }

  .courses-price {
    float: right;
  }

  .courses-price span {
    background: rgb(244,133,73, 0.5);
    border-radius: 2px;
    color: #ffffff;
    display: block;
    padding: 5px 10px;
  }

  .therapy-more-row {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  .therapy-more {
    position: relative;
    width: 50%;
    padding: 15px;
    margin: 30px 0;
    background-color: rgba(249, 249, 249, 0.3);
    margin-bottom: 15em;
  }

  .therapy-more h2 {
    margin: 0;
  }

  .therapy-more p {
    color:rgba(0, 0, 0, 0.8);
  }

  .therapy-more a {
   margin: 20px;
  }

  #tus-desc {
    background-color: rgba(249, 249, 249, 0.7)
  }

  #ped-desc {
    background-color: rgba(249, 249, 249, 0.5)
  }

  .therapy-more img {
    position: absolute;
    object-fit: cover;
    top: -15px;
    left: -200px;
    z-index: -1;
    width: 300%;
    max-height: 750px;
  }

  .faq h4 {
    text-align: start;
  }



  /*---------------------------------------
     NEWS              
  -----------------------------------------*/

  .news-thumb {
    clear: both;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
  }

  .news-thumb .news-image {
    float: left;
    width: 40%;
    margin-right: 30px;
  }

  .news-info h3 {
    margin-top: 5px;
    margin-bottom: 10px;
  }

  .news-date span {
    color: #909090;
    font-weight: bold;
  }

/* friends */

  .friends-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 50px;
  }

  .friend {
    background-color: #FFF;
    width: 25%;
    height: 200px;
    box-sizing: border-box;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    /* -webkit-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1); */
    padding:30px 20px;
  }

  .friend a, h4 {
    text-align: center;
  }

  .friend a img {
    width: 90%;
  }

  .news {
    width: 90%;
    background-color: white;
    position: relative;
    padding: 1em;
    margin: auto;
  }

  .news h3, .wciecie {
    padding-bottom: 1em;
    margin-left: 15em;
  }

  .news span {
    position: absolute;
    bottom: 50px;
    left: 10px;
    opacity: 0.25;
    background: #bc70cf;
    border-radius: 200px;
    color: #ffffff;
    font-size: 130px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 200px;
  }

  #union span {
    bottom: 25px;
  }


  /*---------------------------------------
      TESTIMONIAL             
  -----------------------------------------*/

  #testimonial .item {
    background: #ffffff;
    margin: 20px 0;
    padding: 2em 1em;
    text-align: left;
  }

  #courses .col-md-4,
  #testimonial .col-md-4 {
    display: block;
    width: 100%;
    height: 100%;
  }

  #testimonial .item > p {
    font-size: 16px;
    line-height: 26px;
  }

  .tst-rating {
    margin-bottom: 15px;
  }

  .tst-rating .fa {
    color: #b136a1;
    font-size: 25px;
    text-align: justify;
    margin: 20px
  }

  .tst-image,
  .tst-author {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 20px;
    text-align: left;
    object-fit: scale-down;
  }

  .tst-image .fa {
    border-radius: 50px;
    color:#b136a1;
    font-size: 50px;
    width: 50px;
    height: 50px;
    margin-right: 15px;
  }

  .tst-author h4 {
    margin: 0;
  }

  .tst-author span {
    color: #808080;
    font-size: 14px;
  }
  
  #szkol-desc {
    padding-top: 0;
  }

  .szkolenia {
    background-color: white;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
  }



  /*---------------------------------------
      CONTACT             
  -----------------------------------------*/

  #contact {
    background: #bc70cf;
  }

  #contact h2 {
    color: #ffffff;
  }

  #contact .section-title {
    padding-bottom: 20px;
  }

  #contact h2 > small,
  #contact p,
  #contact a {
    color: #f9f9f9;
  }

  .form {
    padding: 1em 0;
    text-align: center;
  }

  .form .col-md-12,
  .form .col-md-4 {
    padding-left: 0;
  }

  .field input, .message textarea {
    height: 50px;
    width: 90%;
    border: 0;
    border-radius: 5px;
    box-shadow: none;
    margin: 10px 0;
  }
  
   .field i{
    padding-left: 1em;
    color: white;
   }

  .new {
    border: white solid 1px;
    color:white;
    margin: 1em;
    margin-right: 1em;

  }
  .new:hover {
    border: none;
    background-color: white;
    color: #bc70cf;
    transition: background 0.3s ease;
  }

  .button-area {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .field input[type='submit'] {
    border-radius: 50px;
    border: 1px solid transparent;
  }

  .field input[type='submit']:hover {
    background: transparent;
    border-color: #ffffff;
    color: #ffffff;
  }
  



  /*---------------------------------------
     FOOTER              
  -----------------------------------------*/

  footer {
    background: #252020;
    padding: 120px 0;
  }

  footer .section-title {
    padding-bottom: 10px;
  }

  footer h2 {
    font-size: 20px;
  }

  footer a,
  footer p {
    color: #909090;
  }

  footer strong {
    color: #d9d9d9;
  }

  footer address p {
    margin-bottom: 0;
  }

  footer .social-icon {
    margin-top: 25px;
  }

  .footer-info {
    margin-right: 2em;
  }

  .footer-info h2 {
    color: #ffffff;
    padding: 0;
    text-align: left;
  }

  .footer_menu h2 {
    margin-top: 2em;
  }

  .footer_menu ul {
    margin: 0;
    padding: 0;
  }

  .footer_menu li {
    display: inline-block;
    list-style: none;
    margin: 5px 10px 5px 0;
  }

  .newsletter-form .form-control {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: 0;
    border-bottom: 1px solid #303030;
    height: 50px;
    margin: 5px 0;
  }

  .newsletter-form input[type="submit"] {
    background: transparent;
    border: 1px solid #f9f9f9;
    border-radius: 50px;
    color: #ffffff;
    display: block;
    margin-top: 20px;
    outline: none;
    width: 50%;
  }

  .newsletter-form input[type="submit"]:hover {
    background: #29ca8e;
    border-color: transparent;
  }

  .newsletter-form .form-group span {
    color: #909090;
    display: block;
    font-size: 12px;
    margin-top: 20px;
  }



  /*---------------------------------------
     SOCIAL ICON              
  -----------------------------------------*/

  .social-icon {
    position: relative;
    padding: 0;
    margin: 0;
  }

  .social-icon li {
    display: inline-block;
    list-style: none;
    margin-bottom: 5px;
  }

  .social-icon li a {
    border-radius: 100px;
    color: #29ca8e;
    font-size: 15px;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-decoration: none;
    text-align: center;
    transition: all 0.4s ease-in-out;
    position: relative;
    margin: 5px 5px 5px 0;
  }

  .social-icon li a:hover {
    background: #29ca8e;
    color: #ffffff;
  }


#faq, #filo, #plan, #q1-desc, #q5-desc, #q2-desc, #q3-desc, #q4-desc, #q6-desc, #q7-desc, #q8-desc, #q9-desc, #q10-desc, #q11-desc, #q12-desc, #q13-desc, #eeg-faq-desc, #dlogo-desc, #dpsych-desc, #dneuro-desc, #dmnri-desc, #dped-desc, #duwag-desc, #nfb-desc, #logo-desc, #ped-desc, #psych-desc, #tus-desc, #ter-desc, #mnri-desc, #tren-desc, #jas-desc, #szkol-desc, #work, #union, #q26-desc, #q27-desc, #q28-desc, #q29-desc, #q30-desc, #q31-desc {
  display: none;
}

/* #send_form_status{border: 1px dashed #ccc;display: none; padding: 0 10px; margin: 10px 0}
.status_ok{color: #060}
.status_err{color: #F00} */


  /*---------------------------------------
     RESPONSIVE STYLES              
  -----------------------------------------*/


  @media screen and (max-width: 1200px) {
    /* .custom-navbar .navbar-nav.navbar-nav-first {
      margin-left: inherit;
    } */
    .custom-navbar .navbar-nav.navbar-right li a {
      margin-right: 70px;
    }
    .custom-navbar .nav li a {
      padding-right: 5px;
      padding-left: 5px;
    }
    #logon {
      width: 4%;
    }
  }

  @media screen and (max-width: 1075px) {
    .custom-navbar .nav li a {
      padding-right: 5px;
      padding-left: 5px;
    }
    .custom-navbar .navbar-nav.navbar-right li a {
      margin-right: 200px;
    }
  }

  @media only screen and (max-width: 992px) {
    section,
    footer {
      padding: 60px 0;
    }

    .home-slider .item {
      background-position: center center;
    }

    .feature-thumb,
    .about-info,
    .team-thumb,
    .footer-info {
      margin-bottom: 50px;
      position: relative;
    }

    .team-row {
      grid-template-columns: 1fr 1fr ;
    }
    
    .container .first {
      grid-template-areas: 
      "a b"
      "e e"
      "f f"
      "c d" 
      "g g"
      "h h";
    }
    
    .container .second {
      grid-template-areas:
      "i j"
      "m m"
      "n n"
      "k l"
      "o o"
      "p p";
    }
    
    .container .third {
      grid-template-areas:
      "r s"
      "w w"
      "x x"
      "t u"
      "y y"
      "z z";
    }
    
    .container .fourth {
      grid-template-areas:  
      "aa bb"
      "ee ee"
      "ff ff"
      "cc dd"
      "gg gg"
      "hh hh";
    }

    .contact-image {
      margin-top: 50px;
    }

    .feature-thumb {
      height: fit-content;
    }

    .team-info {
      height: 100px;
    }

    .courses-detail {
      height: 230px;
    }

    .dwie-kolumny {
      grid-template-areas: 
    "prze"
    "logo"
    "wwr";
    }

    #logo-edu {
      scale: 100%;
      transform: translate(0px);
    }

    .kolumny {
      width: 100%;
      margin-bottom: 1em;
    }

    .news h3, .wciecie {
      margin-left: 1em;
    }

  }


  @media only screen and (min-width: 768px) and (max-width: 991px) {
    .custom-navbar .nav li a {
      padding-right: 1px;
      padding-left: 5px;
    }
    .feature-thumb {
      height: 380px;
    }
    .courses-detail {
      height: fit-content;
    }
    #logon {
      width: 4.5%;
    }
  }

  @media only screen and (max-width: 767px) {
    .navbar-fixed-top .navbar-collapse {
      width: 300px;
    }

    .therapy-row {
      grid-template-columns: 1fr 1fr;
      grid-template-areas:
      "hh ii"
      "kk kk"
      "ll ll"
      "jj nn" 
      "mm mm"
      "rr rr"
      "oo pp"
      "ss ss"
      "tt tt";
    }
    
    .feature-thumb {
      height: fit-content;
    }

    .team-row {
      grid-template-columns: 1fr;
    }
    
    .container .first {
      grid-template-areas: 
      "a"
      "e"
      "b"
      "f"
      "c"
      "g"
      "d" 
      "h";
    }
    
    .container .second {
      grid-template-areas:
      "i"
      "m"
      "j"
      "n"
      "k"
      "o"
      "l"
      "p";
    }
    
    .container .third {
      grid-template-areas:
      "r"
      "w"
      "s"
      "x"
      "t"
      "y"
      "u"
      "z";
    }
    
    .container .fourth {
      grid-template-areas:  
      "aa"
      "ee"
      "bb"
      "ff"
      "cc"
      "gg"
      "dd"
      "hh";
    }

    #x-desc {
      display: none;
    }

    #logon {
      display:none;
    }

    h1 {
      font-size: 2.5em;
    }

    h1,h2,h3 {
      line-height: normal;
    }

    .custom-navbar {
      background: #ffffff;
      -webkit-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
      -moz-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
      box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
      padding: 10px 0;
      text-align: center;
    }

    .custom-navbar .navbar-brand,
    .custom-navbar .nav li a {
      line-height: normal;
    }

    .custom-navbar .nav li a {
      padding:5px;
    }

    .custom-navbar .navbar-brand,
    .top-nav-collapse .navbar-brand {
      color: #252525;
      font-weight: 600;
    }

    .custom-navbar .nav li a,
    .top-nav-collapse .nav li a {
      color: #575757;
    }

    .custom-navbar .navbar-nav.navbar-right li {
      display: inline-block;
    }

    .custom-navbar .navbar-nav.navbar-right li a {
      margin: 0;
    }

    .footer-info {
      margin-right: 0;
    }

    .footer-info.newsletter-form {
      margin-bottom: 0;
    }

    .team-info {
      height: 100px;
    }

    .therapy-more {
      width: 100%;
      background-color: rgba(249, 249, 249, 0.7)
    }

    .therapy-more h5 {
      background-color: none;
    }

    .courses-detail {
      height: 330px;
    }

    .friends-row {
      flex-direction: column;
      justify-content: space-around;
    }
    .friend {
      width: 80%;
      margin: 20px 0;
    }

    .szkolenia {
      flex-direction: column;
    }

    .about-info img {
      position: fixed;
      transform: rotate(45deg);
      opacity: 0.1;
      top: -100px;
      left: 50px;
      z-index: -1;
      scale: 75%;
    }

  }


  @media only screen and (max-width: 580px) {
    h2 {
      font-size: 1.8em;
    }

    #testimonial .item {
      padding: 2em;
    }

    .contact-image {
      margin-top: 0;
    }
  }

  @media only screen and (max-width: 480px) {
    h1 {
      font-size: 2em;
    }

    #home h3 {
      font-size: 14px;
    }

    .entry-form {
      border-radius: 0;
      padding: 2em;
      max-width: 100%;
      max-height: 100%;
      width: inherit;
      height: inherit;
    }

    .therapy-row {
      grid-template-columns: 1fr;
      grid-template-areas:
      "hh"
      "kk"
      "ii"
      "ll"
      "jj"
      "mm"
      "nn" 
      "rr"
      "oo"
      "ss"
      "pp"
      "tt";
    }
    .courses-detail {
      height: 400px;
    }
  }


