﻿body
{
    color: #696969;
    font-size: 16px;
    margin-top: 0px;
    padding: 0;
}
a:link
{
    color: #034AF3;
    text-decoration: underline;
}
a:visited
{
    color: #505ABC;
}
a:hover
{
    color: #1D60FF;
    text-decoration: none;
}
a:active
{
    color: #12EB87;
}
p, ul
{
    line-height: 1.6em;
    margin-bottom: 20px;
}
header, footer, nav, section
{
    display: block;
}
h1, h2, h3, h4, h5, h6
{
    color: #000000;
    font-size: 1.5em;
}
h1
{
    font-size: 2em;
    margin-bottom: 0;
    padding-bottom: 0;
}
h2
{
    padding: 0 0 10px;
}
h3
{
    font-size: 1.2em;
}
h4
{
    font-size: 1.1em;
}
h5, h6
{
    font-size: 1em;
}
.page
{
    margin-left: auto;
    margin-right: auto;
    max-width: 1300px;
    padding:20px;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    /*background: url(../images/header-logo.png) no-repeat;*/
    height: auto;
    min-height: 575px; 
}

.page .row
{
    margin-bottom: 10px;
}

.page label
{
    margin-left: 5px;
}
header, #header
{
    color: #000000;
    margin-bottom: 0;
    padding: 0;
    position: relative;
}
header h1, #header h1
{
    border: medium none;
    color: #FFFFFF;
    font-size: 32px !important;
    font-weight: bold;
    line-height: 2em;
    margin: 0;
    padding: 5px 0;
    text-shadow: 1px 1px 2px #111111;
}
#main
{
    padding: 10px 10px 15px;
}
#main table
{
  
}
footer, #footer
{
    background-color: #FFFFFF;
    border-radius: 0 0 4px 4px;
    color: #999999;
    font-size: 0.9em;
    line-height: normal;
    margin: 0 0 30px;
    padding: 10px 0;
    text-align: center;
}
fieldset
{
    border: 1px solid #DDDDDD;
    margin: 0 0 1.5em;
    padding: 0 1.4em 1.4em;
}
legend
{
    font-size: 1.2em;
    font-weight: bold;
    display:inline;
    width:auto;
}
textarea, textarea.form-control
{
    min-height: 75px;
    resize: vertical !important;
}

input.btn
{
    margin-right: 20px;
}
.ui-datepicker { z-index: 9999 !important; }


/*input[type="text"], input[type="password"] {
border-left: 1px solid #D9D9D9;
border-right: 1px solid #D9D9D9;
border-top: 1px solid #C0C0C0;
border-bottom: 1px solid #D9D9D9;
color: #444444;
font-size: 1.2em;
border-radius:1px 1px 1px 1px;
padding: 2px 2px 2px 8px;
}

input[type="text"]:focus, input[type="password"]:focus {
border:1px solid #4D90FE;
}

select {
border: 1px solid #CCCCCC;
color: #444444;
font-size: 1.2em;
padding: 2px;
}
input[type="submit"]:hover, input[type="button"]:hover
{
background-color:#357AE8;
background-image:-moz-linear-gradient(center top , #4D90FE, #357AE8);
border:1px solid #2F5BB7;
text-shadow:0 1px rgba(0, 0, 0, 0.3);
}
input[type="submit"], input[type="button"] 
{
font-size: 13px;
font: 95.25%/1 arial,helvetica,sans-serif;
height:32px;
padding: 5px;
margin: 0 1.5em 1.2em 0;
line-height:29px;
border-radius:2px 2px 2px 2px;
background-color:#4D90FE;
background-image:-moz-linear-gradient(center top , #4D90FE, #4787ED);
border:1px solid #3079ED;
color:#ffffff;
display:inline-block;
font-weight:bold;
text-shadow:0 1px rgba(0, 0, 0, 0.1);
padding: 0 8px;
text-align:center;
}*/

table
{
    border: 1px solid #E8EEF4;
    border-collapse: collapse;
}
table td
{
    vertical-align:top;
    padding: 5px;
    margin-left: 40px;
}
table th
{
    background-color: #E8EEF4;
    border: 1px solid #E8EEF4;
    padding: 6px 5px;
    text-align: left;
}

input[type=checkbox]
{
    margin-right: 7px !important;
}

input.datectrl
{
    height: 38px;
    padding: 8px 12px;
    margin-right: 10px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #666666;
    background-color: #ffffff;
    background-image: none;
    border: 1px solid #cccccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.clear
{
    clear: both;
}
.error
{
    color: Red;
}
.success
{
    color: green;
}

nav, #menucontainer
{
    margin-top: 65px;
}
div#title
{
    display: block;
    text-align: left;
}
#logindisplay
{
    display: block;
    font-size: 1.1em;
    text-align: right;
    margin-right: 5px;
}

.field-validation-error
{
    color: #FF0000;
}
.field-validation-valid
{
    display: none;
}
.input-validation-error
{
    background-color: #FFEEEE;
    border: 1px solid #FF0000;
}
.validation-summary-errors
{
    color: #FF0000;
    font-weight: bold;
}
.validation-summary-valid
{
    display: none;
}
.display-label, .editor-label
{
    margin: 1em 0 0;
}
.display-field, .editor-field
{
    margin: 0.5em 0 0;
}
.text-box
{
    width: 30em;
}
.text-box.multi-line
{
    height: 6.5em;
}
.tri-state
{
    width: 6em;
}
#menu
{
    font-weight: 600;
    border-top: 1px inset gray;
    margin-top: 20px;
    padding: 10px;
}
    
.sort_up a
{
    background: url(/images/sort_up.gif) no-repeat 100%;
    padding-right: 15px;
}    

.sort_down a
{
    background: url(/images/sort_down.gif) no-repeat 100%;
    padding-right: 15px;
}  


@media (max-width:529px){
 .page{
     border:none;
 }
}


   .pagination-ys {
    /*display: inline-block;*/
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

      .pagination-ys table{
          border:none;
      }
       .pagination-ys table td{
          padding:0;
      }


.pagination-ys table > tbody > tr > td > a,
.pagination-ys table > tbody > tr > td > span {
    position: relative;
    float: left;
    padding: 4px 8px;
    line-height: 1.42857143;
    text-decoration: none;
    color: black;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    margin-left: -1px;
}

.pagination-ys table > tbody > tr > td > span {
    position: relative;
    float: left;
    padding: 4px 8px;
    line-height: 1.42857143;
    text-decoration: none;    
    margin-left: -1px;
    z-index: 2;
    color: #aea79f;
    background-color: #f5f5f5;
    border-color: #dddddd;
    cursor: default;
}

.pagination-ys table > tbody > tr > td:first-child > a,
.pagination-ys table > tbody > tr > td:first-child > span {
    margin-left: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}

.pagination-ys table > tbody > tr > td:last-child > a,
.pagination-ys table > tbody > tr > td:last-child > span {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}

.pagination-ys table > tbody > tr > td > a:hover,
.pagination-ys table > tbody > tr > td > span:hover,
.pagination-ys table > tbody > tr > td > a:focus,
.pagination-ys table > tbody > tr > td > span:focus {
    color: #97310e;
    background-color: #eeeeee;
    border-color: #dddddd;
}

/* jQuery chosen box open up*/
.chosen-container.chosen-drop-up .chosen-drop{
   top: auto;
   bottom: 100%;
}


/* alert box close button*/
.close{
    opacity:0.6 !important;
}

/* For admin manage table*/
table.manage td.form-inline input{
    width:400px !important;
}
