﻿

/* Move down content because we have a fixed navbar that is 50px tall */
/* background image */

@font-face {
    font-style: normal;
}

* {
    font-family: "Google Sans", Roboto, Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    background-image: url(/Content/img/bg_swr.png);
    background-size: initial;
    font-size: .85rem;
}

.content {
    flex: 1;
}

.page_up {
    padding: 1rem 1.5rem .5rem 1.5rem;
    background-color: #fff;
    border-radius: .7rem .7rem 0 0;
    margin: 5.1rem 0 0 0;
    position: fixed;
    width: 1296px;
    z-index: 100;
}

.page_up_2 {
    height: 11rem;
    padding: 1rem .5rem 1.5rem 1.5rem;
    background-color: #fff;
    border-top: 1px dashed #008E61;
    margin: 12rem 0 0 0;
    position: fixed;
    width: 1296px;
    border-bottom: 1px solid #008E61;
}

.route_definition span {
    font-weight: 700;
    color: #008E61;
    text-transform: uppercase;
    width: 20rem;
    display: block;
}

.route_modify {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: end;
    padding-right: 1rem;
}

.page_up .lead {
    font-size: 1rem;
}

.page_up h1 {
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 700;
    color: #008E61;
}

.content_all {
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    display: flex;
}

/*put the footer down*/

.justify_content {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/*margin top*/

.mt-10 {
    margin-top: 5rem !important;
}

/* Navbar border 

.navbar{
    border-bottom:1px solid darkgray;
}
*/



/* Login home */
.login_home {
    display: flex;
    width: 50rem;
    border-radius: .7rem;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
    text-align: center;
    background: #fff;
}

.icon_swr {
    background-image: url(/Content/img/swr.png);
    background-repeat: no-repeat;
    background-size: 16rem;
    background-position-x: 1rem;
    background-position-y: 4rem;
    width: 22rem;
    height: 12rem;
    padding: 2rem;
    margin: 3rem 0 3rem 3rem;
    border-right: 2px solid #ccc;
}

.login_home_r {
    width: 19rem;
    margin: 3rem;
    align-items: center;
}

    .login_home_r H1 {
        font-weight: bold;
        font-size: 32px;
        color: #008E61;
        margin: 1rem 0 4rem 0;
    }

    .login_home_r a {
        border: 2px solid #008E61;
        padding: .7rem 1.5rem .9rem 1.5rem;
    }

        .login_home_r a:hover {
            border: 2px solid #F3D111;
            background-color: #004d35;
        }

/* filter pannel*/

.filter {
    margin-top: 12.2rem;
    /*    position: fixed;
    width: 1320px;
    z-index: 2;*/
    border-top: 2px solid #cacaca;
    margin-bottom: .2rem;
}


#flush-collapseOne .accordion-body {
    text-align: right;
}

.filter select, .filter input {
    margin: .2rem 0;
    max-width: 395px;
}

.filter .accordion-button::after {
    margin-right: .5rem;
}

.filter_buttons {
    text-align: right;
    padding: 2rem 0.5rem 0 0;
}

.filter_span {
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: right;
}

/*
    .filter_buttons .btn-primary {
        background-color: #008E61;
        border: none;
        border-radius: 0;
        text-transform: uppercase;
        font-size: .9rem;
    }*/

.filter_buttons .btn-primary:hover {
    background-color: #004d35;
}

::file-selector-button {
    -webkit-appearance: button;
    background-color: #F3D111;
    border: none;
    text-transform: uppercase;
    font-size: .9rem;
    padding: .2rem .5rem;
}

    ::file-selector-button:hover {
        background-color: #c3a810;
    }

.form-select:focus, .form-control:focus {
    border-color: #008E61;
    outline: 0;
    box-shadow: none;
}

.accordion-button:focus, .accordion-button:focus-visible {
    --bs-accordion-btn-focus-box-shadow: 0;
}

.accordion-button:not(.collapsed) {
    background-color: #BFD1CA;
    color: #000;
}





/* white squares*/

.whitesquare {
    margin: 1rem;
    padding: 1rem;
    border-radius: .7rem;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
    text-align: center;
    background: #fff;
}

/* table styles */


/*
    .swr_table tr:first-child {
        position: fixed;
        width: 1296px;
        margin-top: -2.2rem;
    }
*/

.pagination-ys a {
    color: #008E61;
    padding: 0 .2rem;
}

.pagination-ys span {
    color: #fff;
    font-weight: bold;
    padding: 0 .3rem;
    border: 1px solid #008E61;
    background: #008E61;
}


.title_swr_table h2 {
    padding: 1.5rem;
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: 500;
    background-color: #fff;
    /* margin-top: 15.4rem;*/
    border-top: 2px solid #cacaca;
}


.swr_table {
    border-collapse: collapse;
    border-radius: 0 0 1rem 1rem;
    overflow: hidden;
    border-color: #ccc;
    margin-top: -.5rem;
}

    .swr_table th a, .swr_table th {
        color: #008E61;
        text-decoration: none;
        text-transform: uppercase;
        font-weight: 400;
        font-size: .85rem;
    }

td:nth-child(9), td:nth-child(10), th:nth-child(9), th:nth-child(10) {
    text-align: center;
}

/*.table_detail {
    margin-top: 22.9rem;
}*/

.table_detail td:nth-child(7), .table_detail td:nth-child(8), .table_detail th:nth-child(7), .table_detail th:nth-child(8) {
    text-align: center;
}

/**/

.point_table {
    margin-top: 23.5rem;
}

.page_up_2 .col-md-6 {
    align-items: center;
    display: flex;
}
/* nuev archivo button styles */
.nueva_ruta {
    display: flex;
    align-items: end;
    justify-content: right;
    padding-right: .9rem;
    padding-bottom: .5rem;
}

    /* .nueva_ruta input {
        color: #ffffff;
        background-color: #008E61;
        padding: .5rem 1.2rem;
        border: 0;
        text-transform: uppercase;
    }*/

    .nueva_ruta input:hover {
        color: #ffffff;
        background-color: #004d35;
    }



.red {
    color: red;
}

.green {
    color: #008E61;
}

.swr_table tr:last-child td {
    border-bottom: 0;
}


/*seleccion de archivos styles*/

.seleccionar_ciudades {
    width: 20rem;
    background: rgba(255,255,255,0.5);
    padding: .5rem 3rem;
    margin: auto;
    border-radius: .3rem;
    border: 2px solid #008E61;
}

.caja_ciudad, .caja_tipo {
    width: 20rem;
    background: rgba(255,255,255,0.8);
    padding: 4rem;
    margin: 1rem auto;
    /*border-radius: .5rem;
    border: 2px solid #008E61;*/
    text-align: center;
}



.seleccionar_ciudades div input {
    margin: 1rem 0;
    color: #ffffff;
    background-color: #008E61;
    padding: .5rem 1.2rem;
    border: 0;
    text-transform: uppercase;
}

    .seleccionar_ciudades div input:hover {
        color: #ffffff;
        background-color: #004d35;
    }

#MainContent_UploadButton {
    margin: 1rem 0;
    color: #ffffff;
    background-color: #008E61;
    padding: .5rem 1.2rem;
    border: 0;
    text-transform: uppercase;
}

    #MainContent_UploadButton:hover {
        color: #ffffff;
        background-color: #004d35;
    }
/*
#MainContent_lblCiudad, #MainContent_lblRecogida {
    color: #008E61;
    font-size: 1.2rem;
    font-weight: 400;
    margin: .5rem 0 0 0;
    display:block;
}*/

/**/

#MainContent_pnlSubida {
    padding: 3rem;
    border-radius: 1rem;
    margin: auto;
    background: rgba(255,255,255,0.5);
    border-radius: 0 0 1rem 1rem;
}

#MainContent_lblInsertar {
    text-transform: uppercase;
    width: 100%;
    display: block;
}

#MainContent_pnlControlSubida {
    padding: 1rem;
    /*border-radius: .5rem;*/
    margin: auto;
    /*border: 2px solid #008E61;*/
    background: rgba(255,255,255,0.9);
}

.seleccionar_tipo {
}

.green_button {
    color: #ffffff;
    background-color: #008E61;
    padding: .5rem 1.2rem;
    border: 0;
    text-transform: uppercase;
    margin: .2rem;
    text-decoration: none;
    border-radius: 0;
    font-size: .9rem;
}

.green_buton_disabled {
    color: #ffffff;
    background-color: #76827e;
    padding: .5rem 1.2rem;
    border: 0;
    text-transform: uppercase;
    margin: .2rem;
    text-decoration: none;
    font-size: .9rem;
}

.green_button:hover {
    color: #ffffff;
    background-color: #004d35;
}

.yellow_button {
    background-color: #F3D111;
    color: #000;
    padding: .5rem 1.2rem;
    border: 0;
    text-transform: uppercase;
    text-decoration: none;
    /*margin: 1rem;*/
    border-radius: 0;
    font-size: .9rem;
}

    .yellow_button:hover {
        background-color: #c3a810;
    }

.green_title {
    text-transform: uppercase;
    color: #008E61;
    font-size: 1.2rem;
    font-weight: 400;
    margin: 1rem 0 0 0;
}

.base_box {
    padding: .5rem;
    display: block;
}
/*Volver button*/
.container .volver {
    text-align: right;
    padding-right: 1.75rem;
}
/*Volver button center*/



/*Alert*/

.app_error {
    color: #c20808;
    text-align: center;
    font-size: 1rem;
    text-transform: uppercase;
    display: block;
    font-weight: 400;
    padding: 1rem;
    margin: .3rem 0;
    border: 2px solid #c20808;
    /*border-radius: .5rem;*/
    background-color: rgba(255,255,255,0.9);
}

.app_well {
    color: #008E61;
    text-align: center;
    font-size: 1rem;
    text-transform: uppercase;
    display: block;
    font-weight: 400;
    padding: 1rem;
    margin: .3rem 0 0 0;
    border: 2px solid #008E61;
    /*border-radius: 0 0 .5rem .5rem;*/
    background-color: rgba(255,255,255,0.9);
}

/*.app_well_2 {
    color: #008E61;
    text-align: center;
    font-size: 1rem;
    text-transform: uppercase;
    display: block;
    font-weight: 400;
    padding: 1rem;
    border: 2px solid #008E61;
    border-radius: .5rem;
    background-color: #fff;
}*/

/*.modal_point_detail .form-group label {
    text-align: right;
}*/

/*.modal_point_detail .form-group input {
    width: 100%;
}*/

.modal_point_detail .form-group {
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    padding-left: 10px;
    /*border-bottom: 1px solid #ddd;*/
}

    .modal_point_detail .form-group:last-child {
        border-bottom: none;
    }

#MainContent_divBusqueda {
    align-items: center;
}
/*footer*/
footer {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.4);
    margin-top: -1rem;
}

    footer p {
        margin-top: 1rem;
        padding: .5rem;
        margin-bottom: 0;
    }


/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges 
.body-content {
    
    display: flex;
    
}
*/


/*Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    /*max-width: 336px;*/
    border-radius: 0 !important;
}

/* Responsive: tablets and down */

@media screen and (max-width:1399px) {
    .page_up, .page_up_2, .swr_table tr:first-child {
        width: 1116px;
    }
    /* .filter {
        width: 1140px;
    }*/
}

@media screen and (max-width:1199px) {
    .page_up, .page_up_2, .swr_table tr:first-child {
        width: 936px;
    }
    /* .filter {
        margin-top: 13rem;
        width: 960px;
    }*/
}


@media screen and (max-width:991px) {
    .login_home {
        flex-direction: column;
        width: 21rem;
    }

    .icon_swr {
        height: 12rem;
        margin: 2rem;
        border-right: 0;
    }

    .login_home_r {
        width: 21rem;
        margin: 0 0 3rem 0;
    }

        .login_home_r H1 {
            margin: 1rem;
        }

    th:nth-child(8) {
        display: none;
    }

    td:nth-child(8) {
        display: none;
    }

    .page_up, .page_up_2 {
        width: 696px;
    }
    /* .filter, .swr_table tr:first-child {
        width: 720px;
    }*/

}

@media screen and (max-width:767px) {
    #flush-collapseOne .accordion-body {
        text-align: left;
    }

    th:nth-child(n+1):nth-child(-n+5) {
        display: none;
    }

    td:nth-child(n+1):nth-child(-n+5) {
        display: none;
    }

    .filter span {
        justify-content: left;
    }
    /*    .page_up, .page_up_2, .filter {
        width: 516px;
    }*/
}

.float-container {
    border: 3px solid #fff;
    padding-right: 10px;
}

.float-child {
    width: 50%;
    float: left;
    padding-right: 10px;
}

.heading_underline {
    border-bottom: 1px solid #aaa;
}


input#pac-input {
    border: 0;
    border-radius: 10px;
    width: 100%;
    background-color: var(--bs-body-bg);
    border: var(--bs-border-width) solid var(--bs-border-color);
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input#MainContent_btnAsignar {
    background: #16bdae;
    border: 0;
    border-radius: 7px;
    color: white;
    /* padding: 15px; */
    position: absolute;
    right: -2px;
    top: -3px;
}

a#MainContent_btnAsignar {
    background: #008E61;
    border: 0;
    border-radius: 7px;
    color: white;
    /* padding: 15px; */
    position: absolute;
    right: -2px;
    top: -3px;
}

.navbar {
    font-size: 1.4em;
    /*color: #008E61;
    margin: 1rem 0 4rem 0;*/
}

.nav-link,
.navbar-text {
    font-weight: bold;
    color: #008E61;
}

.nav-tabs .nav-item .nav-link.active {
    font-weight: bold !important;
    color: #008E61 !important;
}

.nav-tabs .nav-item .nav-link {
    font-weight: normal !important;
    color: #008E61 !important;
}

    .nav-tabs .nav-item .nav-link:hover {
        color: #004d35 !important;
    }

.nav-link:hover {
    color: #004d35;
}

.facturacionBotoneraContainer {
    background-color: white;
    margin-top: 4px;
    margin-left: 1px;
    margin-right: 1px;
    padding: 5px;
}

    .facturacionBotoneraContainer li {
        font-size: 1.2em;
    }

.facturacionBotones {
    background-color: #008E61;
    color: white;
    font-weight: 500;
    border: none;
}

.containerTableGrafica {
    background-color: white;
    border-radius: 0 0 1rem 1rem;
    margin-left: 1px;
    margin-right: 1px;
    padding: 5px;
}

    .containerTableGrafica th a, .containerTableGrafica th {
        color: #008E61;
        text-decoration: none;
        text-transform: uppercase;
        font-weight: 400;
        font-size: .85rem;
    }

.facturacionGastoTotal {
    font-weight: bold;
    font-size: 1.5em;
    color: #008E61;
    padding: 10px;
    position: absolute;
    margin-left: 5px;
}
