﻿/* DEFAULTS Este esta en el master page 
----------------------------------------------------------*/

body
{
    background: #D7DFE2;
    font-size: .80em;
    font-family: "Helvetica Neue" , "Lucida Grande" , "Segoe UI" , Arial, Helvetica, Verdana, sans-serif;
    margin: 0px;
    padding: 0px;
    color: #696969;

}

a:link, a:visited
{
    color: #034af3;
}

a:hover
{
    color: #FFFFFF;
    text-decoration: none;
}

a:active
{
    color: #034af3;
}

p
{
    margin-bottom: 10px;
    line-height: 1.6em;
    height: 11px;
}


/* HEADINGS   
----------------------------------------------------------*/

h1, h2,h4, h5, h6,h7
{
 
padding:5px 0 5px 0;
margin:0px;
font-size:18px;
color:#f7951e;

}

h1
{
    font-size: 1.6em;
    padding-bottom: 0px;
    margin-bottom: 0px;
    background-image:url(../images/templatemo_header.jpg);
}

h2
{
padding:5px 0 5px 0;
margin:0px;
font-size:18px;
color:#f7951e;
    height: 29px;
    width: 317px;
}

h3
{
    padding: 0 0 5px 0;
    margin: 0px;
    font-size: 14px;
    color: #59cef9;
}

h4
{
    font-size: 1.1em;
}

h5, h6
{
    font-size: 1em;
}
h7
{
    padding: 5px 0 5px 0;
    margin: 0px;
    font-size: 18px;
    color: #0033CC;
}

/* 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;
}

/*/////////////   Otras*/
p.clear{
clear:both;
padding:10px 0 0 0;
}
img.left_img{
border:1px #cae6c6 solid;
float:left;
margin:0 10px 0 0 ;
}
img.box_img{
float:left;
padding:0 20px 0 0 ;
}
.products_box{
height:167px;
padding:10px 0 5px 0;
border-bottom:1px #a7ef6e dashed;
    width: 453px;
}
/*----------------------left navigation-------------------------*/
#left_nav{
width:280px;height: auto;padding:5px 0 0 0; float:left;
}
#left_nav ul{
list-style:none;margin: auto;display:block; padding:0px;
}
#left_nav ul li{
list-style:none;display:block;width:auto;height:29px;padding:0px;line-height:29px;
}
#left_nav ul li a{
height:29px;display:block; width:280px;text-decoration:none;padding:0 0 0 35px; margin:7px 0 7px 0;color:#6898ac;
/*background:url(images/left_nav_arrow.gif) no-repeat left;*/ 
border-bottom:1px #bedf77 dashed;
background-position:0px 0px;
font-size:13px;
font-family:Arial, Helvetica, sans-serif;
font-weight:bold;
}
/*----------------middle green box-----------*/
.green_box{
width:900px;
height:265px;
clear:both;
background:url(images/green_box_bg.gif) no-repeat left #50a842;
background-position:50px 0px;
}
.clock{
float:left;
padding:0px;
}
.text_content{
width:350px;
float:left;
padding:20px 0 0 0;
}
.read_more{
width:101px;
height:29px;
float:right;
padding:10px;
background:url(images/read_more_bg.gif) no-repeat center;
line-height:29px;
text-align:center;
}
.read_more a{
text-decoration:none;
color:#FFFFFF;
}
.read_more_link{
width: auto;
float:right;
padding:3px 25px 3px 0;
/*background:url(images/orange_bullet.gif) no-repeat right;*/
}
.read_more_link a{
text-decoration:none;
color:#f7941d;
}


/*------------------------main_content-------------------*/

#main_container{
width:auto;
height:auto;
margin:auto;    
background-color:#FFFFFF;
}
#main_content{
width:auto;
height:auto;
clear:both;
}
#left_content{
width:380px;
height:auto;
margin:10px;
float:left;
padding:10px;
background:url(../images/left_content_bg.gif) repe
top;
}
#right_content{
width:450px;
height:auto;
margin:10px 0 0 0;
float:left;
padding:10px;
}
#contenido
{
    border-style: ridge;
    width: auto;
    height: auto;
    margin: 10px;
    float: left;
    padding: 10px;
    background: url('../images/left_content_bg.gif') repeat-x 50% top;
}


#contenido_table
{
    border-style: ridge;
    width: 100%;
    height: auto;
    margin: 10px;
    float: left;
    padding: 10px;
    background: url('../images/left_content_bg.gif') repeat-x 50% top;
}
#lbl_aviso
{
    color: #ff6230;
    font-weight: bold;
}
/*----------------------top right navigation-------------------------*/

/*----------------------top right navigation-------------------------*/

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

.page
{
    width: 1024px;
    background-color: #fff;
    margin: 20px auto 0px auto;
    border: 1px solid #496077;
    overflow: visible;
}



.header
{
    position: relative;
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 100px;
    background-image: url('../images/Header.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
}

.header h1
{
    font-weight: 700;
    margin: 0px;
    padding: 0px 0px 0px 20px;
    color: #f9f9f9;
    border: none;
    line-height: 2em;
}  

.main
{
    padding: 40px 12px;
    margin: 12px 8px 8px 48px;
    min-height: 420px;
    width: auto;
}



.leftCol
{
    padding: 6px 0px;
    margin: 12px 8px 8px 8px;
    width: 200px;
    min-height: 200px;
}

.footer
{
    color:midnightblue;
    padding: 8px 0px 0px 0px;
    margin: 0px auto;
    text-align: center;
    line-height: normal;
}


/* TAB MENU   
----------------------------------------------------------*/

div.hideSkiplink
{
    background-color: #3a4f63;
    width: 100%;
}

div.menu
{
    padding: 4px 0px 4px 8px;
}

div.menu ul
{
    list-style: none;
    margin: 0px;
    padding: 0px;
    width: auto;
}

div.menu ul li a, div.menu ul li a:visited
{
    background-color: #416271;
    border: 1px #4e667d solid;
    color: #dde4ec;
    display: block;
    line-height: 1.35em;
    padding: 4px 20px;
    text-decoration: none;
    white-space: nowrap;
}

div.menu ul li a:hover
{
    background-color: #bfcbd6;
    color: #465c71;
    text-decoration: none;
}

div.menu ul li a:active
{
    background-color: #465c71;
    color: #cfdbe6;
    text-decoration: none;
}

/* 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-size: 1.1em;
    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;
}

.title
{
    display: block;
    float: left;
    text-align: left;
    width: auto;
}

.loginDisplay
{
    font-size: 1.1em;
    display: block;
    text-align: right;
    padding: 10px;
    color: White;

}

.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;
}

/*-----------------------------footer------------------*/
#footer {
    clear: both;
    width: auto;
    height: 37px;
    color: #fff;
    background-color: #023e90;
}
.copyright
{
    float: right;
    padding-left: 10px;
    padding-top: 10px;
    font-size: x-small;
}
.footer_links{
float:right;
padding-right:15px;
padding-top:13px;
}
.footer_links a{
text-decoration:none;
color: #fff;
padding-left:10px;
}
.footer_links a:hover{
text-decoration:underline;
color: #fff;
}

/*Estilo para el Accordeon ajax *****************/
.accordionContent {
background-color: #D3DEEF;
border-color: -moz-use-text-color #2F4F4F #2F4F4F;
border-right: 1px dashed #2F4F4F;
border-style: none dashed dashed;
border-width: medium 1px 1px;
padding: 10px 5px 5px;
width:98%;
}
.accordionHeaderSelected {
background-color: #5078B3;
border: 1px solid #2F4F4F;
color: white;
cursor: pointer;
font-family: Arial,Sans-Serif;
font-size: 12px;
font-weight: bold;
margin-top: 5px;
padding: 5px;
width:98%;
}
.accordionHeader {
background-color: #2E4D7B;
border: 1px solid #2F4F4F;
color: white;
cursor: pointer;
font-family: Arial,Sans-Serif;
font-size: 12px;
font-weight: bold;
margin-top: 5px;
padding: 5px;
}
.href
{
color:White; 
font-weight:bold;
text-decoration:none;
}

/*AutoComplete flyout */
.autocomplete_completionListElement
{
    margin : 0px!important ;
    background-color : inherit ;
    color : windowtext ;
    border : buttonshadow ;
    border-width : 1px ;
    border-style : solid ;
    cursor : 'default' ;
    overflow : auto ;
    height : 200px ;
    font-family : Tahoma ;
    font-size : small ;
    text-align : left ;
    list-style-type : none ;
    }
/* AutoComplete highlighted item */
.autocomplete_highlightedListItem
   {
    background-color : #ffff99 ;
    color : black ;
    padding : 1px ;
    }

    /* AutoComplete item */
.autocomplete_listItem
    {
    background-color : window ;
    color : windowtext ;
    padding : 1px ;
   }
   
   .watermarked {
      height:20px;
      width:150px;
      padding:2px 0 0 2px;
      border:1px solid #BEBEBE;
      background-color:#F0F8FF;
      color:gray;
}

.pnl {  
    font-weight: bold;  
    background-color: #eeeeee;  
    padding: 5px;  
    cursor: pointer;  
    border: solid 1px #c0c0c0;  
} 



.busqueda
{
    background-color: #C9C9C9;
    font-weight: normal;
}
 /* Styles Modal popup */
 
    
.modalBackground_pop {
    background-color: Black;
    filter: alpha(opacity=60);
    opacity: 0.6;
}

        .modalPopup
        {
            background-color: #FFFFFF;
            width: 300px;
            border: 3px solid #0DA9D0;
            border-radius: 12px;
            padding: 0;
        }
.modalPopupdefault {
    background-color: #FFFFFF;
    width: 600px;
    border: 3px solid #0DA9D0;
    border-radius: 12px;
    padding: 0;
}
        .modalPopup .header_pop
        {
            background-color: #2FBDF1;
            height: 30px;
            color: White;
            line-height: 30px;
            text-align: center;
            font-weight: bold;
            border-top-left-radius: 6px;
            border-top-right-radius: 6px;
        }
        .modalPopup .body
        {
            padding: 10px;
            min-height: 50px;
            text-align: center;
            font-weight: bold;
        }
        .modalPopup .footer
        {
            padding: 6px;
        }
        .modalPopup .yes, .modalPopup .no
        {
            height: 23px;
            color: White;
            line-height: 23px;
            text-align: center;
            font-weight: bold;
            cursor: pointer;
            border-radius: 4px;
        }
        .modalPopup .yes
        {
            background-color: #2FBDF1;
            border: 1px solid #0DA9D0;
        }
        .modalPopup .no
        {
            background-color: #9F9F9F;
            border: 1px solid #5C5C5C;
        }
.img-zoom {
    width: 150px;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
}
 
.transition {
    -webkit-transform: scale(2); 
    -moz-transform: scale(2);
    -o-transform: scale(2);
    transform: scale(2);
}
/* Updated styles for links in the navigation */
#left_nav ul li a {
    display: block;
    padding: 10px 15px;
    background-color: #FFFFFF;
    color: #034af3;
    text-decoration: none;
    border: 1px solid #bedf77;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

    #left_nav ul li a:hover {
        background-color: #034af3;
        color: #ffffff;
    }

/* Styling for left content to align text and padding */
#left_content h2 {
    color: #2B65EC;
    margin-bottom: 20px;
}

#left_content p {
    margin-bottom: 15px;
    line-height: 1.5em;
    font-size: 1em;
}
.bolsa-form {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

    .form-group label {
        width: 120px;
        text-align: right;
        padding-right: 15px;
        font-weight: 500;
    }

.form-control-bolsa {
    width: 250px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.bolsa-buttons {
    margin-top: 15px;
    padding-left: 120px; /* Align with inputs */
}

.btn-bolsa {
    padding: 8px 15px;
    margin-right: 10px;
}

/* Enhanced styles for bag form */
.bolsa-form {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

    .bolsa-form .control-label {
        font-weight: 600;
        color: #495057;
        font-size: 16px;
    }

    .bolsa-form .form-control {
        height: 45px;
        font-size: 16px;
    }

    .bolsa-form .numeric-input {
        text-align: right;
        font-weight: bold;
        color: #495057;
    }

.bolsa-serial {
    text-transform: uppercase;
    letter-spacing: 1px;
}

.validation-error {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

/* Enhanced GridView styles */
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
    border: 1px solid #ddd;
}

.gridview-header {
    background-color: #007bff;
    color: white;
    text-align: center;
    padding: 12px 8px;
    font-size: 16px;
    font-weight: 600;
}

.gridview-container {
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* Button enhancements */
.btn-lg {
    padding: 12px 20px;
    font-size: 16px;
}

.btn-primary {
    background-color: #007bff;
    border-color: #0069d9;
}

    .btn-primary:hover {
        background-color: #0069d9;
        border-color: #0062cc;
    }

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

    .btn-success:hover {
        background-color: #218838;
        border-color: #1e7e34;
    }

/* ===== RESPONSIVE: adapt layout for mobile/tablet screens ===== */
@media screen and (max-width: 1024px) {
    .page {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border: none !important;
        box-sizing: border-box;
    }

    .header {
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }

    .main {
        width: auto;
        margin: 8px;
        padding: 20px 10px;
    }

    #main_container {
        width: auto;
    }

    #contenido {
        width: auto;
        margin: 8px;
        float: none;
    }

    #contenido_table {
        width: auto;
        margin: 8px;
        float: none;
    }
}

/* ===== GLOBAL GRIDVIEW RESPONSIVE ===== */
/* All GridViews and asp:Table render as <table>, make them scroll horizontally inside their container */
.main table {
    max-width: 100%;
}

@media screen and (max-width: 1024px) {
    /* Wrap GridView tables in a scrollable container */
    .main table[id] {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Comboboxes / dropdowns should not overflow on mobile */
    .main select {
        max-width: 100%;
        box-sizing: border-box;
    }

    .main input[type="text"],
    .main input[type="password"],
    .main textarea {
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 768px) {
    .page {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border: none !important;
    }

    .main {
        padding: 12px 8px;
        margin: 4px;
    }

    .header {
        height: 60px;
    }

    .loginDisplay {
        font-size: 0.85em;
        padding: 6px;
    }
}

@media screen and (max-width: 480px) {
    .main {
        padding: 8px 4px;
        margin: 2px;
    }

    .header {
        height: 50px;
    }

    .loginDisplay {
        font-size: 0.75em;
        padding: 4px;
    }
}