html, body {
    height: 100%;
    margin: 0;
}

body {
    background-image: url('https://florin-and-lynda.lon1.cdn.digitaloceanspaces.com/images/background.png');
    background-repeat: repeat;
    color: rgb(80,80,80);
    font-size: 16px;
}

i.fa {
    font-size: 1.4em;
}

h1 {
    font-size: 1.5em;
}

a:active, a:focus {
    text-decoration: none;
}

/*a:link {color: rgb(153,189,63);}    /* unvisited link */
/*a:visited {color: rgb(153,189,63);} /* visited link */
/*a:hover {color: rgb(153,189,63); background-color: #E5E5E5; text-decoration: underline; padding-bottom: 0px;}   /* mouse over link */
/*a:active {color: rgb(127,157,52);}  /* selected link */

#logo {
    margin: 10px auto;
}

#logo img {
    width: 100%;
    max-width: 549px;
}

#page_head_image img {
    width: 100%;
}

.container {
    height: calc(100% - 71px); /* 100% - height of #content */
}

#content {
    min-height: calc(100% - 68px); /* 100% - height of footer */
}

.breadcrumb {
    margin-top: 10px;
    margin-bottom: 5px;
}

nav.navbar {
    margin-bottom: 0;
}

.navbar-header .navbar-brand img {
    height: 20px;
}

blockquote.quote.florin p, blockquote.quote.lynda p {
    font-size: 0.91429em;
}

.footer {
    text-align: center;
    font-size: 0.7875em;
    padding: 20px 0 20px;
}

.footer::before, .footer::after {
    content: "";
    display: table;
    clear: both;
}

.footer .copyright {
    float: left;
}

.footer .designBy {
    float: right;
}

/* Mobile portrait - small tablet portait */
@media (max-width: 699px) {
    #content {
        min-height: calc(100% - 94px);
    }

    .footer {
        padding: 10px 0 0;
    }

    .footer .copyright, .footer .designBy {
        margin-bottom: 10px;
        text-align: center;
        width: 100%;
    }
}

/* Mobile landscape and larger sizes */
@media (min-width: 480px) and (max-width: 699px) {
    #content {
        min-height: calc(100% - 76px);
    }
}

.invitees_going .checkbox input {
    margin-left: 0;
}

.invitees_going input:checked + label::after {
    content: ' going';
    display: inline-block;
    font-family: FontAwesome;
    color: rgb(0,180,0);
    margin-left: 10px;
}

.item_container {
    margin-top: 20px;
}

.items_container {
    margin-top: 30px;
}

.small_item_container {
    position: relative;
    margin-bottom: 30px;
    cursor: pointer;
    overflow: hidden;
}

    .small_item_container.bought, .small_item_container.self.bought.unlimited {
        opacity: 0.5;
    }

    .small_item_container.bought.unlimited {
        opacity: 1;
    }

    .small_item_container.bought::before {
        content: "Someone has bought this!";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(50,50,50,0.5);
        font-size: 24px;
        padding: 80px 20px;
        text-align: center;
        color: rgb(255,255,255);
        z-index: 100;
        cursor: default;
    }

    .small_item_container.self.bought::before {
        display: none;
    }

    .small_item_container.bought.unlimited::before {
        display: none;
    }

    .small_item_container a, .full_item_container .item_details a {
        color: inherit;
    }

    .small_item_container a:hover, .full_item_container .item_details a:hover {
        text-decoration: none;
    }

    .small_item_container .item_image {
        height: 180px;
        text-align: center;
        background-color: #FFFFFF;
        overflow: hidden;
    }

    .small_item_container .item_image img {
        max-width: 100%;
        max-height: 100%;
        margin: 0 auto;
    }

    .small_item_container .small_item_buttons {
        position: absolute;
        top: 0;
        left: 0;
        padding: 15px 10px;
        width: 100%;
        transition: background-color 0.5s;
        text-align: right;
    }

    .small_item_container .small_item_buttons:hover {
        background-color: rgba(245,245,245,0.8);
    }

    .small_item_container .small_item_buttons a.cancel_claim .fa-times {
        display: none;
    }

    .small_item_container .small_item_buttons a.cancel_claim:hover .fa-check-square-o {
        display: none;
    }

    .small_item_container .small_item_buttons a.cancel_claim:hover .fa-times {
        display: inline;
    }

    .small_item_container .small_item_buttons a:hover .button_text {
        display: inline;
    }

    .small_item_container .small_item_buttons a .button_text, .small_item_container .small_item_buttons a .button_text:hover {
        display: none;
        margin-right: 8px;
        color: rgb(70,70,70);
    }

    .small_item_container .item_title, .small_item_container .item_price {
        padding: 0 10px;
    }

    .small_item_container .item_title {
        font-size: 16px;
        max-height: 45px;
        overflow: hidden;
    }

    .small_item_container .item_price {
        font-size: 18px;
        font-weight: bold;
    }

.full_item_container {

}

    .full_item_container p.bg-danger {
        padding: 20px;
        background-color: rgb(190,80,80);
        border: 1px solid rgb(150,80,80);
        color: rgb(240,240,240);
        border-radius: 2px;
    }

    .full_item_container .item_image {
        overflow: hidden;
    }

    .full_item_container .item_image img {
        max-width: 100%;
        max-height: 100%;
        margin: 0 auto;
    }

    .full_item_container .item_title {
        font-size: 1.6em;
        margin: 20px 0 10px 0;
    }

    .full_item_container .item_price {
        font-weight: bold;
        font-size: 1.8em;
        padding-bottom: 20px;
        border-bottom: solid 1px rgb(200,200,200);
        margin-bottom: 20px;
    }

    .full_item_container .full_item_buttons {
        color: rgb(230,230,230);
    }

    .full_item_container .full_item_buttons a.cancel_claim .fa-times {
        display: none;
    }

    .full_item_container .full_item_buttons a.cancel_claim:hover .fa-check-square-o {
        display: none;
    }

    .full_item_container .full_item_buttons a.cancel_claim:hover .fa-times {
        display: inline;
    }

    .full_item_container .full_item_buttons a:hover .button_text {
        display: inline;
    }

    .full_item_container .full_item_buttons a .button_text, .full_item_container .full_item_buttons a .button_text:hover {
        margin-right: 8px;
    }

    .full_item_container .item_description {
        margin-top: 20px;
    }

/*
 * Admin section start
 */

.invitees_stats {
    margin-bottom: 15px;
}

    .invitees_stats table th, .invitees_stats table td {
        text-align: center;
    }

    .invitees_stats table tr {
        background-color: rgb(230,230,230);
    }

    .invitees_stats table tr th {
        background-color: rgb(200,200,200);
    }

    .invitees_stats .total_invitees {
        margin-bottom: 20px;
    }

table.table td {
    vertical-align: middle !important;
}

table.table-striped tr.no-items {
    background-color: transparent;
}

.rsvped, .going {
    text-align: center;
}

.rsvped.yes, .going.yes {
    color: rgb(0,180,0);
}

.rsvped.no, .going.no {
    color: rgb(180,0,0);
}

.active_link, .edit_link, .delete_link, .rsvped, .going, .when {
    width: 30px;
    text-align: center;
}

td.delete_link {
    color: rgb(180,0,0);
}

.edit_link a, .delete_link a {
    color: inherit;
}

.admin_edit_form {
    margin-top: 10px;
}

.invitees .checkbox {
    display: inline;
}

.invitees .checkbox input {
    display: none;
}

.invitees .checkbox label {
    margin-top: 7px;
    padding: 2px 4px;
    border: solid 1px rgb(200,200,200);
    border-radius: 6px;
}

.invitees .checkbox input:checked + label {
    background: rgb(150,200,150);
    border: solid 1px rgb(100,150,100);
}

table .brand_name {
    font-weight: bold;
}

button#generate_code_button {
    margin-top: 10px;
}

i#code_loading {
    display: none;
    position: relative;
    top: 9px;
    margin-left: 10px;
    font-size: 1.4em;
}

#upload_image_label {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 15px;
    border-radius: 5px;
    background-color: rgb(200,200,200);
}

#upload_image_label:hover {
    background-color: rgb(205,205,205);
}

#upload_image {
    display: none;
}

.item_images img {
    height: 100px;
}

.item_images .delete_image {
    cursor: pointer;
    display: inline-block;
}

textarea.form-control {
    height: 120px;
    resize: vertical;
}

/*
 * Admin section end
 */
