/*
colors

accent purple: #553178; rgb(85,45,120);
action teal: rgb(50,178,149); #32B295;
action teal faint, 25% or CCECE5;
active blue: #2A9DFA;
bg light teal: #E2F3F3;
light gray lines: #eee;
*/

* {
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
}
 
body {
    background-color: #F7F7F7;
    color: #222;
    -webkit-font-smoothing: antialiased;
    font-family: "Libre Baskerville", Garamond, serif;
    font-weight: 400;
    font-size: .85em;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
}

img {
    width: 100%;
    height: auto;
    margin: 0 auto;
    margin-bottom: 10px;
}

img.bg {
    width: auto;
}

img.icon {
    vertical-align:middle;
    border:none;
    width:36px;
    margin-right:8px;
}

span.icon {
    display:inline-block;
    margin-right:24px;
}

a {
    color: rgb(50,178,149);
    text-decoration: underline;
    text-decoration-color: rgba(50,178,149,.25);
    text-decoration-skip: ink;
    text-decoration-skip-ink: auto;
}

a > img:first-of-type {
    border: 1px solid rgba(50,178,149,.25);
}
a:hover > img:first-of-type, a:active > img:first-of-type {
    border: 1px solid #2A9DFA;
}

a > img.clearimg, a:hover > img.clearimg, a:active > img.clearimg {
    border: none;
}

footer a {
    color: rgb(85,45,120);
    text-decoration-color: rgba(85,45,120,.25);
}

p {
    padding-bottom:1em;
}

h1, h2, h3, .title {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    color: #553178;
}

h1 {
    font-size:1.825em;
    line-height:120%;
    font-weight:500;
    margin:1em 0;
}

h2 {
    color: #553178;
    font-size:1.25em;
    font-weight:500;
    margin:15px 0 .6em 0;
}

h2 > a {
    border:none;
    text-decoration:none;
}

a.title {
    font-size:1.4em;
    font-weight: 200;
    text-decoration: none;
}

a.button {
    background-color: rgb(50,178,149);
    color: #FFF;
    border-radius:4px;
    border:none;
    height: 40px;
    padding: 12px 24px;
    transition: 300ms all ease;
    display: inline-block;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}
a.button:hover {
    border: none;
    color: #FFF;
    background-color: #2A9DFA;
}
a.button:active {
    background-color: #2A9DFA;
}
a.important {
    font-size: 1.5em;
}
a.more {
    border: rgba(50,178,149,.25);
    color: rgb(50,178,149);
    border-radius:4px;
    height: 36px;
    padding: 8px 24px;
    margin-bottom: 12px;
    transition: 300ms all ease;
    display: inline-block;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: .85em;
    text-decoration: none;
    text-transform: uppercase;
}

ul {
    margin-top: -1em;
}
li {
    margin-left: 2em;
}

td {
    border-bottom: 1px solid rgba(0,0,0,.1);
    font-size:.85em;
    padding: 4px 8px;
}

tr:last-child > td {
    border:none;
}

table {
    padding:0;
    margin-bottom:.5em;
    margin-top:-.5em;
}

#page_contain {
    margin: 0;
}

.section_col {
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: column;
}
.col {
    flex-basis: auto;
    margin-bottom: 30px;
}

.col.extra {
    display: none;
}

hr {
    margin:0 0 10px 0;
    padding:0;
    noshade:noshade;
    size:1px;
    display:block;
    color:#eee;
    border:0;
    border-top:1px solid #eee;
}

header {
    background-color: #E2F3F3;
    color: #553178;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    padding: 10px;
    width: 100%;
}

header > h1.title {
    font-weight: 300;
    font-size: 1.8em;
    line-height: 1em;
    margin: 0;
    padding: 10px 0 0 0;
}

header.big {
    flex-direction: column;
    align-items: center;
    padding: 0;
}

header.big > h1.title {
    font-size: 2em;
    line-height: 2em;
}

header.big > p.caption {
    display: block;
    text-align: center;
    font-size:1em;
    padding-bottom:12px;
}

#content {
    background-color: #FFF;
    margin: 0;
    padding: 10px;
    width: 100%;
}

footer {
    background-color: #E2F3F3;
    color: #553178;
    padding: 10px;
    width: 100%;
    min-height: 210px;
    font-weight: 400;
    font-style: italic;
    clear: both;
    display: block;
    text-align: center;
}

footer > img.bg {
    height: 30px;
    margin: 10px;
}


/****************  Medium screens ****************/
/****************  Medium screens ****************/
/****************  Medium screens ****************/

@media all and (min-width: 600px) {

    
    img {
	max-width: 795px;
	margin-bottom: 5px;
    }

    img.icon {
	width:12px;
	margin-right:4px;
    }
    
    section, h1, aside {
	margin-left:0;
	margin-right:0;
    }
       
    #page_contain {
	max-width: 855px;
	margin: 0 auto;
    }

    header {
        text-align: left;
	padding: 10px 30px;
    }
    
    header.big {
        padding: 1rem 0;
	/* position: fixed;*/ /*TBD*/
        text-align: center;
    }
    
    header.big > p.title {
	font-size: 3em;
    }

    #content {
	padding: 30px;
    }

    .section_col {
	flex-direction: row;
    }

    .col {
	margin-bottom: 30px;
    }
    .col.main {
	flex-basis: 65.4%;
    }
    .col.side {
	flex-basis: 30.8%;
    }
    .col.grid {
	flex-basis: 30.8%;
    }
    .col.all {
	flex-basis: 100%;
    }
    .col.extra {
	display: block;
    }


    hr {
	margin:0 0 30px 0;
    }

    footer {
	padding: 30px;
	text-align: left;
	min-height: 80px;
    }
    footer > img.bg {
	height: 50px;
	float:left;
	margin-right: 10px;
    }


    a:hover, a:active {
	cursor: pointer;
	text-decoration-color: #2A9DFA;
	color: #2A9DFA;
    }
}
