

/* ==================================================
 * 1) Generic
 * ================================================== */

body {
    background: url("../images/container/navigation/nav-bg.png") repeat-y scroll left top #E8FFF5;
}

body.special-page {
    background: none repeat scroll 0 0 #E8FFF5;
}






/* ==================================================
 * 2) Login-Box
 * ================================================== */

#login-box {
    margin: 0 auto;
    margin-top: 100px;
    width: 400px;
}




/* ==================================================
 * 3) Error-Page (404)
 * ================================================== */

#error-number {
    text-align: center;
    margin-top: 240px;
}

#error-text {
    text-align: center;
    margin-top: -20px;
}






/* ==================================================
 * 4) Header
 * ================================================== */

/*
 * 4.1) Generic
*/

#container > #header-surround > #header {
    background: url("../images/container/header/header-bg.png") repeat-x scroll top left transparent;
    height: 43px;
    position: relative;
    z-index: 30;
}

#container > #header-surround {
    background: url("../images/misc/shadow/shadow-bottom.png") repeat-x scroll bottom left transparent;
    padding-bottom: 14px;
    position: relative;
    z-index: 50;
}

.logo {
    margin-left: 20px;
    float: left;
}

#container > #header-surround > #header > #user-info > p > .messages {
    margin-right: 10px;
}


/*
 * 4.2) User Info
*/

#user-info {
    float: right;
    margin-top: -4px;
    margin-right: 10px;
}

/* ==================================================
 * 5) Footer
 * ================================================== */

#container > #footer {
    background: url("../images/container/footer/footer-bg.png") repeat-x scroll bottom left transparent;
    height: 50px;
    width: 100%;
    position: fixed;
    bottom: 0;
    z-index: 1000;
}

#footer .footer-icon {
    background: url("../images/container/footer/footer-icon.png") no-repeat scroll top left transparent;
    height: 50px;
    width: 59px;
    float: left;
}

/* ==================================================
 * 6) Sidebar
 * ================================================== */

/*
 * 6.1) Login Details
*/

#login-details {
    background: url("../images/container/login-details/login-details-bg.png") repeat-x scroll top center #212f3b;
    margin-right: 1px;
    padding: 15px;
}


/*
 * 6.2) Navigation
*/

#container > #sidebar {
    float: left;
    width: 261px;
    position: relative;
    z-index: 30;
    margin-bottom: -46px;
}

#container > #sidebar > #nav > .menu {
    padding-bottom: 14px;
    margin-top: -1px;
}

#container > #sidebar > #nav > .menu li {
    overflow: hidden;
    margin-right: 1px;
    line-height: 39px;
}

#container > #sidebar > #nav > .menu li img {
    padding-right: 15px;
}

#container > #sidebar > #nav > .menu li a {
    background: url("../images/container/navigation/nav-item-bg.png") repeat-x scroll 0 0 transparent;
    display: block;
    text-decoration: none;
    padding-left: 20px;
}

#container > #sidebar > #nav > .menu li a.current {
    background: url("../images/container/navigation/nav-item-current-bg.png") repeat-x scroll top left transparent;
}

#container > #sidebar > #nav > .menu li ul li a.current {
    background: none scroll top left #3b5060;
}

#container > #sidebar > #nav > .menu li a:hover {
    background: url("../images/container/navigation/nav-item-bg.png") repeat-x scroll 0 -39px transparent;
}

#container > #sidebar > #nav > .menu li a span.arrow {
    background: url("../images/container/navigation/nav-arrows.png") no-repeat 0 0 transparent;
    position: absolute;
    right: 0;
    margin-top: 8px;
    margin-right: 5px;
    height: 24px;
    width: 24px;
}

#container > #sidebar > #nav > .menu li .active-icon span.arrow {
    background-position: 0px -24px;
}

#container > #sidebar > #nav > .menu li .non-active-icon span.arrow {
    background-position: 0px 0px;
}

#container > #sidebar > #nav > .menu li ul {
    background-color: #005D46;}

#container > #sidebar > #nav > .menu li ul li a {
    background: none;
    border-top: 1px solid #212f39;
}

#container > #sidebar > #nav > .menu li ul li a:hover {
    background: none scroll top left #284860;
}

/*
 * 6.3) Badges
*/

.badge {
    background: none repeat scroll top left #293946;
    float: right;
    margin-right: 33px;
    margin-top: 10px;
    line-height: 20px;
    padding: 0 10px;
    border-radius: 10px 10px 10px 10px;
}

.badge.red {
    background: none repeat scroll top left #864135;
}

.badge.grey {
    background: none repeat scroll top left #d5d5d5;
}






/* ==================================================
 * 7) Search-Bar & Title-Bar
 * ================================================== */

#container > #main > #title-bar {
    background: url("../images/container/title-bar/title-bar-bg.png") repeat-x scroll top left transparent;
    height: 42px;
    position: relative;
    z-index: 30;
    display: none;

}

.shadow-titlebar {
    height: 14px;
}

#container > #sidebar > #search-bar {
    background: url("../images/container/title-bar/title-bar-bg.png") repeat-x scroll top left transparent;
    height: 42px;
    position: relative;
    z-index: 30;
    margin-right: 1px;
    margin-bottom: -1px;
    display: none;
}





/* ==================================================
 * 8) Main
 * ================================================== */

#container > #main {
    margin-left: 261px;
}

#container > #main > #main-content {
    background: url("../images/container/main/main-bg.png") repeat-x scroll top center transparent;
    position: relative;
    min-height: 434px;
    margin-top: -14px;
    padding-top: 10px;
}



/* ==================================================
 * 9) Generic Shadow
 * ================================================== */

.shadow-top {
    background: url("../images/misc/shadow/shadow-top.png") repeat-x scroll top left transparent;
    height: 14px;
    position: relative;
    z-index: 100;
}

.shadow-bottom {
    background: url("../images/misc/shadow/shadow-bottom.png") repeat-x scroll bottom left transparent;
    position: relative;
    z-index: 30;
}





/* ==================================================
 * 10) Height Fixes
 * ================================================== */

.fix-shadow-bottom-height {
    margin-top: -14px;
}

.height-fix {
    height: 70px;
}





/* ==================================================
 * 11) Divider
 * ================================================== */

.divider-header {
    position: absolute;
    margin-left: 260px;
}

.divider-vertical {
    background: url("../images/misc/divider/divider-vertical.png") no-repeat scroll top left transparent;
    height: 34px;
    width: 2px;
    overflow: hidden;
}

.block-actions ul li.divider-vertical {
    margin-top: -5px;
    margin-right: -17px;
}





/* ==================================================
 * 12) Image-Styles
 * ================================================== */

.framed {
    background: none repeat scroll 0 0 #eeeff7;
    border: 1px solid #969696;
    line-height: 0;
    padding: 3px;
    border-radius: 3px 3px 3px 3px;
}

.img-left {
    float: left;
    margin-right: 8px;
    margin-bottom: 8px;
}





/* ==================================================
 * 13) Blocks
 * ================================================== */

.block-border {
    margin-top: 15px;
    background: url("../images/misc/shine-effect.png") repeat-x scroll 0 0 rgba(33, 40, 44, 0.7);
    border: 1px solid #25333c;
    border-radius: 5px 5px 5px 5px;
    padding: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.block-content {
    background: none repeat scroll 0 0 #fafafa;
    border-radius: 3px 3px 3px 3px;
    position: relative;
    padding: 0 10px;
    border: 1px solid #4b5e6b;
}

.block-content.dark-bg {
    background: url("../images/container/block/dark-bg.png") repeat-x scroll top left transparent;
    border: 1px solid #111a22;
    box-shadow: none !important;
}

.block-border .block-content + .block-content {
    margin-top: 10px;
}

.block-border .block-content {
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}

.block-header {
    background: url("../images/container/block/block-header-bg.png") repeat-x scroll top left #cfdee5;
    min-height: 38px;
    border: 1px solid #4b5e6b;
    border-bottom: 1px solid #9ba6ab;
    margin-bottom: -2px;
    position: relative;
    z-index: 5;
}

.block-header.small {
    min-height: 27px;
}

.block-actions {
    margin: 0 -19px -10px -19px;
    background: url("../images/container/block/block-actions-bg.png") repeat-x scroll bottom left transparent;
    border-radius: 0px 0px 5px 5px;
    height: 44px;
    overflow: hidden;
}

.dataTables_wrapper .block-actions {
    margin-left: -9px;
    margin-right: -9px;
}

.block-header span {
    background: url("../images/icons/packs/diagona/16x16/minus.png") no-repeat scroll 0 0 transparent;
    height: 16px;
    width: 16px;
    float: right;
    margin-top: 10px;
    margin-right: 5px;
    display: block;
    cursor: pointer;
}

.block-header span.closed {
    background: url("../images/icons/packs/diagona/16x16/plus.png") no-repeat scroll 0 0 transparent;
}

.block-header h1 {
    float: left;
}





/* ==================================================
 * 14) Tabs
 * ================================================== */

.block-header ul.tabs {
    list-style: none;
    list-style-image: none;
    margin: 0;
    padding: 0;
    margin-top: 13px;
    position: absolute;
    right: 5px;
}

.block-header ul.tabs li {
    float: left;
    padding: 5px 15px;
    margin-right: 3px;
    border-radius: 8px 8px 0px 0px;
    cursor: pointer;
    border: 1px solid transparent;
}

.block-header ul.tabs li.active {
    background: none repeat scroll top left #fafafa;
    border: 1px solid #9ba6ab;
    border-bottom: 1px solid #fafafa;
}

.block-header ul.tabs li:hover {
    background: none repeat scroll top left #fafafa;
    border: 1px solid #9ba6ab;
    border-bottom: 1px solid #fafafa;
}



/* ==================================================
 * 15) Toolbox
 * ================================================== */

.toolbox-content {
    background: url("../images/container/toolbox/toolbox-arrow.png") no-repeat scroll 51px 12px transparent;
    position: absolute;
    margin-left: -40px;
    top: 30px;
    z-index: 500;
    display: block;
    padding: 1em;
    min-width: 20em;
    line-height: 1em;
    display: none;
}







/* ==================================================
 * 16) Alert Boxes
 * ================================================== */

.alert {
    border: 1px solid;
    clear: both;
    margin-bottom: 9px;
    margin-top: 10px;
    padding: 10px 10px 10px 35px;
    -webkit-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    background-repeat: no-repeat;
    background-position: 10px 10px;
}

.alert.no-margin {
    border-radius: 0 0 0 0;
    margin-left: -10px;
    margin-right: -10px;
    border-width: 1px 0;
}

.alert.no-margin.top {
    border-width: 0 0 1px 0;
    margin-top: 0;
}

.alert.no-margin.bottom {
    border-width: 1px 0 0px 0;
    margin-bottom: 0;
}

.alert span.hide {
    font-weight: bold;
    text-shadow: 1px 1px 0 #FFFFFF;
    float: right;
    cursor: pointer;
    margin: 0;
}

.alert.success { background-image: url("../images/icons/packs/fugue/16x16/tick-circle.png"); background-color: #d1e8d2; border-color: #339933; color: #00632E; }
.alert.error { background-image: url("../images/icons/packs/fugue/16x16/cross-circle.png"); background-color: #facfcf; border-color: #dc1c1c; color: #820101; }
.alert.warning { background-image: url("../images/icons/packs/fugue/16x16/exclamation.png"); background-color: #fdefbd; border-color: #d4b64b; color: #675100; }
.alert.info { background-image: url("../images/icons/packs/fugue/16x16/information.png"); background-color: #d8e7fa; border-color: #9DBFEA; color: #00357B; }
.alert.note { background-image: url("../images/icons/packs/fugue/16x16/notebook.png"); background-color: #f4f4f4; border-color: #bdbdbd; color: #4d4d4d; }






/* ==================================================
 * 17) Tooltips
 * ================================================== */

.tipsy { padding: 5px; font-size: 10px; position: absolute; z-index: 100000; }
.tipsy-inner { padding: 5px 8px 4px 8px; background: url("../images/misc/tooltips/tooltip-bg.png") repeat-x scroll top left black; border: 1px solid black; color: white; max-width: 200px; text-align: center; }
.tipsy-inner { border-radius: 3px; -moz-border-radius:3px; -webkit-border-radius:3px; }
.tipsy-arrow { position: absolute; background: url('../images/misc/tooltips/tooltip-arrow.gif') no-repeat top left; width: 9px; height: 5px; }
.tipsy-n .tipsy-arrow { top: 0; left: 50%; margin-left: -4px; }
.tipsy-nw .tipsy-arrow { top: 0; left: 10px; }
.tipsy-ne .tipsy-arrow { top: 0; right: 10px; }
.tipsy-s .tipsy-arrow { bottom: 0; left: 50%; margin-left: -4px; background-position: bottom left; }
.tipsy-sw .tipsy-arrow { bottom: 0; left: 10px; background-position: bottom left; }
.tipsy-se .tipsy-arrow { bottom: 0; right: 10px; background-position: bottom left; }
.tipsy-e .tipsy-arrow { top: 50%; margin-top: -4px; right: 0; width: 5px; height: 9px; background-position: top right; }
.tipsy-w .tipsy-arrow { top: 50%; margin-top: -4px; left: 0; width: 5px; height: 9px; }




/* ==================================================
 * 18) Misc
 * ================================================== */

/*
 * 18.1) Noise
*/

.noise {
    background: url("../images/misc/noise.png") repeat scroll top left transparent;
    position: relative;
    z-index: 9999999;
}

/*
 * 18.2) Aligments
*/

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}


.align-left {
    margin-left: 0;
    margin-right: auto;
    float: left !important;
}

.align-right {
    margin-left: auto;
    margin-right: 0;
    float: right !important;
}

.align-center {
    margin: 0 auto;
    float: none !important;
}

.boton_elimiar_jd{
    display: block;
    position: relative;
    top: 28px;
    left: 148px;
}

.container_12 .caja_form_cliente{
    margin: 0 auto !important;
    float: none; 
    position: relative; 
    width: 50%;
    display: block;
    position: relative;
}


@media screen and (min-width: 0) and (max-width: 1400px) {
    .block-header{
        min-height: 67px;
    }
    .block-header ul.tabs{
        margin-top: 41px; 
    }
    .block-header ul.tabs li{
        padding: 5px 15px;
        margin-right: 3px;
        cursor: pointer;
        border: 1px solid #9ba6ab;
    }
}


@media screen and (min-width: 0) and (max-width: 1100px) {
    .block-header ul.tabs{
        list-style: none;
        list-style-image: none;
        margin: 0;
        padding: 0;
        margin-top: 37px;
        position: relative;
        right: 0px;
        overflow: hidden;
        text-align: center;
    }

    .block-header ul.tabs li.active{
        background: none repeat scroll top left #fafafa;
        border: 1px solid #9ba6ab;
    }

    .block-header ul.tabs li{
        float: none !important;
        padding: 5px 15px;
        margin-right: 3px;
        cursor: pointer;
        border: 1px solid #9ba6ab;
        border-radius: none;
    }



}

@media screen and (min-width: 0) and (max-width: 1024px) {
    body{
        background: none;
        background: #E8FFF5;
    }
    #login-details{
        background: none;
    }
    #container > #main > #main-content {
        background: none;
        margin-top: 0px;
    }
    .shadow-bottom {
        background: none;
    }

    #container > #sidebar > #nav > .menu {
        width: 72%;
        padding-bottom: 14px;
        background: url("../images/container/navigation/nav-item-bg.png") repeat-x scroll 0 0 transparent;
        max-height: 19px;
        margin: -29px auto 0px auto;
    }

    #container > #sidebar{
        width: 100%;
        height: 39px;
        background: url("../images/container/navigation/nav-item-bg.png") repeat-x scroll 0 0 transparent
    }

    #container > #sidebar > #nav > .menu li{
        overflow: hidden;
        margin-right: 1px;
        line-height: 28px;
        display: inline-block;
        border-radius: 8px;
        border: none;
        width: 114px;
    }

    #container > #sidebar > #nav > .menu li img {
        padding-right: 1px;
    }

    #container > #sidebar > #nav > .menu li a.current {
        color: #000000 !important;
        background: none;
    }
    #container > #sidebar > #nav > .menu li a:hover {
        padding-right: 0 !important;
        color: grey;
        background: none;
    }

    #container > #sidebar > #nav > .menu li a:hover {
        color: grey !important;
    }

    #container > #sidebar > #nav > .menu li a {
        font-size: 13px;
        color: #3b3b3b;
        width: 100%;
        padding: 0 !important;
    }

    .badge.red {
        background: none repeat scroll top left #864135;
        display: none;
    }

    #container > #sidebar > #nav > .menu li a span.arrow {
        right: initial !important;
        padding-right: 29px;
        margin-left: 8px;
    }

    #container > #main {
        margin: 10px auto 0 auto;
        width: 87%;
    }

    .sub{
        position: absolute;
        text-align: center;
        border-radius: 0px 0px 6px 6px;
        margin-top: 6px;
        margin-left: -10px;
    }
    #nav{
        margin-top: 5px;
    }

    #container > #header-surround{
        display: none
    }

    .calculator{
        float: none;
        margin: 23px auto;
        width: 378px;
    }
}


@media screen and (min-width: 0) and (max-width: 1000px) {
    #container > #sidebar > #nav > .menu {
        width: 90%;
        padding-bottom: 14px;
        background: url("../images/container/navigation/nav-item-bg.png") repeat-x scroll 0 0 transparent;
        max-height: 19px;
        margin: -29px auto 0px auto;
    }
}
/*@media screen and (min-width: 0) and (max-width: 980px) {
    #container > #sidebar > #nav > .menu {
        width: 88%;
    }
}*/
@media screen and (min-width: 0) and (max-width: 979px) {
    #container > #sidebar > #nav > .menu {
        width: 90%;
    }
}
@media screen and (min-width: 0) and (max-width: 930px) {
    #container > #sidebar > #nav > .menu {
        width: 96%;
    }


}
@media screen and (min-width: 0) and (max-width: 900px) {
    #container > #sidebar > #nav > .menu {
        width: 68%;
    }

    #container > #sidebar {
        width: 100%;
        height: 93px;
        background: url("../images/general/nav-item-bg-menumedia.png") scroll 0 0 transparent;

    }

    #container > #sidebar > #nav > .menu {
        background: none;
    }

    #container > #sidebar > #nav > .menu li a {
        background: none;
    }

    #container > #main > #main-content {
        background: none;
        margin-top: 55px;
    }



}

@media screen and (min-width: 0) and (max-width: 850px) {
    #container > #sidebar > #nav > .menu {
        width: 68%;
    }
}

@media screen and (min-width: 0) and (max-width: 450px) {
    .calculator{
        width: 98%;
    }
    
}

@media screen and (min-width: 0) and (max-width: 400px) {
    #container > #sidebar > #nav > .menu {
        width: 100%;
    }
    h1{
        line-height: 23px !important;
    }


}





