/*!
    Carpintería Álvaro Pérez Cuerda, Fusteria Álvaro Pérez Cuerda
 */
body {
  font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}
p {
  font-size: 1.25rem;
}
p.small {
  font-size: 1rem;
}
a,
a:hover,
a:focus,
a:active,
a.active {
  color: #3c1b02;
  outline: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 700;
}
hr.star-light,
hr.star-primary {
  padding: 0;
  border: none;
  border-top: solid 5px;
  text-align: center;
  max-width: 250px;
  margin: 1.563rem auto 1.875rem;
}
hr.star-light:after,
hr.star-primary:after {
  content: "\f005";
  font-family: FontAwesome;
  display: inline-block;
  position: relative;
  top: -0.8em;
  font-size: 2em;
  padding: 0 0.25em;
}
hr.star-light {
  border-color: white;
}
hr.star-light:after {
  background-color: #d05106;
  color: white;
}
hr.star-primary {
  border-color: #3c1b02;
}
hr.star-primary:after {
  background-color: white;
  color: #3c1b02;
}
.img-centered {
  margin: 0 auto;
}
header {
text-align: center;
color: #fff;
background: #d05106;
background-size: cover;
background-image: url('../img/empresa-background.jpg');
}

.e404 {
  padding: 20%;
}

header .container {
  padding-top: 8rem;
  padding-bottom: 3rem;
}
header img {
  display: block;
  margin: 0 auto 20px;
}
header .intro-text .name {
  display: block;
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 2em;
}
header .intro-text .skills {
  font-size: 1.25em;
  font-weight: 700;
}
@media (min-width: 768px) {
  header .container {
    padding-top: 9rem;
    padding-bottom: 6rem;
  }
  header .intro-text .name {
    font-size: 4.75em;
  }
  header .intro-text .skills {
    font-size: 1.75em;
    color: #000;
  }
  .container-fluid {
  padding-left: 4rem;
  padding-right: 2rem;
  }
}
.navbar-custom {
  background: #3c1b02;
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  border: none;
}
.navbar-custom a:focus {
  outline: none;
}
.navbar-custom .navbar-brand {
  color: white;
}
.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus,
.navbar-custom .navbar-brand:active,
.navbar-custom .navbar-brand.active {
  color: white;
}
.navbar-custom .navbar-nav {
  letter-spacing: 0.0625rem;
}
.navbar-custom .navbar-nav li a {
  color: #ffffff;
}

#language {
    color: #000;
    background-color: #5d2800;
	text-align: center;
}

#language li a {
    color:white;
	text-align: center;
	font-size: 1.3rem;
}

#language_menu a {
    color:#ff5816;
	text-align: center;
}

#language_menu a:hover {
    color:#c1400d;
}

#language_menu a:active {
    color:#ff4800;
}

.navbar-custom .navbar-nav li a:hover {
  color: #d05106;
  outline: none;
}
.navbar-custom .navbar-nav li a:focus,
.navbar-custom .navbar-nav li a:active {
  color: white;
}
.navbar-custom .navbar-nav li.active a {
  color: white;
  background: #69482f;
}
.navbar-custom .navbar-nav li.active a:hover,
.navbar-custom .navbar-nav li.active a:focus,
.navbar-custom .navbar-nav li.active a:active {
  color: white;
  background: #4c3526;
}
.navbar-custom .navbar-toggle {
  color: white;
  text-transform: uppercase;
  font-size: 0.6rem;
  border-color: white;
}
.navbar-custom .navbar-toggle:hover,
.navbar-custom .navbar-toggle:focus {
  background-color: #d05106;
  color: white;
  border-color: #d05106;
}
@media (max-width: 768px) {
  .navbar-custom {
    padding: 0.6rem 0;
    -webkit-transition: padding 0.3s;
    -moz-transition: padding 0.3s;
    transition: padding 0.3s;
  }
  .navbar-custom .navbar-brand {
    font-size: 0.8rem;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
  }
  .navbar-custom.affix {
    padding: 0.3rem 0;
  }
  .navbar-custom.affix .navbar-brand {
    font-size: 0.8rem;
  }
	#language_menu a {
	font-size: 0.6rem;
	}
	#language li a {
	font-size: 0.7rem;
}
}
section {
  padding: 6rem 0;
}
section h2 {
  margin: 0;
  font-size: 3rem;
}
section.success {
  background: #9E3D04;
  color: white;
}

@media (max-width: 767px) {
  section {
    padding: 4.688rem 0;
  }
  section.first {
    padding-top: 4.688rem;
  }
}
#portfolio .portfolio-item {
  margin: 0 0 0.9rem;
  right: 0;
}
#portfolio .portfolio-item .portfolio-link {
  display: block;
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}
#portfolio .portfolio-item .portfolio-link .caption {
  background: rgba(148, 58, 14, 0.9);
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all ease 0.5s;
  -webkit-transition: all ease 0.5s;
  -moz-transition: all ease 0.5s;
}
#portfolio .portfolio-item .portfolio-link .caption:hover {
  opacity: 1;
}
#portfolio .portfolio-item .portfolio-link .caption .caption-content {
  position: absolute;
  width: 100%;
  height: 20px;
  font-size: 1.25rem;
  text-align: center;
  top: 50%;
  margin-top: -12px;
  color: white;
}
#portfolio .portfolio-item .portfolio-link .caption .caption-content i {
  margin-top: -12px;
}
#portfolio .portfolio-item .portfolio-link .caption .caption-content h3,
#portfolio .portfolio-item .portfolio-link .caption .caption-content h4 {
  margin: 0;
}
@media (min-width: 767px) {
  #portfolio .portfolio-item {
    margin: 0 0 1rem;
  }
}
.floating-label-form-group {
  position: relative;
  margin-bottom: 0;
  padding-bottom: 0.5em;
  border-bottom: 0.0625rem solid #eeeeee;
}
.floating-label-form-group input,
.floating-label-form-group textarea {
  z-index: 1;
  position: relative;
  padding-right: 0;
  padding-left: 0;
  border: none;
  border-radius: 0;
  font-size: 1.5em;
  background: none;
  box-shadow: none !important;
  resize: none;
}
.floating-label-form-group label {
  display: block;
  z-index: 0;
  position: relative;
  top: 2em;
  margin: 0;
  font-size: 0.85em;
  line-height: 1.764705882em;
  vertical-align: middle;
  vertical-align: baseline;
  opacity: 0;
  -webkit-transition: top 0.3s ease,opacity 0.3s ease;
  -moz-transition: top 0.3s ease,opacity 0.3s ease;
  -ms-transition: top 0.3s ease,opacity 0.3s ease;
  transition: top 0.3s ease,opacity 0.3s ease;
}
.floating-label-form-group:not(:first-child) {
  padding-left: 14px;
  border-left: 0.0625rem solid #eeeeee;
}
.floating-label-form-group-with-value label {
  top: 0;
  opacity: 1;
}
.floating-label-form-group-with-focus label {
  color: #d05106;
}
form .row:first-child .floating-label-form-group {
  border-top: 0.0625rem solid #eeeeee;
}
footer {
  color: white;
}
footer h3 {
  margin-bottom: 1.875rem;
}
footer .footer-above {
  padding-top: 50px;
  background-color: #3c1b02;
}
footer .footer-col {
  margin-bottom: 50px;
}
footer .footer-below {
  padding: 1.563rem 0;
  background-color: #1f0e05;
}
.btn-outline {
  color: white;
  font-size: 1.25rem;
  border: solid 2px white;
  background: transparent;
  transition: all 0.3s ease-in-out;
  margin-top: 15px;
}
.btn-outline:hover,
.btn-outline:focus,
.btn-outline:active,
.btn-outline.active {
  color: #d05106;
  background: white;
  border: solid 2px white;
}
.btn-primary {
  color: white;
  background-color: #3c1b02;
  border-color: #3c1b02;
  font-weight: 700;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
  color: white;
  background-color: #1a242f;
  border-color: #161f29;
}
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
  background-image: none;
}
.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
  background-color: #3c1b02;
  border-color: #3c1b02;
}
.btn-primary .badge {
  color: #3c1b02;
  background-color: white;
}
.btn-success {
  color: white;
  background-color: #d05106;
  border-color: #d05106;
  font-weight: 700;
}
.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active,
.open .dropdown-toggle.btn-success {
  color: white;
  background-color: #6b330f;
  border-color: #6b330f;
}
.btn-success:active,
.btn-success.active,
.open .dropdown-toggle.btn-success {
  background-image: none;
}
.btn-success.disabled,
.btn-success[disabled],
fieldset[disabled] .btn-success,
.btn-success.disabled:hover,
.btn-success[disabled]:hover,
fieldset[disabled] .btn-success:hover,
.btn-success.disabled:focus,
.btn-success[disabled]:focus,
fieldset[disabled] .btn-success:focus,
.btn-success.disabled:active,
.btn-success[disabled]:active,
fieldset[disabled] .btn-success:active,
.btn-success.disabled.active,
.btn-success[disabled].active,
fieldset[disabled] .btn-success.active {
  background-color: #d05106;
  border-color: #d05106;
}
.btn-success .badge {
  color: #d05106;
  background-color: white;
}
.btn-social {
  display: inline-block;
  height: 50px;
  width: 50px;
  border: 2px solid white;
  border-radius: 100%;
  text-align: center;
  font-size: 1.25rem;
  line-height: 45px;
}
.btn:focus,
.btn:active,
.btn.active {
  outline: none;
}
.scroll-top {
  position: fixed;
  right: 2%;
  bottom: 2%;
  width: 50px;
  height: 50px;
  z-index: 1049;
}
.scroll-top .btn {
  font-size: 1.25rem;
  width: 50px;
  height: 50px;
  border-radius: 100%;
  line-height: 28px;
}
.scroll-top .btn:focus {
  outline: none;
}
.portfolio-modal .modal-content {
  border-radius: 0;
  background-clip: border-box;
  -webkit-box-shadow: none;
  box-shadow: none;
  border: none;
  min-height: 100%;
  padding: 4rem 0;
  text-align: center;
}
.portfolio-modal .modal-content h2 {
  margin: 0;
  font-size: 3em;
}
.portfolio-modal .modal-content img {
  margin-bottom: 1.875rem;
}
.portfolio-modal .modal-content .item-details {
  margin: 1.875rem 0;
}
.portfolio-modal .close-modal {
  position: absolute;
  width: 4.688rem;
  height: 4.688rem;
  background-color: transparent;
  top: 1.563rem;
  right: 1.563rem;
  cursor: pointer;
}
.portfolio-modal .close-modal:hover {
  opacity: 0.3;
}
.portfolio-modal .close-modal .lr {
  height: 4.688rem;
  width: 0.0625rem;
  margin-left: 2.188rem;
  background-color: #3c1b02;
  transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  /* IE 9 */
  -webkit-transform: rotate(45deg);
  /* Safari and Chrome */
  z-index: 1051;
}
.portfolio-modal .close-modal .lr .rl {
  height: 4.688rem;
  width: 0.0625rem;
  background-color: #3c1b02;
  transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  /* IE 9 */
  -webkit-transform: rotate(90deg);
  /* Safari and Chrome */
  z-index: 1052;
}
.portfolio-modal .modal-backdrop {
  opacity: 0;
  display: none;
}
