body {
    padding-top: 60px;
    padding-bottom: 40px;
}

.sidebar-nav {
    padding: 9px 0;
}

.hidden {
    display: none !important;
    visibility: hidden !important;
}

.embed-container {
    position: relative;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
}

    .embed-container object,
    .embed-container video,
    .embed-container embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.cardotron {
    text-align: center;
}

    .cardotron .card_frame {
        border: 1px solid #e3e3e3;
        margin: 10px 20px 10px 20px;
        padding: 1px;
    }


.footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 70px;
    border: 1px solid #e5e5e5;
    background-color: #f5f5f5;
}

    .footer p {
        margin-bottom: 0;
        color: #777;
    }

.footer-links {
    margin: 10px 0;
}

    .footer-links li {
        display: inline;
        padding: 0 2px;
    }

        .footer-links li:first-child {
            padding-left: 0;
        }

#rcc-sidebar #email {
    margin: 0;
}

#rcc-actors td {
    padding: 2px;
}

#rcc-actors table {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

.visible-phone {
    display: none;
}

@media (max-width: 980px) {
    /* Enable use of floated navbar text */
    .navbar-text.pull-right {
        float: none;
        padding-left: 5px;
        padding-right: 5px;
    }

    #rcc-sidebar {
        display: none;
    }

    #rcc-actors {
        display: none;
    }
}

@media (max-width: 480px) {
    .hidden-phone {
        display: none;
    }

    .visible-phone {
        display: block;
    }
}


.thumbnail div.image-box-animated {
    max-width: 175px;
    max-height: 130px;
    margin: 0 auto;
}

    .thumbnail div.image-box-animated div {
        padding-bottom: 74.29%;
        height: 0;
        overflow-y: hidden;
    }

.thumbnail div.image-box-scratch {
    max-width: 395px;
    max-height: 220px;
    margin: 0 auto;
}

    .thumbnail div.image-box-scratch div {
        padding-bottom: 55.70%;
        height: 0;
    }

.thumbnail p.image-box {
    height: 3em;
    overflow: hidden;
    text-align: center;
}


.featured div.image-box {
    max-width: 350px;
    max-height: 260px;
    margin: 0 auto;
}

    .featured div.image-box div {
        padding-bottom: 74.29%;
        height: 0;
        overflow-y: hidden;
    }

.featured h3.image-box {
    height: 3em;
    overflow: hidden;
    text-align: center;
    line-height: 1.2em;
}

.hidden {
    display: none !important;
    visibility: hidden !important;
}

label.error {
    color: red;
    font-style: italic;
}

input.error {
    border: 1px solid red;
}

#nav-login-form label.error {
    display: none;
}

.writing-card-message {
    overflow: scroll;
    max-height: 250px;
    color: #111;
    border: 1px solid #bbb;
    border-radius: 3px;
    margin: 0;
    padding: 4px 8px;
    min-height: 54px;
    outline: none;
    background-color: white;
    height: 250px;
}

/* Amazon pay widgets */
#address-book.open, #wallet.open, #consent.open {
    min-width: 300px;
    max-width: 600px;
    min-height: 260px;
    max-height: 400px;
    width: 100%;
    height: 260px;
}

@media only screen and (min-width: 1200px) {
    #address-book.open, #wallet.open, #consent.open {
        width: 420px;
        height: 260px;
    }
}

#consent.open {
    height: 100px;
}

.navbar .nav > li > a,
.navbar .brand {
    font-family: 'fontsystem-dos';
    font-size: 25px;
}
/*.navbar .brand {
    font-size: 40px;
}*/
@media only screen and (max-width: 979px) {
    .show-for-large-up {
        display: none;
    }
}
@media only screen and (min-width: 980px) {
    .show-for-large-down {
        display: none;
    }
}
