/*
 * CNIT 133M
 * Homework #3
 *
 * Author: Stefan Musarra
 *
 * Color Scheme:
 * http://paletton.com/#uid=3300t0kw0oSmLvItNuQBOklKwf1
 */

#body, div.container {
    background-color: #a6bfc1;
    font-size: 16px;
    font-family: Helvetica Neue, Helvetica, Arial;
    color: #fff;
}

/*
 * http://stackoverflow.com/questions/7936119/setting-maximum-width-for-content-in-jquery-mobile
 */
@media only screen and (min-width: 1000px){
    .ui-page {
        width: 1000px !important;
        margin: 0 auto !important;
        position: relative !important;
        border-right: 5px #666 outset !important;
        border-left: 5px #666 outset !important;
    }
}

#body div.course-title {
    background-color: #007238;
    box-shadow: inset 0 0 80px 0px #005429;
    text-align: center;
    color: #FFFFFF;
    padding: .5em 0;
}

div.toy {
    display: inline-block;
    float: left;
    margin-left: 40px;
    height: 40px;
    width: 40px;
    background-size: cover;
}
#page1 div.toy {
    background-image: url(./images/teddy_bear_toy_1.png);
}
#page2 div.toy {
    background-image: url(./images/teddy_bear_toy_2.png);
}
#page3 div.toy {
    background-image: url(./images/teddy_bear_toy_3.png);
}
#page4 div.toy {
    background-image: url(./images/teddy_bear_toy_4.png);
}
#page5 div.toy {
    background-image: url(./images/teddy_bear_toy_5.png);
}
div.carousel-container {
    display: flex;
    align-items: center;
    flex-direction: column;
}
/*
div.nbs-flexisel-container {
    height: 50%;
}
*/
div.cart {
    display: inline-block;
    float: right;
    margin-right: 40px;
    margin-top: 5px;
    height: 30px;
    width: 30px;
    background-image: url(./images/shopping-cart-xxl.png);
    background-size: cover;
}
#body div.cart a:visited, div.cart a:-webkit-any-link {
    color: #fff;
    text-decoration: none;
}
div.cart span {
    margin-left: 35px;
    font-size: 1.2em;
    margin-top: 5px;
}
#cart-table th.item {
    width: 30%;
}

h2.centered, h3.centered {
    text-align: center;
}

section.ui-page, div.ui-page {
    font-size: 1.0em;
    background-color: #33B171;
    box-shadow: inset 0 0 80px 0px #0CAC5B;
    align-items: stretch;
    flex-grow: 1;
    flex-basis: auto;
}
div.store-address h2 {
    margin-bottom: .2em;
}
div.toy-store {
    height: 200px;
    margin: 1em auto;
    background-image: url(./images/toy-store.jpg);
    background-size: cover;
}
div.store-address {
    margin: 0 auto;
    width: 15em;
}
@media screen and (orientation: landscape) {
    div.store-address {
        width: 20em;
    }
}
@media screen and (orientation: landscape) and (max-width: 800px){
    div.col1 {
        height: 100%;
    }
    div.toy-store {
        float: left;
        width: 300px;
        height: 120px;
        margin-right: 30px;
    }
    div.store-address {
        width: 400px;
    }
}
@media screen and (orientation: landscape) and (max-width: 600px){
    div.col1 {
        height: 100%;
    }
    div.toy-store {
        float: left;
        width: 200px;
        height: 88px;
        margin-right: 20px;
    }
    div.store-address {
        width: 300px;
    }
}
form div.ui-input-text input {
    background-color: #fff;
    color: #000;
}
#products img {
    width: 80%;
    margin-left: 10%;
}
div.location {
    width: 80%;
    margin: 2em 10%;
}
div.footer {
    background-color: #68979B;
    text-align: center;
    color: #FFFFFF;
}
div.footer div.nav {
    height: 3em;
}
div.nav ul {
    position: relative;
    text-align: center;
    font-size: 1.2em;
    border: 2px solid black;
    height: inherit;
}

div.footer div.nav li {
    position: relative;
    height: 100%;
    background-color: #222;
    box-shadow: inset 0 0 80px 0px #000;
    vertical-align: middle;
}
div.nav li a {
    white-space: normal;
    height: 100%;
    padding: .5em 0;
    text-align: center;
    color: #fff;
}
div.nav li a:visited {
    color: #ddd;
}
div.nav li a.ui-btn-active {
    background-color: #007238;
    box-shadow: inset 0 0 80px 0px #005429;
    color: #fff;
}

div.footer div.nav li:hover {
    background-color: #AAAAAA !important;
}

div.fade-in {
    opacity: 1;
}

#map {
    /*height: calc(100% - 250px)*/
    height: 100%;
}

#html-check {
    margin-top: 40%;
}
#html-check a {
    margin: 2em;
}



