﻿
body {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    font-family: Tahoma,Verdana,微软雅黑,新宋体;
}

a, a:visited {
    color: blue;
}

.lpanel {
    max-width: 380px;
    margin: 0px auto;
    border: 1px solid #e7e7e7;
    margin-top: 20px;
}
td img{ vertical-align:bottom;}

    .lpanel .pheader {
        border-bottom: 1px solid #e7e7e7;
    }

    .lpanel .pheader, .rpanel .pheader {
        text-align: center;
        line-height: 40px;
        font-size: 16px;
    }

    .lpanel .pbody, .rpanel .pbody {
        padding: 15px;
    }

.pfooter {
    clear: both;
    height: 35px;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.rpanel {
    max-width: 780px;
    margin: 0px auto;
    /*border: 1px solid #f0f0f0;*/
}

.infopanel {
    margin-top: 8px;
}

    .infopanel .pbody {
        padding: 0px 8px;
    }

.rpanel .mmtd {
    text-align: right;
    min-width: 100px;width:105px;
}

.rowspan {
    height: 8px;
}

.gridtable td, .gridtable th {
    padding: 2px 4px;
}
table.listtable { 
    margin-top: 5px;
    width: 100%;
    border-collapse: collapse;
}

    table.listtable th, table.listtable td { 
        padding: 2px 4px;
    }
     table.listtable, table.listtable th, table.listtable td {
        border: 1px solid #b3b3b3; 
    }
        table.listtabletable, table.listtable th td, table.listtable td td {
            border: none;
        }
.alrow {
    background-color: #f0f0f0;
}
.btn {
  display: inline-block;
  *display: inline;
  padding: 4px 12px;
  margin-bottom: 0;
  *margin-left: .3em;
  font-size: 14px;
  padding: 2px 10px;
  font-size: 11.9px;
  line-height: 20px;
  color: #333333;
  text-align: center;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  vertical-align: middle;
  cursor: pointer;
  background-color: #f5f5f5;
  *background-color: #e6e6e6;
  background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  background-repeat: repeat-x;
  border: 1px solid #cccccc;
  *border: 0;
  border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  border-bottom-color: #b3b3b3;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  *zoom: 1;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
     -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
          box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn:hover,
.btn:focus,
.btn:active,
.btn.active,
.btn.disabled,
.btn[disabled] {
  color: #333333;
  background-color: #e6e6e6;
  *background-color: #d9d9d9;
}

.btn:active,
.btn.active {
  background-color: #cccccc \9;
}

.btn:first-child {
  *margin-left: 0;
}

.btn:hover,
.btn:focus {
  color: #333333;
  text-decoration: none;
  background-position: 0 -15px;
  -webkit-transition: background-position 0.1s linear;
     -moz-transition: background-position 0.1s linear;
       -o-transition: background-position 0.1s linear;
          transition: background-position 0.1s linear;
}

.btn:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

.btn.active,
.btn:active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
     -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
          box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn.disabled,
.btn[disabled] {
  cursor: default;
  background-image: none;
  opacity: 0.65;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
     -moz-box-shadow: none;
          box-shadow: none;
}
a.btn {
    text-decoration:none;color:#333;
}

.edttxtbox,.formeditor {
    width:80%; padding:3px 4px; background:lightyellow;border:1px solid #ccc;
}
@media (max-width: 560px) { /**for mobile*/
    .lpanel {
        max-width: initial;
    }

    table.listtable td {
        min-height: 20px;
        border: none;
        padding: 2px 4px;
        display: inline-block;
        float: left;
        margin: 0;
        word-break:break-all;
        width:60%;
    }

        table.listtable td.mmtd, table.listtable tr > :first-child {
            clear: both;
            /*margin-left: 0px;
            padding-left: 6px;*/
            /*max-width: 105px;*/
            width:30%;
        } 
        table.listtable tr > :first-child[colspan] { 
        padding: 0px;
            width:100%;
            max-width: 100%;
        }

    select, input[type='text'] {
        margin: 3px;
        padding: 3px 4px;
        border: 1px solid #ccc;
    }

    #cpIntro,#cpInsuranceIntro {
        border-bottom: 1px solid #ccc;
        padding: 6px;
    }

    table.listtable th, table.listtable td {
        border: none;
    }
} 
@media print {
    table.listtable, table.listtable th, table.listtable td {
        border: 1px solid #333333;
        margin-left: 0px;
    }

        table.listtable td {
            display: table-cell; padding:2px 6px;float: none;
        clear:none;
        }
   table.listtable td.mmtd, table.listtable tr > :first-child  {
        float: none;
        clear:none;
    }
    .noprint {
        display: none;
    }

    .alrow {
        background: none;
    }
}

p {
    margin: 0;
    padding: 0;
    line-height: 1.8;
}

    p a, p a:visited {
        color: #333;
        text-decoration: none;
        font-size: 12pt;
    }

        p a:hover {
            color: #c00;
            text-decoration: underline;
        }