/* OVERRIDE */
body {
    font-family: 'Maven Pro', sans-serif;
    font-size: 16px;
}
header {
    height: 110px;
    position: relative;
    z-index: 10;
}
.sticky-md-top {
    z-index: 1030 !important;
}
.fancybox__container {
    z-index: 1080;
}

.font-title {
    font-family: 'Sacramento', cursive;
    font-size: 60px;
}

/*.label {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 400;
    padding: 0px 4px;
}*/
.label.label-rounded {
    border-radius: 0.42rem;
}
.label.label-inline {
    width: auto;
    /*border-radius: 50%;*/
    font-size: 0.8rem;
    font-weight: 400;
    padding: 0px 4px;
}
.label.label-info {
    color: #ffffff;
    background-color: #8950FC;
}
.label.label-success {
    color: #ffffff;
    background-color: #1BC5BD;
}


.logo {
    max-height: 100px;
}
.logo-footer {
    max-height: 100px;
}
.avatar-guest {
    position: relative;
    top: 10px;
    padding-bottom: 10px;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.15));
    font-size: 1.25rem;
}
.avatar-guest::after {
    /* Override .dropdown-toggle::after */
    display: none;
}
.avatar-guest .menu {
    display: inline-block;
    width: 42px;
    height: 42px;
    text-align: center;
    background-color: #CCC;
    border: 1px solid #fff;
    font-weight: bold;
}
.avatar-guest .menu i {
    line-height: 40px;
}
.avatar-guest .menu span {
    font-size: 18px;
    line-height: 36px;
}

.avatar-modal {
    max-height: 110px;
}
.avatar-modal-big {
    max-height: 170px;
}
.avatar-header {
    max-height: 150px;
    z-index: 10;
    transition: all 0.3s;
    border-width: 5px !important;
    /*border: 5px solid #FFF !important;*/
}
.avatar-header.animate {
    max-height: 100px;
    border-width: 2px !important;
    /*border: 5px solid #FFF !important;*/
}
/*.avatar-bg {
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
    position: relative;
}
.avatar-bg .gradient {
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 30.0%),
        linear-gradient(0deg, rgba(255, 255, 255, 1) 10%, rgba(255, 255, 255, 0) 80.0%),
        linear-gradient(270deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 30.0%);
}
.avatar-bg .gradient .image {
    position: relative;
    z-index: -1;
    display: flex;
    justify-content: center;
    height: auto;
    width: auto;
}

.header-name {
    position: absolute;
    bottom: 0px;
    width: 100%;
}*/
.avatar-bg {
    position: relative;
    height: calc(100vh - 110px);
    min-height: 500px;
    overflow: hidden;
}

.avatar-bg .gradient {
    position: relative;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 30.0%),
    linear-gradient(0deg, rgba(255, 255, 255, 1) 10%, rgba(255, 255, 255, 0) 80.0%),
    linear-gradient(270deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 30.0%);
}

.avatar-bg .gradient .image {
    position: absolute;
    inset: 0; /* top: 0; bottom: 0; left: 0; right: 0 */
    z-index: -1;
}

.avatar-bg .gradient .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.header-name {
    position: absolute;
    bottom: 30px;
    width: 100%;
    z-index: 1; /* sobre la imagen */
}

.header-name .name-footer {
    /*font-family: 'Cinzel', serif;
    font-weight: 500;*/
    /*text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);*/
    color: #000;
}
.header-name .name-footer .name {
    font-family: 'Sacramento', cursive;
    font-size: 85px;
    /*text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);*/
}

.header-name .name-footer .o-years {
    font-size: 24px;
    /*text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);*/
}

.header-name .name-footer .o-years img {
    max-height: 70px;
    padding: 0px 30px;
}
.header-name .name-footer .info {
    font-size: 20px;
}



/* OBITUARIO */
.o-afteryears img {
    max-height: 300px;
}
.o-video {
    color: #FFFFFF;
    line-height: 22px;
}
.o-video .contain {
    border-radius: 10px 10px 0px 0px;
    width: 75%;
}
.o-video .title {
    font-weight: bold;
    font-size: 24px;
}
.o-video .subtitle {
    font-size: 19px;
}
.o-video .video-player {
    height: 480px;
}
.o-video .video {
    color: #FFF;
    display: inline-block;
    border-radius: 5px;
    padding: 5px
}




/* GUEST BOOK */
.guest-book {
}
.guest-book .img {
    display: inline-block;
    margin-left: -18px;
    border: 4px solid #FFF;
    width: 64px;
    height: 64px;
    line-height: 54px;
    cursor: pointer;
    font-size: 22px;
    overflow: hidden;
}
.guest-book .img img {
    margin-top: -4px;
}

.modal .modal-content {
    border-radius: 1.2rem;
    border: 0px;
}
.modal .modal-content .modal-header {
    border: 0px;
}

.modal-header .btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    opacity: 0.75;
}

.modal-dialog {
    height: auto; /* FIX PARA QUE EN FULL SCREEN SE VEA COMPLETO */
}

#modalGuestBook .modal-header {
	box-shadow: 0 1px 10px 1px rgba(0, 0, 0, 0.2);
}
#modalGuestBook .item .img {
    width: 60px;
    height: 60px;
    line-height: 55px;
    cursor: pointer;
    font-size: 24px;
    overflow: hidden;
    float: left;
}
#modalGuestBook .item .img .cropped {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

#modalLogin .modal-header, #modalGuestBookWrite .modal-header {
    display: block;    
    border-bottom: 0px;
}
@media (max-width: 991.98px) { 
    #modalLogin .modal-header, #modalGuestBookWrite .modal-header {
        border-bottom: 1px solid #dee2e6;
    }
}
#modalLogin .modal-body, #modalGuestBookWrite .modal-body {
    border-right: 1px solid #dee2e6;
}
@media (max-width: 991.98px) { 
    #modalLogin .modal-body, #modalGuestBookWrite .modal-body {
        border-right: 0px;
    }
}
#modalLogin .modal-content .name, #modalGuestBookWrite .modal-content .name {
    font-family: 'Sacramento', cursive;
    font-size: 50px;
}

#modalLogin .modal-content .o-years, #modalGuestBookWrite .modal-content .o-years {
    font-size: 24px;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
}

#modalLogin .btnRadio, #modalMyInfo .btnRadio, #modalMyRelationship .btnRadio {
    width: 76px;
    height: 76px;
    margin: 5px;
    padding-top: 11px;
}
#modalLogin .btnRadio:hover, #modalMyInfo .btnRadio:hover, #modalMyRelationship .btnRadio:hover {
	box-shadow: 0px 6px 6px -3px rgba(0,0,0,0.2),0px 10px 14px 1px rgba(0,0,0,0.14),0px 4px 18px 3px rgba(0,0,0,0.12);
}
#modalLogin .btnRadio i, #modalMyInfo .btnRadio i {
    font-size: 28px;
}
#modalLogin .form-control, #modalLogin .form-select, #modalGuestBookWrite .form-control, #modalGuestBookWrite .form-select, #modalMyInfo .form-control, #modalMyInfo .form-select, #modalMyRelationship .form-control, #modalMyRelationship .form-select {
    border: 0px solid #ced4da;
    border-bottom: 1px solid #ced4da;
    border-radius: 0;
}
#modalLogin .form-control:focus, #modalLogin .form-select:focus, #modalGuestBookWrite .form-control:focus, #modalGuestBookWrite .form-select:focus, #modalMyInfo .form-control:focus, #modalMyInfo .form-select:focus, #modalMyRelationship .form-control:focus, #modalMyRelationship .form-select:focus {
    border-bottom: 1px solid #808c96;
    box-shadow: none;
}

.modal:nth-of-type(even) {
/*    z-index: 562 !important;*/
    z-index: 1050 !important;
}
.modal:nth-of-type(odd) {
    /*    z-index: 562 !important;*/
        z-index: 1050 !important;
}
.modal:nth-of-type(2n) {
    z-index: 1060 !important;
}
.modal-backdrop.show:nth-of-type(even) {
/*    z-index: 561 !important;*/
    z-index: 1046 !important;
}


.memories-guests {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}
.memories-guests .arrows {
    height: 90px;
    width: 50px;
    line-height: 90px;
    cursor: pointer;
}
.memories-guests .arrows .fa-2x {
    font-size: 1rem;
}
.memories-guests .memories-leftarrow {
    position: absolute;
    left: 0px;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%,rgba( 255, 255, 255, 1) 100%);
}
.memories-guests .memories-rightarrow {
    position: absolute;
    right: 0px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%,rgba( 255, 255, 255, 1) 100%);
}
.memories-guests a {
    margin-right: -27px;
    padding-top: 55px;
    padding-left: 5px;
}
.memories-guests .img {
    display: inline-block;
    border: 4px solid #FFF;
    width: 70px;
    height: 70px;
    line-height: 62px;
    cursor: pointer;
    font-size: 24px;
    overflow: hidden;
}

.memories-guests .img img {
    margin-top: -6px;
}
.memories .no-memories {
    text-align: center;
}
.memories .footerBtnLoadMoreMemories {
    position: absolute;
    bottom: -50px;
    font-size: 14px;
    color: grey
}

.footerCopyRight {
    font-size: 12px;
    color: grey
}



/* EVENTS */
.events .title {
    font-family: 'Sacramento', cursive;
    font-size: 40px;
}
.events .info div:first-child {
    border-right: 1px solid rgb(196, 196, 196);
}
.events .video-player {
    height: 300px;
}
.events .video {
    color: #FFF;
    display: inline-block;
    border-radius: 5px;
    padding: 5px
}
.events button {
    color: #000;
}



footer .footerCopyRight {
    font-size: 18px;
    color: grey;
    font-variant-caps: small-caps;
}
footer h3 {
    font-variant-caps: small-caps;
}
footer hr {
	width: 140px;
    height: 2px;
    text-align: center;
    margin: 0 auto;
    opacity: 1;
    margin-bottom: 20px;
}
footer .name {
    font-family: 'Sacramento', cursive;
    font-size: 45px;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
}

footer .img-collage {
    position: relative;
}
footer .img-collage .divImg {
    top: 50%;
    left: 50%;
    position: absolute;
}
footer .img-collage .croppedA {
    width: 130px; /* width of container */
    height: 160px; /* height of container */
    object-fit: cover;
}
footer .img-collage .croppedB {
    width: 150px; /* width of container */
    height: 190px; /* height of container */
    object-fit: cover;
}
footer .img-collage .croppedC {
    width: 250px; /* width of container */
    height: 250px; /* height of container */
    object-fit: cover;
}
footer .img-collage img {
    border: 2px solid #000;
    border-radius: 2px;
    box-shadow: 0px 3px 5px -1px rgba(0,0,0,0.2),0px 5px 8px 0px rgba(0,0,0,0.14),0px 1px 14px 0px rgba(0,0,0,0.12);
}
footer .img-collage .img2 {
    transform: translate(-280%, -40%) rotate(-10deg);
    z-index: 8;
}
footer .img-collage .img3 {
    transform: translate(-170%, -50%) rotate(-4deg);
    z-index: 9;
}
footer .img-collage .img4 {
    transform: translate(70%, -50%) rotate(4deg);
    z-index: 9;
}
footer .img-collage .img5 {
    transform: translate(180%, -40%) rotate(10deg);
    z-index: 8;
}
footer .img-bottom-left {
    position: absolute;
    bottom: 0px;
    left: 0px;
    max-width: 420px;
}
footer .imgs {
    position: relative;
    text-align: center;
    height: auto;
}
footer .imgs .img-bottom-right {
    position: absolute;
    bottom: 0px;
    right: 0px;
    max-width: 420px;
    max-height: 380px;
}
footer .imgs .img-bottom-mobile {
    max-height: 250px;
    margin: 0 auto;
    text-align: center;
}
footer .copyright {
    padding: 10px 16px 8px;
    font-size: 14px;
    max-height: 380px;
}







/* OTHERS */
.separatorline {
	width: 100%;
	height: 2px;
	max-width: 520px;
    margin: 0 auto;
}



/* READMORE */
.readmore {
    position: relative;
    bottom: 100px;
    left: 0;
    width: 100%;
    margin: 0;
    padding-top: 110px;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), white);
    background-position: 0px 100px;
    margin-bottom: -100px;
    pointer-events: none;
}
.readmore a, .readless a {
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    color: rgb(37, 37, 37);
    padding: 10px;
    border-radius: 5px;
    pointer-events: all;
}
.readmore a:hover, .readless a:hover {
    background-color: rgb(247, 247, 247);
}

/* INFO WRAPPER */
.info-wrapper {
    border-bottom: 2px solid #739576;
    box-shadow: 0 10px 15px -5px rgba(0, 0, 0, 0.2);
}
.firstletter {
    font-family: 'Sacramento', cursive;
    font-size: 28px;
    line-height: 33px;
    padding-right: 5px;
    font-weight: bold;
}

.info-wrapper .nav-pills .nav-link {
    font-size: 20px;
}
.info-wrapper .nav-pills .nav-link.active,
.info-wrapper .nav-pills .show>.nav-link {
    background-color: transparent;
    color: #000 !important;
    border-bottom: 2px solid #000;
}


/*.info-wrapper .container-fluid {
    background: rgba(0, 0, 0, 0) repeat scroll 0% 0% / 50%;
    border-top: 1px solid #739576;
}*/

/* CARDS */
.memories .card-container {
    padding: 0px 10px;
}
.memories .card-container .card.pendingBorder {
    border: 2px solid #9c9c9c;
}
.memories .card-container .card .pending {
	color: #fff;
    top: -10px;
	right: 50%;
	display: flex;
	padding: 2px 16px;
	z-index: -1;
	position: absolute;
	font-size: 14px;
	transform: translate(50%, -50%);
	background: #9c9c9c;
	box-sizing: border-box;
	min-height: 26px;
	align-items: center;
	border-radius: 10px 10px 0px 0px;
	text-transform: uppercase;
}

.memories .card-container .card .deleteMemory {
    color: red;
    color: none;
    /*top: 0px;
    left: 90%;*/
    top: 0px;
    right: 0px;
    display: flex;
    padding: 6px 8px;
    z-index: 20;
    position: absolute;
    font-size: 14px;
    transform: translate(50%, -50%);
    background: rgb(232, 232, 232);
    box-sizing: border-box;
    min-height: 26px;
    align-items: center;
    border-radius: 20px;
    cursor: pointer;
}

.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 20px;
    margin: 10px;
    border: 0px;
}
.card .card-body {
    padding: 0px;
    margin-bottom: 20px;
}
.card .card-title {
    padding: 15px 60px;
    font-weight: bold;
    border-radius: 20px 20px 0px 0px;
}
.card .card-text {
    padding: 15px;
    border-radius: 8px 8px 0px 0px;
}
.card .card-guest {
    filter: drop-shadow(rgba(0, 0, 0, 0.125) 0px 4px 4px);
    cursor: pointer;
    color: #fafafa;
    position: absolute;
    top: -20px;
    left: -20px;
    /*top: -8px;
    left: -15px;*/
}
.card .card-guest .img {
    width: 40px;
    height: 40px;
    line-height: 35px;
    font-size: 16px;
    /*width: 70px;
    height: 70px;
    line-height: 65px;
    font-size: 24px;*/
    filter: drop-shadow(rgba(0, 0, 0, 0.125) 0px 4px 4px);
    cursor: pointer;

}


/* POPOVER */ 
.popover{
    max-width: 380px !important;
    box-shadow: 0px 6px 6px -3px rgba(0,0,0,0.2),0px 10px 14px 1px rgba(0,0,0,0.14),0px 4px 18px 3px rgba(0,0,0,0.12);
    border-radius: 12px;
    -moz-border-radius: 12;
    -webkit-border-radius: 12;
    border: 1px solid #CECECE;
    z-index: 1070;
    /*z-index: 1020;*/
    padding: 0px;
}

.bs-popover-auto[data-popper-placement^="bottom"] > .popover-arrow::after, .bs-popover-bottom > .popover-arrow::after {
	top: 1px;
	border-width: 0 .5rem .5rem .5rem;
	border-bottom-color: #F0F0F0;
}
.popover-body {
    height: 260px;
    width: 360px;
    overflow-y: auto;
    padding: 0.5rem;
    font-size: 16px;
    box-shadow: inset 0px 0px 6px 0px rgb(0 0 0 / 20%);
}
.popover-body .title {
    font-size: 18px;
    font-weight: 600;
}

.popover-header {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px; 
}

.popover-footer {
    padding: 6px 14px;
    text-align: center;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    font-size: 17px;
}
.popover-footer .arrow {
    cursor: pointer;
    color: #000;
}
.popover-footer .arrow i {
    font-size: 26px;
}



.croppedImage {
    width: 152px; /* width of container */
    height: 152px; /* height of container */
    object-fit: cover;
    transition: 500ms;
}
.croppedImage:hover {
    transform: scale(1.05);
}

/* CROPER JS */
.divBtnRotate {
    z-index: 10;
    top: 10px;
    left: 10px;
    text-shadow: 1px 1px 2px black;
    cursor: pointer;
}

/* SOCIAL MEDIA ICONS */
.share-btn-container a {
    margin: 5px 15px;
    transition: 500ms;
    display: inline-block;
}
.share-btn-container.small a {
    margin: 0px 8px;
}

.share-btn-container a i {
    font-size: 40px;
}

.share-btn-container.small a i {
    font-size: 30px;
}

.share-btn-container a:hover {
    transform: scale(1.2);
}

.share-btn-container .fa-facebook {
    color: #3b5998;
}

.share-btn-container .fa-twitter {
    color: #1da1f2;
}

.share-btn-container .fa-linkedin {
    color: #0077b5;
}

.share-btn-container .fa-pinterest {
    color: #bd081c;
}

.share-btn-container .fa-whatsapp {
    color: #25d366;
}

.share-btn-container .fa-envelope {
    color: #c71610;
}

.share-btn-container .fa-comment-sms {
    color: #27c848;
}

.share-btn-container .fa-link {
    color: #757575;
    cursor: pointer;
}

.modal-backdrop {
    z-index: 1045;
}


/* FORMS */
.error {
    font-size: 0.75rem;
    letter-spacing: 0.03333em;
    color: #FF0000;
    margin-left: 30px;
}