/* MENU */
.navbar-default { margin-top: 50px; background-color: #97bc2a; border-bottom: 8px solid white; height: 75px; -webkit-transition: 1s; transition: 1s; }
.navbar-brand img { max-width: 65%; margin-top: -65px; -webkit-transition: 1s; transition: 1s; }
.navbar-left li a { color: white !important; text-transform: uppercase; }
#navbar ul { height: 67px; }
#navbar ul li { height: 67px; margin: 0 20px; }
#navbar ul li a { height: 50px; padding-top: 22px; letter-spacing: 1px; }
#navbar ul li a:focus, #navbar ul li a:hover { background-color: transparent !important; border-bottom: 2px solid #001d7f !important; color: #001d7f !important; }

@media screen and (min-width: 992px) and (max-width: 1280px) {
	#navbar ul li { margin-left: 0; margin-right: 0; }
	.navbar-brand img { max-width: 55%; }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
	.navbar-header { width: 50%; }
	.navbar-brand img { max-width: 85%; margin-top: -60px; }
	#navbar ul { width: 50%; float: right !important; }
	#navbar ul li { margin: 0; }
}

@media screen and (max-width: 767px){
	.navbar-default { margin-top: 0px; height: 59px; }
	.navbar-brand { width: 75%; }
	.navbar-brand img { max-width: 145px; margin-top: -27px }
	.navbar-default .navbar-toggle { border: none; }
	.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus  { background-color: transparent; }
	.navbar-default .navbar-toggle .icon-bar { background-color: #001d7f; }
	#navbar ul { height: auto; background-color: #97bc2a; }
	#navbar ul li { text-align: right; }
	#navbar ul li a:focus, #navbar ul li a:hover { background-color: transparent !important; border-bottom: none !important; color: #001d7f !important; } 
}

/* REDES SOCIALES  */
#redes-sociales { top: 30%; z-index: 99; width: 85px; position: fixed; right: 0; }
#redes-sociales ul { list-style: none; background: #001d7f; padding-left: 20px; height: 285px; border-radius: 25px 15px 15px 25px; padding-top: 20px; }
#redes-sociales ul li { background-color: white; border-radius: 75px; margin-right: 15px; height: 50px; } 
#redes-sociales ul li a { margin-left: 6px; } 
#redes-sociales ul li a i { color: #97bc2a; font-size: 35px; } 
#redes-sociales ul li:nth-child(1) a i { padding-left: 7px; padding-top: 7px; } 
#redes-sociales ul li:nth-child(2) { margin-top: 15px; } 
#redes-sociales ul li:nth-child(2) a i { padding-top: 9px !important; padding-left: 3px; } 
#redes-sociales ul li:nth-child(3) { margin-top: 15px; } 
#redes-sociales ul li:nth-child(3) a i { padding-top: 8px !important; padding-left: 1px; } 
#redes-sociales ul li:nth-child(4) { margin-top: 15px; } 
#redes-sociales ul li:nth-child(4) a i { padding-top: 8px !important; padding-left: 4px; } 

/* BANNER */
#carousel-example-generic { margin-top: -1px; }
.carousel-control.left { background-image: none !important; margin-left: 10%; }
.carousel-control.right { background-image: none !important; margin-right: 10%; }
.item img { width: 100%; }
.carousel-indicators { bottom: -30px; }

/* PRODUCTOS */
#section-productos { border-top: 20px solid #97bc2a; }
#section-productos .container { padding: 45px 0; }

@media screen and (min-width: 992px) and (max-width: 1280px) {
	#section-productos .container .col-md-6 img { max-width: 80%; }
}

/* CONTACTO */
#section-contacto { background-image: url('../img/frame-contacto.jpg'); background-size: cover; border-top: 20px solid #97bc2a; }
#titulo-contacto { background: #97bc2a; width: 40%; margin: 0 auto; border-radius: 0 0 15px 15px; }
#titulo-contacto h1 { font-style: italic; font-weight: bold; padding-top: 35px; margin-top: 0; color: #001d7f; font-size: 45px; text-shadow: 1px 1px 1px white, 2px 2px 1px white, 2px 2px 1px white, 2px 2px 1px white, -2px -2px 1px white, -2px -2px 1px white, -2px -2px 1px white; }
#titulo-contacto h2 { font-style: italic; font-weight: bold; padding-bottom: 25px; margin-top: 0; color: #001d7f; font-size: 35px; text-shadow: 1px 1px 1px white, 2px 2px 1px white, 2px 2px 1px white, 2px 2px 1px white, -2px -2px 1px white, -2px -2px 1px white, -2px -2px 1px white; }
#bloque-contacto { margin-top: 45px; width: 35%; background-color: white; border-radius: 15px; padding-left: 45px; padding-right: 45px; padding-top: 20px; }
#titulo-bloque-contacto { background: #001d7f; margin-top: 20px; padding-top: 40px; padding-bottom: 40px; color: white; font-size: 16px; font-weight: 400; } 

.div-campos { padding-right: 0; padding-left: 0; }
.div-campos div:nth-child(1) { padding-left: 0; }
.div-campos div:nth-child(2) { padding-left: 5px !important; padding-right: 0;}
#comentarios { padding-left: 0 !important; padding-right: 0 !important; }
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: grey !important;
    font-size: 14px;
    font-weight: 400;
    text-indent: 2px;
    text-transform: uppercase;
    opacity: 0.5;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color: grey !important;
   opacity:  1;
   font-size: 14px;
   font-weight: 400;
   text-indent: 2px;
   text-transform: uppercase;
   opacity: 0.5;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color: grey !important;
   opacity:  1;
   font-size: 14px;
   font-weight: 400;
   text-indent: 2px;
   text-transform: uppercase;
   opacity: 0.5;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color: grey !important;
   font-size: 14px;
   font-weight: 400;
   text-indent: 2px;
   text-transform: uppercase;
   opacity: 0.5;
}
.form-group input { height: 40px; border-radius: 0px; background: #fedf04; border: 0px; }
#div-enviar { padding-right: 0; padding-left: 0; margin-bottom: 35px; }
#check-datos input { height: 12px !important; margin-top: 15px !important; margin-bottom: 15px !important; }
#enviar-send { width: 50%; margin: 0 auto; color: white; letter-spacing: 1px; }
#contact-submit { background: #001d7f; letter-spacing: 2px; height: 50px !important; }
.btn-block:hover { color: white !important; }
#linea-contacto { margin-top:90px; border-bottom: 1px solid #fedf04; }

@media screen and (min-width: 992px) and (max-width: 1280px) {
	#titulo-contacto { width: 55%; }
	#bloque-contacto { width: 50%; }
	#titulo-contacto h1 { font-size: 40px; }
	#titulo-contacto h2 { font-size: 25px; }
	#check-datos fieldset { font-size: 12px; }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
	#titulo-contacto { width: 70%; }
	#titulo-contacto h1 { font-size: 35px; }
	#titulo-contacto h2 { font-size: 25px; }
	#bloque-contacto { width: 80%; }
}

@media screen and (max-width: 767px){
	#titulo-contacto { width: 80%; }
	#titulo-contacto h1 { font-size: 20px; }
	#titulo-contacto h2 { font-size: 15px; }
	#bloque-contacto { width: 90%; }
	#titulo-bloque-contacto { font-size: 12px; }
	.div-campos div { padding-right: 0; }
	.div-campos div:nth-child(2) { padding-left: 0px !important; padding-right: 0; }
	::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    	font-size: 10px;
	}
	:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
		font-size: 10px;
	}
	::-moz-placeholder { /* Mozilla Firefox 19+ */
		font-size: 10px;
	}
	:-ms-input-placeholder { /* Internet Explorer 10-11 */
		font-size: 10px;
	}
	#check-datos { font-size: 7px; }
}

/* FOOTER */
#redes-footer { list-style: none; display: inline-flex; padding-left: 10px; }
#redes-footer li { margin-left: 9px; padding-left: 10px; padding-right: 10px; background-color: #001d7f; border-radius: 50px; height: 50px; width: 50px; }
#redes-footer li a { color: white; }
#redes-footer li a i { padding-top: 9px; } 
#siguenos { background-color: #fedf04; height: 90px; align-items: center; display: flex; }
#siguenos div { color: #001d7f; font-size: 33px; font-weight: 500; }
#direcciones .container { margin-top: 45px; }
.ciudad { text-align: center; color: #001d7f; margin-bottom: 0; font-weight: bold; }
.tel-contacto { text-align: center; color: #001d7f; margin-bottom: 0; font-size: 10px; }
.dir-contacto { text-align: center; color: #001d7f; margin-bottom: 0; font-size: 10px; }
#creditos .container .col-md-2 { width: 10%; }
#creditos .container .col-md-8 { display: flex; justify-content: space-between; color: #001d7f; margin-top: 30px; font-size: 15px; }

@media screen and (min-width: 992px) and (max-width: 1280px) {
	#creditos .container .col-md-8 { font-size: 12px; }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
	#creditos .container { margin-top: 15px; }
	#creditos .container .col-md-2 { width: 15%; }
	#creditos .container .col-md-8 { margin-top: 15px; }
}

@media screen and (max-width: 767px){
	#siguenos { height: 110px; }
	#creditos .container .col-md-2 img { margin:  0 auto; }
	#creditos .container .col-md-2 { width: 30%; padding-top: 15px; margin: 0 auto; }
	#creditos .container .col-md-8 { margin-top: 0; font-size: 10px; text-align: center; justify-content: center; }
}

/* boton de volver arriba  */

.cd-top {
  display: inline-block;
  height: 60px;
  width: 60px;
  position: fixed;
  bottom: 40px;
  right: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  /* image replacement properties */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: rgba(151, 188, 42, 0.81) url(../img/cd-top-arrow.svg) no-repeat center 50%;
  visibility: hidden;
  border-radius: 50px;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
}
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}
.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .9;
}
.no-touch .cd-top:hover {
  background-color: #e86256;
  opacity: 1;
}
@media only screen and (min-width: 768px) {
  .cd-top {
    right: 40px;
    bottom: 30px;
  }
}
@media only screen and (min-width: 1024px) {
  .cd-top {
    height: 60px;
    width: 60px;
    right: 80px;
    bottom: 30px;
  }
}

