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

	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
-----------------------------------------------------------------------------*/

html{
	scroll-behavior:smooth;
}

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;
}

@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: #00aeef;
	border: 1px solid #FFFFFF;
    border-radius: 50%;
    padding: 3px;
}

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

.content-wrap {
	position: relative;
	padding: 60px 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%;
}

.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;
}

.box-home {
	position: fixed;
	max-width: 200px;
	background-color: #00205c;
	top: 10%;
	right: 1%;
	z-index: 10;
}

.close-banner {
	top: 0;
	padding: 0.1rem 0.5rem;
	right: 0;
}

.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 {
	width: 25px;
	height: 25px;
	transition: 400ms;
}

.top-phone {
    font-size: 0.8rem;
	line-height: 1.2rem;
}

.top-phone span > a {
	font-size: 1.3rem;
}

.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;
    padding-left: 5rem;
    top: -170px;
    right: 10%;
    font-size: 0.8rem;
}

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

.form-box {
	max-width: 720px;
	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;
}

.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;
}

.box-featured {
	min-height: 400px;
}

.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;
}

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

.border-white {
	border: 10px solid #FFFFFF;
    border-radius: 50%;
    max-width: fit-content;
}

.border-grey {
	border: 10px solid #cecece;
    border-radius: 50%;
    max-width: fit-content;
}

/*===== Vertical Timeline =====*/
#conference-timeline {
  position: relative;
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
}
#conference-timeline .conference-center-line {
  position: absolute;
  width: 1px;
  height: 100%;
  top: 0;
  left: 25%;
  margin-left: -2px;
  background: #00205c;
  z-index: -1;
}
#conference-timeline .conference-timeline-content {
  padding-top: 7rem;
  padding-bottom: 7rem;
}
.timeline-article {
  width: 90%;
  height: 100%;
  position: relative;
  overflow: hidden;
  margin: 20px 0;
}

.timeline-article .content-right-container {
  max-width: 60%;
  width: 100%;
}
.timeline-article .content-left,
.timeline-article .content-right {
  position: relative;
  width: auto;
  border: 0;
  padding: 25px 15px;
}
.timeline-article p {
  margin: 0;
  padding: 0;
  font-weight: 400;
  line-height: 24px;
  position: relative;
}
.timeline-article .content-right-container {
  float: right;
}
.timeline-article .meta-date {
  position: absolute;
  top: 0;
  left: 25%;
  width: 90px;
  height: 90px;
  margin-left: -31px;
  border-radius: 100%;
    background: #ffffff;
    border: 1px solid #00205c;
        display: flex;
    align-items: center;
    justify-content: center;
}
/*===== // Vertical Timeline =====*/

/*===== Resonsive Vertical Timeline =====*/
@media only screen and (max-width: 992px) {
  #conference-timeline .conference-center-line {
    margin-left: 0;
    left: 65px;
  }
  .timeline-article .meta-date {
    margin-left: 0;
    left: 20px;
  }
  .timeline-article .content-right-container {
    max-width: 100%;
    width: auto;
    float: none;
    margin-left: 110px;
    min-height: 130px;
  }
  .timeline-article .content-left,
  .timeline-article .content-right {
    padding: 25px 25px;
    min-height: 65px;
  }
  .timeline-article .content-left:before {
    content: "\f0d9";
    right: auto;
    left: -8px;
  }
  .timeline-article .content-right:before {
    display: none;
  }
  #conference-timeline .conference-timeline-content {
	  padding-top: 3rem;
	  padding-bottom: 3rem;
	}
}
@media (max-width: 575px) {
	#conference-timeline .conference-timeline-content {
	    padding-top: 2rem;
	    padding-bottom: 1rem;
	}
	.timeline-article .content-left, .timeline-article .content-right {
		padding: 10px 30px;
	}
}
/*===== // Resonsive Vertical Timeline =====*/


/*-----------------------------------------------------------------------------
	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;
}


/*-----------------------------------------------------------------------------
	Top Bar CSS
-----------------------------------------------------------------------------*/

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


/*-----------------------------------------------------------------------------
	Page Title CSS
-----------------------------------------------------------------------------*/

#page-title {
	width: 100%;
	min-height: 150px;
	background-image: url('../img/bg-page-title-1.png');
	background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.page-title {
	background-color: rgb(0 32 92 / 50%);
    padding: 1rem;
}


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

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

.carousel-home {
    width: 100vw;
    height: 50vh;
}

.swiper-slide {
    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: relative;
	max-width: 400px;
	border-right: 25px solid #00205c;
	font-size: 1.2rem;
}

.banner-slide > i {
	position: absolute;
	right: -8px;
    top: 50%;
    transform: translate(-50%,-50%);
}


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

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


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

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

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

@media (min-width: 992px) {
	.form-box {
	    margin-top: -70px;
	}
	.wrap-featured {
		position: absolute;
		top: -280px;
		left: 0;
		right: 0;
	}
}

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

@media (min-width: 768px) {
	.navbar-light .navbar-nav .nav-link {
	    font-size: 0.9rem;
	    padding: 0 1rem;
	}
	.navbar-expand-md .navbar-nav .dropdown-menu {
		border-radius: 0;
	    top: 33px;
	    border: none;
	}
	.page-title {
	    min-width: 35%;
	}
	.dropdown-item {
		font-size: 0.9rem;
	}
	.logo-header {
	    width: 160px;
    	height: 160px;
	}
	.carousel-home {
	    display: flex;
	    align-items: center;
	    justify-content: flex-end;
	}
	.arrow-right {
		left: -60px;
		top: 150px;
	}
	.arrow-right-up {
		right: -60px;
    	top: 150px;
    	z-index: 1;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.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;
	}
	.box-letter {
	    padding: 3rem;
    	margin: 0 auto;
	}
	#top-bar {
	    font-size: 0.5rem;
	}
	.carousel-home {
	    display: flex;
	    align-items: center;
	    justify-content: center;
	}
	.carousel-home {
	    height: 50vh;
	}
}

@media (max-width: 767px) {
	.logo-header {
		position: relative!important;
		top: 0;
	}
	#page-title {
	    justify-content: center;
	}
	.dropdown-menu {
	    border-radius: 0;
	}
	.icon-social {
	    width: 15px;
	    height: 15px;
	}
	#top-bar {
	    min-height: 45px;
    	line-height: 45px;
	}
}

@media (max-width: 575px) {
	.carousel-home {
	    display: flex;
	    align-items: center;
	    justify-content: center;
	}
	.center-on-sm {
		text-align: center!important;
		text-align: -webkit-center!important;
	}
	.top-phone span > a {
	    font-size: 1rem;
	}
	.logo-header {
	    width: 50px!important;
    	height: 50px!important;
	    position: relative;
	}
	.box-letter {
	    background-image: none;
    	padding: 2rem;
    	margin: 0 auto;
    	border: 3px solid #e0e0e0;
	}
	.banner-slide {
	    position: relative;
	    max-width: 100%;
	    border-right: 20px solid #00205c;
	    font-size: 0.9rem;
	}
	#footer {
	    font-size: 0.8rem;
	}
	.carousel-home {
	    height: 50vh!important;
	}
	.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;
	}
}