body {
    padding: 60px 0 0 0 !important;
    margin: 0 !important;
    font-family: 'Roboto', sans-serif;
}


/* IMP: Below CSS is used to give a top margin to any #fragment in a URL that is clicked. So it applies only to element whose id is in the current URL in the address bar.  https://developer.mozilla.org/en-US/docs/Web/CSS/:target */

*:target::before {
    content: "";
    display: block;
    padding-top: 80px;
}

.blog-container {
    /* width: 100%; */
    height: 100%;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    margin-bottom: 100px;
}

.blog-container * {
    box-sizing: border-box;
}

.blog-article-container,
.socialcontainer {
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
    background-color: white;
}

.blog-link {
    text-decoration: none;
    width: 80%;
    max-width: 600px;
    margin: 15px;
}

.blog-card {
    width: 100%;
}

.blog-subscribe-card {
    width: 90%;
    margin: 50px auto;
    max-width: 1000px;
    background-color: #ffd740;
}

.blog-subscribe-card form * {
    margin: 0 auto;
}

.blog-card img {
    max-height: 300px;
}


/* Articles */

.blog-article-container {
    /* width: 100%;
    max-width: 800px;
    margin: 0 auto; */
    /* height: 100%; */
    padding: 20px;
    box-sizing: border-box;
}

.blog-article-container * {
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

.blog-article-container h2 {
    margin-top: 50px;
}

.blog-article-container img {
    display: block;
    height: auto;
    max-width: 100%;
    margin: 30px auto;
}

.article-title {
    font-size: 2em;
    font-weight: 700;
    color: #673ab7;
}

h2.article-sub-title {
    color: #673ab7;
}

.article-punch-line {
    font-size: 1.5em;
    font-style: italic;
    color: #673ab7;
    width: 80%;
    margin: 30px auto;
}

.article-text,
.blog-article li {
    font-weight: 400;
    font-style: normal;
    font-size: 21px;
    line-height: 1.58;
    letter-spacing: -.003em;
}

.article-text,
.blog-article p {
    font-weight: 400;
    font-style: normal;
    font-size: 21px;
    line-height: 1.58;
    letter-spacing: -.003em;
}

.article-footnotes {
    font-size: 0.75em;
    font-style: italic;
}

.first-letter-big {
    font-weight: bold;
    font-size: x-large;
    color: #673ab7;
}

.links-in-blog {
    color: #696969;
    -webkit-text-decoration-color: #ffd740;
    text-decoration-color: #ffd740;
}

.small-blog-image {
    max-width: 350px !important;
    width: 100%;
}

.blog-form {
    min-width: 150px;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.blog-full-width {
    width: 100%;
}

.blog-form button {
    display: block;
}

.printOnlyHeading {
    display: none;
}

.related-articles {
    border: 2px solid #ffd740;
    padding: 5px;
    /* max-width: 800px; */
    width: 100%;
    margin: auto;
    overflow-x: auto;
}

.related-articles-heading {
    margin: 0 auto 10px auto;
    font-weight: bold;
    text-align: center;
    color: #545454;
}

.newsletter-thanks {
    color: green;
}

.centerize {
    text-align: center;
    margin: 0 auto;
    width: 100%;
}


/* New Social Buttons CSS Below:   */


/* This same CSS between the =========== lines below for the socialcontainer needs to be repeated in the dz-blog-styles.css file in /blog folder as well as the styles.scss files . */


/* ==================== */

.socialcontainer {
    width: 100%;
}

.socialcontainer p {
    text-align: center;
}

.socialsharecontainer,
.socialfollowcontainer {
    margin: 20px auto;
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.socialbutton {
    margin: 0 10px !important;
    background-color: inherit !important;
}

.social-button {
    position: relative;
    height: 20px;
    box-sizing: border-box;
    padding: 1px 8px 1px 6px;
    background-color: #1b95e0;
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
}

.socialbutton span {
    padding: 0 !important;
}

.socialbuttonimage {
    width: 50px;
    height: 50px;
}

.socialfollowcontainer {
    width: 98%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.socialfollowcontainer>* {
    margin: 0 10px 10px 0 !important;
    box-shadow: 0 7px 8px -4px rgba(0, 0, 0, .2), 0 12px 17px 2px rgba(0, 0, 0, .14), 0 5px 22px 4px rgba(0, 0, 0, .12);
}

.socialcontainer h3 {
    color: #673ab7;
    text-align: center;
}

.twitter-follow-button,
.twitter-share-button {
    position: relative;
    height: 20px;
    box-sizing: border-box;
    background-color: #1da1f2;
    color: #fff !important;
    border-radius: 3px;
    font-size: small;
    cursor: pointer;
    text-decoration: none;
}

.twitter-follow-button i {
    position: relative;
    top: 2px;
    display: inline-block;
    width: 14px;
    height: 14px;
    background: transparent 0 0 no-repeat;
    background-image: url("./assets/images/Twitter_Logo_WhiteOnBlue.svg");
}

.fb-like {
    margin: 0 20px;
}


/* ==================== */


/* Header */

.blog-header {
    position: fixed;
    top: 0;
    display: flex;
    flex-direction: row;
    height: 60px;
    width: 100%;
    background-color: #673ab7;
}

.blog-header * {
    color: white;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
}

.logo-link {
    /* background-image: url("../assets/images/DZ-LOGO.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center; */
    min-width: 100px;
    width: 12vh;
    height: 50px;
    margin: 5px 15px;
}

.blog-logo-img {
    height: 100%;
}

.link-no-underline {
    text-decoration: none !important;
}

.blog-header nav {
    width: 95%;
    margin: auto;
}


/* =======CSS for Blog header Dropdown menu below ==== from https://www.w3schools.com/css/tryit.asp?filename=trycss_dropdown_button =========== */

.dropbtn {
    background-color: inherit;
    padding: 16px;
    border: none;
    cursor: pointer;
    text-decoration: underline;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.blogheader-dropdown-content {
    display: none;
    position: absolute;
    top: 34px;
    background-color: #673ab7;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.blogheader-dropdown-content a {
    padding: 12px 16px;
    display: block;
    width: 150px;
}

.blogheader-dropdown-content a:hover {
    border: 1px solid #ffd740;
}

.dropdown:hover .blogheader-dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    border: 1px solid #ffd740;
}


/* =============== */

.blog-header-ul {
    padding: 0px !important;
    display: flex;
    justify-content: space-around;
    list-style: none;
    margin: 0 auto;
    align-items: center;
}

.blog-header-ul li {
    margin-right: 10px;
}

.not-clickable {
    cursor: default;
}

.article-index {
    padding: 20px;
    background-color: #ffd740;
    max-width: 400px;
    width: 90%;
    max-height: 600px;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 15px;
    margin: 30px 0 30px 30px;
    float: right;
}

.article-index-title {
    font-size: 16px;
    font-weight: bold;
    color: darkslategray;
}

.article-index-list {
    overflow-y: auto;
    width: 100%;
    flex-grow: 1;
    list-style-type: none;
}

.article-index-item {
    width: 100%;
    font-size: 16px !important;
}

.article-index-link {
    text-decoration: none;
    color: #673ab7;
}

.article-list {}

.article-list-item {
    margin: 20px 0;
}


/* Footer */

.blog-footer {
    min-height: 100px;
    width: 100%;
}

.blog-footer {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.blog-footer a,
.blog-footer .footer-text {
    text-decoration: none;
    color: #403f3f;
    font-size: 12px;
    padding: 8px 0;
}

.blog-cta-container {
    border-top: 1px solid lightgray;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
}

.blog-cta-link {
    font-size: 30px;
    font-weight: bold;
    padding: 20px;
    text-decoration: none;
    border-radius: 15px;
    margin-bottom: 20px;
}

.blog-freetrial-cta {
    background-color: #673ab7;
    color: #ffd740;
}

.blog-demo-cta {
    background-color: #ffd740;
    color: #673ab7;
}


/* ----------------Media Queries------------ */

@media (max-width: 500px) {
    .hide-in-small {
        display: none;
    }
    .blog-header-ul li {
        font-size: 12px;
    }
    .dropbtn {
        padding: 0;
    }
}

@media (max-width: 800px) {
    .article-index {
        margin: auto;
        float: inherit;
    }
}

.blog-faq-section {
    padding: 20px;
}

.blog-article-info {
    font-size: small !important;
    color: #545454;
    margin: 5px auto;
    text-align: right;
}

.article-newsletter-signup {
    padding: 20px;
    background-color: #ffd740;
    min-height: 250px;
    max-width: 800px;
    width: 90%;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
    margin: auto;
    border-radius: 15px;
    color: #545454;
}

.signup-header {
    font-size: large;
    font-weight: bold;
}

.signup-button {
    background-color: #673ab7;
    border-radius: 15px;
    width: 250px;
    height: 50px;
    font-size: large;
    color: white;
    font-weight: bold;
    cursor: pointer;
    border: none;
}

.article-Carousel {
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    align-items: center;
    margin: auto;
    overflow-x: auto;
    height: 200px;
}

.article-tile {
    width: 185px;
    min-width: 185px;
    height: 170px;
    box-sizing: border-box;
    margin: 0 5px;
}

.article-tile-heading {
    text-decoration: none;
    display: block;
    height: 70px;
    margin-top: 5px;
    text-align: center;
}

.article-tile img {
    height: 100px;
    margin: 0 auto !important;
    display: block;
}

.article-faq-ques {
    color: #673ab7;
    margin-top: 40px;
}

.signuplink {
    color: #ffd740;
}


/* Footer css */

#footer {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    background-color: #ffd740;
}

#footer a,
#footer .footer-text {
    text-decoration: none;
    color: #403f3f;
    font-size: 12px;
    padding: 8px 0;
}

.footer-tray {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer-section {
    padding: 10px;
    min-width: 160px;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-direction: column;
}

.footer-section-heading {
    margin: 5px 0;
    color: #673ab7;
    text-align: start;
}

.footer-section-item {
    margin: 5px 0;
}

@media (max-width: 500px) {
    .footer-section {
        align-items: center;
        min-width: 140px;
    }
    .footer-section-heading {
        text-align: center;
    }
    .footer-section-item {
        text-align: center;
    }
}