﻿/* DEFAULTS
----------------------------------------------------------*/

body {
    background: #b6b7bc;
    background-image: url('../Images/fondocuadros.png');
    font-size: 13px;
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
    margin: 0px;
    padding: 0px;
    color: #696969;
}

a:link, a:visited {
    color: #00587e;
}

a:hover {
    color: #1d60ff;
    text-decoration: none;
}

a:active {
    color: #034af3;
}

p {
    margin-bottom: 10px;
    line-height: 1.6em;
    text-align: center;
}

.style3 {
    border: 1px ridge Black;
    width: 300px;
}


/* HEADINGS   
----------------------------------------------------------*/

h1, h2, h3, h4, h5, h6 {
    font-size: 1.5em;
    color: #666666;
    font-variant: small-caps;
    text-transform: none;
    font-weight: 200;
    margin-bottom: 0px;
}

h1 {
    font-size: 1.6em;
    padding-bottom: 0px;
    margin-bottom: 0px;
    font: bold 12px/18px sans-serif;
}

h2 {
    font-size: 1.5em;
    font-weight: 600;
    width: 549px;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

/* this rule styles <h1> and <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2 {
    margin-top: 0px;
}


/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

.page {
    width: 100%;
    background-color: #fff;
    /*background-image:url('/Images/fondocuadros1.png');*/
    margin: 2px auto 0px auto;
    border: 1px solid #496077;
    height: auto;
    position: absolute!important;
}

.header {
    position: relative;
    margin: 0px;
    padding: 0px;
    background: #f9f9f9; /*#4b6c9e;*/
    background-image: url('../Images/fondocuadros.png');
    width: 100%;
    text-align: center;
    top: 0px;
    left: 0px;
    height: 148px;
}

    .header h1 {
        font-weight: 700;
        margin: 0px;
        padding: 0px 0px 0px 20px;
        color: #4b6c9e;
        border: none;
        line-height: 2em;
        font-size: 2em;
    }

.main {
    /* padding: 0px 0px;
    margin: 12px 8px 8px 8px;
    min-height: 420px;
    height: 197px;*/
    padding: 0px 12px;
    margin: 12px 8px 8px 8px;
    min-height: 420px;
    margin-top: 50px;
}

.leftCol {
    padding: 6px 0px;
    margin: 12px 8px 8px 8px;
    width: 200px;
    min-height: 200px;
}

.footer {
    color: #4e5766;
    padding: 8px 0px 0px 0px;
    margin: 0px auto;
    text-align: center;
    line-height: normal;
}

.caja {
    clear: both;
    width: 35%;
    margin: 0 auto;
    padding: 0px 0px 0px 20px;
}
/* TAB MENU   
----------------------------------------------------------*/

div.hideSkiplink {
    background-color: #00587e; /*#658a9e;/*#f9f6eb;/*#3a4f63;*/
    width: 100%;
    height: 37px;
    top: 0px;
    left: 0px;
}

div.menu {
    padding: 0px 0px 0px 0px;
    position: relative;
    width: 100%;
    background: #00587e;
}

    div.menu ul {
        list-style: none;
        margin: 0 auto;
        padding: 0px;
        width: auto;
        /*height:40px;    */
    }

        /*.StaticMenuItemPrimary {
        position:relative;
    width:120px;
    height:30px;
    color:Black;
    text-align:center;
    border-top:solid 1px #808080;
    border-left:solid 1px #808080;
    border-right:solid 1px #808080;
    margin-left:2px;
    margin-right:2px;
    background-color:Transparent;
    background-image:url('../images/fdMenuPasivo.jpg');
        }*/
    .DinamicMenuItemPrimary
    {    
        font-family:Arial;
        font-size:10px;
        width:150px;
        height:30px;
        color:Black;
        text-align:center;
        border:solid 1px #808080;
        margin-left:0px;
        margin-right:0px;
        margin-top:0px;
        margin-bottom:0px;
        background-color:Transparent;
    }

        div.menu ul li a, div.menu ul li a:visited {
            background-color:#00587e; /* #ffffff White;/* #465c71;*/
            /*border: 1px #4e667d solid;*/
            border-spacing: 2px;
            color: white; /* Black#dde4ec;*/
            line-height: 1.35em;
            padding: 4px 20px;
            text-decoration: none;
            white-space: nowrap;
            /*height:30px;*/
            font-size: medium;
            display: inline-block;
            /*margin-right: -4px;*/
            position: relative;
            -webkit-transition: all 0.5s;
            -moz-transition: all 0.5s;
            -ms-transition: all 0.5s;
            -o-transition: all 0.5s;
            transition: all 0.5s;
            /*font: bold 15    px/30px sans-serif;*/
        }

            div.menu ul li a:hover {
                background-color: #658a9e; /*#6495ED;/* #F5F5DC; /*#bfcbd6;*/
                color: #fff; /* #465c71;*/
                text-decoration: none;
                font-size: medium;
            }

            div.menu ul li a:active {
                background-color: #94A295; /*#E2E2E2;*/
                color: #cfdbe6;
                text-decoration: none;
                font-size: medium;
            }


@media(max-width: 766px) {

    div.menu {
        padding: 0px 0px 0px 0px;
        position: relative;
        width: 100%;
        background: #00587e;
        margin-left: 0px !important;
    }

        div.menu ul {
            list-style: none;
            margin: 0 auto;
            padding: 0px;
            width: 100% !important;
            display: grid !important;
            text-align: left;
            position:initial !important
            /*height:40px;    */
        }

div.menu > li {
    float:none;
}

div.menu li:hover > ul {
    display: block;
        position:relative;
}

            div.menu ul li {
                position: absolute;
                align-content: center;
            }

                div.menu ul li a {
                    width: 100%;
                }

    .main {
        margin-top: 200px;
    }
}

/* FORM ELEMENTS   
----------------------------------------------------------*/

fieldset {
    margin: 1em 0px;
    padding: 1em;
    border: 1px solid #ccc;
}

    fieldset p {
        margin: 2px 12px 10px 10px;
    }

    fieldset.login label, fieldset.register label, fieldset.changePassword label {
        display: block;
    }

    fieldset label.inline {
        display: inline;
    }

legend {
    
    font-weight: 600;
    padding: 2px 4px 8px 4px;
}

input.textEntry {
    width: 320px;
    border: 1px solid #ccc;
}

input.passwordEntry {
    width: 320px;
    border: 1px solid #ccc;
}

div.accountInfo {
    width: 42%;
}

/* MISC  
----------------------------------------------------------*/

.clear {
    clear: both;
    position: relative;
    /*text-align:center;*/
}

.title {
    display: block;
    float: left;
    text-align: left;
    width: 100%;
    height: 111px;
    background-color: white;
}

.loginDisplay {
    clear: both;
    font-size: 13px;
    display: block;
    text-align: right;
    padding: 2px;
    color: White;
    height: auto;
    width: 100%;
}

    .loginDisplay a:link {
        color: white;
    }

    .loginDisplay a:visited {
        color: white;
    }

    .loginDisplay a:hover {
        color: white;
    }

.failureNotification {
    font-size: 1.2em;
    color: Red;
}

.bold {
    font-weight: bold;
}

.submitButton {
    text-align: right;
    padding-right: 10px;
}

.CajaDialogo {
    background-color: #cccccc;
    border-width: 4px;
    border-style: outset;
    padding: 0px;
    filter: alpha(opacity=90);
    opacity: 0.8;
    font-weight: bold;
    font-style: italic;
    z-index: 100001;
}

.headergrid {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#8bcddd+0,67aabc+41,49798d+100 */
    background: rgb(139,205,221); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(139,205,221,1) 0%, rgba(103,170,188,1) 41%, rgba(73,121,141,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(139,205,221,1) 0%,rgba(103,170,188,1) 41%,rgba(73,121,141,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(139,205,221,1) 0%,rgba(103,170,188,1) 41%,rgba(73,121,141,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8bcddd', endColorstr='#49798d',GradientType=0 ); /* IE6-9 */
}

.PaginadorGv {
    /*display: inline-block;*/
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

    .PaginadorGv table > tbody > tr > td {
        display: inline;
    }

        .PaginadorGv table > tbody > tr > td > a,
        .PaginadorGv table > tbody > tr > td > span {
            position: relative;
            float: left;
            padding: 8px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            color: #fff !important;
            border: 1px solid #DDDDDD;
            /*background: #0076ab;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwNzZhYiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDJlNWYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  #0076ab 0%, #002e5f 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0076ab), color-stop(100%,#002e5f));
    background: -webkit-linear-gradient(top,  #0076ab 0%,#002e5f 100%);
    background: -o-linear-gradient(top,  #0076ab 0%,#002e5f 100%);
    background: -ms-linear-gradient(top,  #0076ab 0%,#002e5f 100%);
    background: linear-gradient(to bottom,  #0076ab 0%,#002e5f 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0076ab', endColorstr='#002e5f',GradientType=0 );*/
            background: rgb(139,205,221); /* Old browsers */
            background: -moz-linear-gradient(top, rgba(139,205,221,1) 0%, rgba(103,170,188,1) 41%, rgba(73,121,141,1) 100%); /* FF3.6-15 */
            background: -webkit-linear-gradient(top, rgba(139,205,221,1) 0%,rgba(103,170,188,1) 41%,rgba(73,121,141,1) 100%); /* Chrome10-25,Safari5.1-6 */
            background: linear-gradient(to bottom, rgba(139,205,221,1) 0%,rgba(103,170,188,1) 41%,rgba(73,121,141,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8bcddd', endColorstr='#49798d',GradientType=0 ); /* IE6-9 */
            margin-left: -1px;
        }

        .PaginadorGv table > tbody > tr > td > span {
            position: relative;
            float: left;
            padding: 8px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            margin-left: -1px;
            z-index: 2;
            cursor: default;
            color: #04519b !important;
            border: 1px solid #DDDDDD;
            background: #eeeeee;
            background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VlZWVlZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjY2NjY2MiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
            background: -moz-linear-gradient(top, #eeeeee 0%, #cccccc 100%);
            background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#cccccc));
            background: -webkit-linear-gradient(top, #eeeeee 0%,#cccccc 100%);
            background: -o-linear-gradient(top, #eeeeee 0%,#cccccc 100%);
            background: -ms-linear-gradient(top, #eeeeee 0%,#cccccc 100%);
            background: linear-gradient(to bottom, #eeeeee 0%,#cccccc 100%);
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=0 );
        }

        .PaginadorGv table > tbody > tr > td:first-child > a,
        .PaginadorGv table > tbody > tr > td:first-child > span {
            margin-left: 0;
            border-bottom-left-radius: 4px;
            border-top-left-radius: 4px;
        }

        .PaginadorGv table > tbody > tr > td:last-child > a,
        .PaginadorGv table > tbody > tr > td:last-child > span {
            border-bottom-right-radius: 4px;
            border-top-right-radius: 4px;
        }

        .PaginadorGv table > tbody > tr > td > a:hover,
        .PaginadorGv table > tbody > tr > td > span:hover,
        .PaginadorGv table > tbody > tr > td > a:focus,
        .PaginadorGv table > tbody > tr > td > span:focus {
            color: #04519b !important;
            border: 1px solid #DDDDDD;
            background: #eeeeee;
            background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VlZWVlZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjY2NjY2MiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
            background: -moz-linear-gradient(top, #eeeeee 0%, #cccccc 100%);
            background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#cccccc));
            background: -webkit-linear-gradient(top, #eeeeee 0%,#cccccc 100%);
            background: -o-linear-gradient(top, #eeeeee 0%,#cccccc 100%);
            background: -ms-linear-gradient(top, #eeeeee 0%,#cccccc 100%);
            background: linear-gradient(to bottom, #eeeeee 0%,#cccccc 100%);
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=0 );
        }

/* 
	Max width before this PARTICULAR table gets nasty
	This query will take effect for any screen smaller than 760px
	and also iPads specifically.
	*/
@media only screen and (max-width: 910px), (min-device-width: 910px) and (max-device-width: 1024px) {

    .main {
        margin-top: 200px;
    }

    /* Force table to not be like tables anymore */
     .table, thead, tbody, th, td, tr {
        display: block;
        text-align: right;
    }

     .table-condensed > tbody > tr > th {
        padding: 8px !important;
    }
    /* Hide table headers (but not display: none;, for accessibility) */
    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    tr {
        border: 1px solid #ccc;
    }

    td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }

        td:before {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */
            top: 6px;
            left: 6px;
            padding-right: 10px;
            white-space: nowrap;
            font-weight: bold;
        }
    /*.table-noresponsive > .table,
    .table-noresponsive > .table > thead,
    .table-noresponsive > .table > tbody,
    .table-noresponsive > .table > tbody > tr,
    .table-noresponsive > .table > thead > tr,
    .table-noresponsive > .table > thead > tr > th,
    .table-noresponsive > .table > tbody > tr > th,
    .table-noresponsive > .table > tfoot > tr > th,
    .table-noresponsive > .table > thead > tr > td,
    .table-noresponsive > .table > tbody > tr > td,
    .table-noresponsive > .table > tfoot > tr > td {
        display: inline !important;
    }*/

    /*table.normal,
    table.normal thead,
    table.normal th,
    table.normal tbody,
    table.normal tbody tr,
    table.normal tbody tr td
    table.normal tbody tr th,
    table.normal td {
        display: inline !important;
    }*/
    table.normal {
        border-color: #CCCCCC;
        border-width: 1px;
        border-style: None;
        width: 100%;
        border-collapse: collapse;
    }
        table.normal tbody {
            display: table-row-group;
            vertical-align: middle;
            border-color: inherit;
        }
            table.normal tbody tr {
                display: table-row;
            }
    
            table.normal tbody tr td {
                display: table-cell;
                vertical-align: inherit;
            }
    table.normal tbody tr th {
        display: table-cell;
    } 

    .rowfactura > td {
        display:inline !important;
    }

    .top {
    top:50px;
    }
    /*
		Label the data
		
    td:nth-of-type(1):before { content: "Serie"; }
    td:nth-of-type(2):before { content: "Folio"; }
    td:nth-of-type(3):before { content: "Cliente"; }
    td:nth-of-type(4):before { content: "RFC"; }
    td:nth-of-type(5):before { content: "Fecha"; }
    td:nth-of-type(6):before { content: "SubTotal"; }
    td:nth-of-type(7):before { content: "Descuento"; }
    td:nth-of-type(8):before { content: "Total"; }
    td:nth-of-type(9):before { content: "Cancelable"; }
    td:nth-of-type(10):before { content: "Estataus Cancelación"; }
    td:nth-of-type(11):before { content: "Estatus"; }
    td:nth-of-type(12):before { content: "PDF"; }
    td:nth-of-type(13):before { content: "XML"; }
    td:nth-of-type(14):before { content: "Cancelar"; }*/
}
/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    body {
        padding: 0;
        margin: 0;
        /*width: 320px;*/
    }
    #pnlajustable {
        width:100%!important;
    }
}

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    body {
        width: 495px;
    }
   
}

@media (max-width: 1024px) {
    #pnlajustable {/*panel de index, registra usuario, actualiza contraseña */
        width: 100%!important;
    }
/*popup alta de pago pagina de cobranza*/
    #pnlAlta {
    width: 95%!important;
    left:10px!important;
    top: 50px!important;
    }
/*popup de carga archivo cat empresa*/
    #pnlCargaArchivo {
    width: 95%!important;
    }
/*alerta de masterpage*/
    #PnlAlert { 
        width:100%!important;
    }
/*alerta de masterpage*/
    #Msg {
    width: 95%!important;
    }
}

