/************************************************************************************
RESET
*************************************************************************************/
html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table, ul,
dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,
a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,
strong, sub, sup, tt, var, legend, fieldset {
	margin: 0;
	padding: 0;
}

img, fieldset {
	border: 0;
}

/* set image max width to 100% */
img {
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}

/* set html5 elements to block */

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
}

/************************************************************************************
GENERAL STYLING
*************************************************************************************/
body {
	background: #666;
	font: .81em/150% Arial, Helvetica, sans-serif;
	color: #000; /* was #666; */
}
/* Contact page adjustments */
.ui-overlay-a, .ui-page-theme-a {
	background-color: #000042;
}
.ui-page-theme-a a:visited {
	color:#FFF;
}
.ui-page-theme-a {
	text-shadow:none;
}
/* end of contact page adjustments */

a {
	color: #026acb;
	text-decoration: none;
	outline: none;
}
a:hover {
	text-decoration: underline;
}
p {
	margin: 0 0 1.2em;
	padding: 0;
}

/* list */
ul, ol {
	margin: 1em 0 1.4em 24px;
	padding: 0;
	line-height: 140%;
}
li {
	margin: 0 0 .5em 0;
	padding: 0;
}

/* headings */
h1, h2, h3, h4, h5, h6 {
	line-height: 1.4em;
	margin: 20px 0 .4em;
	color: #000;
}
h1 {
	font-size: 2em;
}
h2 {
	font-size: 1.6em;
}
h3 {
	font-size: 1.4em;
}
h4 {
	font-size: 1.2em;
}
h5 {
	font-size: 1.1em;
}
h6 {
	font-size: 1em;
}

.slide-caption {
    font-size: 2em;
    line-height: 2em;
    color: lightgrey;
    text-align: center;
}
.times {
    font-family: times new roman, times, serif;
}
.top-pic {
    line-height: 0;
}
.top-p {
    padding-top: 10%;
}
.about-text {
    font-size: 1.3em;
}
.initial-cap {
    float: left;
    font-weight: bold;
    padding-right: 5px;
}
.no-right-pad {
    padding-right: 0;
}
.boxsize img {
    height: 12px;
}
p.date {
    color: #999;
}
.nowrap {
    white-space: nowrap;
}
/************************************************************************************
STRUCTURE
*************************************************************************************/
#pagewrap {
/*	width: 90%; /* was 980px; */
	margin: 0 auto;
	background-color:#FFF;
    max-width: 1920px;
}

/************************************************************************************
HEADER
*************************************************************************************/
#header {
	position: relative;
	height: 80px;
	width: 98%;
	margin-left: 2%;
	margin-bottom: 1%;
}
.header-s {
	position: relative;
	height: 80px;
	width: 98%;
	margin-left: 2%;
	margin-bottom: 1%;
}


/* site logo */
#site-logo {
	position: absolute;
	top: 10px;
}
#site-logo a {
	font: bold 30px/100% Arial, Helvetica, sans-serif;
	color: #fff;
	text-decoration: none;
}
.top-phone {
	font: bold 24px/100% Arial, Helvetica, sans-serif;
	color: #fff;
	margin-top: 1%;
	margin-right: 2%;
	float:right;
}
	.top-phone a {
	font: bold 30px/100% Arial, Helvetica, sans-serif;
	color: #fff;
	text-decoration: none;
/*	margin-top: 35px; */
	margin-top: 2%;
	margin-right: 2%;
	float:right;
}
#consult {
	font: bold 16px/100% Arial, Helvetica, sans-serif;
	color: #fff;
	margin-top: 20px;
/*	margin-left: 90px; */
}
/* site description */
#site-description {
	font: italic 100%/130% "Times New Roman", Times, serif;
	color: #fff;
	position: absolute;
	top: 55px;
}

.greyline {
	background-color:#CCC;
	height: 1em;
}
/************************************************************************************
MAIN NAVIGATION
*************************************************************************************/
#main-nav {
	width: 100%;
	background: #ccc;
	margin: 0;
	padding: 0;
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 100;
	/* gradient */
	background: #6a6a6a url(images/nav-bar-bg.png) repeat-x;
	background: -webkit-gradient(linear, left top, left bottom, from(#b9b9b9), to(#6a6a6a));
	background: -moz-linear-gradient(top,  #b9b9b9,  #6a6a6a);
	background: linear-gradient(-90deg, #b9b9b9, #6a6a6a);
	/* rounded corner */
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	/* box shadow */
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
	-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
}
#main-nav li {
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
	position: relative;
}
#main-nav li:first-child {
	margin-left: 10px;
}
#main-nav a {
	line-height: 100%;
	font-weight: bold;
	color: #fff;
	display: block;
	padding: 14px 15px;
	text-decoration: none;
	text-shadow: 0 -1px 0 rgba(0,0,0,.5);
}
#main-nav a:hover {
	color: #fff;
	background: #474747;
	/* gradient */
	background: -webkit-gradient(linear, left top, left bottom, from(#282828), to(#4f4f4f));
	background: -moz-linear-gradient(top,  #282828,  #4f4f4f);
	background: linear-gradient(-90deg, #282828, #4f4f4f);
}

/************************************************************************************
CONTENT
*************************************************************************************/

.desktop {
    display:none;
}
.mobile {
    display:block;
}

#content2 {
	margin: 30px 0 30px;
	padding: 20px 35px;
	width: 60%; /* was 600px; */
	float: left;
}
#content, #content-home {
	width: 60%; /* was 600px; */
    padding-top: 2%; /* added may 2018 */
    padding-left: 2%;
	float: left;
}
#content-home {
    width: 40%;
}
.whitebg, #content .post, #content-home .post {
	background: #fff;
	padding: 20px 35px;
	/* rounded corner */
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	/* box shadow */
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	box-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.blackbg {
	background: #000;
}

/* post */
.post {
	margin-bottom: 40px;
}
.post-title {
	margin: 0 0 5px;
	padding: 0;
	font: bold 26px/120% Arial, Helvetica, sans-serif;
}
.post-title a {
	text-decoration: none;
	color: #000;
}
.post-meta {
	margin: 0 0 10px;
	font-size: 90%;
}

.post-line {
	margin: 0 0 15px;
}
/* post image */
.post-image {
	margin: 0 auto 15px;
	max-width: 800px;
}
.post-banner {
	position:relative;
	margin-top: -100px;
/*	margin: 0 0 -15px; */
	z-index: -5;
}
.post-logo {
	position:relative;
	top: 0px;
/*	margin: 0 0 15px; */
	z-index: 15;
}
#bullets {
	font-weight:bold;
	width: 300px;
    margin: 0 auto;
}
#nobullets li {
	list-style:none;
}
.col1, .col2 {
    width: 88%;
    padding: 3%;
    }
.col1 {
    font-size: 1.3em;
    font-style: italic;
    line-height: 1.3em;
    color: #AAA;
    text-align: center;
    padding-bottom: 5%;
}
/*.col2 {
    padding-top: 0%;
} */
.col2-top {
    padding-top: 2%;
}
.subcol1 {
    width: 100%;
    float: left;
    text-align: center;
}
.subcol2 {
    width: 80%;
    float: left;
    padding: 3% 0 8% 3%;
}
.subcol2 a {
    color:black;
    text-decoration: none;
}
.article-cat {
    font-size: 1.5em;
    font-weight: bold;
}
.article-title {
    font-family: times new roman, times, serif;
    font-size: 2em;
    color: #AAA;
    padding: 2% 0;
    line-height: 1.2em;
    
}
.article-text {
    font-size: 1.3em;
    padding-bottom: 5px;
}
.more {
    float: right;
    background-color: #AAA;
    padding: 2px 5px;
    margin: 5px;
}
.more a {
    color: white;
    text-decoration: none;
}
.more:hover {
    background-color: black;
}
.noindent p {
	text-indent: 0px;
	padding-top: 10px;
}

hr {
    color: #CCC;
}
.vr {
    padding-top: 3%;
}
.vr img {
    height: 60vw;
    float: left;
}
.vr-3 img {
        height: 100vw;
    }

.vr-5 img {
    height: 160vw;
}

.social {
    position:relative;
}
.follow img {
    width: 30vw;
}
.icon-set {
    position: absolute;
    top: 12vw;
    left: 37vw;
}
.icon-set a img {
    width: 5vw;
    max-width: 71px;
    padding: 0 3px;
}

/************************************************************************************
FOOTER
*************************************************************************************/
#footer {
	clear: both;
	color: #AAA;
	font-size: 85%;
    text-align: center;
}
#footer a {
	color: #AAA;
}
#footer hr {
    width: 90%;
}

/************************************************************************************
CLEARFIX
*************************************************************************************/
.clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.clearfix { display: inline-block; }
/*.clearfix { display: block; zoom: 1; } */

/************************************************************************************
RESPONSIVE DESIGN SECTION
*************************************************************************************/
@media screen and (max-width: 400px) {
    .smscreenfontsize {
        font-size: 0.8em;
    }
}
@media screen and (min-width: 601px) {
    .subcol1 {
        width: 35%;
    }
    .subcol2 {
        width: 60%;
        float: left;
        padding: 0% 0% 0% 3%;
    }

}
/************************************************************************************
MENU
*************************************************************************************/
@media screen and (min-width: 901px) {

#menu {
	height: 4em;
	margin: 0 auto;
	font-family:Arial, Helvetica, sans-serif;
	text-transform: uppercase;
    z-index: 99999;
}
#menu  ul {
    float: right;
  list-style-type: none;
  margin: 0;
  padding: 1em 3em 0 0;
/*  overflow: hidden;
  background-color: #333; */
}

#menu li {
  float: left;
  border-left: 1px solid #FFF;
  position: relative;
}
#menu  li:first-child {
  border-left: none;
}
#menu:hover li {
  border: none;
}

#menu li a {
  display: block;
  font-size: 1vw;
  letter-spacing: 0.3vw;
  color: #999;
  text-align: center;
  padding: 5px 20px;
  text-decoration: none;
}

/* Change the link color to #999 (grey) on hover */
#menu li a:hover {
    color: white;
  background-color: #999;
}
#menu ul li:hover > ul
{
	display: block;
}

/* Sub-menu */

#menu ul li ul
{
    list-style: none;
    margin: 0;
    padding: 0;    
    display: none;
    position: absolute;
    top: 2em;
    left: 0;
    z-index: 99999;    
    background: #444;
    background: -moz-linear-gradient(#444, #111);
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111),color-stop(1, #444));
    background: -webkit-linear-gradient(#444, #111);    
    background: -o-linear-gradient(#444, #111);	
    background: -ms-linear-gradient(#444, #111);	
    background: linear-gradient(#444, #111);
    -moz-box-shadow: 0 0 2px rgba(255,255,255,.5);
    -webkit-box-shadow: 0 0 2px rgba(255,255,255,.5);
    box-shadow: 0 0 2px rgba(255,255,255,.5);	
    -moz-border-radius: 5px;
    border-radius: 5px;
}
#menu ul li:hover ul {
        display:block;
        z-index: 10;
    }
   #menu ul li:hover ul li {
        float:none;
    }
#menu ul li ul a {
    padding: 10px;
    height: 10px;
/*    width: 235px; */
    height: auto;
    line-height: 1;
    display: block;
    white-space: nowrap;
    float: none;
    text-transform: none;
    color: #ccc;
    font-size: 0.8vw;
}
#menu ul li ul li:first-child > a::after {
/*    content: ''; displays up triangle */
    position: absolute;
    left: 30px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid #444;
}

/************************************************************************************
CONTENT
*************************************************************************************/
    
.desktop {
    display:block;
}
.mobile {
    display: none;
}
#pagewrap {
	width: 90%; 
    }
    .col1 {
        font-size: 2.5vw;
        float: left;
        width: 20%;
        text-align: right;
    }
    .col2 {
        float: left;
        width: 65%;
    }


    .left-margin-adj {
        margin-left: 26%;
    }
    .icon-set {
    position: absolute;
    top: 6vw;
    left: 6vw;
}
    .icon-set a img {
    width: 3vw;
    }
    .about-text {
        font-size: 1.5vw;
        line-height: 1.5;
        padding-top: 3%;
    }
    .news-text {
        max-height: 60vw;
        overflow-y: scroll;
    }
    .article-list {
        max-height: 60vw;
        overflow-y: auto;
    }
    .article-list-width {
        width: 90%;
    }
    .no-scroll {
        overflow-y: auto;
    }
    .top-p {
    padding-top: 4%;
    }
    .col1-5 {
        padding-top: 200px;
        min-height: 1000px;
    }

}
@media screen and (min-width: 1001px) {
    .no-scroll {
        overflow-y: hidden;
    }
    .vr-5 img {
        height: 140vw;
    }


}
@media screen and (min-width: 1101px) {
    .left-margin-adj {
        margin-left: 0;
    }
    .icon-set {
        left: 7vw;
    }
     .vr-3 img {
        height: 60vw;
    }
   
    .vr-5 img {
        height: 120vw;
    }

}
@media screen and (min-width: 1201px) {
    .vr-5 img {
        height: 100vw;
    }
}
@media screen and (min-width: 1501px) {
    .boxsize img {
        height: 16px;
    }
    .vr-5 img {
        height: 80vw;
    }


}
@media screen and (min-width: 2101px) {
    #menu li a, .about-text {
        font-size: 2em;
    }
    .news-text {
        max-height: 830px;
    }
    .col1 {
        font-size: 2.5em;
        padding-top: 200px;
    }
    .col1-5 {
        padding-top: 400px;
    }
    .icon-set {
        left: 4em;
        top: 180px;
    }
    .icon-set img {
        width: 3em;
    }
    .follow {
        padding-top: 50px;
    }
    .vr img {
        height: 80em;
    }
    .vr-5 img {
        height: 120em;
    }

}

