/* Non-semantic helper classes */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

/* Primary Styles
   Author: Aivo Paas
*/
html {
  border-top: 10px solid #98f5dc;
  border-bottom: 10px solid #98f5dc;
  min-height: 100%;
  box-sizing: border-box;
  background: #dcc6cf;
  background: -moz-linear-gradient(55deg, #dcc6cf 0%, #a0c3c8 100%);
  background: -webkit-linear-gradient(55deg, #dcc6cf 0%,#a0c3c8 100%);
  background: linear-gradient(55deg, #dcc6cf 0%,#a0c3c8 100%);

  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  background-position: 50% 0;
  background-repeat: no-repeat;
  position: relative;
}
body:before {
  content: ' ';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(https://acf90e.claudeassets.com/20260125034455im_/https://balletsummerestonia.com/css/g/bg-pattern-2.png) 0 0 repeat;
  opacity: .05;
}

#menu .submenu,
.col-2.right.pics img,
.team-persons .person img,
.video-container,
.news-list .news-item a,
form,
.teachers .teacher .pic,
.fp-intro .text,
.gallery-item .box,
.gallery-pics,
#gallery .pic img {
  box-shadow: 20px 20px 40px rgba(0,0,0,.2);
}

header, footer, .content {
  max-width: 1230px;
  padding: 0 30px;
  box-sizing: border-box;
  margin: 0 auto;
  position: relative;
}
.content p img {
  max-width: 100%;
  height: auto;
}

header {
  padding-top: 45px;
  padding-bottom: 45px;
  z-index: 2;
}
#logo {
  display: block;
  white-space: nowrap;
  text-indent: 100%;
  overflow: hidden;
  height: 115px;
  width: 310px;
  background: url(https://d24570.claudeassets.com/20260125034455im_/https://balletsummerestonia.com/css/g/logo.png) 0 0 no-repeat;
  background-size: contain;
  position: relative;
  z-index: 1;
}
#lngmenu, #menu, #social {
  position: absolute;
  right: 30px;
}
#lngmenu {
  top: 45px;
  line-height: 23px;
}
#menu {
  top: 70px;
  line-height: 40px;
}
#social {
  top: 110px;
  line-height: 23px;
}

#lngmenu a,
#social a {
  display: inline-block;
  color: #98f5dc;
  font-size: 12px;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Futura PT', sans-serif;
  padding: 0 0 0 10px;
  text-transform: uppercase;
}
#lngmenu a:hover,
#lngmenu a.open,
#social a:hover {
  color: #fff1b0;
}

#menu {
  text-transform: uppercase;
  font-family: 'Futura PT', sans-serif;
}
#menu ul ul {
  display: none;
}
#menu > ul > li {
  display: inline-block;
  padding: 0 14px 0 18px;
  position: relative;
  z-index: 1;
}
#menu > ul > li:last-child {
  padding-right: 0;
}
#menu > ul > li:before {
  content: ' ';
  display: block;
  width: 4px;
  height: 4px;
  position: absolute;
  background: #fff1b0;
  border-radius: 2px;
  left: 0;
  top: 50%;
  margin-top: -2px;
}
#menu > ul > li:first-child {
  padding-left: 0;
}
#menu > ul > li:first-child:before {
  display: none;
}
#menu > ul > li > a {
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  letter-spacing: .4px;
}
#menu > ul > li:hover > a,
#menu > ul > li > a:hover,
#menu > ul > li > a.open {
  color: #fff1b0;
}
#menu > ul > li:hover ul,
#menu .submenu ul {
  display: block;
  position: absolute;
  left: 0;
  top: 100%;
  padding: 5px 0;
  z-index: 1;
}
@media screen and (min-width: 1024px) {
  #menu > ul > li:hover ul {
    opacity: 0;
  }
}

#menu > ul > li:first-child:hover ul {
  left: -20px;
}
#menu ul ul a,
#menu .submenu ul a {
  display: block;
  padding: 0 20px;
  color: #333;
  font-weight: normal;
  font-size: 16px;
  white-space: nowrap;
  text-decoration: none;
  line-height: 40px;
}
#menu ul ul a:hover,
#menu .submenu ul a:hover {
  background: #98f5dc;
}
#menu ul ul li:first-child a,
#menu .submenu ul li:first-child a {
  margin-top: -5px;
  padding-top: 5px;
}
#menu ul ul li:last-child a,
#menu .submenu ul li:last-child a {
  margin-bottom: -5px;
  padding-bottom: 5px;
}

#menu .submenu {
  position: absolute;
  z-index: 1;
  background: #fff1b0;
  overflow: hidden;
  transition-property: left, top, width, height;
  transition-duration: .3s;
  transition-timing-function: ease-in-out;
}
#menu .submenu ul {
  position: absolute;
  left: 0;
  top: 0;
}


footer {
  padding-top: 95px;
  padding-bottom: 45px;
}
footer nav {
  font-family: 'Futura PT', sans-serif;
  text-transform: uppercase;
}
footer nav > ul {
  position: relative;
}
footer nav > ul > li {
  width: 25%;
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
  text-align: center;
}
footer nav > ul > li:after {
  content: ' ';
  display: block;
  position: absolute;
  top: 5px;
  bottom: 0;
  border-right: 2px dotted #98f5dc;
}
footer nav > ul > li:first-child:after {
  display: none;
}
footer nav > ul > li > a {
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  color: #98f5dc;
  line-height: 20px;
  letter-spacing: 1px;
  padding: 10px;
  display: block;
}
footer nav > ul > li > a:hover {
  color: #98f5dc;
}
footer nav ul ul a {
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  line-height: 15px;
  display: block;
  padding: 10px;
}
footer nav ul ul a:hover {
  color: #fff1b0;
}

#footer-logos {
  text-align: center;
  line-height: 45px;
  padding: 55px 0 35px;
}
#footer-logos img {
  max-height: 45px;
  margin: 0 25px;
}

#footer-content {
  text-align: center;
  max-width: 550px;
  color: #fff;
  font-size: 12px;
  line-height: 22px;
  margin: 0 auto;
}

.cols {
}
.col-2 {
  width: 50%;
  vertical-align: top;
  box-sizing: border-box;
}
.col-2.left {
  float: left;
  padding-right: 20px;
}
.col-2.right {
  float: right;
}
.col-2.right.pics {
  text-align: right;
  position: relative;
}
.col-2.right.pics img {
  max-width: 100%;
}
.col-2.right.pics img:first-child {
  margin-top: 80px;
  max-width: 80%;
  position: relative;
  margin-right: 110px;
  margin-left: 10%;
  z-index: 1;
}
.col-2.right.pics img:nth-child(2) {
  margin-top: -50px;
}
.col-2.inline {
  display: inline-block;
  vertical-align: middle;
  float: none;
}
.col-2.inline.pics {
  padding-bottom: 1.4em;
}

#ajakava {}
#ajakava .ak-line {
  width: 90%;
  padding: 20px 0 70px;
}
#ajakava .block {
  margin-right: 10px;
  border: 5px solid #fff1b0;
  padding: 0 10px;
  line-height: 54px;
  height: 60px;
  display: inline-block;
  box-sizing: border-box;
  font-size: 20px;
  font-weight: bold;
}
#ajakava .block.t2 {
  background-color: #fff1b0;
}
#ajakava .block.t3 {
  background: url(https://46b787.claudeassets.com/20260125034455im_/https://balletsummerestonia.com/css/g/stripes.png) 0 0 repeat;
 }
#ajakava .block.t4 {
  border-color: #98f5dc;
  background: #98f5dc;
}
#ajakava .ak-line .block.t1 { width: 13%; }
#ajakava .ak-line .block.t2 { width: 52%; }
#ajakava .ak-line .block.t3 { width: 25%; }
#ajakava .ak-line .block.t4 { width: 10%; margin-right: -100px; }

#ajakava .ak-col {
  width: 25%;
  display: inline-block;
  vertical-align: top;
  padding-right: 20px;
  box-sizing: border-box;
}
#ajakava .ak-col .block {
  margin-bottom: 10px;
}


.team-intro {
  padding: 0 100px 30px;
}
.team-persons {
  margin-right: -30px;
}
.team-persons .person {
  width: 25%;
  display: inline-block;
  padding-right: 30px;
  padding-bottom: 30px;
  line-height: 26px;
  box-sizing: border-box;
  vertical-align: top;
}
.team-persons .person img {
  width: 100%;
  height: auto;
  margin-bottom: 35px;
}
.team-persons .person h3 {
  color: #fff1b0;
  font-size: 20px;
  font-weight: bold;
  margin: 0;
  padding: 0;
}
.team-persons .person:nth-child(4n+1) {
  padding-top: 30px;
}
.team-persons .person:nth-child(4n+3) {
  padding-top: 90px;
}
.team-persons .person:nth-child(4n+4) {
  padding-top: 60px;
}


.video-intro {
  padding: 0 120px;
}
.video-container {
  width: 766px;
  max-width: 100%;
  margin: 15px auto 95px;
}
.video-container .video {
  height: 0;
  padding-top: 56.25%;
  background-size: cover;
  position: relative;
  cursor: pointer;
}
.video-container .video:before {
  content: ' ';
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 98px;
  height: 115px;
  background: url(https://c5c548.claudeassets.com/20260125034455im_/https://balletsummerestonia.com/css/g/stripes-arrow.png) 100% 50% no-repeat;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transition: all .15s linear;
}
.video-container .video:hover:before {
  background-image: url(https://ef4f19.claudeassets.com/20260125034455im_/https://balletsummerestonia.com/css/g/stripes-arrow-over.png);
}
.video-container .video iframe {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.links-section {
  padding: 70px 0 50px;
  background-size: auto 100%;
  background-position: 50% 0;
  background-repeat: no-repeat;
}
.links-section h1 {
  font-family: 'Futura PT', sans-serif;
  font-size: 40px;
  color: #fff1b0;
  line-height: 65px;
}
.links-section h1 u {
  border-color: #fff1b0;
}
.links-section h1 a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
.links-section h1 .logo {
  margin-right: 22px;
  max-height: 86px;
  width: auto;
  vertical-align: top;
  float: left;
}

.links-section .links {
  margin-right: -30px;
  padding: 5px 0;
}
.links-section .links > span,
.links-section .links a {
  display: inline-block;
  box-sizing: border-box;
  width: 25%;
  padding: 0 30px 10px 0;
  vertical-align: top;
  font-size: 20px;
  line-height: 24px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  font-family: 'Futura PT', sans-serif;
}
.links-section .links > span {
  text-align: center;
  padding-top: 20px;
}
.links-section .links a:hover {
  color: #fff1b0;
}
.links-section .links a img {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  border: 4px solid #fff;
  margin-bottom: 20px;
}

.news-date {
  text-align: center;
  position: relative;
  top: -42px;
}
.news-date span {
  color: #98f5dc;
  padding: 0 5px;
}

.news-list {
  margin: 0 -10px 0 20px;
}
.news-list .news-item {
  display: inline-block;
  box-sizing: border-box;
  padding-right: 30px;
  width: 33.33%;
  vertical-align: top;
  margin-bottom: 30px;
}
.news-list .news-item a {
  width: 100%;
  display: inline-block;
  background: #fff;
  text-decoration: none;
}
.news-list .news-item a .title {
  color: #55c6a8;
  font-size: 20px;
  line-height: 28px;
  font-weight: bold;
  padding: 25px 30px 0;
  transition: all .15s linear;
}
.news-list .news-item a:hover .title {
  color: #555;
}
.news-list .news-item a .news-date {
  text-align: left;
  font-size: 14px;
  top: 0;
  color: #708284;
  padding: 0 30px 25px;
}
.news-list .news-item a .news-date span {
  padding: 0 3px;
}
.news-list .news-item a img {
  width: 100%;
  height: auto;
}


form {
  text-align: left;
  margin-right: 30px;
}
fieldset {
  background: #fff8d7;
  padding: 15px 40px;
}
fieldset h2 {
  color: #55c6a8;
  font-size: 30px;
}
label,
.label {
  display: block;
  line-height: 28px;
  padding-top: 6px;
  font-size: 14px;
}
input:not([type]),
input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 2px solid #ccc;
  margin: 6px 0 15px;
  line-height: 30px;
  font-weight: bold;
  padding: 5px 10px;
  background-color: transparent;
}
textarea {
  height: 130px;
}
textarea.half {
  max-width: 520px;
}
button {
  margin: 20px 0 50px;
  display: block;
}

form.jsf fieldset.thanks {
  display: none;
}


.form-cover > p {
  padding-left: 120px;
  padding-right: 120px;
}
.form-cover .pro,
.form-cover .beg {
  width: 50%;
  display: inline-block;
  vertical-align: top;
  text-align: center;
  padding: 40px 0;
}
.form-cover .button {
  text-transform: none;
  font-size: 30px;
  border: 5px solid #fff1b0;
  background: transparent;
  color: #fff1b0;
  line-height: 90px;
  padding: 0 80px;
  letter-spacing: 0;
}
.form-cover .button:hover {
  background: #fff1b0;
  color: #555;
}
.form-cover .button:after {
  display: none;
}
.fc-buttons .text {
  color: #fff1b0;
  font-size: 14px;
  line-height: 22px;
  padding: 10px 80px 0;
}
.fc-buttons .text a {
  font-weight: bold;
}


.regform fieldset {
  margin-right: -30px;
  overflow: hidden;
  clear: both;
  padding-bottom: 25px;
  padding-right: 20px;
}
.regform > fieldset {
  padding-left: 50px;
  padding-top: 20px;
}
.regform fieldset fieldset {
  margin-right: 20px;
  margin-bottom: 20px;
  padding-bottom: 10px;
}
.regform fieldset.form-content:first-child {
  padding-top: 30px;
}
.regform fieldset.form-content:nth-child(2n+1),
.regform fieldset.form-content:nth-child(2n+1) > fieldset > fieldset,
.regform fieldset.form-content > fieldset {
  background: #fff;
}
.regform fieldset.form-content:nth-child(2n+1) > fieldset,
.regform fieldset.form-content > fieldset > fieldset {
  background: #fff8d7;
}
.regform label,
.regform .label {
  width: 50%;
  display: block;
  float: left;
  vertical-align: top;
  padding-right: 30px;
  box-sizing: border-box;
  background-color: inherit;
  position: relative;
}
.regform label.clear,
.regform .label.clear {
  clear: both;
}
.regform label.wide,
.regform .label.wide {
  width: 100%;
}
.label label {
  display: inline-block;
  width: auto;
  padding: 0 30px 0 0;
  line-height: 44px;
  margin: 6px 0 15px;
}
.label label input[type='checkbox'],
.label label input[type='radio'] {
  width: 24px;
  margin-right: -24px;
}
.label label input[type='checkbox'] ~ div,
.label label input[type='radio'] ~ div {
  vertical-align: top;
  display: inline-block;
  font-weight: normal;
  line-height: 26px;
  padding: 9px 0 9px 30px;
  font-size: 14px;
}
.label label input[type='checkbox'] ~ div b,
.label label input[type='radio'] ~ div b {
  display: block;
  font-size: 16px;
}
input[type='checkbox'],
input[type='radio'] {
  background: inherit;
  position: relative;
}
input[type='checkbox'] + i,
input[type='radio'] + i {
  content: ' ';
  display: inline-block;
  position: absolute;
  left: 0;
  top: 8px;
  border: 2px solid #ccc;
  width: 24px;
  height: 24px;
  background: inherit;
  z-index: 1;
  box-sizing: border-box;
}
input[type='radio']:checked + i:after {
  content: ' ';
  display: block;
  position: absolute;
  width: 10px;
  height: 10px;
  background: inherit;
  z-index: 1;
  left: 5px;
  top: 5px;
  background: #55c6a8;
}
input[type='radio'] + i,
input[type='radio']:checked + i:after {
  border-radius: 50%;
}
input[type='checkbox']:checked + i:after {
  content: ' ';
  display: block;
  height: 6px;
  width: 11px;
  position: absolute;
  border: 3px solid #55c6a8;
  border-width: 0 0 3px 3px;
  z-index: 1;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  left: 3px;
  top: 3px;
}
input.small {
  max-width: 260px;
}
.regform button  {
  clear: both;
  margin-bottom: 25px;
}
.regform a {
  color: #55c6a8;
}
.regform a:hover {
  text-decoration: none;
}
form .reminder {
  clear: both;
  margin-bottom: 20px;
}
form label + .reminder {
  position: relative;
  top: -15px;
  margin-bottom: 0;
}
form label.clear {
  clear: both;
}
form label.file {
  margin-bottom: 0;
}
form label.file:last-child {
  margin-bottom: 10px;
}
.regform .req:before {
  content: ' *';
  color: #55c6a8;
}


.teachers-top {
  padding: 0 90px;
}
.teachers {
  padding: 40px 0 100px;
}
.teachers .teacher {
  width: 50%;
  max-width: 100%;
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
  padding: 0 32px 0 0;
  text-decoration: none;
  color: #fff;
  position: relative;
  margin-bottom: 70px;
}
.teachers .teacher:nth-child(2n) {
  padding: 0 0 0 32px;
}
.teachers .teacher .text {
  border: 8px solid #fff;
  width: 57.87%;
  box-sizing: border-box;
  position: relative;
  text-align: center;
  padding: 0 40px 53.33%;
}
.teachers .teacher .text .name {
  font-size: 30px;
  text-transform: uppercase;
  line-height: 32px;
  font-weight: bold;
  font-family: 'Futura PT', sans-serif;
  padding-bottom: 5px;
}
.teachers .teacher .text .position {
  font-size: 14px;
  line-height: 22px;
}
.teachers .teacher .text .center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 75%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}
.teachers .teacher .pic {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  width: 240px;
  padding-bottom: 40%;
  max-width: 40%;
}
.teachers .teacher .pic img {
  height: auto;
  width: 100%;
  position: absolute;
  top: 0;
}
.teachers .teacher:nth-child(4n+1) .text,
.teachers .teacher:nth-child(4n) .text {
  margin: 0 0 0 auto;
}
.teachers .teacher:nth-child(2n) {
  position: relative;
  top: 100px;
}
.teachers .teacher:nth-child(4n+2) .text {
  margin: 0 auto 0 5.33%;
}
.teachers .teacher:nth-child(4n) .text {
  margin: 0 5.33% 0 auto;
}
.teachers .teacher:nth-child(4n+1) .pic {
  left: 5.33%;
}
.teachers .teacher:nth-child(4n+2) .pic {
  right: 0;
  left: auto;
}
.teachers .teacher:nth-child(4n+3) .pic {
  left: auto;
  right: 10.67%;
}
.teachers .teacher:nth-child(4n) .pic {
  left: 5.33%;
}
.teachers .teacher .back {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all .15s linear;
}
.teachers .teacher:hover .back {
  opacity: 1;
}
.teachers .teacher:hover {
  color: #555;
}

.teacher-position {
  text-align: center;
  padding: 0 0 80px;
  margin-top: -5px;
}
.teacher-content2 {
  border: 8px solid #fff;
  width: 320px;
  height: 320px;
  box-sizing: border-box;
  text-align: center;
  margin: 0 auto;
  position: relative;
}
.teacher-content2 .center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  width: 100%;
  font-size: 20px;
  line-height: 30px;
  color: #fff;
  padding: 0 30px;
  box-sizing: border-box;
}
.all-teachers-button {
  text-align: center;
  padding: 30px 0 0;
}


/* Frontpage */
.fp-intro {
  position: relative;
  padding: 20px 0 70px;
}
.fp-intro .text {
  display: inline-block;
  vertical-align: middle;
  width: 35%;
  box-sizing: border-box;
  background: #576874;
  padding: 35px 30px 40px 40px;
  color: #fff;
}
.fp-intro .video-container {
  display: inline-block;
  vertical-align: middle;
  margin: 0;
  width: 65%;
  max-width: initial;
}
.fp-intro .dates {
  font-size: 40px;
  line-height: 42px;
  font-family: 'Futura PT', sans-serif;
  font-weight: bold;
  color: #98f5dc;
}
.fp-intro .dates .ellipsis {
  padding: 0 0 0 5px;
}
.fp-intro .dates .ellipsis:after {
  display: block;
  content: '';
  width: 0;
  height: 0;
}
.fp-intro .dates .ellipsis > span {
  display: inline-block;
  width: 5px;
  margin: 0 3px 5px 0;
  height: 18px;
  background: #fff1b0;
  border-radius: 1px;
  transform: rotate(45deg) scale(0.5);
  -webkit-transform: rotate(45deg) scale(0.5);
}
.fp-intro .intro {
  padding: 12px 0 0;
}
.fp-news {
  padding: 20px 0 60px;
}
.visit-button {
  text-align: center;
  padding: 60px 0 10px;
}
.fp-links {
  padding-top: 40px;
}
.fp-links h1 {
  color: #fff;
}
.fp-links h1 u {
  border: 0;
}
.fp-bullets {
  overflow: hidden;
  text-align: center;
  line-height: 200px;
  padding-bottom: 50px;
}
.fp-bullets p {
  display: inline-block;
  line-height: 1.4em;
  width: 24%;
  padding: 0 20px;
  box-sizing: border-box;
  position: relative;
  vertical-align: middle;
  min-width: 250px;
}
.fp-bullets p:before {
  content: '';
  display: block;
  width: 165px;
  height: 165px;
  background: #fff0b3;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  z-index: -1;
}
.fp-title {
  padding: .5em 0;
}


.gallery-list {
  margin-right: -33px;
  padding: 50px 0;
}
.gallery-item {
  width: 33.33%;
  padding-right: 33px;
  padding-bottom: 35px;
  box-sizing: border-box; 
  display: inline-block;
  vertical-align: top;
  text-decoration: none;
}
.gallery-item .pic {
  width: 100%;
  height: 0;
  padding-top: 100%;
  background-position: 50% 50%;
  background-size: cover;
}
.gallery-item .title {
  background: #f1f3f5;
  color: #55c6a8;
  transition: all .15s linear;
  font-size: 20px;
  padding: 27px 30px;
  font-weight: bold;
}
.gallery-item:hover .title {
  background: #fff;
  color: #555;
}
.all-galleries-button {
  text-align: center;
  padding: 30px 0 0;
}
.gallery-pics {
  background: #fff;
  margin: 30px 0 20px;
  padding: 25px 0 0 25px;
  line-height: 165px;
  text-align: center;
}
.gallery-pics a {
  display: inline-block;
  vertical-align: top;
  margin: 0 25px 25px 0;
  width: 165px;
  height: 165px;
  text-align: center;
}
.gallery-pics a span {
  display: inline-block;
  line-height: 0;
  position: relative;
}
.gallery-pics a img {
  vertical-align: middle;
}
.gallery-pics a > img {
  display: none;
}
.gallery-pics a span:after {
  content: ' ';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border: 5px solid #98f5dc;
  opacity: 0;
  transition: opacity .15s linear;
}
.gallery-pics a:hover span:after {
  opacity: 1;
}

#gallery {
  position: fixed;
  left: 0;
  top: 10px;
  right: 0;
  bottom: 0;
  background: rgba(85,85,85,.85);
  z-index: 2;
}
#gallery .pic {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}
#gallery .pic .prev {
  left: 0;
  top: 50%;
  margin: -30px 0 0 -75px;
}
#gallery .pic .next {
  right: 0;
  top: 50%;
  margin: -30px -75px 0 0;
}
#gallery .pic .close {
  left: 50%;
  top: 0;
  margin: -75px 0 0 -30px;
}
#gallery .pic .prev,
#gallery .pic .next,
#gallery .pic .close {
  position: absolute;
  width: 60px;
  height: 60px;
  box-sizing: border-box;
  border: 5px solid #98f5dc;
  transition: all .15s linear;
  cursor: pointer;
  z-index: 1;
}
#gallery .pic .prev:hover,
#gallery .pic .next:hover,
#gallery .pic .close:hover {
  background: #98f5dc;
}
#gallery .pic .prev:before,
#gallery .pic .next:before {
  content: ' ';
  display: block;
  width: 18px;
  height: 18px;
  border: 5px solid #fff1b0;
  border-right: 0;
  border-bottom: 0;
  position: absolute;
  left: 17px;
  top: 13px;
  box-sizing: content-box;
}
#gallery .pic .prev:before {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}
#gallery .pic .next:before {
  transform: rotate(-225deg);
  -webkit-transform: rotate(-225deg);
  left: 9px;
}
#gallery .pic .close:before,
#gallery .pic .close:after {
  content: ' ';
  display: block;
  width: 5px;
  height: 39px;
  background: #fff1b0;
  position: absolute;
  left: 23px;
  top: 6px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}
#gallery .pic .close:after {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.nl-section {
  max-width: 500px;
  margin: 95px auto 0;
  text-align: center;
}
.nl-section h1 {
  padding-bottom: 1em;
}
.nl-section form {
  margin: 10px 0 0;
  box-shadow: none;
  position: relative;
}
.nl-section input {
  border: 2px solid #fff1b0;
  line-height: 22px;
  padding: 12px;
  padding-right: 145px;
  display: block;
  height: 50px;
  font-weight: bold;
  color: #555;
  text-align: center;
  margin: 0;
}
.nl-section button {
  width: 130px;
  height: 44px;
  line-height: 45px;
  padding: 0;
  position: absolute;
  right: 3px;
  top: 3px;
  background: #fff1b0;
  border: 0;
  color: #555;
  margin: 0;
}
.nl-section button:after {
  border-color: #55c9a6;
}
.nl-section button:hover {
  color: #55c9a6;
}
.nl-section input[name="name"] {
  display: none;
}
.nl-section ::-webkit-input-placeholder {
  color: #555;
}
.nl-section :-moz-placeholder {
  color: #555;  
}
.nl-section ::-moz-placeholder {
  color: #555;  
}
.nl-section :-ms-input-placeholder {  
  color: #555;  
}
.nl-section .thanks {
  background: #fff1b0;
  color: #555;
  height: 53px;
  line-height: 53px;
  text-align: center;
  font-weight: bold;
  display: none;
}
.nl-section .thanks:before {
  content: '';
  display: inline-block;
  border: 3px solid #55c6a8;
  margin-right: 3px;
  width: 6px;
  height: 11px;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  position: relative;
  top: -1px;
}



@media screen and (max-width: 1060px) {
  #logo {
    width: 220px;
  }
  .teachers-top {
    padding: 0 30px;
  }
  body {
    background-size: 225%;
  }
}
@media screen and (max-width: 1023px) {
  .content, footer {
    padding-left: 20px;
    padding-right: 20px;
    max-width: 100%;
  }
  h1 u {
    text-decoration: underline;
    border: 0;
  }
  header {
    padding: 35px 20px;
  }
  #nav {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    color: #000;
    padding: 35px 0;
    cursor: pointer;
  }
  #nav > * {
    display: none;
    position: relative;
    left: 0;
    top: 0;
  }
  #nav.open {
    background: #fff1b0;
    z-index: 2;
    position: fixed;
    border-top: 10px solid #fff1b0;
    max-height: 100%;
    overflow: auto;
  }
  #nav #lngmenu {
    display: block;
  }
  #nav.open > * {
    display: block;
  }
  #nav:before {
    content: ' ';
    display: block;
    width: 30px;
    height: 30px;
    box-sizing: border-box;
    border: 3px solid #98f5dc;
    position: fixed;
    top: 47px;
    right: 41px;
  }
  #nav:after {
    content: ' ';
    display: block;
    width: 16px;
    height: 12px;
    position: fixed;
    top: 56px;
    right: 48px;
    box-sizing: border-box;
    border-top: 2px solid #fff1b0;
    border-bottom: 2px solid #fff1b0;
    padding: 3px 0;
    background: #fff1b0;
    background-clip: content-box;
  }
  #nav.open:after {
    top: 54px;
    height: 16px;
    border: 0;
    background: linear-gradient(to bottom, transparent 45%,
      #000 45%,
      #000 55%,
      transparent 55%),
    linear-gradient(to right, transparent 45%,
      #000 45%,
      #000 55%,
      transparent 55%);
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
  }
  #lngmenu {
    text-align: right;
    padding: 5px 95px 0 0;
  }
  #nav.open #lngmenu a,
  #nav.open #lngmenu a:hover,
  #nav.open #lngmenu a.open {
    color: #000;
  }
  #menu {
    text-align: center;
    padding: 60px 0;
  }
  #menu > ul {
    padding: 0 80px;
  }
  #menu > ul > li:before {
    display: none;
  }
  #menu > ul > li {
    display: block;
    padding: 0;
  }
  #menu > ul > li a {
    color: #000 !important;
  }
  #menu ul ul {
    display: block;
    padding: 5px 0;
  }
  #menu a {
    display: block;
  }
  #menu ul ul a {
    line-height: 35px;
    padding: 0;
  }
  #menu > ul > li.hover ul,
  #menu > ul > li:hover ul {
    display: block;
    position: relative;
    top: 0;
    left: 0 !important;
    background: transparent;
    padding: 5px 0;
    box-shadow: none;
  }
  #menu ul ul a:hover,
  #menu .submenu ul a:hover {
    background: transparent;
  }


  #social {
    text-align: center;
    padding: 0 0 15px;
  }
  #social a {
    color: #000;
  }

  .fp-intro {
    padding-top: 0;
    padding-bottom: 50px;
  }
  .fp-intro .text {
    width: 100%;
    background: transparent;
    box-shadow: none;
    color: #333;
    padding-right: 50px;
    padding-top: 0;
    padding-bottom: 60px;
    display: block;
  }
  .fp-intro .dates .ellipsis:after {
    display: none;
  }
  .fp-intro .video-container {
    width: 100%;
  }

  .teachers {
    padding-bottom: 30px;
  }
  .teachers .teacher {
    width: 600px;
    display: block;
    margin: 0 auto;
    padding: 0 !important;
    top: 0 !important;
    margin-bottom: 40px;
  }
  .teachers .teacher .text {
    width: 53.33%;
  }
  .teachers .teacher:nth-child(2n+1) .pic {
    left: 13.33%;
    right: auto;
  }
  .teachers .teacher:nth-child(2n+1) .text {
    margin: 0 0 0 auto;
  }
  .teachers .teacher:nth-child(2n) .pic {
    right: 13.33%;
    left: auto;
  }
  .teachers .teacher:nth-child(2n) .text {
    margin: 0 auto 0 0;
  }

  .news-list .news-item {
    width: 50%;
  }

  .links-section {
    width: 100%;
  }
  .links-section .content {
    width: 100%;
  }
  .links-section .links {
    width: auto;
    margin: 0 -20px;
    padding-left: 20px;
    overflow-x: auto;
    white-space: nowrap;
  }
  .links-section .links a {
    min-width: 295px;
    white-space: normal;
  }

  .col-2 {
    width: 100%;
  }
  .col-2 + .col-2 {
    margin-top: 50px;
	margin-bottom: 50px;
  }
  .col-2.right.pics {
    text-align: center;
  }
  .col-2.right.pics img:first-child {
    margin-top: 20px;
    margin-right: 0;
  }

  #ajakava {
    padding-top: 20px;
  }
  #ajakava .ak-col {
    width: 100%;
  }
  #ajakava .ak-line .block {
    padding: 0;
    border-width: 4px;
    margin-right: 5px;
  }
  #ajakava .ak-line .block span {
    position: relative;
    top: -100%;
    margin: 0 -4px;
  }
  #ajakava .ak-line .block.t4 span {
    text-indent: -50px;
    display: block;
    text-align: right;
  }
  #ajakava .ak-line .block.t2 span,
  #ajakava .ak-line .block.t4 span {
    top: 100%;
  }

  .team-persons .person {
    width: 33.33%;
    padding-bottom: 0;
  }
  .team-persons .person:nth-child(3n+1) {
    padding-top: 30px;
  }
  .team-persons .person:nth-child(3n+3) {
    padding-top: 90px;
  }
  .team-persons .person:nth-child(3n+4) {
    padding-top: 60px;
  }

  form {
    margin-right: 0;
  }
  .regform {
    margin-right: 30px;
  }

  footer {
    padding-bottom: 20px;
  }
  .form-cover .button {
    padding: 0 30px;
    line-height: 50px;
    font-size: 20px;
  }
  .fc-buttons .text {
    padding: 10px 20px 0;
  }
  .form-cover > p {
    padding-left: 20px;
    padding-right: 20px;
  }

  .video-intro {
    padding: 0 50px;
  }
  .team-intro {
    padding: 0 50px 20px;
  }
  
  .gallery-item {
	  width: 50%;
  }
  .gallery-item .pic {
	  padding-top: 80%;
  }
}

@media screen and (max-width: 767px) {
  footer {
    padding-top: 0;
  }
  footer nav {
    display: none;
  }
  #footer-logos img {
    max-height: 20px;
    margin: 0 10px;
  }
  .team-persons .person {
    width: 50%;
  }
  .team-persons .person:nth-child(2n+1) {
    padding-top: 30px;
  }
  .team-persons .person:nth-child(2n+2) {
    padding-top: 0;
  }

  .regform label, .regform .label {
    width: 100%;
  }
  .regform .label label {
    width: auto;
  }

  .gallery-pics {
    padding: 25px 25px 0;
    overflow: hidden;
  }
  .gallery-pics a {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 25px;
  }
  .gallery-pics a span {
    display: none;
  }
  .gallery-pics a img {
    width: 100%;
    height: auto;
    display: block;
  }
}
@media screen and (max-width: 620px) {
  #menu > ul > li:hover ul,
  .col-2.right.pics img,
  .team-persons .person img,
  .video-container,
  .news-list .news-item a,
  form,
  .teachers .teacher .pic,
  .fp-intro .text,
  .gallery-item .box,
  .gallery-pics {
    box-shadow: 20px 20px 40px rgba(0,0,0,.1);
  }
  #menu > ul > li:hover ul,
  .fp-intro .text {
    box-shadow: none;
  }

  h1 {
    font-size: 25px;
  }
  h2 {
    font-size: 18px;
  }
  .lead {
    font-size: 16px;
    line-height: 26px;
  }
  .small {
    font-size: 12px;
    line-height: 18px;
  }
  button {
    margin-bottom: 30px;
  }

  html {
    border-top: 0;
    border-bottom-width: 6px;
  }
  body, button, input, select, textarea {
    font-size: 14px;
    line-height: 24px;
  }
  .content, footer {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
  }
  header {
    padding: 10px;
  }
  #logo {
    width: 180px;
  }
  #nav:before {
    top: 10px;
    right: 10px;
  }
  #nav:after {
    top: 19px;
    right: 17px;
  }
  #nav.open:after {
    top: 17px;
    right: 17px;
  }
  #nav #lngmenu {
    display: none;
    padding-right: 50px;
  }
  #nav.open #lngmenu {
    display: block;
    position: absolute;
    top: 8px;
    left: 10px;
    right: auto;
  }
  #menu {
    padding: 40px 0;
  }
  #menu > ul {
    padding: 0 40px;
  }
  .news-list .news-item {
    width: 100%;
  }
  .fp-intro .dates {
    font-size: 20px;
    line-height: 22px;
  }
  .fp-intro .dates .ellipsis > span {
    margin: 0 3px -2px 0;
  }
  .fp-intro .text {
    padding: 0 0 30px;
  }
  .fp-intro .button {
    width: 100%;
  }
  .teachers .teacher .pic {
    width: 46%;
    max-width: 46%;
    padding-bottom: 46%;
  }
  .teachers .teacher:nth-child(2n+1) .pic {
    left: 0;
  }
  .teachers .teacher:nth-child(2n) .pic {
    right: 0;
  }
  .teachers .teacher .text {
    width: 60%;
  }
  .teachers .teacher .text .name {
    font-size: 20px;
    line-height: 24px;
    padding-bottom: 10px;
  }
  .teachers .teacher .text .position {
    font-size: 12px;
    line-height: 18px;
  }
  .news-list {
    margin: 0;
  }
  .news-list .news-item {
    margin: 0 0 15px;
    padding: 0;
  }
  .news-list .news-item a .title {
    padding: 15px 20px 0;
    font-size: 14px;
    line-height: 22px;
  }
  .news-list .news-item a .news-date {
    padding: 0 20px 10px;
    font-size: 10px;
  }
  #footer-content {
    font-size: 10px;
    line-height: 16px;
    padding-bottom: 10px;
  }
  #footer-logos {
    padding: 40px 0 25px;
  }
  #footer-logos img {
    height: 18px;
    margin: 0 8px;
  }
  .links-section h1 {
    font-size: 30px;
    padding-bottom: 30px;
  }
  .links-section h1 u {
    display: block;
  }
  .links-section h1 .logo {
    display: inline-block;
    float: none;
    margin-top: 20px;
  }
  .fp-links {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .visit-button {
    padding: 15px 0 0;
  }
  .links-section .links a {
    font-size: 16px;
    line-height: 20px;
    width: 90%;
    max-width: 300px;
    min-width: 200px;
  }
  .links-section .links a img {
    margin-bottom: 10px;
  }
  .video-container .video:before {
    width: 65px;
    height: 75px;
  }
  #ajakava .block {
    font-size: 16px;
    line-height: 40px;
    height: 46px;
  }
  .teachers-top {
    padding: 0;
  }
  .form-cover > p {
    padding-left: 30px;
    padding-right: 30px;
  }
  .fc-buttons {
    padding: 10px 0 30px;
  }
  .form-cover .pro, .form-cover .beg {
    width: 100%;
    padding: 10px 0 0;
  }
  .fc-buttons .text {
    font-size: 12px;
    padding: 10px 0 0;
  }
  fieldset {
    padding: 10px 20px 0;
  }
  .regform > fieldset {
    padding: 10px 30px 0;
  }
  .regform fieldset fieldset {
    margin-right: 0px;
    padding-bottom: 0;
  }
  .regform fieldset > label, .regform fieldset > .label {
    padding-right: 0;
  }
  fieldset h2 {
    font-size: 20px;
  }
  .video-intro {
    padding: 0 20px;
  }
  .links-section {
    padding: 40px 0 20px;
  }
  .links-section .links {
    margin: 0 -15px;
    padding-left: 15px;
  }
  .video-container {
    margin-bottom: 60px;
  }
  .news-date {
    top: -20px;
  }
  .team-intro {
    padding: 0 0 20px;
  }
  .gallery-pics {
    padding: 15px 15px 0;
  }
  .gallery-pics a {
    margin: 0 0 15px;
  }
  .gallery-item {
    width: 100%;
    padding-bottom: 20px;
  }
  .gallery-item .pic {
    padding-top: 60%;
  }
}
@media screen and (max-width: 400px) {
  .teachers .teacher .text .name {
    font-size: 16px;
    line-height: 20px;
  }
  .teachers .teacher .text .position {
    font-size: 10px;
    line-height: 16px;
  }
  .visit-button .button {
    width: 100%;
  }
  .form-cover > p {
    padding-left: 0;
    padding-right: 0;
  }
  .regform > fieldset {
    padding-left: 20px;
    padding-right: 20px;
  }
  h1 {
    font-size: 20px;
  }
  .team-persons {
    margin: 0 -15px;
  }
  .team-persons .person {
    width: 100%;
    padding: 0 0 20px !important;
  }
  .team-persons .person img {
    margin-bottom: 10px;
  }
  .team-persons .person h3 {
    padding: 0 15px;
    font-size: 16px;
  }
  .team-persons .person p {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 12px;
    line-height: 22px;
  }
  .gallery-pics {
    padding: 5px 5px 0;
  }
  .gallery-pics a {
    margin: 0 0 5px;
  }
}
@media screen and (max-width: 320px) {
}

.clearfix {
  clear: both;
}


/* Print styles */
@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; }
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; }
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}


/*
     FILE ARCHIVED ON 04:55:55 Jan 26, 2023 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 12:21:10 Jul 18, 2026.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
/*
playback timings (ms):
  captures_list: 0.652
  exclusion.robots: 0.076
  exclusion.robots.policy: 0.063
  esindex: 0.01
  cdx.remote: 6.421
  LoadShardBlock: 100.902 (3)
  PetaboxLoader3.resolve: 330.092 (4)
  PetaboxLoader3.datanode: 87.045 (4)
  load_resource: 332.067
*/