﻿

html {   
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

body {    
    height: 100%;
    width: 100%;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 60px;
    padding-bottom: 20px;     
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}


#wrap {
  min-height: 100%;
}

#main {
  /*overflow:auto;*/
  padding-bottom:60px; /* this needs to be bigger than footer height*/
}

.footer {
  position: relative;
  margin-top: -40px; /* negative value of footer height */
  height: 40px;
  clear:both;
  padding-top:10px;
  text-align:center;
} 

.container {
  /*margin-left:0px;
  margin-right:0px;  */
  margin-left:auto;
  margin-right:auto; 
}

.divider-vertical {
height: 10px;
width:5px;
margin: 0 9px;
border-left: 1px solid #F2F2F2;
border-right: 1px solid #FFF;
color:red;
}

.webgrid 
{
    width: 100%;
    border: 0px;
    border-collapse: collapse;
 
}

.webgrid-table td, th
{
    border: 1px solid #3966A2;
    padding: 3px 7px 2px;
}

.webgrid-header 
{
	 padding: 6px 5px;
     text-align: center;
     background-color: #e8eef4;
     border-bottom: 2px solid #3966A2;
     height: 40px;
     border-top: 2px solid #D6E8FF;
     border-left: 2px solid #D6E8FF;
     border-right: 2px solid #D6E8FF;  	
}

.webgrid-footer
{
}
/*
.webgrid-header A:link
{
    text-decoration: none;color:black
}

.webgrid-header A:hover
{
    text-decoration: none;color:orange
}

.webgrid-header A:visited
{
    text-decoration: none;color:black
}*/



.webgrid-row-style
{
	height: 30px;
	border-bottom: 1px solid #d2d2d2;
	border-left: 2px solid #D6E8FF;
	border-right: 2px solid #D6E8FF;
	text-align:right;


}

.webgrid-alternating-row
{
	height: 30px;
	/*background-color: #f2f2f2;*/
	border-bottom: 1px solid #d2d2d2;
	border-left: 2px solid #D6E8FF;
	border-right: 2px solid #D6E8FF;
	text-align:right;
}
  
/*
.webgrid-selected-row
{
	font-weight: bold;
}*/


.webgrid-table
{
    font-family: verdana,arial,sans-serif;
    font-size: 11px;
    color: #333333;
    border-width: 1px;
    border-color: #999999;
    border-collapse: collapse;
}
.webgrid-table th
{
    background: #e8eef4;
    border-width: 1px;
    padding: 8px;
    border-style: solid;
    border-color: #999999;
}
.webgrid-table td
{
    
    border-width: 1px;
    padding: 8px;
    border-style: solid;
    border-color: #999999;
}


h1, h2, h3, h4, p, a, li, label{
	font-family: 'Open Sans', sans-serif;
}


/* SIDEBAR*/


.side-menu {
    position: fixed;
    width: 200px;
    height: 100%;
    background-color: #f8f8f8;
    border-right: 1px solid #e7e7e7;
    margin-top:50px;
}

    .side-menu .navbar {
        border: none;
    }

    .side-menu .navbar-header {
        width: 100%;
        border-bottom: 1px solid #e7e7e7;
    }

    .side-menu .navbar-nav .active a {
        background-color: transparent;
        margin-right: -1px;
        border-right: 5px solid #e7e7e7;
    }

    .side-menu .navbar-nav li {
        display: block;
        width: 100%;
        border-bottom: 1px solid #e7e7e7;
    }

        .side-menu .navbar-nav li a {
            padding: 15px;
        }

            .side-menu .navbar-nav li a .glyphicon {
                padding-right: 10px;
            }

    .side-menu .dropdown {
        border: 0;
        margin-bottom: 0;
        border-radius: 0;
        background-color: transparent;
        box-shadow: none;
    }

        .side-menu .dropdown .caret {
            float: right;
            margin: 9px 5px 0;
        }

        .side-menu .dropdown .indicator {
            float: right;
        }

        .side-menu > a {
            border-bottom: 1px solid #e7e7e7;
        }

    .side-menu .panel-body {
        padding: 0;
        /*background-color: #f3f3f3;*/
        background-color: f8f8f8;
    }

            .side-menu .dropdown .panel-body .navbar-nav {
                width: 100%;
            }

                .side-menu .dropdown .panel-body .navbar-nav li {
                    padding-left: 15px;
                    /*border-bottom: 1px solid #e7e7e7;*/
                    border-bottom:none;
                }

                    .side-menu .dropdown .panel-body .navbar-nav li:last-child {
                        border-bottom: none;
                    }

            .side-menu .dropdown .panel-body .panel > a {
                margin-left: -20px;
                padding-left: 35px;
            }

            .side-menu .dropdown .panel-body .panel-body {
                margin-left: -15px;
            }

                .side-menu .dropdown .panel-body .panel-body li {
                    padding-left: 30px;                    
                }

                    .side-menu .dropdown .panel-body .panel-body li:last-child {
                        border-bottom: 1px solid #e7e7e7;
                    }

    .side-menu #search-trigger {
        background-color: #f3f3f3;
        border: 0;
        border-radius: 0;
        position: absolute;
        top: 0;
        right: 0;
        padding: 15px 18px;
    }

    .side-menu .brand-name-wrapper {
        min-height: 50px;
    }

        .side-menu .brand-name-wrapper .navbar-brand {
            display: block;
        }

 

/* Main body section */
.side-body {
    margin-left: 205px;
}
/* small screen */
@media (max-width: 768px) {
    .side-menu {
        position: relative;
        width: 100%;
        height: 0;
        border-right: 0;
        border-bottom: 1px solid #e7e7e7;
    }

        .side-menu .brand-name-wrapper .navbar-brand {
            display: inline-block;
        }
    /* Slide in animation */
    @-moz-keyframes slidein {
        0% {
            left: -200px;
        }

        100% {
            left: 10px;
        }
    }

    @-webkit-keyframes slidein {
        0% {
            left: -200px;
        }

        100% {
            left: 10px;
        }
    }

    @keyframes slidein {
        0% {
            left: -200px;
        }

        100% {
            left: 10px;
        }
    }

    @-moz-keyframes slideout {
        0% {
            left: 0;
        }

        100% {
            left: -200px;
        }
    }

    @-webkit-keyframes slideout {
        0% {
            left: 0;
        }

        100% {
            left: -200px;
        }
    }

    @keyframes slideout {
        0% {
            left: 0;
        }

        100% {
            left: -200px;
        }
    }
    /* Slide side menu*/
    /* Add .absolute-wrapper.slide-in for scrollable menu -> see top comment */
    .side-menu-container > .navbar-nav.slide-in {
        -moz-animation: slidein 300ms forwards;
        -o-animation: slidein 300ms forwards;
        -webkit-animation: slidein 300ms forwards;
        animation: slidein 300ms forwards;
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
    }

    .side-menu-container > .navbar-nav {
        /* Add position:absolute for scrollable menu -> see top comment */
        position: fixed;
        left: -200px;
        width: 200px;
        top: 43px;
        height: 100%;
        border-right: 1px solid #e7e7e7;
        background-color: #f8f8f8;
        -moz-animation: slideout 300ms forwards;
        -o-animation: slideout 300ms forwards;
        -webkit-animation: slideout 300ms forwards;
        animation: slideout 300ms forwards;
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
    }
    /* Uncomment for scrollable menu -> see top comment */
    /*.absolute-wrapper{
        width:285px;
        -moz-animation: slideout 300ms forwards;
        -o-animation: slideout 300ms forwards;
        -webkit-animation: slideout 300ms forwards;
        animation: slideout 300ms forwards;
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
    }*/
    @-moz-keyframes bodyslidein {
        0% {
            left: 0;
        }

        100% {
            left: 200px;
        }
    }

    @-webkit-keyframes bodyslidein {
        0% {
            left: 0;
        }

        100% {
            left: 200px;
        }
    }

    @keyframes bodyslidein {
        0% {
            left: 0;
        }

        100% {
            left: 200px;
        }
    }

    @-moz-keyframes bodyslideout {
        0% {
            left: 200px;
        }

        100% {
            left: 0;
        }
    }

    @-webkit-keyframes bodyslideout {
        0% {
            left: 200px;
        }

        100% {
            left: 0;
        }
    }

    @keyframes bodyslideout {
        0% {
            left: 200px;
        }

        100% {
            left: 0;
        }
    }
    /* Slide side body*/
    .side-body {
        margin-left: 5px;
        margin-top: 70px;
        position: relative;
        -moz-animation: bodyslideout 300ms forwards;
        -o-animation: bodyslideout 300ms forwards;
        -webkit-animation: bodyslideout 300ms forwards;
        animation: bodyslideout 300ms forwards;
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
    }

    .body-slide-in {
        -moz-animation: bodyslidein 300ms forwards;
        -o-animation: bodyslidein 300ms forwards;
        -webkit-animation: bodyslidein 300ms forwards;
        animation: bodyslidein 300ms forwards;
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
    }
    /* Hamburger */
    .navbar-toggle {
        border: 0;
        float: left;
        padding: 18px;
        margin: 0;
        border-radius: 0;
        /*background-color: #f3f3f3;*/
    }
    /* Search */
    #search .panel-body .navbar-form {
        border-bottom: 0;
    }

        #search .panel-body .navbar-form .form-group {
            margin: 0;
        }

    .navbar-header {
        /* this is probably redundant */
        position: fixed;
        z-index: 3;
        /*background-color: #f8f8f8;*/
    }
    /* Dropdown tweek */
    .dropdown .panel-body .navbar-nav {
        margin: 0;
    }
}

/* Fuente para cabeceras de ui-grid con soporte de acentos */
.ui-grid-header-cell .ui-grid-header-cell-label {
    font-family: 'Open Sans', sans-serif;
}
}