/*
Theme Name: CAFIS
Theme URI:
Author: Mauricio Sanhueza (Plasmable)
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;900&family=Open+Sans:wght@400;600&display=swap');
body{
	
}
h1, h2, h3, h4, h5{
	font-family: 'Montserrat', sans-serif;
	text-transform: uppercase;
}
p{
	 font-family: 'Open Sans', sans-serif;
	 text-align: justify;
	
}
a{
	font-family: 'Open Sans', sans-serif;
}
ul li{
	text-align: justify;
}
.preload{
	width: 100%;
	height: 100vh;
	background-image: linear-gradient(to right, #ffffff, #ffffff);
	display: flex;
	flex-direction:column;
	justify-content: center;
	align-items: center;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 1000;
	opacity: 1;
	transition: .3s;
	
	
}
.preload  img{
	width: 300px;
	animation: animapreload 1s infinite;
}
@keyframes animapreload{
	0%{
		opacity: .5;
	}
	50%{
        opacity: 1;
	}
	100%{
		 opacity: .5;

	}
}
header{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	position: relative;
	
	padding: 0px;
	top: 0;
	z-index: 10;
}
header:before{
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: #DCB214;
	z-index: -1;
	opacity: .5;
	background: url(http://cafis.cl/wp-content/uploads/2023/11/relieve-header.png);
}
.sub-menu-header i{
	font-size: 26px;
	color: #e43714;
}
.sub-menu-header a{
	color: #444;
	font-weight: bold;
}
.sub-menu-header a:hover{
	color: #444;
}
.sub-menu-header{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 50px;
	width: 100%;
}
.tel-menu{
	color: #245a81 ;
	text-decoration: none;
	font-size: 20px;
}
.tel-menu i{
	color: #188ec3;
}
header i{
	font-size: 25px;
	color: #fff;
}
header a{
	text-decoration: none;
	color: #565a7a;
}

#check{
	display: none;
}
.check-btn{
	position: fixed;
	right: 10px;
	top: 30px;
	overflow: hidden;
	height: 50px;
	width: 50px;
	background: #D63A26;
	cursor: pointer;
	z-index: 101;
	transition: .5s;
	visibility: hidden;
}

.check-btn .line-check{
	position: absolute;
	width: 35px;
	height: 2px;
	background: #fff;
	z-index: 102;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	transition: .5s;
	transform-origin: left top;
	transition-timing-function: cubic-bezier(.29, 1.01, 0.5, 2);
}
.check-btn .line-check:nth-child(2){
   top: 65%;
}
.check-btn .line-check:nth-child(3){
   top: 35%;
}
#check:checked  ~ nav{
   	right: 0%; 
 }

#check:checked  ~ .check-btn .line-check:nth-child(1){
	left: -100%;

}
#check:checked  ~ .check-btn .line-check:nth-child(2){
   top: 50%;
    transform:rotate(45deg) translate(-50%,-50%);
}
#check:checked  ~ .check-btn .line-check:nth-child(3){
	top: 50%;
	transform:rotate(-45deg) translate(-50%,-50%);
}

nav{
	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-wrap: wrap;
	width: 100%;
	height: auto;
	position: sticky;
	z-index: 1000;
	z-index: 10;
	background: #DFDCD4;
	top: 0;
	padding: 10px;
	transition:.5s;
	z-index:100;
}
nav ul{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	right: 0px;
	top: 0;
	position: relative;
	
	margin: 0;
}
nav ul li{
	list-style: none;
	
}
nav ul li a{
	list-style: square;
	font-size: 16px;
	padding: 0 20px;
	margin: 10px;	
	color: #444;
	text-decoration: none;
	transition: .5s;
	position: relative;
	padding-top: 5px;
	padding-bottom: 5px;
}
nav ul li a:hover{
	color: #245a81 ;
}

.current-menu-item {
	background: #d84905;
	color:#fff;
	position: relative;
	
}
.menu-item-146{
	position: relative;
}
.menu-item-146:hover .sub-menu{
	display: block;
}
.sub-menu{
	display: none;
	position: absolute;
	top: 25px;
	width: 200px;
	left: 0;
	padding: 10px;
	background: #1282c1;
}
/*.current-menu-item:before{
	content: "";
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 100%;
	height: 2px;
	background: #188ec3 ;
	z-index: 1;
}*/

/*SEARCH FORM*/
.searchform{
	background: blue;
}
.searchsubmit{
	background: red;
}

/*FIN SEARCH FORM*/

/*SWIPER*/
      .swiper {
        width: 100%;
        height: 300px;
        position: relative;
       
      }
      .swiper-slide:before{
          content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	background: rgb(209,103,95);
    background: linear-gradient(6deg, rgba(4,1,4,.5) 13%, rgba(255,255,255,0) 99%);
}
.swiper-wrapper{
	position: relative;
}
      .swiper-slide {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        font-weight: bold;
        color: #fff;
        position: relative;
      }
   		.swiper-slide img{
			width: 100%;
			height: 100%;
			object-fit: cover;
		} 

      .content-slide{
      	position: relative;
      	display: flex;
      	flex-direction: column;
      	align-items: flex-start;
      	justify-content: space-around;
      	padding: 30px;
      	z-index: 10;	

      }
      .content-slide h1{
      	color: #444;

      }
      .content-slide h1 span{
      	color: #444 ;
      	font-weight: bold;
      }
      .content-slide p{
      	font-weight: 100;
      	font-size: 16px;
      	color: #444;
      	z-index: 10;
      }
      .link-read-more-slide{
		border: 1px solid #d84905  ;
		text-decoration: none;
		color: #fff;
		background: #fc2931;
		font-size: 16px;
		display: inline-block;
		text-align: center;
		padding: 10px 10px;
		transition: .5s;
		font-weight: 100;
		  border-radius:4px;
	}
	.link-read-more-slide:hover{
		color: #444;
		background: transparent;
	}
/*FIN SWIPER*/



.container-empresa-home p{
	color: #4c849c;		
}
.title-service-home{
	background: #1D1C20;
	color: #fff;
	padding: 10px;
	display: inline-block;
	text-align: right;
}
.text-empresa-home{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.container-service{
	background: #DDE1DC;
}
.container-service-home{
	width: 100%;
	
	overflow: hidden;
}
.container-service-home img{
	width: 100%;
	object-fit: cover;
	transition: .4s;
	transition-timing-function: ease-in-out;
}
.container-service-home:hover img{
	transform: scale(1.2);
}
.container-service-home:hover .content-service-home{
    top: -40px;

}
.content-service-home{
	position: relative;
	top: -20px;
	left: 50%;
	transform: translateX(-50%);
	width: 80%;
	height: auto;
	background: #1D1C20;
	color: #fff;
	padding: 10px;
	box-shadow:0 15px 20px 0 rgba(0,0,0,0.5);
    transition: .5s;
}
.content-service-home h3{
	font-weight: bold;
	font-family:'Playfair Display', serif;
	letter-spacing: 2px;	
}
	.link-read-more, .link-conversemos{
	border: 1px solid #d84905 ;
	text-decoration: none;
	color: #fff;
	background: rgb(235,124,6);
	background: linear-gradient(325deg, rgba(235,124,6,1) 17%, rgba(228,55,20,1) 68%);
	text-transform: uppercase;
	display: inline-block;
	text-align: center;
	padding: 10px 10px;
	transition: .5s;
	font-weight: 300;
	position: relative;
	font-family:'Playfair Display', serif;
}
.link-read-more:hover{
	color:#fff;
	background: transparent;
}
	.container-call-to-action{
	background: #A7A6A2;
	height: 50vh;
	display: flex;
	justify-content: space-around;
	align-items: center;
	color: #fff;
	text-transform: uppercase;
}
.container-call-to-action h5{
	font-size: 30px;
}
.link-conversemos{
	font-size: 30px;
}
.link-conversemos:hover{
	background: transparent;
	color: #fff;
}


.wsp{
	position: fixed;
	right: 5px;
	top: 50%;
	z-index: 100;
	animation: animate 2s linear infinite;
	background-image: linear-gradient(to right, #50b353  , #94cd96 );
	padding: 5px 10px;
	display: flex;
	justify-content: center;
	align-items: center;
	align-content: center;
	border-radius: 4px;
	transition: .3s;
}

.wsp a{
	color: #fff;
}
.wsp a i{
	font-size: 30px;
}
.wsp a:hover{
	color: #fff;
}

@keyframes animate {
	0%
	{
		box-shadow: 0 0 0 0 rgba(38, 178, 143,.7);
	}
	30%
	{
		box-shadow: 0 0 0 50px rgba(38, 178, 143,.0);
	}
	60%
	{
		box-shadow: 0 0 0 90px rgba(38, 178, 143,0);
	}
	100%
	{
		box-shadow: 0 0 0 0 rgba(38, 178, 143,0);
	}
}

.title-section{

  font-family: 'Muli', sans-serif;
  text-transform: capitalize;
  position: relative;
  color: #fc2931 ;
  font-weight: bold;
}
.title-section:before{
	position: absolute;
	content: "";
	left: 0;
	top: -2px;
	width: 50px;
	height: 4px;
	background: #322c2a  ;

}
/*SERVICES PAGE*/
.container-service-page{
	display: flex;
	flex-direction: column;
	overflow: hidden;
	position: relative;
	
	min-height: 100vh;
}
.img-services-page{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.container-service-page-1{
	background: #f2f2f2;
}
.container-service-page-2{

}
.container-service-page ul li{
	color: #444;
}
.content-service-asesoria{
	background: #f2f2f2;
	min-height: 300px;
	padding: 1em;
}
.content-service-page{
	background: #24a3db;
	padding: 15px;
	color: #fff;
	position: relative;
	z-index: 1;
}
.service-industrial{
	background: #eb7e06;
	position: relative;
}
.service-industrial:before{
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 20px;
	background: #e43714 ;
	transition: .3s;
	transition-timing-function: ease-in-out;
	z-index: 10;
}


.content-service-page:before{
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 10px;
	background: #1282c1;
	transition: .3s;
	transition-timing-function: ease-in-out;
	z-index: -1;
}
.container-service-page:hover .content-service-page:before{
	height: 95%;
}
/*FIN SERVICES PAGE*/

.call-to-action{
	background: #0feefa;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	min-height: 350px;
	background: url(http://localhost/msi-consultores/wp-content/uploads/2022/04/main-page-empresa.jpg);
	background-size: cover;	
	
	position: relative;
}
.call-to-action:before{
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	 -webkit-filter: contrast(1.9) grayscale(1);
  filter: contrast(1.9) grayscale(1);
}
.call-to-action h3{
	z-index: 1;
}
.btn-conversemos{
	background: #b9ac89;
	color: #fff;
	text-decoration: none;
	z-index: 1;
	padding: 5px 13px;
}

.arrow{
	background: #3d6cb4;
	width: 40px;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	right: 10px;
	top: 60%;
	opacity: 0;
	transition: .5s;
	cursor: pointer;
	z-index: 10000;
}
.arrow:hover{
	background: #4f76b7;
}
.anima-arrow{
	animation: anima-arrow .7s;
	animation-iteration-count: 2;
}
@keyframes anima-arrow{
	0%{
		transform: scale(1.4);
		border-radius: 40%;
	}
	30%{
		border-radius: 0%;
	}
	100%{
		transform: scale(1.0);
		
	}

}
.icon-arrow{
	font-size: 20px;
	color: #fff;
}
.aparece-arrow{
	opacity: 1;
}
.whatsapp{
	width: 60px;
	position: fixed;
	right: 10px;
	top: 50%;
	z-index: 100000;
}
.whatsapp img{
	width: 100%;
}
.phone{
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: #fff;
	border-radius: 50%;
	background: rgb(235,124,6);
	background: linear-gradient(325deg, rgba(235,124,6,1) 17%, rgba(228,55,20,1) 68%);
	width: 50px;
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 101;
	color: #fff;
}
.tel{
	color: #fff;
	text-decoration: none;
	font-size: 20px;

}
.content-mvv{
	padding: 10px;
	background: #fc2931;
	color: #fff;
	min-height: 260px;
	box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
	border-radius:10px;
}
.title-mvv{
	z-index: 1;
	position: relative;
	padding: 10px;
}
.title-mvv:before{
	content: "";
	position: absolute;
	background: #322c2a  ;
	left: 0;
	width: 20%;
	height: 100%;
	top: 0;
	z-index: -1;
	transition: .5s;
}
.content-mvv:hover .title-mvv:before{
	width: 50%;
}
.contact-footer{
	position: fixed;
	z-index: 100;
	bottom: 0;
	width: 100%;
	background: #f2f2f2;
	display: flex;
	justify-content: center;
	align-content: center;
	border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    visibility: hidden;

}
.content-contact{
	display: flex;
	justify-content: center;
	align-content: center;
	padding: 10px;
	width: 33.3%;
	background: #f2f2f2;
	
}
.location-mobile{
	border-top-left-radius: 15px;
}
.phone-mobile{
	background: #E6E7E5;
	

}
.email-mobile{
	border-top-right-radius: 15px;
}
.content-contact a{
	color: #d84905;
}
.content-contact a i{
	font-size: 17px;
}
footer{
	color: #444;
	background-image: linear-gradient(to right, #D4D1CA , #DFDCD4);
}
.derechos{
	position: relative;
}
.derechos:before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background: #fff;
}

/*HEADER PAGE*/

.sub-header{
	width: 100%;
	height: 280px;
	position: relative;
	z-index: 1;
	background: #97cdf1 ;
	background: blue;
}
.sub-header:before{
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
   
}
.sub-header img{
	position: relative;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -1;
}
.title-header{
	position: absolute;
	font-size: 40px;
	font-weight: bold;
	color: #fff;
	top: 40%;
	left: 50%;
	transform: translateX(-50%);
	font-style: italic;
	background: #eb7e06;
}
.title-page{
	position: relative;
	font-size: 2.5em;
	font-weight: bold;
	 background-image: linear-gradient(45deg, #fc2931 , #322c2a  );
	 -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; 
  -moz-background-clip: text;
  -moz-text-fill-color: transparent; 
	
}
/*SERVICE HOME*/
article{
	outline: 2px solid #eb7c06 ;
	border-radius: 10px;
	outline-offset: -15px;
	position: relative;
	width: 100%;
	height: 350px;
	box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
	overflow: hidden;
	color: #fff;
}
article:before{
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(4,4,4,.5);
	z-index: 1;
}

article img{
	border-radius: 10px;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: .5s;
	transition-timing-function: ease-in-out;
	opacity: .8;
}

article:hover img{
	transform: scale(1.1);
}
.content-service{
	position: absolute;
	left: 5%;
	bottom: -25%;
	padding: 15px;
	z-index: 1;
	transition-timing-function: cubic-bezier(1,.39,.42,1.41);
	transition:.3s;
}
.logo-proyect{
	width: 150px !important;
	display: block;
	padding: 10px;
}
.title-service{
	left: 5%;
	bottom: 5%;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 24px;
	z-index: 2;
	font-weight: bold;

}
.content-service .title-service::first-letter{
	background: #fff;
	padding: 3px;
	color: #444;
	border-radius: 5px;
}
.content-service p{
	opacity: 0;
	transition:.3s;
}

article:hover .content-service{
	bottom: 5%;
}
article:hover .content-service p{
	opacity: 1;
}
article .content-service i{
	font-size: 45px;
	z-index: 1;
	color: #fc2931 ;
	animation: animaTuerca infinite 2s;
}
@keyframes animaTuerca{
	0%{
		transform: rotate(0deg);
	}
	
	100%{
		transform: rotate(360deg);
	}
} 
/*END SERVICE HOME*/

/*CAROUSEL*/
.container-carousel{
	position: relative;

}
.carousel-element{
    
    display:flex;
    flex-direction: row;
    justify-content:center;
    width:auto;
    height:200px !important;
   

}
.carousel-element img{
    height:200px !important;
    object-fit: cover;
}
.glider-dot{
	background: rgb(30,172,226);
	background: linear-gradient(325deg, rgba(30,172,226,1) 17%, rgba(21,133,190,1) 68%);
	width: 10px;
	height: 10px;
	border-radius: 0px;
}
.carousel-before, .carousel-next{
	display: block;
	width: 30px;
	height: 30px;
	background: rgb(235,124,6);
	background: linear-gradient(325deg, rgba(235,124,6,1) 17%, rgba(228,55,20,1) 68%);
	border-radius: 0;
	border: none;
	position: absolute;
}
.carousel-before, .carousel-next i{
	color: #fff;
}
.carousel-before{
	bottom: 20px;
	right: 60px;
}
.carousel-next{
	bottom: 20px;
	right: 20px;
}
/*FIN CAROUSEL*/
/*HEADER PAGE*/
.container-about-us{
	top: -100px;
	position: relative;
	z-index: 10;
}
.content-about-us{
	width: 50%;
	padding: 10px;
	left: 50%;
	transform: translateX(50%);
}
.content-about-us img{
	width: 100%;
}
.content-about-us .parrafo::first-letter {
    font-size: 1.5rem;
    font-weight: bold;
    color: brown;
}

.container-mision{
	background: #97cdf1 ; 
}
@media screen and (max-width: 800px) {
	body{
		overflow-x: hidden;
	}
	header{
		flex-direction: column;
		align-items: flex-start;
		padding: 10px;
	}
	.contact-header{
		display: none;
	}
	.check-btn{
		visibility: visible;
	}
	.sub-menu-header{
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px;
	width: 100%;

}
.phone{
	display: none;
}
.location-header{
	display: none;
}
.phone-header{
	display: none;
}
.mail-header{
	display: none;
}
	nav{
		right: 100%;
		height: 100%;
		position: fixed;
		overflow: scroll;
	
	}
	nav ul{
		flex-direction: column;
		top: -30px;
		justify-content: space-between;
		flex-wrap: wrap;
		height: 80%;
		width: 100%;		
	}
	nav ul li{
		flex-direction: column;
		left: 0%;
		align-content: flex-start;
		justify-content: space-around;	
	}

	nav ul li ul{
		background: #4f76b7;
		position: relative;
		width: auto;
		left: 0px;
		z-index: 10;
		padding: auto;
	}
	nav ul li:hover ul{
		display: block;
	}
  
	.sub-menu{
	
	position: relative;
	
}
	.container-call-to-action{
		flex-direction: column;
		align-items: center;
		align-content: center;
	}
	.swiper {
        height: 400px;
      }
   
    .container-about-us{
		top: -60px;
		position: relative;
		z-index: 10;
		width: 100%;

	}
	.content-about-us{
		position: relative;
		width: 80%;
		padding: 10px;
		left: 50%;
		transform: translateX(-50%);
		
	}
	.contact-footer{
		visibility: visible;
	}

}
.title-page{
	position: relative;
	font-size: 1.5em;
	font-weight: bold;
	 background-image: linear-gradient(45deg, #fc2931 , #322c2a  );
	 -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; 
  -moz-background-clip: text;
  -moz-text-fill-color: transparent; 
	
}
@media only screen and (max-width: 800px) and (min-width: 650px)  {
	.contact-footer{
		visibility: hidden;
	}
}