/* ***** Reset Type Selectors ***** */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

* {
    box-sizing: border-box;
}

.row:after {
    content: "";
    clear: both;
    display: block;
}

[class*="col-"] {
    width: 100%;
    padding: 5px 5px 0px 0;
}


.field {
    width: 100%;
    font-family: Arial;
    font-size: 15px;
    color: #000000;
}

@media only screen and (min-width: 761px) {

    [class*="col-"] {
        /* Ensure that each row adds up to 20 */
        float: left;
    }

    .col-1 {
        width: 5%;
    }

    .col-2 {
        width: 10%;
    }

    .col-3 {
        width: 15%;
    }

    .col-4 {
        width: 20%;
    }

    .col-5 {
        width: 25%;
    }

    .col-6 {
        width: 30%;
    }

    .col-7 {
        width: 35%;
    }

    .col-8 {
        width: 40%;
    }

    .col-9 {
        width: 45%;
    }

    .col-10 {
        width: 50%;
    }

    .col-11 {
        width: 55%;
    }

    .col-12 {
        width: 60%;
    }

    .col-13 {
        width: 65%;
    }

    .col-14 {
        width: 70%;
    }

    .col-15 {
        width: 75%;
    }

    .col-16 {
        width: 80%;
    }

    .col-17 {
        width: 85%;
    }

    .col-18 {
        width: 90%;
    }

    .col-19 {
        width: 95%;
    }

    .col-20 {
        width: 100%;
    }

}

@media only screen and (max-width: 350px) {

    .logo {
        width: 0px;
        visibility: hidden;
    }

}

/* Close media query */
/* ***** General type and class selectors ***** */

h1 {
    color: #000034;
    font-size: 19px;
    line-height: 26px;
    padding: 5px 12px 5px 0px;
}

h2 {
    color: #000034;
    font-size: 18px;
    padding: 5px 0 2px 0;
    line-height: 24px;
    color: #D70000;
}

p {
    color: #000000;
    font-size: 15px;
    line-height: 20px;
    padding: 5px 0;
    text-align: left;
}

b {
    font-weight: bold;
}

i {
    font-style: italic;
}

.textleft {
    text-align: left;
    padding: 0px 0px 5px 0;
}

.textcenter {
    text-align: center;
    padding: 0px 0px 5px 0;
}

.red {
    color: #D70000;
}


/* ***** Body ***** */

html, html a {
    -webkit-font-smoothing: antialiased;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
}

body {
    background-color: #E0E0E0;

    position: relative;
    margin-left: auto;
    margin-right: auto;
    font-family: Arial, Verdana, Helvetica, sans-serif;
    padding: 10px;
    margin-top: 40px;
}

.underimage {
    font-size: 14px;
    line-height: 16px;
    text-align: center;
}

.pad10 {
    padding: 10px;
}

/* Code for frame */

.container3 {
    max-width: 300px;
    background-color: #d2dbdb;
    border: 3px solid #cc0000;
    border-radius: 12px;
    margin: auto;
}

.container4 {
    max-width: 400px;
    background-color: #d2dbdb;
    border: 3px solid #cc0000;
    border-radius: 12px;
    margin: auto;
}

.container5 {
    max-width: 500px;
    background-color: #d2dbdb;
    border: 3px solid #cc0000;
    border-radius: 12px;
    margin: auto;
}

.container6 {
    max-width: 600px;
    background-color: #d2dbdb;
    border: 3px solid #cc0000;
    border-radius: 12px;
    margin: auto;
}

.container8 {
    max-width: 800px;
    background-color: #d2dbdb;
    border: 3px solid #cc0000;
    border-radius: 12px;
    margin: auto;
}

.mainheading {
    height: 40px;
    background-color: #cc0000;
    color: #FFF;
    text-align: right;
    font-style: italic;
    border-bottom: 3px solid #000000;
}

.menu {
    height: 35px;
    background-color: #009999;
    color: #FFF;
    border-bottom: 2px solid #000000;
    padding-left: 12px;
}

.logo {
    float: left;
    padding-top: 3px;
}

.menuitem {
    text-decoration: none;
    color: #ffffff;
    font-family: Arial;
    font-size: 15px;
    text-align: left;
}

.menuitem:hover {
    color: #FFFF00
}

table th {
    font-weight: bold;
    text-align: left;
}

table td {
    text-align: left;
    vertical-align: top;
}

table {
    width: 80%;
}

.innercontainer {
    padding: 20px;
    width: 90%;
    margin: auto;
}

textarea {
    width: 100%;
    min-height: 140px;
    font-family: Arial;
    font-size: 15px;
    color: #000000;
}

.Butt {
    display: inline-block;
    height: 24px;
    min-width: 100px;
    background-color: #CCCCCC;
    text-decoration: none;
    color: #CC0000;
    font-family: Arial;
    font-size: 13px;
    text-align: center;
    padding-top: 1px;
    margin-bottom: 2px;
    margin-left: 15px;
    border-top: 2px #FFFFFF outset;
    border-right: 2px #0066CC outset;
    border-bottom: 2px #0066CC outset;
    border-left: 2px #FFFFFF outset;
}

.Butt:hover {
    border-bottom: 2px #FFFFFF outset;
    border-left: 2px #0066CC outset;
    border-top: 2px #0066CC outset;
    border-right: 2px #FFFFFF outset;
}

.Butt.edit {
    background-color: #FFFFCC;
    margin-bottom: 5px;
    margin-top: 28px;
}

.Butt.delete {
    background-color: #CC0000;
    color: white;
}

@media only screen and (max-width: 760px) {

    .Butt {
        margin-left: 0px;
    }

    .Butt.edit {
        margin-top: 0px;
    }

}

/* flash-messages */
.flash {
    padding: 15px;
    width: 40%;
    z-index: 999;
    color: #fff;
    margin: 0 auto;
}

.flash.message {
    text-align: center;
}

.flash.message ul li {
    list-style: none;
}

.flash.message.success {
    background: green;
}

.flash.message.error {
    background: red;
}

.flash.message.warn {
    background: darkorange;
}

body.emailer table.summary {
    background-color: #009999;
}

span.title, p.confirm {
    color: #cc0000;
}

li {
    margin-left: 20px;
}