
//BACKEND
body#backend{   
  
    .wrapper{
        width:100%;
        margin:0;
        .rounded-corners(0);
        box-shadow:none;
       
        .mainbar{
            margin:10px;
            h2{
                background:none;
                color:#000;
            }
        }

        .pages{

            .pageUrl{
                background: none repeat scroll 0 0 #808080;
                color: #FFFFFF;
                float: left;
                font-size: 14px;
                height: 32px;
                line-height: 32px;
                padding: 0 10px;
                border:solid 1px #DADCDC;
                border-right:none;
                .rounded-corners(4px);
                .rounded-corners-topright(0);
                .rounded-corners-bottomright(0);
            }
            .pageUrl ~ input{
                .rounded-corners-topleft(0);
                .rounded-corners-bottomleft(0);
                border-left:none;
            }
        }

        table.routes{
            font-size:11px;
            width:100%;
            thead{
                background:#555;
                color:#fff;
                td{
                    padding:4px 2px;
                    font-weight:bold;
                }
            }
            tbody{
                tr{
                    td{
                        padding:2px 0;
                    }
                }
                tr:hover{
                    background:#DADADA;
                }
            }
        }

        small.version{
            font-size:11px;
            float:right;
            padding:20px;
        }

        > header{
            height: 100px;
            position:relative;

            a.logo{
                position:absolute;
                top:10px;
                left:20px;
                img{
                    width:50%;
                    height:auto;
                }
            }  
            #topMenu{
                display:none;
            }

            .widgetCanal, #pull{
                display:none;
            }
            .widgetCategoryMenu{
                margin-left:30px !important;
                left:0 !important;
                top:60px !important;
            }

            .clientesSatisfechos{
                display:none;
            }

        }

        a.iconShow, a.iconEdit, a.iconDel, a.iconAdd{
            background:url(@IMAGES_URL+"/backend/crud_16.png") repeat scroll -21px -48px transparent;
            display: block;
            height: 21px;            
            width: 21px;
            text-indent: -9999px;
        }
        a.iconShow{
            background-position: -21px -48px;
        }
        a.iconShow:hover{
            background-position: 0 -48px;
        }
        a.iconEdit{
            background-position: -21px -71px;
        }
        a.iconEdit:hover{
            background-position: 0 -71px;
        }
        a.iconDel{
            background-position: -21px -24px;
        }
        a.iconDel:hover{
            background-position: 0 -24px;
        }
        .oneOne{
            float:none;
            width:100%;
        }
        .twoOne{
            width:69%;
            float:left;
        }
        .twoTwo{
            width:30%;
            float:left;
        }
        .threeOne{
            width:39%;
            float:left;
        }
        .threeTwo{
            width:30%;
            float:left;
        }
        .threeThree{
            width:30%;
            float:left;
        }
    }

    /*
    .fancybox-overlay{
        div[id^="help-"]{
            p{
                padding:8px 0;
            }
            h3{
                margin-left:0;
            }
        }
    }
    */

    .dinamic{
        height: 34px;
        line-height: 34px;
        margin: 0 8px 18px 8px;

        h1,h2,a{
            display:inline-block;
            margin:0;
        }

        div{
            display:inline-block;
            height: 34px;
            line-height: 34px;
            float:right;

            span{
                background:orange;
                color:#fff;
                font-weight:bold;
                font-size:16px;
                margin-right:8px;
                padding:4px;
                .rounded-corners(4px);
            }
        }
    }

    .grill{
        width:100%;

        thead{
            background:#fff;
            border-bottom:solid 1px #E9E4DC;

            td{
                padding:4px;
                border-right:solid 1px #E9E4DC;
                font-weight:bold;

                span:first-child, span:last-child{
                    display:inline-block;
                    width:16px;
                    height:16px;
                    background-image:url(@IMAGES_URL+"backend/order.png");
                    background-position:0 0;
                    cursor:pointer;
                }
                span:last-child{
                    background-position:0 -16px;
                }
                span:first-child:hover{
                    background-position:-16px 0;
                }
                span:last-child:hover{
                    background-position:-16px -16px;
                }
                span:first-child.current{
                    background-position:-32px 0;
                }
                span:last-child.current{
                    background-position:-32px -16px;
                }
            }
        }

        tbody{

            td{
                border-right:solid 1px #E9E4DC;
                padding-left:4px;
                height: 24px;
                line-height: 24px;
                /*line-height: 20px;*/
            }

            tr:nth-child(even){ 
                background:#EAE7E1;
            }

            tr:hover{ 
                background:#CFCFCF;
                color:#FFF;
                a{
                    color:#1F4169;
                    border:none;
                }
            }
        }
    }

    #breadcrumbs{
        overflow:hidden;

        .separator{
            padding: 0 4px;
        }

        ul:first-child{
            margin-top:6px;
        }
    }

    .filters{           
        margin:0;
        list-style:none;
        font-size:11px;
        overflow:hidden;

        .head{                
            color:#fff;
            margin:2px;
            padding:2px;
            color:#000;
        }

        li{
            float:left;
            margin:0 6px 0 0;
            padding:0 3px;
            border:solid 1px #E8E8E8;
            -webkit-box-shadow: inset 0px 0px 20px 0px rgba(232, 232, 232, 0.8);
            box-shadow: inset 0px 0px 20px 0px rgba(232, 232, 232, 0.8); 
            height:63px;

            fieldset{
                float:left;
                margin:0 18px 0 0;
                padding:0;

                input[type='text'], select, input[type='submit']{
                    display:inline-block;
                    width:auto;
                    margin:0;
                }

            }

        }

        form{
            padding:0;
            width:auto;

            input[type='text'], select, input[type='submit']{
                display:inline-block;
                width:auto;
                margin:0;
            }
        }
        h3{
            margin:0 20px;
            display:inline-block;
            line-height:63px;
            font-size:28px;
        }
    }

    .advancedFilters ul{
        list-style:none;
        font-size: 11px;
    }
    .advancedFilters li{
        float:left;
        width:250px;
        padding: 3px;
        overflow: hidden;
    }  

    // switch
    .cb-enable, .cb-disable{
        display: block; 
        float: left;
        background:white;
        border-top:solid 1px #E1E1E1;
        border-bottom:solid 1px #E1E1E1;
    }
    .cb-enable{
        .borderRadiusTopLeft(4px);
        .borderRadiusBottomLeft(4px);
        border-left:solid 1px #E1E1E1;
    }
    .cb-disable{
        .borderRadiusTopRight(8px);
        .borderRadiusBottomRight(8px);
        border-right:solid 1px #E1E1E1;
    }
    .cb-enable span, .cb-disable span { 
        padding: 0 10px; 
        line-height: 28px;
        display: block;
        font-weight: bold;       
    }
    .cb-disable.selected{
        border-color:#DC514F;
        color: #fff;    
        background: #f9958e; /* Old browsers */
        background: -moz-linear-gradient(top,  #f9958e 0%, #bc090c 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9958e), color-stop(100%,#bc090c)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top,  #f9958e 0%,#bc090c 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top,  #f9958e 0%,#bc090c 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top,  #f9958e 0%,#bc090c 100%); /* IE10+ */
        background: linear-gradient(to bottom,  #f9958e 0%,#bc090c 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9958e', endColorstr='#bc090c',GradientType=0 ); /* IE6-9 */
    }
    .cb-enable.selected{
        border-color:#62B942;
        color: #fff;
        background: #c9de96; /* Old browsers */
        background: -moz-linear-gradient(top,  #c9de96 0%, #1b9e07 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c9de96), color-stop(100%,#1b9e07)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top,  #c9de96 0%,#1b9e07 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top,  #c9de96 0%,#1b9e07 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top,  #c9de96 0%,#1b9e07 100%); /* IE10+ */
        background: linear-gradient(to bottom,  #c9de96 0%,#1b9e07 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c9de96', endColorstr='#1b9e07',GradientType=0 ); /* IE6-9 */
    }
    .switch{
        overflow:hidden;
        height:30px;
        line-height:30px;
        margin:12px 0 0 10px;
    }
    .switch label { 
        cursor: pointer;
        padding:0 !important; 
        width:auto;
    }



    section.editor{
        width:58%;
        float:left;
        padding:1%;

        label{
            width:auto;
            display:block;
            padding:4px 0;
            text-align:left;
        }
        input[type='text']{
            width:80%;
        }

        p{
            padding-bottom:4px;
            font-size:12px;
        }
    }

    aside.editor{
        width:38%;
        float:left;
        padding:1%;

        label{
            width:auto;
            display:block;
            padding:4px 0;
            text-align:left;
        }

        .publishDate{
            p{               
                .rounded-corners(2px);
                color:#fff;
                text-align:center;
                padding:3px;
                margin:4px 0;
            }
            p.published{
                background:#4F81BD;
            }
            p.pending{
                background:#CA151A;
            }
        }

        .box{
            border:solid 1px #E4DFD3;
            padding:10px;
            margin-bottom:10px;
            background:#EBE8E0;

            button{
                width:96%;
                height:60px;
                line-height:60px;
                font-weight:bold;
                font-size:30px;
            }

            .pdf{
                position:relative;
                width:160px;

                .deletePdf{
                    position:absolute;
                    top:10px;
                    right:10px;
                    display:none;
                    cursor:pointer;
                }
            }
            .pdf:hover .deletePdf{
                display:block
            }

        }
    }

}