
/* ==========================================================================
  Wide Screen Layout: From 1200px.
========================================================================== */
@media (max-width: 1000px) {

.page-id-54401 .entry-content {
    padding: 20px 0 0 20px;
    box-sizing: border-box;
}
    
.page-template-new-sidebar-page #secondary ul {
    padding-right: 20px;
    box-sizing: border-box;
}



}
/* ========= end fo Wide Screen Layout: From 1200px. ========= */


/* ==========================================================================
  Normal Desktop Layout: From 980px.
========================================================================== */
@media (min-width: 1000px) and (max-width: 1199px) {

#headertopinnerad {
    margin-right: 120px;
}


}
/* ========= end fo Normal Desktop Layout: From 980px. ========= */


/* ==========================================================================
  Tablet Device Layout: From 768px.
========================================================================== */
@media (min-width: 768px) and (max-width: 999px) {


#post-158 .entry-content, #post-17 .entry-content, #post-395 .entry-content {
padding: 10px 3%;
width: 94% !important;
overflow: hidden;
}
#contactright {
width: 62%;
}
#contactleft {
width: 35%;
}
#headertopinnersocial {
margin-top: 18px;
margin-left:30px;
}
#headertopinnerad {
margin-top: 0px;
max-height: 55px;
overflow: hidden;
}
#headertopinnerad img {
height: 55px;
display: block;
max-width: 100%;
}
#site-generatorinside {
width: 96%;
}
#mainsection {
max-width: 60%;
width: 60%;
padding-left: 2%;
}
#sidebarsection {
max-width: 30%;
width: 30%;
padding-right: 2%;
}
#columnhome, #columnhome2 {
max-width: 45%;
margin-right: 5%;
height: 300px;
}
#click-menu {
right: 15% !important;
}
#headertopinnerad {
margin-top: 10px;
margin-right: 17%;
max-width: 58%;
}
#headertopinnerlogo {
max-width: 25%;
margin-top: 20px;
}
#headertopinnerlogo img {
max-width: 100%;
}

#headertopinnerlogomobile {
max-width: 25%;
margin-top: 20px;
}
#headertopinnerlogomobile img {
max-width: 100%;
}




}
/* ========= end fo Tablet Device Layout: From 768px. ========= */



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

#access a {
    padding: 0px 1.8em 0px 0px;
}
#headertopinnerad {
    margin-top: 10px;
}

}

@media (max-width: 800px) {

#menu_toggle {
  display: block;
}

#menu_toggle span {
background-attachment: scroll;
background-color: #848484;
background-image: url("../images/navigation.png");
background-origin: padding-box;
background-position: 15px;
background-repeat: no-repeat;
background-size: auto auto;
border-radius: 0;
color: #fff;
cursor: pointer;
display: block;
float: none;
height: 26px;
letter-spacing: 2px;
margin-right: 0;
padding-top: 17px;
text-align: center;
text-transform: uppercase;
width: 100%;

}
#access {
  display: none;
}
#access li {
display: block;
width: 100%;
background-color: #2B2B2D;
border-bottom: 1px solid #4B4A4A;
float: left;
}
#access li.current-menu-item {
  background-color: #848484;
}
#access li a {
padding: .2em 1em;
font-size: 1.2em;
color: #fff;
}
#access ul ul {
box-shadow: none;
display: block;
position: static;
width: 100%;
border-top: 1px solid #4B4A4A;
height: 100%;
    max-height: 100%;
}
#access ul ul a {
background: transparent;
border-bottom: none;
color: #fff;
font-size: 11px;
font-weight: normal;
padding: 1em 1em;
width: 80%;
margin-left: 5%;
}
#access ul ul ul a {
    margin-left: 10%;
}


}

/* ==========================================================================
  Mobile Layout: From 320px.
========================================================================== */
@media (max-width: 767px) {

.shareimage {
margin-top: 0;
}

#headertopinnerad {
width: 100%;
margin-top: 0;
max-width: 100%;
}
#headertopinnerad iframe {
  width: 100%;
  vertical-align: bottom;
}
#headertopinnersocial {
    margin-top: 15px;
    margin-bottom: 10px;
	display:none;
}
#headertopinnerad img {
width: 100%;
margin-bottom: -8px;
}
#click-menu {
top: 30px !important;
}
#headertop {
height: 100%;
overflow: hidden;
background: #263568;
}
.entry-content, .entry-summary {
padding: 0;
}
.entry-content img {
	margin: 0px 0 0;
}
#mainsection {
max-width: 100%;
width: 98%;
margin: auto;
float: none;
}
#columnhome img, #columnhome2 img {
width: 100%;
margin: auto;
display: block;
}

#columnhome, #columnhome2 {
margin-bottom:25px;
}

.entry-content h1, .entry-content h2, .comment-content h1, .comment-content h2 {
margin-left: 0px;
}
#sidebarsection, #sidebarsection3 {
max-width: 100%;
margin-top: 20px;
width: 98%;
text-align: center;
float: none;
margin-left: auto;
margin-right: auto;
}

#sidebarsection img, #sidebarsection iframe, #sidebarsection3 img, #sidebarsection3 iframe {
width: 100%;
margin: auto;
display: block;
}

#post-158 .entry-content, #post-17 .entry-content, #post-395 .entry-content {
padding: 10px 3%;
width: 94% !important;
overflow: hidden;
}
#contactleft, #contactright {
width: 100%;
}
#PagePeel {
  display: none;
}
p {
line-height: 1.5em;
margin-bottom: 1.0em;
}
hr {
margin-bottom: 1.0em;
}
#headertopinnerlogo {
max-width: 100%;
width: 100%;
text-align: center;
border-right:none;
display:none;
}
#headertopinnerlogomobile {
max-width: 100%;
width: 100%;
text-align: center;
border-right:none;
display:inherit;
}
#headertopinnerlogomobile a {
  display: block;
  overflow: hidden;
}
    
    .page-template-new-sidebar-page #primary {
    float: none;
    margin: 0 -26.4% 0 0;
    width: 100%;
}
    
.page-template-new-sidebar-page #secondary {
    float: none;
    margin-right: 0;
    width: 100%;
    margin-top: 16px;
    padding: 0 20px;
    box-sizing: border-box;
}
    
    .page-template-new-sidebar-page #secondary img{
    width: 100%;
}
    
    .articlewrapper {
    display: grid;
    grid-template-columns: 100%;
    grid-gap: 23px;
}
    
    .page-id-54401 .entry-content {
    padding: 0 20px;
    box-sizing: border-box;
}
    
    .page-template-new-sidebar-page #secondary ul {
    padding-right: 0px;
}


}
/* ========= end fo Mobile Layout: From 320px. ========= */


/* ==========================================================================
  Wide Mobile Layout: 480px.
========================================================================== */
@media only screen and (min-width: 480px) and (max-width: 767px) {

#columnhome, #columnhome2 {
max-width: 47%;
margin-right: 1.5%;
margin-left: 1.5%;
min-height: 310px;
}

#site-generatorinside {
width: 96%;
}

#headertopinnerlogo img {
    max-width: 100%;
}

#headertopinnerlogomobile img {
    max-width: 100%;
}

#click-menu {
    right: 20% !important;
    top: 5px !important;
}
#headertopholder {
position: static !important;
}
#headertopholder.original {
  display: none;
}


}
/* ========= end fo Wide Mobile Layout: 480px. ========= */



/* ==========================================================================
  Small Mobile Layout
========================================================================== */
@media (max-width: 479px) {

#headertopinnersocial {
max-width: 100%;
margin-top: 0;
margin-left: 0;
text-align: center;
width: 100%;
padding: 0 0 5px;
display:none;
}
#columnhome, #columnhome2 {
max-width: 100%;
margin-right: 0;
padding: 0 5px;
}
#site-generator {
height: 100%;
width: 100%;
overflow: hidden;
padding-bottom: 20px;
}
#site-generatorinsideleft {
max-width: 95%;
float: none;
margin: 0 auto;
}
#site-generatorinsideright {
max-width: 95%;
float: none;
margin: auto;
text-align: center;
}
#access ul {
max-height: 300px;
overflow-y: scroll;
}
#sidebarsection img, #sidebarsection iframe {
max-width: 100%;
}
#headertopinnerad {
    width: 100%;
    margin-top: 0px;
}

#headertopinnerlogo img {
    max-width: 100%;
}
#headertopinnerlogomobile img {
    max-width: 100%;
}
#click-menu {
    right: 30% !important;
}




}
/* ========= end fo small Mobile Layout ========= */
