/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    -webkit-animation-name: fadeIn; /* Fade in the background */
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s;
}

.modal-header {
    margin-bottom: 40px;
    padding: 25px 15px;
}

.modal-header h2 {
    text-transform: none;
    text-align: center;
    font-weight: 600;
}

/* Modal Content */
.modal-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #fefefe;
    width: 46%;
    overflow: auto; /* Enable scroll if needed */
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 0.4s;
    animation-name: slideIn;
    animation-duration: 0.4s;
    padding-bottom: 40px;
}

/* The Close Button */
.close {
    position: absolute;
    color: #A3AFC7;
    float: right;
    font-size: 28px;
    font-weight: normal;
    right: 15px;
    top: 10px;
}

.close:hover,
.close:focus {
    color: #6F7C95;
    text-decoration: none;
    cursor: pointer;
}

.modal-body {padding: 2px 16px;}

.modal-content .getintouch-form{
    margin: 0 auto; 
}

.modal-content.hubspot-form-container .hbspt-form .hs-form{
    padding: 0 20px;    
}

.modal-content.hubspot-form-container .hs-form-field{
    width: 100%!important;
}


/* Add Animation */
@-webkit-keyframes slideIn {
    from {right: -300px; opacity: 0}
    to {right: 0; opacity: 1}
}

@keyframes slideIn {
    from {right: -300px; opacity: 0}
    to {right: 0; opacity: 1}
}

@-webkit-keyframes fadeIn {
    from {opacity: 0}
    to {opacity: 1}
}

@keyframes fadeIn {
    from {opacity: 0}
    to {opacity: 1}
}





.full-width {
    width: 100% !important;
}

.posts .single h1 {
    font-size: 36px;
    line-height: 1.3;
    color: #000000;
    font-weight: 300;
    margin-top: 0;
    margin-bottom: 30px;
    text-transform: capitalize;
}

.posts .single h2 {
    font-size: 30px;
    line-height: 1.3;
    color: #000000;
    font-weight: 400;
    margin-bottom: 30px;
    text-transform: capitalize;
}

.posts .single h3 {
    font-size: 24px;
    line-height: 1.3;
    color: #000000;
    font-weight: 400;
    margin-bottom: 20px;
    text-transform: none;
}

.posts .single p {
    font-size: 18px;
    line-height: 1.5;
    color: #3e485b;
    padding-bottom: 20px    ;
}

.posts .single p strong {
    font-weight: 700;
}

.posts .single h4 {
    font-size: 18px;
    line-height: 1.3;
    color: #000000;
    font-weight: 400;
    margin-bottom: 10px;
    text-transform: none;
}

.posts .single ul,
.posts .single li,
.posts .single li span,
.posts .single p span {
    font-size: 18px;
}

.posts .single ul {
    margin-bottom: 30px;
    list-style: unset;
}

.posts .single li {
    margin-bottom: 10px;
    margin-left: 40px;
    line-height: 1.5;
    color: #3e485b;
    font-weight: 300;
}

.single-view-top-wrap {
    margin-top: 50px;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid #eee;
}

.single-view-bottom-wrap {
    padding-bottom: 50px;
    border-bottom: 1px solid #eee;
}

.single-view-top-wrapper,
.single-view-bottom-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.detail-content-wrapper {
    flex: 3;
    margin-right: 60px;
}

.side-links-wrapper {
    flex: 1;
}

.about-author-wrapper {
    margin-top: 100px;
}

.single-view-left-content,
.single-view-img-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.single-view-img-wrapper {
    position: relative;
}

.single-view-left-content {
    margin-right: 50px;
}

.single .single-view-left-content h1 {
    text-align: left;
    font-size: 36px;
    line-height: 1.3;
    color: #000000;
    font-weight: 400;
    text-transform: capitalize;
    flex-grow: 1;
}

.cat-blk {
    margin-top: 15px;
}

.cat-blk ul {
    margin-bottom: 0 !important;
}

.cat-blk ul li {
    display: inline-block;
    font-size: 14px;
    border-right: 1px solid #0b4dcc;
    padding: 0px 10px;
    margin-bottom: 10px;
    margin-left: 0 !important;
    color: #0b4dcc;
}

.cat-blk ul li:first-child {
    padding-left: 0;
}

.cat-blk ul li:last-child {
    padding-right: 0;
    border-right: none;
}

.single-view-img-wrapper div {
    border-radius: 10px;
    background: #ffffff;
    /*border: 1px solid #e2e9f8;*/
    overflow: hidden;
    position: relative;
    padding-bottom: calc(100% * 50 / 91);
}

.single-view-img-wrapper img {
    height: 100%;
    width: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    right: 0;
    -webkit-transform: translate(-50%,0);
    -moz-transform: translate(-50%,0);
    -ms-transform: translate(-50%,0);
    -o-transform: translate(-50%,0);
    transform: translate(-50%,0);
}

.author-content-wrapper {
    display: flex;
    flex-direction: row;
    color: #6f7c95;
    font-size: 14px;
}

.author-content,
.date-content {
    flex: 1;
}

.author-content {
    display: flex;
    flex-direction: row;
}

.author-details {
    flex: 1;
    display: flex;
    align-items: center;
}

.author-content .author-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    margin-right: 10px;
    border: 1px solid #eee;
}

.date-content {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-author-wrapper .author-pic {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.single .about-author-wrapper h4 {
    font-weight: 700;
    padding-bottom: 50px;
}

.author-bio {
    width: 70%;
}

.tag-wrapper {
    margin-top: 100px;
}

.posts .single .tag-wrapper ul li {
    display: inline-block;
    background: #f1f5fd;
    font-size: 12px;
    color: #6f7c95;
    padding: 10px;
    border-radius: 5px;
    margin: 0px 10px;
}

.posts .single .tag-wrapper ul li:first-child {
    background: none;
    font-size: 18px;
    color: #000000;
    padding: 0;
    margin-left: 0;
}

.editors-pick,
.related-articles,
.signup-block,
.download-block {
    width: 100%;
    border-radius: 5px;
    border: 1px solid #efefef;
    margin-bottom: 50px;
}

.list-content{
    padding: 20px;
}

.list-item{
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}
.list-item .b-content {
    width: 90%;
}
.list-item a {
    color: #3e485b;
    display: -webkit-box;
    box-orient: vertical;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.25;
    line-clamp: 2;
    -webkit-line-clamp: 2;
}

.list-item a:hover {
    color: #0b4dcc;
}

.list-item img{
    margin-right: 20px;
}

.signup-block {
    padding: 30px;
}

.signup-title {
    font-size: 18px;
    font-weight: 700;
    color: #fc4b38;
    margin-bottom: 30px;
}

.signup-block input{
    margin: 10px 0px;
    padding: 15px;
    border-radius: 5px;
    outline: none;
    outline-style: none;
    width: 100%;
    border: solid 1px #6f7c95;
}

.download-image img {
    border-radius: 10px;
}

.download-content {
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 16px;
    color: #3e485b;
}

.related-articles a {
    font-size: 14px;
    color: #6f7c95;
}

.related-articles a:hover {
    color: #0b4dcc;
}

.title{
    padding: 30px 20px;
    background-color: #e2e9f8;
    color: #3e485b;
    font-weight: bold;

}

.related-articles-wrapper {
    background: #f1f5fd;
    padding-top: 100px;
    padding-bottom: 100px;
}

.related-articles-block {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.related-articles-container {
    width: calc(1/3*100% - (1 - 1/3)*50px);
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    border: 1px solid #e2e9f8;
    background: #ffffff;
    position: relative;
}

.related-articles-container:hover {
    box-shadow: 0 30px 60px 0 rgba(11, 77, 204, 0.2);
}

.related-articles-img {
    /*height: 230px;*/
    overflow: hidden;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    text-align: center;
    background: #e2e9f8;
    padding-bottom: calc(100% * 50 / 91);
    position: relative;
}

.related-articles-img img {
    width: auto;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
	right: 0;
	-webkit-transform: translate(-50%,0);
    -moz-transform: translate(-50%,0);
    -ms-transform: translate(-50%,0);
    -o-transform: translate(-50%,0);
    transform: translate(-50%,0);
}

.related-articles-heading {
    text-align: center;
    font-size: 26px;
    margin-bottom: 50px;
}

.related-articles-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.posts .single .related-articles-category ul {
    margin-bottom: 0;
    font-size: 12px;
}

.tile4{
    padding: 100px 0 50px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}
.posts .single .tile4 h3{
    font-size: 36px;
    font-weight: 300;
    line-height: 1.33;
}
.tile4 p{
    font-size: 18px;
    font-weight: 300;
    line-height: 1.67;
    color: #3e485b;
    margin: 20px 0;
}
.tile4 input{
    margin-bottom: 30px;
    padding: 20px 15px;
    border-radius: 5px;
    outline: none;
    outline-style: none;
    width: 350px;
    border: solid 1px #6f7c95;
}

.tile4 input::placeholder {
    text-align: center;
}

.tile4 input:-ms-input-placeholder {
    text-align: center;
}

.related-articles-category {
    height: 45px;
}

.posts .single .related-articles-category ul li {
    display: inline-block;
    font-size: 12px;
    border-right: 1px solid #0b4dcc;
    padding: 0px 10px;
    margin-bottom: 0px;
    margin-left: 0;
    color: #0b4dcc;
}

.posts .single .related-articles-category ul li:first-child {
    padding-left: 0;
}

.posts .single .related-articles-category ul li:last-child {
    padding-right: 0;
    border-right: none;
}

.related-articles-title {
    /*font-size: 18px;
    margin-bottom: 40px;
    min-height: 100px;
    font-weight: 700;
    color: #3e485b;
    flex-grow: 1;*/
    display: -webkit-box;
    font-size: 18px;
    font-weight: 600;
    color: #3e485b;
    height: 3em;
    line-height: 1.5;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 40px;
}

.related-articles-bottom-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.related-articles-author,
.related-articles-readtime {
    color: #a3afc7;
    font-size: 13px;
}

.social-media-block {
    display: flex;
    flex-direction: column;
}

.share-icons {
    display: flex;
    flex-direction: row;
}

.share-heading {
    font-size: 18px;
    color: #3e485b;
    font-weight: 700;
}

.media-icons {
    width: 40px;
    margin-right: 30px;
    margin-top: 30px;
    margin-bottom: 50px;
    cursor: pointer;
}

.hbspt-form .hs-form .hs_email label,
.hbspt-form .hs-form .input {
    text-align: center;
}

.signup-block .hbspt-form .hs-form, .hs-form {
    max-width: 100%;
}

.blog .single .hbspt-form .hs-form label {
    font-family: 'Poppins', sans-serif;
    font-size: 14px !important;
}

.blog .single .hbspt-form .hs-form span {
    font-family: 'Poppins', sans-serif;
    font-size: 16px !important;
    color: #3e485b;
    padding-left: 20px;
}

.blog .single .hbspt-form .hs-form input[type="email"] {
    font-family: 'Poppins', sans-serif;
    height: 50px;
    background-color: #ffffff;
    text-align: center;
    border: solid 1px #6f7c95;
    color: #3e485b;
}

.blog .single .hbspt-form .hs-form .legal-consent-container p {
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px !important;
    line-height: 22px;
}

.blog .single .hbspt-form .hs-form li {
    margin-left: 0 !important;
}

.blog .single input[type="checkbox"]{
    position: absolute;
    opacity: 1;
    left: 0;
    width: 0;
}

.blog .single input[type="checkbox"]:before {
    content: '';
    display: inline-block;
    vertical-align: text-top;
    width: 30px;
    height: 30px;
    background: #ffffff;
    border: 1px solid #a3afc7;
    position: absolute;
    left: 0px;
    top: -2px;
}

.blog .single input[type="checkbox"]:checked:before{
    background: #1f67f3;
    border: 1px solid #1f67f3;
}

.blog .single input[type="checkbox"]:checked:after {
    content: '';
    position: absolute;
    left: 9px;
    top: 12px;
    background: white;
    width: 2px;
    height: 2px;
    box-shadow:
            2px 0 0 white,
            4px 0 0 white,
            4px -2px 0 white,
            4px -4px 0 white,
            4px -6px 0 white,
            4px -8px 0 white;
    transform: rotate(45deg);
}

.blog .single .hbspt-form .hs-form.stacked .hs-form-field .hs-error-msgs {
    position: relative;
}

.blog .single .cookie-reset-container {
    text-align: left;
}

.blog .single .cookie-reset-container span {
    padding-left: 0 !important;
}

.blog .single .hs-richtext {
    margin-top: -30px;
}

.blog .single .actions {
    display: flex;
}

.blog .single .hbspt-form .hs-form input[type="submit"] {
    background: #1f67f3 none repeat scroll 0 0;
    border-radius: 25px;
    padding: 12px 20px;
    width: auto;
    font-size: 14px;
}

.hs-error-msgs li {
    text-align: center;
}

.hbspt-form .hs-form .hs-error-msgs li label {
    color: #FF3B31 !important;
}

.blog .single .signup-block .hbspt-form .hs-form span,
.blog .single .signup-block .hbspt-form .hs-form .legal-consent-container p,
.blog .single .signup-block .hbspt-form .hs-form input[type="email"] {
    font-size: 14px !important;
}

.signup-block .hbspt-form .hs-form .hs_email label,
.signup-block .hbspt-form .hs-form .input,
.blog .single .signup-block .hbspt-form .hs-form input[type="email"] {
    text-align: left;
}

.blog .single .hbspt-form .hs-form .hs_email span {
    padding-left: 0;
}

.blog .single .signup-block .actions {
    display: unset;
}

.blog .single .hbspt-form .hs-submit {
    margin: 0px auto 0 !important;
}

.blog .single .signup-block .hbspt-form .hs-form.stacked .hs-form-field label {
    text-align: left;
}

@media (max-width: 1400px) {
    .related-articles-content {
        padding: 20px;
    }
}

@media (max-width: 1200px) {
    .outer-padding {
        padding-left: 40px;
        padding-right: 40px;
    }

    .detail-content-wrapper {
        flex: 2;
    }

    .single .single-view-left-content h1 {
        font-size: 32px;
    }
}

@media (max-width: 1024px) and (min-width: 768px) {
    .single-view-bottom-wrapper.max1170 {
        max-width: 100%;
        margin: 0 auto;
    }
    .single-view-bottom-wrapper.outer-padding {
        padding-left: 0px;
        padding-right: 0px;
    }
    .posts .single ul, .posts .single li, .posts .single li span, .posts .single p span,
    .posts .single .tag-wrapper ul li:first-child,
    .posts .single p {
        font-size: 16px;
    }

    .single-view-top-wrap {
        margin-top: 0;
        margin-bottom: 0;
        border: none;
    }

    .single-view-top-wrapper,
    .single-view-bottom-wrapper {
        flex-direction: column-reverse;
    }

    .side-links-wrapper,
    .detail-content-wrapper {
        max-width: 1170px;
        padding-left: 40px;
        padding-right: 40px;
    }

    .side-links-wrapper {
        border-bottom: 1px solid #eeeeee;
        margin-bottom: 50px;
    }

    .single-view-left-content,
    .detail-content-wrapper {
        margin-right: 0;
    }

    .single-view-img-wrapper {
        margin-bottom: 15px;
    }

    .single .single-view-left-content h1 {
        font-size: 24px;
    }

    .author-content-wrapper {
        margin-top: 20px;
    }

    .tag-wrapper,
    .about-author-wrapper {
        margin-top: 50px;
    }

    .author-bio {
        width: 100%;
        padding-bottom: 30px;
    }

    .related-articles-wrapper {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .related-articles-container {
        width: 70%;
        margin-bottom: 40px;
    }

    .related-articles-container:last-child {
        margin-bottom: 0;
    }

    .related-articles-block {
        flex-direction: column;
        align-items: center;
    }

    .related-articles-img {
        /*height: auto;*/
    }

    .related-articles-title {
        min-height: auto;
    }

    .tile4 {
        width: 90%;
        margin: 0 auto;
    }

    .posts .single .tile4 h3 {
        font-size: 28px;
    }

    .tile4 p {
        text-align: center;
    }

    .tab-hide {
        display: none;
    }

    .blog .single .hbspt-form .hs-form, .hs-form {
        max-width: 70%;
    }
}

@media (max-width: 767px) {
    .single-view-bottom-wrapper.max1170 {
        max-width: 100%;
        margin: 0 auto;
    }
    .single-view-bottom-wrapper.outer-padding {
        padding-left: 0px;
        padding-right: 0px;
    }
    .posts .single ul, .posts .single li, .posts .single li span, .posts .single p span,
    .posts .single .tag-wrapper ul li:first-child,
    .posts .single p {
        font-size: 16px;
    }

    .posts .single li {
        margin-left: 10px;
    }

    .outer-padding {
        padding-left: 20px;
        padding-right: 20px;
    }

    .single-view-top-wrap {
        margin-top: 50px;
        margin-bottom: 0px;
        padding-bottom: 30px;
        border: none;
    }

    .single-view-top-wrapper,
    .single-view-bottom-wrapper {
        flex-direction: column-reverse;
    }

    .single-view-bottom-wrap {
        padding-bottom: 30px;
    }

    .side-links-wrapper,
    .detail-content-wrapper {
        max-width: 1170px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .side-links-wrapper {
        border-bottom: 1px solid #eeeeee;
        margin-bottom: 30px;
    }

    .single-view-left-content,
    .detail-content-wrapper {
        margin-right: 0;
    }

    .posts .single .cat-blk li {
        font-size: 12px;
    }

    .single .single-view-left-content h1 {
        font-size: 18px;
    }

    .author-content,
    .author-content-wrapper {
        flex-direction: column;
    }

    .date-content {
        margin-top: 20px;
        text-align: left;
    }

    .tag-wrapper,
    .about-author-wrapper {
        margin-top: 30px;
    }

    .single .about-author-wrapper h4 {
        padding-bottom: 30px;
    }

    .author-bio {
        width: 100%;
    }

    .related-articles-wrapper {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .related-articles-heading {
        margin-bottom: 30px;
    }

    .related-articles-container {
        width: 100%;
        margin-bottom: 20px;
    }

    .related-articles-container:last-child {
        margin-bottom: 0;
    }

    .related-articles-block {
        flex-direction: column;
        align-items: center;
    }

    .related-articles-img {
        height: auto;
    }

    .related-articles-title {
        min-height: auto;
    }

    .related-articles-content {
        padding: 10px;
    }

    .tile4 {
        padding: 70px 0 0px 0;
        width: 90%;
        margin: 0 auto;
    }

    .posts .single .tile4 h3{
        font-size: 18px;
        text-align: center;
        margin-bottom: 0;
    }

    .posts .single .tile4 p {
        font-size: 14px;
        text-align: center;
        padding-bottom: 0;
    }

    .tile4 input {
        margin-bottom: 20px;
        padding: 15px;
        width: 90%;
    }

    .mob-hide {
        display: none;
    }

    .blog .single .hbspt-form .hs-form, .hs-form {
        max-width: 95%;
    }

    .blog .single .hbspt-form .hs-form span,
    .blog .single .hbspt-form .hs-form .legal-consent-container p {
        font-size: 14px !important;
    }

    .blog .single .cookie-reset-container {
        text-align: center;
    }
}


