/* Blog page */
.d365-blog-hero-section {
  position: relative;
  padding: 12em 0 3em;
  margin-top: -120px;
  margin-bottom: 4em;
  color: #184783!important;
}

.d365-blog-hero-section:before{
  content:'';
  background: #0f72b4;
  width: 200px;
  height: 200px;
  filter: blur(200px);
  position: absolute;
  top: 30%;
  left: 20%;
  opacity: 1;
  z-index:0
}
.d365-blog-hero-section:after{
  content:'';
  background: #7e2dc7;
  width: 200px;
  height: 200px;
  filter: blur(200px);
  position: absolute;
  bottom: 30%;
  right: 20%;
  opacity: 1;
}
/* Blog topics lists */
.d-blog-topics-list {
  font-size: 10px;
  margin-bottom: 1em;
}

.d-blog-topics-item {
  display: inline-block;
  padding: 4px;
  background-color: #eaeaea;
  margin: 0 0 4px 0;
  border-radius: 5px;
  font-size: 12px;
}

.d-blog-topics-list ul {
  margin: 0 !important;
  padding: 0 !important;
}

.d-blog-topics-list li {
  display: inline-block;
}

.d-blog-topics-list li a {
  background-color: #eaeaea;
  padding: 4px 9px;
  color: #828282 !important;
  display: inline-block;
  margin: 2px 0;
  font-size: 10px;
  text-decoration: none !important;
}

/* Blog page */

.blog-page {
  padding: 1.5em 0;
  background-color: #f7f7f7;
}

/* Blog listing card */

.d-blog-card {
  height: 460px;
  margin-bottom: 20px;
  background-color: #fff;
  border-radius: 4px;
  overflow: hidden;
}



.d-blog-card-img-holder {
  height: 192px;
  overflow: hidden;
  background-color: #ccc;
}

.d-blog-card-body {
  padding: 12px 0px;
}

.d-blog-card-body a.title-link {
  color: #031927 !important; 
  text-decoration: none;
}

.d-blog-card-body h2 {
  font-size: 14px; 
  line-height: 27px;
  max-height: 54px;
}

.d-blog-topics {
  font-size: 12px;
  line-height: 20px;
  height: 20px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-bottom: 5px;
}

.d-blog-topics a {
  background-color: #f4f4f4;
  padding: 5px;
  margin: 0px 1px 0px 0px;
  color: #949494 !important;
  text-decoration: none !important;
}

.d-blog-topics a:hover {
  color: #333 !important; 
}

.d-blog-summary {
  height: 98px;
  overflow: hidden;
  font-size: 13px;
  line-height: 22px;
  margin: -10px 0px 12px 0px; 
}

.d-blog-summary * {
  font-size: 15px !important;
  line-height: 28px !important;
}

.d-blog-author-holder {
  font-size: 12px; 
}

.d-blog-footer {
  margin: 15px 0 3px;
  height: 26px;
  display: flex;
  justify-content: flex-end;
}

.d-blog-read-more-btn {
  font-size: 12px;
  line-height: 32px;
  color: #fff !important;
  background-color: #0f72b4;
  border-radius: 60px;
  display: inline-block;
  height: 30px;
  width: 92px;
  text-align: center;
  box-sizing: border-box;
  text-decoration: none;
}

.d-blog-pagination {
  margin-top: 2em;
  display: flex;
  justify-content: center;
  padding: 0 15px;
}

.d-blog-pagination a {
  color: #757575 !important;
  text-decoration: none !important;
  background-color: #f4f4f4;
  padding: 8px 20px;
  margin: 0 10px;
  border-radius: 3px;
  box-shadow: 1px 1px 8px 0px rgba(0, 0, 0, 0.1);
}

.d-blog-pagination a:hover {
  box-shadow: 1px 2px 12px 0px rgba(0, 0, 0, 0.25);
}

.d-blog-pagination a:hover,
.d-blog-pagination a:focus {
  color: #333333 !important;
}

/* Blog post styles */

@media (min-width: 1300px){
.res-form .actions {
    text-align: center;
    width: 100%;
    float: left;
}
.res-form .hs-form .hs-form-field {
    width: 45%;
    float: left;
    margin: 0 10px 10px;
}
}
.d-post-hero{
  padding: 8em 8em 3em;
  color: #184783 !important;
  position:relative;
  float: none;
  margin: 0 auto!important;
  max-width: 1300px;
}
.d-post-hero:before{
  content:'';
  background: #0f72b4;
  width: 200px;
  height: 200px;
  filter: blur(200px);
  position: absolute;
  top: 30%;
  left: 20%;
  opacity: 1;
  z-index:0
}
.d-post-hero:after{
  content:'';
  background: #7e2dc7;
  width: 200px;
  height: 200px;
  filter: blur(200px);
  position: absolute;
  bottom: 30%;
  right: 20%;
  opacity: 1;
}

.d-post-hero-head {
  margin-block-start: 0;
  margin-top: 0;
}

.d-post-hero-blog-img {
  box-shadow: -5px 5px 0px 0px #0F72B4;
}

.d-post-hero-writer-holder {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.d-post-hero-author-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
  border: 3px solid #00ACE3;
}

.d-post-hero-author-name {
  margin-left: 10px;
  font-size: 1.125em;
}

.d-post-hero-author-name a {
  text-decoration: none;
  color: #184783;
}
.d-post-hero img {
  border-radius:20px;
  margin right: 30px;
}
.d-blog-post-container {
  background-color: #ffffff;
  border-radius: 10px;
  margin-top: -28px;
}

/* .d-blog-post-content-area {
  padding: 2em 2em 0 10em; 
} */
.d-blog-post-content-area {
    padding: 2em 0em 0 0em;
    max-width: 900px;
    margin: 0 auto;
  clear: both;
}

.d-blog-post-title {
  margin-bottom: 1em;
}

.d-blog-post-title h1 {
  font-size: 28px;
  line-height: 48px;
}

.d-blog-post-title p {
  font-size: 0.84375em;
  line-height: 20px;
}

.d-blog-post-title a {
  text-decoration: none;
  color: #184783;
}

.d-blog-post-body {
  font-size: 15px;
  line-height: 23px;
}
.d-blog-post-body p, .d-blog-post-body span, .d-blog-post-body li, .d-blog-post-body a, .d-blog-post-body div{
 font-size: 15px!important;
 line-height: initial!important;
}
.d-blog-post-body .cta_button{
  border:0!important;
  margin:0!important;
  padding:0!important;
}
.d-blog-post-body h2 {
  font-size: 1.5em;
  line-height: 1.95;
}

.d-blog-post-body h3 {
  font-size: 1.125em;
}

.d-blog-post-body img {
  border: 5px solid #e8e8e8;
  border-radius: 12px; 
}

.d-blog-post-author-bio {
  position: relative;
  margin-top: 3em;
  background-color: #f4f4f4;
  padding: 25px;
  border-radius: 10px;
}

.d-blog-post-author-bio .d-author-img-holder {
  overflow: hidden;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: block;
  margin: 0 auto;
}

.d-blog-post-author-bio h3 {
  font-size: 17px;
  margin: 0;
  padding: 0;
}

.d-blog-post-comment-form-holder {
  margin: 2em 0;
}

.d-b-p-comment-form-title {
  font-size: 21px;
}

.d-blog-post-author-bio p {
  font-size: 14px;
  line-height: 24px;
}

.d-blog-author-details {
  padding: 0 15px; 
}

.d-blog-topic-link {
  text-decoration: none;
}
/* All posts styles */

.d-blog-all-posts-card {
  background-color: #fff;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 15px;
  transition: all 0.25s ease-in;
  box-shadow: 1px 1px 8px 0px rgba(0, 0, 0, 0.15);
  height: 88px;
}

.d-blog-all-posts-card:hover {
  box-shadow: 1px 2px 10px 0px rgba(0,0,0,0.25);
}

.d-blog-all-posts-card .d-all-post-img-holder {
  overflow: hidden;
  background-color: #ccc;
}

.d-blog-all-posts-card .d-blog-all-card-body {
  padding: 9px 15px 0px 0;
}

.d-blog-all-posts-card .d-blog-all-card-body h4 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; 
}

.d-blog-all-posts-card .d-blog-all-card-body p {
  font-size: 12px; 
}

.d-blog-related-posts {
  margin-top: 2.5em;
}

.d-blog-related-posts .hs-related-blog-item {
  height: 400px;
  overflow: hidden;
  width: 31%;
  float: left;
  margin: 0 1.1%;
  background-color: #fff;
  padding: 25px;
  box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
}

/* Related posts listing */
.d-related-blog-posts {
  padding: 0 2em 3em 4em;
}

.d-related-blog-header {
  text-align: center;
  padding: 2em 0;
  border-top: 1px solid #f4f4f4;
}

.d-related-blog-item {
  position: relative;
  border: 1px solid #d6d6d6;
  border-radius: 6px;
  transition: all 0.3s ease-in;
  overflow: hidden;
}

.d-related-blog-item:hover {
  box-shadow: 1px 3px 10px 0px rgba(0, 0, 0, 0.15);
}

.d-related-blog-img-holder {
  position: relative;
  display: block;
  background-color: #f4f4f4;
  height: 175px;
  overflow: hidden;
}

.d-blog-social-area {
  text-align: center;
  margin: 4em 0 0;
}

.d-related-blog-body {
  position: relative;
  padding: 15px;
  font-size: 16px;
  line-height: 28px;
  height: 108px;
  overflow: hidden;
}

.d-related-blog-body a {
  color: #031927;
  text-decoration: none;
}

.d365-btn {
  display: inline-block;
  text-decoration: none;
  box-sizing: border-box;
  padding: 7px 20px;
  border-radius: 35px;
  transition: all 0.2s ease-in;
  font-size: 14px;
  border: 1px solid #031927;
  color: #031927;
}

.d365-btn:hover {
  box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.15);
}

.d365-blog-post-right-bar {
  padding: 0 7em 0em 1em;
  border-left: 0px solid #ccc;
  margin-top: 1em;
}
.right-bar-fixed {
  position: fixed;
  width: inherit;
  margin-top: 0px;
  right: 0;
  top: 0;
}
.d365-blog-post-right-form-holder h4 {
  background-color: #554a72;
  width: 90%;
  text-align: left;
  color: #fff;
  padding: 5px 5px 5px 10px;
  margin: 10px 0 15px;
  border-radius: 5px;
  line-height: normal;
}
.dock-ad{margin-top:10px; border-radius:6px;}
.dock-ad img{border-radius:6px;}
@media(max-width:768px)
  {
    .right-bar-fixed {
    position:relative
}
}

.d365-blog-post-right-bar.d-post-side-position-fix {
  position: fixed;
  top: 75px;
  animation: fadeIn;
  animation-duration: 1s; 
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.form-title {
  margin: 0;
  margin-block-start: 0em;
  margin-block-end: 0em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}

.d365-blog-post-right-form-holder {
  margin-top: 1em;
}

/* Media Query */

@media only screen and (max-width: 768px) {
  .d-post-hero {
    padding: 5em 1em 1em 1em;
  }

  .d-blog-post-content-area {
    padding: 15px; 
  }

  .d-related-blog-posts {
    padding: 15px;
  }

  .d-related-blog-item {
    margin-bottom: 15px;
  }

  .d365-blog-post-right-bar {
    padding: 20px !important;
    margin-top: 0em !important;
    border: none;
  }
}

/* ============================================================================================ */
/*                    BLOG FORM STYLES */
/* ============================================================================================ */
.idock-form {
  position: relative; 
}

.idock-form input[type="text"],
.idock-form input[type="email"],
.idock-form input[type="tel"],
.idock-form select.hs-input {
  padding: 8px 10px;
  border-radius: 5px;
  border: 1px solid #eaeaea;
  height: 36px;
  background-color: #fff;
}

.idock-form input[type="submit"] {
  border: none;
  background-color: #00ACE3;
  padding: 10px 25px;
  border-radius: 40px;
  color: #fff;
  margin: 10px 2px 0;
  cursor: pointer;
}

.idock-form input[type="submit"]:hover {
  box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.25);
}

.idock-form .hs-form-field {
  margin-bottom: 15px;
}

.idock-form label {
  font-size: 14px;
  display: inline-block;
/*   margin: 0px 15px 0px; */
  font-weight: 100;
}


.idock-form ul.no-list.hs-error-msgs.inputs-list {
  margin: 5px 0 0 0;
  list-style: none;
  padding: 0;
  font-size: 10px !important;
}

.idock-form ul.no-list.hs-error-msgs.inputs-list * {
  font-size: 11px;
  color: #c56868;
}

.idock-form .hs-input {
  width: 100% !important;
}

.hs-input {
  width: 100% !important;
}


/* All HubSpot Forms
========================================================================== */

/* Form Field (selector for form field wrapper) */
.hs-form .hs-form-field {
  margin-bottom: 5px;
}

/* Descriptions (targets class applied to Help Text divs) */
.hs-form .hs-field-desc {}

/* Labels (selects field labels and error messages) */
.hs-form label {}
.hs-form .hs-form-field > label {
  font-weight: 600;
  font-size: 14px;
}

.hs-form .input {
  margin-top: 0px;
}

.hs-form .hs-input {
  border-radius: 5px;
  border: 1px solid #b1b1b1;
  padding: 8px 10px;
}

.hs-form ul.no-list.hs-error-msgs.inputs-list {
  display: block;
  list-style: none;
  margin: 5px 0;
  padding: 0;
  font-size: 12px;
  color: #f00;
}

/* Inputs (selectors for all inputs)  */
.hs-form input[type="text"],
.hs-form input[type="password"], 
.hs-form input[type="datetime"], 
.hs-form input[type="datetime-local"], 
.hs-form input[type="date"], 
.hs-form input[type="month"], 
.hs-form input[type="time"], 
.hs-form input[type="week"], 
.hs-form input[type="number"], 
.hs-form input[type="email"], 
.hs-form input[type="url"], 
.hs-form input[type="search"], 
.hs-form input[type="tel"], 
.hs-form input[type="color"],
.hs-form input[type="file"],
.hs-form textarea,
.hs-form select {}

/* Inputs in focus (selectors for all inputs when clicked)  */
.hs-form input[type="text"]:focus,
.hs-form input[type="password"]:focus, 
.hs-form input[type="datetime"]:focus, 
.hs-form input[type="datetime-local"]:focus, 
.hs-form input[type="date"]:focus, 
.hs-form input[type="month"]:focus, 
.hs-form input[type="time"]:focus, 
.hs-form input[type="week"]:focus, 
.hs-form input[type="number"]:focus, 
.hs-form input[type="email"]:focus, 
.hs-form input[type="url"]:focus, 
.hs-form input[type="search"]:focus, 
.hs-form input[type="tel"]:focus, 
.hs-form input[type="color"]:focus,
.hs-form input[type="file"]:focus,
.hs-form textarea:focus,
.hs-form select:focus {}

/* Multi-line inputs (selectors to target multi-line fields */
.hs-form textarea {}
.hs-form textarea:focus {}

/* Dropdowns (selectors for dropdowns) */
.hs-form select {}
.hs-form select:focus {}

/* Multi-select (selectors for multi-select fields) */
.hs-form form.hs-form .hs-form-field ul.inputs-list {}

.hs-form form.hs-form .hs-form-field ul.inputs-list li input {}
.hs-form input[type="radio"] {}
.hs-form input[type="checkbox"] {}

/* Required (selectors for fields, when they do not pass validation) */
.hs-form input:focus:required:invalid, 
.hs-form textarea:focus:required:invalid, 
.hs-form select:focus:required:invalid {}

.hs-form input:focus:required:invalid:focus, 
.hs-form textarea:focus:required:invalid:focus, 
.hs-form select:focus:required:invalid:focus {}

/* Error message (selector for validation messages) */
.hs-form .hs-error-msgs label{}

/* Placeholder Text (styles the placeholder attribute text) */
::-webkit-input-placeholder { /* Webkit Browsers */}
:-moz-placeholder { /* Firefox 18- */}
::-moz-placeholder { /* Firefox 19+ */}
:-ms-input-placeholder { /* IE10 */}

/* Multi Column Form (selectors for fieldsets and field wrappers) 
========================================================================== */

.hs-form .hs-form fieldset.form-columns-1 {}
.hs-form .hs-form fieldset.form-columns-1 .hs-form-field {}

.hs-form .hs-form fieldset.form-columns-2 {}
.hs-form .hs-form fieldset.form-columns-2 .hs-form-field {}

.hs-form .hs-form fieldset.form-columns-3 {}
.hs-form .hs-form fieldset.form-columns-3 .hs-form-field {}

/* Submit buttons (selectors for all non-CTA buttons) 
========================================================================== */

body .hs-button.primary,
body input[type="submit"],
body input[type="button"] {
  padding: 10px 20px;
  border-radius: 50px;
  border: none;
  background-color: #00ace3;
  color: #fff;
  margin-top: 0.75em;
  cursor: pointer;
  transition: all 0.15s ease-in;
}

body .hs-button.primary:hover,
body input[type="submit"]:hover,
body input[type="button"]:hover {
  background-color: #17b6e8;
  box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.2);
}

body .hs-button.primary:focus,
body input[type="submit"]:focus,
body input[type="button"]:focus {}

.blog-form-default{
  box-shadow:none!important;
  border:solid 1px #ccc!important;
  background:none!important;
  border-radius:20px!important;
}
.d-blog-post-container .span12 div.page-center{
    border-top: solid 1px #ccc;
    margin-top: 70px!important;
}