/*
Theme Name:		OMNIVISION Durango S.A. de C.V.
Theme URI:		https://omnivisiondurango.com.mx/
Version:		21 de Marzo de 2022
Author:			Emilio Gonzalez Maldonado
Author URI:		https://hagowebs.com/
Description:	Este es un tema creado para OMNIVISION
*/

/* Fuentes */
@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: normal;
    src: local('Raleway Regular'), local('Raleway-Regular'),
    url(assets/fonts/raleway-regular.woff2) format('woff2');
    font-display:fallback
}

/* General */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}
body {
    background: #fff;
    color: #222;
    font-family: "Raleway", sans-serif;
    text-transform: uppercase;
    font-size: 1.75rem;
    line-height: 1.25;
    margin: 0;
}
main {
    overflow: hidden;
}
h1 {
    margin-top: 1rem;
    margin-bottom: 0;
}
h1, h2, h3 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}
h1 {
    font-size: 2.25rem;
}
h2 {
    font-size: 2rem;
}
h3 {
    font-size: 1.75rem;
}
address {
    font-style: normal;
    word-break: break-all;
}
img {
    max-width: 100%;
    height: auto;
}
a {
    text-decoration: none;
}

/* Rejilla responsiva */
*, ::after, ::before {
    box-sizing: border-box;
}
.container {
    margin: 0 auto;
    max-width: 120rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
}
[class*="col"] {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.col {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
}
.col-25 {
    flex: 0 0 25%;
}
.col-33 {
    flex: 0 0 calc(100% / 3);
}
.col-50 {
    flex: 0 0 50%;
}
.col-66 {
    flex: 0 0 calc(100% / 3 * 2);
}
.col-75 {
    flex: 0 0 75%;
}
.col-100 {
    flex: 0 0 100%;
}
@media (min-width: 768px) {
    .col-md {
        flex-basis: 0;
        flex-grow: 1;
        max-width: 100%;
    }
    .col-md-25 {
        flex: 0 0 25%;
    }
    .col-md-33 {
        flex: 0 0 calc(100% / 3);
    }
    .col-md-50 {
        flex: 0 0 50%;
    }
    .col-md-66 {
        flex: 0 0 calc(100% / 3 * 2);
    }
    .col-md-75 {
        flex: 0 0 75%;
    }
    .col-md-100 {
        flex: 0 0 100%;
    }
}
.around {
    justify-content: space-around;
}
.between {
    justify-content: space-between;
}
.center {
    justify-content: center;
}
.vertical-center {
    align-items: center;
}

/* Extras */
.text-center {
    text-align: center;
}
.text-justify {
    text-align: justify;
}
.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}
.responsive-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%;
}
.img-rounded {
    border-radius:1rem;
}
.img-circle {
    border-radius:50%;
}
.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

/* Header */
#header {
    background-image: url("assets/images/paginas/footer.svg");
    background-position: center center;
    background-size: cover;
    color: #0e2c40;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}
#header a {
    color: #0e2c40;
}
#header a:hover {
    color: #c1e1a7;
    border-bottom: 2px #c1e1a7 solid;
}

/* Menu */

nav ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}
nav li {
    display: inline-block;
    margin-left: 0;
}
#menu {
    display: none;
}
#drop-menu {
    font-size: 2rem;
}
#drop-menu span:hover {
    cursor: pointer;
}
#drop-btn {
    position: relative;
}
#drop-content {
    background: linear-gradient(45deg, #fcff9e 0%, #c67700 100%);
    top: 6rem;
    right: 1.5rem;
    position: absolute;
    text-align: center;
}
#drop-content li {
    display: block;
    padding: 2rem 3rem;
}
.hidden {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s linear, opacity 0.3s linear;
}
.visible {
    visibility: visible;
    opacity: 1;
    transition: visibility 0.3s linear, opacity 0.3s linear;
}
.slogan {
    display: none;
}
@media (min-width: 768px) {
    nav li {
        display: inline-block;
        margin-right: 1.5rem;
    }
    .logo-bg {
        font-size: 4.2rem;
        transition: font-size 0.3s;
    }
    .logo-sm {
        font-size: 3rem;
        transition: font-size 0.3s;
    }
    .slogan {
        display: block;
        font-size: 1.6rem;
        margin-top: 0;
    }
    .dblock {
        display: block !important;
    }
    .dnone {
        display: none !important;
    }
    #menu {
        display: block;
    }
    #drop-menu {
        display: none;
    }
}

/* Slideshow */
#slideshow {
    margin-top: 4rem;
}
.grid {
    display: grid;
    grid-template-rows: 
    repeat(4, 180px);
    grid-template-columns: 
    repeat(3, 1fr);
    grid-gap: 5px;
}
.item:nth-child(1) {
    grid-row: 1 / 4;
}
.item:nth-child(2) {
    grid-column: 2 / 4;
    grid-row: 1 / 3;
}
.item:nth-child(3) {
    grid-column: 3 / 4;
    grid-row: 3 / 5;
}
.item:nth-child(4) {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
}
.item:nth-child(5) {
    grid-column: 1 / 3;
    grid-row: 4 / 5;
}
.grid {
    margin:20px auto;
    max-width:1000px;
}
.grid > .item {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.item p {
    margin: 0;
    padding: 1.5rem;
    text-align: center !important;
    font-weight: bold;
    font-size: 2.5rem;
    color: #fff;
    background-color: rgba(0,0,0,0.6);
}
.pgwSlider .ps-caption {
    font-family: "Raleway", sans-serif;
    font-size: 3rem !important;
    text-align: center;
}
.ul.pgwSlider > li span, .pgwSlider > .ps-list > li span {
    display: none;
}

/* Home */

#services {
    margin-top: 26rem;
    margin-bottom: 3rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
}
#services img {
    padding: 1.5rem;
}
#about {
    margin-top: 3rem;
    margin-bottom: 3rem;
}
#about .container {
    max-width: 50rem;
}
#about p {
    margin-bottom: 3rem;
    text-align: left;
}

/* Page */
#page {
    margin: 9rem 1.5rem 3rem 1.5rem;
}

/* Footer */
#footer {
    background-image: url("assets/images/paginas/footer.svg");
    background-position: center center;
    background-size: cover;
    color: #0e2c40;
    padding-top: 3rem;
    text-align: center;
}
#footer a {
    color: #0e2c40;
}
#footer a:hover {
    color: #c1e1a7;
}

/* Contactanos */
#contact .container {
    max-width: 90rem;
}
#contact .fa {
    padding-right: 1.5rem;
}
input:not([type="submit"]), select, textarea {
    background-color: #f5f7fa;
    border: 1px solid #c1e1a7;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    display: block;
    font-family: "Raleway", sans-serif;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    width: 100%;
}
textarea {
    margin-bottom: 3rem;
}
button, .button {
    background-color: #fff;
    border: none;
    color: #333;
    cursor: pointer;
    font-size: 1.75rem;
    padding: 1rem 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
button:hover, .button:hover {
    background-color: #c1e1a7;
    border-color: #adadad;
}

/* Arriba */
#arriba {
    font-size: 3.25rem;
    position: fixed;
    bottom: 2rem;
    right: 3rem;
    z-index:20;
}
#arriba a {
    background-color: #0e2c40 !important;
    color: #c1e1a7 !important;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
#arriba a:hover {
    background-color: #c1e1a7 !important;
    color: #0e2c40 !important;
}

/* WhatsApp */
.flotante-whatsapp {
    font-size: 3.25rem;
    position: fixed;
    bottom: 2rem;
    left: 3rem;
    z-index:20;
}
.flotante-whatsapp a {
    background-color: #00bb2d !important;
    color: #fff !important;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.flotante-whatsapp a:hover {
    color: #00bb2d !important;
    background-color: #fff !important;
}

/* Responsivo */
@media (min-width: 768px) {
    body {
        font-size: 2rem;
        line-height: 1.5;
    }
    h1 {
        font-size: 3.25rem;
    }
    h2 {
        font-size: 2.75rem;
    }
    h3 {
        font-size: 2.25rem;
    }
    #header .container {
        padding-left: 3rem;
        padding-right: 3rem;
    }
    #slideshow {
        margin-top: 12.5rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .pgwSlider .ps-caption {
        font-size: 5rem !important;
    }
    #services {
        margin-top: 63rem;
        margin-bottom: 3rem;
    }
    #about {
        margin-top: 3rem;
        margin-bottom: 6rem;
    }
    input:not([type="submit"]), select, textarea {
        font-size: 2rem;
    }
    button, .button {
        font-size: 2rem;
    }
    #services p {
        text-align: justify;
    }
    #about p {
        text-align: justify;
    }
    #page {
        margin: 21rem 3rem 3rem 3rem;
    }
}