.pt-80 {
    padding-top: 80px;
}

@media (max-width: 768px) {
    .pt-80 {
        padding-top: 30px;
    }
}

.pb-80 {
    padding-bottom: 80px;
}

@media (max-width: 992px) {
    .pb-80 {
        padding-bottom: 60px;
    }
}

@media (max-width: 575px) {
    .pb-80 {
        padding-bottom: 32px;
    }
}

/*-------------------------
  Headings
-------------------------*/
.gym-environment .heading_1 {
    margin-bottom: 64px;
}

.gym-environment .heading_1 h2 {
    font-weight: 700;
    font-size: 80px;
    line-height: 120%;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--title-text-color);
    padding-left: 64px;
    position: relative;
    z-index: 50;
}

.gym-environment .heading_1 h2::after {
    content: "";
    position: absolute;
    bottom: 20px;
    left: 0;
    z-index: -5;
    background-color: #d6d8db;
    width: 195px;
    height: 29px;
}


@media (max-width: 992px) {
    .gym-environment .heading_1 h2 {
        font-size: 60px;
    }

    .gym-environment .heading_1 h2::after {
        bottom: 15px;
        width: 165px;
        height: 24px;
    }
}

@media (max-width: 492px) {
    .gym-environment .heading_1 h2 {
        font-size: 50px;
        padding-left: 32px;
        word-wrap: break-word;
    }

    .gym-environment .heading_1 h2::after {
        bottom: 13px;
        width: 100px;
        height: 20px;
    }
}

/*-------------------------
  Buttons
-------------------------*/
.gym-environment .cus-btn {
    padding: 12px 32px;
    text-align: center;
    font-weight: 700;
    font-size: 21px;
    line-height: 140%;
    border-radius: 32px;
    border: 0;
    cursor: pointer;
}

.gym-environment .cus-btn.light {
    background-color: #fafafa;
    color: var(--title-text-color);
}

.gym-environment .cus-btn.dark {
    background-color: var(--color-second);
    color: #fafafa;
}

.gym-environment .cus-btn:hover {
    color: var(--color-primary);
    transition: all 0.3s ease-in;
}

.gym-environment .cus-btn.primary {
    background-color: var(--color-second);
    color: #fafafa;
}

.gym-environment .cus-btn.primary:hover {
    background-color: var(--color-primary);
    color: #fafafa;
}

.gym-environment .left {
    position: relative;
    height: 735px;
    background-color: #f7f7f7;
    overflow: hidden;
    width: 49%;
    float: left;
}

.gym-environment .right {
    float: right;
    width: 49%;
}

.gym-environment .right .top {
    position: relative;
    width: 100%;
    height: 360px;
    background-color: #f7f7f7;
    text-align: left;
    overflow: hidden;
}

.gym-environment .right .down {
    margin-top: 16px;
}

.gym-environment .right .down .l,
.gym-environment .right .down .r {
    position: relative;
    height: 360px;
    background-color: #f7f7f7;
    overflow: hidden;
}

.gym-environment .right .down .l {
    float: left;
    width: 48%;
}

.gym-environment .right .down .r {
    float: right;
    width: 48%;
}

.gym-environment .title {
    padding: 63px 0 20px;
    font-size: 32px;
    color: #4b5666;
    text-align: center;
    font-weight: bold;
}

.gym-environment .sub_title {
    padding: 0 17%;
    text-align: center;
    font-size: 20px;
    line-height: 28px;
}

.gym-environment .more {
    position: relative;
    margin-top: 32px;
    text-align: center;
    z-index: 1;
}

.gym-environment .more a {
    font-size: 16px;
    color: #1e429f;
    transition: all 300ms ease 0s;
}

.gym-environment .more a:hover {
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
}

.gym-environment .left .img {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    transition: all .5s;
    text-align: center;
}

.gym-environment .img img {
    -webkit-transition: all 300ms ease 0s;
    transition: all 300ms ease 0s;
}

.gym-environment .img:hover img {
    transform: scale(1.2);
}

.gym-environment .right .top .title {
    padding-left: 60px;
    padding-right: 40%;
    padding-top: 48px;
    text-align: left;
    font-size: 28px;
}

.gym-environment .right .top .sub_title {
    padding-left: 60px;
    padding-right: 45%;
    text-align: left;
    font-size: 18px;
}

.gym-environment .right .top .more {
    text-align: left;
    padding-left: 60px;
    margin-top: 17px;
}

.gym-environment .right .top .img {
    position: absolute;
    top: 0;
    right: 0;
}

.gym-environment .right .down .title {
    padding-top: 35px;
    padding-bottom: 4px;
    font-size: 29px;
}

.gym-environment .right .down .sub_title {
    padding: 0 15px;
    font-size: 18px;
}

.gym-environment .right .down .more {
    margin-top: 15px;
}

.gym-environment .right .down .img {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
}

.gym-environment .index_search {
    position: absolute;
    width: 310px;
        top: 10px;
    right: 0;
}

.gym-environment .index_search input[type=text] {
    width: 100%;
    height: 51px;
    line-height: 51px;
    border: 1px solid #dcdcdc;
    text-indent: 15px;
}

.gym-environment .index_search input[type=submit] {
    position: absolute;
    top: 0px;
    right: -2px;
    width: 93px;
    height: 51px;
    line-height: 55px;
    background: #1e429f;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

@media screen and (max-width: 1477px) {
    .gym-environment .right .top .sub_title {
        padding-right: 50%;
    }
}

@media screen and (max-width: 1340px) {
    .gym-environment .left {
        width: 100%;
    }

    .gym-environment .right {
        width: 100%;
        margin-top: 25px;
    }
}

@media screen and (max-width: 1200px) {
  .gym-environment .right .top .img {
    text-align: end;
  }
  .gym-environment .right .top .img img {
    width: 30%;
  }
}
@media screen and (max-width: 768px) {
    .gym-environment .container {
        max-width: 100%;  
    }
    
    .gym-environment .left,  .gym-environment .right .down .l, .gym-environment .right .down .r {
        /*height: 54vw;*/
        height: auto;
    }

    .gym-environment .right .top {
        height: 80vw;
    }
    .gym-environment .right .top .img {
      text-align: start;
    }
    .gym-environment .right .top .img img {
      width: 100%;
    }

    .gym-environment .left {
        background-position: right bottom;
        background-size: 55%;
    }

    .gym-environment .right .down {
        margin-top: 0;
    }

    .gym-environment .title, .gym-environment .right .top .title, .gym-environment .right .down .title {
        font-size: 5.066667vw;
        width: 60%;
        text-align: left;
        padding: 9.333333vw 0 4.0vw 5.333333vw;
    }

    .gym-environment .sub_title, .gym-environment .right .top .sub_title, .gym-environment .right .down .sub_title {
        padding-left: 5.333333vw;
        font-size: 3.2vw;
        line-height: 4.8vw;
        width: 60%;
        padding-right: 0;
        text-align: left;
    }

    .gym-environment .more, .gym-environment .right .top .more, .gym-environment .right .down .more {
        padding-left: 5.333333vw;
        margin-top: 4vw;
        text-align: left;
    }

    .gym-environment .more a {
        font-size: 3.2vw;
    }

    .gym-environment .left .img,.gym-environment .right .down .img {
        height: 100%;
        right: 0;
        left: unset;
        text-align: right;
        display: flex;
        align-items: center;
    }

    .gym-environment .left .img, .gym-environment .right .top .img, .gym-environment .right .down .img {
        width: 38.666667vw;
    }

    .gym-environment .img img {
        display: inline-block;
        vertical-align: middle;
        margin-bottom: 0;
    }

    .gym-environment .right .top .img {
        height: 100%;
        margin-top: 15px;
    }

    .gym-environment .right .down .l,  .gym-environment .right .down .r {
        width: 100%;
        margin-top: 25px;
    }

    .gym-environment .index_search {
        width: calc(100% - 32px);
        position: relative;
        bottom: -35px;
        left: 11px;
    }

    .gym-environment .index_search input[type=text] {
        height: 10.666667vw;
        line-height: 10.666667vw;
    }

    .gym-environment .index_search input[type=submit] {
        width: 29.333333vw;
        height: 10.4vw;
        line-height: 10.4vw;
        top: 0;
    }
}

@media screen and (max-width: 500px) {
  .gym-environment .index_search {
    bottom: -10px;
    left: 15px;
  }
}


/* ----- end button ------
------------------------------------------- */

.gym-environment .container {
    position: relative;
    z-index: 15;
}

.gym-environment .container .content {
    position: relative;
    z-index: 25;
}

.gym-environment .container .content img {
    border-radius: 25px;
    margin-bottom: 30px;
    width: revert-layer;
}

@media (max-width: 767px) {
    .gym-environment .container .content .img-2 {
        display: none;
    }
}
