/* Home slider block */
#block-views-slidershow-main-slidershow .post-image{height:300px; overflow: hidden;}
#block-views-slidershow-main-slidershow .post-image img{min-height:300px;}

/* Home people block*/
#block-views-main-post-block .post-image{height: 220px; overflow: hidden}
#block-views-main-post-block .post-image img{min-height:220px;}
#block-views-main-post-block .post-title{max-height: 100px;}

/* Footer video block */
#footer-featured-videos .post-image{height: 160px; overflow: hidden}
#footer-featured-videos .post-image img{min-height:160px;}

/* News home page */
#news-page .field-item-img{height: 280px; overflow: hidden}
#news-page .field-item-img img{min-height: 280px}
#news-page .sidebar-inner .post-image{height:80px; overflow: hidden;}

/* Article home page */
#article-page .field-item-img{height: 280px; overflow: hidden}
#article-page .field-item-img img{min-height: 280px}
#article-page .sidebar-inner .post-image{height:80px; overflow: hidden;}

/* Event home page */
#event-page .field-item-img{height: 280px; overflow: hidden}
#event-page .field-item-img img{min-height: 280px}
#event-page .sidebar-inner .post-image{height:80px; overflow: hidden;}

/* People home page */
#people-page .post-content{overflow: hidden;}
#people-page .field-item-img{height: 360px; overflow: hidden}
#people-page .field-item-img img{min-height: 360px;}

/* Places home page */
#place-page .field-item-img{height: 180px; overflow: hidden}
#place-page .field-item-img img{min-height: 180px;}
#place-page .sidebar-inner .post-image{height:80px; overflow: hidden;}

/* Society home page */
#society-page .field-item-img{ height: 260px; text-align: center; background:#eee; border:1px solid #eee; line-height: 260px; overflow: hidden}
#society-page .field-item-img img{max-height: 260px;}
#society-page .post-title a {color:#0099CC;}
#society-page .sidebar-inner .post-image{height:80px; overflow: hidden;}

/* Video home page */
#video-page .post-image{height: 200px; overflow: hidden}
#video-page .post-image img{min-height:200px;}

/* general classes */
.PLZero{padding-left: 0 !important;}


/*Admin Dashboard for front-end style*/
.site-dashboard{position: fixed; top:0; left:0; width: 100%; z-index: 9999; background: #3c8dbc; color:#fff; height: 50px; overflow: hidden; }
.site-dashboard ul{margin: 0; padding: 0;}
.site-dashboard ul li{list-style: none; line-height: 50px; display: inline-block; margin-right: 15px;}
.site-dashboard ul li:last-child{margin-right: 0;}
.site-dashboard ul li a{color: #fff;}
.site-dashboard ul li a:hover{color: #ccc;}
/**/

.error-msg{color:#ff0000; font-size: 11px;}

/*
* Common
 */
.p-0 {
    padding: 0 !important;
}
.p-1 {
    padding: 8px 16px !important;
}
.m-05 {
    margin: 8px 8px 8px 0;
}
.pt-1 {
    padding-top: 16px;
}
.pb-2 {
    padding-bottom: 20px !important;
}
.mt-05 {
    margin-top: 5px;
}
.mt-1 {
    margin-top: 10px;
}
.mt-2 {
    margin-top: 20px;
}
.mt-3 {
    margin-top: 30px;
}
.mt-4 {
    margin-top: 40px;
}
.ml-2 {
    margin-left: 20px;
}
.mr-05 {
    margin-right: 5px;
}
.mr-1 {
    margin-right: 10px;
}
.mr-2 {
    margin-right: 20px;
}
.mb-05 {
    margin-bottom: 5px;
}
.mb-1 {
    margin-bottom: 10px;
}
.mb-2 {
    margin-bottom: 20px;
}
.mb-3 {
    margin-bottom: 30px;
}
.m-x-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}
.border-m {
    border: 1px solid #6BA2D5;
}
.border-f {
    border: 1px solid #CEA0B7;
}
.color-m {
    color: #6BA2D5;
}
.color-f {
    color: #CEA0B7;
}
.color-l {
    color: #F7CD02;
}
.color-d {
    color: #ccc;
}
.bg-g0 {
    background: #f4f4f4;
}
.bg-g1 {
    background: #f4f4f4;
}
.bg-g2 {
    background: #f4f4f4;
}
.lead-ta {
    font-size: 18px;
}
.nowrap {
    text-wrap: nowrap;
}

.table-res {
    overflow-x: scroll;
    padding: 8px;
    background-color: #f4f4f4;
    border-radius: 8px;
}
.family-table {
    border-radius: 8px;
}
.family-table small {
    font-size: 10px;
}
.family-table,
.family-table tr,
.family-table th,
.family-table td {
    border: none;
    padding: 0 !important;
    background-color: #f4f4f4;
}
.family-table .person-card {
    border-color: #ddd;
    width: 300px;
}
.family-card-td {
    display: flex;
    align-items: center;
    padding: 0 8px;
}
.family-card {
    margin: 8px auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 16px;
    display: inline-flex;
}
.child-card-td {
    display: flex;
    align-items: center;
    padding: 0 8px;
}
.child-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px;
    margin: 8px;
}
.child-card .plus-icon {
    text-align: center;
    padding: 8px 0;
}
.child-card-small {
    margin: 8px auto;
}
.family-card .person-card {
    align-self: center;
}
.family-card .plus-icon {
    padding: 40px 8px;
}

.person-card > table,
.person-card > table > tbody > tr,
.person-card > table > tbody > tr > td,
.person-card > table > tbody > tr > th {
    border: none;
    padding: 4px;
}
.bg-g1 .person-card {
    width: 320px;
}
.person-card {
    position: relative;
    border: 1px solid #f4f4f4;
    border-radius: 8px;
    padding: 8px;
}
.person-card .light-overlay {
    left: 16px;
    width: 10px;
}
.person-card.home-card .lead-ta {
    font-size: 16px;
}
.person-card.home-card .person-card__img {
    width: 90px;
    height: 120px;
}
.person-card.home-card .person-card__cat {
    display: none;
}
.people-card {
    width: 100%;
}
.person-card__warp {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.person-card__name {
    margin-bottom: 8px !important;
}
.person-card__img {
    width: 60px;
    height: 80px;
    margin-right: 8px;
    border-radius: 8px;
    overflow: hidden;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

.people-card .person-card__img {
    width: 120px;
    height: 160px;
}
.person-card__info {
    flex: 1;
}
.person-card__info i {
    margin-right: 8px;
}

/*
* Obituary
*/
.obituary-card {
    border: 1px solid #f4f4f4;
    border-radius: 8px;
    position: relative;
    width: 100%;
    padding: 0;
    overflow: hidden;
}
.obituary-card .person-card__img {
    width: 90px;
    height: 120px;
    filter: grayscale(100%);
    margin-right: 0;
}
.obituary-card__date {
    font-size: 13px;

    @media (min-width: 768px) {
        font-size: 14px;
    }
}
.obituary-card table {
    margin-bottom: 0;
    border: none;
}
.obituary-card table th {
    text-transform: uppercase;
    vertical-align: middle;
    font-weight: normal;
    border-top: none;
    border-color: #f4f4f4;
    color: #999;
}
.obituary-card table tr:last-child td,
.obituary-card table tr:last-child th {
    border-bottom: none;
}
.obituary-card table td {
    border-color: #f4f4f4;
    border-top: none;
    border-right: none;
    vertical-align: middle;
}
.light-overlay {
    z-index: 9;
    width: 16px;
    position: absolute;
    bottom: 16px;
    right: 16px;
}

/**
 * Kalvetdu
 */
.kalvetdu-card {
    font-size: 18px;
    border: 1px solid #f4f4f4;
    background: #f4f4f4;
    border-radius: 8px;
    padding: 16px 8px;

    @media (min-width: 768px) {
        font-size: 24px;
        padding: 24px;
    }
}
.kalvetdu-card h3 {
    text-shadow: 1px 1px #ccc;
}
.kalvetdu-card-small .kalvetdu-card {
    font-size: 18px;
    padding: 10px 16px;
}
.kalvetdu-card-small .label {
    font-size: 12px;
}
.kalvetdu-card-small .kalvetdu-card__img {
    width: 120px;
    height: 160px;
}
.home-card .kalvetdu-card .birth {
    display: none;
}
.home-card .kalvetdu-card .death {
    width: 50%;
}
.home-card .kalvetdu-card__img {
    margin-left: 24px;
}
.kalvetdu-card .label {
    color: #999;
    font-size: 14px;
    border-top: double 2px;
    font-weight: normal;
    margin-top: 16px;
}
.kalvetdu-card .fa-star {
    font-size: 16px;
    padding: 8px 0;
    color: #F7CD02;
}
.kalvetdu-card__img {
    width: 150px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0 auto;
    box-shadow: 2px 2px #999;

    @media (min-width: 768px) {
        width: 180px;
        height: 240px;
    }
}

/*
* Business
*/
.business-card.home-card .lead {
    font-size: 18px;
}
.business-card.home-card .business-card__img {
    width: 90px;
    height: 90px;
}
.business-card.home-card .business-card__cat {
    display: none;
}
.business-card {
    border: 1px solid #f4f4f4;
    border-radius: 8px;
    padding: 8px;
    max-width: 580px;
    width: 100%;
}
.business-card__warp {
    display: flex;
    flex-wrap: wrap;
}
.business-card__name {
    margin: 8px 0 !important;
}
.business-card__img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-left: 2px;
}
.business-card__info {
    flex: 1;
}
.business-card__info i {
    margin-right: 8px;
    color: #A4A4A4;
    width: 16px;
    text-align: center;
}
.business-logo {
    max-height: 40px;
    width: auto;
}

/*
* News
*/
.news-card {
    position: relative;
    border: 1px solid #f4f4f4;
    border-radius: 8px;
    padding: 8px;
    max-width: 580px;
    width: 100%;

    @media (min-width: 768px) {
        min-height: 140px;
    }
}
.news-card__img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    margin-right: 8px;

    @media (min-width: 768px) {
        width: 160px;
        height: 120px;
    }
}
.news-card__warp {
    display: flex;
    flex-wrap: wrap;
    align-items: start;

    @media (min-width: 768px) {
        align-items: center;
    }
}
.news-card__info {
    flex: 1;
}
.news-card__info i {
    margin-right: 8px;
}
.post-created {
    text-transform: uppercase;
    color: #A4A4A4;
}
.video-overlay {
    color: #fff;
    position: absolute;
    left: 20px;
    top: 16px;
}

/**
 * Blog card
 */
.blog-card {
    border: 1px solid #f4f4f4;
    border-radius: 8px;
    padding: 8px;
    min-height: 90px;
}

/*
 * Places
 */
.place-pin {
    z-index: 10;
    position: absolute;
    top: 50px;
    left: 140px;
    font-size: 24px;
    color: #fff;
}
.place-card__warp {
    display: flex;
    flex-wrap: wrap;
    max-height: 220px;
    overflow: hidden;
}
.place-card__img {
    width: 104px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    flex: 1;
    margin: 4px;
}

/*
* Flyer
*/
.flyer-card {
    background-color: #f4f4f4;
    border-radius: 8px;
    padding: 8px;
    width: 100%;
    height: 400px;
}
.flyer-card__img {
    width: 100%;
    height: 384px;
    border-radius: 8px;
    overflow: hidden;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

/*
 * Video
 */
.video-card {
    border: 1px solid #f4f4f4;
    border-radius: 8px;
    padding: 8px;
}
.video-card__img {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 10px;
}
.video-card__title {
    height: 60px;
    overflow: hidden;
}

/*
* Ads
 */
.ads-card {
    border-radius: 8px;
    min-height: 200px;
    border: 1px solid #f4f4f4;
    overflow: hidden;
    text-align: center;
}
.ads-card img {
    border-radius: 8px;
    max-width: 100%;
}

/*
* Footer
 */
.footer-separator {
    background: #F6F7F9;
    height:40px;
    margin: 30px 0;
}

/*
 *  Slider
 */
.home-slider {
    background-color: #f4f4f4;
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
}

/*
 * Source
 */
.source-card {
    background-color: #f4f4f4;
    border-radius: 8px;
    padding: 4px 16px;
    font-size: 9px;
    font-style: italic;
}

/*
 * Contact card
 */
.contact-card {
    display: inline-block;
    background-color: #f4f4f4;
    border-radius: 8px;
    padding: 4px 16px;
    margin-bottom: 20px;
}
.form-control-feedback {
    visibility: hidden;
}

/*
 * Footer
 */
.footer-left {
    @media (min-width: 768px) {
        float: left;
    }
}
.footer-right {
    float: left;

    @media (min-width: 768px) {
        float: right;
    }
}

/**
 * Wish card
 */
.wish-card {
    font-size: 20px;
    max-width: 300px;
    padding-top: 16px;
    display: inline-flex;

}
.wish-card i {
    margin-right: 20px;
    line-height: 64px;
    font-size: 32px;
    color: #bb5548;
    font-weight: bold;
}

/**
 * Article list
 */
.article-list {
    margin-left: 16px;
}
.article-list li i {
    padding-right: 8px;
    color: #999;
}

.display-hidden {
    display: none;
}

.td-display-hidden-md {
    display: none;

    @media (min-width: 481px) {
        display: table-cell;
    }
}

.table-responsive {
    overflow-x: scroll;
}
.load-more {
    display: flex;
}
