/*******************************************************
 *
 * Blog
 *
 *******************************************************/

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

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


 .ip-blog-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-blog-lines:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: rgba(8,48,93,.08);
}

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


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

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

.ip-blog-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/blog/blog-banner.jpg)!important;
}

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

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

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

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

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


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

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

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

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

 .ip-blog-caption {
     display: block;
     position: relative;
     margin: 2.5vw auto 0;
     max-width: 62vw;
 }

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

 .ip-blog-title-wrap {
    display: block;
    position: relative;
    padding: 0 0 5.625vw;
    text-align: center;
}

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

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

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

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

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

 .ip-blog-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-blog-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-blog-title span {
     font-size: 1.625vw;
     font-weight: 600;
     line-height: 1;
     color: #fff;
 }

 .ip-blog-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-blog-item a:hover .ip-blog-img:before {
     background: rgba(6,53,106,0.71);
 }



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

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

.ip-blog-list{
    margin: 0 auto;
    width: 69vw;
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    justify-content: space-between;
}

.blog-item {
    display: inline-block;
    vertical-align: middle;
    width: 31.563vw;
    position: relative;
    transform: translateZ(0);
    transition: all ease .4s;
    -moz-transition: all ease .4s;
    -webkit-transition: all ease .4s;
    margin: 0 0 4.375vw;
}

.blog-item:hover {
        transform: translateY(-1.250vw);
}


.blog-img-wrap, .blog-img a {
    display: block;
    position: relative;
}

.blog-img a canvas {
    display: block;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
    background-color: #06356a;
}

.blog-img {
    display: inline-block;
    vertical-align: bottom;
    width: 100%;
}

.blog-readmore-btn {
    display: inline-block;
    vertical-align: bottom;
    width: 7.374%;
    height: 100%;
    position: absolute;
    bottom: 0;
    right: 0;
    background: #fff;
}

.blog-readmore-btn a {
    line-height: 2.5vw;
    font-size: 1vw;
    letter-spacing: 0.100em;
    font-weight: 500;
    color: #000;
    text-transform: uppercase;
    -webkit-writing-mode: tb-rl;
        -ms-writing-mode: tb-rl;
            writing-mode: tb-rl;
    -ms-transform: rotate(-180deg);
        transform: rotate(-180deg);
    -webkit-transform: rotate(-180deg);
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
    font-family: var(--jost);
    position: relative;
    display: block;
    margin: auto;
    height: 100%;
}

.blog-readmore-btn em.ai-icon-logo-sm {
    -webkit-filter: invert(1);
            filter: invert(1);
    -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
            transform: rotate(90deg);
    position: absolute;
    top: -0.438vw;
    left: 0;
    right: 0;
    display: block;
    line-height: 1;
    margin-left: auto;
    margin-right: auto;
}

.blog-info {
    display: block;
    position: relative;
    margin-bottom: 1.25vw;
    padding-top: 1.375vw;
}

.blog-content {
    display: block;
    position: relative;
    margin: 0 0 1.875vw;
}

.blog-info h2 {
    font-family: var(--encorpada);
    font-size: 1.563vw;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 0.020em;
    color: #000;
    display: block;
    margin-bottom: 1.125vw;
}

.blog-info h2 a {
    color: #000;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

.blog-info h2 a:hover {
    color: #06356a;
}

.blog-info span {
    font-family: var(--roboto);
    font-size: 0.813vw;
    line-height: 1;
    letter-spacing: 0.400em;
    color: #a6a6a6;
    text-transform: uppercase;
}

.blog-content p {
    font-family: var(--roboto);
    font-size: 1vw;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.020em;
    color: #000;
}
.blog-rm{}
.blog-rm a{
    font-size: 0.813vw;
    color: #06356a;
    font-weight: 600;
    letter-spacing: 0.200em;
    text-transform: uppercase;
}
.blog-rm a:before{
    content:'';
    display: inline-block;
    vertical-align: middle;
    height: 2px;
    width: 2.063vw;
    background: #b4c1d0;
    margin: 0 0.875vw 0 0;
}
.blog-rm a span{
    display: inline-block;
    vertical-align: middle;
}
.ip-blog-navs{
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
}
.ip-blog-navs .ip-blog-nav{
    width: 1.688vw;
    height: 1.688vw;
    border: 1px solid #a7a7a7;
    background-image:url(../../images/blog/blog-prev.png);
    background-size: 44.444% auto;
    background-position: center center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: all ease .4s;
    -moz-transition: all ease .4s;
    -webkit-transition: all ease .4s;
}
.ip-blog-navs .ip-blog-nav.ip-blog-next{
    background-image:url(../../images/blog/blog-next.png);
}
.ip-blog-navs .ip-blog-nav:hover{
    border: 1px solid #0c2847;
}
.ip-blog-navs .ip-blog-page{
    color: #0c2847;
    font-family: var(--roboto);
    margin: 0 0.938vw;
}
.ip-blog-navs .ip-blog-page a{
    display: inline-block;
    vertical-align: middle;
    font-size: 0.938vw;
    margin: 0 0 0 2.063vw;
}
/* .ip-blog-navs .ip-blog-page a:nth-of-type(1){
    margin: 0 0 0 0;
} */
.ip-blog-navs .ip-blog-page a:hover{
    color: #a7a7a7;
}
.ip-blog-navs .ip-blog-page span{
    font-size: 0.938vw;
    margin: 0 0 0 2.063vw;
}

.ft-cont-agent.is-page-communities{
    display: block;
}
.current {
    vertical-align: middle;
}

/*******************************************************
 *
 * 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-blog{
        margin-bottom: 0;
    }

    .ip-blog-caption{
        max-width: none;
    }

    .ip-blog-list {
        margin: 0 0;
        width: 100%;
    }
    .blog-item {
        width: calc(50% - 10px);
        margin: 0 0 40px;
    }
     .ip-blog-title span {
         font-size: 22px;
     }

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

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


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

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

    .ip-blog-container {
        padding: 80px 0 60px;
    }
    .blog-info {
        margin-bottom: 26px;
        padding-top: 29px;
    }
    .blog-info h2 {
        font-size: 25px;
        margin-bottom: 13px;
    }

    .blog-info span {
        font-size: 13px;
    }
    .blog-rm a {
        font-size: 13px;
        letter-spacing: 0.100em;
    }
    .blog-rm a:before {
        height: 2px;
        width: 33px;
        margin: 0 14px 0 0;
    }

    .blog-content p {
        font-size: 16px;
    }
    .ip-blog-navs .ip-blog-nav {
        width: 27px;
        height: 27px;
    }
    .ip-blog-navs .ip-blog-page {
        margin: 0 15px;
    }
    .ip-blog-navs .ip-blog-page a {
        font-size: 15px;
        margin: 0 0 0 15px;
    }
    .ip-blog-elines {
        display: none;
    }

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

}

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

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

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

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

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

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

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

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

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

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

    }

    .ip-blog-btn:not(:last-child) {
        margin-bottom: 36px;
    }
    .ip-blog-list{
        flex-flow: column wrap;
        align-items: center;
        justify-content: center;
    }
    .blog-item{
        width: 100%;
        max-width: 505px;
        text-align: center;
    }


}

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

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

    .blog-info h2 {
        font-size: 22px;
    }
    .ip-blog-navs .ip-blog-page{
        order: 1;
        width: 100%;
        margin: 0 0 30px;
        text-align: center;
    }
    .ip-blog-navs .ip-blog-nav{
        order: 2;
        margin: 0 10px;
    }
    .ip-blog-navs .ip-blog-nav.ip-blog-next{
        order: 3;
    }
}

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