/********** Template CSS **********/
body {
    background-color: #ffffff;
    color: #343a40;
}

:root {
    --primary: #343a40;
    --secondary: #757575;
    --light: #F3F6F8;
    --dark: #343a40;
    --selected: #ffffff;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 60px
}

.navbar .navbar-nav .nav-link {
    margin-right: 22px;
    padding: 20px 0;
    color: var(--light);
    font-weight: 800;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #92d7e7 !important;
    text-shadow: 1px 1px 1px #fff;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    /*align-items: center;*/
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, .55);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .75), rgba(0, 0, 0, .75)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Facts ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: 20px;
        z-index: 1;
    }
}


/*** Courses ***/
.courses {
    min-height: 100vh;
    background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)), url(../img/elproyecto01.png) center center no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.courses-item .courses-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.courses-item:hover .courses-overlay {
    height: 100%;
    opacity: 1;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .75);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social {
    height: 100%;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    height: 40px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: transparent;
    border: 2px solid var(--primary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    /*width: 150px;*/
    /*height: 150px;*/
}
.testimonial-carousel .owl-item {
    /*width: 200px !important;*/
    /*height: 150px;*/


}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--light);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: var(--primary);
}

.copyright a {
    color: var(--primary);
}

.copyright a:hover {
    color: var(--light);
}

a:hover {
    /*color: #960001;*/
    /*text-decoration: underline;*/
}

a.inicio {
    color: #092139;
}

div.bg-white.shadow.d-flex.align-items-top.h-100.p-4 {
    margin: 0.5rem 0.5rem 0.5rem 0.5rem;
}

.avanced-link {
    display: block;
    width: 100%;
    padding: 0rem 0rem 0rem 0rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.bg-lightblue {
    background-color: #3c8dbc !important;
}

.text-lightblue {
    color: #3c8dbc !important;
}



[data-action] {
    display: none;
    margin: 10px auto;
    font-size: 17px;
    min-width: 3em;
    text-align: center;
    background: transparent;
    border: 0;
}
.user-block {
    float: left;
}

.user-block img {
    float: left;
    height: 40px;
    width: 40px;
}
.img-circle {
    border-radius: 50%;
}
.img-bordered-sm {
    border: 2px solid #adb5bd;
    padding: 2px;
}
.user-block .username {
    font-size: 16px;
    font-weight: 600;
    margin-top: -1px;
    color: #fff;
}
.user-block .comment, .user-block .description, .user-block .username {
    display: block;
    margin-left: 50px;
    color: #fff;
}
.text-theme-1 {
    color: #fff !important;
}

a:hover {
    color: var(--dark);
}


.text-tierra {
    color: #ddb361 !important;
}
.text-planta {
    color: #99cc33 !important;
}
.text-agua {
    color: #92d7e7 !important;
}

.bg-tierra {
    background-color: #ddb361 !important;
}
.bg-planta {
    background-color: #99cc33 !important;
}
.bg-agua {
    background-color: #92d7e7 !important;
}

.btn-tierra {
    color: #343a40;
    background-color: #ddb361;
    border-color: #ad8321;
    box-shadow: none;
}
.btn-tierra:hover {
    color: #fff;
    background-color: #ad8321;
    border-color: #ddb361;
}

.btn-planta {
    color: #343a40;
    background-color: #99cc33;
    border-color: #699c03;
    box-shadow: none;
}
.btn-planta:hover {
    color: #fff;
    background-color: #699c03;
    border-color: #99cc33;
}

.btn-agua {
    color: #343a40;
    background-color: #92d7e7;
    border-color: #62a7b7;
    box-shadow: none;
}
.btn-agua:hover {
    color: #fff;
    background-color: #62a7b7;
    border-color: #92d7e7;
}

.display-6 {
    color: var(--dark);
}


.border-2 {
    border: solid;
    border-width: 2px;
}
.border-primary-1 {
    border-color: #343a40;
}
.bg-primary-1 {
    background-color: #343a40;
}
.table-auto {
    table-layout: auto;
}
.w-full {
    width: 100%;
}



#parcela_sel
{
    float: left;
    width: 200px;
    background: black;
    color: white;
    font-family: Sans-Serif;
    font-size: 20px;
    line-height: 30px;
    height: 30px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}
#parcela_sel.open
{
    border-radius: 5px 5px 0 0;
}
#parcela_sel .option {	border: 1px solid black; }
#parcela_sel .option
{
    background: #333;
    display: none;
    padding-left: 5px;
    font-size: 15px; /*Tamaño de fuente pequeño para la segunda línea*/
    line-height: 20px;
    color: white;
    border-top: none;
}
#parcela_sel .option.shown:first-line
{
    /*Aquí sobreescribimos el tamaño del
    texto de la primera línea*/
    font-size: 20px;
    line-height: 30px;
}
#parcela_sel .option.shown:hover:first-line { color: #000; }
#parcela_sel .shown { display: block; }
#parcela_sel .option:hover
{
    background: #3355ff;
    background: linear-gradient(hsl(220, 100%, 70%), hsl(220, 100%, 50%));
}
#parcela_sel .option.shown:last-child { border-radius: 0 0 5px 5px }
input
{
    margin-top: 10px;
}


.display-siarpr {
    color: var(--dark);
}
.display-siarpr {
    font-size:calc(1rem + 1.5vw);
    font-weight:700;
    line-height:1.2
}
@media (min-width: 1200px) {
    .display-siarpr {
        font-size:2rem
    }
}

p {
    text-align: justify;
}

.btn-app-tierra {
    border-radius: 3px;
    font-size: 1rem;
    margin: 0 0 10px 10px;
    padding: .375rem .75rem;
    position: relative;
    color: #343a40;
    background-color: #ddb361;
    border-color: #ad8321;
    box-shadow: none;
}
.btn-app-tierra:hover {
    color: #fff;
    background-color: #ad8321;
    border-color: #ddb361;
}
.btn-app-tierra > .badge {
    font-size: 12px;
    font-weight: 400;
    position: absolute;
    right: -10px;
    top: -3px;
    border-color: #ad8321 !important;
    font-weight: bold;
    color: #343a40;
}
.btn-app-planta {
    border-radius: 3px;
    font-size: 1rem;
    margin: 0 0 10px 10px;
    padding: .375rem .75rem;
    position: relative;
    color: #343a40;
    background-color: #99cc33;
    border-color: #699c03;
    box-shadow: none;
}
.btn-app-planta:hover {
    color: #fff;
    background-color: #699c03;
    border-color: #99cc33;
}
.btn-app-planta > .badge {
    font-size: 12px;
    font-weight: 400;
    position: absolute;
    right: -10px;
    top: -3px;
    border-color: #699c03 !important;
    font-weight: bold;
    color: #343a40;
}
.badge {
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}


.btn-parcela-manual {
    color: #343a40;
    background-color: #66ffff;
    border-color: #069f9f;
    box-shadow: none;
}
.btn-parcela-manual:hover {
    color: #fff;
    background-color: #069f9f;
    border-color: #66ffff;
}
.btn-parcela-pac {
    color: #343a40;
    background-color: #66ff33;
    border-color: #069f03;
    box-shadow: none;
}
.btn-parcela-pac:hover {
    color: #fff;
    background-color: #069f03;
    border-color: #66ff33;
}
