@font-face {
    font-family: 'eurofurence_lightregular';
    src: url('fonts/eurof35-webfont.eot');
    src: url('fonts/eurof35-webfont.eot?#iefix') format('embedded-opentype'),
    url('fonts/eurof35-webfont.woff2') format('woff2'),
    url('fonts/eurof35-webfont.woff') format('woff'),
    url('fonts/eurof35-webfont.ttf') format('truetype'),
    url('fonts/eurof35-webfont.svg#eurofurence_lightregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'eurofurence_regular';
    src: url('fonts/eurof55-webfont.eot');
    src: url('fonts/eurof55-webfont.eot?#iefix') format('embedded-opentype'),
    url('fonts/eurof55-webfont.woff2') format('woff2'),
    url('fonts/eurof55-webfont.woff') format('woff'),
    url('fonts/eurof55-webfont.ttf') format('truetype'),
    url('fonts/eurof55-webfont.svg#eurofurence_regular') format('svg');
    font-weight: normal;
    font-style: normal;

}
body,h1,h2,h3,h4,h5,h6,p,ul,li,ol,hr,form {
    padding: 0;
    margin: 0;
    border: none;
}
body, html {
    height: 100%;
}
body, td {
	font-size: 15px;
    font-family: 'eurofurence_lightregular', sans-serif;
    color: #848484;
}
textarea, input, select {
    font-size: 22px;
    line-height: 1.3em;
    font-family: 'eurofurence_regular', sans-serif;
    color: #ffffff;
}
a {
    color: #848484;
    text-decoration: none;
}
a:hover, a:active, a:focus {
    outline: none;
}
a img {
    border: none;
}
h1,h2,h3,h4 {
    font-weight: normal;
}
ol {
    margin: 20px;
}
.h {
    display: none;
}
/* homepage */
.hp {
    height: 100%;
    position: relative;
    border: solid 15px white;
    box-sizing: border-box;
    background: url(../images/hp.jpg) no-repeat center center;
    background-size: cover;
}
.hp ul {
    display: block;
    margin: auto;
    position: relative;
    text-align: center;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
.hp ul li {
    display: inline;
    font-size: 0;
}
.hp ul li a {
    display: inline-block;
    width: 430px;
    height: 430px;
    -webkit-border-radius: 215px;
    -moz-border-radius: 215px;
    border-radius: 215px;
    font-size: 35px;
    text-decoration: none;
    color: transparent;
    margin: 15px;
    position: relative;
}
.hp ul li:first-child a {
    background: rgba(65, 164, 220, 0.95) url(../images/logo_studio_a_bile_rozdelovnik.svg) center center no-repeat;
}
.hp ul li:last-child a {
    background: rgba(73, 187, 196, 0.95) url(../images/logo_kaja_project_rozdelovnik.svg) center center no-repeat;
}
.hp ul li:first-child a:hover {
    background: url(../images/pattern.png) repeat;
}
.hp ul li:last-child a:hover {
    background: url(../images/pattern_kaja.png) repeat;
}
.hp ul li a:hover:before {
    display: block;
    content: "architektonická a\0000a0projekční kancelář";
    position: absolute;
    top: 150px;
    left: 20px;
    right: 20px;
    text-align: center;
    color: #ffffff;
    text-transform: uppercase;
}
.hp ul li:last-child a:hover:before {
    content: "Realizace staveb";
}
.hp ul li a:after,
.hp ul li a:after{
    width: 40%;
    height: 35%;
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: 0;
    background: url(../images/samotna_sipka_dolu_bila.svg) center center no-repeat;
    background-size: 25% auto;
}
.hp ul li a:hover:after {
    border-top: solid 1px #ffffff;
}
/* a studio */
.menu {
    width: 310px;
    position: absolute;
    background: #ffffff;
    top: 0;
    bottom: 0;
    left: 0;
    padding-top: 345px;
    background: url(../images/logo_studio_a.svg) center 80px no-repeat;
}
.menu ul {
    list-style: none;
    position: relative;
}
.menu ul a {
    display: block;
    font-size: 35px;
    text-align: center;
    text-transform: uppercase;
    padding: 11px 0;
    position: relative;
}
.menu ul a.active, .menu ul a:hover {
    color: #0287d1;
}
.menu ul a:before,
.menu ul li:last-child a:after,
.menu ul:after {
    position: absolute;
    width: 45px;
    top: 0;
    margin: 0 auto;
    left: 0;
    right: 0;
    border-bottom: solid 1px #848484;
    content: "";
    display: block;
}
.menu ul:after {
    top: auto;
    bottom: 0;
}
.menu ul li:last-child a {
    display: none;
}
.section.logo .secondWeb {
    position: absolute;
    top: 45px;
    width: 93px;
    height: 93px;
    right: 45px;
    background-image: url(../images/circle_proklik_kaja.svg);
    z-index: 2;
}
.section.logo .secondWeb:hover,
.menu ul li:last-child a:hover {
    background-position: left bottom;
}
.menu .langBtn {
    position: absolute;
    left: 45px;
    width: 46px;
    height: 46px;
    bottom: 45px;
    background: url(../images/btn_mutace_en.svg) left bottom;
    background-size: 100% auto;
    z-index: 2;
}
.menu .langBtn:hover {
    background-position: left top;
}
body.en .menu .langBtn {
    background-image: url(../images/btn_mutace_cs.svg)
}
.content {
    margin-left: 298px; /*310-12*/
    height: 100%;
}
#fp-nav.right {
    right: 55px;
}
#fp-nav ul li {
    margin: 0;
    height: auto;
    width: auto;
    padding: 1px 0;
}
#fp-nav ul li a {
    background: #848484 none repeat scroll 0 0;
    height: 10px;
    width: 10px;
    margin: 8px auto 8px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
#fp-nav ul li a.active,
#fp-nav ul li:hover a {
    background: transparent url(../images/slider.svg) no-repeat center bottom;
    height: 26px;
    width: 26px;
    margin: 0 auto;
}
#fp-nav ul li a span {
    display: none;
}
/* horizontal */
.fp-slidesNav.bottom {
    bottom: 55px;
}
.fp-slidesNav ul li {
    margin: 0;
    height: auto;
    width: auto;
    padding: 0 1px;
}
.fp-slidesNav ul li a {
    background: #848484 none repeat scroll 0 0;
    height: 10px;
    width: 10px;
    margin: 0 10px 9px 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.fp-slidesNav ul li a.active,
.fp-slidesNav ul li:hover a {
    background: transparent url(../images/slider.svg) no-repeat center bottom;
    height: 26px;
    width: 26px;
    margin: 0 2px;
}
.fp-slidesNav ul li a span {
    display: none;
}

.section.bg {
    background-size: cover;
    background-position: center center;
}
.fp-tableCell {
    border-width: 12px 12px 12px 12px;
    border-color: #ffffff;
    border-style: solid;
    box-sizing: border-box;
}
.fp-controlArrow.fp-prev,
.fp-controlArrow.fp-next {
    width: 94px;
    height: 94px;
    z-index: 101;
    border: none;
    margin-top: -47px;
}
.fp-controlArrow.fp-prev:hover,
.fp-controlArrow.fp-next:hover {
    background-position: left bottom;
}
.fp-controlArrow.fp-prev {
    left: 45px;
    background: url(../images/btn_sipka_vlevo.svg) no-repeat;
}
.fp-controlArrow.fp-next {
    right: 45px;
    background: url(../images/btn_sipka_vpravo.svg) no-repeat;
}
.section a.next {
    display: block;
    width: 94px;
    height: 94px;
    background: url(../images/btn_sipka_dolu.svg) no-repeat;
    bottom: 45px;
    left: 0;
    right: 0;
    margin: 0 auto;
    position: absolute;
    z-index: 101;
}
.section a.next:hover {
    background-position: left bottom;
}
.section .label {
    position: absolute;
    right: 160px;
    bottom: 25%;
    background: #0287d1;
    color: #ffffff;
    font-size: 28px;
    padding: 8px 16px;
    text-transform: uppercase;
}
.section .label:after {
    position: absolute;
    bottom: -60px;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 60px 70px 0 0;
    border-color: #03598b transparent transparent transparent;
    content: "";
}
.section .label em {
    font-style: normal;
    font-size: 20px;
}
.section a.project {
    width: 33.33%;
    height: 50%;
    display: block;
    float: left;
    position: relative;
    background-size: cover;
    background-position: center center;
}
@media screen and (orientation: portrait){

    .section a.project.frame2 {
        width: 50%;
        height: 33.33%;
    }
}
.section a.project.frame4 {
    width: 50%;
    height: 50%;
}
.section a.project.frame2 {
    width: 100%;
    height: 50%;
}
@media screen and (orientation: landscape){

    .section a.project.frame2 {
        width: 50%;
        height: 100%;
    }
}
.section a.project p {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 45px;
    box-sizing: border-box;
    background: url(../images/pattern.png);
    font-size: 32px;
    color: #ffffff;
    line-height: 1.2em;
    text-transform: uppercase;
    display: none;
}
.section a.project:hover p {
    display: block;
}
.section a.project p span {
    display: block;
    width: 75%;
    border-top: solid 1px #ffffff;
    margin-top: 30px;
}
.section a.project p em {
    font-size: 22px;
    font-style: normal;
    line-height: 1em;
}
.section.about,
.section.contact {
    background-image: url(../images/aboutBg.jpg);
}
.slide {
    position: relative;
    background-size: cover;
    background-position: center center;
}
.slide.bg {
    cursor: pointer;
}
.about .smallCircle {
    width: 245px;
    height: 245px;
    margin: 0 auto;
    -webkit-border-radius: 125px;
    -moz-border-radius: 125px;
    border-radius: 125px;
    background: #ffffff url(../images/logo_studio_a.svg) center center no-repeat;
    background-size: 60%;
}
.about h2 {
    font-size: 48px;
    color: #0287d1;
    width: 800px;
    margin: 50px auto 0;
    text-align: center;
    text-transform: uppercase;
}
.about p {
    width: 800px;
    margin: 20px auto 0;
    font-size: 22px;
    color: #848484;
    text-align: justify;
}
.peoples a.people {
    width: 25%;
    height: 33.33%;
    display: block;
    float: left;
    position: relative;
    background-size: cover;
    background-position: center center;
}
.section.team {
    background-image: url(../images/aboutBg.jpg);
    text-align: center;
}
.team h2 {
    font-size: 48px;
    color: #0287d1;
    width: 800px;
    margin: 0 auto 0;
    text-align: center;
    text-transform: uppercase;
}
.team p.teamText {
    width: 800px;
    margin: 20px auto 0;
    color: #848484;
    text-align: center;
    font-size: 18px;
    line-height: 1.3em;
}
p.teamText span.circle {
    background: #0287d1;
    width: 6px;
    height: 6px;
    display: inline-block;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    position: relative;
    top: -3px;
    margin: 0 8px;
}
.team a.download {
    padding: 20px 30px;
    border: solid 1px #0287d1;
    color: #0287d1;
    display: inline-block;
    text-decoration: none;
    margin: 10px auto 0;
    font-size: 22px;
}
p.team {
    text-align: center;
    margin-top: 0;
}
@media screen and (orientation: portrait){

    .peoples a.people {
        height: 25%;
        width: 33.33%;
    }
}
.peoples a.people.frame6 {
    width: 33.33%;
    height: 50%;
}
@media screen and (orientation: portrait){

    .peoples a.people.frame6 {
        width: 50%;
        height: 33.33%;
    }
}
.peoples a.people.frame4 {
    width: 50%;
    height: 50%;
}
@media screen and (orientation: portrait){

    .peoples a.people.frame4 {
        width: 50%;
        height: 50%;
    }
}

.peoples a.people p {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 45px;
    box-sizing: border-box;
    background: url(../images/pattern.png);
    font-size: 30px;
    color: #ffffff;
    line-height: 1.2em;
    text-transform: uppercase;
    display: none;
}
.peoples a.people:hover p {
    display: block;
}
.peoples a.people p span {
    display: block;
    width: 75%;
    border-top: solid 1px #ffffff;
    margin-top: 30px;
}
.contact {
    text-align: center;
}
.contact .circle {
    width: 412px;
    height: 412px;
    margin: 15px;
    padding: 130px 0 0;
    box-sizing: border-box;
    -webkit-border-radius: 206px;
    -moz-border-radius: 206px;
    border-radius: 206px;
    background: #ffffff;
    display: inline-block;
    vertical-align: top;
    font-size: 22px;
    position: relative;
    transition: all 0.5s ease-out;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    color: #000000;
}
.contact .circle:first-child {
    background: #0287d1;
    color: #ffffff;
}
.contact .circle h2 {
    text-transform: uppercase;
    font-size: 40px;
    color: #0287d1;
}
.contact .circle a {
    color: #000000;
}
.contact .circle:first-child h2,
.contact .circle:first-child a {
    color: #ffffff;
}
.contact .circle p {
    margin: 15px 0;
}
.contact .circle p.responsiveHide {
    color: #848484;
}
.contact a.circle:hover {
    background: #0287d1;
}
.contact a.circle:hover h2 {
    color: #ffffff;
}
.contact a.circle h2 {
    position: relative;
}
.contact a.circle h2:after {
    content: "";
    display: block;
    height: 22px;
    background: url(../images/samotna_sipka_dolu_modra.svg) no-repeat;
    background-size: 100% auto;
    width: 11%;
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.contact a.circle:hover h2:after {
    background: url(../images/samotna_sipka_dolu_bila.svg) no-repeat;
    background-size: 100% auto;
}
#contactForm {
    position: absolute;
    height: 100%;
    width: 100%;
    background: url(../images/pattern.png);
    left: 0;
    top: 0;
    display: none;
    z-index: 101;
}
#contactForm .closeBtn {
    background: url(../images/btn_zaviraci_krizek.svg);
    position: absolute;
    width: 94px;
    height: 94px;
    display: block;
    right: 55px;
    top: 55px;
}
#contactForm .closeBtn:hover {
    background-position: left bottom;
}
#contactForm .cell {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}
#contactForm .cell .form {
    width: 300px;
    display: inline-block;
}
#contactForm h2 {
    font-size: 44px;
    color: #ffffff;
    text-transform: uppercase;
}
#contactForm input.text {
    width: 100%;
    border: solid 2px #ffffff;
    text-align: center;
    color: #ffffff;
    box-sizing: border-box;
    font-size: 22px;
    margin: 20px 0;
    height: 56px;
    background: none;
    display: block;
}
#contactForm textarea {
    width: 100%;
    border: solid 2px #ffffff;
    text-align: center;
    color: #ffffff;
    box-sizing: border-box;
    font-size: 22px;
    margin: 20px 0 35px;
    height: 165px;
    background: none;
    display: block;
    padding: 10px;
}
#contactForm .submit {
    background: url(../images/btn_sipka_odeslat.svg) no-repeat;
    background-size: 68px auto;
    width: 68px;
    height: 68px;
    border: none;
    -webkit-appearance: none;
    -webkit-border-radius: 34px;
    -moz-border-radius: 34px;
    border-radius: 34px;
}
#contactForm .submit:hover {
    background-position: left bottom;
}
#contactForm .flash {
    font-size: 18px;
    margin: 10px 0;
    color: #FFFFFF;
}
#contactForm .flash {
    font-size: 18px;
    margin: 10px 0;
    color: #FFFFFF;
}

.cf:before,
.cf:after {
    content: " ";
    display: table;
}
.cf:after {
    clear: both;
}
.cf {
    *zoom: 1;
}
::-webkit-input-placeholder { color:#FFFFFF; opacity: 1;}
::-moz-placeholder { color:#FFFFFF; opacity: 1; } /* firefox 19+ */
:-ms-input-placeholder { color:#FFFFFF; opacity: 1; } /* ie */
input:-moz-placeholder { color:#FFFFFF; opacity: 1; }

/* SKIN KAJA */
body.kaja .menu {
    background-image: url("../images/logo_kaja_project.svg");
}
body.kaja .menu ul a.active,
body.kaja .menu ul a:hover {
    color: #49bbc4;
}
body.kaja .section .label {
    background-color: #49bbc4;
}
body.kaja .section .label::after {
    border-color: #3f8e95 transparent transparent;
}
body.kaja .section a.project p,
body.kaja .peoples a.people p,
body.kaja #contactForm{
    background-image: url(../images/pattern_kaja.png);
}
body.kaja .fp-slidesNav ul li a.active,
body.kaja .fp-slidesNav ul li:hover a,
body.kaja #fp-nav ul li a.active,
body.kaja #fp-nav ul li:hover a{
    background-image: url(../images/slider_zeleny.svg);
}
body.kaja .fp-controlArrow.fp-prev {
    background-image: url(../images/btn_sipka_vlevo_zelena.svg);
}
body.kaja .fp-controlArrow.fp-next {
    background-image: url(../images/btn_sipka_vpravo_zelena.svg);
}
body.kaja .about .smallCircle,
body.kaja .section.logo::before {
    background-image: url(../images/logo_kaja_project.svg);
}
body.kaja .about h2 {
    color: #49bbc4;
}
body.kaja .contact .circle:first-child {
    background-color: #49bbc4;
}
body.kaja .contact .circle h2 {
    color: #49bbc4;
}
body.kaja .contact a.circle h2::after {
    background-image: url(../images/samotna_sipka_dolu_zelena.svg);
}
body.kaja .contact .circle:first-child h2,
body.kaja .contact .circle:first-child a,
body.kaja .contact a.circle:hover h2 {
    color: #FFFFFF;
}
body.kaja .contact a.circle:hover {
    background-color: #49bbc4;
}
body.kaja .contact a.circle:hover h2::after {
    background-image:url("../images/samotna_sipka_dolu_bila.svg");
}
body.kaja #contactForm .closeBtn,
body.kaja .menuCloseTrigger{
    background-image: url(../images/btn_zaviraci_krizek_zeleny.svg);
}
body.kaja #contactForm .submit {
    background-image: url(../images/btn_sipka_odeslat_zeleny.svg);
}
body.kaja .menuTrigger {
    background-image: url(../images/btn_menu_zelene.svg);
}
body.kaja .menu .secondWeb,
body.kaja .section.logo .secondWeb{
    background-image: url(../images/circle_proklik_studioa.svg);
}
body.kaja .team a.download {
    border-color: #49bbc4;
    color: #49bbc4;
}
body.kaja .menu .langBtn {
    background-image: url("../images/btn_mutace_en_kaja.svg");
}
body.kaja.en .menu .langBtn {
    background-image: url("../images/btn_mutace_cs_kaja.svg");
}

@media screen and (max-width: 1300px) {

    body.kaja .menu .menuWrapper {
        background-image: url(../images/pattern_kaja.png);
    }
    body.kaja .menu ul li:last-child a {
        background-image: url(../images/circle_proklik_studioa.svg);
    }
    body.kaja .menu ul a:hover,
    body.kaja .menu ul a.active:hover {
        color: #000000;
    }
    body.kaja .menu ul a.active {
        color: #FFFFFF;
    }
}

/* HEIGHT */
@media screen and (max-height: 750px) {

    .about .smallCircle,
    .about h2 {
        margin-top: 30px;
    }
    .menu {
        padding-top: 220px;
        background-position: center 35px;
        background-size: 50%;
    }
}
@media screen and (max-height: 600px) {

    .about .smallCircle {
        width: 150px;
        height: 150px;
    }
    .section a.project p,
    .peoples a.people p {
        padding: 20px;
        font-size: 18px;
    }
    .section a.project p em {
        font-size: 14px;
    }

}
@media screen and (max-height: 530px) {

    #contactForm h2 br {
        display: none;
    }
    #contactForm textarea {
        height: 100px;
        margin-bottom: 20px;
    }
}

/* WIDTH */
@media screen and (max-width: 1300px) {

    .content {
        margin-left: 0;
    }
    .menu {
        right: 0;
        left: auto;
        bottom: auto;
        padding: 0;
        width: 0;
        height: 0;
        position: static;;
    }
    .menu .menuWrapper {
        position: absolute;
        height: 100%;
        width: 100%;
        background: url(../images/pattern.png);
        left: 0;
        top: 0;
        z-index: 101;
        display: none;
    }
    .menu .menuWrapper ul {
        position: relative;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    .menu ul {
        text-align: center;
    }
    .menu ul::after {
        display: none;
    }
    .menu ul a {
        color: #ffffff;
        font-size: 50px;
    }
    .menu ul a.active, .menu ul a:hover {
        color: #ffffff;
    }
    .menu ul a::before  {
        border-bottom-color: #ffffff;
    }
    .menu ul li:last-child a {
        display: inline-block;
        width: 93px;
        height: 93px;
        margin: 20px 0 0;
        background-image: url(../images/circle_proklik_kaja.svg);
        background-position: left bottom;
        padding: 0;
    }
    .menu ul li:last-child a:hover {
        background-position: left top;
    }
    .menu ul li:last-child a:before,
    .menu ul li:last-child a:after{
        display: none;
    }
    .menuCloseTrigger {
        background: url(../images/btn_zaviraci_krizek.svg);
        position: absolute;
        width: 94px;
        height: 94px;
        display: none;
        right: 45px;
        top: 45px;
        z-index: 102;
    }
    .menuCloseTrigger:hover {
        background-position: left bottom;
    }
    .menuTrigger {
        position: absolute;
        right: 45px;
        top: 45px;
        background: url(../images/btn_menu.svg) no-repeat;
        height: 94px;
        width: 94px;
        display: block;
        z-index: 1;
    }
    .menuTrigger:hover {
        background-position: left bottom;
    }
    .menu ul a:hover {
        color: #000000;
    }
    .section.logo:before {
        width: 20%;
        padding-bottom: 20%;
        position: absolute;
        top: 20px;
        left: 50%;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%;
        background: #ffffff url(../images/logo_studio_a.svg) center center no-repeat;
        background-size: 60%;
        content: "";
        z-index: 101;
    }
    .section.logo .secondWeb {
        display: none;
    }
    .menu .langBtn {
        left: 45px;
        top: 45px;
        height: 94px;
        width: 94px;
        background-position: left top;
    }
    .menu .langBtn:hover {
        background-position: left bottom;
    }
}


@media screen and (max-width: 1000px) {

    .about h2,
    .about p {
        padding-right: 10%;
        width: 80%;
    }
    .team h2,
    .team ul,
    .team p.teamText {
        width: 90%;
    }

    .section a.project p,
    .peoples a.people p {
        padding: 20px;
        font-size: 18px;
    }
    .section a.project p em {
        font-size: 14px;
    }

    .menuTrigger,
    .menuCloseTrigger,
    #contactForm .closeBtn,
    .menu .langBtn
    {
        width: 62px;
        height: 62px;
        right: 30px;
        top: 30px;
        background-size: 100% auto;
    }
    .menu .langBtn {
        left: 30px;
    }
    .section a.next {
        bottom: 30px;
        width: 62px;
        height: 62px;
        background-size: 100% auto;
    }
    .fp-slidesNav.bottom {
        bottom: 30px
    }
    .fp-controlArrow.fp-prev, .fp-controlArrow.fp-next {
        width: 62px;
        height: 62px;
        background-size: 100% auto;
        margin-top: -32px;
    }
    .fp-controlArrow.fp-next {
        right: 30px;
    }
    .fp-controlArrow.fp-prev {
        left: 30px;
    }
    #fp-nav.right {
        right: 30px;
    }
    .section .label {
        right: 100px;
        font-size: 20px;
    }
    .section .label::after {
        border-width: 40px 60px 0 0;
        bottom: -40px;
    }

}

@media screen and (max-width: 700px) {


    .about h2,
    .team h2{
        font-size: 26px;
    }
    .about p,
    .team ul,
    .team a.download{
        font-size: 15px;

    }
    .section a.project p,
    .peoples a.people p {
        padding: 15px;
        font-size: 16px;
    }
    .section a.project p em {
        font-size: 12px;
    }
    .section .label {
        font-size: 16px;
    }

    .menuTrigger,
    .menuCloseTrigger,
    #contactForm .closeBtn,
    .menu .langBtn {
        width: 50px;
        height: 50px;
        right: 20px;
        top: 20px;
        background-size: 100% auto;
    }
    .menu .langBtn {
        left: 20px;
    }
    .menu ul a {
        font-size: 40px;
    }
    .section a.next {
        bottom: 20px;
        width: 50px;
        height: 50px;
        background-size: 100% auto;
    }
    .fp-slidesNav.bottom {
        bottom: 30px
    }
    .fp-controlArrow.fp-prev, .fp-controlArrow.fp-next {
        width: 50px;
        height: 50px;
        background-size: 100% auto;
        margin-top: -26px;
    }
    .fp-controlArrow.fp-next {
        right: 20px;
    }
    .fp-controlArrow.fp-prev {
        left: 20px;
    }
    #fp-nav.right {
        right: 30px;
    }
    #contactForm .submit {
        width: 50px;
        height: 50px;
        background-size: 100% auto;
    }
    .section.logo:before {
        width: 30%;
        padding-bottom: 30%;
    }
    .team p.teamText {
        font-size: 14px;
    }

}
@media screen and (max-width: 500px) {

    .section a.project p, .peoples a.people p {
        font-size: 13px;
    }
    .section a.project p em {
        font-size: 11px;
    }

}
@media screen and (max-width: 400px) {

    #contactForm .cell .form {
        width: 90%;
    }
    .menu ul a {
        font-size: 30px;
    }
}




/* CONTACT */

@media screen and (max-width: 1700px) and (orientation: landscape) {

    .contact .circle {
        width: 30%;
        margin: 0 1%;
        padding: 0 0 30% 0;
        height: 0;
    }
    .contact a.circle::after {
        height: 20%;
    }
    .contact .circle .centerContent {
        height: 40%;
        width: 85%;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
        position: absolute;
    }
}

@media screen and (max-width: 1500px) {

    .contact .circle .responsiveHide {
        display: none;
    }
}
@media screen and (max-width: 1300px) and (orientation: landscape) {

    .contact .circle .centerContent {
        /*height: 60%;*/
        padding-bottom: 20px; /* min top margin */
        padding-top: 20px;
    }
}
@media screen and (max-width: 1000px) and (orientation: landscape) {


    .contact .circle h2 {
        font-size: 28px;
    }

    .contact .circle p {
        font-size: 18px;
        margin: 10px 0 0;
    }
    .contact a.circle:after {
        width: 30px;
    }
}
@media screen and (max-width: 900px) and (orientation: landscape) {


    .contact .circle h2 {
        font-size: 24px;
    }
    .contact .circle p {
        font-size: 16px;
    }
}
@media screen and (max-width: 700px) and (orientation: landscape) {

    .contact .circle h2 {
        font-size: 20px;
    }
    .contact .circle p {
        font-size: 14px;
        margin: 5px 0;
    }
    .contact a.circle:after {
        width: 20px;
    }
}
@media screen and (max-width: 500px) and (orientation: landscape) {

    .contact .circle h2 {
        font-size: 16px;
    }
    .contact .circle p {
        font-size: 12px;
        margin: 5px 0;
    }
}
@media screen and (max-width: 400px) and (orientation: landscape) {

    .contact .circle h2 {
        font-size: 14px;
    }
    .contact .circle p {
        font-size: 11px;
        margin: 3px 0;
    }

}


/* CONTACT PORTRAIT */

@media screen and (max-height: 1350px) and (orientation: portrait) {

    .contact .circle {
        height: 328px;
        width: 328px;
        margin: 15px auto;
        display: block;
    }
    .contact a.circle::after {
        height: 20%;
    }
    .contact .circle .centerContent {
        height: 50%;
        width: 85%;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
        position: absolute;
    }
}

@media screen and (max-height: 1100px) and (orientation: portrait) {

    .contact .circle {
        height: 272px;
        width: 272px;
        margin: 10px auto;
    }
    .contact .circle h2 {
        font-size: 28px;
    }

    .contact .circle p {
        font-size: 18px;
        margin: 10px 0 0;
    }
}
@media screen and (max-height: 900px) and (orientation: portrait) {

    .contact .circle {
        height: 205px;
        width: 205px;
    }
    .contact .circle h2 {
        font-size: 24px;
    }
    .contact .circle p {
        font-size: 16px;
    }
}
@media screen and (max-height: 700px) and (orientation: portrait) {

    .contact .circle {
        height: 138px;
        width: 138px;
    }
    .contact .circle h2 {
        font-size: 20px;
    }
    .contact .circle p {
        font-size: 14px;
        margin: 5px 0;
    }
    .contact a.circle:after {
        width: 20px;
    }
}
@media screen and (max-height: 500px) and (orientation: portrait) {

    .contact .circle {
        height: 105px;
        width: 105px;
    }
    .contact .circle h2 {
        font-size: 16px;
    }
    .contact .circle p {
        font-size: 12px;
        margin: 5px 0;
    }

}
@media screen and (max-height: 400px) and (orientation: portrait) {

    .contact .circle h2 {
        font-size: 14px;
    }
    .contact .circle p {
        font-size: 11px;
        margin: 3px 0;
    }
}

/* HOMEPAGE */

@media screen and  (orientation: portrait) {

    .hp ul li a {
        display: block;
        margin: 15px auto;
    }
}
@media screen and (max-width: 1000px) and (orientation: landscape), screen and (max-height: 1000px) and (orientation: portrait) {

    .hp ul li a {
        width: 358px;
        height: 358px;
        background-size: 45% auto !important;
        font-size: 28px;
    }
    .hp ul li:first-child a::after, .hp ul li:last-child a::after {
        height: 40%;
    }
    .hp ul li a:hover::after {
        border: none;
    }
    .hp ul li a:hover::before {
        top: 30%;
    }

}
@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 800px) and (orientation: portrait) {

    .hp ul li a {
        width: 258px;
        height: 258px;
        font-size: 24px;
    }

}
@media screen and (max-width: 600px) and (orientation: landscape), screen and (max-height: 600px) and (orientation: portrait) {

    .hp ul li a {
        width: 208px;
        height: 208px;
        font-size: 20px;
    }

}
@media screen and (max-width: 500px) and (orientation: landscape), screen and (max-height: 500px) and (orientation: portrait) {

    .hp ul li a {
        width: 158px;
        height: 158px;
        font-size: 16px;
    }

}
@media screen and (max-width: 400px) and (orientation: landscape), screen and (max-height: 400px) and (orientation: portrait) {

    .hp ul li a {
        width: 158px;
        height: 158px;
        font-size: 12px;
    }

}
@media screen and (max-width: 300px) and (orientation: landscape), screen and (max-height: 300px) and (orientation: portrait) {

    .hp ul li a {
        width: 108px;
        height: 108px;
    }

}