/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

/* Legacy utility/grid compatibility while templates migrate to Canvas 7 markup. */
.fleft { float: left !important; }
.fright { float: right !important; }
.tleft { text-align: left !important; }
.tright { text-align: right !important; }
.nobottommargin { margin-bottom: 0 !important; }
.notopmargin { margin-top: 0 !important; }
.nobottomborder { border-bottom: 0 !important; }
.topmargin-sm { margin-top: 1.875rem !important; }
.topmargin-lg { margin-top: 5rem !important; }
.bottommargin-sm { margin-bottom: 1.875rem !important; }
.section-work-gap { margin-bottom: 9rem !important; }

/* Keep one-page anchors clear of the sticky header on direct hash navigation. */
#section-about,
#section-work,
#section-contact { scroll-margin-top: 8rem; }

/* Explicitly center contact heading block to match other section headers. */
#section-contact .heading-block,
#section-contact .heading-block h2,
#section-contact .heading-block > span { text-align: center !important; }

.postcontent { width: 70%; }
.postcontent.bothsidebar { width: 47%; }
.sidebar { width: 26%; }
.col_full { width: 100%; }
.col_half { width: 48%; }
.col_one_third { width: 30.63%; }
.col_two_third { width: 65.33%; }
.col_one_fourth { width: 22%; }
.col_three_fourth { width: 74%; }
.col_one_fifth { width: 16.8%; }
.col_two_fifth { width: 37.6%; }
.col_three_fifth { width: 58.4%; }
.col_four_fifth { width: 79.2%; }
.col_one_sixth { width: 13.33%; }
.col_five_sixth { width: 82.67%; }

.postcontent,
.sidebar,
.col_full,
.col_half,
.col_one_third,
.col_two_third,
.col_three_fourth,
.col_one_fourth,
.col_one_fifth,
.col_two_fifth,
.col_three_fifth,
.col_four_fifth,
.col_one_sixth,
.col_five_sixth {
  display: block;
  position: relative;
  margin-right: 4%;
  margin-bottom: 3.125rem;
  float: left;
}

.postcontent,
.sidebar { margin-right: 2.5rem; }

.col_full {
  clear: both;
  float: none;
  margin-right: 0;
}

.postcontent.col_last,
.sidebar.col_last { float: right; }

.col_last {
  margin-right: 0 !important;
  clear: right;
}

/* Legacy portfolio column classes used by older templates. */
.portfolio-2 .portfolio-item { width: 50%; }
.portfolio-3 .portfolio-item { width: 33.33333333%; }
.portfolio-4 .portfolio-item { width: 25%; }
.portfolio-5 .portfolio-item { width: 20%; }
.portfolio-6 .portfolio-item { width: 16.66666667%; }

.sm-form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  background-clip: padding-box;
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
}

.sm-form-control:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  outline: 0;
}

.panel {
  background-color: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  margin-bottom: 1.5rem;
}

.panel-heading {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--bs-border-color);
}

.panel-title {
  margin: 0;
  font-size: 1rem;
}

.panel-body { padding: 1rem; }
.pull-left { float: left !important; }
.pull-right { float: right !important; }

@media (max-width: 991.98px) {
  .section-work-gap { margin-bottom: 6rem !important; }

  #section-about,
  #section-work,
  #section-contact { scroll-margin-top: 7rem; }

  .portfolio-3 .portfolio-item,
  .portfolio-4 .portfolio-item,
  .portfolio-5 .portfolio-item,
  .portfolio-6 .portfolio-item { width: 50%; }

  .postcontent,
  .postcontent.bothsidebar,
  .sidebar,
  .col_full,
  .col_half,
  .col_one_third,
  .col_two_third,
  .col_three_fourth,
  .col_one_fourth,
  .col_one_fifth,
  .col_two_fifth,
  .col_three_fifth,
  .col_four_fifth,
  .col_one_sixth,
  .col_five_sixth {
    width: 100%;
    margin-right: 0 !important;
    float: none !important;
  }

  #copyrights .col_half,
  #copyrights .col_half.col_last {
    width: 100%;
    text-align: center !important;
  }

  #copyrights .fright { float: none !important; }
}

@media (max-width: 575.98px) {
  .portfolio-2 .portfolio-item,
  .portfolio-3 .portfolio-item,
  .portfolio-4 .portfolio-item,
  .portfolio-5 .portfolio-item,
  .portfolio-6 .portfolio-item { width: 100%; }
}



