﻿@charset "utf-8";

html, body {
    font-family: 'Gill Sans for JL',Gill Sans,Gill Sans MT,Calibri,sans-serif;
    color:#53565a;
    margin:0;
    font-size:12px;
}

@font-face {
    font-family: 'Gill Sans for JL';
    src: url('/assets/johnlewis__site/fonts/gillsansforjl-regular.eot');
    src: url('/assets/johnlewis__site/fonts/gillsansforjl-regular.eot?') format('eot'),
    url('/assets/johnlewis__site/fonts/gillsansforjl-regular.woff2') format('woff2'),
    url('/assets/johnlewis__site/fonts/gillsansforjl-regular.ttf') format('truetype'),
    url('/assets/johnlewis__site/fonts/gillsansforjl-regular.svg#svgFontName') format('svg');
    font-weight: normal;
}
@font-face {
    font-family: 'Gill Sans for JL';
    src: url('/assets/johnlewis__site/fonts/gillsansforjl-bold.eot');
    src: url('/assets/johnlewis__site/fonts/gillsansforjl-bold.eot?') format('eot'),
    url('/assets/johnlewis__site/fonts/gillsansforjl-bold.woff2') format('woff2'),
    url('/assets/johnlewis__site/fonts/gillsansforjl-bold.ttf') format('truetype'),
    url('/assets/johnlewis__site/fonts/gillsansforjl-bold.svg#svgFontName') format('svg');
    font-weight: bold;
}

html, body {
    font-family: 'Gill Sans for JL',Gill Sans,Gill Sans MT,Calibri,sans-serif;
}

.nounderline:hover {
    text-decoration: none;
}
/******************************************** bootstrap overrides */

body{
    color:#141414;
    letter-spacing: 0.06em;
    word-spacing: 0.1em;
}

a {
    color: #060a29;
}
a:hover{
    color: #ed003c;
}

.mh-50 {
    max-height: 50% !important;
}
.overflow-hidden{
    overflow: hidden;
}

.btn-primary{color:#141414;background-color:#fff;border-color: #fff;}
.btn-primary:hover {color: #fff;background-color: #6b6b6b;border-color: #6b6b6b;}
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {color: #f2f2f2;background-color: #060a29;border-color: #060a29;}


.bg-black{background-color:#141414;border-color: #141414;}
.bg-black1{background-color:#060a29;border-color:#060a29;}
.bg-grey{background-color:#f2f2f2;border-color:#f2f2f2;}
.bg-grey1{background-color:#d8d8d8;border-color:#d8d8d8;}
.bg-grey2{background-color:#6b6b6b;border-color:#6b6b6b;}
.bg-blue{background-color:#1d3754;border-color:#1d3754;}
.bg-red{background-color:#ed003c;border-color:#ed003c;}
.text-black{color:#141414!important;}
.text-black1{color:#060a29!important;}
.text-grey{color:#f2f2f2!important;}
.text-grey1{color:#d8d8d8!important;}
.text-grey2{color:#6b6b6b!important;}
.text-blue{color:#1d3754!important;}
.text-red{color:#ed003c!important;}
.border-grey{border-color:#f2f2f2!important;}

.rounded-0 {
    border-radius: 0 !important;
}
.rounded-1 {
    border-radius: .5rem !important;
}

.display-5 {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2em;
}
.display-6 {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.2em;
}
.display-7 {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.2em;
}
.display-8 {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.8em;
}
.display-9 {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.4em;
}
.display-10 {
    font-size: 0.8rem;
    font-weight: 300;
    line-height: 1em;
}

.line-height-0 {
    line-height: initial;
}
.line-height-1 {
    line-height: 1em;
}
.line-height-2 {
    line-height: 1.2em;
}
.line-height-3 {
    line-height: 1.5em;
}

/* reset tooltip css */
div.tooltip {
    position: inherit;
    width:inherit;
    height: inherit;
    padding:inherit;
    font-size: inherit;
    color: inherit;
    background:inherit;
    border: inherit;
    border-radius: inherit;
    text-shadow: inherit;
    box-shadow: inherit;
    top:inherit;
    right:inherit;
}

div.tooltip:after {
    content: inherit;
    position: inherit;
    width: inherit;
    height: inherit;
    border-width:inherit;
    border-style: inherit;
    border-color: inherit;
    top: inherit;
    right:inherit;
}
/*.light4box > .tooltip {
display: none;
}
.light4box:hover > .tooltip {
display: block;
}*/

@media (max-width: 575px) {
    body{font-size: 9px;}
}

@media (min-width: 576px) {
    body{font-size: 10px;}
}

@media (min-width: 768px) {
    body{font-size: 11px;}
}

@media (min-width: 992px) {
    body{font-size: 12px;}
}

@media (min-width: 1200px) {
    body{font-size: 14px;}
}

/******************************************** header */
.HeaderLogo .Logo{
    margin: 0 auto;
    padding-top:8px;
    width:100%;
    max-width:510px;
}
.HeaderLogo .Logo a{
    float: left;
}
.HeaderLogo .Logo img{
    height:8rem;
}
.HeaderLogo .HeaderSubTitle {
    font-size: 3rem;
    font-weight: normal;
    color: #628d3d;
    padding-left: 0.6em;
    float:left;
    line-height:1;
    margin-top: -4px
}

.HeaderAppoint{
    text-align:center;
    padding-top:4px;
    float:left;
}
.HeaderAppoint figure {
    margin: 0;
    text-align:center;
}
.HeaderAppoint figure img {
    height:41px;
    float:left;
}
.HeaderAppoint figcaption{
    font-size: 0.7em;
    width:150px;
    line-height: 1.2em;
    margin-top: 0.1em;
    padding-left: 1em;
    text-align: left;
    vertical-align:top;
    float:left;
}


.HeaderNav .nav-item{
    padding-right:.6rem;
}
.HeaderNav .btn.searchSubmit {
    width: 50px;
    height: 50px;
}
.HeaderNav{
    background-color: #f2f2f2 !important;
    color:#fff;
}


/******************************************** footer */
.FooterNav p{
    font-size:1.2rem;
}
.FooterNav .poweredby{
    font-size:1rem;
}


/******************************************** home carousel */
#carouselHome{max-height:600px;}
#carouselHome .carousel-item{max-height:600px;}
.carousel-control-next,.carousel-control-prev{width:5vw;}
.carousel-control-next-icon,.carousel-control-prev-icon{color:#fff;}
.center-cropped{
    width:100%;
    height:100%;/*300px;*/
    max-height:600px;/*400px;*/
    background-position:center center;
    background-repeat:no-repeat;
    background-size:cover;
    overflow:hidden;
}
/* Set the image to fill its parent and make transparent */
.center-cropped img{
    min-height:100%;
    min-width:100%;
    /* IE 8 */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    /* IE 5-7 */
    filter:alpha(opacity=0);
    /* modern browsers */
    opacity:0;
}
#carouselHome .carousel-caption{background-color:transparent;text-align:left;}
#carouselHome .carousel-caption a:link{color:#fff;}
#carouselHome .carousel-caption a:visited {color:#fff;}
/*#carouselHome .carousel-caption h5{font-size:1em;}*/

.gradient-img-black:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.90) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.90) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.90) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#f2000000',GradientType=0 ); /* IE6-9 */

    /*background-image: linear-gradient(to bottom right, #002f4b, #dc4225);
    opacity: .6;*/
}



#carouselHome .carousel-caption p{
    color:#fff;
    /*    font-size: 0.5em;*/
}
@media (max-width: 575px) {
    #carouselHome .carousel-caption h3{
        font-size:1.2rem;
        padding-bottom:1rem;
    }
}



#carouselHome .carousel-controls {
    position: absolute;
    z-index: 15;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    list-style: none;

    right: 0;
    top: inherit;
    bottom: 12.8rem;
    width:100px;
    height:40px;
    left:inherit;
    padding-left: 0;
    margin-right:0;
    margin-left:0;
    background-color: #fff;
    padding-top:5px;
    text-align: center;
}
#carouselHome .carousel-controls.rounded-left {
    border-top-left-radius: .35rem!important;
    border-bottom-left-radius: .35rem!important;
}
#carouselHome .carousel-controls .carousel-control{
    width:15px;
    padding-top:2px;
    padding-right:2px;
    padding-left:2px;
    margin-left:3px;
    margin-right:3px;
    color: #dcdddf;
    text-indent: 0;
    text-align:center;
    float:left;
}

#carouselHome .carousel-controls .carousel-control.right{
    float:right;
    right:10px;
}
#carouselHome .carousel-indicators {
    bottom: 0;
    padding: 0;
    position: relative;
    float: left;
    width:50%;
    text-align:center;
    margin: 0 auto;
    right: 0;
    left: 4px;
    top:0;
    /*    top: 170px;
    width:100px;
    height:40px;
    left:inherit;
    padding-left: 0;
    margin-right:0;
    margin-left:0;
    background-color: #fff;
    padding-top:5px;*/
}

#carouselHome .carousel-indicators li.carouselDot{
    height:10px;
    width:15px;
    margin-top:10px;
    border-radius: 50%;
    background-color: rgba(109,166,23,0.3);
}
#carouselHome .carousel-indicators li.carouselDot:hover {
    background-color: #ed003c;
}
#carouselHome .carousel-indicators li.carouselDot.active {
    background-color: #141414;
}

#carouselHome .carousel-indicators li.carouselArrow{
    width:35px;
    padding-top:3px;
    margin-left:3px;
    margin-right:3px;
    color: #dcdddf;
    text-indent: 0;
    text-align:center;
}
#carouselHome .carousel-indicators li.carouselArrow:hover {
    color: #ed003c;
}



/******************************************** body cards */

.row.BaseCardsHeader{
    padding-left:15px;
    padding-right:15px;
}
.display-reset{
    font-size: 1em;
}
.BaseCardsHeader h2, h2.BaseCardsHeader{
    font-size:2.5rem;
    font-weight:bold;
}
.BaseCardsHeader .fa-stack{
    font-size:1.2rem;
}

.BaseCards .card{
    border: 0px solid #141414;
    /*background-color: #141414;*/
}
.BaseCards .card, .BaseCards .card p{
    color: #fff;
}

#SocialCards .BaseCards .card .card-body-icon{
    position:relative;
    top:-1.25rem;
    left:-1.25rem;
    width:5em;
    height:5em;
}

#SocialCards .BaseCards .card .card-text a{
    font-weight: bold;
}

.BaseCards.card-deck .card, .BaseCards.card-group .card {
    max-width: calc(50% - 30px); /*2 cols*/
    min-height: calc(50vw + 30px);
}

@media (max-width: 575px) {
    .BaseCards.card-deck .card, .BaseCards.card-group .card {
        max-width: calc(100% - 30px); /*1 col*/
        min-height: calc(100vw + 30px);
    }
}

@media (min-width: 576px) {
    .BaseCards.card-deck .card, .BaseCards.card-group .card {
        max-width: calc(50% - 30px); /*2 cols*/
        min-height: calc(90vw + 30px);
    }
}

@media (min-width: 768px) {
    .BaseCards.card-deck .card, .BaseCards.card-group .card {
        /*max-width: calc(33% - 30px); /*3 cols*/
        max-width: calc(50% - 30px); /*2 cols*/
        min-height: calc(67vw + 30px);
    }
}

@media (min-width: 992px) {
    .BaseCards.card-deck .card, .BaseCards.card-group .card {
        /*max-width: calc(25% - 30px); /*4 cols*/
        /*max-width: calc(33% - 30px); /*3 cols*/
        max-width: calc(50% - 30px); /*2 cols*/
        min-height: calc(50vw + 30px);
    }
}

@media (min-width: 1200px) {
    .BaseCards.card-deck .card, .BaseCards.card-group .card {
        /*max-width: calc(20% - 30px); /*5 cols*/
        /*max-width: calc(25% - 30px); /*4 cols*/
        max-width: calc(33% - 30px); /*3 cols*/
        /*max-width: calc(50% - 30px); /*2 cols*/
        min-height: calc(40vw + 30px);
    }
}

@media only screen and (min-width: 990px)
.BaseCards .grid_img_block {
    min-height: 240px;
    max-height: 340px;
}
.BaseCards .grid_img_block, .BaseCards .news_img_block {
    position: relative;
    width: 100%;
    /*min-height: calc(25vw + 30px);*/
    height: auto;
    overflow: hidden;
    /*margin-bottom: 20px;*/
}
.BaseCards .grid_img,.BaseCards .news_img {
    width: 100%;
    height: auto;
}
.BaseCards .grid_img img, .BaseCards .news_img img {
    width: 100%;
    height: auto;
    display: inline-block;
    position: absolute;
    /*top: 0;*/
    bottom: 90px; /* pull image to above caption */
    /*margin-bottom: 20px;*/
}
.BaseCards .grid_desc_block,.BaseCards .news_desc_block {
    width: 100%;
    min-height: 90px;
    color: #fff;
    padding: 0.5rem 1.2rem;
    position: absolute;
    bottom: 0;
}
@media only screen and (min-width: 990px)
.BaseCards .grid_desc_block {
    height: 90px;
}
.BaseCards .grid_desc,.BaseCards .news_desc {
    min-height: 41px;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0.6rem 0rem 0.5rem;
}
@media (max-width: 1199.98px)
.BaseCards .news_date {
    margin-top: 0.3rem;
}

.BaseCards .grid_desc>a,.BaseCards .news_desc>a {
    color: #fff;
}
.BaseCards .news_desc>a {
    color: #fff;
}

.BaseCards .mark, .BaseCards mark {
    /*padding: .2em;*/
    background-color: #f2f2f2;
    background-color: rgba(238, 238, 238, 0.2);
    color: inherit;
}

#SocialCards .BaseCards .grid_img img{
    width: auto;
    min-width:100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, 0%);
    -ms-transform: translate(-50%, 0%);
    -webkit-transform: translate(-50%, 0%);
    -moz-transform: translate(-50%, 0%);
    -o-transform: translate(-50%, 0%);
}
#SocialCards .BaseCards .news_img img {
    max-width: inherit;
}
#PressCards .card-title{
    min-height: 60px;
}

#PressCards .card-caption{
    min-height: 60px;
}


@media (max-width: 575px) {
    #PressCards .BaseCards.card-deck .card, #PressCards .BaseCards.card-group .card {
        min-height: calc(100vw + 130px);
    }
}

@media (min-width: 576px) {
    #PressCards .BaseCards.card-deck .card, #PressCards .BaseCards.card-group .card {
        min-height: calc(50vw + 130px);
    }
}

@media (min-width: 768px) {
    #PressCards .BaseCards.card-deck .card, #PressCards .BaseCards.card-group .card {
        min-height: calc(33vw + 130px);
    }
}

@media (min-width: 992px) {
    #PressCards .BaseCards.card-deck .card, #PressCards .BaseCards.card-group .card {
        min-height: calc(33vw + 130px);
    }
}

@media (min-width: 1200px) {
    #PressCards .BaseCards.card-deck .card, #PressCards .BaseCards.card-group .card {
        min-height: calc(25vw + 130px);
    }
}

@media only screen and (min-width: 990px)
#PressCards .BaseCards .grid_img_block {
    max-height: 100vw;
}
}
/******************************************** home page subscribe banner */

.HomeNewsletter2 .card-body{
    min-height:12rem;
}
.HomeNewsletter{
    max-height: 500px;
}
.HomeNewsletter .subscribe-text p{
    font-size:1.2rem;
}
.HomeNewsletter .btn, .HomeNewsletter2 .btn{
    font-size:1.8rem;
    width:100%;
    text-align:left;
}

.HomeNewsletter .subscribe-instagram{
    width: 40%;
    overflow: hidden;
    background-color: #f2f2f2;
    color: #fff;
    position: relative;
    bottom: 10rem;
    left: 2rem;
    font-size:1.3rem;
}

@media (max-width: 575px) {
    .HomeNewsletter .subscribe-text h2 {
        font-size: 2rem;
    }
    .HomeNewsletter .btn{
        font-size: 1rem;
    }
}


/********************************** forms */
.custom-select {
    background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 2 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h0zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right .75rem center;
    height:auto;
}

#searchfrm .btn.searchSubmit {
    width: 42px;
    height: 42px;
}



/* Zoom Out #1 */
.hover03 figure img {
    -webkit-transform: scale(1.9);
    transform: scale(1.9);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;

    position: absolute;
    margin: auto;
    /*min-height:100%;*/
    width:auto;
    top: 0;
    left: 0;
    right: 0;
    /*    bottom: 0;*/
}
.hover03 figure:hover img {
    -webkit-transform: scale(1);
    transform: scale(1);
}


/* Zoom In #1 */
.hover01 figure img {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;

    position: absolute;
    margin: auto;
    /*min-height:100%;*/
    width:auto;
    top: 0;
    left: 0;
    right: 0;
    /*    bottom: 0;*/

}
.hover01 figure:hover img {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
}


/*****************************************  press release */
#PressCards .card{
    /*background-color: #141414;*/
}



.news_img {
    background: #ccc;
    align-items: center;
    display: flex;
    height: 23.14rem;
    justify-content: center;
    width: 100%;
    overflow: hidden;
}
.news_img img {
    display: inline-block;
    max-height: 100%;
    max-width: 100%;
    height:100%;

    -webkit-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}
.news_img:hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.zoomin {
    align-items: center;
    display: flex;
    justify-content: center;
    width: 100%;
    height: auto;
    overflow: hidden;
}
.zoomin img {
    display: inline-block;
    max-height: 100%;
    max-width: 100%;
    /*height:100%;*/
    -webkit-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}
.zoomin:hover img{
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

/*
.ShowMoreBox {
width: inherit;
float: inherit;
padding: inherit;
}
.ShowMoreRow {
float: inherit;
padding: inherit;
border-top: inherit;
}
.ShowMoreRow a {
font-weight: inherit;
font-size: inherit;
color: inherit;
text-decoration: inherit;
float: inherit;
padding: inherit;
background: inherit;
}
.ShowMoreRow a:hover {
color: inherit;
}
.ShowMoreRow a:hover {
padding: inherit;
}
*/

#PressArticle .mainbanner.row{
    max-height:calc(100vh /2);
    overflow:hidden;
}

#PressArticle .mainbody p{
    padding-top:10px;
    padding-bottom:10px;
}


#pr_share {
    background-color: #f5f5f5;
    left: 75px;
    padding: 5px 0;
    position: absolute;
    top: 0;
    z-index: 100;
}
/* iframe
.PoupWrpIn{
width: 100vw !important;
}
.PoupImgBox, .PoupTxtBox {
width: calc(50vw - 15px) !important;
}
.PoupTxtBotm{
width: 100%;
}
*/


.PoupWrpIn{
    width: 100%; /*100vw !important;*/
    max-width: 940px;
}
.PoupImgBox{
    width: 50%;
}
.PoupTxtBox {
    width: calc(50% - 15px) !important; /*calc(50vw - 15px) !important;*/
}
.PoupTxtBotm{
    width: 100%;
}

.centerImage{
    display: flex;
    justify-content: center;
    align-items: center;
}






.ImgTxtListRiXYZ > .SrhIconGalImg, .ListViewImgXYZ .SrhIconGalImg,
.ImageGalXYZ .SrhIconGalImg, .SliderBigImgXYZ .SrhIconGalImg,
.SliderImgTxtBoxXYZ > .SrhIconGalImg,
.FeaListXYZ > .SrhIconGalImg, .ImgListRiXYZ
.SrhIconGalImg, .SrhLimgBoxXYZ .SrhIconGalImg {
    display:none;
}
.ImgTxtListRiXYZ > div:hover .SrhIconGalImg, .ListViewImgXYZ:hover .SrhIconGalImg,
.ImageGalXYZ:hover .SrhIconGalImg, .SliderBigImgXYZ:hover .SrhIconGalImg,
.SliderImgTxtBoxXYZ > div:hover .SrhIconGalImg, .FeaListXYZ > div:hover
.SrhIconGalImg, .ImgListRiXYZ:hover .SrhIconGalImg,
.SrhLimgBoxXYZ:hover .SrhIconGalImg {
    display: block;
}
.SrhIconGalImg a img{
    padding-top:10em;
}
.SrhIconGalImg a {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.3);
}
@media only screen and (max-width: 760px) {
    .SrhIconGalImg a{
        background: none !important;
    }
    .SrhIconGalImg a img{
        display:  none !important;
    }
}

#slider-range .ui-widget-header {
    background: #6b6b6b;
}

.first-handle, .second-handle, .first-handle:hover, .first-handle:focus, .second-handle:hover, .second-handle:focus {
    top: -5px !important;
    cursor: pointer !important;
    border: none !important;
    outline: none;
    outline-color: transparent;
    height: 20px !important;
}
.first-handle, .first-handle:hover, .first-handle:focus {
    background-image: none !important;
}

.first-handle, .second-handle{
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    border: 1px solid #d8d8d8 !important;
    border-radius: 50% !important;
    background: #fff !important;
    cursor: pointer !important;
    transition: background .15s ease-in-out !important;
}
.first-handle:hover, .first-handle:active, .second-handle:hover, .second-handle:active{
    background: #1abc9c !important;
}
.first-handle:focus, .second-handle:focus{
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px #1abc9c;
}

.cat-listing ul li {
    border: 0;
}
.cat-listing li {
    padding:0;
    border: 0;
    border-left: 1px solid #d8d8d8;
    /*border-left: 1px solid #d8d8d8;
    border-width: 0 0 1px 1px;*/
}
.cat-listing li ul {
    margin:0;
    height:100%;
    border:0;
    border-left: 1px solid #d8d8d8;
    /*border-top: 1px solid #d8d8d8;*/
}
.cat-listing li ul li:last-child ul {
    border-left: 1px solid #d8d8d8;
    margin-left: 0;
}
form .control__indicator {
    /*position: absolute;
    top: 2px;
    left: 0;*/
    margin:0 auto;
    height: 15px;
    width: 15px;
    background: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 2px;
}
form .control--checkbox .control__indicator:after {
    margin:0 auto;
    width: 0.4em;
    height: 0.9em;
    border: solid #000;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);
}
form .labeltxt.active{
    font-weight:bold;
}


.imagedetailrow{
    padding-bottom:1em;
}



.card-columns {
    @include media-breakpoint-only(lg) {
        column-count: 4;
    }
    @include media-breakpoint-only(xl) {
        column-count: 5;
    }
}

.texteditor p,
.texteditor a,
.texteditor ul,
.texteditor li,
.texteditor h1,
.texteditor h2,
.texteditor h3,
.texteditor h4,
.texteditor h5,
.texteditor from {
    padding:0;
    margin:0;
}
.texteditor p,
.texteditor h1,
.texteditor h2,
.texteditor h3,
.texteditor h4,
.texteditor h5 {
    padding-top:1em;
}
b, strong {
    font-weight: bold;
}




.popular_img_block {
    overflow: hidden;
    /*background-color: #016157;*/
    /*-webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.4), 0 2px 4px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.4), 0 2px 4px 0 rgba(0, 0, 0, 0.5);*/
}

.popular_img_box {
    width: 100%;
    height: 16.75rem;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    /*display: flex;*/
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    /*background-color: #ffffff;*/
}
.popular_img_box:hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}
.popular_img_box img {
    max-width: 100%;
    max-height: 100%;
    display: inline-block;
    -webkit-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}
.popular_view_img {
    width: 100%;
    height: 100%;
    background-color: rgba(1, 97, 87, 0.8);
    opacity: 0;
    -webkit-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    position: absolute;
    top: 0px;
    left: 0px;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.popular_view_img a {
    width: 100%;
    display: block;
    /*border: 1px solid #FFFFFF;
    border-radius: 4px;
    font-family: 'CartoGothicPro-Light';
    font-size: 1rem;
    color: #ffffff;*/
    text-align: center;
    padding: 1.4rem 2rem;
    margin: 0px 5rem;
}
.popular_img_box_text a {
    max-height: 27px;
    overflow: hidden;
}

.imagelibrary_title {
    height: 30px;
    overflow: hidden;
}
.popular_img_box_text small {
    display: block;
    font-size: 1rem;
}

@media (max-width: 1199.98px) {
    .popular_img_box {
        height: 23.95rem;
    }
}
@media (max-width: 767.98px) {
    .popular_img_box {
        height: 19.8rem;
    }
}

img.logo140x60{
    width: 100%;
    height: 100%;
    max-width:140px;
    max-height:60px;
    vertical-align: middle;
}

img.logo150x96{
    width: 100%;
    height: 100%;
    max-width:150px;
    max-height:96px;
    vertical-align: middle;
}


.loading_modal{
    display:none;
    position:fixed;
    z-index:1000;
    top:0;
    left:0;
    height:100%;
    width:100%;
    background:rgba(255,255,255,.8) 50% 50% no-repeat;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns:svg='http://www.w3.org/2000/svg' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.0' width='64px' height='64px' viewBox='0 0 128 128' xml:space='preserve'><script type='text/ecmascript' xlink:href='//preloaders.net/jscripts/smil.user.js'/><rect x='0' y='0' width='100%' height='100%' fill='%23FFFFFF' /><g><path d='M38.52 33.37L21.36 16.2A63.6 63.6 0 0 1 59.5.16v24.3a39.5 39.5 0 0 0-20.98 8.92z' fill='%23000000' fill-opacity='1'/><path d='M38.52 33.37L21.36 16.2A63.6 63.6 0 0 1 59.5.16v24.3a39.5 39.5 0 0 0-20.98 8.92z' fill='%23c0c0c0' fill-opacity='0.25' transform='rotate(45 64 64)'/><path d='M38.52 33.37L21.36 16.2A63.6 63.6 0 0 1 59.5.16v24.3a39.5 39.5 0 0 0-20.98 8.92z' fill='%23c0c0c0' fill-opacity='0.25' transform='rotate(90 64 64)'/><path d='M38.52 33.37L21.36 16.2A63.6 63.6 0 0 1 59.5.16v24.3a39.5 39.5 0 0 0-20.98 8.92z' fill='%23c0c0c0' fill-opacity='0.25' transform='rotate(135 64 64)'/><path d='M38.52 33.37L21.36 16.2A63.6 63.6 0 0 1 59.5.16v24.3a39.5 39.5 0 0 0-20.98 8.92z' fill='%23c0c0c0' fill-opacity='0.25' transform='rotate(180 64 64)'/><path d='M38.52 33.37L21.36 16.2A63.6 63.6 0 0 1 59.5.16v24.3a39.5 39.5 0 0 0-20.98 8.92z' fill='%23c0c0c0' fill-opacity='0.25' transform='rotate(225 64 64)'/><path d='M38.52 33.37L21.36 16.2A63.6 63.6 0 0 1 59.5.16v24.3a39.5 39.5 0 0 0-20.98 8.92z' fill='%23c0c0c0' fill-opacity='0.25' transform='rotate(270 64 64)'/><path d='M38.52 33.37L21.36 16.2A63.6 63.6 0 0 1 59.5.16v24.3a39.5 39.5 0 0 0-20.98 8.92z' fill='%23c0c0c0' fill-opacity='0.25' transform='rotate(315 64 64)'/><animateTransform attributeName='transform' type='rotate' values='0 64 64;45 64 64;90 64 64;135 64 64;180 64 64;225 64 64;270 64 64;315 64 64' calcMode='discrete' dur='720ms' repeatCount='indefinite'></animateTransform></g></svg>");
}
body.loading{overflow:hidden;}
body.loading .loading_modal{display:block;}



.mainbanner {
    max-height:500px;
    overflow: hidden;
}


.TxtListRiXYZ{
    min-height:220px;
}

.img_fit, .img_middle{
    float: left;
    /*width: 500px;
    height: 500px;*/
    width:100%;
    height:100%;
    position: relative;
    background: #fff;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    overflow: hidden;
}

.mh-250px{
    max-height:250px;
}
.h-250px{
    height:250px;
}

.story-description p{
    padding-top:.5em;
    padding-bottom:.5em;
}

.img_middle img.wide {
    height: 100%;
    width: auto;
}
.img_middle img.tall {
    max-width: 100%;
    height: auto;
}
.img_fit img.tall {
    height: 100%;
    width: auto;
}


@media print {
    .container {
        width: auto;
    }
    .story-description p{
        padding-top:.1em;
        padding-bottom:.1em;
    }
}



.pdf-thumb-box{
    position:relative !important; 
    overflow: hidden;
}
.pdf-thumb-box-overlay {
  visibility:hidden;
  opacity:0;
  transition:visibility 0s linear 0.5s,opacity 0.5s linear;
}
.pdf-thumb-box{
    color:transparent;
}
.pdf-thumb-box:hover .pdf-thumb-box-overlay {
    visibility:visible;
    opacity:1;
    transition-delay:0s;
    text-align:center;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    width:100%;
    height:100%;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
}
.pdf-thumb-box-overlay span {
    margin: auto;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0
}

#bplate p{
    padding-top:0.6em;
    display:block;
    width:100%;
}
.copy-input-height{height:90px;}