/*-=Small screens=-*/
@media only screen and (max-width: 40em) {
  /* TOP BAR Mobile STYLING */
  .top-bar {
    height: auto;
    background: #899945;
    /* change background color if you need */
  }

  .top-bar-section ul li > a {
    color: black;
    /* change color of text if you need */
    font-size: 13px;
    background: #899945;
    text-transform: uppercase;
    /* change background color if you need */
  }
  .top-bar-section ul li:hover > a {
    background: #65722D !important;
    /* change background color if you need */
  }
  .top-bar-section .menu {
    display: none;
  }
  .top-bar-section .dropdown {
    clip: auto;
    height: auto;
    display: none;
    width: 100%;
    position: static !important;
  }
  .top-bar-section .dropdown > li a {
    padding-left: 30px;
  }
  .top-bar-section .has-dropdown > a:after {
    display: none;
  }

  .top-bar-section ul li.has-dropdown a.dropdown-toggle {
    display: block;
    position: absolute;
    width: 50px;
    height: 44px;
    right: 0;
    top: 0;
    color: #fff;
    z-index: 100;
    text-align: center;
  }
  .dropdown-toggle i.fa {
    font-size: 13px;
    line-height: 20px;
    height: 20px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
  }
  .top-bar.expanded .opnd > .dropdown-toggle i.fa{
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
  }
  .top-bar.expanded .title-area {
    background: #899945;
  }
  .top-bar.expanded .toggle-topbar a {
    color: #fff;
  }
  .top-bar.expanded .toggle-topbar a span {
    box-shadow: none !important;
  }
  .top-bar.expanded .toggle-topbar a span:after {
    box-shadow: 0 0 0 1px #fff,0 7px 0 1px #fff,0 14px 0 1px #fff;
  }
  .footer-top img {
    padding: 10px 0;
  }
  .top-image {
    height: 100px;
  }

  .slider-caption blockquote {
    padding: 15px;
  }

  .slider-caption blockquote:before {
    position: absolute;
    content: '‘‘';
    font-size: 32px;
    left: 0;
    top: -12px;
  }

  .slider-caption blockquote:after {
    position: absolute;
    content: '‘‘';
    font-size: 32px;
    right: 10px;
    bottom: -5px;
    color: #647229;
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
  }

  h1 {font-size: 30px;}

  .header ~ .row {
    text-align: center;
  }

  .page-template-properties p {
    margin-bottom: 0;
  }

  ul {
    text-align: left;
  }
}
/* 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;
    position: relative;
  }
  .top-bar-section ul li:not(:hover) + li:before {
    position: absolute;
    content: '';
    width: 1px;
    height: 15px;
    background-color: #000;
    left: 0px;
    top: 14px;
    pointer-events: none;
  }
  .top-bar-section li:not(.has-form) a:not(.button) {
    /* Regular menu item style */
    padding: 0 14px;
    line-height: 40px;
    border: 1px solid transparent;
    color: #000;
    background: transparent;
    font-size: 18px;
    font-family: "Roboto", "Open Sans", sans-serif;
    text-transform: uppercase;
  }
  .top-bar-section li:not(.has-form) a:not(.button):hover {
    color: #000;
    background: transparent;
    border-color: #000;
  }
  .top-bar-section li.current-menu-item > a:not(.button),
  .top-bar-section li.current-page-ancestor > a:not(.button) {
    /* Style of Current page and Ancestor page */
    color: #000;
    background: transparent;
  }
  .top-bar-section li.current-menu-item > a:not(.button):after,
  .top-bar-section li.current-page-ancestor > a:not(.button):after {
    position: absolute;
    content: '';
    width: 84%;
    height: 2px;
    left: 8%;
    bottom: 7px;
    background-color: #000;
  }
  .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 {
    /* Parent link style on dropdown hover */
    background: green;
    color: black;
  }
  .top-bar-section .dropdown li:not(.has-form):not(.active) > a:not(.button) {
    /* Regular link in dropdown */
    color: white;
    background: olive;
  }
  .top-bar-section .dropdown li:not(.has-form):not(.active):hover > a:not(.button) {
    /* Dropdown link on hover */
    color: grey;
    background: bisque;
  }

    /* Dropdown in dropdown */
  .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;} */

  .has-dropdown .dropdown-toggle {
    display: none;
  }
}
/* min-width 641px */

@media only screen and (min-width: 40.063em) and (max-width: 64em) {
  .top-bar {
    display: inline-block;
    margin: 5px 0;
  }
  .top-bar-section li:not(.has-form) a:not(.button) {
    font-size: 16px;
    padding: 0 8px;
  }

  .top-image {
    height: 150px;
  }

  #home-slider .slider-caption {
    left: 47%;
    max-width: 470px;
  }

  .slider-caption blockquote:before {
    position: absolute;
    content: '‘‘';
    font-size: 52px;
    left: 15px;
    top: -4px;
    color: #647229;
  }

  .slider-caption blockquote:after {
    position: absolute;
    content: '‘‘';
    font-size: 52px;
    right: 20px;
    bottom: 0;
    color: #647229;
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
  }

  .slider-caption blockquote {
    padding: 25px 20px 30px 45px;
  }
}
/* min-width 641px and max-width 1024px, use when QAing tablet-only issues */


@media only screen and (max-width: 64em) {
  .logo {
    padding: 15px 0;
  }
}


/*-=Large screens=-*/
@media only screen and (min-width: 64.063em) {
  .logo {
    padding: 39px 0 52px;
  }

  .top-bar {
    padding-top: 58px;
  }

  .top-image {
    height: 200px;
  }
}
/* min-width 1025px, large screens */
