@import url('https://fonts.googleapis.com/css?family=Exo+2:400,700');

:root {
    --primary: #164092;
    --background: #ddffdd;
    --white: #ffffff;
    --black: #000000;
    --green: #93c047;

}

html {
    box-sizing: border-box;
    font-size: 62.5%;
    background: rgb(100, 138, 39);
    background: linear-gradient(180deg, rgba(100, 138, 39, 1) 0%, rgba(147, 192, 71, 1) 100%);
    margin: 0;
}

*, *:before, *:after {
    box-sizing: inherit;
}

form * {
    font-size: 130% !important;
}

/** Globales **/

body {
    font-family: 'Exo 2', sans-serif;
    max-width: 1840px;
    margin: 0 auto;
    background: var(--white);
    box-shadow: 10px 10px 60px 20px rgba(0, 0, 0, 0.26);
    -webkit-box-shadow: 10px 10px 60px 20px rgba(0, 0, 0, 0.26);
    -moz-box-shadow: 10px 10px 60px 20px rgba(0, 0, 0, 0.26);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

h1 {
    width: 25%;
    min-width: 300px;
}

h2 {
    color: var(--primary);
    font-size: 28px;
}

h3 {
    color: var(--green);
    font-size: 24px;
}

p {
    font-size: 16px;
}

.no-margin {
    margin: 0;
}

span {
    font-size: 16px;
    color: var(--primary);
    font-weight: bold;
}

/** Header **/

header {
    border-bottom: 5px solid var(--green);
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

section.container-fluid {
    flex: 1;
}

footer {
    margin-top: auto;
}

header h1 a {
    display: block;
    height: 12rem;
    background: url('../images/logo/sidetel-logo.jpg') no-repeat center center;
    background-size: 27rem 9rem;
    text-indent: -9999px;
}

header .navbar {
    background-color: var(--white) !important;

}



@media (max-width: 767.98px) {
    .panels .card {
        width: 100% !important;
    }

}

@media (max-width: 991.98px) {
    .panels {
        padding: 40px 0;
    }

    .panels .card {
        width: 50%;
        float: left;
        display: flex;
        min-height: 400px !important;
        flex-direction: column;
        border: none !important;
    }

    .card-img-top {
        cursor: pointer;
    }

    .panels h3 {
        padding: 10px 0;
    }

    .card-body {
        flex: 1;
        position: relative;
        padding-bottom: 60px;
    }

    .button-wrapper {
        bottom: 20px;
        left: 30px;
        right: 30px;
        position: absolute;
    }

    .button-wrapper .btn-primary {
        box-shadow: 5px 5px 16px -2px rgba(0, 0, 0, 0.25);
        -webkit-box-shadow: 5px 5px 16px -2px rgba(0, 0, 0, 0.25);
        -moz-box-shadow: 5px 5px 16px -2px rgba(0, 0, 0, 0.25);
    }

    .button-wrapper .btn-primary:hover {
        box-shadow: 5px 5px 16px -2px rgba(0, 0, 0, 0.35);
        -webkit-box-shadow: 5px 5px 16px -2px rgba(0, 0, 0, 0.35);
        -moz-box-shadow: 5px 5px 16px -2px rgba(0, 0, 0, 0.35);
    }


    footer .col-4 {
        width: 100%;
    }

    footer {
        background-color: var(--primary);
        color: var(--white);
        border-top: 5px solid var(--green);
        margin-top: 20px;
        font-size: 16px;
    }

    footer h3 a {
        display: block;
        background: url('../images/logo/sidetel-footer-logo.png') no-repeat center center;
        text-indent: -9999px;
        text-align: center;
        height: 80px;
        width: 100%;
    }

    .address_wrapper {
        padding: 10px 40px;
    }

    footer address {
        font-size: 16px;
        line-height: 28px;
        color: rgba(255, 255, 255, 0.7);
    }

    footer address a {
        font-size: 16px;
        color: rgba(255, 255, 255, 0.7);
    }

    footer address a:hover {
        color: #ffffff;
    }

    footer .navbar-nav {
        display: flex;
        flex-direction: row;
        padding-bottom: 20px;
        border-bottom: 1px dotted rgba(255, 255, 255, 0.4);
    }

    footer .navbar-nav .nav-item {
        width: 20%;
        float: left;
        border-left: 1px solid #ffffff;
    }

    footer .navbar-nav .nav-item:first-child {
        border-left: none;
    }

    footer .navbar-nav .nav-item a {
        width: 100%;
        color: #ffffff;
        background-color: transparent;
        border: none !important;
    }

    footer .navbar-nav .nav-item a:hover {
        width: 100%;
        color: var(--green);
        background-color: transparent;
        border: none !important;
    }
}


@media (min-width: 768px) and (max-width: 991.98px) {
    .panels .card {
        width: 50%;
    }


}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .panels {
        padding: 40px 0;
    }

    .panels .card {
        width: 33.3333%;
        float: left;
        display: flex;
        min-height: 400px !important;
        flex-direction: column;
        border: none !important;
    }

    .card-img-top {
        cursor: pointer;
    }

    .panels h3 {
        padding: 10px 0;
    }

    .card-body {
        flex: 1;
        position: relative;
        padding-bottom: 60px;
    }

    .button-wrapper {
        bottom: 20px;
        left: 30px;
        right: 30px;
        position: absolute;
    }

    .button-wrapper .btn-primary {
        box-shadow: 5px 5px 16px -2px rgba(0, 0, 0, 0.25);
        -webkit-box-shadow: 5px 5px 16px -2px rgba(0, 0, 0, 0.25);
        -moz-box-shadow: 5px 5px 16px -2px rgba(0, 0, 0, 0.25);
    }

    .button-wrapper .btn-primary:hover {
        box-shadow: 5px 5px 16px -2px rgba(0, 0, 0, 0.35);
        -webkit-box-shadow: 5px 5px 16px -2px rgba(0, 0, 0, 0.35);
        -moz-box-shadow: 5px 5px 16px -2px rgba(0, 0, 0, 0.35);
    }


    footer .col-4 {
        width: 33.3333%;
    }

    footer {
        background-color: var(--primary);
        color: var(--white);
        border-top: 5px solid var(--green);
        margin-top: 20px;
        font-size: 16px;
    }

    footer h3 a {
        display: block;
        background: url('../images/logo/sidetel-footer-logo.png') no-repeat center center;
        text-indent: -9999px;
        text-align: center;
        height: 80px;
        width: 100%;
    }

    .address_wrapper {
        padding: 10px 40px;
    }

    footer address {
        font-size: 16px;
        line-height: 28px;
        color: rgba(255, 255, 255, 0.7);
    }

    footer address a {
        font-size: 16px;
        color: rgba(255, 255, 255, 0.7);
    }

    footer address a:hover {
        color: #ffffff;
    }

    footer .navbar-nav {
        display: flex;
        flex-direction: column;
        padding-bottom: 20px;
    }

    footer li.nav-item {
        width: 100% !important;
        float: none;
        border-bottom: 1px dotted rgba(255, 255, 255, 0.4);

    }

    footer .navbar-nav .nav-item:first-child {
        border-left: none;
    }

    footer .navbar-nav li.nav-item a {
        width: 100%;
        color: #ffffff;
        background-color: transparent;
        border: none !important;
    }

    footer .navbar-nav .nav-item a:hover {
        width: 100%;
        color: var(--green);
        background-color: transparent;
        border: none !important;
    }
}

@media (min-width: 1200px) {

    .panels {
        padding: 40px 0;
    }

    .panels .card {
        width: 33.3333%;
        float: left;
        display: flex;
        min-height: 400px !important;
        flex-direction: column;
        border: none !important;
    }

    .card-img-top {
        cursor: pointer;
    }

    .panels h3 {
        padding: 10px 0;
    }

    .card-body {
        flex: 1;
        position: relative;
        padding-bottom: 60px;
    }

    .button-wrapper {
        bottom: 20px;
        left: 30px;
        right: 30px;
        position: absolute;
    }

    .button-wrapper .btn-primary {
        box-shadow: 5px 5px 16px -2px rgba(0, 0, 0, 0.25);
        -webkit-box-shadow: 5px 5px 16px -2px rgba(0, 0, 0, 0.25);
        -moz-box-shadow: 5px 5px 16px -2px rgba(0, 0, 0, 0.25);
    }

    .button-wrapper .btn-primary:hover {
        box-shadow: 5px 5px 16px -2px rgba(0, 0, 0, 0.35);
        -webkit-box-shadow: 5px 5px 16px -2px rgba(0, 0, 0, 0.35);
        -moz-box-shadow: 5px 5px 16px -2px rgba(0, 0, 0, 0.35);
    }


    footer .col-4 {
        width: 33.3333%;
    }

    footer {
        background-color: var(--primary);
        color: var(--white);
        border-top: 5px solid var(--green);
        margin-top: 20px;
        font-size: 16px;
    }

    footer h3 a {
        display: block;
        background: url('../images/logo/sidetel-footer-logo.png') no-repeat center center;
        text-indent: -9999px;
        text-align: center;
        height: 80px;
        width: 100%;
    }

    .address_wrapper {
        padding: 10px 40px;
    }

    footer address {
        font-size: 16px;
        line-height: 28px;
        color: rgba(255, 255, 255, 0.7);
    }

    footer address a {
        font-size: 16px;
        color: rgba(255, 255, 255, 0.7);
    }

    footer address a:hover {
        color: #ffffff;
    }

    footer .navbar-nav {
        display: flex;
        flex-direction: column;
        padding-bottom: 20px;
    }

    footer li.nav-item {
        width: 100% !important;
        float: none;
        border-bottom: 1px dotted rgba(255, 255, 255, 0.4);

    }

    footer .navbar-nav .nav-item:first-child {
        border-left: none;
    }

    footer .navbar-nav li.nav-item a {
        width: 100%;
        color: #ffffff;
        background-color: transparent;
        border: none !important;
        padding-left: 20px;
    }

    footer .navbar-nav .nav-item a:hover {
        width: 100%;
        color: var(--green);
        background-color: transparent;
        border: none !important;
    }
}



@media (min-width: 992px) {
    #navbarNav {
        position: relative;
    }

    header ul.navbar-nav {
        position: absolute;
        width: 60rem;
        right: 0 !important;
        background-color: var(--primary);
    }

    header ul.navbar-nav li {
        width: 20%;
    }

    header ul.navbar-nav li a {
        display: block;
        color: var(--white) !important;
        font-size: 16px;
        text-align: center;
    }

    header ul.navbar-nav li a.active, header ul.navbar-nav li a:hover {
        background-color: var(--green);
    }
}

/* Menu desplegable  FALTA*/

.navbar-toggler {
    height: 50px;
    width: 50px;
    border-radius: 5px !important;
    background: var(--green) !important;
    box-shadow: 5px 5px 16px -2px rgba(0, 0, 0, 0.20);
    -webkit-box-shadow: 5px 5px 16px -2px rgba(0, 0, 0, 0.20);
    -moz-box-shadow: 5px 5px 16px -2px rgba(0, 0, 0, 0.20);
}

.navbar-toggler:hover {
    box-shadow: 5px 5px 16px -2px rgba(0, 0, 0, 0.35);
    -webkit-box-shadow: 5px 5px 16px -2px rgba(0, 0, 0, 0.35);
    -moz-box-shadow: 5px 5px 16px -2px rgba(0, 0, 0, 0.35);
}

@media (max-width: 992px) {
    #navbarNav {
        position: absolute;
        z-index: 1000;
        top: 120px;
        left: 50%;
        margin-left: -200px;
        box-shadow: 10px 10px 40px -2px rgba(0, 0, 0, 0.35);
        -webkit-box-shadow: 10px 10px 40px -2px rgba(0, 0, 0, 0.35);
        -moz-box-shadow: 10px 10px 40px -2px rgba(0, 0, 0, 0.35);
    }

    .nav-link {
        width: 400px;
        background: var(--white);
        padding: 8px 0;
        font-size: 16px;
        text-align: center;
        border-bottom: 2px solid var(--background);
    }

    .nav-link:hover {
        background: var(--primary);
        color: var(--white) !important;
        border-bottom: 2px solid var(--green);
    }

    .full-screen {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: rgba(147, 192, 71, .6);
        z-index: 900;

    }

    .hidden {
        display: none;
    }
}

/** Carousel **/

.carousel {

    border-bottom: 5px solid var(--green);
}

.carousel-caption {
    position: absolute;
    text-align: right;
    background-color: rgba(147, 192, 71, 0.4);
    font-size: 16px;
    font-weight: bold;
}

@media (min-width: 992px) {
    .carousel {
        position: relative;
    }

    .carousel-caption {
        top: 0;
        right: 8.3%;
        bottom: 0;
        left: 50%;
        height: 100%;
        padding: 15rem 5rem 5rem 5rem;
        margin-bottom: 0;
    }

    .carousel-caption h5 {
        font-size: 24px;
    }

    .carousel-caption p,
    .carousel-caption h5 {
        text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
    }

    .carousel-indicators {
        position: absolute;
        right: 50%;
    }

    .carousel-indicators > button {
        width: 14px !important;
        height: 14px !important;
        margin: 0 10px 16px 10px !important;
        background-color: var(--primary) !important;
    }

    .carousel-indicators > button.active {
        background-color: var(--green) !important;
    }
}

/** Columnas **/

.fondo {
    background-color: var(--background);
}

section .panels {
    /* position: relative; */
}

section.panels .col-4 {
    background-color: transparent;
    border: none;
    width: 100%;
    margin: 6rem 2rem;
    text-align: center;
}

.card-text {
    padding-bottom: 30px;
}

@media (min-width: 768px) {
    section.panels .col-4 {
        width: 30%;
    }
}

/** Botones **/

.card .btn-primary {
    /* position: absolute; */
    max-height: 4rem;
    width: 100%;
    background-color: var(--primary);
    font-size: 18px;
    bottom: 0;
    margin: 0 auto;
}

.card .btn-primary:hover,
.btn-primary:hover {
    background-color: var(--green);
}

.card img {
    width: 200px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.card img:hover {
    border: 5px solid var(--primary);
}


/** Animations **/

.fade-in-left {
    -webkit-animation: fade-in-left 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    animation: fade-in-left 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

@-webkit-keyframes fade-in-left {
    0% {
        transform: translateX(-50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fade-in-left {
    0% {
        transform: translateX(-50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}


.section-sidetel {
    padding: 5rem 5rem 5rem 5rem;
    background-color: var(--background);
    margin-bottom: 5rem;
}

/** Panel Clientes **/
.clientes {
    min-height: 600px;
}

.clientes > .row > .col-3 {
    width: 100%;
}


@media (min-width: 768px) {
    .clientes > .row > .col-3 {
        width: 25%;
    }
}


.sidetel-map {
    border: 1px solid var(--green);
    padding: 3rem;
    background: var(--white);
}

/** Contacto **/

.panel-contacto {
    padding-top: 3rem;
    /* border-top: 5px solid var(--green); */
}

.contacto-text {
    padding: 2rem;
    background-color: rgba(157, 161, 170, 0.3);
}

@media (min-width: 992px) {
    .image_big {
        display: block !important;
    }

    .image_small {
        display: none !important;
    }
}

@media (max-width: 991.999px) {
    .image_big {
        display: none !important;
    }

    .image_small {
        display: block !important;
    }

    .contact .col-4 {
        width: 100%;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .contact .col-4 {
        width: 60%;
    }
}

.contact h2 {
    color: #0a53be;
}

.contact .alert {
    font-size: 14px !important;
}

.contact p {
    font-size: 16px !important;
    line-height: 28px !important;
}

.hidden {
    display: none;
}

label.form-label {
    font-size: 14px !important;
}

.form-control {
    font-size: 14px !important;
}

.contact {
    padding: 40px 40px !important;
}

button.btn-primary {
    background-color: #0a53be;
    font-size: 14px !important;
}

.alert-message i {
    font-size: 16px !important;
}
