@keyframes ltrAnim {
  0%   { margin-left: -10px; }
  50%  { margin-left: 10px; }
  100%  { margin-left: -10px; }
}

@keyframes fadein {
    0% { opacity: 0 }
    100% { opacity: 1 }
}

@keyframes fadeout {
    0% { opacity: 1 }
    100% { opacity: 0 }
}

.kozySlider {
    height: 100%;
    width: 100%;
    margin: 0;
    overflow: hidden;
}


.kozySlider.fadein {
    animation-iteration-count: 1;
    animation: fadein 400ms;
    animation-timing-function: linear;
}

.kozySlider.fadeout {
    animation-iteration-count: 1;
    animation: fadeout 400ms;
    animation-timing-function: linear;
}

.kozySlider .App360 .changeRoomButtons {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kozySlider .App360 .changeRoomButtons .editVignette {
    display: block;
    width: 50px;
    height: 50px;
    position: absolute;
    right: 30px;
}

.kozySlider .App360 .changeRoomButtons img {
    margin: 5px;
    margin-right: 13px;
    border: 3px solid white;
    -webkit-box-shadow: 0px 0px 8px 0px rgba(0,14,51,1);
    -moz-box-shadow: 0px 0px 8px 0px rgba(0,14,51,1);
    box-shadow: 0px 0px 8px 0px rgba(0,14,51,1);
}

.kozySlider .App360 .backButton {
    position: absolute;
    left: 0;
    top: 100px;
    z-index: 1;
    font-size: 1.5em;
    color: white;
    padding-left: 15px;
    background: #0000007a;
    padding: 15px;
    text-transform: uppercase;
    text-decoration: none;
}

.loaderGeneral {
    font-size: 2em;
    text-align: center;
    vertical-align: center;
    background: url('../images/video-background.jpg');
    background-size: cover;
    background-position: center center;
    height: 100%;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.loaderGeneral .kozySliderSpinner {
    width: 150px;
    height: 150px;
    margin: auto;
    position: relative;
    cursor: pointer;
}

.loaderGeneral .kozySliderSpinner::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    animation: rotate 1s infinite;
    animation-timing-function:linear;
    background-image: url(../images/360/arrow.png);
    background-size: 100% 100%;
}

.kozySlider .App360 .form {
    text-align: center;
}

.arrowDownMobile {
    display: none;
    width: 56px;
    height: 56px;
}

.arrowDown {
    display: inline-block;
    width: 150px;
    margin-bottom: 20px;
}

.flecheappart {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 0;
}

.kozySlider .App360 .mainPage .bottomItems {
    width: 100%;
    position: absolute;
    bottom: 0;
}

.kozySlider .App360 .selectRoom {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.kozySlider .App360 .selectRoom .appartment {
    position: relative;
}

.kozySlider .App360 .selectRoom .appartment .editVignette {
    display: block;
    width: 50px;
    height: 50px;
    position: absolute;
    right: 30px;
}

.kozySlider .App360 .selectRoom img {
    margin: 5px;
    margin-bottom: 10px;
    border: 3px solid white;
    -webkit-box-shadow: 0px 0px 8px 0px rgba(0,14,51,1);
    -moz-box-shadow: 0px 0px 8px 0px rgba(0,14,51,1);
    box-shadow: 0px 0px 8px 0px rgba(0,14,51,1);
}

.kozySlider .App360 .hand {
    position: absolute;
    width: 241px;
    height: 224px;
    z-index: 1;
    top: 0;
    left: 0;
}


.kozySlider .App360 .hand img {
    animation: ltrAnim 2s infinite;
}

.kozySlider .App360 .mainPage .title {
    text-align: center;
    font-size: 2.5em;
    padding-top: 2.5em;
    color: #28313a;
    font-family: "PT Serif", sans-serif;
    font-style: italic;
    margin-bottom: 1em;
}

.kozySlider .App360 .mainPage .title input.editable {
    text-align: center;
    font-size: 1em;
    color: #28313a;
    font-family: "PT Serif", sans-serif;
    font-style: italic;
    font-weight: bold;
    background-color: transparent;
    border: 0
}

.kozySlider .App360 .mainPage .title h1,
.kozySlider .App360 .mainPage .title h2 {
    margin: 0;
}

.kozySlider .App360 iframe {
    border: 0px;
    height: 100%;
}


.kozySlider .AppVideo .videoWrapper {
    width: 100%;
    height:100%;
}

.kozySlider .AppVideo .changeVideos { 
    position: absolute;
    display: flex;
    flex-direction: row;
    bottom:30px;
    width: 100%;
}

.kozySlider .AppVideo .changeVideos .video { 
    display: flex;
    flex-grow: 1;
    margin-left: 5px;
    margin-right: 5px;
    border: 4px solid white;
    text-align: center;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.room-editor {
    position: absolute;
    bottom: 30px;
    width: 100%;
}

.room-editor label {
    font-weight: bold;
    padding: 10px;
}

.room-editor .editIframeUrl {
    width: 100%;
    height: 50px;
    font-weight: bold;
    padding: 15px;
    font-size: 1.5em;
}

.video-editor {
    background-color: white;
    position: absolute;
    top: 120px;
    width: 100%;
    padding: 15px;
}

.video-editor label {
    font-weight: bold;
    padding: 10px;
}

.kozySlider .AppVideo .changeVideos .video .editVignette {
    display: block;
    width: 50px;
    height: 50px;
    position: absolute;
    right: 30px;
    top: 0;
    z-index: 1000;
}

.editVignette img {
    border: 0 !important;
    box-shadow: none !important;
}

.kozySlider .AppVideo .changeVideos .video:last-child { 
    margin-right: 30px;
}

.kozySlider .AppVideo .changeVideos .video:first-child { 
    margin-left: 30px;
}

.kozySlider .AppVideo .content-video {
    display: flex;
    flex-direction: column;
    height: 80%;
    justify-content: center;
    align-items: center;
}

.kozySlider .AppVideo .content-video h1 {
    text-align: center;
    font-size: 5.5em;
    color: #28313a;
    font-family: "PT Serif", sans-serif;
    font-style: italic;
}

.kozySlider .AppVideo .content-video h1 input.editable {
    text-align: center;
    font-size: 1em;
    color: #28313a;
    font-family: "PT Serif", sans-serif;
    font-style: italic;
    background-color: transparent;
    border: 0;
}

.kozySlider .AppVideo .content-video p {
    color: #ffffff;
    text-shadow: 1px 1px 1px rgba(2, 50, 76, 0.5);
    font: 500 16px/1.6em "Raleway", sans-serif;
    text-align: center;
    width: 100%;
}

.kozySlider .AppVideo .content-video p input.editable {
    color: #ffffff;
    text-shadow: 1px 1px 1px rgba(2, 50, 76, 0.5);
    font: 500 16px/1em "Raleway", sans-serif;
    text-align: center;
    background-color: transparent;
    border: 0;
    width: 100%;
}

.kozySlider .App360 {
    background: url('../images/main_picture.jpg');
    background-size: cover;
    background-position: center center;
    height: 100%;
    position: relative;
}

.kozySlider .App {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.kozySlider .AppVideo {
    background: url('../images/video-background.jpg');
    background-size: cover;
    background-position: center center;
    height: 100%;
    width: 100%;
    position: relative;
}

.kozySlider .AppVideo .changeVideos .video a { 
    display: block;
    width: 100%;
}


.kozySlider .AppVideo .changeVideos .video a img { 
    display: flex;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.kozySlider .AppVideo .changeVideos .video img:hover { 
    transition: all .5s;
    transform: scale(1.1);
}

@keyframes rotate {
    from { transform:rotate(0deg) }
    to { transform:rotate(360deg) }
}

.kozySlider .AppVideo .Button360 {
    width: 150px;
    height: 150px;
    position: relative;
    cursor: pointer;
}

.kozySlider .AppVideo .Button360::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    animation: rotate 1s infinite;
    animation-timing-function:linear;
    background-image: url(../images/360/arrow.png);
    background-size: 100% 100%;
}

.kozySlider .AppVideo .Button360::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/360/txt_360.png);
    background-position: center center;
    background-size: 100% 100%;
}

.kozySlider .App360 .ButtonVideo {
    width: 150px;
    height: 150px;
    position: relative;
    cursor: pointer;
    margin: auto;
}

.kozySlider .App360 .ButtonVideo::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    animation: rotate 1s infinite;
    animation-timing-function:linear;
    background-image: url(../images/360/arrow.png);
    background-size: 100% 100%;
}

.kozySlider .App360 .ButtonVideo::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/360/play_icon.png);
    background-position: center center;
    background-size: 100% 100%;
}

@media screen and (max-width: 1200px) {
    .kozySlider .App360 iframe { 
        height: 80%;
    }

    .kozySlider .App360 .form, .title {
        display: none;
    }
    .kozySlider .App360 .bottomItems {
        position:relative;
        height: 60%;
        width: 100%;
        bottom: 60px !important;
    }
    .kozySlider .App360 .mainPage > a {
        position: absolute;
        top: 50%;
        margin: auto;
        right: 10px;
    }
    .kozySlider .App360 .selectRoom {
        height: 100%;
        flex-direction: column;
        align-items: center;
        text-align: left;
    }

    .kozySlider .App360 .selectRoom img {
        width: 50%;
    }

    .kozySlider .App360 .selectRoom > div {
        flex-flow: row wrap;
    }

    .div > img {
        margin: 8px;
        width: 70%;
    }


    .kozySlider .App360 .changeRoomButtons {
        bottom: 0;
        top: inherit;
        flex-direction: row;
        height: 20%;
        overflow: hidden;
        width: 100%;
        position: relative;
        background-color: #00000075;
        margin-top: -4px;
        align-items: center;
    }


    .kozySlider .App360 .changeRoomButtons > div {

        text-align: center;

    }

    .kozySlider .App360 .changeRoomButtons img {
        width: 80%;
        margin-right: 5px;
    }

    .kozySlider .App360 .hand { 
        text-align: center;
    }

    .kozySlider .App360 .hand img {
        width: 50%;
        height: 50%;
    }

    .kozySlider .AppVideo .content-video h1 {
        font-size: 2.3em;
        margin-top: 61px;
    }

    .kozySlider .AppVideo .content-video p {
        line-height: 1.1em;
    }



    .flecheappart {
        position: relative;
        width: 70px;
        height: 100px;
        margin-top: -100px;
    }

    .arrowDownMobile {
        display: inline-block;
    }
    .arrowDown {
        display: none;
    }
}

@media screen and (max-width: 500px) {

    .kozySlider .AppVideo .changeVideos .video:last-child { 
        display: none;
    }

    .kozySlider .AppVideo .changeVideos .video:first-child { 
        display: none;
    }

    .kozySlider .App360 .ButtonVideo {
        margin-top: -22%;
    }

}
