/*-----------------------------------------------------------------------------------

	Theme Name: Memorial Eterno
	Description: Landing Page of Memorial Eterno
	Author: Grupo Autofin México
	Version: 1

-----------------------------------------------------------------------------------*/


/*-----------------------------------------------------------------------------
	Fonts
-----------------------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville&family=Roboto:wght@300;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Pinyon+Script&display=swap');


/*-----------------------------------------------------------------------------
	General CSS
-----------------------------------------------------------------------------*/

body {
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	color: #626262;
	-webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 2s; /* Firefox < 16 */
        -ms-animation: fadein 2s; /* Internet Explorer */
         -o-animation: fadein 2s; /* Opera < 12.1 */
            animation: fadein 2s;
}

.chat {
	width: 50px;
    height: 50px;
    bottom: 60px;
    right: 15px;
    background-color: #7d7874;
    color: #FFFFFF;
    z-index: 10;
    padding: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 400ms;
}

.chat:hover {
	background-color: #FFFFFF;
	color: #00205c;
	text-decoration: none;
}

a {
	color: inherit;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

strong, b {
	font-weight: 700;
}

#wrapper {
	position: relative;
	float: none;
	width: 100%;
	margin: 0 auto;
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
	-moz-box-shadow: 0 0 10px rgba(0,0,0,0.1);
	-webkit-box-shadow: 0 0 10px rgba(0,0,0,0.1);
	display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.icon-li {
	color: #00205c;
	border: 1px solid #FFFFFF;
    border-radius: 50%;
    padding: 3px;
    font-size: 0.6rem;
}

#content {
	position: relative;
	overflow: hidden;
	flex: 1 0 auto;
}

.content-wrap {
	position: relative;
	padding: 50px 0;
}

.color {
	color: #00205c!important;
}

.phrase {
	font-family: 'Pinyon Script', cursive;
}

.text-black {
	color: #000000!important;
}

.center-vertically {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	align-items: center;
	justify-content: center;
}

.section {
	position: relative;
	width: 100%;
}

#breadcrumb {
	background-color: #e9ecef;
    font-size: 0.85rem;
}

.breadcrumb-item > a {
	color: #6c757d;
}

.breadcrumb-item.active {
    color: #00205c;
}

.parallax-window {
    min-height: 350px;
    background: transparent;
    color: #FFFFFF;
    padding: 6rem 0px;
    text-align: center;
    border-top: 10px solid #c0bfc0;
    border-bottom: 10px solid #c0bfc0;
}

.title-section {
	font-family: 'Libre Baskerville', serif;
	color: #00205c;
	letter-spacing: 0.5rem;
	text-transform: uppercase;
}

.list-services {
    font-size: 0.9rem;
}

.text-parallax {
	font-family: 'Libre Baskerville', serif;
	color: #00205c;
	max-width: fit-content;
    margin: 0 auto;
}

.title-casket {
	text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.shadow-md {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.45)!important;
}

.btn-casket {
	background-color: #00205c;
	color: #FFFFFF;
	border-radius: 0;
}

.btn-casket:hover {
	color: #FFFFFF;
}

.text-address {
	line-height: 1.1rem;
	text-align: center;
	min-height: 68px;
	font-size: 0.9rem;
}

.item-section-grey {
	font-weight: 700;
	color: #626262;
	font-size: 1.1rem;
}

.text-color {
	font-size: 1.3rem;
}

.wrap-box-icon {
	min-height: 100%;
	text-align: center;
    text-align: -webkit-center;
}

.box-icon {
	max-width: 100px;
	height: auto;
}

.icon-social {
	line-height: 1.85rem;
	transition: 400ms;
}

.box-blue {
	width: 100%;
	background-color: #00205c;
}

.box-letter {
	background-image: url('../img/margen-carta.png');
	background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    max-width: 100%;
    padding: 3rem;
    top: -170px;
    right: 10%;
    font-size: 0.8rem;
}

#demo-360 {
	width: 100%!important;
    height: 425px!important;
    background-size: cover;
    background-position: center;
    cursor: grab;
}

.border-address {
	text-align: center;
    font-weight: 700;
    text-transform: uppercase;
}

.form-box {
	max-width: 670px;
	height: auto;
	background-color: #FFFFFF;
	position: relative;
	z-index: 1000;
	margin: 0 auto;
	display: block;
}

.subtitle-form {
	color: #626262;
	font-size: 1.3rem;
}

.btn-send {
	background-color: #00205c;
	color: #FFFFFF;
}

.btn-send:hover {
	color: #FFFFFF;
}

.title-grey {
	font-size: 1.3rem;
}

.btn-form {
	border: 1px solid #FFFFFF;
	color: #FFFFFF;
}

.btn-form:hover {
	color: #FFFFFF;
}

.bg-about {
	background-color: #e5e5e5;
}

.bg-light-grey {
	background-color: #f2f2f2!important;
}

.bg-grey {
	background-color: #f2f2f2;
}

.background {
	position: relative;
    z-index: 1;
    text-align: center;
}

.background:before {
	border-top: 1px solid #00205c;
    content:"";
    margin: 0 auto;
    position: absolute;
    top: 50%; left: 0; right: 0; bottom: 0;
    width: 95%;
    z-index: -1;
}

.background.text-left:before {
    top: 70%;
}

.background > span {
    background: #e5e5e5; 
    padding: 0 15px; 
}

.subtitle-services {
	text-transform: uppercase;
	font-weight: 700;
	margin-bottom: 1rem;
	min-height: 40px;
    display: flex;
    align-items: center;
}

.img-modal {
	cursor: pointer;
}

.btn-know {
	border: 1px solid #00205c;
	color: #00205c;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 0.8rem;
}

.btn-slider {
	background-color: #00205c;
	color: #FFFFFF;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 0.8rem;
}

.btn-slider:hover {
	color: #FFFFFF;
}

.fa-caret-left {
	position: absolute;
    right: -2px;
    top: 40%;
}

.scc-part-detail-item {
    margin-right: 0;
    margin-top: 10px;
    padding: 15px;
    background-color: #f2f2f2;
}

.scc-part-item-image {
	width: 100%;
    min-height: 60px;
    margin-bottom: 0.8rem;
    position: relative;
    background-repeat: no-repeat;
}

.scc-part-item-text {
    flex-grow: 1;
    font-size: 12px;
    position: relative;
    margin-left: 0;
    text-align: center;
    color: #626262;
}

.lSSlideOuter .lSPager.lSGallery li.active, .lSSlideOuter .lSPager.lSGallery li:hover {
	border-radius: 0;
    border: 1px solid #00205c;
}

.label-legal {
	font-size: 0.7rem;
}

.info-parallax h4 {
	line-height: 3rem;
}


/*-----------------------------------------------------------------------------
	Header CSS
-----------------------------------------------------------------------------*/

#header {
	position: relative;
	background-color: #FFFFFF;
    width: 100%;
}

#header > nav {
	min-height: 50px;
}

.logo-header {
	width: 120px;
    height: 120px;
    position: relative;
    background-color: #FFFFFF;
    top: 0;
    left: 0;
    z-index: 10;
}

.dropdown-item.active, .dropdown-item:active {
	background-color: #00205c;
}

.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
	color: #00205c;
}


/*-----------------------------------------------------------------------------
	Top bar CSS
-----------------------------------------------------------------------------*/

#top-bar {
	width: 100%;
	min-height: 30px;
	line-height: 30px;
	background-color: #00205c;
	color: #FFFFFF;
	font-size: 0.8rem;
}


/*-----------------------------------------------------------------------------
	Slider CSS
-----------------------------------------------------------------------------*/

.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.banner-slide {
    position: absolute;
    z-index: 10;
    max-width: 400px;
    border-right: 25px solid #00205c;
}


/*-----------------------------------------------------------------------------
	Footer CSS
-----------------------------------------------------------------------------*/

#footer {
	width: 100%;
	background-color: #00205c;
    font-size: 0.9rem;
}


/*-----------------------------------------------------------------------------
	Responsive CSS
-----------------------------------------------------------------------------*/

@media (min-width: 1200px) {
	.banner-slide {
	    top: 30%;
	    right: 12%;
	}
}

@media (max-width: 1199px) {
	.box-letter {
		font-size: 0.7rem;
	}
}

@media (max-width: 1199px) and (min-width: 992px) {
	.banner-slide {
	    top: 25%;
    	right: 5%;
	}
}

@media (min-width: 992px) and (max-width: 1024px) {
	#top-bar {
	    font-size: 0.9rem;
	}
}

@media (max-width: 991px) {
	.box-letter {
		position: relative;
	    top: 0;
	    right: 0;
	    left: 0;
	}
}

@media (min-width: 768px) {
	.logo-header {
	    width: 80px;
	    height: 80px;
	}
	.navbar-light .navbar-nav .nav-link {
	    font-size: 0.9rem;
	}
	.navbar-expand-md .navbar-nav .dropdown-menu {
		border-radius: 0;
	    top: 33px;
	    border: none;
	}
	.dropdown-item {
		font-size: 0.9rem;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.navbar-light .navbar-nav .nav-link {
	    padding: 0 0.5rem;
	}
	.logo-header {
	    width: 80px!important;
    	height: 80px!important;
	}
	.banner-slide {
	    top: 25%;
    	right: 15%;
	}
	.box-letter {
	    padding: 5rem;
    	max-width: 580px;
    	margin: 0 auto;
	}
	#top-bar {
	    font-size: 0.7rem;
	}
	.icon-social {
	    width: 20px;
	    height: 20px;
	}
}

@media (min-width: 576px) and (max-width: 767px) {
	.logo-header {
	    width: 50px!important;
    	height: 50px!important;
    	position: relative;
	}
	.banner-slide {
	    top: 25%;
    	right: 12%;
	}
	.box-letter {
	    padding: 3rem;
    	margin: 0 auto;
	}
	#top-bar {
	    font-size: 0.5rem;
	}
}

@media (max-width: 767px) {
	.dropdown-menu {
	    border-radius: 0;
	}
	.icon-social {
	    width: 15px;
	    height: 15px;
	}
	#top-bar {
	    min-height: 45px;
    	line-height: 45px;
	}
}

@media (max-width: 575px) {
	.logo-header {
	    width: 50px!important;
    	height: 50px!important;
	    position: relative;
	}
	.banner-slide {
		max-width: 100%;
	    top: 0;
	    right: 0;
	    left: 0;
	    position: relative;
	    text-align: center;
	}
	.box-letter {
	    background-image: none;
    	padding: 2rem;
    	margin: 0 auto;
    	border: 3px solid #e0e0e0;
	}
	#footer {
	    font-size: 0.8rem;
	}
	.breadcrumb {
	    justify-content: center;
	}
	.breadcrumb-item > a, .breadcrumb-item.active {
	    font-size: 0.8rem;
	    line-height: 1.5rem;
	}
	.title-section {
	    font-size: 1.3rem;
	}
	.subtitle-form {
	    font-size: 1.3rem;
	}
	.text-parallax {
	    font-size: 1.5rem;
	}
	.border-address {
		margin: 0 auto;
	}
	#top-bar {
	    font-size: 0.8rem;
	}
	#demo-360 {
	    height: 300px!important;
	}
	.item-section-grey {
	    font-size: 1rem;
	}
	.box-icon {
	    max-width: 70px;
	}
	.phrase {
	    font-size: 1.5rem;
	}
}