/* Global Styles (portrait) ----------- */
body {
  -webkit-text-size-adjust: none;
}
input[type="input"],
input[type="tel"],
input[type="email"],
button,
textarea {
  -webkit-appearance: none;
}

#toggle-menu {
  display: none;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 2em;
  text-transform: uppercase;
}
#toggle-menu:hover {
  color: var(--yellow);
  text-decoration: none;
}

@media only screen and (max-width: 1199px) {
  html,
  body {
    font-size: 16px;
    line-height: 1.3em;
  }
  #logo {
    max-width: 270px;
  }
  h2 {
    font-size: 1.275rem;
  }
  .entry h1 {
    font-size: 1.9rem;
  }
  #signup .gform_heading {
    padding-left: 0;
  }
  #sidebar .widget-container h3 {
    font-size: 1.2rem;
  }
  #banner h1 {
    font-size: 3.15rem;
  }
  #banner h3 {
    font-size: 1.5rem;
  }
  .bannerTxt {
    font-size: 1.05rem;
  }
  .author-description p {
    font-size: 1rem;
    line-height: 1.3em;
  }
  .taxonomy-description {
    font-size: 1rem;
    line-height: 1.3em;
  }
}

@media only screen and (max-width: 991px) {
  #navigation {
    z-index: 9;
  }
  #toggle-menu {
    display: block;
  }
  #navigation ul.desktopMenu {
    position: absolute;
    width: 220px;
    background: var(--red);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    overflow: hidden;
    display: none;
  }
  #navigation ul.desktopMenu > li {
    display: block;
    margin: 0;
    border-bottom: solid 1px rgba(255, 255, 255, 0.15);
  }
  #navigation ul.desktopMenu > li > a {
    display: block;
    padding: 5px 20px;
  }
  #navigation ul.desktopMenu > li > ul {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative; 
    width: 100%;
  }
  #navigation ul.desktopMenu > li > ul > li > a {
    padding: 5px 10px 5px 30px;
    font-size: 0.95em;
    font-weight: 500;
    letter-spacing: 0;
  }
  .featuredPostBx .entry {
    padding: 20px;
  }
  #page-home .yarpp-related-widget .widgetBx {
    padding: 0 15px;
  }
  #page-home .yarpp-related-widget ol > li {
    padding: 15px 0;
  }
  #signup .gform_wrapper {
    display: block;
  }
  #signup .gform_heading {
    padding: 0 0 0 0;
    width: 100%;
  }
  #signup form {
    width: 100%;
  }
  .categoryTileBx h4 {
    font-size: 0.95rem;
  }
  .categoryTileBx {
    height: 70px;
  }
  .category-nav-row {
    margin: 0;
  }
  .category-nav-row .col {
    padding: 5px;
  }
  .widget-head {
    display: block;
  }
  .widget-head h2 {
    padding-bottom: 0.4em;
  }
  .postBxMeta {
    display: flex;
    flex-direction: column;
  }

  .postBxMeta .postBxAuthors + span {
    display: none;
  }
  .postItemMeta {
    padding: 15px;
  }
  #sidebar .gform_wrapper,
  .widgetBx.cta-widget,
  .formBx {
    padding: 20px;
  }
  #sidebar .widget-container .widgetBx.cta-widget h3 {
    font-size: 1.55rem;
  }
  .author-bio-img {
    width: 150px;
    height: 150px;
  }
  input[type="submit"],
  button,
  .button {
    font-size: 0.95rem;
    height: 40px;
    line-height: 40px;
  }
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input.text,
  input.title,
  textarea,
  select {
    height: 40px;
    line-height: 40px;
  }
  .gfield_label {
    line-height: 40px;
  }
  #discussion-signup {
    padding: 20px;
  }
  .discussion-signup-meta h3 {
    font-size: 1.9rem;
  }
}

@media only screen and (max-width: 768px) {
  #homeTop .container {
    display: block;
  }
  #homeTop #content {
    padding-right: 0;
    width: 100%;
    padding-bottom: 2rem;
  }
  #homeTop #sidebar {
    width: 100%;
  }
  #signup form .gform_footer {
    width: 110px;
  }
  #page-home #main .container {
    display: block;
  }
  #home-main-left,
  #home-main-right {
    width: 100%;
  }
  #home-main-center {
    width: 100%;
    padding: 2.5rem 0;
  }
  .widget-head {
    min-height: initial;
  }
  footer .container {
    display: block;
  }
  #footerLeft {
    width: 100%;
    padding-bottom: 2rem;
  }
  #footerRight {
    width: 100%;
    justify-content: space-between;
  }
  .footer-nav {
    padding: 0 3rem 0 0;
  }
  #page-about #banner .bannerInlineImg {
    text-align: left;
  }
  #page-about #banner .bannerInlineImg img {
    width: 200px;
  }
  .container.with-sidebar {
    display: block;
  }
  #content {
    width: 100%;
    padding-right: 0;
    padding-bottom: 2.5rem;
  }
  #sidebar {
    width: 100%;
  }
}

@media only screen and (max-width: 575px) {
  #header {
    flex-wrap: wrap;
  }
  #logo {
    width: 100%;
    padding-bottom: 15px;
    max-width: 100%;
  }
  #logo img {
    max-width: 200px;
    display: block;
    margin: 0 auto;
  }
  #navigation {
    margin-left: 0;
  }
  #headerSocial {
    padding-right: 0;
  }
  #homeslider .featuredPostBx {
    display: block;
  }
  .featuredPostBx .featuredImg {
    position: relative;
    width: 100%;
    height: 55vw;
    left: 0;
    top: 0;
  }
  .featuredPostBx .featuredImg:before {
    background: linear-gradient(360deg, #fff 0%, rgba(255, 255, 255, 0) 35%);
  }
  .featuredPostBx .entry {
    width: 100%;
    display: block;
  }
  .featuredPostMeta {
    width: 100%;
    padding-right: 0;
  }
  .entry h1 {
    font-size: 1.6rem;
  }
  .featuredPostBx .featuredPostBtn {
    margin-top: 1rem;
  }
  #signup form {
    width: 100%;
    display: block;
  }
  #signup form .gform_body {
    width: 100%;
    flex-grow: 1;
    padding-right: 0;
  }
  .gform_fields > .gfield,
  #signup .gform_fields > .gfield.signup_name,
  #signup .gform_fields > .gfield.signup_email,
  #signup .gform_fields > .gfield.signup_phone {
    width: 100%;
  }
  .gform_footer .button {
    width: 100%;
  }
  #signup form .gform_footer {
    width: 100%;
  }
  #footerRight {
    display: block;
  }
  .footer-nav {
    padding: 0 0 2rem 0;
  }
  #footerBot {
    width: 100%;
    padding-top: 1rem;
  }
  #banner h1 {
    font-size: 2.7rem;
  }
  #banner h3 {
    font-size: 1.275rem;
  }
  .bannerTxt {
    font-size: 1rem;
  }
  .author-detail-entry {
    display: block;
  }
  .author-bio-img {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
  }
  .author-meta-bx {
    width: 100%;
    flex-grow: 1;
    padding-left: 0;
  }
  .blogpostItem {
    display: block;
  }
  .postItemImg {
    width: 100%;
    position: relative;
    height: 55vw;
  }
  .postItemMeta {
    padding: 15px;
    width: 100%;
  }
  .entry blockquote p {
    font-size: 1rem;
    line-height: 1.5em;
  }
}
