﻿h1 {
    font-weight: 200;
    font-size: 3rem;
    color: white;
    text-align: center;
}

.overlay2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: .5s ease;
    z-index: -1;
}

.overlay.active {
    opacity: 1;
    z-index: 2;
}

.modal2 {
    max-height: calc(100% - 100px);
    position: fixed;
    top: 50%;
    left: 50%;
    max-width: 450px;
    transform: translate(-50%, -50%);
    color: #4a5666;
    background: linear-gradient(to bottom right, white, #F8F8F8) !important;
    box-shadow: 0 15px 20px -15px rgba(0, 0, 0, 0.3), 0 35px 50px -25px rgba(0, 0, 0, 0.3), 0 85px 60px -25px rgba(0, 0, 0, 0.1);
    z-index: 3;
    visibility: hidden;
    opacity: 0;
    transition: .5s ease;
}

    .modal2 h2 {
        margin: 0;
        font-weight: 400;
        padding: 1rem;
        border-bottom: 1px solid #DDE0E7;
    }

    .modal2 p {
        padding: 1rem;
    }

    .modal2.active {
        visibility: visible;
        opacity: 1;
    }

.grilla2 {
    font-family: inherit;
    font-size: 10px;
    background-color: #FFF;
    color: #000;
    padding: 0 3px;
    width: 100%;
}


button2 {
    display: inline-block;
    background: rgba(10, 20, 30, .3);
    border: 1px solid transparent;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border-radius: 45px;
    margin: .25rem 0;
    vertical-align: middle;
    line-height: 1;
    overflow: visible;
    white-space: nowrap;
    cursor: pointer;
}

    button2:hover {
        border: 1px solid rgba(255, 255, 255, .8);
        color: white;
        background: rgba(255, 255, 255, .1);
    }

    button2.close2 {
        margin: 0 0 1rem;
        background: #FC6468;
    }

        button2.close2:hover {
            border: 1px solid #FC6468;
            color: #FC6468;
            background: transparent;
        }


.oPlantillasDatos {
    width: 200%;
    float: left;
    height: 500px;
}

.organigrama * {
    margin: 0px;
    padding: 0px;
}

.organigrama ul {
    padding-top: 20px;
    position: relative;
}

.organigrama li {
    float: left;
    text-align: center;
    list-style-type: none;
    padding: 20px 5px 0px 5px;
    position: relative;
}

.organigrama .hr {
    margin-top: 5px;
    margin-bottom: 5px;
}

.organigrama .down {
    width: 2px !important;
}

.organigrama .line {
    height: 50px !important;
}

.organigrama .line2 {
    height: 20px !important;
}


.organigrama li::before, .organigrama li::after {
    content: '';
    position: absolute;
    top: 0px;
    right: 50%;
    border-top: 1px solid #f80;
    width: 50%;
    height: 20px;
}

.organigrama li::after {
    right: auto;
    left: 50%;
    border-left: 1px solid #f80;
}

.organigrama li:only-child::before, .organigrama li:only-child::after {
    display: none;
}

.organigrama li:only-child {
    padding-top: 0;
}

.organigrama li:first-child::before, .organigrama li:last-child::after {
    border: 0 none;
}

.organigrama li:last-child::before {
    border-right: 1px solid #f80;
    -webkit-border-radius: 0 5px 0 0;
    -moz-border-radius: 0 5px 0 0;
    border-radius: 0 5px 0 0;
}

.organigrama li:first-child::after {
    border-radius: 5px 0 0 0;
    -webkit-border-radius: 5px 0 0 0;
    -moz-border-radius: 5px 0 0 0;
}

.organigrama ul ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 1px solid #f80;
    width: 0;
    height: 20px;
}

.organigrama li a {
    border: 1px solid #f80;
    padding: 1em 0.75em;
    text-decoration: none;
    color: #333;
    background-color: rgba(255,255,255,0.5);
    font-family: arial, verdana, tahoma;
    font-size: 0.85em;
    display: inline-block;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-transition: all 500ms;
    -moz-transition: all 500ms;
    transition: all 500ms;
}

.organigrama .nodePlanta {
    display: inline-block;
    /*width: 300px;*/
    width: 100%;
    height: 95px;
    z-index: 2;
    font-size: 12px;
    background-color: #eaebe8;
    border: solid;
    border-radius: 24px;
    border-color: #010157;
    -webkit-box-shadow: 0px 22px 19px -1px rgba(0,0,0,0.84);
    -moz-box-shadow: 0px 22px 19px -1px rgba(0,0,0,0.84);
    box-shadow: 0px 22px 19px -1px rgba(0,0,0,0.84);
}

.organigrama .nodeImg {
    /*height: 110px !important;*/
    height: auto !important;
    /*border: 1px solid #f80;*/
    padding: 1em 0.75em;
    text-decoration: none;
    color: #333;
    background-color: rgba(255,255,255,0.5);
    font-family: arial, verdana, tahoma;
    font-size: 0.79em;
    display: inline-block;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-transition: all 500ms;
    -moz-transition: all 500ms;
    transition: all 500ms;
}

.organigrama .node {
    /*height: 60px;*/
    height: auto;
    /*border: 1px solid #f80;*/
    padding: 1em 0.75em;
    text-decoration: none;
    color: #333;
    background-color: rgba(255,255,255,0.5);
    font-family: arial, verdana, tahoma;
    font-size: 0.79em;
    display: inline-block;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-transition: all 500ms;
    -moz-transition: all 500ms;
    transition: all 500ms;
}

.organigrama .nodeb {
    display: none !important;
    height: 60px;
    border: 1px solid #FFFFFF;
    padding: 1em 0.75em;
    text-decoration: none;
    color: #333;
    background-color: rgba(255,255,255,0.5);
    font-family: arial, verdana, tahoma;
    font-size: 0.85em;
    display: inline-block;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-transition: all 500ms;
    -moz-transition: all 500ms;
    transition: all 500ms;
}

.organigrama .node2 {
    display: inline-flex;
    width: 200px;
    height: 540px;
    height: auto;
    z-index: 2;
    font-size: 8px;
    background-color: #eaebe8;
    border: solid;
    border-radius: 24px;
    border-color: #010157;
    -webkit-box-shadow: 0px 22px 19px -1px rgba(0,0,0,0.84);
    -moz-box-shadow: 0px 22px 19px -1px rgba(0,0,0,0.84);
    box-shadow: 0px 22px 19px -1px rgba(0,0,0,0.84);
}

.organigrama li a:hover {
    border: 1px solid #fff;
    color: #ddd;
    background-color: rgba(255,128,0,0.7);
    display: inline-block;
}

.organigrama > ul > li > a {
    font-size: 1em;
    font-weight: bold;
}

.organigrama > ul > li > ul > li > a {
    width: 8em;
}

