﻿.drop-not-pointer {
    cursor: no-drop;
}

.drop-yes-pointer {
    cursor: move;
}

.help-er {
    color: red;
}

.drag-accept {
    /*background: #096c0e;*/
    border: 2px dashed #10e569 !important;
}

.drag-refuse {
    /*background: #ff0000;*/
    border: 2px dashed #ff0000 !important;
}

.menu-tree-content {
    padding: 0;
    position: fixed; 
    left: 90%;
}

.menu-tree-content > div.drag-col {
        background-color: #2d6189;
        color: white;
        padding: 5px 1px 5px 1px;
        text-align: center;
        margin: 2px 0 0 0;
        word-spacing: inherit;
        word-wrap: break-word;
}

    .menu-tree-content > div.col-obj {
        background-color: #E87E04;
        padding: 5px 1px 5px 1px;
        margin: 2px 0 0 0;
        text-align:center;
    }

    .menu-tree-content > div.col-obj a {
        color: white;
    }

        .menu-tree-content > div.col-obj:hover {
            background-color: #f2784b;
        }

        /*=============================================*/

        div.text-xx-small .glyphicon-user{
            color: orange;
        }

        div.text-xx-small .glyphicon-calendar{
            color: green;
        }

       /*div.info{
            border: solid 1.2px blue !important;
        }*/

       /*.col-obj{
           margin-top: 50px !important;
       }*/
	   .info-color-user {
			background-color: #f3f6b9 !important;
		}


#single-top {
    width: 100%;
    display: block;
    clear: both;
    text-align: center;
}

    #single-top::before {
        content: "";
        display: block;
        height: 22px;
        border-bottom: 2px solid black;
        border-left: 2px solid black;
        border-right: 2px solid black;
        margin: 0 auto;
        top: 0px;
    }

    #single-top div.single {
        margin: auto;
        /*border: 2px solid black;*/
        /*width: 190px;*/
        width: 13.2%;
    }


    #single-top .single:before {
        content: "";
        display: block;
        width: 0px;
        height: 22px;
        border-left: 2px solid black;
        margin: auto;
        top: 0px;
    }

    #single-top .single div.info {
        /*padding: 4px;
        border: 2px solid black;
        box-shadow: 4px 4px 9px -4px rgba(0, 0, 0, 0.4);*/
        transform: scaleX(-1);
        -moz-transform: scaleY(-1); /* Firefox */
        -webkit-transform: scaleY(-1); /* Chrome - Safari */
        -o-transform: scaleY(-1); /* Opera */
    }

div.info {
    /*background: #c4c2c2 !important;*/
    /*#e4e0e0K*/
    background: #fff;
}


.org-chart .department2 {
    border-left: 1px solid black;
    /*width: 13.2%;*/
    width:190px;
    display: inline-block;
    vertical-align: top;
    /*float: left;*/
    margin: 0px 4px;
}

    .org-chart .department2:after {
        content: "";
        position: absolute;
        display: block;
        width: 10px;
        height: 22px;
        border-left: 2px solid black;
        left: 50%;
    }

    .org-chart .department2:first-child:after {
        display: none;
    }

    .org-chart .department2:last-of-type:after {
        display: none;
    }

    .org-chart .department2::before {
        content: "";
        position: absolute;
        display: block;
        width: 10px;
        height: 22px;
        border-left: 2px solid black;
        left: 50%;
        top: -22px;
    }

    .org-chart .department2:first-child::before {
        display: none;
    }

.org-chart li.department2:last-of-type::before {
    display: none;
}


#tree_build  div.start-problem {
    padding: 10px;
    margin: auto;
    border: 1px dashed;
    width: 50%;
	text-align: center;
}


/*=====================*/


/*ESTILO PARA CONSTRUIR EL ARBOL*/
.content1 {
    font-family: Verdana;
    font-size: 14px;
    position: relative;
    padding: 50px 0 50px 0;
    /*width: 1250px;*/
}

    /*.content1 * {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }*/

.org-chart {
    display: block;
    clear: both;
    margin-bottom: 30px;
    position: relative;
    /**
  * For IE 6/7 only
  * Include this rule to trigger hasLayout and contain floats.
  */
    /* Box colors */
    /* 1 column */
    /* 2 column */
    /* 3 column */
    /* DEPARTMENTS COLUMNs */
}

    .org-chart.cf:before, .org-chart.cf:after {
        content: " ";
        /* 1 */
        display: table;
        /* 2 */
    }

    .org-chart.cf:after {
        clear: both;
    }

    .org-chart.cf {
        *zoom: 1;
    }

    .org-chart ul {
        padding: 0;
        margin: 0;
        list-style: none;
    }

        .org-chart ul li {
            position: relative;
        }


            #single-top .single div.info,
            .org-chart ul li div.info { /*Editado*/
                display: block;
                /*border: 2px solid black;*/
				border: 2px solid #130a81;
                text-align: center;
                overflow: hidden;
                text-decoration: none;
                color: black;
                font-size: 12px;
                box-shadow: 4px 4px 9px -4px rgba(0, 0, 0, 0.4);
                -webkit-transition: all linear .1s;
                -moz-transition: all linear .1s;
                transition: all linear .1s;
                /*background: #fff;*/
                padding: 4px;
            }

/*div.green-seagreen {
    background-color: #1BA39C !important;
}

div.blue-madison {

}*/

div.text-xx-small {
    font-size: xx-small;
}
                .org-chart .lvl-b { /*Editado*/
                    /*background: #92D4A8 !important;*/
                    color: #000;
                }

    .org-chart .board {
        width: 100%;
        display: block;
        position: relative;
    }

        .org-chart .board span.line-central {
            height: 25px;
            border: solid black 1px;
            margin-left: 50%;
        }

    .org-chart ul.columnOne {
        margin: auto;
        width: 50%;
    }

    .org-chart .departments2 {
        width: 100%;
        display: block;
        clear: both;
        text-align: center;
        transform: scaleX(-1);
        -moz-transform: scaleY(-1); /* Firefox */
        -webkit-transform: scaleY(-1); /* Chrome - Safari */
        -o-transform: scaleY(-1); /* Opera */
    }

        .org-chart .departments2::before {
            content: "";
            display: block;
            /*width: 85%;*/
            height: 22px;
            border-top: 2px solid black;
            border-left: 2px solid black;
            border-right: 2px solid black;
            margin: 0 auto;
            top: 0px;
        }

        .org-chart .departments2 .department2 div.info {
            transform: scaleX(-1);
            -moz-transform: scaleY(-1); /* Firefox */
            -webkit-transform: scaleY(-1) !important; /* Chrome - Safari */
            -o-transform: scaleY(-1); /* Opera */
        }







    .org-chart .departments {
        width: 100%;
        display: block;
        clear: both;
        text-align: center;
    }

        .org-chart .departments:before {
            content: "";
            display: block;
            /*width: 85%;*/
            height: 22px;
            border-top: 2px solid black;
            border-left: 2px solid black;
            border-right: 2px solid black;
            margin: 0 auto;
            top: 0px;
        }

    .org-chart .department {
        
        border-left: 2px solid black;
        /*width: 18%;*/
        width:190px;
        display: inline-block;
        vertical-align: top;
        /*float: left;*/
        margin: 0px 4px;
    }

        .org-chart .department:after {
            content: "";
            position: absolute;
            display: block;
            width: 10px;
            height: 22px;
            border-left: 2px solid black;
            left: 50%;
            top: -22px;
        }

        .org-chart .department:first-child:after {
            display: none;
        }

        .org-chart li.department:last-child:after {
            display: none;
        }

        

        /*.org-chart .department.central {
            background: #F5EEC9;
        }*/

            /*.org-chart .department.central:after {
                display: none;
            }*/
.org-chart .department2 div.info,
.org-chart .department div.info { /*Editado*/
    border-left: 1px solid #130a81;
}

        .org-chart .department li {
            padding-left: 10px;
            border-bottom: 2px solid black;
            /*height: 80px;*/
        }

            
            .org-chart .department li div.info { /*Editado*/
                /*background: #92D4A8;*/
                top: 38px;
                /*position: absolute;*/
                position: relative;
                z-index: 1;
                width: 100%;
                height: auto;
                vertical-align: middle;
                right: 0px;
                line-height: 12px;
                border: 2px solid black;
            }

       

/* MEDIA QUERIES */
@media all and (max-width: 767px) {
    .org-chart .board {
        margin: 0px;
        width: 100%;
        background: #92D4A8;
    }

    #single-top:before,
    .org-chart .departments2:before,
    .org-chart .departments:before {
        border: none;
        height: 0px;
    }

    #single-top div.single,
    .org-chart .department2,
    .org-chart .department {
        float: none;
        width: 100%;
        margin-left: 0;
        background: #F5EEC9;
        margin-bottom: 40px;
    }




        .org-chart .department2:before,
        .org-chart .department:before {
            content: "";
            display: block;
            position: absolute;
            width: 15px;
            height: 60px;
            border-left: 2px solid black;
            z-index: 1;
            top: -45px;
            left: 0%;
            
        }

        .org-chart .department2:before {
            margin-left: -1px;
        }
        .org-chart .department:before {
            margin-left: -2px;
        }
        
        .org-chart .department2:after,
            .org-chart .department:after {
                display: none;
            }

        .org-chart .department2:first-child:before,
        .org-chart .department:first-child:before {
            display: none;
        }

        .org-chart li.department2:last-of-type::before {
            display: block;
            
        }

        .org-chart .department2:first-child{
            margin-top: -40px;
        }

    #single-top .single:before {
        content: "";
        display: block;
        position: relative;
        width: 15px;
        height: 60px;
        border-left: 2px solid black;
        z-index: 1;
        /*top: -45px;*/
        left: 0%;
        margin:0;
    }
    #single-top{
        margin-top:-40px;
    }
    #single-top .single{
        padding-left: 10px;
    }

    .org-chart .departments2 {
        background: #F5EEC9;
    }

        .content1{
            width: 98% !important;
        }
   

}


@media all and (max-width: 480px) {
    .org-chart ul.columnOne{
        width: 98%;
    }
}