/*-=Small screens=-*/

@media only screen and (max-width: 40em) {

  /* TOP BAR Mobile STYLING */
  .top-bar {
    background: #75ACC3;; /* change background color if you need */
  }

  .top-bar-section ul li > a {
    color: white; /* change color of text if you need */
    font-size: 13px;
    background: #333333; /* change background color if you need */
  }

  .grantmarcing_content h5 {
    text-align: center;
  }

  .pdf_column {
    text-align: right;
  }

  .top-bar-section ul li:hover > a {
    background: #111 !important; /* change background color if you need */
  }

  .left_page_content,
  .menu_large {
    padding-left: 0 !important;
  }

  h5.sitebar_left_title {
    padding-top: 25px;
  }

  .item.flex-active-slide img {
    width: 100%;
  }

  a.about_img {
    width: 100%;
    padding-left: 0;
  }

  a.about_img img {
    margin-right: 0;
    width: 100%;
  }

  .grantmarcing_content {
    width: 100%;
    padding: 0 15px;
    padding-top: 15px;
  }

  .andrea_silbert {
    width: 100%;
  }

  ul.dropdown li.parent > a:after {
    right: 83% !important;
  }

  .andrea {
    text-align: center;
  }

  .header_top_row {
    padding-bottom: 0;
  }

  h5.news_title_home {
    color: #767676;
    font-size: 22px;
    font-weight: 300;
    margin-top: 0px;
  }

  .home_page_title_post {
    font-size: 20px;
    color: #767676;
    font-weight: bold;
  }

  p {
    font-size: 14px;
  }

  aside#category-posts-4 li.cat-post-item a.post-title {
    color: #b3aa77;
    font-size: 15px;
    font-weight: 600;
  }

  .contact_map {
    width: 100%;
  }

  .menu-header-menu-container {
    text-align: left;
  }

  .content_row ul {
    margin-left: 0;
  }

  h5.about_title {
    margin-top: 0;
  }

  .adress_contact {
    padding-left: 15px;
  }

  .slider_caption {
    position: static;
    width: 100%;
    background: #70adc2;
    margin: 0 auto;
    margin-top: -8px;
    padding-left: 15px;
    padding-right: 15px;

  }

  h5.slider_h5 {
    font-size: 22px;
    text-align: center;
  }

  p.slider_p {
    font-size: 14px;
    text-align: center;
  }

  .slider_large {
    padding: 0;
  }

  .content_row {
    padding-top: 0;
  }

  .post_large_home p {
    margin-bottom: 5px;
  }

  h5.sitebar_left_title {
    margin-top: 0;
  }

  div#footer {
    padding-top: 15px;
  }

  a.about_img {
    padding-top: 0;
  }

}

/* max-width 640px and lower. Use this for mobiles only */

/*-=Medium screens=-*/
@media only screen and (min-width: 40.063em) {

  /* TOP BAR STYLING */
  .top-bar {
    background: transparent;
  }

  .top-bar-section ul {
    background: transparent;
  }

  .top-bar-section ul li {
    background: transparent;
  }


  .top-bar-section li:not(.has-form) a:not(.button) {
    color: #9e9668;
    background: transparent;
    font-family: 'Open Sans', Arial, Verdana, sans serif;
    font-size: 20px;
    font-weight: 300;
    padding: 0 10px;
  }
  .top-bar-section ul li:last-child a {
    padding-right: 20px;
  }

  .top-bar-section li:not(.has-form) a:not(.button):hover {
    color: #767676;
    background: #fff;
  }

  .top-bar-section li.current_page_item > a:not(.button) {
    color: #767676;
    background: #fff;
  }

  .top-bar-section .has-dropdown > a {
    padding: 0 15px !important;
  }

  .top-bar-section .has-dropdown > a:after {
    display: none;
  }

  /* Dropdown Styling*/
  .top-bar-section ul li:hover:not(.has-form) > a {
    background: #fff;
    color: #767676;
  }

  .top-bar-section .dropdown li:not(.has-form) a:not(.button) {
    color: white;
    background: olive;
  }

  .top-bar-section .dropdown li:not(.has-form):hover > a:not(.button) {
    color: grey;
    background: bisque;
  }

  .top-bar-section .has-dropdown > .dropdown li .dropdrown_menu li a {
    background: blue;
  }

  .top-bar-section .has-dropdown > .dropdown li .dropdrown_menu li:hover a {
    color: white;
    text-decoration: underline;
    background: red;
  }

  /* Align Menu to the right
      .top-bar-section { float:right; } */
  /* Align Menu to the center
      .top-bar-section { float:none; text-align: center; }
      .top-bar-section ul{display: inline-block;} */

}

/* min-width 641px */

@media only screen and (min-width: 40.063em) and (max-width: 64em) {
  h5.sitebar_left_title,
  h5.about_title {
    font-size: 19px;
  }
  .menu_large {
    padding-top: 10px;
  }
  #menu-header-menu {
    float: left;
  }
  .top-bar-section ul li:first-child a {
    margin-left: -10px;
  }

}

@media only screen and (min-width: 40.063em) and (max-width: 700px) {
  .top-bar-section li:not(.has-form) a:not(.button) {
    font-size: 18px;
  }
}

/* min-width 641px and max-width 1024px, use when QAing tablet-only issues */

/*-=Large screens=-*/
@media only screen and (min-width: 64.063em) {

}

/* min-width 1025px, large screens */

@media only screen and (min-width: 640px) and (max-width: 780px) {
  .contact_map {
    width: 100%;
    padding-left: 25px;
    padding-right: 15px;
  }
}

@media only screen and (min-width: 641px) and (max-width: 1000px) {
  .slider_caption {
    position: static;
    width: 100%;
    background: #70adc2;
    margin: 0 auto;
    margin-top: -8px;
    padding-left: 15px;
    padding-right: 15px;

  }

  h5.slider_h5 {
    font-size: 28px;
  }

  p.slider_p {
    font-size: 18px;
  }
}


