@font-face {
    font-family: "Sansation_Regular";
    src: url("/style/Sansation_Bold.ttf");
    font-weight: bold;
}
@font-face {
    font-family: "Sansation_Regular";
    src: url("/style/Sansation_Italic.ttf");
    font-style: italic;
}
@font-face 
{ 
    font-family: "Sansation_Regular"; 
    src: url('/style/Sansation_Regular.ttf');
}

@font-face 
{ 
    font-family: font_2; 
    src: url('/style/font_2.otf'); 
}
body
{
  background: url(new_design/head_background.png) repeat-x #b5bac2;
  margin: 0px;
    font-family: Sansation_Regular;
    font-size: 17px;
}
h1
{
    font-size: 25px;
    font-family: font_2;
    text-shadow: 0 0 4px #000;
    -moz-text-shadow: 0 0 4px #000;
    -webkit-text-shadow: 0 0 4px #000;
    color: white;
    /*text-align: center;*/
}
a
{
   color: #55C;
   text-decoration: none;
}
a:hover
{
    color: #444;
    text-decoration: none;
}
img
{
    border:none;
    text-decoration: none;
}
#design_chooser
{
    padding: 5px;
    right: 0px;
    top: 50px;
    position: absolute;
    background: #123f5f;
    background: rgba(0,0,0,0.4);
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -khtml-border-radius: 15px;
    color: white;
}
#messages
  {
    padding: 5px;
    color: white;
  }
.info
{
    padding: 5px;
    background: #00008B;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -khtml-border-radius: 15px;
    /*width: 100%;*/
    color: white;
}
.warn
{
    padding: 5px;
    background: #FF8C00;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -khtml-border-radius: 15px;
   /* width: 100%; */
   color: white;
}
.error
{
    padding: 5px;
    background: red;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -khtml-border-radius: 15px;
/*    width: 100%; */
  color: white;
}
#header
{
  height: 200px;

  text-align: center;
}
#header img
{
  width: 400px;
  height: 100px;
  display: block;
  margin: 0 auto;
  padding-top: 50px;
  transition: all 3s;
  -moz-transition: all 3s; /* Firefox */
  -webkit-transition: all 3s; /* Safari and Chrome */
  -o-transition: all 3s; /* Opera */
}
#header img:active
{
    -moz-transform:rotateY(40deg) rotateX(5000deg);
  -webkit-transform:rotateY(40deg) rotateX(5000deg);
  -o-transform:rotateY(40deg) rotateX(5000deg);
  transform:rotateY(40deg) rotateX(5000deg);
}

#main_ul
{
    margin: 0px auto; 
    padding: 25px;
    margin-bottom: 5px;
    text-align: center;
    border: 1px solid black;
    background: url('new_design/navi_bg.png');
    border-width: 5px;
    border-color: #101b3b;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -khtml-border-radius: 15px;
    width: 710px;
}
 #main_ul li
 {
    display: inline;
    padding-right: 5px;
    list-style: none;
    width: 180px;
 }
#main_ul li a
{
  border-left: 1px solid #06013c;
  border-right: 1px solid #06013c;
  color: white;
  text-decoration: none;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 40px;
  padding-right: 40px;
  background: url('new_design/button.png') repeat-x;
  text-shadow: 1px 1px 3px #454E5F;
  box-shadow: 1px 1px 5px black,-1px -1px 5px #454E5F;
  width: 180px;
    transition: all 0.5s;
  -moz-transition: all 0.5s; /* Firefox */
  -webkit-transition: all 0.5s; /* Safari and Chrome */
  -o-transition: all 0.5s; /* Opera */
}
#main_ul li a:hover
{
  background: url('new_design/button_hover.png') center;
  text-shadow: 0 0 5px #fff;
  -moz-text-shadow: 0 0 5px #fff;
  -webkit-text-shadow: 0 0 5px #fff;
  -o-text-shadow: 0 0 5px #fff;
  
  border-color: rgba(150, 210, 220,0.6);
  box-shadow: 0 0 10px #9FD5DF;
  -moz-box-shadow: 0 0 10px #9FD5DF;
  -webkit-box-shadow: 0 0 10px #9FD5DF;
  -o-box-shadow: 0 0 10px #9FD5DF;

  color: #b4ecff;
}
#main_ul li a:active
{
  box-shadow: 0 0 500px #5CB2AD;
  -moz-box-shadow: 0 0 500px #5CB2AD;
  -webkit-box-shadow: 0 0 500px #5CB2AD;
  -o-box-shadow: 0 0 500px #5CB2AD;
}

/*@keyframes hover
{
from {box-shadow: 0 0 0px #9FD5DF; text-shadow: 0 0 0px #fff; color: #fff;}
to {box-shadow: 0 0 10px #9FD5DF; text-shadow: 0 0 5px #fff; color: #b4ecff}
}

@-moz-keyframes hover 
{
from {box-shadow: 0 0 0px #9FD5DF; text-shadow: 0 0 0px #fff; color: #fff;}
to {box-shadow: 0 0 10px #9FD5DF; text-shadow: 0 0 5px #fff; color: #b4ecff}
}

@-webkit-keyframes hover
{
from {box-shadow: 0 0 0px #9FD5DF; text-shadow: 0 0 0px #fff; color: #fff;}
to {box-shadow: 0 0 10px #9FD5DF; text-shadow: 0 0 5px #fff; color: #b4ecff}
}

@-o-keyframes hover
{
from {box-shadow: 0 0 0px #9FD5DF; text-shadow: 0 0 0px #fff; color: #fff;}
to {box-shadow: 0 0 10px #9FD5DF; text-shadow: 0 0 5px #fff; color: #b4ecff}
}*/

#main
{
  display: block;
  left: 0px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 30px;
  border-top: 1px solid #c9cfce;
  background: #d0d4dd;
  min-width: 800px;
}
#footer
{
  padding: 10px;
  border-top: 2px solid #d3d3d3;
  background: #a1a9c0;
  color: black;
  min-width: 800px;
}
.category
{
   background: #0a2571;
   font-size: 20px;
   padding: 10px;
   margin-bottom: 20px;
   text-align: center;
   background: rgba(0,0,0,0.4);
   white-space: pre-line;
}
.category a
{
    background: #07194b;
    margin-left: 10px;
    padding: 10px;
    background: rgba(0,0,150,0.4);
    line-height: 40px;
}
.category a:hover
{
    background: #0c4e82;
    background: rgba(0,0,255,0.4);
}
.category a.current
{
    background: #ecf417;
    background: rgba(100,100,0,0.4);
}
#alertbg
{
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 3;
    opacity: 0.7;
    animation: show_alert 0.5s;
    -moz-animation: show_alert 0.5s; /* Firefox */
    -webkit-animation: show_alert 0.5s; /* Safari and Chrome */
    -o-animation: show_alert 0.5s; /* Opera */
}
#alertcontent
{
    text-align:center;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -khtml-border-radius: 15px;
    position: fixed;
    top: 20%;
    background: /*#626266*/ #082235;
    background: rgba(14,26,59,0.5);
    padding: 5px;
    width: 50%;
    min-width: 200px;
    left: 25%;
    z-index: 4;
    max-height: 400px; 
    overflow: auto;
    color: white;
    animation: show_alert_content 0.5s;
    -moz-animation: show_alert_content 0.5s; /* Firefox */
    -webkit-animation: show_alert_content 0.5s; /* Safari and Chrome */
    -o-animation: show_alert_content 0.5s; /* Opera */
}
@keyframes show_alert
{
from {width: 0%; height: 0%; opacity:0;}
to {width: 100%; height: 100%; opacity:0.7;}
}

@-moz-keyframes show_alert /* Firefox */
{
from {width: 0%; height: 0%; opacity:0;}
to {width: 100%; height: 100%; opacity:0.7;}
}

@-webkit-keyframes show_alert /* Safari and Chrome */
{
from {width: 0%; height: 0%; opacity:0;}
to {width: 100%; height: 100%; opacity:0.7;}
}

@-o-keyframes show_alert /* Opera */
{
from {width: 0%; height: 0%; opacity:0;}
to {width: 100%; height: 100%; opacity:0.7;}
}

@keyframes show_alert_content
{
from {width: 0%; height: 0%; opacity:0;}
to {width: 50%; opacity:1;}
}

@-moz-keyframes show_alert_content /* Firefox */
{
from {width: 0%; height: 0%; opacity:0;}
to {width: 50%; opacity:1;}
}

@-webkit-keyframes show_alert_content /* Safari and Chrome */
{
from {width: 0%; height: 0%; opacity:0;}
to {width: 50%; opacity:1;}
}

@-o-keyframes show_alert_content /* Opera */
{
from {width: 0%; height: 0%; opacity:0;}
to {width: 50%; opacity:1;}
}
#youtube
{
  float: left; 
  height: 70px; 
  padding: 0px; 
  margin: 0px; 
  padding-left: 10px ;
  transition: all 1s;
  -moz-transition: all 1s; /* Firefox */
  -webkit-transition: all 1s; /* Safari and Chrome */
  -o-transition: all 1s; /* Opera */
  top: 5px;
  position: relative;
}
#youtube img
{
  width: 70px; 
  height: 70px;
  border: 1px solid gray;
}
#youtube:hover
{
  -moz-transform:scale(1.15,1.15);
  -webkit-transform:scale(1.15,1.15);
  -o-transform:scale(1.15,1.15);
  transform:scale(1.15,1.15);
  border-color: rgba(150, 210, 220,0.6);
  box-shadow: 0 0 10px #9FD5DF;
  -moz-box-shadow: 0 0 10px #9FD5DF;
  -webkit-box-shadow: 0 0 10px #9FD5DF;
  -o-box-shadow: 0 0 10px #9FD5DF;
}

.hover_menu
  {
    text-align:center;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -khtml-border-radius: 15px;
    position: fixed;
    background: /*#626266*/ #082235;
    background: rgba(48,73,100,0.8);
    padding: 5px;
    z-index: 90;
    color: white;
    font-size: 15px;
    line-height: 15px;
  }
.ng_tab_list
{
    width: 100%;
    color: white;
}
.ng_tab_list link
{
    margin-left: 10px; 
    text-align: center;
    width: 30px;
}
.ng_tab_list .tab_hover
{
    padding-left: 5px;
    padding-right: 5px;
    /*background: gray; */
    background: url('/style/Chat/channel.png') #286383 repeat-x;
    margin-left: 10px; 
}
.ng_tab_list .tab_hover:hover
{
    /*background: #999;*/
    background: url('/style/Chat/channelhover.png') #397494 repeat-x;
}
#registerbutton
{
  width: 150px;
}
.hr
{
    width: 100%;
    height: 1px;
    background: gray;
}
.link
{
    cursor: pointer; 
}
.table_top
{
    font-size: 20px; 
    background: #2c2c34; 
    background: rgba(20,20,37,0.4);
    text-align: center
}
.table_top a
{
    color: white;
    text-decoration: none;
}
.table
{
    border: none; 
    width: 100%;
    text-align: center;
    background: #a5abb9;
    background: rgba(9,21,51,0.2);
    color: black;
}
#message
{
    width: 100%;
    overflow: scroll;
    height: auto;
}
input[type=text], input[type=password], textarea
{
  padding: 2px;
  background: #031024;
  color: white;
  border: 1px solid black;
  -webkit-box-shadow: inset 0px 2px 3px #000;	/* webkit browser*/ 
  -moz-box-shadow: inset 0px 2px 3px #000;	/* firefox */ 
  box-shadow: inset 0px 2px 3px #000;
  border-radius: 15px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -khtml-border-radius: 15px;
}
a.button
{
    background: transparent url('button/button_a_normal.gif') no-repeat top right;
    font-size: 14px;
    color: #000;
    text-decoration: none;
    float: left;
    height: 24px;
    margin-right: 6px;
    padding-right: 15px; /* sliding doors padding before: 18px*/
    outline-style:none;
    outline-width:0px;
    border: 0px;
}
button.button
{
    background: transparent url('button/button_a_normal.gif') no-repeat top right;
    font-size: 14px;
    color: #000;
    text-decoration: none;
    float: left;
    height: 22px;
    margin-right: 6px;
    padding-right: 15px; /* sliding doors padding before: 18px*/
    outline-style:none;
    outline-width:0px;
    border: 0px;

}

a.button span, input.button
{
    background: transparent url('button/button_span_normal.gif') no-repeat;
    display: block;
    line-height: 14px;
    padding: 5px 0 5px 18px;
    outline-style:none;
    outline-width:0px;
    border-style: none;
}	
button.button span
{
    background: transparent url('button/button_span_normal.gif') no-repeat;
    display: block;
    line-height: 14px;
    padding: 5px 0 5px 18px;
    outline-style:none;
    outline-width:0px;
    border-style: none;
}	
a.button:hover, button.button:hover
{
    background: transparent url('button/button_a_hover.gif') no-repeat top right;   
}

a.button:hover span, select.button:hover, input.button:hover, button.button:hover span
{
    background: transparent url('button/button_span_hover.gif') no-repeat;
}

a.button:active, button.button:active
{
    background: transparent url('button/button_a_active.gif') no-repeat top right;  
}

a.button:active span, select.button:active, input.button:active, button.button:active span
{
    background: transparent url('button/button_span_active.gif') no-repeat;
}

/* Games */
.ng_slider_bg
{
  width: 750px;
  height: 15px;
  background: url('/style/slider/bg.png');
  position:absolute;
}
.ng_slider
  {
    width: 30px;
    height: 15px;
    background: url('/style/slider/slider.png');
    position:absolute;
    
  }
#games
{
    width: 750px; 
    text-align: center;
}
#gameobject
{
    text-align: center;
}
#sizebuttons
{
    margin:0 auto;
    width: 750px;
}
#smaller
{
    float: left;
}
#larger
{
    float: right;
}
#normal
{
    position:relative;
    left: 280px;
}
/* Tutorials */
#tut_table
{
    border: none; 
    text-align: center;
    background: #a5abb9;
    background: rgba(9,21,51,0.2);
    color: white;
}
#tut_description
{
  background: #babec6;
  padding: 5px;
  text-align: center;
  color: black;
}
.source_code
{
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -khtml-border-radius: 15px;
    background: #babec6;
    box-shadow: 5px 5px 10px #000;
    -webkit-box-shadow: 5px 5px 10px #000;
    -moz-box-shadow: 5px 5px 10px #000;
    padding: 5px;
    margin-bottom: 10px;
    color: black;
}


