/* Text content page */

/* banner */
.main-contaniner-text-content .featured-image-container-pg {
    margin-bottom: 40px;
}

.featured-image-container-tc {
    background-position: 0px 0px !important;
}

/* conetent block */

.main-contaniner-text-content {
    margin-bottom: 80px
}

.container-text-contents .about-us-text-block {
    /* background-image:url(../images/about-us-image.jpg?v=2); */
    background-repeat:no-repeat;
    background-position:7px 0px
}

.container-text-contents .about-us-text-block section {
    background-color:#fff;
    padding:25px 40px 15px 40px;
    margin:34px 0;
    position:relative
}

.container-text-contents .about-us-text-block section img {
    width:135px;
    position:absolute;
    z-index:1;
    left:-44px;
    top:-35px
}

.container-text-contents .about-us-text-block section p {
    margin-bottom:0px;
    font-size: 16px;
}

.container-text-contents .about-us-text-block section p:last-child{
    font-weight:500
}

.container-text-contents .about-us-text-block section > * {
    z-index:2;
    position:relative
}

/* .container-text-contents .about-us-text-block section > h4{
    font-weight:800;
    font-size:23px;
    margin-top:0px;
    margin-bottom:0.7em
}

.container-text-contents .about-us-text-block section > h4:after{
    content:'';
    padding-top:0.7em;
    display:block;
    width:15%
} */

.container-text-contents .about-us-text-block section small{
    font-weight:600;
    font-size:12px
}

.container-text-contents .about-us-text-block h1,
.container-text-contents .about-us-text-block h2,
.container-text-contents .about-us-text-block h3,
.container-text-contents .about-us-text-block h4 {
    margin-bottom: 10px;
}

/* Photo gallery */

.photo-gallery {
    margin: 40px 0;
}

h2.block-title,
h1.block-title {
    margin-bottom: 30px;
}

.slick-initialized .slick-slide {
    padding: 0 4px;
}

.msacwl-gallery-caption {
    background: none;
}

.msacwl-gallery-caption span.image_title,
.msacwl-gallery-caption span {
    font-size: 19px;
    font-weight: 500;
}

.msacwl-gallery-slider button.slick-arrow, .msacwl-gallery-carousel button.slick-arrow {
    padding: 20px 20px !important;
    border-radius: 50% !important;
}

.msacwl-gallery-carousel button.slick-prev,
.msacwl-gallery-carousel button.slick-next {
    background-color: #ccc !important;
    outline: none;
}

.msacwl-gallery-carousel button.slick-prev:hover,
.msacwl-gallery-carousel button.slick-next:hover,
.msacwl-gallery-carousel button.slick-prev:focus,
.msacwl-gallery-carousel button.slick-next:focus {
    background-color: #0b3850 !important;
}

.msacwl-gallery-carousel button.slick-prev {
    left: -60px;
}

.msacwl-gallery-carousel button.slick-next {
    right: -60px;
}

.msacwl-gallery-slider .slick-dots, .msacwl-gallery-carousel .slick-dots {
    bottom: -35px;
}

.msacwl-gallery-slider .slick-dots, .msacwl-gallery-carousel .slick-dots li {
    margin: 0 5px !important;
}

/* Orther stories */

.main-contaniner-text-content .other-stories h1,
.photo-gallery h2.block-title {
    font-size: 30px;
    font-weight: 400;
}

.main-contaniner-text-content .other-stories h1 > *,
.photo-gallery h2.block-title > *,
h1.block-title > * {
    vertical-align: middle;
    display: inline-block;
}

.main-contaniner-text-content .other-stories #posts-wrapper {
    margin-top: 20px;
}

/* .mfp-content img.mfp-img {
    width: 80%;
} */

.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
    top: 5px !important;
}

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
    cursor: inherit !important;
}

/* .mfp-with-zoom.mfp-ready .mfp-container,
.mfp-figure figure {
    background: #000;
} */

/* Journey block */
.text-content-journey-form {
    margin-top: 40px;
    overflow: hidden;
}
body.page-template-text-contents .main-content .main-contaniner-text-content > .container article.journey-block {
    margin-bottom:20px
}
body.page-template-text-contents .main-content .main-contaniner-text-content > .container article.journey-block header {
    background-color:#0b3850;
    color:#fff;
    padding:15px 50px 15px 30px;
    font-size:17px;
    position:relative
}
body.page-template-text-contents .main-content .main-contaniner-text-content > .container article.journey-block header .toggle {
    position:absolute;
    right:13px;
    top:13px;
    height:28px;
    cursor:pointer;
    padding:0px 8px;
    border:1px solid #fff;
    border-radius:2px
}
body.page-template-text-contents .main-content .main-contaniner-text-content > .container article.journey-block header .toggle.active img {
    transform:rotate(90deg)
}
body.page-template-text-contents .main-content .main-contaniner-text-content > .container article.journey-block .journey-block-content {
    display:none
}
body.page-template-text-contents .main-content .main-contaniner-text-content > .container article.journey-block .journey-block-content .col {
    background-color:#fff;
    padding:30px;
    width: 100%;
    margin-top: 20px;
}
body.page-template-text-contents .main-content .main-contaniner-text-content > .container article.journey-block .journey-block-content .col .text-and-images {
    margin-top:30px;
    padding-left:155px;
    width:100%;
    position:relative;
    min-height:560px
}
body.page-template-text-contents .main-content .main-contaniner-text-content > .container article.journey-block .journey-block-content .col .text-and-images .images {
    position:absolute;
    right:300px;
    top:0px;
    text-align:right
}
body.page-template-text-contents .main-content .main-contaniner-text-content > .container article.journey-block .journey-block-content .col .text-and-images .images img {
    margin-bottom:30px;
    max-width:none
}
body.page-template-text-contents .main-content .main-contaniner-text-content > .container article.journey-block .journey-block-content .col .text-and-images .images img:last-child {
    margin-bottom:0px
}
body.page-template-text-contents .main-content .main-contaniner-text-content > .container article.journey-block .journey-block-content .col .read-more {
    display:inline-block;
    margin-top:15px
}

/* Text Box post */

.text-box-block-content {
    background: #fff;
    padding: 40px;
}

.content-text-box {
    padding: 40px;
}

.cover-container {
    margin-top: -80px;
}

@media only screen and (max-width: 768px) {
    .featured-image-container-tc {
        background-position: 0px 0px !important;
    } 
}

@media only screen and (max-width: 480px) {
    

    .msacwl-gallery-carousel button.slick-prev {
        left: 0px;
    }
    
    .msacwl-gallery-carousel button.slick-next {
        right: 0px;
    }

    .container-text-contents .about-us-text-block {
        background-position: -137px -50px;
    }

    .container-text-contents .about-us-text-block > div {
        padding: 240px 0 0 0;
    }
}

