/* CSS Document */



.leadNews p.terms {
margin-top:0;
}

.leadNews p.terms a{
padding: 5px;
  background-color: #f5f5f5;
  text-transform: uppercase;
  color: #333333;
  font-size: 70%;
  margin-right: 7px;
}
#headerMainContent {
max-width:1054px;
}

footer,
#copyright {
max-width:1054px;
}

#primary,
#secondary {
max-width:1054px;
}

.homeSection, .archiveSection, .pageSection, .singleSection {
max-width:1054px;
width:100%;
}

#homeSection1.homeSection section.main {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  margin-right: 0;
  border-right: none;
}

#contentWrapper {
display:flex;
flex-wrap:wrap;
flex-direction:row;
justify-content: space-between;
width:100%;
max-width:1054px;
}

#contentWrapper section#left {
width: calc(100% - 313px);
margin-left:0;
margin-right:0;
max-width:800px;
}

#contentWrapper section.aside {
width:300px;
margin-top:25px;
margin-left:0;
margin-right:0;
}

.homeSection .flex {
justify-content:space-between;
}


#homeSection2.homeSection section {
width: 100%;
max-width:100%;
margin-right:0;
margin-left:0;
}

#homeSection3.homeSection section {
width: 100%;
max-width:100%;
margin-right:0;
margin-left:0;
}

#homeSection4.homeSection section {
width: 100%;
max-width:100%;
margin-right:0;
margin-left:0;
}

section.row3.flex, section.row3 .flex {
justify-content:space-between;
}

#wrapLeft,
#wrapRight {
height:600px;
/*background-color:#cccccc;*/
position:sticky;
margin-top:25px;
}

#wrapLeft {
margin-right:10px;
}

#wrapRight {
margin-left:10px;
}

#wrapLeft.sticky,
#wrapRight.sticky {
position:sticky;
top:150px;
}

.sectionContainer {
max-width:1054px;
}

.homeSection .flex,
.archiveSection .flex,
.pageSection .flex,
.singleSection .flex {
width:100%;
justify-content:space-between;
}

section.main {
width: calc(100% - 326px);
margin-left:10px;
margin-right:10px;
padding-left:0;
padding-right:0;
border-right:none;
}

article.row3 {
max-width: 350px;
width:48%;

}


.logged-in #wrapLeft.sticky, .logged-in #wrapRight.sticky {
margin-top:180px;
}
.postType a:link,
.postType a:visited,
.postType a:hover,
.postType a:active {
color:#00459e;
}

section.row3 {
margin-bottom:0;
}

.homeSection {
padding:25px 0 0 0;
}

h2 {
font-size:2.7em;
}

article.row3 h3 {
font-size:1.8em;
}

.aside .sectionHeading {
margin-bottom:5px;
}

@media screen and (max-width: 1700px) {
  #wrapRight, #wrapLeft {
    width: 200px;
  }
}

@media screen and (max-width: 1600px) {
  #wrapRight, #wrapLeft {
    width: 200px;
  }
}

@media screen and (max-width: 1500px) {
  #wrapRight, #wrapLeft {
    width: 200px;
	display:block;
  }
}

@media screen and (max-width: 1450px) {
  #wrapRight, #wrapLeft {
    width: 200px;
  }
}

@media screen and (max-width: 1400px) {
  #wrapRight, #wrapLeft {
    width: 150px;
  }
}

@media screen and (max-width: 1300px) {
  #wrapRight, #wrapLeft {
    width: 100px;
  }
}

@media screen and (max-width: 1200px) {
  #wrapRight, #wrapLeft {
    display:none;
  }
}
@media screen and (max-width: 1055px) {
#contentWrapper section#left{
width: calc(100% - 323px);
  margin-left: 10px;

}

#contentWrapper section.aside {
  margin-right: 10px;

}

.homeSection, .archiveSection, .pageSection, .singleSection {
  max-width: 1054px;
  width: calc(100% - 10px);
}
}

@media screen and (max-width: 959px) {
  .leadNews.flex {
    flex-direction: row;
  }
}

@media screen and (max-width: 935px) {
section.row3.flex, section.row3 .flex {
  justify-content: space-around;
}
}

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

#contentWrapper section#left {
width:100%;
}

section.main {
width: 100%;
    border-bottom: 1px solid #ccc;
    margin-bottom: 15px;}

.leadNews .articleExcerpt.flex {
align-self:self-start;
}

#contentWrapper section.aside {
display: flex;
    flex-wrap: wrap;
    width: calc(100% - 20px);
    margin-left: 10px;
    margin-right: 10px;
	justify-content:space-between;
}

.homeSection:last-of-type {
border-bottom:2px solid #ed1c24;
}
  
  #contentWrapper section.aside > div {
  width:300px;
  }
  
}

@media screen and (max-width: 750px) {
  .row3 {
    width: 100%;
}
section.row3 .flex {
  justify-content: space-between;
}
}

@media screen and (max-width: 600px) {
section.row3 .flex {
  justify-content: center;
}

#contentWrapper section.aside {

    justify-content: center;
}
.sectionHeading {
display:flex;
justify-content:center;
}
}

