﻿
/*GRID.CSS*/

.col {
    padding: 0 1.5em;
}

.row .row {
    margin: 0 -1.5em;
}

.row:before, .row:after {
    content: "";
    display: table;
}

.row:after {
    clear: both;
}

@media only screen {
    .col {
        float: left;
        width: 100%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
}

@media only screen and (min-width : 320px) and (max-width : 480px) {
    body {
        -webkit-text-size-adjust: none;
    }
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
    select:focus, textarea:focus, input:focus {
        font-size: 16px;
    }
}
/*SCREEN.CSS*/

body {
    font-family: quattrocento_sansregular, Arial, sans-serif;
    margin: 0;
    background-color: #EEEEEE;
    background-image: url('../Graphics/light_grey_floral_motif.png');
    background-repeat: repeat;
}

.container {
    background-color: #fff;
    margin: 0 auto;
    max-width: 60em;
    min-width: 20em;
    padding: 0;
    box-shadow: 0px 0px 20px gray;
}


.content {
    margin-bottom: 1.5em;
}

.feature {
    margin-bottom: .2em;
}

.feature_wide {
    margin-bottom: .2em;
    width: 100%;
}

.feature_narrow {
    margin-bottom: .2em;
    width: 100%;
}

.footer {
    padding: .8em .8em .8em;
    background-color: #003277;
    font-family: quattrocento_sansregular, Arial, Helvetica, sans-serif;
    font-size: .95em;
    color: #FFFFFF;
}

    .footer a:link {
        color: white;
    }

    .footer a:visited {
        color: white;
    }

    .footer a:hover {
        color: white;
        text-decoration: underline;
    }



/*
a.telephone_footer {
    color: #F3E9D7;
    text-decoration: underline;
}
a.telephone_footer:link {
    color: #F3E9D7;
}
a.telephone_footer:visited {
    color: #F3E9D7;
}
a.telephone_footer:hover {
    color: white;
}
*/

.footer_left {
    text-align: center;
}

.footer_right {
    text-align: center;
}

.top_button {
    text-align: center;
}
h1 {
    border-bottom: 1px solid #001235;
    font-family: HansenScript, 'Times New Roman', Times, serif;
    font-size: 2.1em;
    margin: .4em 0;
    line-height: 1.3;
    color: #003277;
    font-weight: lighter;
}

h2 {
    font-family: HansenScript, 'Times New Roman', Times, serif;
    font-size: 1.9em;
    color: #654d69;
    margin: 0;
    font-weight: lighter;
}

h3 {
    font-family: quattrocento_sansitalic, Arial, Helvetica, sans-serif;
    font-size: 1.0em;
    color: #001235;
    font-weight: lighter;
    margin: 0;
    border-bottom: 1px solid #babfff;
    width: 100%;
    background: #cce3f5;
}

    h3.first {
        border-top: 1px solid #babfff;
    }

    h3 a {
        display: block;
        padding: .3em .5em;
    }

        h3 a:link {
            color: #00004F;
        }

        h3 a:visited {
            color: #00004F;
        }

        h3 a:hover {
            display: block;
            color: white;
            background-color: #003277;
            text-decoration: none;
        }

h4 {
    font-family: quattrocento_sansregular, Arial, Helvetica, sans-serif;
    font-size: 1.2em;
    color: #003277;
    font-weight: lighter;
    margin: 0 0 .1em;
}

    h4 a:link {
        color: #003277;
    }

    h4 a:visited {
        color: #003277;
    }

    h4 a:hover {
        color: #7097d3;
        text-decoration: underline;
    }


p, ul, body {
    font-size: 1em;
    line-height: 1.2;
    margin: 0 0 1em;
}

img {
    border: 0;
    max-width: 100%;
}

    img.floatleft {
        float: left;
        margin: 0 10px 10px 0;
    }

    img.floatright {
        float: right;
        margin: 0 0 10px 10px;
    }

    img.border {
        border: 3px solid #000;
    }

    img.dropshadow {
        box-shadow: 5px 5px 4px #BBBBBB;
    }

    img.staff {
        display: block;
        max-width: 100%;
        float: none;
        margin: 1em auto;
    }



a:link {
    color: #0018b7;
    text-decoration: none;
}

a:visited {
    color: #0018b7;
    text-decoration: none;
}

a:hover {
    color: #001235;
    text-decoration: underline;
}



.nowrap {
    white-space: nowrap;
}
.bold {
    font-weight: bold;
}
.padding5 {
    padding: 5px;
}

.floatright {
    float: right;
}
.floatleft {
    float: left;
}

.centered {
    text-align: center;
}
/*
.width_100 {
    width: 100%;
}
.width_50 {
    width: 100%;
}
.width_25 {
    width: 100%;
}
*/

.visible_when_mobile {
    display: normal;
}

.invisible_when_mobile {
    display: none;
}

.single_obituaries {
    display: normal;
}

.dual_obituaries {
    display: none;
}

.resource {
    background-color: #e2e2ff;
    font-weight: bold;
}
.resource_alt {
    background-color: white;
    font-weight: bold;
}
.resource_subtitle {
    font-style:italic;
    margin: .3em;
}

.resource_left {
    padding: 5px;
    text-align: left;
}

.resource_right {
    padding: 0 5px 5px;
    text-align: left;
}

.condolence_form {
    border: solid 1px #BABFFF;
    margin: 15px;
    padding: 10px 0 5px;
    border-radius: 10px;
    box-shadow: 5px 5px 5px gray;
    height: auto;
    background-image: url('/Graphics/whitey.png');
    background-repeat: repeat;
    margin-bottom: 2em;

}
.condolence {
    font-family: plantagenet_cherokeeregular, 'Times New Roman' serif;
    padding: 5px;
    margin-bottom: 1em;
}



/*  MAIN MENU	============================================================================= */
.main_menu {
    display: none;
}

.menu_bar {
    padding: 0;
    margin: 0;
    text-align: center;
    background-color: #003277;
    width: 100%;
}

.menu_item {
    margin: 0;
    font-family: HansenScript, 'Times New Roman' , Times, serif;
    font-size: 1.5em;
    width: 14%;
    border-right: #BAC7FF 1px solid;
}

.last_menu_item {
    border-right: none;
}

a.menu_item {
    padding: .2em 0;
    display: inline-block;
    color: #FFFFFF;
    text-align: center;
    text-decoration: none;
}
a.menu_item:link {
    color: #FFFFFF;
}
a.menu_item:visited {
    color: #FFFFFF;
}
a.menu_item:hover {
    background: #cce3f5;
    color: #001235;
}





/*  FORMS	============================================================================= */
/*
.FormDropDownList
{
    display: block;
    margin-bottom: 0;
    font-size: .9em;
    color: black;
    font-family: plantagenet_cherokeeregular, Arial;
    border: #3B220C 1px solid;
    max-width: 95%;
}

.FormTextBox
{
    font-size: 10pt;
    color: black;
    font-family: Arial;
    border: #0018b7 1px solid;
}
*/

.FormTextBox
{
    margin-bottom: 1em;
    font-size: .9em;
    color: black;
    font-family: plantagenet_cherokeeregular, Arial;
    border: #00004F 1px solid;
    max-width: 95%;
}

.ErrorLabel {
    display: block;
    color: red;
    font-size: .8em;
    font-style: italic;
}


.SubmitButton {
    font-size: .9em;
    color: black;
    text-align: center;
    cursor: pointer;
    font-family: plantagenet_cherokeeregular, Arial;
    border: #00004F 1px solid;
    background-color: #BAC7FF;
    text-decoration: none;
    width: 11em;
    padding: 3px;
    margin: 0 5px 1em;
    display: inline-block;
}
.SubmitButton:hover
{
    color: white;
    background-color: #00004F;
}

.WebcastButton {
    font-size: 1em;
    color: black;
    text-align: center;
    cursor: pointer;
    font-family: plantagenet_cherokeeregular, Arial;
    border: #00004F 1px solid;
    background-color: #BAC7FF;
    text-decoration: none;
    padding: 3px 5px;
    margin-top: .2em;
    display: inline-block;
}

    .WebcastButton:hover {
        color: white;
        background-color: #00004F;
    } 


/*RESPONSIVE*/
/* you only need width to set up columns; all columns are 100%-width by default, so we start
		   from a one-column mobile layout and gradually improve it according to available screen space */

@media only screen and (min-width: 22em) {
    .obituary_item {
        font-size: .9em;
    }
}

@media only screen and (min-width: 28em) {
    img.staff {
        display: inherit;
        max-width: 45%;
        float: right;
        margin: 0 0 1em 1em;
    }
}

@media only screen and (min-width: 36em) {
    .visible_when_mobile {
        display: none;
    }
    .invisible_when_mobile {
        display: block;
    }

    h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 2.1em;
    }

    h3 {
        font-size: 1.1em;
    }

    h4 {
        font-size: 1.3em;
    }

    .main_menu {
        display: block;
    }

    .menu_mobile {
        display: none;
    }

    .top_button {
        display: none;
    }

    .feature {
        width: 50%;
    }
    .feature_wide {
        width: 60%;
    }
    .feature_narrow {
        width: 40%;
    }

    .footer_left {
        width: 50%;
        text-align: left;
    }

    .footer_right {
        width: 50%;
        text-align: right;
    }
}

/* This is where the menu etc. changes to fit mobile. Footers jump from left/right to centered. */
@media only screen and (min-width: 45em) {
    .feature_wide {
        width: 65%;
    }
    .feature_narrow {
        width: 35%;
    }

    .resource_left {
        width: 65%;
        text-align: left;
    }

    .resource_right {
        padding-top: 5px;
        width: 35%;
        text-align: right;
    }

    .menu_item {
        font-size: 1.6em;
    }
    .footer {
        font-size: 1em;
    }
    .single_obituaries {
        display: none;
    }
    .dual_obituaries {
        display: block;
    }

}

@media only screen and (min-width: 54em) {

    .feature_wide {
        width: 70%;
    }
    .feature_narrow {
        width: 30%;
    }

    .resource_left {
        width: 70%;
    }

    .resource_right {
        width: 30%;
    }

    .content {
        width: 70%;
        border: none;
        margin-bottom: 0;
    }

    .menu_item {
        font-size: 2.2em;
    }

    h1 {
        font-size: 2.8em;
    }

    h2 {
        font-size: 2.3em;
    }

    h3 {
        font-size: 1.2em;
    }

    h4 {
        font-size: 1.4em;
    }

}

