/* BEGINNING OF MASTER PAGE STYLES */

 body {
            font-family:Tahoma;
            font-size:0.8em;
            color:#666;
            /*background-color:#EEE;*/
            margin:0px;
            padding:0px;
        }
        h1,h2,h3,h4,h5,h6{color:#333;font-weight:normal;margin-bottom:1em;}
        h2{
            /*background-color:#666;*/
            color:#666;
            margin:0;
            padding: 15px 5px 15px 0px;
            text-transform:uppercase;
            border-bottom:1px solid #CCC;
        }
        h3{
            text-transform:uppercase;
            margin-bottom:1em;
            /*background-color:#333;*/
            color:#CCC;
            display:inline-block;
            padding:5px 50px 5px 20px;
            /* border-bottom:1px solid #CCC;*/
        }
        h4{font-size:1.6em}
        .column {
            margin:0 auto;
            width:960px;
            /*background-color:#FFF;
            box-shadow: 0px 0px 20px #666666;
            border-left:1px solid #CCC;
            border-right:1px solid #CCC;
            */
            padding:0 20px;
            
        }
        .maincontent{           
            line-height:1.5em;
        }
        form {
            margin:0px;
            padding:0px;
        }
        .ribbon{text-align:right;font-size:0.8em;padding:1em}
        /*.header{text-align:center;padding:30px 0}*/
        .header img{max-height:100px}
        .footer{
                padding:2em;
                margin-top:50px;
                text-align:center;
              /*background-color:#EEEEEE;*/  
                color:#999;
                 border-top:1px solid #CCC;
        }
        input[type=submit],button{
            background-color:#333;
            color:#FFF;
            text-transform:uppercase;
            padding:1em 2em;
            border-width:0;               
        }
        input[type=checkbox]{
           width:2em;height:2em;
        }
        input[type=text],select {
         font-size: 1.2em;
        padding: 5px;      
        }
        label{
            line-height: 2.6em;
            vertical-align: top;
            padding-left:1.5em;
            font-weight:bold;
        }
        button{
            padding:0.5em 1em;
        }
        table.form td{
        
        }
        /*input[type=text] {
            border: 2px solid #333;
            padding: 1em 1.5em;
            font-size: 1.5em;
            width: 80%;
        }*/
        .error {
            font-size:3em;
        }
        .innercolumn {
            margin-left:200px;
        }
        .helptext {
            padding:20px;margin:0
        }
      
        @media only screen and (orientation:portrait) {
            .column {
                width: 100%;
            }
        }
        a {
            text-decoration:none;
            text-transform:uppercase;         
        }





/* END OF MASTER PAGE STYLES */


body{
    background-color:white;
    font-family: Tahoma;
    font-size: 0.8em;
    color: #666;
    margin: 0px;
    padding: 0px;
    height: 100%;
}

.maincontent {
    display: flex;
    flex-direction: column;
    padding-bottom:100px;
    overflow: hidden;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background-color: #ffffff;
    border-bottom: 1px solid #dee2e6;
    /*position: sticky;
    top: 0;
    z-index: 1000;*/
}

.logo {
    height: 80px; 
    transition: height 0.25s ease;
}

.header.small .logo {
    height: 40px; 
}

.header {
    transition: padding 0.25s ease;
}

.header.small {
    padding: 0.5rem 2rem; 
}


.lat-test-deal-section {
    border-top: 1px solid #dee2e6;
    border-bottom: 2px solid #dee2e6 !important;
    margin-bottom: 10px;
}

a {
    color: inherit;

}

td{
    padding: 5px;
}

#ctl00_ContentPlaceHolder1_Wizard1{
    background-color: #EEE;
}

#ctl00_ContentPlaceHolder1_Wizard1_SideBarContainer_SideBarList{
    width: 100%;   
    border-right: 1px solid #dee2e6;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    margin-left: 5px;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    background-color: white;
}

#ctl00_ContentPlaceHolder1_Wizard1_SideBarContainer_SideBarList [id$="_SideBarButton"] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 200px;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border: none;
    background: none;
    color: #333;
    cursor: default;
    text-align: left;
    margin-bottom: 10px;
    border-radius: 4px;

}

.maincontent h2 {
    color: #000;
    text-transform: lowercase;
    /* margin-left: 5px; */
    /* border: 1px solid #ababab; */
    margin-bottom: 5px;
    background-color: white;
    padding-left: 5px;
    border-radius: 4px;
}

.maincontent h2::first-letter{
   text-transform: uppercase;
}

#ctl00_ContentPlaceHolder1_Wizard1_SideBarContainer_SideBarList [id$="_SideBarButton"] {
    text-transform: lowercase;
}

#ctl00_ContentPlaceHolder1_Wizard1_SideBarContainer_SideBarList [id$="_SideBarButton"]::first-letter {
    text-transform: uppercase;
}

#ctl00_ContentPlaceHolder1_Wizard1_SideBarContainer_SideBarList [id$="_SideBarButton"]:hover {
    background-color: #eea051;
    color: white;
    width: 140px !important;
}

#ctl00_ContentPlaceHolder1_Wizard1_SideBarContainer_SideBarList td[style*="font-weight:bold"] a {
    background-color: #ff8100;
    color: white;
    font-weight: bold;
    width: 140px !important;
}

.maincontent .form-section {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.maincontent .form-section h2,
.maincontent .form-section h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: black;
}

.maincontent .form-section table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.maincontent .form-section td {
    padding: 6px 10px;
    vertical-align: middle;
}

.maincontent .form-section input[type="text"],
.maincontent .form-section select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.95rem;
    transition: border 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.maincontent .form-section input[type="text"]:focus,
.maincontent .form-section select:focus {
    border-color: #ff8100;
    box-shadow: 0 0 5px rgba(255, 129, 0, 0.5);
    outline: none;
}

.maincontent .form-section input[type="checkbox"] {
    transform: scale(1.2);
    margin-right: 6px;
    accent-color: orange;
}

#ctl00_ContentPlaceHolder1_Wizard1_StartNavigationTemplateContainerID_StartNextButton {
    background-color: #ff8100;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

#ctl00_ContentPlaceHolder1_Wizard1_StartNavigationTemplateContainerID_StartNextButton:hover {
    background-color: #eea051;
}

#ctl00_ContentPlaceHolder1_Wizard1_FinishNavigationTemplateContainerID_FinishPreviousButton{
    background-color: #ff8100;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

#ctl00_ContentPlaceHolder1_Wizard1_FinishNavigationTemplateContainerID_FinishPreviousButton:hover{
    background-color: #eea051;
}

#ctl00_ContentPlaceHolder1_Wizard1_FinishNavigationTemplateContainerID_FinishButton{
    background-color: #ff8100;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

#ctl00_ContentPlaceHolder1_Wizard1_FinishNavigationTemplateContainerID_FinishButton:hover{
    background-color: #eea051;
}

#ctl00_ContentPlaceHolder1_Wizard1_StepNavigationTemplateContainerID_StepPreviousButton {
       background-color: #ff8100;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

#ctl00_ContentPlaceHolder1_Wizard1_StepNavigationTemplateContainerID_StepNextButton{
    background-color: #ff8100;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}
#ctl00_ContentPlaceHolder1_Wizard1_StepNavigationTemplateContainerID_StepPreviousButton:hover{
    background-color: #eea051;
}

#ctl00_ContentPlaceHolder1_Wizard1_StepNavigationTemplateContainerID_StepNextButton:hover{
    background-color: #eea051;

}


#ctl00_ContentPlaceHolder1_Wizard1 > tbody > tr > td:first-child > table {
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid #ababab;
}

input[type="text"],
select {
    border: 1px solid #dee2e6;
    border-bottom: 2px solid #dee2e6;
    padding: 5px 8px;
    outline: none;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: border-color 0.2s, border-bottom-color 0.2s;
}

input[type="text"]:focus,
select:focus,
input[type="text"]:hover,
select:hover {
    border-bottom-color: #ff8100;
}

input[type="text"]:hover,
select:hover {
    border-bottom: 2px solid #ffb366;
}

#ctl00_ContentPlaceHolder1_Wizard1 > tbody > tr > td:first-child {
    width: 150px;
    white-space: nowrap;
    vertical-align: top;
    padding: 0;
    margin: 0;
    padding-left: 20px;
}

#ctl00_ContentPlaceHolder1_Wizard1_SideBarContainer_SideBarList td a {
    display: inline-block;
    width: auto !important;
    padding: 5px 10px;
}

#ctl00_ContentPlaceHolder1_Wizard1 > tbody > tr > td:nth-child(2) {
    padding-left: 30px;
    padding-top: 20px;
    padding-right: 20px;
}

#ctl00_ContentPlaceHolder1_Wizard1 > tbody > tr > td:first-child {
    padding: 0;
    margin: 0;
    vertical-align: top;
    padding-left: 20px;
}

#ctl00_ContentPlaceHolder1_Wizard1_SideBarContainer_SideBarList {
    border-collapse: collapse;
}

#ctl00_ContentPlaceHolder1_Wizard1_SideBarContainer_SideBarList td {
    padding: 0;
    margin: 0;
}

#ctl00_ContentPlaceHolder1_Wizard1_SideBarContainer_SideBarList td a {
    display: block;
    margin: 0;
    padding: 5px 0;
}

#ctl00_ContentPlaceHolder1_Wizard1_SideBarContainer_SideBarList td a::after {
    /*content: '⯈';*/
    position: relative;
    right: -15px;
    color: black;
    font-size: 0.8em;
}

#ctl00_ContentPlaceHolder1_Wizard1_SideBarContainer_SideBarList td[style*="font-weight:bold"] a::after {
    content: '⯈';
    color: black;
    font-size: 0.9em;
}

input[type="checkbox"] {
    accent-color: #ff8100; 
}

#ctl00_ContentPlaceHolder1_Wizard1 > tbody > tr> td:nth-child(2) > table > tbody > tr > td> table.form {
    background-color: white;
    border: 1px solid #ababab;
    border-radius: 4px;
    width: 100%;
    margin-bottom: 10px;
}

#ctl00_ContentPlaceHolder1_Wizard1 > tbody > tr> td:nth-child(2) > table > tbody > tr > td> div.form {
    background-color: white;
    border: 1px solid #ababab;
    border-radius: 4px;
    width: 100%;
    margin-bottom: 10px;
}

h4#ctl00_ContentPlaceHolder1_Wizard1_Altitude_Person_H4_Heading,h4.H4_Guarantors {
    padding-left: 5px;
}

input#ctl00_ContentPlaceHolder1_Wizard1_Button_Preview {
    background-color: #0080ff;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: bold;
    font-size: 13px;
    margin-left: 5px;
    margin-top: 5px;
}

input#ctl00_ContentPlaceHolder1_Wizard1_Button_Preview:hover {
    background-color: #4ca6ff;
    cursor: pointer;
}

.grid{
    overflow: auto;
}

.grid table {
    border-collapse: collapse;
    width: 100%;
    font-family: system-ui, Segoe UI, Arial, sans-serif;
}

.grid th {
    background: linear-gradient(135deg, #1e1e1e, #333);
    color: white;
    padding: 12px 14px;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
}

.grid th a {
    color: #ff9800;
    text-decoration: none;
    display: block;
    transition: color 0.2s ease, transform 0.15s ease;
}

.grid th a:hover {
    color: #ffffff;
    transform: translateX(2px);
}

.grid th a:focus,
.grid th a:active {
    color: #4fc3f7;
}

.grid td {
    padding: 10px 14px;
    border-bottom: 1px solid #eee;
    font-size: 0.8rem;
}

.grid tr:nth-child(even) td {
    background-color: #f8f8f8;
}

.grid tr:hover td {
    background-color: #eef0f2;
}

.grid th a::after {
    content: " ⇅";
    font-size: 0.7em;
    opacity: 0.5;
}

.gridfilter input[type="submit"] {
    background: linear-gradient(135deg, #ff9800, #ff6f00);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
    margin-left: 10px;
}

.gridfilter input[type="submit"]:hover {
    background: linear-gradient(135deg, #ffa733, #ff7f1a);
    box-shadow: 0 5px 10px rgba(0,0,0,0.25);
    transform: translateY(-1px);
}

.gridfilter input[type="submit"]:active {
    transform: scale(0.98);
    box-shadow: 0 2px 4px rgba(0,0,0,0.20);
}

.gridfilter input[type="submit"]:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.5);
}

.gridfilter {
    margin-bottom: 10px;
}

.maincontent p {
    max-width: 600px;
    background: linear-gradient(135deg, #fff6ec, #fff);
    border-left: 4px solid #ff9800;
    padding: 14px 18px;
    margin: 15px 0;
    font-family: system-ui, Segoe UI, Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: bold;
    color: #333;
    line-height: 1.5;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.maincontent p:has(input[type="submit"]) {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 3em 0 0 !important;
    box-shadow: none !important;
    max-width: none !important;
}

#ctl00_ContentPlaceHolder1_Button_Copy {
    background: linear-gradient(135deg, #ff9800, #ff6f00);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
    margin-left: 10px;
}

#ctl00_ContentPlaceHolder1_Button_Copy:hover {
    background: linear-gradient(135deg, #ffa733, #ff7f1a);
    box-shadow: 0 5px 10px rgba(0,0,0,0.25);
    transform: translateY(-1px);
}

#ctl00_ContentPlaceHolder1_Button_Copy:active {
    transform: scale(0.98);
    box-shadow: 0 2px 4px rgba(0,0,0,0.20);
}

#ctl00_ContentPlaceHolder1_Button_Copy:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.5);
}

#ctl00_ContentPlaceHolder1_Wizard1_Button_Upload,
#ctl00_ContentPlaceHolder1_Wizard1_Button_Preview {
    background: linear-gradient(135deg, #2196f3, #1e88e5); 
    color: white;
    border: none;
    border-radius: 8px;
    padding: 11px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

#ctl00_ContentPlaceHolder1_Wizard1_Button_Upload:hover,
#ctl00_ContentPlaceHolder1_Wizard1_Button_Preview:hover {
    background: linear-gradient(135deg, #42a5f5, #1e88e5);
    box-shadow: 0 6px 14px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

#ctl00_ContentPlaceHolder1_Wizard1_Button_Upload:active,
#ctl00_ContentPlaceHolder1_Wizard1_Button_Preview:active {
    transform: scale(0.97);
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

#ctl00_ContentPlaceHolder1_Wizard1_Button_Upload:focus,
#ctl00_ContentPlaceHolder1_Wizard1_Button_Preview:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.45); /* subtle blue glow */
}

.maincontent p:not(:has(input)):not(:has(select)) {
    max-width: 600px;
    background: linear-gradient(135deg, #fff6ec, #fff);
    border-left: 4px solid #ff9800;
    padding: 14px 18px;
    margin: 15px 0;
    font-family: system-ui, Segoe UI, Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: bold;
    color: #333;
    line-height: 1.5;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

pre {
    white-space: pre-wrap;       /* Since CSS 2.1 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
}