/*
Customized logo and menu spacing for FIRST in Michigan
*/
#branding { width: 30%; }
#header-aside { width: 70%; }
@media only screen and (max-width: 799px) {
  #branding, #header-aside { width: 100%; }
}

/* 
Made navigation menu sticky on mobile and rearranged logo and menu placements
*/
.menu-toggle {
  position: absolute;
  top: 25px;
  right: 10px;
  background: white;
  border: none;
  padding: 0 5px;
}
#header.stuck {
  position: fixed;
  width: 100%;
  z-index: 9;
  top: 0;
}
@media only screen and (max-width: 799px) {
  #page-wrapper #site-title, #page-wrapper #site-description {
    text-align: left;
    padding-left: 10px !important;
  }
  #header.stuck #site-logo { padding: 0; }
  #header.stuck .menu-toggle { top: 12px; }
}

/*
Customized topbar font color, size, and links
*/
#topbar {
  color: white;
}
#topbar-right .widget_text {
  font-size: 14px;
  font-style: normal;
  font-weight: bold;
  line-height: 220%;
}
#topbar-right a {
   color: white;
}
#topbar-right a:hover {
   color: white;
   text-decoration: none;
}

/*
Make topbar sticky and right justified
*/
#topbar { 
position: fixed; top: 0; z-index: 999; 
}
#page-wrapper { 
padding-top: 30px; 
}
#header.stuck { 
top: 30px; 
}
#topbar-right {
  text-align: right;
}

/*
Custom classes for font size adjustments based on screen size
*/
.bigtitle {
  font-size: 48px;
  line-height: 100%;
}
.bigcontent {
  font-size: 30px;
  line-height: 150%;
}
.mdcontent {
  font-size: 26px;
  line-height: 150%;
}
@media only screen and (max-width: 799px) {
.bigtitle {
  font-size: 30px;
  line-height: normal;
}
.bigcontent {
  font-size: 24px;
  line-height: normal;
}
.mdcontent {
  font-size: 20px;
  line-height: normal;
}
}

/*
Custom classes for sidebar type links
*/
.adjsidelinks {
display:inline-block;
text-align: right;
font-weight: bold; 
font-size: 18px;}
@media only screen and (max-width: 799px) {
.adjsidelinks {
text-align: left;}
}

/*
Custom classes for adjusting alignments on small screens
*/
.rtoc {
text-align: right;}
@media only screen and (max-width: 799px) {
.rtoc{
text-align: center;}
}
.ltoc {
text-align: left;}
@media only screen and (max-width: 799px) {
.ltoc{
text-align: center;}
}
.rtol {
text-align: right;}
@media only screen and (max-width: 799px) {
.rtol{
text-align: left;}
}

/* Change width from 40% to 100% for tablets and mobile, and remove background image
*/
.htofwidth {
width: 40%;
background-color: rgba(255, 255, 255, 0.5);
padding: 35px;}
@media only screen and (max-width: 799px) {
.htofwidth {
width: 100%;
background-color: white;
padding: 0;}
}


#widgetized-template-area_b  .widget  {margin-top: 0;}
#widgetized-template-area_b .content-blocks-widget {margin-top: 0;}

/*
#widgetized-template-area_c {
background-image: url(https://firstnh.org/main/wp-content/uploads/2017/03/FTChome3.jpg);
background-repeat: no-repeat;
background-size: cover; 
background-attachment: fixed;
background-position: center;
}
@media only screen and (max-width: 799px) {
#widgetized-template-area_c {
background-image: none;}
}
*/

#widgetized-template-area_d .widget_hoot-content-blocks-widget {
margin: 0;
}
#widgetized-template-area_d .content-blocks-widget {
margin:  0;
margin-bottom: 40px;
}
#widgetized-template-area_d .widget {
margin-bottom: 0;
}

/*
Links on top of Events page
*/
.eventlinks {
float: left; 
padding-right: 30px;
}
@media only screen and (max-width: 799px) {
.eventlinks {
clear: both;
width: 100%;
text-align: center;
}
}
.eventlinks2 {
font-size: 18px; 
font-weight: bold;
line-height: 180%;
text-align: left;
}
@media only screen and (max-width: 799px) {
.eventlinks2 {
text-align: center;
}
}

/* 
Add 4 color divider to top of subfooter 
*/
#sub-footer {border-top: none;}
#sub-footer {
background-image: url(https://firstnh.org/main/wp-content/uploads/2017/03/4-color-divider.jpg);
background-repeat: no-repeat;
background-position: top center;
background-size: contain;
}

/*
Reduce subfooter widget top and bottom margins
*/
#sub-footer .widget  {margin: 0;}
#sub-footer .content-blocks-widget {margin: 0;}

/* 
Center text in footer and make background image responsive
*/
#footer {text-align: center;}
.footer {
  background-size: contain;
}

/*
Donate button
*/
.donatebtn, .donatebtn:visited {
border: none;
padding: 8px 44px;
text-align: center;
text-decoration: none;
font-size: 16px;
font-weight: bold;
color: white;
background-color: #666666;
}
.donatebtn:hover, .donatebtn:focus, .donatebtn:active {
outline: none;
background-color: #f57f26;
color: black;
-webkit-transition: color 0.3s ease-in;
-moz-transition: color 0.3s ease-in;
-o-transition: color 0.3s ease-in;
transition: color 0.3s ease-in;
}

/*
Customize footer spacing
*/
.footer .widget {
margin: 20px 0;
}

/*
Change title font color to white
*/
h1.loop-title {
color: #ffffff;
}

/*
Remove bottom line on pages
*/
.entry-content { 
border-bottom: none; 
}

/*
Remove meta info label from posts
*/
.entry-byline-label { 
display: none; 
}

/*
Remove background color from posts meta info
*/
.archive-big .entry-byline, .archive-medium .entry-byline, .archive-small .entry-byline {
  background: #ffffff;
  padding: 0;
}

/*
Events table header color
*/
.easy-table th {
background-color: #909090;
color: white;
}

/*
Buttons on Get Involved page
*/
.involve-btn {
background-color: #f57f26;
color: white;
border: none;
border-radius: 5px;
padding-left: 12px;
padding-right: 12px;
}

/* Toggle box styling */
.shortcode-toggle-head {
   background: #FFFFFF;
   border-color: #f57f26;
	 font-size: 18px;
}
.shortcode-toggle-box {
   border-color: #f57f26;
}

/* table collapse button styling */
table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td:first-child:before, table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th:first-child:before {
    background-color: #f57f26;
}