/*
1440: 768
1024: 849
*/

html, body {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    width: 100%;
    overflow: hidden;
    background: #f2f2f2;
}

* {
    box-sizing: border-box;
}

#main, .bottom-part {
    width: 100%;
    max-width: 1440px;
    margin: auto;
}

#main:after, .bottom-part:after {
    content: "";
    display: block;
    clear: both;
}


.nome-missione {
    font-size: 36px;
    color: #212121;
    position: absolute;
    top: 10px;
    left: 30px;
    padding-right: 50px !important;
}

.elicottero {
    position: relative;
    margin-top: -2vw;
}

.livrea {
    position: relative;
}

.puntatore {
    position: absolute;
    width: 6%;
    height: 11%;
    cursor: pointer;
}

.puntatore svg:last-child {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: none;
}

.puntatore.selected svg:first-child {
    opacity: 0;
}

.puntatore.selected svg:last-child {
    display: block;
}

.nero-1 {
    top: 65%;
    left: 1%;
}

.nero-2 {
    top: 63%;
    left: 8%;
}

.nero-3 {
    top: 66%;
    left: 21%;
}

.nero-4 {
    top: 51%;
    left: 21%;
}

.nero-5 {
    top: 37%;
    left: 21%;
}

.nero-6 {
    top: 45%;
    left: 28%;
}

.nero-7 {
    top: 52%;
    left: 35%;
}

.nero-8 {
    top: 65%;
    left: 39%;
}

.nero-9 {
    top: 35%;
    left: 79%;
}

.nero-10 {
    top: 31%;
    left: 87%;
}

.pop-up {
    float: left;
    max-width: 29%;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
}

.pop-up.show {
    opacity: 1;
    pointer-events: all;
}

.elicottero img, .pop-up img, .tecnico img {
    width: 100%;
}


@media all and (min-width: 1025px) {
    .elicottero {
        width: 71%;
        float: left;
    }

}

.pop-up-text {
    font-size: 17px;
    padding-top: 15px;
    color: #212121;
}

.pop-up-button:first-child {
    margin-right: 5px;
}

.pop-up-button {
    font-size: 12px;
    display: inline-block;
    color: #212121;
    border: solid 2px #979897;
    border-radius: 999px;
    padding: 7px 12px;
    cursor: pointer;
}

.pop-up-buttons {
    white-space: nowrap;
    padding-top: 25px;
}

.fullscreen {
    position: absolute;
    right: 20px;
    height: 20px;
    cursor: pointer;
    top: 50%;
    transform: translateY(-50%);
}


.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 999999;
    transition: .6s ease;
}

.red-band {
    text-align: left;
    font-size: 20px;
    padding: 10px 10px 10px 50px;
    line-height: 1;
    z-index: 9;
    position: relative;
    color: white;
}

.bg-red {
    background: #E3132C;
}

.color-red {
    color: #E3132C !important;
}

.color-white {
    color: #fff;
}

.switcher {
    padding: 14px 0;
    border-bottom: solid 1px #212121;
}

.switcher > .realistic, .switcher > .outline {
    position: relative;
    font-family: 'light';
    font-size: 16px;
    color: #212121;
    cursor: pointer;
    line-height: 1;
    vertical-align: middle;
    top: 1px;
}

.switcher .selected {
    font-family: 'bold';
    top: 0;
}


.bottom-part {
    position: absolute;
    bottom: 40px;
    padding: 0 50px;
    transition: .5s ease-in-out;
}

@media all and (max-width: 1024px) {
    .bottom-part {
        background: #f2f2f2;
    }

    .nome-missione {
        font-size: 28px;
        position: relative;
        top: 0;
        left: 0;
        padding: 20px 0 0 20px
    }
}

.bottom-row {
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 0;
    margin-top: 18px;
    padding-bottom: 63px;
}

.col {
    width: 50%;
    display: inline-block;
    padding: 0 25px;
    vertical-align: top;
}

.col:first-child {
    padding-left: 0;
}

.col:last-child {
    padding-right: 0;
}

.col:not(.right-title) {
    cursor: pointer;
}

.right-title .spec-title {
    font-size: 22px;
    color: #212121;
    padding-bottom: 18px;
    border-bottom: solid 1px #212121;
    line-height: 1;
}

.bottom-row {
    padding-top: 15px;
    border-top: solid 1px #212121;
}

.spec-title {
    line-height: 1;
    font-size: 32px;
    border-bottom: solid 1px #212121;
    color: #212121;
    padding-bottom: 13px;
    transition: .3s ease-in-out;
}

.spec-subtitle {
    color: #212121;
    line-height: 1;
    font-size: 16px;
    padding: 10px 0;
    transition: .3s ease-in-out;
}

.spec-desc {
    line-height: 1.4;
    font-size: 18px;
    color: #212121;
    padding-top: 15px
}

.bottom-right {
    line-height: 1;
    color: #212121;
    font-size: 18px;
    position: absolute;
    bottom: 15px;
    left: 50px;
}


.tecnico {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}


.transition {
    transition: .8s ease-in-out;
}

.dots-bottom-right {
    position: absolute;
    left: 8%;
    top: 55%;
    height: 0;
    width: 1px;
    border-left: dashed 1px #E3132C;
}

.dots-left {
    height: 0;
    width: 1px;
    border-left: dashed 1px #E3132C;
    position: absolute;
    left: 95.5%;
    top: 65%;
}

.dots-left.show {
    height: 20%;
}

.dots-bottom-right.show {
    height: 31%;
}

.arrow-bottom {
    position: absolute;
    left: 8%;
    width: 0;
    height: 2px;
    top: 83%;
}

.arrow-bottom.show {
    width: 87.3%;
}

.arrow-body {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #E3132C;
}

.arrow-head-top {
    position: absolute;
    right: 2px;
    bottom: -1px;
    width: 2px;
    height: 0;
    background: #E3132C;
    transform: rotateZ(-45deg);
    border-radius: 1px;
}

.arrow-head-bottom {
    position: absolute;
    right: 2px;
    top: -1px;
    width: 2px;
    height: 0;
    background: #E3132C;
    transform: rotateZ(45deg);
    border-radius: 1px;
}

.arrow-bottom.show .arrow-head-top, .arrow-bottom.show .arrow-head-bottom {
    height: 10px;
}


.dots-top {
    width: 0;
    height: 1px;
    border-top: dashed 1px #E3132C;
    position: absolute;
    left: 8%;
    top: 19%;
}

.dots-bottom-left {
    width: 0;
    height: 1px;
    border-top: dashed 1px #E3132C;
    position: absolute;
    right: 2%;
    top: 81%;
}

.dots-bottom-left.show {
    width: 17%;
}

.arrow-right {
    position: absolute;
    right: 3%;
    width: 2px;
    height: 0;
    bottom: 19%;
}

.arrow-right.show {
    height: 62%;
}

.arrow-right .arrow-head-top, .arrow-right .arrow-head-bottom {
    top: -1px;
    bottom: auto;
    right: -3px;
}

.arrow-right .arrow-head-bottom {
    right: 3px;
}

.arrow-right.show .arrow-head-top, .arrow-right.show .arrow-head-bottom {
    height: 10px;
}

.dots-top.show {
    width: 90%;
}


.dots-pala-left {
    width: 1px;
    height: 0;
    border-left: dashed 1px #E3132C;
    position: absolute;
    left: 19.5%;
    top: 24%;
}

.dots-pala-left.show {
    height: 21%;
}

.dots-pala-right {
    width: 1px;
    height: 0;
    border-left: dashed 1px #E3132C;
    position: absolute;
    right: 0;
    top: 24%;
}

.dots-pala-right.show {
    height: 21%;
}

.arrow-top {
    position: absolute;
    right: 2px;
    width: 80%;
    height: 2px;
    top: 26%;
}


.arrow-body-left {
    position: absolute;
    background: #E3132C;
    top: 0;
    width: 0;
    right: 50%;
    bottom: 0;

}

.arrow-body-right {
    position: absolute;
    background: #E3132C;
    top: 0;
    width: 0;
    left: 50%;
    bottom: 0;
}

.arrow-top.show .arrow-body-right, .arrow-top.show .arrow-body-left {
    width: 50%;
}

.arrow-top.show .arrow-head-top, .arrow-top.show .arrow-head-bottom,
.arrow-top.show .arrow-foot-top, .arrow-top.show .arrow-foot-bottom {
    height: 10px;
}

.arrow-foot-top {
    position: absolute;
    left: 2px;
    bottom: -1px;
    width: 2px;
    height: 0;
    background: #E3132C;
    transform: rotateZ(45deg);
    border-radius: 1px;
}

.arrow-foot-bottom {
    position: absolute;
    left: 2px;
    top: -1px;
    width: 2px;
    height: 0;
    background: #E3132C;
    transform: rotateZ(-45deg);
    border-radius: 1px;
}

.rotor_mask, .cabin_mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
}

.rotor_mask.show, .cabin_mask.show {
    opacity: 1;
}

.pop-up:after {
    content: "";
    display: block;
    clear: both;
}

@media all and (max-width: 750px) {
    .spec-title {
        font-size: 25px
    }
    .spec-desc {
        font-size: 13px;
    }
}

@media all and (max-width: 1024px) and (min-width: 500px) {
    html, body {
        position: relative;
    }

    body {
        overflow: hidden;
        height: 820px;
    }

    .elicottero {
        margin-top: -8vw;
        margin-bottom: -6vw;
    }

    .bottom-part {
        position: relative;
        bottom: 0;
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer {

    }

    .pop-up {
        float: none;
        max-width: 100%;
        display: flex !important;
    }

    .pop-up img {
        min-width: 385px;
        max-width: 385px;
        display: inline-block;
        align-self: center;
    }

    .pop-up-body {
        display: inline-block;
        vertical-align: top;
    }

    .bottom-right {
        left: 20px;
    }

    .pop-up-text {
        padding: 0;
    }

    .pop-up-body {
        padding-left: 25px;
    }

    .bottom-row {
        white-space: normal;
    }

    .col {
        width: 50%;
    }

    .col:nth-child(4), .col:nth-child(5) {
        margin-top: 30px;
        left: 32%;
        position: relative;
    }

    .tecnico {
        position: relative;
    }
}


.close_pop_up {
    display: none;
    width: 25px;
    height: 25px;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

@media all and (max-width: 499px) {
    .pop-up-text {
        font-size: 15px
    }
    .pop-up-buttons {
        padding-top: 15px
    }
    html, body {
        position: relative;
        overflow-y: scroll;
    }

    body {
        overflow: hidden;
    }

    .bottom-part {
        padding: 0 20px;
        position: relative;
        bottom: 0;
    }

    .footer {
        position: relative;
    }

    .bottom-right {
        position: relative;
        bottom: 0;
        left: 0;
    }

    .col {
        width: 100%;
        display: block;
        padding: 0;
    }

    .switcher > .realistic, .switcher > .outline {
        display: inline-block;
        font-size: 12px;
    }

    .right-title .spec-title {
        font-size: 18px;
        padding-bottom: 10px;
    }

    .spec-title {
        font-size: 24px;
    }

    .spec-subtitle, .spec-desc, .bottom-right {
        font-size: 10px;
    }

    .bottom-right {
        padding-bottom: 16px;
    }

    .bottom-row {
        margin-top: 22px;
    }

    .pop-up {
        float: none;
        position: absolute;
        z-index: 9999;
        background: #f2f2f2;
        width: 100%;
        max-width: 100%;
        transform: translateY(100%);
        bottom: 0;
        transition: .3s ease-in-out;
    }

    .pop-up .pop-up-img {
        float: left;
        width: 40%;
        margin-right: 15px;
    }

    .pop-up.show {
        transform: translateY(0);
    }

    .pop-up-text {
        padding: 0;
    }

    .livrea {
        margin-bottom: -25px;
    }

    .col:not(.right-title) {
        padding-top: 30px;
    }
    .col:first-child {
        padding-top: 0;
    }
    .bottom-row {
        padding-bottom: 44px;
        padding-top: 0;
        border: none
    }

    .red-band {
        padding-left: 20px;
    }

    .red-band img, .red-band span:nth-child(2) {
        display: none;
    }

    .tecnico {
        position: relative;
    }

    .elicottero {
        padding: 0 20px;
    }

}

@media all and (min-width: 1px) and (max-width: 499px) {
    html, body {
        overflow: hidden;
    }
}

@media all and (min-width: 500px) and (max-width: 1024px) {
    body {
        height: 700px;
    }
}

@media all and (min-width: 1025px) {
    body {
        height: 700px;
    }
}
