/******************************************************
 * I copied these styles from markdotto.com, who is
 * the creator of bootstrap, and I also did some
 * modification. Thanks Mark for the beautiful theme,
 * so I reserved the @mdo sign below.
 *****************************************************/

/*
  __
  __                  /\ \
  /'_`\_    ___ ___    \_\ \    ___
  /'/'_` \ /' __` __`\  /'_` \  / __`\
  /\ \ \L\ \/\ \/\ \/\ \/\ \L\ \/\ \L\ \
  \ \ `\__,_\ \_\ \_\ \_\ \___,_\ \____/
  \ `\_____\\/_/\/_/\/_/\/__,_ /\/___/
  `\/_____/

*/



/* Body resets
   -------------------------------------------------- */

* {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}
html, body {
    margin: 0;
    padding: 0;
}
html {
    font-size: 62.5%;
}
body {
    padding: 20px;
/*    font-family: Menlo, Monaco, monospace;*/
    font-family:  monospace, Georgia, "Times New Roman", Times, serif;/*, monospace;*/
    font-size: 14px;
    line-height: 1.5;
//    color: #666;
    background-color: #fff;
}
p {
    margin: 0 0 20px;
}
h1, h2, h3 {
    position: relative;
    margin: 30px 0 20px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.1;
    color: #111;
    text-rendering: optimizeLegibility;
}
h1:before, h2:before, h3:before {
    position: absolute;
    top: auto;
    color: #ccc;
    display: none;
}
h1:before {
    content: "*";
    left: -1.25em;
}
h2:before {
    content: "**";
    left: -2em;
}
h3:before {
    content: "***";
    left: -2.5em;
}
i, em, b, strong {
    padding-left: .1em;
    padding-right: .1em;
}
b, strong {
    font-weight: bold;
    color: #333;
}
b:before, b:after, strong:before, strong:after {
    content: "";
}
i:before, i:after, em:before, em:after {
    content: "/";
}
hr {
    margin: 0;
    border: 0;
}
hr:after {
    display: block;
    margin: 20px 0;
    content: "----------------------------------------------------------------------------------";
    color: #ccc;
}
ul, ol {
    padding: 0;
    margin: 0 0 20px;
}
code, pre {
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}
code {
    color: #d14;
}
code:before, code:after {
    content: "=";
    color: #ccc;
}
pre {
    display: block;
    margin: 0 0 14px;
    padding: 15px;
    border-radius: 3px 3px 3px 3px;
    font-size: 18px;
    line-height: 28px;
    background-color: #f5f5f5;
    white-space: pre;
    white-space: pre-wrap;
    word-break: break-all;
    word-wrap: break-word;
}
blockquote {
    padding: 0 0 0 20px;
    margin: 0 30px 20px -22.5px;
    color: #999;
    border-left: 8px solid #e5e5e5;
}
blockquote p:last-child {
    margin-bottom: 0;
}
img {
    display: block;
    margin: 0;
    border-radius: 5px;
}
a {
    font-weight: inherit;
    line-height: inherit;
/*    color: #000;*/
    color: #8B0012;
    text-decoration: none;
}
sup a:before {
    content: "[";
}
sup a:after {
    content: "]";
}
a:hover {
    text-decoration: underline;
}


//for table
/*  table { border-collapse:collapse; }
  caption.t-above { caption-side: top; }
  caption.t-bottom { caption-side: bottom; }
  td, th { vertical-align:top;  }
  th.right  { text-align: center;  }
  th.left   { text-align: center;   }
  th.center { text-align: center; }
  td.right  { text-align: right;  }
  td.left   { text-align: left;   }
  td.center { text-align: center; }
  dt { font-weight: bold; }
  .footpara:nth-child(2) { display: inline; }
  .footpara { display: block; }
  .footdef  { margin-bottom: 1em; }
  .figure { padding: 1em; }
  .figure p { text-align: center; }
  .inlinetask {
    padding: 10px;
    border: 2px solid gray;
    margin: 10px;
    background: #ffffcc;
  }*/

table {
    line-height: 2.4;
    margin-bottom: 15px;
    max-width: 100%;
    width: 100%;
}
//table td, table th {
 //   padding: 0 1px;
//}
table th.left, table td.left {
    text-align: left;
}
table th.right, table td.right {
    text-align: right;
}
/******************************************************/
/* body */
.container {
    margin: 0 auto;
    max-width: 1000px;
}
/* head */
.masthead {
    color: #888;
}
.masthead:after {
    display: block;
    content: "----------------------------------------------------------------------------------";
    margin: 10px 0;
    color: #ccc;
}
.masthead a {
/*    color: #333;*/
color:#8B0012;

}
.masthead ul {
    list-style: none;
}
.masthead li {
 font-weight:bold;
    font-size: 22px;
    display: inline-block;
}
.masthead li + li:before {
    display: inline-block;
    content: "\00B7 \00a0";
    color: #ccc;
}
/* searchform*/
#searchform {
    position: absolute;
    top: 54px;
    right: 30.4%;
}
#searchform #s {
    background: url("/media/img/search.png") no-repeat 5px 6px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
    border-radius: 2px;
    -moz-border-radius: 2px;
    width: 90px;
    height: 30px;
    line-height: 12px;
    padding: 4px 10px 4px 28px;

    -webkit-transition-duration: 400ms;
    -webkit-transition-property: width, background;
    -webkit-transition-timing-function: ease;
    -moz-transition-duration: 400ms;
    -moz-transition-property: width, background;
    -moz-transition-timing-function: ease;
    -o-transition-duration: 400ms;
    -o-transition-property: width, background;
    -o-transition-timing-function: ease;
}
#searchform #s:focus {
    background-color: #f9f9f9;
    width: 160px;
}
.masthead img.avatar {
    position: relative;
    float: right;
    margin-top: -100px;
    margin-bottom: -100%;
    margin-right: 10%;
    width: 400px;
    background-color: #fff;
}
/* post */
.post {
    position: relative;
}
.post:after {
    display: block;
    content: "----------------------------------------------------------------------------------";
    color: #ccc;
}
.post img {
    max-width: 100%;
}
.post li {
    list-style: none outside none;
}
.post ul > li:before {
    content: "- ";
    margin-left: -1.25em;
    color: #ccc;
}
.post ol {
    counter-reset: o-list;
}
.post ol > li:before {
    content: counter(o-list) ") ";
    counter-increment: o-list;
    margin-left: -1.85em;
    color: #ccc;
}

/* special for li in pre */
.post pre li {
    list-style-type: decimal;
}

.post pre li:before {
    display: none;
}

/* meta info */
.post-info {
    display: inline-block;
    margin: -10px 0 -10px;
    color: #999;
}
.post-info + .post-info:before {
    content: "\2223 \00a0";
}
.post-meta:after {
    content: "----------------------------------------------------------------------------------";
    display: block;
    margin-top: -1px;
    color: #ccc;
}

/* table of content */
#table-of-contents {
    position: fixed;
    right: 0em;
    top: 0em;
    border:1px solid #e1e1e8;
    -webkit-box-shadow: 0 0 1em #777777;
    -moz-box-shadow: 0 0 1em #777777;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-bottomleft: 5px;
    text-align: right;
    /* ensure doesn't flow off the screen when expanded */
    max-height: 80%;
    overflow: auto;
    z-index: 200;
}

#table-of-contents h2 {
    max-width: 20em;
    font-weight: normal;
    padding-left: 0.5em;
    padding-top: 0.05em;
    padding-bottom: 0.05em;
}

#table-of-contents ul {
    margin-left: 14pt;
    margin-bottom: 10pt;
    padding: 0
}

#table-of-contents li {
    padding: 0;
    margin: 1px;
    list-style: none;
}

#table-of-contents ul>:first-child {
    color: blue;
}

#table-of-contents #text-table-of-contents {
    display: none;
    text-align: left;
}

#table-of-contents:hover #text-table-of-contents {
    display: block;
    padding: 0.5em;
    margin-top: -1.5em;
}

/* footer */
.footer {
    margin: 80px 0 0;
    text-align: center;
    font-size: 15px;
    color: #999;
}
.footer:before {
    display: block;
    content: "----------------------------------------------------------------------------------";
    margin: 10px 0;
    color: #ccc;
}

.footer > p {
    margin: 0;
    line-height: 1.5;
}
.footpara {
    display: inline;
}



/* Responsive
   -------------------------------------------------- */

@media (min-width: 768px) {
    /* Increase body padding and font-sizes */
    body {
        padding: 30px;
        font-size: 18px;
        line-height: 1.75;
    }
    h1:before, h2:before, h3:before {
        display: inline;
    }
}

@media (min-width: 1024px) {
    body {
        padding: 30px;
    }
}


.form-style-4{
    width: 850px;
    font-size: 16px;
 /*   background: #495C70;*/
    padding: 30px 30px 15px 30px;
    border: 2px solid #53687E;
}
.form-style-4 input[type=submit]
{
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 16px;
    color: black;
}
.form-style-4 input[type=button],
.form-style-4 input[type=text],
.form-style-4 input[type=email],
.form-style-4 textarea,
.form-style-4 label
{
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 16px;
/*    color: #fff;*/

}
.form-style-4 label {
    display:block;
    margin-bottom: 10px;
}
.form-style-4 label > span{
    display: inline-block;
    float: left;
    width: 300px;
}
.form-style-4 input[type=text],
.form-style-4 input[type=email],
.form-style-4 input[type=date] 
{
    background: transparent;
    border: none;
/*    border-bottom: 1px dashed #83A4C5;*/
    border-bottom: 1px solid #83A4C5;
    width: 300px;
    outline: none;
    padding: 0px 0px 0px 0px;
/*    font-style: italic;*/
}
.form-style-4 textarea{
    font-style: italic;
    padding: 0px 0px 0px 0px;
    background: transparent;
    outline: none;
    border: none;
/*    border-bottom: 1px dashed #83A4C5;*/
    border-bottom: 1px solid #83A4C5;
    width: 275px;
    overflow: hidden;
    resize:none;
    height:20px;
}

.upload {
    width: 200px;
    height: 30px;
    background:url("../imag/uploadfile.svg") no-repeat center;
/*    background:url("https://upload.wikimedia.org/wikipedia/commons/c/cf/Upload_alt_font_awesome.svg") no-repeat fixed center;*/
    overflow: hidden;
}

.upload input {
    display: block !important;
    width: 100px !important;
    height: 30px !important;
    opacity: 0 !important;
    overflow: auto !important;
    cursor:pointer;
}
.note{
color:blue;
}
.note b
{
color:red;
}


.form-style-4 textarea:focus, 
.form-style-4 input[type=text]:focus,
.form-style-4 input[type=email] :focus
{
/*    border-bottom: 1px dashed #D9FFA9;*/
    border-bottom: 1px solid #83A4C5;
}

.form-style-4 input[type=submit],
.form-style-4 input[type=button]{
  /*  background: #576E86;*/
    background: #82CAFA;
    border: none;
    padding: 8px 10px 8px 10px;
    border-radius: 5px;
/*    color: #A8BACE;*/
}
.form-style-4 input[type=submit]:hover,
.form-style-4 input[type=button]:hover{
background: #394D61;
}

.required{
    color:red;
    font-weight:normal;
}

.authcode input[type=text]{
    background: transparent;
    border: none;
/*    border-bottom: 1px dashed #83A4C5;*/
    border-bottom: 1px solid #83A4C5;
    width: 300px;
    outline: none;
    padding: 0px 0px 0px 0px;
}
.authcode span{
margin:14px -4px 0px 0px;     
}
.authcode img{
margin-bottom:10px;
}



.err{
color:red;
}
