body {
    overflow-x: hidden;
    font-family: 'Lato', sans-serif;
    color: #454545;
}

p {
    line-height: 1.6;
}

a {
    color: #0e4194;
}

a:hover {
    color: #05347f;
    text-decoration: none;
}

.text-primary {
    color: #0e4194 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
    font-family: 'Lato', sans-serif;
}

section {
    padding: 100px 0;
}

section h2.section-heading {
    font-size: 3em;
    margin-top: 0;
    margin-bottom: 45px;
}

section h3.section-subheading {
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 75px;
    text-transform: none;
    font-family: 'Lato', sans-serif;
}

@media (min-width: 768px) {
    section {
        padding: 150px 0;
    }
}

.btn {
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    border: 0;
    border-radius: .15rem;
}

.btn-xl {
    font-size: 18px;
    padding: 16px 40px;
}

.btn-primary {
    background-color: #0e4194;
    background-image: linear-gradient(#0e4194, #0744a7) !important;
}

.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover {
    background-color: #0e4194;
    background-image: linear-gradient(#0744a7, #0e4194) !important;
    color: white;
}

.btn-primary:active,
.btn-primary:focus {
    -webkit-box-shadow: 0 0 0 0.1rem rgba(14, 65, 148, 0.5) !important;
    box-shadow: 0 0 0 0.1rem rgba(14, 65, 148, 0.5) !important;
}

::-moz-selection {
    background: rgba(14, 65, 148, 0.6);
    text-shadow: none;
}

::selection {
    background: rgba(14, 65, 148, 0.6);
    text-shadow: none;
}

img::-moz-selection {
    background: transparent;
}

img::selection {
    background: transparent;
}

img::-moz-selection {
    background: transparent;
}

.bg-wine {
    background-color: #88261f !important
}

#mainNav {
    background-color: #05347f;
}

#mainNav .navbar-toggler {
    font-size: 24px;
    font-weight: 400;
    right: 0;
    padding: 10px;
    color: white;
    border: 0;
    font-family: 'Lato', sans-serif;
}

#mainNav .navbar-toggler:focus {
    outline: 0;
}


#mainNav .navbar-brand img {
    width: 100%;
    height: 100%;
}

#mainNav .navbar-nav .nav-item .nav-link {
    font-weight: 400;
    padding: 0.75em 0;
    color: white;
    font-family: 'Lato', sans-serif;
}

#mainNav .navbar-nav .nav-item .nav-link.active,
#mainNav .navbar-nav .nav-item .nav-link:hover {
    color: #f94a3e;
}

@media (min-width: 992px) {
    #mainNav {
        padding-top: 25px;
        padding-bottom: 25px;
        -webkit-transition: padding-top 0.3s, padding-bottom 0.3s;
        transition: padding-top 0.3s, padding-bottom 0.3s;
        border: none;
        background-color: transparent;
    }

    #mainNav .navbar-brand {
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
    }

    #mainNav .navbar-nav .nav-item .nav-link {
        padding: 0.6em !important;
    }

    #mainNav.navbar-shrink {
        padding-top: 0;
        padding-bottom: 0;
        background-color: #05347f;
    }

    #mainNav.navbar-shrink .navbar-brand {
        padding: 17px 0;
    }

    #mainNav.navbar-shrink .navbar-brand img {
        width: 90%;
        height: 90%;
        -webkit-transition: width 0.5s, height 0.5s;
        transition: width 0.5s, height 0.5s;
    }
}

header.masthead {
    text-align: center;
    color: white;
    background-image: url("../img/header-2020-azul.jpg");
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
}

header.masthead .intro-text {
    bottom: 10px;
    position: relative;
}

header.masthead .intro-text .intro-lead-in {
    font-size: 22px;
    font-style: italic;
    line-height: 22px;
    margin-bottom: 10px;
    font-family: 'Lato', sans-serif;
}

header.masthead .intro-text .intro-heading {
    font-size: 50px;
    font-weight: 400;
    line-height: 58px;
    margin-bottom: 10px;
    font-family: 'Lato', sans-serif;
}
.imagenabajo{
    position:absolute;
    bottom:5px;
    }
@media (min-width: 768px) {
    header.masthead .intro-text {
        padding: 200px 170px;
    }

    header.masthead .intro-text .intro-heading {
        font-size: 48px;
        font-weight: 400;
        font-family: 'Lato', sans-serif;
    }

    header.masthead .intro-text p {
        font-size: 16px;
        font-weight: 400;
        font-family: 'Lato', sans-serif;
        margin-bottom: 60px;
    }
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: #88261f;
}

.nav-pills .nav-link {
    border-radius: 0;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #fff !important;
}

#nosotros p {
    padding-left: 50px;
    padding-right: 50px;
}

@media (min-width: 768px) {
    #nosotros p {
        padding-left: 100px;
        padding-right: 100px;
    }
}

#productos .productos-item {
    right: 0;
    margin: 0 0 15px;
}

#productos .productos-item .productos-link {
    position: relative;
    display: block;
    max-width: 400px;
    margin: 0 auto;
    cursor: pointer;
}

#productos .productos-item .productos-link .productos-hover {
	position: absolute;
	width: 100%;
	height: 100%;
	-webkit-transition: all ease 0.5s;
	transition: all ease 0.5s;
	opacity: 0;
	background: rgba(215, 215, 215, 0.4);
	background-color:rgba(215, 215, 215, 0.4);
}

#productos .productos-item .productos-link .productos-hover:hover {
    opacity: 1;

}

#productos * {
    z-index: 2;
}

@media (min-width: 767px) {
    #productos .productos-item {
        margin: 0 0 30px;
    }
}

.productos-modal .productos-item {
    right: 0;
    margin: 0 0 15px;
}

@media (min-width: 767px) {
    .productos-modal .productos-item {
        margin: 0 0 30px;
    }
}

.productos-modal {
    padding-right: 0px !important;
}

.productos-modal .modal-dialog {
    margin: 1rem;
    max-width: 100vw;
}

.productos-modal .modal-content {
    padding: 100px 0;
    text-align: center;
}

@media (min-width: 768px) {
    .productos-modal .modal-content {
        padding: 30px 0;
    }
}

.productos-modal .modal-content h2 {
    font-size: 3em;
    margin-bottom: 15px;
}

.productos-modal .modal-content h3 {
    font-size: 2.5em;
    padding-top: 70px;
}

.productos-modal .modal-content p {
    margin-bottom: 30px;
}

.productos-modal .modal-content p.item-intro {
    font-size: 16px;
    font-style: italic;
    margin: 20px 0 30px;
    font-family: 'Lato', sans-serif;
}

.productos-modal .modal-content ul.list-inline {
    margin-top: 0;
    margin-bottom: 30px;
}

.productos-modal .modal-content button {
    cursor: pointer;
}

.productos-modal .close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 75px;
    height: 75px;
    cursor: pointer;
    background-color: transparent;
    z-index: 1;
}

.productos-modal .close-modal:hover {
    opacity: 0.3;
}

.productos-modal .close-modal .lr {
    /* Safari and Chrome */
    z-index: 1051;
    width: 1px;
    height: 75px;
    margin-left: 35px;
    /* IE 9 */
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    background-color: #212529;
}

.productos-modal .close-modal .lr .rl {
    /* Safari and Chrome */
    z-index: 1052;
    width: 1px;
    height: 75px;
    /* IE 9 */
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    background-color: #212529;
}

.productos-modal .productos-item .productos-caption {
    max-width: 400px;
    margin: 0 auto;
    padding: 25px;
    text-align: center;
    background-color: #fff;
}

.productos-modal .productos-item .productos-caption h4 {
    margin: 0;
    text-transform: none;
}

.productos-modal .productos-item .productos-caption p {
    font-size: 16px;
    font-style: italic;
    margin: 0;
    font-family: 'Lato', sans-serif;
}

#novedades .novedad-row {
    margin-bottom: 30px;
}

#novedades .novedades-text {
    padding: 3rem;
}

.map {
    height: 30rem;
}

#contacto .contacto-text {
    padding: 2rem;
}

section#contacto {
    background-image: url("../img/contact-bg.jpg");
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
}

section#contacto .section-heading {
    color: #fff;
}

section#contacto .form-group {
    margin-bottom: 22px;
}

section#contacto .form-group input {
    padding: 25px;
    border-radius: .15rem;
}

section#contacto .form-group textarea {
    padding: 15px 25px;
    border-radius: .15rem;
}

section#contacto .form-group textarea.form-control {
    height: 200px;
}

section#contacto .form-control:focus {
    border-color: rgba(14, 65, 148, 0.6);
    -webkit-box-shadow: none;
    box-shadow: none;
}

section#contacto ::-webkit-input-placeholder {
    font-weight: 700;
    color: #ced4da;
    font-family: 'Lato', sans-serif;
}

section#contacto :-moz-placeholder {
    font-weight: 700;
    color: #ced4da;
    font-family: 'Lato', sans-serif;
}

section#contacto ::-moz-placeholder {
    font-weight: 700;
    color: #ced4da;
    font-family: 'Lato', sans-serif;
}

section#contacto :-ms-input-placeholder {
    font-weight: 700;
    color: #ced4da;
    font-family: 'Lato', sans-serif;
}

footer {
    padding: 25px 0;
    text-align: center;
}

footer span.copyright {
    font-size: 90%;
    line-height: 40px;
    text-transform: none;
    font-family: 'Lato', sans-serif;
}

footer ul.quicklinks {
    font-size: 90%;
    line-height: 40px;
    margin-bottom: 0;
    text-transform: none;
    font-family: 'Lato', sans-serif;
}

ul.social-buttons {
    margin-bottom: 0;
}

ul.social-buttons a {
    color: #fff;
}


ul.social-buttons li .icon {
    font-size: 16px;
    line-height: 32px;
    display: block;
    width: 32px;
    height: 32px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    color: #454545;
    border-radius: 100%;
    outline: none;
    background-color: #fff;
    text-align: center
}

ul.social-buttons li a.icon {
    background-color: #666666;
    color: white;
}

ul.social-buttons li a.icon:active,
ul.social-buttons li a.icon:hover {
    background-color: #8b312b;
}

/* Preloader */

body.preloader-site {
    overflow: hidden;
}

.preloader-wrapper {
    height: 100%;
    width: 100%;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999999;
}

.preloader-wrapper .preloader {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 120px;
}
