/*
 Theme Name:     Extra Child
 Theme URI:      https://www.elegantthemes.com/gallery/extra/
 Description:    Extra Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Extra
 Version:        1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */
/* Main Content */
#main-content {
  padding-top: 0px;
}


/* Remove top-header */
#top-header {
  display: none;
}

/* Remove Share title from below posts */
.share-title {
  display: none !important;
}

/* Align footer in the center of page */
#footer {
  text-align: center;
}
#footer-nav {
  float: none;
}
.center-div
{
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
  border-radius: 3px;
}

/* Hide post-footer */
.post-footer {
  display: none !important;
}

/* Decrease the margin on the bottom of a post */
.page .post-wrap .post-content,
.single .post-wrap .post-content {
  margin: 30px 0 0px;
}

.post-header {
  padding: 60px 40px;
}

/*----------Worth The Read progress bar adjust with screen size----------*/

#wtr-progress.top.shown {
  top: 80px !important;
}
.admin-bar #wtr-progress.top.shown {
  top: 112px !important;
}
#wtr-progress.bottom.shown {
  bottom: 80px !important;
}
#wtr-progress.left.shown {
  left: 80px !important;
}
#wtr-progress.right.shown {
  right: 80px !important;
}

/*----------Desktop----------*/

@media only screen and (max-width: 1024px) {
  #wtr-progress.top.shown {
    top: 0px !important;
  }
  .admin-bar #wtr-progress.top.shown {
    top: 32px !important;
  }
  #wtr-progress.bottom.shown {
    bottom: 0px !important;
  }
  #wtr-progress.left.shown {
    left: 0px !important;
  }
  #wtr-progress.right.shown {
    right: 0px !important;
  }
}
/*----------Tablet----------*/

@media only screen and (max-width: 782px) {
  #wtr-progress.top.shown {
    top: 0px !important;
  }
  .admin-bar #wtr-progress.top.shown {
    top: 46px !important;
  }
  #wtr-progress.bottom.shown {
    bottom: 0px !important;
  }
  #wtr-progress.left.shown {
    left: 0px !important;
  }
  #wtr-progress.right.shown {
    right: 0px !important;
  }
}
/*----------Mobile----------*/

@media only screen and (max-width: 600px) {
  #wtr-progress.top.shown {
    top: 0px !important;
  }
  .admin-bar #wtr-progress.top.shown {
    top: 0px !important;
  }
  #wtr-progress.bottom.shown {
    bottom: 0px !important;
  }
  #wtr-progress.left.shown {
    left: 0px !important;
  }
  #wtr-progress.right.shown {
    right: 0px !important;
  }
  #logo {
    height: 80%;
  }
}

/* worth-the-read time commitment formatting */
.wtr-time-wrap.block {
  margin: 25px 0px 0px 0px;
}

/* Hide Post Nav */
.post-nav {
  display: none;
}

/* Extra Theme Font Formatting */

body {
  font-size: 20px;
  font-weight: 400;
}

/* h1 */
.entry-title {
  font-size: 40px;
  line-height: 1.3;
}
.archive h1 {
  font-weight: 600;
  font-size: 24px;
}
/* h2 */
.et_pb_extra_column_main h2 {
  font-size: 28px;
  font-weight: 700;
}

/* h3 */
.et_pb_extra_column_main h3 {
  font-size: 24px;
  font-weight: 600;
}

/* h4 */
.et_pb_extra_column_main h4 {
  font-size: 24px;
  font-weight: 500;
  line-height: 2;
}
.related-post .title a {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.post-content .excerpt.entry-summary p {
  font-size: 16px;
}

/* Main Menu */
  /* Regular dropdown main menu */
    .nav li ul {
      text-align: center;
      padding: 0 10px;
    }
    .nav li li {
      line-height: 1.5;
    }
    /* Main Menu */
  /* Regular dropdown main menu */
    .nav li ul {
      text-align: center;
      padding: 0;
      width:auto;
    }
    .nav li li {
      line-height: 1.5;
    }
    #et-menu li>ul li a {
      font-size: 16px;
    }
    #et-navigation>ul>li>ul {
      left: auto;
  }
    ul.sub-menu{
      margin-left: 0 !important;
    }

  /* Top level menu items - 1st category */
#et-navigation li a {
  padding: 12px 0;
}
#et-navigation .mega-menu>ul {
  padding: 10px 5px;
}
.custom-menu-title>a:first-of-type {
  padding: 0 16px 10px !important;
}
.custom-menu-title-1>a:first-of-type {
  padding: 0 24px 10px !important;
}
  /* 2nd level menu items - 1st subcategory */
#et-navigation .mega-menu>ul>li>a:first-of-type {
  color: rgba(0,0,0,0.6);
  font-size: 16px;
  line-height: 1.4;
  padding: 0 0 10px 0;
}

#et-navigation .mega-menu>ul>li {
  padding: 0 10px;
}

  /* 3nd level menu items - 2st subcategory */
  #et-navigation .mega-menu>ul li li {
    border-top: 1px solid rgba(181, 183, 189, 0.4);
  }
  #et-navigation .mega-menu>ul li li a{
    font-size: 14px;
    font-weight: 500;
  }


  /* Top level menu items - 1st category */
#et-navigation li a {
  padding: 10px 0;
}
#et-navigation .mega-menu>ul {
  padding: 10px 5px;
}

  /* 2nd level menu items - 1st subcategory */
#et-navigation .mega-menu>ul>li>a:first-of-type {
  color: rgba(0,0,0,0.6);
  font-size: 16px;
  line-height: 1.4;
  padding: 0 0 10px 0;
}

.et_mobile_menu li a, .nav li li a {
  color: rgba(0,0,0,0.6);
  font-size: 16px;
  line-height:1.5;
  padding: 0 0 20px 0;
}
#et-navigation .mega-menu>ul>li {
  padding: 0 10px;
}

  /* 3nd level menu items - 2st subcategory */
  #et-navigation .mega-menu>ul li li {
    border-top: 1px solid rgba(181, 183, 189, 0.4);
  }
  #et-navigation .mega-menu>ul li li a{
    font-size: 14px;
    font-weight: 500;
  }


  /* Widgets */

  /* Widget Titles */
  .et_pb_widget .widgettitle {
    background: rgb(0, 0, 24, 0.7);
  }
  /* Image that is used as an ad for WedTexts (285px x 285px) */
  #media_image-3.et_pb_widget.widget_media_image .widgettitle{
    display: none !important;
  }
  #media_image-3.et_pb_widget.widget_media_image{
    height:285px;
  }
  

  /* Breadcrumbs */
  #breadcrumbs{ float: left; width: 100%; margin-bottom: 10px; position:relative; z-index:1; font-size: 16px; }

  /* Featured Post Slider Module */
  .featured-posts-slider-module .post-meta {
    font-size: 16px !important;
}

/* Extra Post Module */
.et_extra_other_module .post-meta, .et_pb_extra_module .post-meta {
  font-size: 14px;
}

/* p */
p {
  margin-bottom: 1.3em;
}


h2, h3 {
  padding-bottom: 1.6em;
}

.et-slider .carousel-item, .featured-posts-slider-module .carousel-item {
  background-position: top;
}


.alignwide {
  /* Set these margins to work with your own theme. */
  margin-left: -60px;
  margin-right: -60px;
  max-width: 100vw;
}

.alignfull {
  margin-left: calc(-100vw / 2 + 100% / 2);
  margin-right: calc(-100vw / 2 + 100% / 2);
  max-width: 100vw;
}

.alignfull img {
  width: 100vw;
}

.wp-block-table table {
  margin-bottom: 32px;
}

/* Pro Tip formatting block */
.pro-tip .tbody {
  background-color: rgba(117, 219, 187, 0.6);
}

.with_sidebar .et_pb_extra_column_main {
  padding: 0;
}

.et_extra_layout .et_pb_extra_column_main .et_pb_column_sidebar, .et_pb_extra_column_sidebar {
  padding: 0 0 0 24px;
}

/* Table */
.wp-block-table {
  overflow-x: inherit;
}

/* Pro Tip table */
.figure.wp-block-table.pro-tip {
  background-color: rgba(117, 219, 187, 0.6) !important;
margin-bottom: 32px;
border: none;
}

/* Side Note table */
.figure.wp-block-table.side-note {
  background-color: rgba(242, 220, 95, 0.6) !important;
margin-bottom: 32px;
border: none;
}

/* list */
.ol, ul {
  margin-left: 1em;
}
.ol li ul, ul li ul {
padding: .3em 0 .3em 1.143em;
}









.with_sidebar .et_pb_extra_column_main {
  padding: 0;
}

.et_extra_layout .et_pb_extra_column_main .et_pb_column_sidebar, .et_pb_extra_column_sidebar {
  padding: 0 0 0 24px;
}

/* Pro Tip table */
figure.wp-block-table.pro-tip {
  background-color: rgba(117, 219, 187, 0.6) !important;
margin-bottom: 32px;
border: none;
}

/* Side Note table */
figure.wp-block-table.side-note {
  background-color: rgba(242, 220, 95, 0.6) !important;
margin-bottom: 32px;
border: none;
}

/* list */
ol, ul {
  margin-left: 1em;
}
ol li ul, ul li ul {
padding: .3em 0 .3em 1.143em;
}

.wp-block-pullquote {
  padding: 1em 0;
}

blockquote.wp-block-quote {
  font-size: 18px;
  font-weight: 500;
  color: #c387b3;
}

blockquote.has-text-color {
  border-left: none;
padding-left:0;
}

/*.wp-block-pullquote.is-style-solid-color blockquote p {
  margin-top: -40px;
  margin-bottom: -40px;
}*/
.wp-block-pullquote.is-style-solid-color blockquote {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 80%;
}

.wp-block-pullquote.is-style-solid-color {
  border: none;
  border-radius: 100px;
  max-width: 90%;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: auto;
  margin-inline-end: auto;
}

.wp-block-pullquote.is-style-solid-color blockquote:before {
  content: "\201C";
  display: block;
  font-family: auto;
  font-size: 172px;
  left: -315px;
  top: 0px;
  position: relative;
  height: 0;
  color: #c387b3;
}

figure.wp-block-pullquote.has-background.has-light-green-cyan-background-color.is-style-solid-color{
margin-top:50px;
margin-bottom:50px;
}
.wp-block-pullquote.is-style-solid-color blockquote p {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 28px;
}
/*----------Desktop----------*/
@media only screen and (max-width: 1024px) {
#figure.wp-block-pullquote.has-background.has-light-green-cyan-background-color.is-style-solid-color.pq-right-justify {
  margin-left: 150px;
}
#figure.wp-block-pullquote.has-background.has-light-green-cyan-background-color.is-style-solid-color.pq-left-justify {
  margin-left: 150px;
  margin-right: -38px;
}
}
/*----------Tablet----------*/
@media only screen and (max-width: 782px) {
.wp-block-pullquote.is-style-solid-color blockquote:before {
  left: -260px;
}
}
/*----------Mobile----------*/

@media only screen and (max-width: 600px) {

.wp-block-pullquote.is-style-solid-color blockquote:before {
  left: -150px;
}
}