/*
    Template Name    : Factoria Santillán
	Description		 : Responsive HTML5 Template.
    Version          : 1.0
*/

/*
================================================
/* Table of Content
==================================================

1. Fonts - Open Sans and Raleway
2. Common CSS
3. Loader CSS
4. Scrool top Arrow
5. Logo Bar 
6. Navigation
7. Banner Wrapper
8. About Us
9. Services
10. Video
11. Portfolio
12. Counters
13. Contact Us
14. Footer
15. Media Quries 

/*
================================================
1. Fonts - Open Sans and Raleway
================================================
*/
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700|Raleway:300,400,600,700');
/*
================================================
2. Common CSS
================================================
*/
* {
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #666;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Raleway', sans-serif;
  margin-top: 0;
  text-transform: none;
  color: #000;
}
a,
a:hover,
a:active,
a:focus {
  outline: none;
  border: none;
}
a {
  color: #666666;
  transition: all 0.3s ease 0s;
}
a:hover {
  color: #337ab7;
  text-decoration: none;
}
section h2 {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  margin: 0 auto 50px;
  line-height: 50px;
  display: inline-block;
  text-align: center;
  padding: 12px 10px 10px;
}
section {
  width: 100%;
  float: left;
  padding: 80px 0;
}
.section-title {
  text-align: center;
  margin: 0 0 20px;
}
.section-title h2 {
  background: url('../images/tiltle-brk.png') no-repeat scroll center bottom;
  font-size: 40px;
  letter-spacing: 1.2px;
  padding: 0 0 30px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 25px;
}
.section-title > p {
  font-size: 15px;
  margin: 29px auto auto;
}
.section-title > p span {
  display: block;
}
/*color changer*/
#switcher {
  position: fixed;
  bottom: 25%;
  left: -170px;
  width: 170px;
  z-index: 9999;
  font-size: 15px;
  padding-bottom: 20px;
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
  height: 90px;
  background: #fff;
  box-shadow: 0px 3px 10px 0 rgba(0, 0, 0, 0.2);
}
#switcher.active {
  left: 0px;
}
#switcher p {
  color: #fff;
  bottom: -6px;
  position: absolute;
  left: 21px;
  font-size: 13px;
}
#switcher .theme-click {
  color: #ffffff;
  cursor: pointer;
  display: block;
  font-size: 20px;
  height: 40px;
  line-height: 40px;
  position: absolute;
  right: -40px;
  text-align: center;
  top: 0;
  width: 40px;
  z-index: 2;
}
#switcher .theme-color {
  width: 30px;
  height: 30px;
  margin: 10px;
  position: absolute;
  left: 0px;
  cursor: pointer;
}
#switcher .theme-active {
  background: #42d6ba;
}
#switcher .theme-color-two {
  background: #82b440;
  left: 40px;
}
#switcher .theme-color-three {
  background: #0798bc;
  left: 80px;
}
#switcher .theme-color-four {
  background: #069a97;
  left: 120px;
}
#switcher .theme-color-five {
  background: #58c433;
  left: 0px;
  top: 40px;
}
#switcher .theme-color-six {
  background: #fbbc05;
  left: 40px;
  top: 40px;
}
#switcher .theme-color-seven {
  background: #505fb5;
  left: 80px;
  top: 40px;
}
#switcher .theme-color-eight {
  background: #ff6853;
  left: 120px;
  top: 40px;
}
/*
================================================
3. Loader CSS
================================================
*/
#loader {
  background: url(../images/loader.gif) no-repeat center center #fff;
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 9999999;
}
/*
================================================
4. Scrool top Arrow
================================================
*/
#scrollUp {
  background: rgba(69, 75, 84, 0.7) none repeat scroll 0 0;
  border-radius: 5%;
  bottom: 30px;
  color: #fff;
  font-size: 12px;
  height: 40px;
  text-decoration: none;
  line-height: 38px;
  right: 30px;
  text-align: center;
  transition: all 0.3s ease 0s;
  width: 40px;
}
#scrollUp i {
  display: block;
  line-height: 35px;
}
/*
================================================
5. Logo Bar 
================================================
*/
.logo-bar {
  float: left;
  padding: 15px 0;
  width: 100%;
  position: relative;
  background: #fff;
  transition: all 400ms ease-in-out 0s;
}
.logo-bar.affix {
  position: fixed;
  z-index: 999999;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}
.logo-bar.fadeInDown {
  animation-name: none !important;
}
.affix.fadeInDown {
  animation-delay: 0s;
  animation-direction: normal;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
  animation-name: fadeInDown !important;
  animation-play-state: running;
  animation-timing-function: ease;
}
/*
================================================
6. Navigation
================================================
*/
.navbar-default {
  background-color: inherit;
  border-color: inherit;
}
.navbar {
  border-radius: 0;
  min-height: auto;
  margin: 0;
  border: none;
  z-index: 9;
}
.navbar-collapse {
  float: right;
  margin: 24px 0 0;
  padding: 0;
}
.navbar-brand {
  padding: 0;
  height: auto;
}
.logo-nav {
  width: 200px;
}
.navbar-nav > li {
  padding: 0 0 0 30px;
}
.navbar-nav > li:first-child {
  padding: 0;
}
.navbar-default .navbar-nav > li > a {
  color: #000;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 700;
  font-family: 'Raleway', sans-serif;
}
.navbar-nav > li > a {
  padding-bottom: 0;
  padding-top: 0;
}
.nav > li > a {
  padding: 0;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover {
  background-color: inherit;
}
/*
================================================
7. Banner Wrapper
================================================
*/
.affix + .banner-wrapper {
  margin-top: 49px;
}
.banner-wrapper {
  width: 100%;
  float: left;
  position: relative;
}
.fade-carousel {
  position: relative;
  height: 500px;
}
.fade-carousel .carousel-inner .item {
  height: 500px;
}
.fade-carousel .carousel-indicators > li:first-child {
  margin: 0;
}
.fade-carousel .carousel-indicators > li {
  border-radius: 0;
  height: 10px;
  transform: rotate(45deg);
  width: 10px;
  border: none;
  margin: 0 0 0 5px;
}
.fade-carousel .carousel-indicators > li.active {
  border-radius: 0;
  height: 10px;
  transform: rotate(45deg);
  width: 10px;
  border: none;
}
.hero {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  -webkit-transform: translate3d(-50%, -50%, 0);
  -moz-transform: translate3d(-50%, -50%, 0);
  -ms-transform: translate3d(-50%, -50%, 0);
  -o-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
  opacity: 0;
}
.carousel .item.active .hero {
  opacity: 1;
}
.hero h1 {
  font-size: 65px;
  font-weight: 600;
  margin: 0;
  padding: 0;
  font-family: 'Raleway', sans-serif;
}
.hero h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 30px;
  font-weight: 300;
  padding: 0;
  margin: 0;
}
.carousel .item.active .animated1 {
  animation: 1s ease-in 500ms normal both 1 running flipInX;
}
.carousel .item.active .animated2 {
  animation: 1s ease-in-out 100ms normal both 1 running bounceInLeft;
}
.carousel .item.active .animated3 {
  animation: 1s ease-in 500ms normal both 1 running bounceIn;
}
.btn.btn-lg {
  padding: 10px 40px;
}
.btn.btn-hero,
.btn.btn-hero:hover,
.btn.btn-hero:focus {
  outline: none;
  margin: 20px auto;
  padding: 14px 50px;
  border-radius: 100px;
  transition: all 0.3s ease 0s;
  border: none;
}
/* Slides backgrounds */
.fade-carousel .slides .slide-1,
.fade-carousel .slides .slide-2,
.fade-carousel .slides .slide-3 {
  height: 500px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.fade-carousel .slides .slide-1:before,
.fade-carousel .slides .slide-2:before,
.fade-carousel .slides .slide-3:before {
  background: #000 none repeat scroll 0 0;
  bottom: 0;
  content: '';
  left: 0;
  opacity: 0.6;
  position: absolute;
  right: 0;
  top: 0;
}
.fade-carousel .slides .slide-1 {
  background-image: url('/images/carousel/Principal1.jpg');
}
.fade-carousel .slides .slide-2 {
  background-image: url('/images/carousel/Principal2.jpg');
}
.fade-carousel .slides .slide-3 {
  background-image: url('/images/carousel/Principal3.jpg');
}
/*
================================================
8. About Us
================================================
*/
.aboutus {
  padding: 70px 0 80px;
}
.about h2 {
  margin-bottom: 20px;
  margin-top: 0;
}
.aboutus p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 33px;
}
.aboutus h4 {
  color: #666;
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 15px;
}
.about-box ul {
  padding-top: 0;
  list-style: none;
}
.about-box {
  float: left;
  width: 100%;
  object-fit: cover;
}
.about-box figure {
  float: left;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.about-box img {
  max-height: 100%;
  width: 100%;
}
.about-box figure::before {
  background-color: transparent;
  border: 10px solid #fff;
  bottom: 7%;
  content: '';
  left: 5%;
  opacity: 1;
  position: absolute;
  right: 7%;
  top: 7%;
}
.about-text {
  margin-top: 12px;
  padding-left: 36px;
}
.sectors {
  margin-top: 40px;
}
.col-sectors {
  padding: 0;
}
.about-sectors {
  padding-left: 15px;
}
.title-sectors {
  padding-top: 7px;
}
.list-sectors > li {
  padding-top: 3px;
}
.list-sectors > li > span {
  font-size: 21px;
}
.about {
  padding: 100px 0;
}
.about p {
  margin: 0 0 30px;
}
/*
================================================
9. Services
================================================
*/
.services:before {
  background: #f7f7f7;
  content: '';
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  transform: skew(0deg, 10deg);
  width: 51%;
  z-index: -9;
}
.services {
  width: 100%;
  float: left;
  padding: 129px 0 140px;
  position: relative;
  z-index: 9;
}
.services:after {
  background: #f7f7f7;
  content: '';
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  transform: skew(0deg, -10deg);
  width: 50%;
  z-index: -9;
}
.service-callouts {
  text-align: center;
}
.service-callouts h2 {
  font-size: 20px;
  margin: 0 0 10px;
  line-height: normal;
  padding: 0;
  font-size: 1.6rem;
  font-weight: 600;
  text-transform: capitalize;
}
.service-callouts i {
  font-size: 30px;
  line-height: 40px;
  transition: all 400ms linear 0s;
  margin: 0 0 10px;
}
.service-callouts p {
  color: #888;
}
.service-callouts .services-box:first-child {
  border-left: 0 none;
}
.service-callouts .services-box {
  border-left: 1px solid #e7ebee;
  margin-bottom: 30px;
}
.service-callouts .box-content {
  border-bottom: 1px solid #e7ebee;
  bottom: -15px;
  padding-top: 5px;
  position: relative;
}
.service-callouts .no-border {
  border: none;
}
.service-callouts .box-content p {
  color: #777;
  font-size: 14px;
  padding-bottom: 30px;
}

.box-content h2 {
  margin: 20px 0 20px;
  font-size: 16px;
}
.service-callouts .services-box .services-iconbox {
  font-size: 24px;
  margin: 0 auto;
  text-align: center;
  transition: all 0.3s ease-in-out 0s;
  padding: 0;
}
.services-iconbox > img {
  height: 230px;
  width: 324px;
  border-radius: 10px;
}
.service-callouts .services-box:hover i {
  transform: translateY(-15px);
}
/*
================================================
10. video
================================================
*/
.video:before {
  background: #000;
  bottom: 0;
  content: '';
  left: 0;
  opacity: 0.8;
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
}
.video {
  background: url('../images/carousel/Principal1.jpg') no-repeat fixed right
    center;
  margin: -60px 0 0;
  padding: 80px 0;
  position: relative;
  width: 100%;
  float: left;
  text-align: center;
  z-index: 9;
}
.video .container {
  height: 250px;
}
.box-video a {
  display: block;
  overflow: hidden;
  position: relative;
}
.box-video {
  margin-top: 40px;
}
.video .box-video i {
  color: #fff;
  margin: 30px 0 20px;
  font-size: 60px;
  cursor: pointer;
}
.video .box-video h1 {
  color: #fff;
  padding-top: 15px;
}
.work-popu {
  max-width: 600px;
  position: relative !important;
  margin: 30px auto;
  left: 0 !important;
}
iframe {
  width: 100%;
  height: 410px;
}
/*
================================================
11. Portfolio
================================================
*/
.portfolio {
  clear: both;
  float: left;
  width: 100%;
  padding: 70px 0 130px;
}
.work {
  margin-bottom: 30px;
}
.work a {
  display: block;
  overflow: hidden;
  position: relative;
}
.work-img {
  width: 100%;
  height: 340px;
}
.work-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  display: block;
  padding: 20px;
}
.work-inner:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: #000;
  opacity: 0;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  z-index: 1;
}
.work:hover .work-inner:after {
  opacity: 0.8;
}
.work-info {
  text-align: center;
  margin-top: 40%;
  top: -15px;
  position: relative;
}
.work-info p,
.work-info h2,
.work-info i {
  position: relative;
  z-index: 2;
  opacity: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.work-info h2 {
  font-size: 20px;
  color: #fff;
  top: -10px;
  margin: 0;
  padding: 0;
  line-height: 35px;
}
.work-info p {
  font-size: 12px;
  top: 10px;
  font-weight: 700;
  transition: all 0.6s;
}
.work-info i {
  font-size: 14px;
  top: 20px;
  font-weight: 700;
  -webkit-transition: all 0.6s;
  transition: all 0.6s;
  color: #333;
  background: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  line-height: 30px;
}
.work:hover .work-info p,
.work:hover .work-info h2,
.work:hover .work-info i {
  opacity: 1;
  top: 0;
}
.portfolio-filter {
  text-align: center;
  list-style: none;
  margin-bottom: 40px;
}
.portfolio-filter li {
  display: inline-table;
  font-family: 'Raleway', sans-serif;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: bold;
  padding: 5px 0;
  margin: 0 5px;
  cursor: pointer;
  position: relative;
}
.portfolio-filter li:after {
  position: absolute;
  content: '';
  width: 0;
  height: 3px;
  left: 0;
  bottom: 0;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}
.portfolio-filter li.active:after {
  width: 100%;
}
.work-popup {
  max-width: 550px;
  background: #fff;
  position: relative !important;
  margin: 30px auto;
  left: 0 !important;
}
.work-popup img {
  width: 100%;
  height: 100%;
}
.work-popup-content {
  padding: 25px;
}
.work-popup-content h3 {
  font-size: 26px;
  margin-bottom: 20px;
}
.work-popup-content p {
  text-align: left;
  line-height: 23px;
}
.mfp-close-btn-in .mfp-close {
  position: absolute;
  background: #fff;
  font-size: 40px;
  width: 50px;
  height: 50px;
  opacity: 1;
  box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.2);
}
/*
================================================
12. Counters
================================================
*/
.counters:before {
  background: #000;
  bottom: 0;
  content: '';
  left: 0;
  opacity: 0.8;
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
}
.counters {
  background: url('../images/counter/construccion.jpg') no-repeat fixed center
    center;
  margin: -60px 0 0;
  padding: 80px 0;
  position: relative;
  width: 100%;
  float: left;
  text-align: center;
  z-index: 9;
}
.counters .counter i {
  color: #8c8c8c;
  margin: 0 0 20px;
  font-size: 40px;
  transition: all 400ms linear 0s;
}
.counters .counter:hover i {
  transform: translateY(-15px);
}
.counters .counter .number {
  font-size: 30px;
  margin: 0 0 20px;
  padding: 0;
  color: #fff;
  font-weight: 600;
}
.counters .counter {
  background: rgba(61, 68, 68, 0.5) none repeat scroll 0 0;
  border-radius: 4px;
  min-height: 170px;
  padding: 25px 50px;
  transition: all 400ms linear 0s;
}
.counters .counter p {
  font-size: 15px;
  margin: 0;
  padding: 0;
  color: #fff;
  font-weight: 500;
}
/*
================================================
13. Contact Us
================================================
*/
.contactus {
  padding: 65px 0 25px;
  background: #fff;
}
.contact-inner {
  padding: 0 0 60px;
  width: 100%;
  display: inline-block;
}
.contact-details h3 {
  font-size: 14px;
  text-transform: uppercase;
}
.contact-details .contact-info-wrapper {
  border: 1px solid #f1f1f1;
  display: block;
  height: 100%;
  overflow: hidden;
  width: 100%;
}
.contact-info-icon {
  background: #f9f9f9;
  display: inline-block;
  font-size: 30px;
  height: 100%;
  position: absolute;
  text-align: center;
  transition: all 0.3s ease 0s;
  width: 23%;
}
.contact-info-wrapper .fa {
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}
.contact-info-content {
  display: inline-block;
  min-height: 100%;
  padding: 36px 39px;
  width: 77%;
}
.contact-info-content p span {
  display: block;
}
.contact-info-content h3 {
  font-size: 16px;
  margin-bottom: 24px;
}
.attention-contact {
  padding-bottom: 75px;
}
.attention-contact > a {
  font-size: 30px;
  padding-right: 25px;
}
/*
================================================
14. Footer
================================================
*/
footer {
  padding: 25px 0;
  width: 100%;
  float: left;
}
footer p {
  color: #fff;
  text-align: center;
  margin: 0;
}

/*
================================================
15. Media Quries 
================================================
*/
@media (min-width: 768px) and (max-width: 1024px) {
  header {
    height: 500px;
  }
  .navigation {
    padding: 0;
  }
  .navbar-collapse {
    margin: 24px 0 0;
  }
  .navigation .navbar-collapse {
    padding: 0;
  }
  .navbar-nav > li {
    padding: 0 0 0 15px;
  }
  .navbar {
    margin-top: 0px;
  }
  .hero h1 {
    font-size: 35px;
  }
  .pricing-table .space1 {
    margin-top: 30px;
  }
  .about-wrapper .space {
    margin-top: 30px;
  }
  .aboutus p {
    font-size: 14px;
    line-height: 27px;
  }
  .work-popup-content h3 {
    font-size: 18px;
  }
  .counter {
    margin: 0 0 20px;
  }
  .contact-info-content p span {
    padding: 8px 0 0;
  }
  .contact-info-content {
    padding: 36px 25px;
    font-size: 15px;
  }
  .contact-info-icon {
    height: 85.7%;
    font-size: 30px;
  }
  .contact-info-wrapper {
    margin-bottom: 25px;
  }
  #scrool-top {
    right: 15px;
  }
}
@media (max-width: 767px) {
  section h2 {
    font-size: 25px;
  }
  header {
    height: 380px;
  }
  .logo-bar {
    z-index: 9;
    padding: 10px 0;
  }
  .navbar-toggle {
    margin: 0 0 5px;
  }
  header .navbar-nav {
    margin: 7.5px 0;
  }
  .navbar {
    margin: 0;
  }
  .navbar-brand {
    display: block;
    padding: 0;
    height: auto;
  }
  .hero h1 {
    display: none;
  }
  .affix .navbar {
    margin: 0px;
  }
  .affix + .banner-wrapper {
    margin-top: 290px;
  }
  .navbar-nav > li {
    padding: 0;
  }
  .navbar-nav > li > a {
    padding-bottom: 10px;
    display: inline-block;
  }
  .navbar-default .navbar-collapse {
    float: none;
    border: none;
    box-shadow: none;
  }
  .about-box figure {
    margin-bottom: 20px;
  }
  .aboutus p {
    font-size: 14px;
    line-height: 27px;
  }
  .work-popup-content h3 {
    font-size: 18px;
  }
  .counter {
    margin: 0 0 50px;
  }
  .counters {
    padding-bottom: 30px;
    margin: 0;
  }
  .service-callouts .section-title {
    margin: 0 0 10px;
  }
  .service-callouts .box-content.no-border {
    border-bottom: 1px solid #e7ebee;
  }
  .service-callouts .services-box .services-iconbox {
    line-height: 30px;
  }
  .service-callouts i {
    line-height: 25px;
  }
  .service-callouts .box-content p {
    margin: 0;
    padding: 0 0 30px;
  }
  .callouts {
    padding: 0;
  }
  #scrool-top {
    right: 15px;
  }
  .contact-details > div {
    padding: 0;
  }
  .contact-inner {
    padding: 0 15px 30px;
  }
  .contact-inner div {
    margin-bottom: 25px;
  }
  .contact-details div {
    border: none;
  }
}
