@import 'variables';
@import "mixins";

body {
  font-size: 100%;
}

.ftm_page_content_wrapper{
  max-width: var(--pages_content_width, 1124px);
  width:100%;
  margin: auto;
}

.ftm_blog_content_wrapper{
  max-width: var(--blog_content_width, 112px4);
  width:100%;
  margin: auto;
}

.ftm_archive_content_wrapper{
  max-width: var(--archives_content_width, 1124px);
  width:100%;
  margin: auto;
}

.ftm_blog_content_wrapper,
.ftm_archive_content_wrapper{
  display: flex;
  flex-direction: column;

  &.has_sidebar{
    display: flex;
    >.content_panel {
      width: 100%;
      max-width: 100%;
      padding: 0px;
    }
    >.sidebar_panel {
      width: 100%;
      max-width: 100%;
      padding: 0px;

      .widget{
        list-style: none;

        &::marker{
          display: none;
        }
      }
    }

    @include md {
      flex-direction: row;
      
      >.content_panel {
        width: 100%;
        max-width: 66.666667%;
        padding: 0 30px 0 0;
      }
      >.sidebar_panel {
        width: 100%;
        max-width: 33.333333%;
        padding: 0 0 0 1rem;
  
        .widget{
          &::marker{
            display: none;
          }
        }
      }
    }
  }
}


p {
  max-width: 1770px;
  margin: 20px auto;
  font-family: var(--ftm_p_font, $font-default);
  font-size: var(--ftm_p_font_size_setting, 12px);
  line-height: 20px;
  color: var(--ftm_p_color,$black);
  text-align: justify;
  @include xs {
    font-size: 14px;
    line-height: 22px;
  }
  @include md {
    font-size: var(--ftm_p_font, 12px);
    line-height: 30px;
  }
}

h1 {
  width: 100%;
  max-width: 1770px;
  margin: 40px auto;
  font-family: var(--ftm_h1_font, $font-default);
  font-size: var(--ftm_h1_font_size_setting, 32px);
  color: var(--ftm_h1_color,$black);
  font-weight: bold;
  position: relative;
  text-align: center;
  display: table;

  @include xs {
    font-size: 28px;
  }
  @include sm {
    font-size: var(--ftm_h1_font_size_setting, 24px);
  }
  @include md {
    font-size: var(--ftm_h1_font_size_setting, 32px);
    text-align: left;
  }
}

h2 {
  width: 100%;
  max-width: 1770px;
  margin: 20px auto;
  font-family: var(--ftm_h2_font, $font-default);
  font-size: var(--ftm_h2_font_size_setting, 24px);
  color: var(--ftm_h2_color,$black);
  font-weight: bold;
  text-align: left;
  overflow: hidden;
  position: relative;
  display: table;

  @include xxs {
    font-size: 28px;
  }
  @include md {
    font-size: var(--ftm_h2_font_size_setting, 24px);
  }
}

h3 {
  width: 100%;
  max-width: 1770px;
  margin: 20px auto;
  font-family: var(--ftm_h3_font, $font-default);
  font-size: var(--ftm_h3_font_size_setting, 18px);
  color: var(--ftm_h3_color,$black);
  font-weight: bold;
  text-align: left;
  overflow: hidden;
  position: relative;
  display: table;

  @include xxs {
    font-size: 28px;
  }
  @include md {
    font-size: var(--ftm_h3_font_size_setting, 18px);
  }
}

h4 {
  width: 100%;
  max-width: 1770px;
  margin: 15px auto;
  font-family: var(--ftm_h4_font, $font-default);
  font-size: var(--ftm_h4_font_size_setting, 18px);
  color: var(--ftm_h4_color,$black);
  font-weight: bold;
  text-align: left;
  overflow: hidden;
  position: relative;
  display: table;

  @include xxs {
    font-size: 16px;
  }
  @include md {
    font-size: var(--ftm_h4_font_size_setting, 18px);
  }
}

h5 {
  width: 100%;
  max-width: 1770px;
  margin: 10px auto;
  font-family: var(--ftm_h5_font, $font-default);
  font-size: var(--ftm_h5_font_size_setting, 15px);
  color: var(--ftm_h5_color,$black);
  font-weight: bold;
  text-align: left;
  overflow: hidden;
  position: relative;
  display: table;

  @include xxs {
    font-size: 13px;
  }
  @include md {
    font-size: var(--ftm_h5_font_size_setting, 15px);
  }
}

h6 {
  width: 100%;
  max-width: 1770px;
  margin: 10px auto;
  font-family: var(--ftm_h6_font, $font-default);
  font-size: var(--ftm_h6_font_size_setting, 13px);
  color: var(--ftm_h6_color,$black);
  font-weight: bold;
  text-align: left;
  overflow: hidden;
  position: relative;
  display: table;

  @include xxs {
    font-size: 12px;
  }
  @include md {
    font-size: var(--ftm_h5_font_size_setting, 13px);
  }
}