/*-=Small screens=-*/
@media only screen and (max-width: 820px) {
  .contact-home p span {
    padding: 0 20px;
  }
}
@media only screen and (max-width: 40.0625em) {
  .footer p, .footer span {
    float: none;
    text-align: center;
  }

  .footer .portfolio-item-cont {
    height: 150px;
  }

  .contact-home p span {
    padding: 5px 15px;
    display: block;
  }

  .home .slider-text {
    display: none;
  }

  .home #home-slider .slick-slide {
    height: 300px;
  }

  .footer .menu-footer-menu-container ul li:before {
    display: none;
  }

  /* TOP BAR Mobile STYLING */
  .top-bar {
    height: auto;
    background: #006615;
    /* 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: #006615;
    /* change background color if you need */
  }
  .top-bar-section ul li > a .sub-desc {
    display: none;
  }
  .top-bar-section ul li:hover > a {
    background: #004d10 !important;
    /* change background color if you need */
  }
  .top-bar-section ul li.current-menu-item > a:not(.button), .top-bar-section ul li.current-page-ancestor > a:not(.button) {
    background: #00801a !important;
    /* change background color of current menu item 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;
  }
  .top-bar-section ul li.has-dropdown a.dropdown-toggle i.fa {
    font-size: 13px;
    line-height: 1;
    height: 13px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
  }

  .top-bar.expanded .opnd > .dropdown-toggle i.fa {
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
  }
  .top-bar.expanded .title-area {
    background: #00330a;
  }
  .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;
  }

  .nomurphy {
    display: block;
  }
  .nomurphy:before {
    display: none;
  }
}
/* max-width 640px and lower. Use this for mobiles only */
/*-=Medium screens=-*/
@media only screen and (min-width: 40.063em) {
  .helper:before {
    display: none;
  }

  .contact-link-content {
    display: inline-block;
    text-align: left;
  }
  .contact-link-content .top-text {
    display: none;
  }
  .contact-link-content .bottom-text {
    display: none;
  }
  .contact-link-content .right-text {
    margin: 0 auto 0;
    float: none;
    display: inline-block;
  }

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

  .top-bar-section {
    /* Dropdown Styling*/
  }
  .top-bar-section .sub-desc {
    font-size: 11px;
    font-weight: 400;
    font-style: italic;
    color: #BCBCBC;
    text-transform: none;
    display: block;
    position: relative;
    line-height: 25px;
    -webkit-transform-origin: 50% 0;
    -moz-transform-origin: 50% 0;
    -ms-transform-origin: 50% 0;
    -o-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: -webkit-transform .3s ease;
    -moz-transition: transform .3s ease;
    -ms-transition: transform .3s ease;
    -o-transition: transform .3s ease;
    transition: transform .3s ease;
    white-space: nowrap;
    font-family: "Open Sans", sans-serif;
  }
  .top-bar-section .sub-desc:after {
    content: attr(data-hover);
    position: absolute;
    top: 100%;
    left: 0;
    color: #006615;
    font-weight: 400;
    font-size: 11px;
    line-height: 25px;
    -webkit-transform: rotateX(-90deg);
    -moz-transform: rotateX(-90deg);
    -ms-transform: rotateX(-90deg);
    transform: rotateX(-90deg);
    -webkit-transform-origin: 50% 0;
    -moz-transform-origin: 50% 0;
    -ms-transform-origin: 50% 0;
    -o-transform-origin: 50% 0;
    transform-origin: 50% 0;
    white-space: nowrap;
  }
  .top-bar-section ul {
    background: transparent;
  }
  .top-bar-section ul li {
    background: transparent;
  }
  .top-bar-section li:not(.has-form) > a:not(.button),
  .top-bar-section li.has-dropdown > a:not(.button) {
    /* Regular menu item style */
    color: #333333;
    background: transparent;
    font-family: "Open Sans", sans-serif;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 15px 10px 15px;
    line-height: 25px;
  }
  .top-bar-section li:not(.has-form) > a:not(.button):hover,
  .top-bar-section li.has-dropdown > a:not(.button):hover {
    color: #006615;
    background: transparent;
  }
  .top-bar-section li:not(.has-form) > a:not(.button):hover .sub-desc,
  .top-bar-section li.has-dropdown > a:not(.button):hover .sub-desc {
    -webkit-transform: rotateX(90deg) translateY(-22px);
    -moz-transform: rotateX(90deg) translateY(-22px);
    -ms-transform: rotateX(90deg) translateY(-22px);
    -o-transform: rotateX(90deg) translateY(-22px);
    transform: rotateX(90deg) translateY(-22px);
  }
  .top-bar-section li:not(.has-form) > a:not(.button):after,
  .top-bar-section li.has-dropdown > a:not(.button):after {
    display: none;
  }
  .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: #006615;
    background: transparent;
  }
  .top-bar-section li.current-menu-item > a:not(.button) .sub-desc,
  .top-bar-section li.current-page-ancestor > a:not(.button) .sub-desc {
    color: #006615;
  }
  .top-bar-section li.current-menu-item > a:not(.button) .sub-desc:after,
  .top-bar-section li.current-page-ancestor > a:not(.button) .sub-desc:after {
    color: #BCBCBC;
  }
  .top-bar-section .dropdown {
    position: relative;
    border-top: 2px solid #006615;
    background: #FFF;
  }
  .top-bar-section .dropdown:before {
    content: '';
    position: absolute;
    top: -6px;
    left: 7px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 4px 4px 4px;
    border-color: transparent transparent #006615 transparent;
  }
  .top-bar-section ul li:hover:not(.has-form) > a {
    /* Parent link style on dropdown hover */
    color: #006615;
    background: transparent;
  }
  .top-bar-section .dropdown li:not(.has-form):not(.active) > a:not(.button) {
    /* Regular link in dropdown */
    color: #333333;
    font-size: 13px;
    line-height: 18px;
    text-transform: none;
    background: transparent;
    font-weight: normal;
  }
  .top-bar-section .dropdown li:not(.has-form):not(.active):hover > a:not(.button) {
    /* Dropdown link on hover */
    color: white;
    background: #00991f;
  }
  .top-bar-section .has-dropdown > .dropdown li .dropdrown_menu li a {
    /* Dropdown in dropdown */
    background: blue;
  }
  .top-bar-section .has-dropdown > .dropdown li .dropdrown_menu li:hover a {
    color: white;
    text-decoration: underline;
    background: red;
  }

  .top-bar-section {
    float: right;
  }

  /* 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) {
  .footer .portfolio-item-cont {
    height: 150px;
  }

  /* min-width 641px and max-width 1024px, use when QAing tablet-only issues */
  .home #home-slider .slick-slide {
    height: 450px;
  }

  .top-bar-section {
    float: none;
    text-align: center;
  }

  .top-bar-section ul {
    display: inline-block;
  }

  .top-bar {
    height: 70px;
  }
}
/*-=Large screens=-*/
@media only screen and (min-width: 64.063em) {
  .helper:before {
    content: "";
    display: inline-block;
    width: 0;
    height: 100%;
    vertical-align: bottom;
  }

  /* min-width 1025px, large screens */
  .contact-link-content {
    display: block;
  }
  .contact-link-content .top-text {
    display: block;
  }
  .contact-link-content .bottom-text {
    display: block;
  }
  .contact-link-content .right-text {
    float: right;
  }
}
