@font-face {
    font-family: 'amor_sans_proregular';
    src: url('fonts/amorsanspro-webfont.eot');
    src: url('fonts/amorsanspro-webfont.eot?#iefix') format('embedded-opentype'),
    url('fonts/amorsanspro-webfont.woff') format('woff'),
    url('fonts/amorsanspro-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
html {
    height: 100%;
}
body {
    background: dodgerblue url("../images/bg.png") center center no-repeat;
    font-family: "amor_sans_proregular";
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-attachment: fixed;
    font-size: 16px;
    height: 100%;
    width: 100%;
    position: relative;
    -webkit-touch-callout: none;
    -moz-touch-callout: none;
    -ms-touch-callout: none;
    -o-touch-callout: none;
    touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.container,
.start-info,
.image-box,
#caption-tabs,
.caption {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.container {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 1%;
    min-width: 980px;
    max-width: 1600px;
    height: 100%;
}

.clear {
    clear: both;
}

/* ========================= */

#wrapper {
    float: left;
    width: 69%;
    margin-right: 1%;
    background-color: #fff;
    text-align: center;
}
.image-box {
    display: inline-block;
    width: 48%;
    padding: 15px;
}

.date-season {
    margin-bottom: 5px;
    font-size: 32px;
    height: 55px;
}

.date-season > p {
    float: left;
    position: relative;
    top: 10px;
    margin-right: 10px;
}

.images-wrap {
    position: relative;
}

.images-wrap > img {
    display: block;
    max-width: 100%;
}

.image-caption {
    width: 25%;
    height: 50px;
    border: 3px solid #010165;
    border-radius: 6px;
    background-color: #FDF86A;
    text-align: center;
}

.date-box.image-caption {
    float: left;
    border: 3px solid #38c0f4;
    background-color: #fff;
    width: 200px;
}

.image-caption.picture {
    position: absolute;
    border: 3px solid #ffde15;
    background-color: rgba(255, 255, 255, 0.4);
}

#flower-i.image-caption.picture {
    width: 50px;
    height: 50px;
    left: 28%;
    top: 70%;
}

#stork-i.image-caption.picture {
    width: 100px;
    height: 128px;
    right: 28%;
    bottom: 10%;
}

#sun-i.image-caption.picture {
    width: 100px;
    height: 108px;
    right: 8%;
    top: 2%;
}

#ball-i.image-caption.picture {
    width: 100px;
    height: 76px;
    left: 36%;
    bottom: 10%;
}

#clouds-i.image-caption.picture {
    width: 100px;
    height: 107px;
    right: 8%;
    top: 2%;
}

#umbrella-i.image-caption.picture {
    width: 100px;
    height: 116px;
    left: 32%;
    bottom: 2%;
}

#snowman-i.image-caption.picture {
    width: 100px;
    height: 123px;
    left: 8%;
    bottom: 3%;
}

#sledge-i.image-caption.picture {
    width: 100px;
    height: 107px;
    right: 20%;
    bottom: 10%;
}

/* =============== */

.words-wrap {
    height: 55px;
    margin-top: 5px;
}

.image-caption.word {
    float: left;
    border: 3px solid #f79362;
    background-color: #fff;
    width: 44%;
    margin-right: 10px;
}

/* ========================= */

#caption-tabs {
    float: left;
    width: 27%;
    position: relative;
    padding: 20px;
}

.draggables {
    width: 100%;
    min-height: 200px;
}

.caption {
    display: inline-block;
    border: 3px solid #010165;
    border-radius: 6px;
    background-color: #fff;
    padding: 10px 20px;
    margin: 0 10px 10px 0;
    font-size: 32px;
    line-height: 32px;
    cursor: move;
    z-index: 1;
    color: #CC0001;
}

.caption.date-box {
    border: 3px solid #38c0f4;
    width: 200px;
}

.caption.word {
    border: 3px solid #f79362;
    white-space: nowrap;
}

.caption.picture {
    border: 3px solid #ffde15;
    width: 33%;
}

.draggables .caption.picture {
    border: 3px solid #ffde15;
    width: 33% !important;
    height: auto !important;
}

.caption.picture > img {
    display: block;
    max-width: 100%;
}

.image-caption > .caption {
    margin-right: 0;
    margin-bottom: 0;
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    line-height: 50px;
    color: #000;
    z-index: 1;
}

.image-caption.ui-state-active {
    border-color: transparent !important;
    background-color: yellow;
}

.image-caption.haselement {
    border: none !important;
}


/* =============== */

.notapproved {
    background-color: #ff4758;
    border: 3px solid #ff0000;
}

.approved {
    background-color: #c3e7c3;
    border: 3px solid green;
}

.ui-state-active {
    background-color: #ffff00;
}

/* =============== */

.start-info {
    padding: 80px 30px 30px 30px;
    border: 3px solid #010165;
    border-radius: 20px;
    background-color: #ffffff;
    text-align: center;
}

#startgame-popup .start-info {
    padding-top: 40px;
}

.start-info p {
    font-size: 36px;
    color: #010165;
    text-align: center;
    margin-bottom: 55px;
}

.start-info p span {
    font-size: 38px;
}

.pop_action_btn {
    width: 200px;
    font-size: 30px;
    border: 3px solid #010165;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.5);
    color: #010165;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 70px;
    padding: 20px;
    margin: 0 auto;
}

.pop_action_btn:hover {
    background-color: rgba(30, 144, 255, 0.5);
    color: #ffffff;
}

#counter {
    font-size: 120px;
    color: #010165;
    position: relative;
    top: 85px
}

.popup,
.end-popup {
    position: fixed;
    background-color: rgba(255, 255, 255, 0.85);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
}
.end-popup {
    display: none;
}

.start-info,
.popup-box {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 694px;
    height: 469px;
    margin-left: -347px;
    margin-top: -234px;
}

.popup-box {
    background: url("../images/pop-up.png") top left no-repeat;
    border: 6px solid #010165;
    border-radius: 30px;
    font-size: 48px;
    color: #010165;
    text-align: center;
    line-height: 120%;
    position: relative;
}

.popup-box p {
    position: absolute;
    bottom: 13%;
    left: 0;
    width: 100%;
    text-align: center;
}

#nextstage-popup {
    visibility: hidden;
}

.refresh {
    position: absolute;
    display: block;
    width: 100px;
    height: 100px;
    background: url("../images/refresh.png") center no-repeat;
    background-size: contain;
    text-indent: -9999px;
}

.refresh:hover {
    opacity: 0.8;
}
.refresh.inner {
    right: 1%;
    bottom: 3%;
    border: 3px solid #010165;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.5);

}
.refresh.outer {
    right: 30px;
    top: 20px;
}


@media only screen and (max-width: 1280px) {
    .container {
        overflow-x: hidden;
    }
    .refresh.inner {
        bottom: 2%;
        width: 60px;
        height: 60px;
    }
}

@media only screen and (max-width: 1150px), (max-height: 770px) {
    #image-holder {
        max-width: 470px;
    }
    .image-caption > .caption {
        font-size: 24px;
        color: #010165;
    }

    .draggables .caption.picture {
        width: 44% !important;
    }


    #flower-i.image-caption.picture {
        left: 10%;
        top: 63%;
    }

    #sun-i.image-caption.picture {
        right: 1%;
    }

    #ball-i.image-caption.picture {
        bottom: 2%;
        left: 24%;
    }

    #clouds-i.image-caption.picture {
        right: 2%;
    }

    #umbrella-i.image-caption.picture {
        left: 20%;
    }

    #sledge-i.image-caption.picture {
        right: 5%;
    }
}

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

    .caption,
    .image-caption {
        border-width: 2px;
    }
}
