/*******************************************************
 *
 * Communities
 *
 *******************************************************/

 .ft-cont-agent.is-page-communities {
     display: block;
 }

 .ft-cont-agent.is-default{
    display: none;
 }


 .ip-comm-lines {
    position: absolute;
    content: '';
    bottom: 0;
    left: 44.9%;
    width: 100%;
    height: 27%;
    max-width: 43.778%;
    margin: 0 auto;
    z-index: 1;
    pointer-events: none;
}

.ip-comm-lines:before, .ip-comm-lines:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: rgba(8,48,93,.08);
}

.ip-comm-lines:after {
    height: 100%;
    right: 0;
    left: auto;
    z-index: -1;
}


 .ip-comm-elines {
    position: absolute;
    content: '';
    top: 0;
    left: 51.9%;
    width: 100%;
    height: 100%;
    max-width: 23.753%;
    margin: 0 auto;
    z-index: 2;
    pointer-events: none;
}

.ip-comm-elines:before, .ip-comm-elines:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 1px;
    height: 90%;
    background: rgba(8,48,93,.08);
}

.ip-comm-elines:after {
    height: 13%;
    right: 0;
    left: auto;
}



.ip-banner:before {
    background: rgba(0,0,0,0.31);
}

.ip-banner canvas {
    background-image: url(../../images/communities/communities-banner.jpg)!important;
}

 .ip-comm-main .global-title h2 {
     font-size: 6.875vw;
     letter-spacing: 0.020em;
     font-weight: 400;
 }

#ip-communities .parallax-title-accent .parallax-text h2 {
    -webkit-text-stroke-color: #dde1e5;
}

 .custom-container {
    width: 100%;
    padding: 0 4.500vw;
    margin: 0 auto;
}

#ip-communities  .parallax-title-accent.is-left .parallax-text-holder:last-of-type {
    left: -3.2%;
    top: 16%;
    bottom: auto;
}

html.safari-true #ip-communities .parallax-title-accent.is-left .parallax-text-holder:last-of-type {
    top: 0;
}


 .ip-comm-container {
     display: block;
     position: relative;
     padding: 6.563vw 0 8.5vw;
 }

 #ip-communities {
     font-size: 0;
     line-height: 1;
     letter-spacing: normal;
     overflow: hidden;
     /* margin-bottom: 5.938vw; */
 }

 .ip-comm-wrapper {
     display: block;
     position: relative;
     z-index: 2;
 }

 .ip-comm-main {
     display: block;
     position: relative;
 }

 .ip-comm-caption {
     display: block;
     position: relative;
     margin-top: 2.5vw;
 }

 .ip-comm-list {
     display: block;
     position: relative;
     margin: 0 -0.188vw;
 }

 .ip-comm-bg {
     position: absolute;
     top: 0;
     right: 0;
     width: 100%;
     height: calc(100% - 6.0625vw);
     pointer-events: none;
 }

 .ip-comm-title-wrap {
    display: block;
    position: relative;
    padding: 0 2.625vw 5.625vw 8.438vw;
}

.ip-comm-bg:before {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 21.605%;
    height: 7%;
    pointer-events: none;
    background: #06274b;
}

.ip-comm-bg:after {
    position: absolute;
    content: '';
    bottom: 0;
    left: calc((100vw - 9.063vw) / -2);
    width: calc(100vw / 2);
    height: 34.816%;
    pointer-events: none;
    background: #06274b;
}

 .ip-comm-bg-inner canvas {
     width: 100%;
     height: 100%;
     background-image: url(../../images/communities/comm-bg.jpg);
     display: block;
     -webkit-filter: grayscale(1);
             filter: grayscale(1);
     opacity: 0.15;
 }

 #inner-page-wrapper {
     margin-bottom: 0;
 }

 .ip-comm-item {
     display: inline-block;
     vertical-align: middle;
     width: calc(100% / 3);
     position: relative;
     padding: 0.188vw;
 }

 .ip-comm-item a {
     display: block;
     position: relative;
 }

 .ip-comm-img {
     display: block;
     position: relative;
 }

 .ip-comm-img canvas {
     display: block;
     width: 100%;
     background-position: center;
     background-size: cover;
     background-repeat: no-repeat;
     height: 100%;
     min-height: 20.313vw;
     background-color: #06274b;
 }

 .ip-comm-title {
     position: absolute;
     top: 50%;
     left: 0;
     right: 0;
     margin: 0 auto;
     -webkit-transform: translateY(-50%);
         -ms-transform: translateY(-50%);
             transform: translateY(-50%);
     display: block;
     width: 100%;
     text-align: center;
 }

 .ip-comm-title span {
     font-size: 1.625vw;
     font-weight: 600;
     line-height: 1;
     color: #fff;
 }

 .ip-comm-img:before {
     position: absolute;
     content: '';
     top: 0;
     left: 0;
     bottom: 0;
     right: 0;
     background: rgba(0,0,0,0.14);
     pointer-events: none;
     -webkit-transition: 0.3s all ease-in-out;
     -o-transition: 0.3s all ease-in-out;
     transition: 0.3s all ease-in-out;
 }

 .ip-comm-item a:hover .ip-comm-img:before {
     background: rgba(6,53,106,0.71);
 }

 .ip-comm-caption p {
     font-size: 1vw;
     font-weight: 300;
     line-height: 1.6;
     letter-spacing: 0.020em;
     color: #000000;
     font-family: var(--roboto);
 }



.ip-comm-bg-inner {
    display: block;
    position: relative;
    width: 32.218%;
    height: 100%;
    margin-left: auto;
    background-color: #fff;
    z-index: 2;
}

.ip-comm-bg-inner:before {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 5.625vw);
    height: calc(100% - 9.688vw);
    background: #fff;
    z-index: 1;
    content: '';
}

.ip-comm-btns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding: 0;
    margin-top: 4.063vw;
    width: 89%;
}

.ip-comm-btn {
    display: inline-block;
    vertical-align: middle;
    padding: 0 1.875vw;
}

.ip-comm-btn:first-child {
    padding-left: 0;
}

.ip-comm-btn:last-child {
    padding-right: 0;
}

#inner-page-wrapper > .container {
	color: 14vw;
    width: 100%;
    padding: 0;
}

body .parallax-text h2 {
	position: relative;
	top: 250px;
}


/*******************************************************
 *
 * 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) {

} 

/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {
    .parallax-title-accent.is-left .parallax-text-holder:last-of-type {
        left: -2%;
        top: 0;
    }

    #ip-communities{
        margin-bottom: 0;
    }
    
    .ip-comm-item {
        padding: 3px;
        width: calc(100% / 2);
    }

    .ip-comm-list {
        margin: 0 -3px;
    }

     .ip-comm-title span {
         font-size: 22px;
     }

      .ip-comm-main .global-title h2 {
         font-size: 65px;
     }

      .ip-comm-caption p {
         font-size: 14px;
     }


    .custom-container {
        padding: 0 30px;
    }

    .ip-comm-title-wrap {
        padding: 0 50px 50px 75px;
    }

    .ip-comm-container {
        padding: 80px 0 60px;
    }

    .ip-comm-bg-inner {
        width: 145px;
    }

    .ip-comm-bg-inner:before {
        height: calc(100% - 156px);
        width: 115px;
    }

    .ip-comm-bg:before {
        width: 145px;
    }

    .ip-comm-bg:after {
        left: 0;
        width: 30px;
        height: 25%;
    }

    .ip-comm-btns {
        width: 100%;
    }

    .ip-comm-btns {
          margin-top: 50px;
    }

    .ip-comm-caption {
        margin-top: 30px;
    }

    .ip-comm-elines {
        left: 0;
        right: 0;
        max-width: 70%;
    }

    .ip-comm-lines{
        display: none;
    }
    
} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {
    .ip-comm-item {
        width: 100%;
        padding: 0;
        display: block;
    }

    .ip-comm-list {
        margin: 0;
    }

    .ip-comm-item:not(:last-child) {
        margin-bottom: 6px;
    }

    .ip-comm-bg:before {
        width: 58px;
    }

    .ip-comm-bg-inner{
        width: 58px;
    }

    .ip-comm-title-wrap {
        padding: 0 15px 39px;
        text-align: center;
    }

    .ip-comm-main .global-title h2 {
        font-size: 45px;
        letter-spacing: normal;
    }

    .ip-comm-bg-inner:before {
        width: 28px;
        height: calc(100% - 198px);
    }

    .ip-comm-btn {
        display: block;
        padding: 0!important;
    }

    .ip-comm-btns {
        display: block;
        text-align: center;

    }

    .ip-comm-btn:not(:last-child) {
        margin-bottom: 36px;
    }

   

}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
     .custom-container {
        padding: 0 15px;
    }

    .ip-comm-main .global-title h2 {
        font-size: 35px;
    }

    .ip-comm-bg-inner:before {
        width: 25px;
    }

    .ip-comm-bg-inner {
        width: 40px;
    }

    .ip-comm-bg:before {
        width: 40px;
    }
}

@media only screen and (max-width: 360px) {
    .ip-comm-main .global-title h2 {
        font-size: 32px;
    }
}