/*
Theme Name:   Divi Child
Theme URI:    http://www.johngroup.com/
Description:  Divi Child Theme
Author:       Johnson Group
Author URI:   http://www.johngroup.com/
Template:     Divi
Version:      1.0.1
*/

@import url('../Divi/style.css');

/*TEMPORARY TEST PAGE CODE*/

.hidden {
    display: none;
}

.mc-form-wrap {
    max-width: 700px;
    -webkit-appearance: none;
    background-image: url("/wp-content/uploads/2018/03/erla-box2.jpg");
    background-size: cover;
    margin: auto;
    padding: 8em 6em;
    box-shadow: 0 0 40px 6px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 0 40px 6px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 0 40px 6px rgba(0, 0, 0, 0.3);
    border: 0;
    background-repeat: no-repeat;
}

.mc-form-wrap input#mce-EMAIL {
    min-height: 41px;
    min-width: 100%;
    border: 0;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
    padding: 10px;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    margin: 10px 0;
    float: none;
    background: rgba(255, 255, 255, 1);
    color: #b5b4b4;
    font-style: italic;

}

.mc-form-wrap input#mc-embedded-subscribe {
    font-weight: 600;
    color: #2d2d2d;
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    line-height: 17px;
    border: 0;
    box-shadow: none;
    width: 100% !important;
    padding: 12px 15px;
    background: #dab065;
}

.mc-form-wrap h2 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 34px;
    line-height: 1.1em;
    font-weight: 700;
    text-align: center;
    font-style: italic;
    text-shadow: 1px 1px 20px rgba(0, 0, 0, 0.6);
}

.mc-form-wrap .mc-field-group {
    margin: 6px 0;
}

div#mc_embed_signup {
    max-width: 400px;
    margin: auto;
}

div#mc_embed_signup {
    background: none;
}

#mc_embed_signup div.mce_inline_error,
#mc_embed_signup div#mce-success-response {
    margin: 0 0 1em 0;
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0) !important;
    z-index: 1;
    color: #fff;
    font-style: italic;
    font-weight: 400;
}

#mc_embed_signup input.mce_inline_error {
    border: 1px solid #dd0000;
}

input:focus::-webkit-input-placeholder {
    color: transparent;
}

input:focus:-moz-placeholder {
    color: transparent;
}

/* FF 4-18 */

input:focus::-moz-placeholder {
    color: transparent;
}

/* FF 19+ */

input:focus:-ms-input-placeholder {
    color: transparent;
}

/* IE 10+ */

.page-id-5885 .AMP-test-AD {
    display: block;
}

.AMP-test-AD {
    display: none;
}

/* Temporary hiding of global search on single posts until fixed */

.single-post .headerS {
    display: none;
}

/*removes animation of content on slides*/

.et-pb-active-slide .et_pb_slide_description,
.et_pb_module.et-waypoint.et_pb_image {
    -webkit-animation: none !important;
    -moz-animation: none !important;
    -o-animation: none !important;
    -ms-animation: none !important;
    animation: none !important;
}


/*Make whole toggle clickable*/

.et_pb_toggle_close {

    padding: 0 !important;
}

.et_pb_toggle_close h5.et_pb_toggle_title {

    padding: 20px 50px 20px 20px !important;
}

.et_pb_toggle_close .et_pb_toggle_content {

    padding: 0 50px 20px 20px !important;
}

.et_pb_toggle_close .et_pb_toggle_title:before {
    padding-right: 20px;
}

.et_pb_fullwidth_menu .fullwidth-menu-nav > ul {
    padding: 42px 0 0 !important;
    line-height: 1.7em;
}


/*SWAP COLUMN ORDER ON MOBILE/TABLET*/

@media only screen and (min-width: 981px) {
    .column-swap .et_pb_column,
    .et_pb_row .et_pb_column {
        margin-left: 0;
    }

    .column-swap .et_pb_column {
        float: right;
    }

    .column-swap .et_pb_row .et_pb_column:last-child,
    .column-swap .et_pb_row_inner .et_pb_column:last-child {
        margin-right: 0;
        margin-left: 0;
        width: 50%;
    }

    .column-swap .et_pb_column,
    .column-swap .et_pb_row .et_pb_column:first-child {
        margin-right: 0;
        width: 50%;
    }
}

.single .et_pb_post .postContainer {
    padding: 0 30px;
}

.et_pb_post .entry-content {
    padding: 25px 30px 65px;
    background-color: #fff;
    border-top: 3px solid #1c3664;
    margin-top: 10px;
}

.logo-wrap {

    height: 137px;
    float: none;
    max-width: 415px;
    margin: 0 auto;
    position: relative;
}

.logo-wrap a {
    top: 0;
    position: absolute;
    left: 0;
}

.logo-wrap span {
    color: #1c3664;
    font-size: 24px;
    float: right;
    padding-top: 24px;
}

.page-id-38 #main-header,
.page-id-38 .et-social-icons {
    display: none;
}

.page-id-38 #page-container {
    padding-top: 0 !important;

}

.page-id-38 .et_pb_fullwidth_header .et_pb_parallax_css {
    background-position: bottom center;

}

.et_pb_button {
    border-color: #A5181C !important;
    background-color: #A5181C !important;
    color: #fff !important;
}

.et_pb_button:hover {
    border-color: #A5181C !important;
    background-color: transparent !important;
    color: #A5181C !important;
}

.et_pb_fullwidth_header .et_pb_button:hover,
.et_pb_button_white:hover {
    color: #fff !important;
}

h1 {
    font-size: 50px;
    font-weight: 700;
    font-family: 'Roboto Condensed', sans-serif;
}

ul li {
    margin-bottom: 10px !important;
    line-height: 1.4em;
}

.page-id-38 .et_pb_fullwidth_header_container {
    min-height: auto;
}

.et_pb_fullwidth_header_subhead {
    font-size: 30px;
    font-weight: 700;
    font-family: 'Roboto Condensed', sans-serif;
    padding: 25px 0;
    margin: 25px 0;
    background: rgba(255, 255, 255, 0.2);
}

.headerText {
    font-size: 16px;
    text-align: justify;
}

.page-id-38 img {
    width: 100%;
}

.page-id-38 ul.arrowRight {
    padding-left: 0;
}

.page-id-38 ul.arrowRight li {
    background: url(/wp-content/uploads/2017/01/arrow-right.png) no-repeat left center;
    padding: 3px 0 3px 33px;
    list-style: none;
    margin: 0 0 0 -5px;
    background-size: 25px;
}

.page-id-38 ul.checkmark {
    padding-left: 0;
}

.page-id-38 ul.checkmark li {
    background: url(/wp-content/uploads/2017/01/checkmarkGray.png) no-repeat left center;
    padding: 3px 0 3px 33px;
    list-style: none;
    margin: 0;
    background-size: 25px;
}

.programBenefits ul.checkmark,
.programObjectives ul.checkmark {
    width: 500px;
    text-align: left;
    margin: 0 auto;
}

.programBenefits ul.checkmark li,
.programObjectives ul.checkmark li {
    background: url(/wp-content/uploads/2017/01/checkmarkWhite.png) no-repeat left center;
    background-size: 25px;

}

.workshopSlider .et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content {
    max-width: 530px;
}

.post-meta {
    float: left;
    margin-bottom: 10px;
    color: #666;
    width: 100%;
}

.et_pb_post {
    margin: 0 0 19px !important;
    float: left;
    width: 100%;
    background-color: #D6D7D4;
}

.footer-i {
    background: #d7d7d5;
    color: #3399CC;
    float: left;
    width: 100%;
}

.footer-i .wrap {
    margin: 0 auto;
    max-width: 1320px;
    padding: 0 20px;
}

.footer-i .search-form {
    float: right;
    padding: 18px 0;
}

#footer .search-form {
    margin: 0;
    display: inline-block;
    vertical-align: top;
    width: auto;
    min-width: unset;
    position: relative;
    left: 0;
    top: 0;
}

.footer-i .logo-holder {
    padding: 30px 0;
    float: left;
}

.logo-holder .partner-logo {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
}

.footerNewMenu {
    float: left;
    font-size: 15px;
    padding: 43px 0;
    line-height: 38px;
    margin-left: 15px;
}

.footer-i .search-form input[type=search],
.et_pb_widget .search-form input[type=search] {
    border: 0;
    border-radius: 0;
    font-size: 14px;
    line-height: 14px;
    padding: 20px;
    width: 200px;
    margin: 0 5px 0 0;
    height: 22px;
}

.et_pb_widget .search-form input[type=search] {
    max-width: 450px;
    width: 100%;
}

.footer-i .search-form input[type=submit],
.et_pb_widget .search-form input[type=submit],
.headerS .search-form input[type=submit] {
    background: url(/wp-content/uploads/2016/02/search-icon-erla-v2_360.png) no-repeat;
    width: 30px !important;
    padding: 0;
    margin: 5px;
    height: 30px;
    background-size: 30px;
    text-indent: -9999px;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.footer-i fieldset {
    margin: 0;
    padding: 0;
}

.et_pb_widget fieldset {
    padding: 20px;
}

#footer-bottom {
    display: none;
}

#headerErl {
    margin-bottom: 10px;
}

#headerErl .wrap {
    margin: 0 auto;
    max-width: 1320px !important;
    padding: 0 20px;
}

#headerErl img {
    padding: 0 !important;
}

#headerErl .logo {
    padding: 10px 0 20px;
    text-align: center;
}

.logoTagline {
    margin: 10px auto 0;
    text-align: center;
    width: 100%;
    color: #1B3564;
    font-size: 19px;
    font-weight: 700;
    line-height: 1em;
}

.google_conversion_frame {
    display: none;
}

.topBlog .entry-title-featured {
    width: 100%;
    background-color: #3299cc;
    padding: 20px 20px;
    border-bottom: 3px solid #fff;
}

.topBlog .entry-title-featured a {
    transition: 400ms;
    font-size: 19px;
    line-height: 1.3em;
    text-align: left;
    color: #fff;
    font-family: "Open Sans", Arial, sans-serif;
}

.post-content p {
    color: #000 !important;
    font-size: 16px;
    line-height: 18px;
}

.entry-title,
.entry-title-featured {
    color: #1B3564 !important;
    transition: 400ms;
    font-size: 19px;
    line-height: 1.3em;
    font-weight: bold;
}

.singlePostTitle .entry-title {
    width: 100%;
    font-size: 23px;
    text-align: left;
    color: #fff !important;
    font-family: "Open Sans", Arial, sans-serif;
}

.et_post_meta_wrapper {
    background-color: #3299cc;
    padding: 20px 30px;
    border-bottom: 3px solid #fff;
    margin-bottom: 15px;
    float: left;
    width: 100%;
}

.et_fixed_nav.et_show_nav #page-container {
    padding-top: 15px !important;
}

#main-content .container {
    padding-top: 0;
}

.widgettitle {
    font-size: 16px;
    line-height: 24px;
    padding: 10px 25px;
    background-color: #3299cc;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    border-bottom: 3px solid #fff;
    color: #fff;
    letter-spacing: -0.5px;
}

.et_pb_widget {
    margin-bottom: 9px;
    color: #000;
}

.et_pb_widget a {
    color: #2ea3f2;
}

.container {
    max-width: inherit;
}

.container::before {
    display: none;
}

#left-area {
    width: 73.625%;
    padding-right: 0 !important;
}

#sidebar {
    width: 26.375% !important;
    padding-right: 0;
}

#sidebar ul.related_post li {
    width: auto !important;
}

#sidebar ul.related_post li a {
    color: #1c3664;
    font-size: 15px !important;
    line-height: 1.2em !important;
}

.et_pb_widget .textwidget,
.et_pb_widget ul.related_post {
    padding: 10px 25px !important;
    margin-top: 0;
    background-color: #f1f1f1;
}

.home .entry-title,
.home .post-meta,
.home .et_post_meta_wrapper img {
    padding: 0 20px;
}

.entry-featured-image-url {
    padding: 20px 20px 0 20px;
}

#sidebar .et_pb_widget {
    margin-bottom: 15px !important;
}

.et_pb_gutters3 .et_pb_column_1_3,
.et_pb_gutters3.et_pb_row .et_pb_column_1_3 {
    width: 31.666%;
}

.et_pb_gutters3 .et_pb_column,
.et_pb_gutters3.et_pb_row .et_pb_column {
    margin-right: 2.5%;
}

.et_pb_widget .search-form input[type=search] {
    margin-right: 20px;
}

.et_pb_post h2 {
    margin-top: 10px;
    font-size: 23px;
    line-height: 1.3em;
}

.et_pb_row {
    max-width: 1280px;
}

.post-content p {
    line-height: 1.3em;
}

.single-post .container {
    max-width: 1280px;
}

body {
    color: #000;
}

#sidebar #text-2 {
    padding: 10px 20px;
    margin-bottom: 30px !Important;
}

body > iframe:first-child {
    display: none;
}


.big-social ul {
    margin: 0;
    padding: 0 !important;
    list-style: none;
}

.big-social li {
    margin: 0 !important;
    list-style: none;
    display: inline-block;
    text-indent: -9999px;
    vertical-align: top;
    padding: 0;
    font-size: 14px;
    font-weight: 400;
    position: relative;
}

.fbIcon {
    cursor: pointer;
    -webkit-background-size: 30px;
    -moz-background-size: 30px;
    -o-background-size: 30px;
    background-size: 30px;
    display: block;
    -webkit-transition: opacity .3s;
    transition: opacity .3s;
}

.fbPopup {
    z-index: 9999;
    display: none;
    position: absolute;
    top: 30px;
    right: -101px;
    background: #fff;
    padding: 10px;
    border: 2px solid #333;
    width: 317px;
}

.fbPopup.fbPopupActive {
    display: block;
}

.big-social .st_twitter_custom,
.box .social .st_twitter_custom {
    background: url(/wp-content/themes/erlanger/images/twitter.jpg) no-repeat;
}

.big-social .st_linkedin_custom,
.box .social .st_linkedin_custom {
    background: url(/wp-content/themes/erlanger/images/linkedin.jpg) no-repeat;
}

.big-social .fbIcon {
    background: url(/wp-content/themes/erlanger/images/facebook.jpg) no-repeat;
}

.big-social .st_pinterest_custom,
.box .social .st_pinterest_custom {
    background: url(/wp-content/themes/erlanger/images/pinterest.jpg) no-repeat;
}

.big-social {
    text-align: right;
}

.big-social {
    margin: 0;
    background-color: transparent;
    width: 20%;
    border-top: none;
    padding: 0;
    text-align: right;
    float: right;

}

.fb_iframe_widget span {
    display: block !important;
}

.big-social a,
.big-social span,
.box .social a,
.box .social span,
.social .fbIcon,
.big-social .fbIcon {
    width: 30px;
    height: 30px;
    -webkit-background-size: 30px !important;
    /* Safari 3.0 */
    -moz-background-size: 30px !important;
    /* Gecko 1.9.2 (Firefox 3.6) */
    -o-background-size: 30px !important;
    /* Opera 9.5 */
    background-size: 30px !important;
    float: left;
    display: block;
    cursor: pointer;
    -webkit-transition: opacity .3s;
    transition: opacity .3s;
}

.big-social a:hover,
.big-social span:hover {
    opacity: .8;
}

.singlePostTitle {
    width: 77%;
    float: left;
}

.et_post_meta_wrapper .post-meta {
    font-size: 13px !important;
    color: #000;
    padding-bottom: 0 !important;
    margin-bottom: 0;
}

.topBlog .post-content,
.topBlog a.entry-featured-image-url {
    padding: 25px 40px;
}

.topBlog .post-meta {
    padding: 0 40px;
}

.topBlog .entry-title-featured {
    padding: 20px 40px;
    margin-top: 0;
    line-height: 1.8em;
}

.topBlog a.entry-featured-image-url img {
    width: 100%;
}

.entry-title-featured,
.topBlog .entry-title {
    display: none;
}

.topBlog .entry-title-featured {
    display: block;
}

.big-social .st_facebook_custom,
.box .social .st_facebook_custom,
.social .fbIcon,
.big-social .fbIcon {
    background: url(/wp-content/themes/erlanger/images/facebook.jpg) no-repeat;
}

.fbPopupShare span {
    text-indent: 0;
    width: 293px !important;
    color: #000;
    padding: 7px 7px 7px 40px;
    background-color: #eee !important;
    border-right: 2px solid #1B3665;
}

.fbPopupShare {
    margin-top: 10px;
    float: left;
}

.fbPopupLikePage {
    margin-left: -1px;
}

.fbIcon:hover + .fbPopup,
.fbPopup:hover {
    display: block;
}

.single-post #main-footer .search-form {
    display: none;
}

#main-footer img {
    padding: 0;
}

.entry-content .big-social {
    margin-top: 10px;
}

/* NEW */

#main-footer .container {
    width: 100%;
}

.headerS {
    width: 100%;
    text-align: center;
    padding: 25px 10px;
    background-color: #d7d7d5;
}

.footer-i .search-form {
    display: none;
}

.socialFooter .et-social-icons {
    padding: 47px 0;
}

.footerNewMenu li {
    font-size: 15px;
    padding: 0 0 0 15px;
    float: left;
    display: block;
}

.footerNewMenu li:not(:first-child)::before {
    content: "";
    width: 2px;
    height: 13px;
    background: #5c7ea0;
    left: 0;
    top: 4px;
    border-radius: 0;
    margin-right: 15px;
    position: relative;
    float: left;
}

.footerNewMenu li:nth-child(4) img {
    width: 60%;
}

#sidebar ul.related_post li img {
    width: 100% !important;
    height: auto !important;
    border-radius: 0 !important;
}

#sidebar #mc4wp_form_widget-3 .widgettitle {
    font-size: 16px;
    letter-spacing: -0.5px;
    line-height: 24px;
    padding: 10px 25px;
    background-color: #dab065 !important;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    border-bottom: 3px solid #1B3564 !important;
    color: #1B3564;
}

#mc4wp-form-1 {
    padding: 10px 25px;
    margin-top: 0;
    background-color: #f1f1f1;
}

.mc4wp-form-fields {
    min-height: 32px;
    width: 100%;
    max-width: 480px;
}

.mc4wp-form-basic label {
    color: #1B3564;
    padding-bottom: 3px;
    font-weight: 400 !important;
    font-size: 15px;
}

.mc4wp-form-basic input[type=email] {
    min-height: 32px;
    width: 100%;
    font-size: 12px;
    padding: 15px;
    border: 0;
}

#mc4wp-form-1 input[type=submit] {
    font-weight: 600;
    color: #1B3564;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 16px;
    border: 0;
    box-shadow: none;
    width: 100% !important;
    padding: 12px 15px;
    background: #dab065;
}

#mc4wp-form-1 input[type=submit]:hover {
    background: #FED07D;
}

.category #left-area {
    width: 100%;
}

.category #sidebar {
    display: none;
}

.category #left-area .et_pb_post {
    width: 31.3%;
    margin-right: 3% !important;
}

.category #left-area .et_pb_post:nth-child(3n + 3) {
    margin-right: 0 !important;
}

#left-area .post-meta a {
    color: #fff;
}

#comment-wrap {
    padding: 20px 0;
}

#comment-wrap h1 {
    font-size: 23px;
}

#comment-wrap .et_pb_button {
    background: #dab065 !important;
    color: #1B3564 !important;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    border: 0;
    box-shadow: none;
    padding: 12px 15px;
    min-width: 100px;
    text-align: center;
}

#comment-wrap .et_pb_button::after {
    display: none;
}

.et_pb_post h2 {
    margin-top: 17px;
}

.home .entry-featured-image-url {
    width: 30%;
    float: left;
    padding: 20px !important;
}

.home .post-meta {
    float: left;
    width: 70%;
    display: block;
    padding: 0;
}

.et_pb_posts a.more-link {
    clear: inherit;
}

.et_pb_post {

    background-color: #f1f1f1;
}

.related_post {
    background-color: #f1f1f1;
}

#commentform textarea {
    background-color: #fff;
}

#footer-widgets {
    padding: 0;
}

.footer-widget {
    margin: 0 !important;
    width: 100% !important;
    text-align: center !important;
}

#main-footer {
    background: #d7d7d5;
}

.et-social-google-plus a.icon:before {
    content: "\e09a";
}

.et-social-rss a.icon:before {
    content: "\e0a3";
}

.et_pb_post .post-meta {
    font-size: 17px !important;
}

p {
    font-size: 16px;
}

#main-footer .et_pb_widget {
    float: none;
}

/* ESSENTIAL GRID CHANGES */

#esg_search_wrapper .esg_big_search_close {
    right: 0;
}

#esg_search_wrapper .esg_searchcontainer {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 0;
}

.esg-bottom:first-child a:first-child {
}

/* TOP NAV FROM OLD SITE */

.top-nav-pic {
    text-align: center;
}

.top-nav-body img {
}

.top-nav-1 a .top-nav-button,
.top-nav-2 a .top-nav-button,
.top-nav-3 a .top-nav-button,
.top-nav-4 a .top-nav-button {
    padding: 10px 15px;
    font-family: 'Open Sans', sans-serif;
    margin-top: 0;
    color: #fff;
    width: 100%;
    text-align: center;
    float: left;
    line-height: 39px;
    font-weight: 300;
    font-size: 18px;
    background-color: #1c3664;
    -webkit-transition: 400ms;
    -moz-transition: 400ms;
    -o-transition: 400ms;
    transition: 400ms;
}

.top-nav-1 a:hover .top-nav-button,
.top-nav-2 a:hover .top-nav-button,
.top-nav-3 a:hover .top-nav-button,
.top-nav-4 a:hover .top-nav-button {
    background-color: #3299cc !important;
}

.top-nav-1 a.active-link .top-nav-button,
.top-nav-2 a.active-link .top-nav-button,
.top-nav-3 a.active-link .top-nav-button,
.top-nav-4 a.active-link .top-nav-button {
    background-color: #3299cc;

}

.category-448 .top-nav-button,
.category-449 .top-nav-button,
.category-450 .top-nav-button,
.category-451 .top-nav-button {
    background-color: #1c3664 !important;
}

.category-448 .top-nav-1 .top-nav-button,
.category-449 .top-nav-2 .top-nav-button,
.category-450 .top-nav-3 .top-nav-button,
.category-451 .top-nav-4 .top-nav-button {
    background-color: #3299cc !important;
}

.top-nav-1 a img,
.top-nav-2 a img,
.top-nav-3 a img,
.top-nav-4 a img {
    -webkit-transition: 200ms;
    -moz-transition: 200ms;
    -o-transition: 200ms;
    transition: 200ms;
    float: right;
    max-width: 40px;
}

.top-nav-1 a:hover img,
.top-nav-2 a:hover img,
.top-nav-3 a:hover img,
.top-nav-4 a:hover img,
.top-nav-1 a.active-link img,
.top-nav-2 a.active-link img,
.top-nav-3 a.active-link img,
.top-nav-4 a.active-link img {
    -webkit-filter: drop-shadow(1px 1px 0 #2c99ce) drop-shadow(-1px 0 0 #2c99ce) drop-shadow(1px -1px 0 #2c99ce) drop-shadow(-1px 0 0 #2c99ce);
    filter: drop-shadow(1px 1px 0 #2c99ce) drop-shadow(-1px 0 0 #2c99ce) drop-shadow(1px -1px 0 #2c99ce) drop-shadow(-1px 0 0 #2c99ce);
}

.top-nav-body {
    max-width: 1280px;
    padding: 0 20px;
    margin: 0 auto;
    text-align: justify;
    -ms-text-justify: distribute-all-lines;
    text-justify: distribute-all-lines;
}

.stretch {
    width: 100%;
    display: inline-block;
    font-size: 0;
    line-height: 0;
}

.top-nav-container {
    width: 100%;
    text-align: center;
    padding: 25px 0 0;
    background-color: #eee;
    float: left;
}

.top-nav-1,
.top-nav-2,
.top-nav-3,
.top-nav-4 {
    width: 22%;
    display: inline-block;
}

.top-nav-container .nav a span {
    padding: 20px 30px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-size: 18px;
}

.top-nav-container .nav li {
    width: 20%;
}

.et-social-icons li {
    float: right;
}

#custom_html-3 .textwidget,
#custom_html-4 .textwidget {
    text-align: center;
}

/* Mobile Design */

@media (max-width: 1660px) {
    .footer-i .wrap {
        max-width: 1280px;
    }
}

@media (max-width: 1600px) {
    .et_pb_widget .search-form input[type=search] {
    }

    .et_pb_widget .search-form input[type=submit] {
        width: 25%;
    }
}

@media (max-width: 1500px) {
    .big-social {
        width: 25%;
    }

    .singlePostTitle {
        width: 70%;
    }
}

@media (max-width: 1400px) {
    #text-2 .textwidget {
        font-size: 12px;
    }
}

@media (max-width: 1200px) {
    #left-area {
        width: 65%;
    }

    #sidebar {
        width: 35% !important;
    }

    .big-social {
        width: 30%;
    }

    .singlePostTitle {
        width: 60%;
    }

    .et_pb_widget .search-form input[type=search] {
    }
}

@media (max-width: 1050px) {
    .et_pb_widget .search-form input[type=search] {
    }
}

@media (max-width: 1025px) {
    .big-social {
        width: auto;
        float: left;
    }

    .fbPopup {
        right: -220px;
    }

    .singlePostTitle {
        width: 100%;
    }
}

@media (max-width: 981px) {
    .mc4wp-form-fields {
        margin: 0 auto;
    }

    .fb_iframe_widget {
        display: block !important;
    }

    .fb_iframe_widget > span {
        margin: 0 auto;
    }

    #sidebar ul.related_post li {
        width: 48% !important;
        margin-right: 4% !important;
    }

    #sidebar ul.related_post li:nth-child(2n) {
        margin-right: 0 !important;
    }

    #sidebar {
        display: inline-block;
        width: 100% !important;
    }

    .et_pb_widget .search-form input[type=search] {
        width: 200px;
    }

    #text-2 .textwidget {
        font-size: 15px;
    }

    .top-nav-1,
    .top-nav-2,
    .top-nav-3,
    .top-nav-4 {
        width: 49%;
    }

    #sidebar .et_pb_widget.adSpace1,
    #sidebar .et_pb_widget.adSpace2 {
        float: left;
        width: 48%;
    }

    #sidebar .et_pb_widget.adSpace1 {
        margin-right: 4%;
    }
}

@media (max-width: 950px) {
    .footerNewMenu {
        width: 100%;
        padding: 0 0 30px 0;
    }
}

@media (max-width: 800px) {
    .entry-content {
        padding: 0;
    }

    .et_pb_row,
    .single-post .container {
        width: 90%;
    }

    .et_pb_post .entry-content {
        padding: 20px 20px 60px;
    }

    .topBlog .post-content,
    .topBlog a.entry-featured-image-url {
        padding: 25px 20px;
    }

    .topBlog .entry-title-featured {
        padding: 20px 20px;
    }

    .et_pb_post .post-meta {
        font-size: 16px !important;
    }
}

@media (max-width: 650px) {
    .mc-form-wrap {
        padding: 7em 3em;
    }

    .mc-form-wrap div#mc_embed_signup h2 {
        font-size: 22px;
    }

    .mc-form-wrap h2 {
        font-size: 31px;
    }

    .mc-form-wrap input#mc-embedded-subscribe {
        font-size: 18px;
    }

    .mc-form-wrap input#mce-EMAIL {
        font-size: 15px;
    }

    #sidebar .et_pb_widget.adSpace1,
    #sidebar .et_pb_widget.adSpace2 {
        width: 100%;
        margin: 0;
    }

    #sidebar .et_pb_widget.adSpace1 .textwidget,
    #sidebar .et_pb_widget.adSpace2 .textwidget {
        text-align: center;
    }

    .topBlog .entry-title-featured a,
    .singlePostTitle .entry-title {
        font-size: 16px;
    }

    .topBlog .entry-title-featured {
        line-height: 0.8em;
    }

    .footer-i .search-form {
        float: none !important;
        margin: 0 auto;
        max-width: 250px;
    }

    .logo-holder {
        float: none !important;
        margin: 0 auto;
        max-width: 200px;
        padding: 18px 0 0 0 !important;
    }

    .footerNewMenu {
        float: none !important;
        margin: 0 auto;
        text-align: center;
        padding: 30px 0 30px 0 !important;
        padding-top: 0 !important;
    }

    .et-social-icons li {
        float: none;
    }

    .et_pb_post .post-meta {
        font-size: 15px !important;
    }
}

@media (max-width: 480px) {
    .mc-form-wrap h2 {
        font-size: 22px;
    }

    #sidebar ul.related_post li a {
        width: 100%;
    }

    #sidebar ul.related_post li {
        width: 100% !important;
        margin-right: 0 !important;
    }

    p {
        font-size: 15px;
    }

    .et_post_meta_wrapper {
        padding: 20px;
    }

    .single .et_pb_post .postContainer {
        padding: 0 20px;
    }

    .big-social li {
        margin: 0;
    }

    .footerNewMenu {
        line-height: 27px !important;
    }

    .top-nav-1,
    .top-nav-2,
    .top-nav-3,
    .top-nav-4 {
        width: 100%;
    }

    .et_pb_post .post-meta {
        font-size: 14px !important;
    }
}

@media (max-width: 400px) {
    .logo-wrap {
        height: 100px;
    }

    .fbPopup {
        -ms-transform: scale(0.84);
        /* IE 9 */
        -webkit-transform: scale(0.84);
        /* Chrome, Safari, Opera */
        transform: scale(0.84);
        top: 19px;
        right: -150px;
    }
}

@media (max-width: 300px) {
    .logo-wrap {
        height: 70px;
    }
}


.single-post .et_pb_section {
    padding: 0;
}

.ad-module {
    float: left;
    width: 100%;
}

.ad-module-image,
.ad-module-title,
.ad-module-text {
    width: 450px;
    float: left;
    clear: both;
}

.ad-module-title {
    font-weight: 700;
    font-size: 18px;
}

.ad-module-title {
    padding: 15px 20px;
    background-color: #3299cc;
    color: #fff;
    border-bottom: 3px solid #fff;
}

.ad-module-title a {
    color: #fff;
}

.ad-module-text {
    padding: 15px 20px;
    background-color: #eee;
    border-bottom: 3px solid #1d3664;
}

.ad-module-image img {
    float: left;
}

.search-form-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.search-form-container form {
    width: 450px;
    max-width: 100%;
}

.search-form-container .global-search-header {
    padding: calc(0.667em + 2px) calc(1.333em + 2px);
    height: auto;
    line-height: inherit;
    margin: 0;
    font-size: inherit;
    width: 100%;
    border: 0;
}

.search-form-container .button-subscribe {
    background-color: #1c3664;
    color: #fff;
    border-radius: 0;
    padding: calc(0.667em + 2px) calc(1.333em + 2px);
}