﻿body {
    margin: 0;
    padding: 0;
    height: 100%;
}

.cursorHand {
    cursor: pointer; 
    cursor: hand;
}

.commandIcon {
    color: #000000 !important;
    cursor: pointer !important; 
    cursor: hand !important;
}

.commandIcon:link {
    color: #000000 !important;
    cursor: pointer !important; 
    cursor: hand !important;
}

.commandIcon:visited {
    color: #000000 !important;
    cursor: pointer !important;  
    cursor: hand !important;
}

.commandIcon:active {
    color: #ffffff !important;
    cursor: pointer !important; 
    cursor: hand !important;
}

.ContentRow {
    margin-left: 0px;
    margin-right: 0px;
    border: solid;
    border-width: 1px;
    border-color: gainsboro;
    margin-bottom: 1px;
}

.ContentForm {
    /*background-color: whitesmoke;*/
    padding-top: 5px;
    padding-bottom: 5px;
}

.ContentFormText {
    /*background-color: whitesmoke;*/
    padding-top: 10px;
    padding-bottom: 5px;
}

.ContentLabelForm {
    background-color: gainsboro;
    font-weight: bold;
    padding-top: 10px;
    padding-bottom: 13px;
}

.GridHeader {
    text-align: center !important;
    font-family: Arial !important;
    font-size: 13px !important;
    vertical-align: text-top !important;
}

.GridHeaderBold {
    text-align: center !important;
    font-family: Arial !important;
    font-size: 13px !important;
    vertical-align: text-top !important;
    font-weight: bold !important;
}

.GridHeaderLeftBold {
    text-align: left !important;
    font-family: Arial !important;
    font-size: 13px !important;
    vertical-align: text-top !important;
    font-weight: bold !important;
}

.GridHeaderSmall {
    text-align: center !important;
    font-family: Arial !important;
    font-size: 11px !important;
    vertical-align: text-top !important;
}

.GridFieldLeft {
    text-align: left;
    font-family: Arial;
    font-size: 13px;
}

.GridFieldLeftSmall {
    text-align: left;
    font-family: Arial;
    font-size: 11px;
}

.GridFieldCenter {
    text-align: center;
    font-family: Arial;
    font-size: 13px;
}

.GridFieldCenterSmall {
    text-align: center;
    font-family: Arial;
    font-size: 11px;
}

.GridFieldRight {
    text-align: right;
    font-family: Arial;
    font-size: 13px;
}

.GridFooterRight {
    text-align: right;
}

.GridFooterLeft {
    text-align: left;
}

.GridFooterCenter {
    text-align: center;
}

/* GridLink 1: Brackets Effect */
.GridLink:link {
    text-decoration: underline;
    color: #2e2e2e;
}

.GridLink:visited {
    text-decoration: underline;
    color: #2e2e2e;
}

.GridLink:active {
    text-decoration: underline;
    color: #000000;
}

.GridLink::before,
.GridLink::after {
    display: inline-block;
    opacity: 0;
    -webkit-transition: -webkit-transform 0.3s, opacity 0.2s;
    -moz-transition: -moz-transform 0.3s, opacity 0.2s;
    transition: transform 0.3s, opacity 0.2s;
}

.GridLink::before {
    margin-right: 10px;
    content: '[';
    -webkit-transform: translateX(20px);
    -moz-transform: translateX(20px);
    transform: translateX(20px);
}

.GridLink::after {
    margin-left: 10px;
    content: ']';
    -webkit-transform: translateX(-20px);
    -moz-transform: translateX(-20px);
    transform: translateX(-20px);
}

.GridLink:hover::before,
.GridLink:hover::after,
.GridLink:focus::before,
.GridLink:focus::after {
    opacity: 1;
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    transform: translateX(0px);
}

/* Reglas para permitir multiples filas en la cabecera de la grilla */
.k-grid .k-grid-header .k-header {
    overflow: visible;
    white-space: normal;
}

/* Icono de mas o menos niveles */
.k-grid .k-hierarchy-cell .k-icon.k-plus {
    background: url("/Content/images/plus.png") center center;
}

.k-grid .k-hierarchy-cell .k-icon.k-minus {
    background: url("/Content/images/minus.png") center center;
}

/* Tab Control FIX Allow Bootstrap */
.boxFix *,
.boxFix *::before,
.boxFix *::after {
    -moz-box-sizing: border-box !important;
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
}

/* ROW Bootstrap Equal Height Columns */
.row-flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.homeBackground {
    background: url("/Content/images/bg.png") #fff top center repeat-x;
    background-repeat: repeat-x;
}

.wrap {
    background: #005063;
    color: #ffffff;
    border-radius: 10px 10px 10px 10px;
    -webkit-box-shadow: 0 10px 6px -6px #777;
    -moz-box-shadow: 0 10px 6px -6px #777;
    box-shadow: 0 10px 6px -6px #777;
}

.title-head {
    background: rgba(76,76,76,1);
    background: -moz-linear-gradient(top, rgba(76,76,76,1) 0%, rgba(102,102,102,1) 49%, rgba(44,44,44,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(76,76,76,1)), color-stop(49%, rgba(102,102,102,1)), color-stop(100%, rgba(44,44,44,1)));
    background: -webkit-linear-gradient(top, rgba(76,76,76,1) 0%, rgba(102,102,102,1) 49%, rgba(44,44,44,1) 100%);
    background: -o-linear-gradient(top, rgba(76,76,76,1) 0%, rgba(102,102,102,1) 49%, rgba(44,44,44,1) 100%);
    background: -ms-linear-gradient(top, rgba(76,76,76,1) 0%, rgba(102,102,102,1) 49%, rgba(44,44,44,1) 100%);
    background: linear-gradient(to bottom, rgba(76,76,76,1) 0%, rgba(71,71,71,1) 49%, rgba(44,44,44,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#990000', endColorstr='#860000', GradientType=0 );
    color: white !important;
    font-family: Arial;
    font-size: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    padding-left: 20px;
}

.tableTitleHeader {
        display: block;
        /*border: 1px solid #4297d7;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;*/
        background-image: url('images/bloqueAzul.png');
        color: #ffffff;
        font-family: Arial,sans-serif;
        font-size: 14px;
        padding-top: 10px;
    }

.menu-box {
    font-family: 'Open Sans', 'Arial' !important;
    padding-bottom: 10px;
}

.form-button {
    float: left;
    margin-right: 8px;
}


.form-label {
    font-family: 'Arial';
    font-size: 12px;
    color: #393939;
    text-align: right;
}

    .form-label.required {
        font-weight: normal;
    }

        .form-label.required:before {
            color: #e32;
            content: '(*) ';
            display: inline;
        }

.form-dropdownlist {
    font-family: 'Open Sans', 'Arial';
    /*margin-bottom: 10px;*/
}

.form-textbox {
    font-family: 'Open Sans', 'Arial';
    border: 1px solid #858585;
    color: #393939 !important;
    box-shadow: none;
    padding: 4px 6px;
    /*margin-bottom: 10px;*/
}

.form-numerictextbox {
    font-family: 'Open Sans', 'Arial';
    color: #393939 !important;
    text-align: right;
    /*margin-bottom: 10px;*/
}

.form-datepicker {
    font-family: 'Open Sans', 'Arial';
    color: #393939 !important;
    /*margin-bottom: 10px;*/
}

[placeholder]:focus::-webkit-input-placeholder {
    transition: opacity 0.5s 0.5s ease;
    opacity: 0;
}

::-webkit-input-placeholder { /* WebKit browsers */
    color: #d5d5d5;
}

:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #d5d5d5;
    opacity: 1;
}

::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #d5d5d5;
    opacity: 1;
}

:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: #d5d5d5;
}

.form-checkbox {
    font-family: 'Arial';
    margin-bottom: 10px;
}

.frameContent {
    display: block;
    border: 1px solid #a6c9e2;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: .2em;
    margin-bottom: 8px;
}

    .frameContent .Header {
        display: block;
        border: 1px solid #4297d7;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        background-image: url('images/bloqueAzul.png');
        color: #ffffff;
        font-family: Arial,sans-serif;
        font-size: 14px;
        margin: 0;
        padding-left: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .frameContent .Content {
        display: block;
        border-width: 0;
        background: none;
        text-shadow: none;
        font-family: 'Open Sans', 'Arial';
        font-size: 14px;
    }

/* Mensaje de validación */
.field-validation-error {
    display: inline-block;
    width: 100%;
    color: #ecf0f1;
    font-size: .9em;
    background-color: #e74c3c;
    padding: 5px;
    margin-bottom: 10px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.field-validation-error123 {
    border: 1px solid #cd0a0a;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    background: #fef1ec;
    color: #000000;
    font-family: "Helvetica Neue", HelveticaNeue,Arial,sans-serif;
    font-size: 15px;
    padding: .2em .7em;
    width: 200px;
}

.Informativo {
    font-family: verdana,arial; /* tipo de letra */
    /*font-size:8pt;                /* tamaño de la letra*/
    color: #0B0B3B; /* color del texto */
    background-color: #FAFAFA; /* color del fondo */
}

.footerbar {
    background-image: linear-gradient(#4f5151, #474949 6%, #3f4141);
    background-repeat: no-repeat;
    border: 1px solid #2e2f2f;
    color: #ffffff;
    font-family: 'Arial';
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
}


/* Wizard Styles */

.wizard-steps {
    list-style: none;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    position: relative;
}

    .wizard-steps li {
        display: block;
        text-align: center;
        float: left;
    }

        .wizard-steps li .step {
            border: 5px solid #ced1d6;
            color: #546474;
            font-size: 15px;
            border-radius: 100%;
            background-color: #FFF;
            position: relative;
            z-index: 2;
            display: inline-block;
            width: 30px;
            height: 30px;
            line-height: 20px;
            text-align: center;
        }

        .wizard-steps li:before {
            display: block;
            content: "";
            width: 100%;
            height: 1px;
            font-size: 0;
            overflow: hidden;
            border-top: 4px solid #ced1d6;
            position: relative;
            top: 21px;
            z-index: 1;
        }

        .wizard-steps li:last-child:before {
            max-width: 50%;
            width: 50%;
        }

        .wizard-steps li:first-child:before {
            max-width: 51%;
            left: 50%;
        }

        .wizard-steps li.active:before, .wizard-steps li.complete:before, .wizard-steps li.active .step, .wizard-steps li.complete .step {
            border-color: #5293c4;
        }

        .wizard-steps li.complete .step {
            cursor: default;
            color: #FFF;
            -webkit-transition: transform ease .1s;
            -moz-transition: transform ease .1s;
            -o-transition: transform ease .1s;
            transition: transform ease .1s;
        }

            .wizard-steps li.complete .step:before {
                display: block;
                position: absolute;
                top: 0;
                left: 0;
                bottom: 0;
                right: 0;
                line-height: 20px;
                text-align: center;
                border-radius: 100%;
                content: "\f00c";
                background-color: #FFF;
                z-index: 3;
                font-family: FontAwesome;
                font-size: 17px;
                color: #87ba21;
            }

        .wizard-steps li.complete:hover .step {
            -moz-transform: scale(1.1);
            -webkit-transform: scale(1.1);
            -o-transform: scale(1.1);
            -ms-transform: scale(1.1);
            transform: scale(1.1);
            border-color: #80afd4;
        }

        .wizard-steps li.complete:hover:before {
            border-color: #80afd4;
        }

        .wizard-steps li .title {
            display: block;
            margin-top: 4px;
            max-width: 100%;
            color: #949ea7;
            font-size: 14px;
            z-index: 104;
            text-align: center;
            table-layout: fixed;
            word-wrap: break-word;
        }

        .wizard-steps li.complete .title, .wizard-steps li.active .title {
            color: #2b3d53;
        }

.step-content .step-pane {
    display: none;
    min-height: 200px;
    padding: 4px 8px 12px;
}

.step-content .active {
    display: block;
}

.wizard-actions {
    text-align: right;
}

/* ------------------------ */
/*   Bootstrap SubMenu FIX   */
/* ------------------------ */

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px;
        border-radius: 0 6px 6px 6px;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #ccc;
        margin-top: 5px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #fff;
    }

    .dropdown-submenu.pull-left {
        float: none;
    }

        .dropdown-submenu.pull-left > .dropdown-menu {
            left: -100%;
            margin-left: 10px;
            -webkit-border-radius: 6px 0 6px 6px;
            -moz-border-radius: 6px 0 6px 6px;
            border-radius: 6px 0 6px 6px;
        }

/*Return to Top*/

#return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

    #return-to-top i {
        color: #fff;
        margin: 0;
        position: relative;
        left: 16px;
        top: 13px;
        font-size: 19px;
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        -ms-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }

    #return-to-top:hover {
        background: rgba(0, 0, 0, 0.9);
    }

        #return-to-top:hover i {
            color: #fff;
            top: 5px;
        }

/*Estilos para Angular, transiciones*/

.page.ng-leave {
    z-index: 9999;
}

.page.ng-enter {
    z-index: 8888;
}

.page-animation.ng-leave {
    -webkit-animation: slideOutLeft 0.5s both ease-in;
    -moz-animation: slideOutLeft 0.5s both ease-in;
    animation: slideOutLeft 0.5s both ease-in;
}

.page-animation.ng-enter {
    -webkit-animation: slideInRight 0.5s both ease-in;
    -moz-animation: slideInRight 0.5s both ease-in;
    animation: slideInRight 0.5s both ease-in;
}

/* rotate and fall */
@-webkit-keyframes rotateFall {
    0% {
        -webkit-transform: rotateZ(0deg);
    }

    20% {
        -webkit-transform: rotateZ(10deg);
        -webkit-animation-timing-function: ease-out;
    }

    40% {
        -webkit-transform: rotateZ(17deg);
    }

    60% {
        -webkit-transform: rotateZ(16deg);
    }

    100% {
        -webkit-transform: translateY(100%) rotateZ(17deg);
    }
}

@-moz-keyframes rotateFall {
    0% {
        -moz-transform: rotateZ(0deg);
    }

    20% {
        -moz-transform: rotateZ(10deg);
        -moz-animation-timing-function: ease-out;
    }

    40% {
        -moz-transform: rotateZ(17deg);
    }

    60% {
        -moz-transform: rotateZ(16deg);
    }

    100% {
        -moz-transform: translateY(100%) rotateZ(17deg);
    }
}

@keyframes rotateFall {
    0% {
        transform: rotateZ(0deg);
    }

    20% {
        transform: rotateZ(10deg);
        animation-timing-function: ease-out;
    }

    40% {
        transform: rotateZ(17deg);
    }

    60% {
        transform: rotateZ(16deg);
    }

    100% {
        transform: translateY(100%) rotateZ(17deg);
    }
}

/* scale up */
@keyframes scaleUp {
    from {
        opacity: 0.3;
        transform: scale(0.8);
    }
}

@-moz-keyframes scaleUp {
    from {
        opacity: 0.3;
        -moz-transform: scale(0.8);
    }
}

@-webkit-keyframes scaleUp {
    from {
        opacity: 0.3;
        -webkit-transform: scale(0.8);
    }
}

/* slide in from the right */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@-moz-keyframes slideInRight {
    from {
        -moz-transform: translateX(100%);
    }

    to {
        -moz-transform: translateX(0);
    }
}

@-webkit-keyframes slideInRight {
    from {
        -webkit-transform: translateX(100%);
    }

    to {
        -webkit-transform: translateX(0);
    }
}

/* slide in from the bottom */
@keyframes slideInUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@-moz-keyframes slideInUp {
    from {
        -moz-transform: translateY(100%);
    }

    to {
        -moz-transform: translateY(0);
    }
}

@-webkit-keyframes slideInUp {
    from {
        -webkit-transform: translateY(100%);
    }

    to {
        -webkit-transform: translateY(0);
    }
}

/* slide in from the bottom */
@keyframes slideOutLeft {
    to {
        transform: translateX(-100%);
    }
}

@-moz-keyframes slideOutLeft {
    to {
        -moz-transform: translateX(-100%);
    }
}

@-webkit-keyframes slideOutLeft {
    to {
        -webkit-transform: translateX(-100%);
    }
}

/* rotate out newspaper */
@-webkit-keyframes rotateOutNewspaper {
    to {
        -webkit-transform: translateZ(-3000px) rotateZ(360deg);
        opacity: 0;
    }
}

@-moz-keyframes rotateOutNewspaper {
    to {
        -moz-transform: translateZ(-3000px) rotateZ(360deg);
        opacity: 0;
    }
}

@keyframes rotateOutNewspaper {
    to {
        transform: translateZ(-3000px) rotateZ(360deg);
        opacity: 0;
    }
}
