/* =============================================================================
   HTML5 Boilerplate CSS: h5bp.com/css
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
[hidden] { display: none; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; font-family:Tahoma, Helvetica, sans-serif; }
html, button, input, select, textarea { font-family: sans-serif; color: #222; }
body { margin: 0; font-size: 1em; line-height: 1.4; }

::-moz-selection { background: #C50001; color: #fff; text-shadow: none; }
::selection { background: #C50001; color: #fff; text-shadow: none; }

a { color: #21518C; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

small { font-size: 85%; }

sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle;   display:block; margin:0 auto; }

svg:not(:root) { overflow: hidden; }

form { margin: 0; }
fieldset { border:1px solid #999; margin: 0; padding: 0; }
label { cursor: pointer;   display:block;   margin:5px 10px;  position: relative;}
legend { border: 0; white-space: normal;   margin-left:10px;  padding:5px }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* ===== Primary Styles ========================================================
   Author: Çağlar Yeşilyurt
   ========================================================================== */

#warning{
  color:#fff;
  background-color: #C50001;
  text-align:center;
}

#main, header {
  width:990px;
  margin:0 auto;
}

.half {
  width:50%;
  float:left;
}
h1{
  text-align:center;
  font-size:24px;
  margin:0 0 -15px 0;
}

label span{
  float:right;
  display:block;
  margin-right: 125px;
}

input, select {
  position: absolute;
  left:150px;
  width:150px;
  text-align:right
}
input:focus{
  border:1px solid #21518C;
  box-shadow:0px 0px 2px #21518C;

}
button,#reset{
  background:#21518C;
  border:0px;
  color:#fff;
  font-weight:bold;
  padding:10px 20px;
  border-radius:10px;
}
button:active,button:hover,button:focus{
  outline:0;
  box-shadow:0px 0px 5px #21518C;
}

#graph{
  min-height:400px;
}
#references{
  list-style-type: decimal;
  display: none;
  clear:both
}
.left{
float:left;
}
.right{
float:right;
}
#last{
  padding:0 10px 10px;
}
#logo{
  display: block;
  margin-top:30px
}

/* =============================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {
	/* Style adjustments for viewports that meet the condition */
}

/* =============================================================================
   Non-Semantic Helper Classes
   ========================================================================== */

.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

/* =============================================================================
   Print Styles
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}