﻿body {
    padding-top: 0;
    padding-bottom: 20px;
}

header {
    height: 50px;
    background-color: #222222;
}

footer {
    margin-top: 50px;
}
/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    margin: 20px 0;
}

#logo-wrapper {
    margin-bottom: 0;
}

#registration-wrapper {
    border-left: 2px solid #808080;
    padding: 24px 0 20px 20px;
}

#terms-btn,
#terms-btn:hover {
    color: #222222;
}

#tos {
    font-size: .75em;
    margin: 20px 0;
}

    #tos h1, #tos h2, #tos h3 {
        font-size: 1.25em;
        font-weight: bold;
    }

a[data-type].btn {
    background-color: gainsboro;
    color: black;
    height: 41px;
    box-shadow: none;
    border-radius: 0;
    border: 0;
    padding: 6px 25px;
    text-shadow: none;
    font-weight: 400;
/*    text-transform: uppercase;*/
}

a[data-type].btn-success,
button[data-type].btn-success {
    background-color: #E32B23;
    color: #ffffff;
    height: 41px;
    box-shadow: none;
    border-radius: 0;
    border: 0;
    padding: 6px 25px;
    text-shadow: none;
    font-weight: 400;
/*    text-transform: uppercase;*/
}

    a[data-type].btn-success:hover,
    button[data-type].btn-success:hover {
        background-color: #d21a12;
    }

.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}

    .bs-callout.bs-callout-danger {
        border-left-color: #ce4844;
    }
/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    /*max-width: 280px;*/
}

#templates-list {
    display: flex;
    flex-direction: row;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -o-justify-content: space-between;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

    #templates-list .item-wrapper {
        cursor: pointer;
        position: relative;
        margin-bottom: 15px;
        text-align: center;
        display: flex;
    }
    #templates-list.strips .item-wrapper {
        overflow-x: hidden;
    }
        #templates-list.strips .item-wrapper .img-shim {
            margin: 0 auto;
            max-width: 212px;
            overflow-x: hidden;
        }

        #templates-list.strips .item-wrapper img {
            max-width: 200%;
            margin-left: -2px;
            width: 200%;
        }
    
    #templates-list.strips .item-wrapper {
        overflow-x: hidden;
    }

        #templates-list.strips .item-wrapper .img-shim {
            margin: 0 auto;
            max-width: 212px;
            overflow-x: hidden;
        }

        #templates-list.strips .item-wrapper img {
            max-width: 200%;
            margin-left: -2px;
            width: 200%;
        }

    #templates-list .item-wrapper .sheen {
        width: 100%;
        height: 100%;
        position: absolute;
        margin-left: -15px;
    }

        #templates-list .item-wrapper .sheen.clear {
            background-color: transparent;
            z-index: 997;
        }

        #templates-list .item-wrapper .sheen.select {
            background-color: #000;
            -ms-opacity: 0.33;
            -webkit-opacity: 0.33;
            opacity: 0.33;
            display: none;
        }

    #templates-list .item-wrapper:hover .sheen.select {
        display: block;
    }

    #templates-list .item-wrapper .select .button {
        color: #fff;
        font-size: 50px;
        border: 5px solid #fff;
        border-radius: 50%;
        display: block;
        margin: 35% auto;
        font-weight: bold;
        width: 80px;
        height: 80px;
        line-height: 70px;
        padding: 0;
        text-align: center;
    }

    #templates-list .item-wrapper img {
        max-width: 100%;
        margin: 0 auto;
        border: 1px solid #bbb;
    }

    #templates-list .item-wrapper h2 {
        font-size: 1em;
        font-weight: 700;
        margin: 10px 0;
        height: 36px;
        overflow: hidden;
        white-space: nowrap;
        -moz-text-overflow: ellipsis;
        text-overflow: ellipsis;
    }

    #templates-list .item-wrapper .layout {
        font-size: 0.75em;
    }

    #templates-list .item-wrapper .template-info {
        display: none;
    }

    #templates-list .loading-spinner {
        margin: 0 auto 15px;
        display: block;
    }

.image-wrapper.strips {
    border: 1px solid #8f8f8f;
    border-collapse: collapse;
    width: 200px;
    max-width: 25%;
    margin: 0 auto;
    overflow-x: hidden;
}

.strips #sample-img {
    border: none !important;
    width: 200%;
    max-width: 200%;
    margin: 0 -2%;
}


.field-validation-error {
    color: tomato;
    padding: 10px 0;
}

.sample-img-wrapper {
}

#sample-img {
    max-width: 100%;
    margin: 25px auto;
}

#navigation {
    margin-top: 15px;
}

    #navigation button {
        display: block;
        margin: 0 auto 15px;
    }

a.disabled {
    pointer-events: none;
    opacity: 0.5;
}

/* Issue 58: hides color personalization per widget prefs */
.no-color-spec .color-spec {
    display: none;
}

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
    #sample-img {
        max-height: 450px;
        width: auto;
        max-width: 100%;
    }

    .back-btn, #submit-btn {
        width: 46%;
        padding: 2%;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
    [data-id="photo-count"],
    [data-id="layout-type"] {
        margin-left: 0 !important;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        margin-top: 5px;
        width: 100%;
    }

        [data-id="photo-count"] .btn {
            width: 33%;
        }
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
}
