body{
    background-color: black;
}

.ss1{
    background-image: url(../_img/cowork/1x/ss1_bg.jpg?2);
}
.ss1 .page_texts{
    margin-top: 60px;
    color: white;
    text-align: center;
    display: flex;
    width: fit-content;
    height: fit-content;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}
.ss1 .page_title{
    display: flex;
    font-size: 45px;
    font-family: NsquareEB;
    flex-direction: column;
    flex-wrap: nowrap;
}
.ss1 .page_title hr{
    width: 100%;
    height: 2px;
    margin: 0;
    border: 0;
    background-color: white;
}
.ss1 .page_description{
    margin-top: 20px;
    font-size: 16px;
    font-family: NSquareL;
}

/* @@@@@@@@ page2 START @@@@@@@@@ */
.p2_inner{    
    width: 1400px;
    max-width: 100%;
    display: flex;
    margin: 0px auto;
    position: relative;
    padding: 0px 100px 120px 100px;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 30px;
}

.cowork_sub_menu{
    width: 1000px;
    max-width: 100%;
    height: 50px;
    display: flex;
    flex-direction: row;
    margin-top: 65px;
}

.sub_menu_button{
    width: 50%;
    height: 100%;
    border: 0px solid black;
    background-color: white;
    color: #4D4D4D;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    position: relative;
}

.sub_menu_bt_txt{
    z-index: 9;
    transition: color 0.4s ease-in;
}

.sub_menu_button:hover .sub_menu_bt_txt{
    color: white;
}

.sub_menu_button:hover .more_bt_B_bg{
    left: -10%;
    opacity: 1;
}
.sub_menu_button:hover .more_bt_B_bg2{
    right: -10%;
    opacity: 1;
}
.more_bt_B_bg{
    top: -80%;
}
.more_bt_B_bg2{
    top: -150%;
}
.more_bt_B_bg, .more_bt_B_bg2{
    background-color: #332B7F;
    height: 500%;
}

.sub_menu_button.on{
    background-color: #332B7F;
    color: white;
}

.cowork_container{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.p2_teams_container{
    display: flex;
    width: 1150px;
    max-width: 100%;
    margin-top: 50px;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
}

.p2_team_img{
    display: flex;
    flex-direction: column;
    height: fit-content;
    width: 100%;
}
.p2_team_img img{
    width: 100%;
}

.team_title{
    color: white;
    font-size: 40px;
    font-family: NSquareB;
    margin-top: 20px;
    margin-bottom: 20px;
}
.team_line{
    border: none;
    background-color: white;
    height: 1px;
    width: 100%;
}
.team_detail{
    display: flex;
    flex-direction: column;
    color: white;
    font-family: NSquareR;
    font-size: 16px;
    padding-left: 35px;
    line-height: 20px;
}
.team_detail .subtitle{
    font-size: 24px;
    font-family: NSquareB;
    margin-top: 25px;
    margin-bottom: 25px;
}
.team_detail .txts{

}
.link{
    margin-left: 1px;
    margin-top: 4px;
    color: white;
    font-size: 12px;
    font-family: NSquareR;
    background-color: #767792;
    padding: 2px 0px 2px 4px;
    width: fit-content;
}
.link a{
    color: #BF272D;
    font-size: 12px;
    font-family: NSquareR;
    padding: 2px 10px;
    background-color: white;
}
.link a:hover{
    text-decoration: underline;
}

/* ######## page2 END ######### */


@media screen and (min-width:991px) and (max-width:1200px)  {
    .p2_inner {
        padding: 0px 20px 40px 20px;
    }
    .sub_menu_bt_txt{
        font-size: 14px;
    }
}


@media screen and (max-width: 990px), (orientation: portrait) {
    .p2_inner {
        padding: 0px 20px 40px 20px;
    }
    .team_thumb div {
        width: 135px;
        height: 135px;
    }
    .p2_team_line{
        height: 30px;
    }
    .team_title{
        font-size: 26px;
    }
    .team_authors{
        font-size: 14px;
    }
    .team_subtitle{
        font-size: 12px;
    }
    .team_abstract{
        font-size: 13px;
    }
    .team_detail{
        padding-left: 10px;
    }
    .team_detail .subtitle{
        font-size: 16px;
    }
    .team_detail .txts{
        font-size: 14px;
    }

    @media screen and (max-width: 500px){
        .team_thumb div {
            display: none;
        }
        .team_texts{
            padding-left: 10px;
        }
        .sub_menu_bt_txt{
            font-size: 12px;
        }
        .p2_inner{
            padding: 0px 5px 20px 5px;
        }
        .cowork_sub_menu{
            margin-top: 30px;
        }
    }
}

@media screen and (max-width:1200px){
    .cowork_sub_menu .sub_menu_button{
        padding-left: 5px;
        padding-right: 5px;
    }
    
}