/*******************************************************
 *
 * Community
 *
 *******************************************************/

body.page-template-community div#inner-page-wrapper > .container {
    width: 100%;
    padding: 0;
}

body.page-template-community div#inner-page-wrapper {
    margin-bottom: 0;
}


/*body.page-template-community #floating-form,
body.page-template-community #fixed-smi{
    display: none;
}*/

.img-canvas{
    position: relative;
    overflow: hidden;
}

.img-canvas canvas{
    display: block;
    width: 100%;
    height: auto;
}

.img-canvas img{
    position: absolute;
    position: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    transition: 0.3s;
}


/** First Section (STAT section) **/

.ip-comm-stat {
    width: 100%;
    max-width: max(1470px, 91.875vw);
    padding: 100px 20px 0;
    margin: 0 auto;
}

.ip-comm-stat-title {
    font-size: clamp(35px, 3.750vw,60px);
    text-transform: uppercase;
    font-weight: 400;
    text-align: center;
}

.stat-label {
    text-transform: uppercase;
    text-align: center;
    min-height: 40px;
}

.stat-label h2 {
    font-size: clamp(17px, 1.563vw,25px);
    letter-spacing: 0.025em;
}

.stat-label span {
    font-size: clamp(13px, 1.063vw,17px);
    display: block;
    padding-top: 2px;
}

.stat {
    text-transform: uppercase;
    text-align: center;
    position: relative;
    padding-top: 35px;
}

.stat-content .stat:nth-child(2) {
    padding-top: 65px;
}

.stat:before {
    position: absolute;
    content: '';
    width: 1px;
    height: 27px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
}

.stat-content .stat:nth-child(2):before {
    height: 57px;
}

.stat h3 {
    font-size: clamp(14px, 1.250vw,20px);
    font-weight: 600;
}

.stat span {
    font-size: 12px;
    letter-spacing: 0.025em;
    display: block;
    padding-top: 5px;
}

.ip-comm-stat-items {
    display: flex;
    align-items: self-end;
    justify-content: space-between;
    padding-top: 55px;
}

.ip-comm-stat-items .ip-comm-stat-item:first-child {
    width: 100%;
    max-width: calc((402/1430)*100%);
}

.ip-comm-stat-items .ip-comm-stat-item:nth-child(2) {
    width: 100%;
    max-width: calc((440/1430)*100%);
}

.ip-comm-stat-items .ip-comm-stat-item:last-child {
    width: 100%;
    max-width: calc((465/1430)*100%);
}

.stat-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: 10px;

}

.stat-content:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 1px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
}

.ip-comm-stat-items .ip-comm-stat-item:nth-child(2) .stat-content:before {
    max-width: calc((402/440)*100%);
}

.ip-comm-stat-items .ip-comm-stat-item:last-child .stat-content:before {
    max-width: calc((402/465)*100%);
}


/* Seconf section (TOC) */

.ip-comm-toc-inner {
    padding-top: 90px;
    position: relative;
}



.ip-comm-body-content-inner h3 {
    font-size: clamp(17px, 1.563vw,25px);
    letter-spacing: 0.025em;
    font-weight: 600;
}

.ip-comm-toc {
    padding: 0 30px;
}

.ip-comm-toc-left {
    width: calc((976/1540)*100%);
    display: flex;
    padding-bottom: 75px;
}

.ip-comm-toc-list {
    width: calc((587/904)*100%);
    padding-left: 10%;
    padding-top: 77px;
    margin-top: 50px;
    padding-bottom: 30px;
    position: relative;
    min-width: 290px;
}

.ip-comm-toc-list:before {
    position: absolute;
    content: '';
    width: 100%;
    height: calc(100% + 75px);
    top: 0;
    left: 0;
    background: #0712b5;
    z-index: -1;
}

.ip-comm-toc-photo {
    width: calc(100% - calc((388/904)*100%));
}

.ip-comm-toc-list h2 {
    font-size: clamp(20px, 1.875vw,30px);
    text-transform: uppercase;
    padding: 13px 0;
    color: #fff;
}

.ip-comm-toc-list ul li {
    font-size: 14px;
    letter-spacing: 0.01em;
    list-style: auto;
    list-style-position: inside;
    padding: 4px 0;
    color: #fff;
    line-height: 24px;
    padding-right: 20px;
}


.ip-comm-toc-welcome h2 {
    font-size: clamp(30px, 3.438vw,55px);
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1.2 ;
}

.ip-comm-toc-welcome p {
    line-height: 27px;
    letter-spacing: 0.03em;
    font-size: clamp(14px, 1.063vw,17px);
    margin: 18px 0 27px;
}

.ip-comm-toc-welcome {
    width: 100%;
    max-width: calc((820/1540)*100%);
    padding: 50px clamp(30px, 5.313vw,85px) 50px 50px;
    position: absolute;
    bottom: 0;
    right: 0;
    background: #fff;
}


/** Third Section (List)**/

.ip-comm-listings {
    padding: 90px 20px 80px;
}

.ip-comm-listings-inner {
    width: 100%;
    max-width: max(1460px, 91.25vw);
    margin: 0 auto;
}

.ip-comm-list-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.ip-comm-list-item {
    width: 100%;
    max-width: calc((468/1460)*100%);
    position: relative;
    margin-bottom: 28px;
}

.ip-comm-list-content {
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: 0;
    max-width: 357px;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px 10px;
    background: rgba(0,0,0,0.7);
}

.ip-comm-list-content span {
    display: block;
    font-size: clamp(12px, 0.938vw,15px);
    text-transform: uppercase;
    color: #fff;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.ip-comm-listings-btn {
    margin-top: 27px;
}

.ip-comm-listings-btn a {
    display: flex;
    width: 300px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 15px;
    border: 1px solid;
    transition: 0.3s;
    margin: 0 auto;
}

.ip-comm-listings-btn a:hover {
    background: #0712b5;
    color: #fff;
    border-color: #0712b5;

}

/** Main content **/

.ip-comm-content-entry p {
    line-height: 27px;
    letter-spacing: 0.03em;
    font-size: clamp(14px, 1.063vw,17px);
    margin: 18px 0 27px;
}

.ip-comm-content-entry h2 {
    font-size: clamp(30px, 2.813vw,45px);
    text-transform: uppercase;
}

.ip-comm-entry-welc {
    width: 100%;
    max-width: max(1530px, 95.625vw);
    padding-top: 100px;
    position: relative;
}

.ip-comm-entry-welc-text {
    width: 100%;
    max-width: max(1375px, 85.938vw);
    margin-right: 0;
    margin-left: auto;
}

.ip-comm-entry-welc-inner {
    width: calc((940/1375)*100%);
    background: #fff;
    padding: 70px 74px 0px 70px;
}

.ip-comm-entry-welc-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
    display: flex;
    justify-content: space-between;
    height: 100%;
}

.left-photo {
    width: calc((300/1530)*100%);
}

.right-photo {
    width: calc((566/1530)*100%);
}

.ip-comm-body-content-inner {
    width: 100%;
    max-width: max(1290px, 80.625vw);
    margin: 0 auto;
    padding: 15px 70px;
    padding-bottom: 7px;
}

.ip-comm-body-content h2 {
    padding-top: 30px;
}

.ip-comm-main-content .ip-comm-content-entry:nth-child(even) .ip-comm-entry-welc {
    margin-right: 0;
    margin-left: auto;
    padding-top: 80px;
}

.ip-comm-main-content .ip-comm-content-entry:nth-child(even) .ip-comm-entry-welc-text {
    margin-left: 0;
    max-width: max(1300px, 81.25vw);
}

.ip-comm-main-content .ip-comm-content-entry:nth-child(even) .ip-comm-entry-welc-inner {
    margin-right: 0;
    margin-left: auto;
    padding: 70px 65px 0px 45px;
    text-align: right;
    width: calc((1015/1300)*100%);
}

.ip-comm-main-content .ip-comm-content-entry:nth-child(even) .left-photo {
    width: calc((566/1530)*100%);
}

.ip-comm-main-content .ip-comm-content-entry:nth-child(even) .right-photo {
    width: calc((300/1530)*100%);
}

.ip-comm-main-content .ip-comm-content-entry:nth-child(even) .ip-comm-body-content-inner {
    text-align: right;
    padding-left: 50px;
}

.ip-comm-body-content ul li:after {
    position: absolute;
    content: '';
    width: 7px;
    height: 7px;
    left: 4px;
    top: 4px;
    background: #000;
}

.ip-comm-body-content ul li:before {
    position: absolute;
    content: '';
    left: 0;
    width: 15px;
    height: 15px;
    border: 1px solid;
    top: 0px;
}

.ip-comm-body-content ul li {
    position: relative;
    width: fit-content;
    padding-left: 40px;
    page-break-inside: avoid;
}

.ip-comm-main-content .ip-comm-content-entry:nth-child(even) ul li {
    padding-left: 0;
    padding-right: 40px;
}

.ip-comm-main-content .ip-comm-content-entry:nth-child(even) ul li:before {
    left: auto;
    right: 0;
}

.ip-comm-main-content .ip-comm-content-entry:nth-child(even) ul li:after {
    left: auto;
    right: 4px;
}

.four-col-list {
    column-count: 4;
    margin: 40px 0 0;
}

.four-col-list li p {
    margin: 0;
}

.four-col-list li {
    text-align: right;
    margin-left: auto;
    width: auto;
    margin-top: 20px;
    padding-bottom: 1px;
}
.four-col-list li:first-child{
    margin-top: 0;
}
.two-col-list {
    column-count: 2;
}

.ip-comm-content-entry {
    padding-top: 50px;
}

.ip-comm-main-content .ip-comm-content-entry:first-child {
    padding-top: 0;
}

.left-photo img {
    filter: brightness(0.4);
}

.ip-comm-main-content .ip-comm-content-entry:nth-child(even) .left-photo img {
    filter: none;
}

.ip-comm-main-content .ip-comm-content-entry:nth-child(even) .right-photo img {
    filter: brightness(0.4);
}

.ip-comm-toc-list ul li a{
    transition: 0.3s;
}

.ip-comm-toc-list ul li a:hover {
    color: #fff;
    opacity: 0.7;
}
/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/

 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {
    .ip-comm-toc-welcome {
        padding: 50px 30px;
    }

    .ip-comm-toc-list {
        padding-left: 6%;
    }

} 

/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {

    /* First Section */
    .ip-comm-stat-items {
        flex-direction: column;
        align-items: center;
    }

    .ip-comm-stat-item {
        max-width: 500px !important;
        margin-top: 70px;
    }

    /* Second Section */

    .ip-comm-toc-welcome {
        position: relative;
        max-width: 100%;
        padding: 50px 20px;
        text-align: center;
    }

    .ip-comm-toc-photo {
        width: 40%;
    }

    .ip-comm-toc-list {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .ip-comm-toc-left {
        width: 100%;
    }

    /* third section */

    .ip-comm-list-item{
        max-width: 48.5%;
    }

    /* main content */

    .ip-comm-entry-welc-inner {
        width: 100% !important;
    }

    .ip-comm-entry-welc-photo > div {
        width: 50% !important;
    }

    .ip-comm-entry-welc-photo {
        position: relative;
        max-width: 600px;
        margin: 0 auto;
    }

    .ip-comm-entry-welc-photo > div canvas {
        height: 400px;
    }

    .right-photo {
        margin-left: -50px;
        margin-right: 50px;
        margin-top: 50px;
        border-left: 10px solid #fff;
        border-top: 10px solid #fff;
    }

    .left-photo {
        margin-right: -50px !important;
        margin-left: 50px;
        margin-bottom: 50px;
    }

    .ip-comm-main-content .ip-comm-content-entry:nth-child(even) .left-photo img {
        filter: brightness(0.4);
    }
    .ip-comm-main-content .ip-comm-content-entry:nth-child(even) .right-photo img {
        filter: none;
    }

    .ip-comm-entry-welc-inner,
    .ip-comm-body-content-inner {
        text-align: center !important;
        padding: 50px 20px 0 !important;
    }

    .ip-comm-entry-welc {
        padding-top: 0 !important;
    }

    ul.four-col-list {
        column-count: 1;
        width: fit-content;
        margin: 0 auto;
    }

    .two-col-list {
        column-count: 1;
    }

    .two-col-list li {
        text-align: left;
    }



} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {

    /* Second Section */

    .ip-comm-toc-left {
        flex-direction: column;
        align-items: center;
    }

    .ip-comm-toc-list {
        width: calc(100% - 40px);
        background: #0712b5;
        padding: 50px 20px;
    }

    .ip-comm-toc-list:before{
        display: none;
    }

    .ip-comm-toc-list ul {
        width: fit-content;
        margin: 0 auto;
    }

    .ip-comm-toc-list h2 {
        text-align: center;
    }

    .ip-comm-toc-photo {
        width: calc(100% - 40px);
    }

    .ip-comm-toc-left{
        padding-bottom: 0;
    }

    .ip-comm-toc {
        padding: 0 0px;
    }

    /* Third section */

    .ip-comm-list-item{
        max-width: 500px;
        margin: 0 auto 28px;
    }

}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {

    .ip-comm-listings-btn a {
        width: 270px;
    }

    .ip-comm-entry-welc-photo {
        flex-direction: column;
        align-items: center;
    }

    .left-photo, .right-photo {
        margin: 10px 0 0!important;
        border: none;
    }

    .ip-comm-entry-welc-photo > div canvas {
        height: 200px;
    }

    .ip-comm-entry-welc-photo > div {
        width: 80% !important;
    }
}
 
