@import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,400,700,300);

body {
    font-size: 14px;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    padding: 0;
    margin: 0;
    width: 100%;
}

a {
    color: #537332;
}

a:hover {
    color: #90a641;
}

.btn-primary {
    background: #537332;
    border: none;
}

.btn-primary:hover {
    background: #90a641;
    border: none;
}

#page {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 100px;
    overflow: hidden;
}

input {
    padding: 5px;
    font-size: 15px;
}

.art-image {
    width: 100px;
    float: left;
}

.ai_response {
    padding: 10px 0;
    border-bottom: 1px solid #999;
}

#ai_form label {
    margin: 20px 0 10px 0;
}

.ai_post_response_ta {
    width: 100%;
    height: 400px;
    border: 1px solid #999;
    margin: 10px 0;
}

#edit-frame {
    display: none;
    border: 1px solid #000;
    width: 50%;
    float: left;
    margin-right: 50px;
}

select {
    padding: 5px;
    font-size: 15px;
}

textarea {
    padding: 5px;
    font-family: "Open Sans", "HelveticaNeue-Light", "Helvetica Neue Light",
        "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 15px;
}

.dropzone {
    min-height: 150px;
    border: 1px dashed rgba(0, 0, 0, 0.3) !important;
    background: white;
    padding: 20px 20px;
}

#page_title,
#page_title_response {
    font-size: 24px;
    font-weight: bold;
    color: #444;
}

.mb-20 {
    margin-bottom: 20px;
}

#d_header {
    border-bottom: 1px solid #000;
    width: 100%;
    padding: 10px;
}

#d_row1 {
    border-bottom: 1px solid rgb(215, 215, 215);
    width: 100%;
    padding: 10px;
}

#d_row2 {
    border-bottom: 1px solid rgb(215, 215, 215);
    width: 100%;
    padding: 10px;
}

#d_row1:hover,
#d_row2:hover {
    background: #f8f8f8;
}

#d_donor {
    width: 38%;
    float: left;
}

#d_amt {
    width: 7%;
    float: left;
}

#d_date {
    width: 10%;
    float: left;
}

#d_receipt {
    width: 16%;
    float: left;
}

#d_notes {
    width: 27%;
    float: left;
}

#d_row {
    background: #fff;
    width: 100%;
    padding: 10px;
    color: #4b4b4b;
}

#d_row .submit {
    width: 150px;
    background: #c40000;
    color: #ffffff;
}

.table_layout {
    display: table;
    width: 100%;
    border-collapse: collapse;
}
.donation_row {
    display: table-row;
}
.donation_row > div {
    display: table-cell;
    padding: 8px;
    border-bottom: 1px solid #ddd;
    vertical-align: top;
}
.donation_row:first-child {
    background-color: #f5f5f5;
    font-weight: bold;
}
.donation_row:nth-child(even) {
    background-color: #f9f9f9;
}
.donation_row:hover {
    background-color: #f0f0f0;
}
.donation-answers {
    padding: 5px 0;
}
.donation-answers > div {
    margin: 3px 0;
}
/* Column widths */
.donation_row > div:nth-child(1) { width: 20%; } /* Name */
.donation_row > div:nth-child(2) { width: 15%; } /* Amount */
.donation_row > div:nth-child(3) { width: 15%; } /* Date */
.donation_row > div:nth-child(4) { width: 15%; } /* Receipt */
.donation_row > div:nth-child(5) { width: 15%; } /* Prize */
.donation_row > div:nth-child(6) { width: 20%; } /* Questions */

#history {
    width: 100%;
    border-top: 1px solid #000;
    margin: 20px 0 0 0;
    padding: 5px 0 0 0;
    background: #dcdcdc;
    /* Old browsers */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2RjZGNkYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,
            #dcdcdc 45%,
            #ffffff 100%);
    /* FF3.6+ */
    background: -webkit-gradient(linear,
            left top,
            left bottom,
            color-stop(0%, #dcdcdc),
            color-stop(100%, #ffffff));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,
            #dcdcdc 45%,
            #ffffff 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,
            #dcdcdc 45%,
            #ffffff 100%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #dcdcdc 45%, #ffffff 100%);
    /* IE10+ */
    background: linear-gradient(to bottom, #dcdcdc 45%, #ffffff 100%);
    /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dcdcdc', endColorstr='#ffffff', GradientType=0);
    /* IE6-8 */
}

#history #page {
    padding-top: 25px;
}

#h_row {
    background: none;
    width: 100%;
    padding: 20px 0 20px 5px;
    color: #000;
    text-shadow: 1px 1px 1px #fff;
    line-height: 22px;
    border-bottom: 1px solid #fff;
}

#h_row_number {
    width: 30px;
    height: 30px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    background: #595959;
    float: left;
    margin-right: 15px;
}

#h_row_number p {
    text-align: center;
    margin-top: 5px;
    color: #fff;
    font-size: 16px;
    line-height: normal;
    text-shadow: none;
}

#h_row_details {
    float: left;
}

#header-menu {
    height: 60px;
    position: fixed;
    width: 100%;
    background: #90a641;
    box-shadow: 4px 0 10px #99999950;
    padding-top: 10px;
    margin-bottom: 35px;
    z-index: 1000;
}

#header-text {
    float: left;
    width: 200px;
    color: white;
    padding-top: 8px;
    margin-left: 15px;
    font-size: 15px;
}

#header-links {
    float: right;
    padding-top: 8px;
    text-align: right;
    font-size: 15px;
    font-weight: bold;
}

#header-links a {
    color: #fff;
    text-decoration: none;
    padding: 0px 10px 0 10px;
}

#header-search {
    width: 200px;
    float: right;
    text-align: right;
    position: relative;
    padding-top: 0;
    padding-left: 10px;
    margin-top: -10px;
    margin-right: 5px;
}

#header-search #s {
    background: #999;
    width: 80px;
    border: none;
    color: #ccc;
}

#header-search #submit {
    background: #999;
    border: none;
    color: #fff;
    margin-right: 10px;
}

#header-links a:hover {
    text-decoration: underline;
}

#acct_header {
    width: 100%;
}

#acct_header div {
    width: 45%;
    float: left;
    background: #fff;
    padding: 10px;
}

#sett_header {
    width: 100%;
}

#sett_header div {
    width: 45%;
    float: left;
    background: #fff;
    padding: 10px;
}

nav {
    float: right;
    padding: 20px;
    padding-top: 0;
    margin-top: -10px;
}

#menu-icon {
    display: none;
}

ul {
    list-style: none;
}

li {
    display: inline-block;
    padding: 10px;
}

#acct_header {
    width: 45%;
}

#footer {
    text-align: center;
    font-size: 80%;
    margin: 40px 0;
}

.w100 div {
    width: 100% !important;
}

#qeditor {
    max-height: 400px;
    overflow-y: scroll;
}

.stripe_component {
    width: 50%;
}

.stripe_component div {
    padding: 10px;
}

@media only screen and (max-width: 900px) {
    #acct_header {
        width: 100%;
    }

    .stripe_component {
        clear: both;
        width: 100%;
    }

    #menu-icon {
        display: block;
        width: 20px;
        height: 20px;
        margin-top: 18px;
    }

    header {
        position: absolute;
    }

    #menu-icon {
        display: inline-block;
    }

    nav ul,
    nav:active ul {
        display: none;
        position: absolute;
        padding: 20px;
        background: #537332;
        border: none;
        right: 20px;
        top: 30px;
        width: 250px;
        border-radius: 10px;
    }

    nav li {
        text-align: left;
        width: 100%;
        padding: 10px 0;
        margin: 0;
    }

    nav:hover ul {
        display: block;
    }

    #d_donor {
        width: 38%;
        float: left;
    }

    #d_amt {
        width: 25%;
        float: left;
        font-size: 12px;
    }

    #d_date {
        width: 25%;
        float: left;
        font-size: 12px;
    }

    #d_receipt {
        width: 25%;
        float: left;
    }

    #d_notes {
        width: inherit;
        float: left;
    }

    #sett_header div {
        width: 90%;
        float: left;
        background: #fff;
        padding: 10px;
    }

    textarea {
        width: 100% !important;
    }

    #sett_header img {
        width: 100%;
    }
}