﻿/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.3.6,
* Autoprefixer: v10.3.1
* Browsers: last 4 version
*/


* {
margin: 0;
padding: 0;
}
html {
       overflow-y: scroll; /*this forces a scroll bar so short pages don't shift the screen*/
}
/* render html5 elements as block */

/*header, footer, section, div, aside,  nav, article {
display: block;
}*/

.clearfix {
    clear: both;
}
/*@font-face {
	font-family: 'ColaborateRegular';
	src: url('ColabReg-webfont.eot');
	src: local('ColaborateRegular'), url('ColabReg-webfont.woff') format('woff'), url('ColabReg-webfont.ttf') format('truetype'), url('ColabReg-webfont.svg#webfont7n8htCD6') format('svg');
	font-weight: normal;
	font-style: normal;
}*/
/*Basic page layout using CSS grid*/
body {
    background-color: #95b0b0;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    color: #000;
    font-size: 12px;
    line-height: 18px;
}

#wrapper {
    width: auto;
    max-width: 940px;
    display: -ms-grid;
    display: grid;
    grid-gap: 1px;
    -ms-grid-columns: 175px 1px minmax(285px,775px);
    grid-template-columns: 175px minmax(285px,775px);
    -ms-grid-rows: 89px 1px 30px 1px minmax(200px, 1fr);
    grid-template-rows: 89px 30px minmax(200px, 1fr);
    grid-template-areas: 'logo banner' 'logo pagetitle' 'sidebar article';
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 10px auto 10px auto;
    background-color: white;
    /*background-color: #dce4e4;*/
    -webkit-box-shadow: 3px 3px 7px #777;
    box-shadow: 3px 3px 7px #777;
    overflow: hidden;
}


.logo {
    -ms-grid-row: 1;
    -ms-grid-row-span: 3;
    -ms-grid-column: 1;
    background: #dce4e4 url(images/logo.jpg) no-repeat top left;
    background-size: cover,cover;
    grid-area: logo;
    /*    height: 120px;
*/ /*width: 165px;*/
}

.banner {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
    background: url(images/title.gif) no-repeat top center, -webkit-gradient(linear, left top, right top, from(#f0f8f8), color-stop(30%, #dce4e4), color-stop(70%, #dce4e4), to(#f0f8f8));
    background: url(images/title.gif) no-repeat top center, -o-linear-gradient(left, #f0f8f8, #dce4e4 30%, #dce4e4 70%, #f0f8f8);
    background: url(images/title.gif) no-repeat top center, linear-gradient(to right, #f0f8f8, #dce4e4 30%, #dce4e4 70%, #f0f8f8);
    grid-area: banner;
    height: 89px;
}

.pagetitle {
    -ms-grid-row: 3;
    -ms-grid-column: 3;
    background-color: #a6c4c4;
    grid-area: pagetitle;
    font-family: Arial;
    font-size: x-large;
    color: #dce4e4;
    -ms-grid-row-align: center;
    align-self: center;
    padding: 5px 0 5px 10px;
}

    .pagetitle button {
        float: left;
        display: none;
        background-color: transparent;
        border: none;
        padding: 0 0 0 0;
        height: 23px;
        margin: 0 6px 2px 0;
    }

    .pagetitle button:hover {
        background-color: teal;
    }
.menu {
    -ms-grid-row: 5;
    -ms-grid-column: 1;
    background: -webkit-gradient(linear,left top, left bottom,from(#95b0b0),to(#a6c4c4) );
    background: -o-linear-gradient(top,#95b0b0,#a6c4c4 );
    background: linear-gradient(to bottom,#95b0b0,#a6c4c4 );
    grid-area: sidebar;
}




.article {
    -ms-grid-row: 5;
    -ms-grid-column: 3;
    background: -webkit-gradient(linear, left bottom, right top, from(#dce4e4), to(white));
    background: -o-linear-gradient(bottom left, #dce4e4, white);
    background: linear-gradient(to top right, #dce4e4, white);
    grid-area: article;
    margin-left: 0px; /*Set this to 0px for navbar; set to 165px for sidebar*/
    min-height: 500px;
    padding-left: 25px;
    padding-right: 30px;
    background-color: #ffffff;
    margin-top: 0;
}
.alignleft, img.alignleft {
    display: inline;
    float: left;
    margin-right: 10px;
}

.alignright, img.alignright {
    display: inline;
    float: right;
    margin-left: 10px;
}

.aligncenter, img.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

img.alignleft, img.alignright, img.aligncenter {
    margin-bottom: 12px;
}
@media (max-width: 640px) {
    img.alignleft {
        display: block;
        float: none;
        margin-left: auto;
        margin-right: auto;
    }

    img.alignright {
        display: block;
        float: none;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (max-width: 500px) {
    #wrapper {
        display: block;
    }

    .menu {
        display: none;
        width: 175px;
        position: absolute;
        -webkit-box-shadow: 5px 5px 22px grey;
        box-shadow: 5px 5px 22px grey;
        left: 13px;
        margin-top: 1px;
    }

    .pagetitle button {
        display: block;
    }
    .pagetitle {
        width: 100%;
    }
    .sticky {
        position: fixed;
        top: 0;
    }
    .sticky.menu {
        top: 36px;
    }
    .logo {
        background: #dce4e4 url(images/logo.jpg) no-repeat top center;
        height: 70px;
        background-size: contain;
    }

    .banner {
        background: #dce4e4 url(images/title.gif) no-repeat top center;
    }
    @media (max-height:675px) {
        .menu {
            width: 95%;
            -webkit-columns: 2;
            -moz-columns: 2;
            columns: 2;
        }
    }
    #fbRows {
/*        font-size: 12px;*/
    }
}

/*Styling for menu links*/
nav ul {
    list-style: none;
    margin-bottom: 20px;
    /*margin-top: -2px;*/
    font-family: Arial;
    font-size: 10.0pt;
    padding-left: 0;
    font-weight: normal;
}
.menu li {
    padding: 0 0 3px 5px;
}

a:link, a:visited {
    text-decoration: none;
    color: #684c45;
}

a:hover, a:active {
    color: #56737C;
}

a.selected {
    color: #56737C;
    font-weight: bold;
}

a.menuname { /*style information for menu titles*/
    font-size: medium;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: bold;
    padding-bottom: 10px;
}



footer {
width: 940px;
margin: 0 auto;
clear: both;
}

/* basics */

h1,h2,h3,h4,h5,h6 {
font-weight: bold;
clear: both;
color: #5a2619;
}


p {
margin-bottom: 18px;
/*text-align:justify;*/
/*-ms-hyphens:auto;
hyphens:auto;*/
}



.divider {
color: #EBDBCB;
}
.titletext{color: #ffffff; 
           font-family: Arial; 
           font-size: x-large; 
}
/** HEADER */

header h1 {
margin: 0;
line-height: normal;
text-align: center;
font-size: 40px;
}

header h1 a:link, header h1 a:visited {
text-decoration: none;
}

header h1 a:hover { 
text-decoration: underline; 
}

/** ARTICLES **/

article img {
    border: none;
    -webkit-box-shadow: 3px 3px 7px #777;
    box-shadow: 3px 3px 7px #777;
}
article .topelement {
    margin-top: 0;
    padding-top: 12px;
    clear: none;
}


#content ul, ol, hr {
margin-bottom: 24px;
}

#content ul ul, ol ol, ul ol, ol ul {
margin-bottom: 0;
}

#content h1, h2, h3, h4, h5, h6 {
    font-size: initial;
color: #5a2619;
margin: 0 0 20px 0;
line-height: 1.5em;
}
#content p:last-of-type {
    padding-bottom: 20px;
}

#content .topelement p {
    padding-bottom: 0px;
}

#content h2:last-child {
    display: none;
}


/* sidebar and footer widget blocks */

#sidebar {
/*border-right: medium dotted #684C45;*/
}

#footer-area {
background: #684c45;
color: #FFF;
font-size: 90%;
padding: 18px 0;
overflow: hidden;
}

.footer-segment {
float: left;
margin-right: 20px;
margin-left: 20px;
width: 190px;
}

footer aside h4 {
color: #EBDBCB;
font-size: 16px;
line-height: 1.5em;
}

footer a:link, footer a:visited {
color: #EBDBCB;
}

footer a:hover {
color: #D0DDE1;
}

footer p {
margin-top: -15px;
}
.QuestionInset {
    width: 90%;
    overflow: hidden;
    text-align: center;
    list-style-type: none;
    background-color: #d9e6e6;
    border: 1px solid gray;
    border-collapse: separate;
    border-spacing: 1px;
    padding: 4px;
    margin: 10px auto;
    -webkit-box-shadow: 3px 3px 7px #777;
    box-shadow: 3px 3px 7px #777;
}
.QuestionInsetDiv {
    width: 90%;
    text-align: center;
    background-color: #d9e6e6;
    border: 1px solid gray;
    padding: 4px;
    margin: 10px auto;
    -webkit-box-shadow: 3px 3px 7px #777;
    box-shadow: 3px 3px 7px #777;
}
.Question {border:  1px solid white;
           background-color: #d9e6e6;
           width: 100%;    
}

/*The following trick inserts a black element after each paragraph that keeps the 
    paragraph width from getting too narrow, leaving bits of bits of it floating inappropriately
*/
p:before {
    content:"";
    overflow: hidden;
    width:10em;
    /*border: 1px solid green;*/
    display: block;
}

/*Responsive Grid and layout for freebusy table*/
.fbcellpad {
    padding: 3px
}

.fbcell {
    vertical-align: top;
    text-align: center;
}

.fbrow {
    border-collapse: collapse;
    border: 2px solid lightgrey;
}
#fbRows {

    display: -ms-grid;
    display: grid;
    grid-auto-columns: 1fr;
    -ms-grid-rows: auto auto;
    grid-template-rows: auto auto;
    grid-auto-flow: column;
    margin: 0 30px 1em 0;
}
    #fbRows > div {
        font-size: 12pt;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        text-align: center;
        padding: 0.4em 0.5em;
        margin: 1pt;
        overflow: hidden;
        list-style: none;
        border: solid 1px grey;
    }

.fbheader {
    background-color: #95b0b0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.fbtimes {
    min-height: 40px;
}

.fbtime {
    display: block;
    padding: 4px 0 4px 0;
}

@media all and (max-width: 810px) {
    #fbRows {
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 100px 1fr;
        grid-template-columns: 100px 1fr;
        grid-auto-flow: row;
    }

    .Rtable-cell {
      /*  font-size: 16pt !important;*/
    }
}
table.dataTable.compact tbody td {
    padding: 2px;
}

.redtext {
    color: darkred;
}
/*styles for input panels aligning text boxes and labels (but not check boxes)*/
fieldset.inputPanel {
    background-color: #eeeeee;
    margin-bottom: 1rem;
    max-width: 400px;
    margin-left: 20px;
    padding: 1em;
}

    fieldset.inputPanel legend {
        background-color: gray;
        color: white;
        padding: 5px 10px;
    }

    fieldset.inputPanel label + input[type=text] {
        margin-bottom: 1rem;
        background: #fff;
        border: 1px solid #9c9c9c;
    }

    fieldset.inputPanel button {
        background: lightgrey;
        padding: 0.7em;
        border: 0;
    }

        fieldset.inputPanel button:hover {
            background: gold;
        }

    fieldset.inputPanel label {
        text-align: left;
        display: block;
        padding: 0.5em 1.5em 0.5em 0;
    }

        fieldset.inputPanel label + input[type=text] {
            width: 70%;
            padding: 0.4em 0 0.4em 0.4em;
            margin-bottom: 0.5rem;
        }

    fieldset.inputPanel input[type=text]:focus {
        outline: 3px solid gold;
    }

@media (min-width: 600px) {
    fieldset.inputPanel {
        overflow: hidden;
    }

        fieldset.inputPanel label {
            text-align: right;
            float: left;
            width: 150px;
        }

            fieldset.inputPanel label + input[type=text] {
                float: left;
                width: calc(90% - 200px);
                min-width: 120px;
            }

        fieldset.inputPanel button {
            float: right;
            width: calc(100% - 200px);
        }
}
.modal-content {
    background-color: #d9e6e6;
}

.apptGrid {
    margin: 0 30px 1em 0;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: minmax(85px,120px) minmax(70px,120px) minmax(70px,120px )minmax(33px,90px) minmax(70px,120px);
    grid-template-columns: minmax(85px,120px) minmax(70px,120px) minmax(70px,120px )minmax(33px,90px) minmax(70px,120px)
}

.apptCell {
    background: whitesmoke;
    border-width: medium;
    margin: 1pt 0;
}
.apptCancel {
    background: whitesmoke;
    border-width: medium;
    margin: 1pt 0;
}
.apptCancel > a:link {
    text-decoration:underline;
    color: darkred;
} 