@charset "UTF-8";

.page-wrapper {
  display: block;
  width: 100%;
  border-top: 160px solid white;

  @media(max-width: 1199px) {
    border-top: 100px solid white;
  }
  @media(max-width: 767px) {
    border-top: 80px solid white;
  }
  @media(max-width: 359px) {
    border-top: 70px solid white;
  }
}

section {
  margin: calc(1.5vw + 40px) 0 0;
}

.main-col section[data-items] {
  margin: 0;
  padding: 0;
  display: inline;

  .col, .row, .container {
    padding: 0;
    margin: 0;
    display: inline;
  }
}

.container {
  width: 1460px;
  max-width: 100%;
  padding: 0 60px;
  margin: 0 auto;

  &.medium {
    //width: 1220px;
  }

  &.small {
    width: 1000px;

    @media(min-width: 1000px) {
      max-width: 90%;
    }
  }

  @media(max-width: 1339px) {
    width: 1230px;
  }
  @media(max-width: 1199px) {
    padding: 0 40px;
  }
  @media(max-width: 999px) {
    padding: 0 30px;
  }
  @media(max-width: 767px) {
    padding: 0 20px;
  }

  > h2, > .like-h1 {
    margin-bottom: 10px;
  }
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -20px;

  &:before, &:after {
    display: none;
  }

  @media(max-width: 1199px) {
    margin: 0 -15px;
  }
  @media(max-width: 999px) {
    margin: 0 -10px;
  }
}

.has-sidebar .row {
  align-items: flex-start;
}

.col, .main-col, .sidebar {
  padding: 20px;
  flex: 1 1 100%;

  @media(max-width: 1199px) {
    padding: 15px;
  }
  @media(max-width: 999px) {
    padding: 10px;
  }

  .container, .container-fluid {
    padding: 0;
  }
}

.sidebar {
  padding-left: 40px;

  @media(min-width: 1000px) {
    font-size: 18px;

    &.sticky {
      position: sticky;
      top: 100px;
    }
  }
  @media(max-width: 1199px) {
    padding-left: 30px;
  }
  @media(max-width: 999px) {
    padding: 10px;
  }
}

@media(max-width: 999px) {
  .main-col {
    padding-top: 0;
    max-width: 100%;
  }
}

@media (min-width: 1000px) {
  .main-col {
    flex: 1 1 66.66667%;
    max-width: 66.66667%;
  }

  .sidebar {
    flex: 1 1 33.33333%;
    max-width: 33.33333%;
    align-self: flex-start;
  }
}

.main-col .detail-text > .text:first-child > *:first-child {
  margin-top: 0;
}

//.grid {
//  display: none;
//
//  .row {
//    flex-wrap: nowrap;
//  }
//
//  .col {
//    position: relative;
//    padding: 0 20px;
//  }
//
//  span {
//    position: absolute;
//    left: 0;
//    right: 0;
//    margin: 0 20px;
//    height: 10000px;
//    background-color: red;
//    opacity: 1;
//    z-index: 10;
//    opacity: 0.1;
//    pointer-events: none;
//  }
//}

//
// Grid system
// --------------------------------------------------


// Container widths
//
// Set the container width, and override it for fixed navbars in media queries.

/*
.container {
  @include container-fixed;

  @media (min-width: $screen-sm-min) {
    width: $container-sm;
  }
  @media (min-width: $screen-md-min) {
    width: $container-md;
  }
  @media (min-width: $screen-lg-min) {
    width: $container-lg;
  }
}


// Fluid container
//
// Utilizes the mixin meant for fixed width containers, but without any defined
// width for fluid, full width layouts.

.container-fluid {
  @include container-fixed;
}


// Row
//
// Rows contain and clear the floats of your columns.

.row {
  @include make-row;
}


// Columns
//
// Common styles for small and large grid columns

@include make-grid-columns;


// Extra small grid
//
// Columns, offsets, pushes, and pulls for extra small devices like
// smartphones.

@include make-grid(xs);


// Small grid
//
// Columns, offsets, pushes, and pulls for the small device range, from phones
// to tablets.

@media (min-width: $screen-sm-min) {
  @include make-grid(sm);
}


// Medium grid
//
// Columns, offsets, pushes, and pulls for the desktop device range.

@media (min-width: $screen-md-min) {
  @include make-grid(md);
}


// Large grid
//
// Columns, offsets, pushes, and pulls for the large desktop device range.

@media (min-width: $screen-lg-min) {
  @include make-grid(lg);
}
*/
