html {
    height: 100%;
    min-height: 100%;
}

body {
    height: 100%;
    min-height: 100%;
    margin: 0;
}

#wrapper {
    height: 100%;
    min-height: 100%;
    height: 100%;
    min-height: 100%;
    background: linear-gradient(to right,#4a4b50,#ffffffee);
    /*background-image: url(../images/brick-wall.png);*/
    background-color: black;
}

.poster-design-icon img {
    vertical-align: text-bottom;
    width: 100%;
}

/*
.preview-frame {
    display: none;
    position: relative;
    height: 95%;
    max-width: 100%;
    padding: 1rem;
    background: linear-gradient(to right top, #575555, #cdcdcd);
    box-shadow: 0 0 5px #000000;
}

.preview-frame img {
    max-width: 100%;
    max-height: 100%;
}
*/
#menu {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    border-bottom: 1px solid #cacaca;
}

#control-panel #menu > li {
    line-height: 60px;
    font-size: 20px;
    height: 60px;
    letter-spacing: 2px;
    flex: 1;
    text-align: center;
    cursor: pointer;
}

#menu li.selected {
    background: #28345A;
    color: white;
    font-weight: 500;
}

#panels {
    overflow: hidden;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    position: relative;
    transition: margin-left 0.5s;
}

#panels > li > .sky-form {
    position: absolute;
    padding: 15px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#control-panel .form-control {
    border: 0;
    border-bottom: 2px solid #28345A;
    padding: 5px;
    background: transparent;
    border-radius: 0;
    outline:0px !important;
    box-shadow: none !important;
}

.cta button {
    font-size: 20px;
    height: 60px;
    letter-spacing: 2px;
}

.cta button {
    font-size: 20px;
    height: 60px;
    letter-spacing: 2px;
    background: #28345A;
    color: white;
    text-transform: uppercase;
    border-radius: 10px;
    width: 100%;
    padding: 0;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.20);
}

#preview-loading {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(235, 235, 235, 0.5);
    background-image: url(../images/loading-spinner.svg);
    background-repeat: no-repeat;
    background-position: center center;
}

#preview.loading #preview-loading {
    display: block;
}

.sky-objects-list {
    margin-bottom: 15px;
}

.sky-objects-list .sky-object {
    display: inline-block;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: border 150ms ease-in-out, background 150ms ease-in-out;
    border-radius: .02083333rem;
    border: 1px solid #d1d1d4;
    background-color: #fff;
    padding: 5px;
    border-radius: 5px;
    margin-right: 5px;
    cursor: pointer;
    text-transform: uppercase;
}

.sky-objects-list .sky-object input {
    display: none;
}

.sky-objects-list .sky-object.active {
    background-color: #28345A;
    color: #ffffff;
}

.sky-objects-list .sky-object svg {
    width: 45px;
}

.sky-objects-list .sky-object.active svg {
    fill: #ffffff;
}

.poster-design {
    display: inline-block;
    border: 1px solid #cacaca;
    cursor: pointer;
    border-radius: 5px;
    width: 75px;
    height: 75px;
}

.price {
    font-weight: bold;
}

.price-info {
    font-size: 13px;
    text-align: center;
}

.price-info .row {
    border-radius: 10px;
    /*border: 1px solid #cacaca;*/
    margin: 0px;
    margin-bottom: 5px;
    /*padding: 15px;*/
}

.poster-design-circle {
    height: 50px;
    width: 50px;
    margin: 10px;
    padding: 5px;
    text-align: center;
    border-radius: 50%;
    display: inline-block;
    color:#fff;
    font-size:1.1em;
    font-weight:600;
    background-color: rgba(0,0,0,0);
    border: 10px solid rgba(0,0,0,0.2);
    margin-bottom: 10px;
}

.poster-design.active {
    -webkit-box-shadow:0 1px 4px #f76916;
    box-shadow:0 0px 4px #f76916;
    border-color: #f76916;
}

body.preview-active #preview {
    width: 100%;
    height: 100%;
}

body.preview-active #control-panel {
    display: none;
}

.sky-form .form-group {
    display: block;
}

.price-shipping {
    font-size: 12px;
    color: red;
}

@media (max-width: 767px) {

    .sky-objects-list .sky-object {
        font-size: 3vw;
    }

    .poster-design {
        width: 11vw;
        height: 11vw;
    }

    .poster-design-circle {
        width: 5vw;
        height: 5vw;
        border: 1vw solid rgba(0,0,0,0.2);
    }

    #wrapper {
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    .cta button {
        font-size: 5.36vw;
        height: 11.96vw;
        letter-spacing: 0.57vw;
    }
    #control-panel {
        background: white;
        box-shadow: 0 -2px 4px 0 rgba(0, 0, 0, 0.20);
        border-top-right-radius: 10px;
        border-top-left-radius: 10px;
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        height: 87.5vw;
        margin-top: -10px;
    }
    .preview-frame {
        height: 100%;
        width: auto;
        max-width: 500%;
        margin: 0 -100%;
    }
    #preview {
        text-align: center;
        position: relative;
        overflow: hidden;
        flex: 1;
        width: 100%;
    }
}

@media (min-width: 768px) {
    .input-block {
        margin-top: 20px;
    }

    .cta {
        margin-top: 20px;
        flex: 1;
        display: flex;
        align-items: flex-end;
    }

    .design-form .cta {
        flex: none;
    }

    .price-info {
        align-content: flex-end;
        flex: 1;
        text-align: center;
        flex-direction: column;
        display: flex;
        justify-content: flex-end;
    }
    #preview {
        position: fixed;
        overflow: hidden;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 400px;
        background-position: center center;
        background-repeat: no-repeat;
        width: 90vw;
        width: calc(100vw - 400px);
    }
    #control-panel {
        background: white;
        box-shadow: -2px 0px 4px 0 rgba(0, 0, 0, 0.20);
        position: absolute;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        top: 0;
        bottom: 0;
        right: 0;
        width: 400px;
    }
    #main-preview {
        width: 550px;
        /*height: 975px;*/
        margin: auto 0;
    }
}

@media (min-width: 1200px) {
    #preview {
        width: calc(100vw - 400px);
    }
}
