* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
    margin: 0; padding: 0;
    min-height: 450px;
    background: url(img/bg.png) 50% 0;
}
body {
    background: url(img/bubbles.png) 50% 0 no-repeat;
    padding: 0;
    min-width: 340px;
    color: #fff;
    font-family: "Myriad Pro", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.7em;
    height: 100%;
}
.hide {
    display: none;
}
.animate {
    -moz-transition: all .1s;
    -webkit-transition: all .1s;
    -ms-transition: all .1s;
    -o-transition: all .1s;
    transition: all .1s;
}

.tac { text-align: center; }

body.aaaa {
    /*padding-bottom: 300px;*/
}

#header {
    height: auto;
    overflow: hidden;
    padding: 0 0 3%;
}
#header h1 a{
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}
#header a {
    display: block;
    width: 278px;
    height: 70px;
    background: url(img/logo.png) 0 0 no-repeat;
    background-size: contain;
    margin: 3vw auto;
    overflow: hidden;
    text-indent: 100em;
}
#fake-header {
    top: -40px;
    left: 0;
    right: 0;
    height: 41px;
    background: #e0ceb7;
    position: fixed;
    z-index: 90;
    border-bottom: 1px solid #ebe3d5;
}
.aaaa #fake-header {
    top: 0;
}
.aaaa #header {
    height: 300px;
}
.aaaa #header a {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 50%;
    margin: 7px 0 0 -320px;
    height: 28px;
    width: auto;
}
#menucache {
    position: absolute;
    top: -100em;
    left: -500em;
}
#svg {
    position: absolute;
    margin: 0 0 0 -10px;
}
#main {
    margin: 20px auto;
    max-width: 980px;
}
.menu {
    height: auto;
    position: relative;
    text-align: center;
    white-space: nowrap;
}
.aaaa #menu {
    position: fixed;
    z-index: 100;
    top: 0;
    height: 40px;
    left: 50%;
    margin: 0 0 0 -180px;
}
#submenu {
    margin: 3vw 0 0;
}
#submenu > div {
    display: none;
}
#submenu > div.active {
    display: block;
}
.menu a {
    display: inline-block;
    width: 20vw;
    height: 20vw;
    max-width: 240px;
    max-height: 240px;
    min-width: 120px;
    min-height: 120px;
    position: relative;
    border-radius: 100%;
    overflow: hidden;
    margin: 0 2%;
    text-decoration: none;
    border: 5px solid #ebe3d5;
    color: #fff;
}
.aaaa #menu a {
    height: 40px;
    width: auto;
    border-radius: 0;
    margin: 0;
    padding: 0 20px;
    border: none;
    float: left;
    min-height: 0;
    max-height: none;
    min-width: 0;
    max-width: none;
    white-space: nowrap;
    border-left: 1px solid #ebe3d5;
}
.aaaa #menu a:first-child {
    border-left: none;
}

#submenu a {
    width: 15vw;
    height: 15vw;
    max-width: 153px;
    max-height: 153px;
    min-width: 80px;
    min-height: 80px;
}
#submenu a img {
    margin-top: 31%;
}

.menu a .on {
    display: none;
}
.menu a .off {
    display: block;
}
.aaaa #menu a .off {
    display: inline-block;
}
.menu a img {
    position: relative;
    z-index: 2;
    margin: 18% auto 8%;
    width: auto;
    height: 35%;
}
.aaaa #menu a img {
    margin: 5% 10%;
    height: 70%;
    vertical-align: middle;
}
.menu a:hover .on,
.menu a.active .on {
    display: block;
}
.aaaa #menu a:hover .on,
.aaaa #menu a.active .on {
    display: inline-block;
}
.menu a:hover .off,
.menu a.active .off {
    display: none !important;
}
.menu a .title {
    position: relative;
    z-index: 2;
    font-size: 2.5vw;
    font-weight: normal;
    text-transform: uppercase;
}
.aaaa #menu a .title {
    font-size: 16px;
    line-height: 42px;
    padding: 0 20px 0 0;
}
.menu a.jums:hover .title,
.menu a.jums.active .title {
    color: #df0f0a;
}
.menu a.musu:hover .title,
.menu a.musu.active .title {
    color: #e15501;
}
.menu a.mes:hover .title,
.menu a.mes.active .title {
    color: #ba0095;
}
/*
.menu a:hover .title {
  color: #fff !important;
}*/
.menu a svg {
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#content {
    position: relative;
    z-index: 1;
    padding: 16% 5vw;
    min-height: 400px;
    margin: 0 0 -80px;
}

#content .cols {
    overflow: hidden;
}
#content .col-1,
#content .col-2,
#content .col-3 {
    float: left;
    width: 30%;
    margin: 0 3% 0 0;
}
#content .col-3 {
    float: right;
    margin: 0;
}
#content .cols .logo {
    text-align: center;
    margin: 0 0 30px;
}
#content h2 {
    font-weight: bold;
    font-size: 26px;
    margin: 0 0 20px 0;
}
#content ul {
    margin: 20px;
    font-size: 21px;
}
#content li {
    margin: 10px 0;
}
#content h3,
#content .fitimiti {
    text-align: center;
    font-weight: bold;
    margin: 30px 0 0;
    font-size: 26px;
}

#content table {
    width: 100%;
    font-size: 14px;
    line-height: 18px;
    border-collapse: collapse;
    table-layout: fixed;
}
#content table th {
    padding: 5px 9px;
    padding-bottom: 15px;
    text-align: left;
    border-right: 2px dotted rgba(255, 255, 255, 0.4);
    white-space: normal;
    overflow: hidden;
    vertical-align: top;
}
#content table td {
    padding: 5px 9px;
    vertical-align: top;
    border-right: 2px dotted rgba(255, 255, 255, 0.4);
    overflow: hidden;
}
#content table th:last-child,
#content table td:last-child {
    border: none;
}
#content .surprise {
    vertical-align: top;
    font-size: 50px;
    line-height: 1.1em;
    text-align: center;
    width: 60px;
}
#content .surprise2 {
    text-align: center;
    width: 10%;
}
#content .time {
    width: 10%;
}

#content .mes {
    margin: 2% 5%;
}
#content .mes a{
    color: darkorchid;
}
#content .mes-1,
#content .mes-2 {
    float: left;
    width: 150px;
    margin: 0 0 0 170px;
}
#content .mes-1 h2,
#content .mes-2 h2{
    margin: 20px 0 10px 0;
}
#content .mes-1 img,
#content .mes-2 img {
    float: left;
    margin: 0 0 40px -170px;
}
#content .mes-1 {
    margin-right:6%;
}
#content p {
    margin: 20px 0;
}
#content .mes p {
    clear: both;
    font-size: 21px;
    text-align: justify;
}
#content .mes h3 {
    clear: both;
    margin-top: 50px;
}

#footer {
    text-align: center;
    color: #5f3813;
    margin: 50px 0;
    font-size: 18px;
    position: relative;
    width: 100%;
    z-index: 1;
}
#footer a {
    color: #5f3813;
}
#footer div {
    border-right: 1px solid #d8cfc7;
    display: inline-block;
    padding: 0 15px;
}
#footer div:last-child {
    border: none;
}

@media only screen and (max-device-width:480px){
    /* styles for mobile browsers smaller than 480px; (iPhone) */

    #content .col-1, #content .col-2, #content .col-3 {
        width: 100% !important;
        float: none !important;
    }

    #content table {
        font-size: 11px;
        line-height: 15px;
    }

}

/**/

#content .poster {
    text-align: center;
    margin: 0 -120px 0 !important;
}
#content .poster img {
    background: 50% 50% no-repeat;
    background-size: contain;
    width: 100%;
    height: 50vw;
    max-height: 500px;
    min-height: 200px;
    border: none;
}

#content .custom-content {
    margin: 0 auto;
    width: 50vw;
    max-width: 420px;
    line-height: 1.2em;
}
#content .intro {
    font-style: italic;
    font-size: 1.2em;
}
#content .custom-content h1 {
    font-weight: normal;
    font-size: 74px;
    text-align: center;
    text-transform: uppercase;
    margin: 30px 0;
}
#content .custom-content h2 {
    font-size: 1.2em;
    margin: 30px 0 10px;
}
#content .custom-content p {
    font-size: 0.9em;
    text-align: justify;
    margin: 20px 0;
}
#content .custom-content ol {
    margin: 20px 0 20px 30px;
    font-size: 16px;
    text-align: justify;
}
#content .custom-content ul {
    margin: 20px 0 20px 0;
    font-size: 16px;
}

#content .trys h1 {
    line-height: 72px;
    margin-left: -50px;
    margin-right: -50px;
}
#content .trys h1 span {
    font-size: 0.7em;
    display: block;
}
#content .patirtis h1 {
    line-height: 58px;
    display: block;
}
#content .patirtis h1 span {
    font-size: 0.55em;
    display: block;
}

#content .funkyworks .tac {
  text-align: center;
}
#content .funkyworks .tac img {
  margin: 20px auto;
  display: inline-block;
}

#content .funkyworks p {
  font-size: 14px;
  line-height: 1.23em;
  letter-spacing: 0.03em;
  font-family: Myriad Pro Light, Arial, sans-serif;
}

#content .funkyworks .poster img {
    background-image: url(img/grupe.png);
}
#content .funkyworks .team {
  text-align: center;
}
#content .funkyworks .team h4 {
  margin: 50px 0 30px;
}
#content .funkyworks .team p {
  font-size: 12px;
  text-align: center;
}
#content .funkyworks .team p span {
  display: block;
  font-size: 14px;
  margin: 0 0 5px;
}
