/* FIRST STEP RECOVERY CUSTOM CSS */


/* Center the add to any follow widget */

.widget_a2a_follow_widget {
  text-align: center;
}

/* Apply color to heading links */

h1 a strong, h2 a strong, h3 a strong, h4 a strong, h5 a strong, h6 a strong, p a strong {
    color: #2454DC !important;
}

h1 a strong:hover, h2 a strong:hover, h3 a strong:hover, h4 a strong:hover, h5 a strong:hover, h6 a strong:hover, p a strong:hover {
    color: #109bc5 !important;
    text-decoration: underline;
}

/* Ajust logo */

.logo img, .logo svg {
    padding: 16px 0 0 0;
    max-width: 65%;
}

@media only screen and (max-width: 767px) {
    .logo img, .logo svg {
    padding: 0 0 0 0 !important;
    max-width: 60% !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 989px) {
    .logo img, .logo svg {
    padding: 20px 0 0 0 !important;
    max-width: 65% !important;
    }
}

/* Postion the custom logo in the top page banners */

.custom-banner-logo {
    width: 100%;
    max-width: 220px;
    height: auto;
    border-radius: 15px;
}

.custom-banner-logo-div {
    width: 100%;
    max-width: 220px;
    margin: -25px 0 0 0;
}

.custom-banner-logo-div-three-text {
    width: 100%;
    max-width: 220px;
    margin: -7px 0 0 0;
}

@media screen and (max-width: 600px) {
  .custom-banner-logo-div {
    margin: -25px auto 20px auto;
  }
}

@media screen and (max-width: 600px) {
  .custom-banner-logo-div-three-text {
    margin: -7px auto 20px auto;
  }
}

/* Custom logo test in the top page banners */

.custom-banner-text {
    text-align: center;
    font-size: 40px;
    text-transform: none !important;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}

@media screen and (max-width: 600px) {
  .custom-banner-text {
    font-size: 30px;
  }
}

/* Adjust H2 text-transform */

.entry-content-wrapper h2 {
    text-transform: none !important;
}

/* Adjust portfolio excert text on articles page */

.grid-entry-excerpt {
    margin: 5px 0 0 0 !important;
}

/* Change color of the Cookie Consent Badge */

html, #av-cookie-consent-badge {
    background-color: #2454DC !important;
    color: #ffffff !important;
    border: 1px solid #444444;
}

/* Move the More Menu to the left a bit */

.av-main-nav ul {
    margin: 0 0 0 -70px;
}

/* Adjust font size of Mega Menu dropdown */

#top #header .mega_menu_title a {
    font-size: 13px !important;
}

/* Adjust the left padding of the Mega Menu dropdown to fit the text in correctly */

#top #header .avia_mega_div > .sub-menu {
    padding: 20px 30px 30px 50px !important;
    margin-left: 0;
}

/* Change color of the Back to Top button background and position */

#scroll-top-link {
    background-color: #2454DC !important;
}

#scroll-top-link:hover {
    color: #ffffff !important;
}

#scroll-top-link {
    right: 50px;
    bottom: 100px !important;
}

/* Custom homepage badge one */

.custom-homepage-h2-badge-one {
    width: 100%;
    max-width: 484px;
    margin: 0 auto 0 auto;
    border: 4px solid #00AEEE !important;
    border-radius: 23px;
    box-shadow: 2px 14px 10px 0px rgb(0 0 0 / 50%);
}

#custom-special-heading-tag h2 {
    font-weight: 700 !important;
}

/* Custom homepage background one */

/* .custom-homepage-background-one {
    margin: 16px 16px 16px 16px;
    padding: 50px 50px 50px 50px;
    background-color: transparent;
    background-image: linear-gradient(180deg, #ABE8FF 0%, #D0C0ED 100%);
    border-radius: 30px;
} */

/* Custom homepage PDF download image */

.custom-pdf-download-image img {
    border: 2px solid #222;
    box-shadow: 10px 11px 10px 0px rgb(0 0 0 / 50%);
    border-radius: 25px;
}

/* Take out the overlay "Tick" over the images */

.avia_transform a .image-overlay {
    display: none !important;
}

/* Increase the border around images */

/* .avia_image {
    -webkit-border-radius: 25px !important;
    -moz-border-radius: 25px !important;
    border-radius: 25px !important;
} */

/* Change color of the Hide notification only button on the cookie pop-up */

.avia-cookie-consent .avia-cookie-consent-button.avia-cookie-hide-notification, .avia-popup .avia-cookie-consent-button.avia-cookie-hide-notification {
    color: #2454DC !important;
}

#top .main_color .avia-color-theme-color-highlight {
    color: #ffffff !important;
}

/* Change the design of the Prev/Next buttons on the posts/news pages */

#top .avia-post-nav {
    background: #2454DC !important;
}

#top .avia-post-nav:hover {
    background: #222 !important;
}

.avia-post-prev {
    left: 34px;
}

/* Add some top margin to the posts/news post meta data */

#top .av-post-metadata-container {
    margin: 50px 0 0 0 !important;
}

/* Add some CSS to the Author Box */

.author-box {
    background: #e1e1e1;
    padding: 20px;
    border-radius: 15px;
}

.author-title {
    color: #2454DC !important;
}

/* Add padding to the gallery video grid */

.custom-gallery-video-grid {
    padding: 0 40px 0 40px;
}

/* Change color of the post entry title */

.entry-content-wrapper .post-title {
    color: #2454DC !important;
}

/* Styling for contact form 7 */

.wpcf7 input[name=your-subject], .wpcf7 textarea[name=your-message] {
    width: 100% !important;
}

.wpcf7 input[name=your-name], .wpcf7 input[name=your-email], .wpcf7 input[name=tel-725] {
    width: 70% !important;
}

.wpcf7 form .wpcf7-response-output {
    margin: 2em 0.5em 1em;
    padding: 0.8em 1em !important;
    font-weight: bold;
    font-size: 15px;
}

.wpcf7-text {
    font-size: inherit;
    font-weight: bold;
}

.wpcf7-privacy-text {
    font-size: inherit;
}

.wpcf7 input[type=submit] {
    margin: 15px 0 0 0;
}

@media screen and (max-width:768px) {
.wpcf7 input[name=your-subject], .wpcf7 textarea[name=your-message], .wpcf7 input[name=your-name], .wpcf7 input[name=your-email], .wpcf7 input[name=tel-725] {
    width: 100% !important;
    }
}

.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"] {
    /*width: 80% !important;*/
    border-radius: 3px !important;
}

.wpcf7 textarea {
    /*width: 100% !important;*/
    border-radius: 3px !important;
}

.wpcf7 input[type="submit"] {
    border-radius: 3px !important;
}

/* Re-style the button on the Newsletter Profile page */

.tnp-profile form .tnp-field input[type=submit] {
    background-color: #2454DC;
    color: #fff;
    width: auto;
    height: auto;
    margin: 0;
    border: 1px solid #2454DC;
    border-radius: 5px;
    line-height: 1em;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-clip: padding-box;
    box-sizing: border-box;
    font-size: 110%;
    padding: 0.594rem 1rem;
}

.tnp-profile form .tnp-field input[type=submit]:hover {
    background-color: #00aeee;
    opacity: 1;
}

.main_color input[type='submit'] {
    background-color: #2454DC;
    color: #fff;
    width: auto;
    height: auto;
    margin: 0;
    border: 1px solid #2454DC;
    border-radius: 5px;
    line-height: 1em;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-clip: padding-box;
    box-sizing: border-box;
    font-size: 110%;
    padding: 0.594rem 1rem;
}

.main_color input[type='submit']:hover {
    border: 1px solid #2454DC;
    opacity: 1;
}

/* Re-design the main Avia buttons */

/* .avia-button {
    background-color: #2454DC;
    color: #fff;
    width: auto;
    height: auto;
    margin: 0;
    border: 1px solid #2454DC;
    border-radius: 5px;
    line-height: 1em;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-clip: padding-box;
    box-sizing: border-box;
    font-size: 110%;
    padding: 0.594rem 1rem;
}

.avia-button:hover {
    background-color: #00aeee !important;
    opacity: 1;
} */

/* Custom Follow Us On CSS */

.custom-follow-us-on-span {
  float: left;
  text-align: center;
  margin: 0 10px 0 0;
  padding: 0 0 0 0;
}

.custom-follow-us-on-div {
  width: 100%;
  clear: both;
  display: block;
}

.custom-inner-follow-us-on-div {
  width: 100%;
  clear: both;
  display: block;
  max-width: 21%;
  margin: 0 auto 0 auto;
}

@media screen and (max-width: 600px) {
  .custom-inner-follow-us-on-div {
    max-width: 43%;
  }
}

.custom-follow-us-on-heading {
    text-align: center;
    padding: 0 0 15px 0;
    margin: 0 0 0 0;
}

.custom-follow-us-on-img {
    border-radius: 10px;
    max-width: 50px;
    height: auto; 
}

.custom-follow-us-on-column {
    float: left;
    width: 33%;
}

.custom-follow-us-on-row {
    max-width: 20%;
    margin: 0 auto 0 auto;
}

@media screen and (max-width: 1024px) {
  .custom-follow-us-on-row {
    max-width: 40%;
  }
}

/* Clear floats after the columns */
.custom-follow-us-on-row:after {
    content: "";
    display: table;
    clear: both;
}

@media screen and (max-width: 600px) {
  .custom-follow-us-on-column {
    width: 100%;
  }
}

/* Service Page images CSS */

.service-page-img-div {
    clear: both;
    width: 150px;
    height: auto;
    padding: 3px 3px 0 3px;
    border: 3px double #e1e1e1;
    margin: 30px 0 20px 0;
    transition: 0.7s;
}

.service-page-img-div:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.service-page-img {
    margin: 0 0 -3px 0;
}

/* Custom img hover zoom slightly */

.custom-page-img-zoom {
    transition: 0.7s;
}

.custom-page-img-zoom:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

/* Correct footer socket top and bottom space (copyright etc.) */

#socket {
    margin: -1px 0 0 0;
}

/* Reduce the bottom padding of widgets to bring them closer together */

.widget {
    padding: 0 0 30px 0 !important;
}

/* PayPal Donate Button CSS */

.paypal-donate-button-div {
    clear: both;
    text-align: center;
    margin: 0 0 0 0;
}

.paypal-donate-button-heading {
    margin: 0 0 20px 0;
    clear: both;
}

.paypal-donate-button-bottom-text {
    display: none;
    font-size: 13px;
    color: #2454DC;
}

.paypal-button-image {
    width: 100%;
    max-width: 160px;
    height: auto;
    /*margin: 0 0 20px 0;*/
}

.paypal-qr-code-image {
    display: none;
    width: 100%;
    max-width: 128px;
    height: auto;
    margin: 0 0 0 0;
}


