@charset "utf-8";

@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,400i&display=swap');

body, html {
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-y: auto;
	color: #353535;
	font-family: 'Lato', sans-serif;
}

.playfairitalic{
	font-family: 'Playfair Display', serif;
	font-weight: 400;
	font-size: 2.25rem;
	font-style: italic;
}

.playfairnormal{
	font-family: 'Playfair Display', serif;
	font-weight: 400;
	font-size: 2.25rem;
}

.carousel-caption{
	top: calc(50% + 20px);
	transform: translateY(-50%);
}

#logo {
  /* background: #ccc; */
  width: 150px;
  height: 70px;
}

.navbar-toggler {
  margin-top: 15px;
}

.navbar-light .navbar-nav .nav-link{
	color: #000 !important;
	font-family: Lato, sans-serif;
    font-weight: 400;
	line-height: 1.8;
    letter-spacing: 1px;
}

.navbar-light .navbar-nav .nav-link:hover{
	color: #c9222a !important;
}

.footer{
	background-color: #333;
	color: #fff;
	padding: 1rem;
	text-align: center;
	font-size: 0.8rem;
}

.footer a{
	color: #636c72!important;
}

.footer a:hover{
	color: #fff!important;
	text-decoration: none;
}

.encabezado-seccion {
    padding: 3rem 1.5rem;
    text-align: center;
	color: #000;
}

.home-service{
	margin-bottom: 2rem;
}

.home-service p{
	color: #5b5b5b;
    font-weight: 300;
    line-height: 1.9em;
}

.home-service .service-header{
	margin-bottom: 20px;
}

.home-service h4{
	font-family: 'Playfair Display', serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 1.6em;
}

.home-service .icon{
	color: #C9222A;
    border-color: rgba(35, 157, 219, 0);
    background-color: rgba(189, 225, 244, 0);
    background-image: none;
    border-width: 0;
    border-style: solid;
    width: 34px;
    height: 34px;
    border-radius: 0;
    stroke-width: 0;
    box-shadow: none;
}

.btn-carrillo {
    color: #fff;
    background-color: #C9222A;
    border-color: #C9222A;
}

.btn-carrillo:hover {
    color: #fff;
    background-color: #353535;
    border-color: #ccc;
}

.jumbotron{
    border-radius: 0;
}

.jumbohome{
	background: url(../images/home_bg1.jpg)   ;
	background-position: 50% 50%;
    background-attachment: scroll;
	color: #fff;
}

.jumbonosotros{
	background: url(../images/header_bg1.jpg)   ;
	background-position: 50% 50%;
    background-attachment: scroll;
	color: #fff;
	text-align: center;
}

.jumboservicios{
	background: url(../images/header_bg2.jpg)   ;
	background-position: 50% 50%;
    background-attachment: scroll;
	color: #fff;
	text-align: center;
}

.jumbocontacto{
	background: url(../images/header_bg3.jpg)   ;
	background-position: 50% 50%;
    background-attachment: scroll;
	color: #fff;
	text-align: center;
}

.pull-left{
	float: left;
	margin-right: 20px;
}

.pull-right{
	float: right;
	margin-left: 20px;
}

.imgservicios{
	width: 100%;
	max-width: 360px;
}

.nosotros p{
	font-weight: 300;
    line-height: 1.9em;
}

.gridservicios{
	margin-top: 5rem;
	
	border-top-left-radius: 25px;
	border-top-right-radius: 25px;
	overflow: hidden;
}

.gridservicios div{
	padding: 0;
}

.detallegridserv{
	display: flex;
	align-items: center;
    align-content: center;
    
	min-height: 350px;
	border: 1px solid #C9222A;
}

.servdecocorporativo{
	min-height: 100px;
	background: url(../images/side_corporativo.jpg);
	background-position: 50% 50%;
	background-attachment: scroll;
}

.servdecolaborales{
	background: url(../images/side_laborales.jpg);
	background-position: 50% 50%;
	background-attachment: scroll;
}

.servdecoresponsabilidad{
	background: url(../images/side_responsabilidad.jpg);
	background-position: 50% 50%;
	background-attachment: scroll;
}

.showmobile{
	display: none;
	width: 100%;
	margin-bottom: 1em;
}

.servicios h2{
	width: 100%;
	display: block;
	position: absolute;
	top: 0;
	font-family: 'Playfair Display', serif;
    font-weight: 400;
	font-size: 1.5em;
	text-transform: capitalize;
	color: #fff;
	background: #C9222A;
	margin-bottom: 1em;
	padding: 0.3em;
	text-align: center;
}

.servicios h3{
	color: #C9222A;
	font-size: 1.2em;
	margin-bottom: 0;
}


.servicios p{
	font-weight: 300;
    line-height: 1.9em;
}

.servicios ul{
	font-weight: 300;
}

.contacto p{
	font-weight: 300;
    line-height: 1.9em;
}

.form{
	width: 100%;
    max-width: 600px;
    height: 100%;
    background: #fff;
	border-radius:8px;
	box-shadow:0 0 20px -10px #000;
	margin: 25px auto;
	padding:20px 30px;
	box-sizing:border-box;
	position:relative
}

.form input{
	width:100%;
	padding:10px;
	box-sizing:border-box;
	background:none;
	outline:none;
	resize:none;
	border:0;
	transition:all .3s;
	border-bottom:1px solid #bebed2;
	font-weight: 300;
}

.form input::placeholder {
  font-weight: 300;
}

.form input:focus{
	border-bottom:1px solid #C9222A;
}

.form p:before{
	content:attr(type);
	display:block;
	margin:28px 0 0;
	font-size:14px;
	color:#C9222A;
	font-weight: 400;
}

@media screen and (min-width: 992px) {
  .navbar {
      height: 130px;
   }
  #logo {
    width: 230px;
    height: 115px;
    position: relative;
    /* bottom: -20px; */
  }
  .navbar-light .navbar-nav .nav-link {
    padding-right: 75px;
  }
  #nav-right {
    padding-left: 70px;
  }
}

@media screen and (max-width: 768px) {
	.pull-left, .pull-right{
		float: none;
		margin: auto;
		min-width: calc(100% - 15px);
	}
	
    .carousel {
        width:100% !important; 
        overflow: hidden !important; 
        right:0 !important; 
    }

	.carousel .carousel-inner .carousel-item > img{
		width: auto !important;
        margin: auto;
	}
	
	.carousel .carousel-inner .carousel-item .carousel-caption span{
	    display: none;
	}
	
	.detallegridserv{
		display: unset;
		align-items: unset;
		align-content: unset;
		min-height: unset;
	}
	
	.gridservicios{
		border-top-left-radius: 0;
		border-top-right-radius: 0;
		margin: 20px 15px 0 15px;
	}
	
	.hidemobile{
		display: none;
	}

	.showmobile{
		display: unset;
	}
	
	.servicios h2{
		position: unset;
		top: unset;
		margin-bottom: 0;
	}

}

// Extra small devices (portrait phones, less than 576px)
// No media query for `xs` since this is the default in Bootstrap

// Small devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

// Medium devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

// Large devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

// Extra large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }

