@font-face
{
    font-family: 'Istok';
    src: url(../images/IstokWeb-Regular.ttf) format('truetype');
}

@media(orientation: portrait)
{
    #wrapper
    {
        background-image: url(../images/backgroundPortrait.jpg);
        background-attachment: fixed;
        background-repeat: no-repeat;
        background-position: center;
    }
}

*
{
    margin: 0;
    padding: 0;
}

html, body
{
    height: 100%;
}

body 
{
    font-family: 'Istok', 'calibri', sans-serif;
    font-weight: 500;
    color: white;
    background-image: url(../images/backgroundStars.jpg);
    background-repeat: repeat-x repeat-y;
    background-attachment: fixed;
}

/********Navigation********/

#navoffset
{
    width: 100%;
    height: 50px;
    z-index: 0;
}

#navigation
{
    width: 100%;
    height: 50px;
    background-color: #181818;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 1;
    text-align: center;
}

nav
{
    text-align: center;
    height: 100%;
    display: inline-block;
}

nav .nav
{
    height: 100%;
    margin: auto 0px;
    display: inline-block;
    padding-left: 0px;
    float: left;
}

nav .nav li
{
    float: left;
    list-style-type: none;
    height: 100%;
}

nav .nav li a
{
    color: white;
    text-decoration: none;
    font-size: 20px;
    display: block;
    height: 100%;
    line-height: 50px;
    vertical-align: middle;
    padding: 0px 15px;
}

nav .nav li a:hover
{
    text-decoration: underline;
}

nav .nav li:hover
{
    background-color: #000;
}

nav .active
{
    background-color: #000;
}

nav .active a
{
    text-decoration: underline !important;
}

nav .nav-child
{
    visibility: hidden;
    list-style-type: none;
}

nav .nav-child li a
{
    display: block;
    height: 100%;
    font-size: 16px !important;
    line-height: 30px !important;
    vertical-align: middle;
    background-color: #181818;
}

nav .nav-child li a:hover
{
    background-color: black;
}

nav .nav-child li
{
    height: 30px;
    line-height: 30px;
    vertical-align: middle;
}

nav .nav li:hover .nav-child
{
    visibility: visible;
}

nav .nav img
{
    height: 50px;
    margin-right: 5px;
    float: left;
}

/********Navigation: Sprache, Login/Account********/

#nav-general
{
    //float: right;
    position: fixed;
    top: 0px;
    right: 0px;
    height: 50px;
}

#language
{
    float: left;
    display: table;
    height: 50px;;
    margin-right: 20px;
}

.mod-languages
{
    height: 22px;
    display: table-cell;
    vertical-align: middle;
}

.top-login
{
    height: 100%;
    background-color: #181818;
    float: right;
}

.login-active
{
    height: 100%;
    background-color: black;
    text-decoration: underline;
    float: right;
}

#link-login
{
    color: white;
    text-decoration: none;
    font-size: 20px;
    display: block;
    height: 100%;
    line-height: 50px;
    vertical-align: middle;
    padding: 0px 15px;
}

.top-login:hover
{
    background-color: #000;
    text-decoration: underline;
}

#login-content
{
    display: none;
    position: absolute;
    top: 50px;
    right: 0px;
    background-color: #181818;
    opacity: 0.9;
    padding: 20px 20px;
    border-radius: 0 0 0 4px;
    font-size: 14px;
    min-width: 170px;
}

#login-content ul
{
    list-style-type: none;
}

#login-content .btn
{
    margin: 3px 0;
}

#account-info
{
    height: 100%;
    list-style-type: none;
    float: right;
}

#account-info li
{
    height: 50px;
}

#account-info a
{
    color: white;
    display: block;
    height: 100%;
    vertical-align: middle;
    line-height: 50px;
    font-size: 20px;
    padding: 0 15px;
}

#account-info a:hover
{
    text-decoration: none;
}

#account-info li a:hover
{
    background-color: black;
}

#account-info .nav
{
    visibility: hidden;
    background-color: #181818;
    font-size: 16px;
}

#account-info .nav li
{
    height: 30px;
    list-style-type: none;
}

#account-info li:hover .nav
{
    visibility: visible;
}

#account-info .nav li a
{
    display: block;
    height: 100%;
    background-color: #181818;
    font-size: 16px;
    line-height: 30px;
    vertical-align: middle;
}

#account-info .nav li a:hover
{
    text-decoration: underline;
}

#account-info .nav li a:hover
{
    background-color: black;
}

/********Navigation Ende********/

#system-message
{
    background: #1f7db8;
    background-image: -webkit-linear-gradient(top, #1f7db8, #176491);
    background-image: -moz-linear-gradient(top, #1f7db8, #176491);
    background-image: -ms-linear-gradient(top, #1f7db8, #176491);
    background-image: -o-linear-gradient(top, #1f7db8, #176491);
    background-image: linear-gradient(to bottom, #1f7db8, #176491);
    border-radius: 5px;
    padding: 5px 10px;
    display: inline-block;
    max-width: 40%;
    text-align: left;
    margin-bottom: 10px;
}

.nav-tabs
{
    list-style-type: none;
}

.page-header
{
    padding-bottom: 20px;
    font-size: 20px;
}

#wrapper
{
    position: relative;
    min-height: 100%;
    //background-color: #181818;
    background-image: url(../images/background.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: 0 50%;
}

#content
{
    //min-height: 100%;
    margin: 0 auto;
    padding: 20px 25px;
    max-width: 900px;
    margin-bottom: 20px;
    margin-top: 20px;
    background-color: #181818;
    opacity: 0.80;
    border-radius: 5px;
}

.article-info
{
    margin-bottom: 20px;
}

/********Footer********/

#footeroffset
{
    width: 100%;
    height: 100px;
}

footer
{
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #181818;
    opacity: 0.80;
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
}

footer ul
{
   display: inline-block;
}

footer ul li
{
    float: left;
    list-style-type: none;
    padding: 0 5px;
}

/********Links********/

a{
    color: #d5d5d5;
    text-decoration: none;
}

a:hover
{
    text-decoration: underline;
}


/********News********/
.blognews .article-info .article-info-term
{
    display: none;
}

.blognews .article-info
{
    font-size: 14px;
}

.blognews .clearfix
{
    margin-bottom: 20px;
}

.blognews .clearfix .page-header
{
    padding-bottom: 5px;
}


/********Contact********/
.contact h3
{
    display: none;
}

.contact fieldset legend
{
    font-size: 17px;
}


/********Forms********/
.btn
{
  background: #1f7db8;
  background-image: -webkit-linear-gradient(top, #1f7db8, #176491);
  background-image: -moz-linear-gradient(top, #1f7db8, #176491);
  background-image: -ms-linear-gradient(top, #1f7db8, #176491);
  background-image: -o-linear-gradient(top, #1f7db8, #176491);
  background-image: linear-gradient(to bottom, #1f7db8, #176491);
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0px;
  font-family: Arial;
  color: #ffffff;
  font-size: 14px;
  margin: 10px 0 5px 0 !important;
  padding: 2px 2px;
  border: solid #1b577a 1px;
  text-decoration: none;
}

.btn:hover
{
  background: #2b99d9;
  background-image: -webkit-linear-gradient(top, #2b99d9, #1f7bb5);
  background-image: -moz-linear-gradient(top, #2b99d9, #1f7bb5);
  background-image: -ms-linear-gradient(top, #2b99d9, #1f7bb5);
  background-image: -o-linear-gradient(top, #2b99d9, #1f7bb5);
  background-image: linear-gradient(to bottom, #2b99d9, #1f7bb5);
  text-decoration: none;
}

/*Login-Input*/

.input-small, .validate-username, .validate-password, input
{
   /*width: 200px;
   height: 20px;*/
   border: solid 1px #7C8387;
   padding: 2px;
   border-radius: 0px;
   font-size: 12px;
   background-color: #FFFFFF;
   outline: none;
   color: #474747;
}
  
.input-small:hover, .validate-username:hover, .validate-password:hover, input:hover
{
   border: 1px solid #7C8387;
   box-shadow: inset 1px 1px 1px 0px #888E91;
}
  
.input-small:focus, .validate-username:focus, .validate-password:focus, input:focus
{
   border: solid 1px #7C8387;
   box-shadow: inset 1px 1px 1px 0px #9C9C9C;
}
 
.input-small:active, .validate-username:active, .validate-password:active, input:active
{
   border: solid 1px #7C8387;
}

fieldset
{
    font-size: 15px;
}

fieldset p
{
    margin-bottom: 20px;
}

.form-validate fieldset
{
    border: none;
}

fieldset legend
{
    margin-bottom: 10px;
    font-size: 24px;
}

fieldset .control-group
{
    margin-bottom: 10px;
}


/********Tooltip********/
.tooltip {
	position: absolute;
	z-index: 1030;
	display: block;
	visibility: visible;
	font-size: 11px;
	line-height: 1.4;
	opacity: 0;
	filter: alpha(opacity=0);
}
.tooltip.in {
	opacity: 0.8;
	filter: alpha(opacity=80);
}
.tooltip.top {
	margin-top: -3px;
	padding: 5px 0;
}
.tooltip.right {
	margin-left: 3px;
	padding: 0 5px;
}
.tooltip.bottom {
	margin-top: 3px;
	padding: 5px 0;
}
.tooltip.left {
	margin-left: -3px;
	padding: 0 5px;
}
.tooltip-inner {
	max-width: 200px;
	padding: 8px;
	color: #fff;
	text-align: center;
	text-decoration: none;
	background-color: #000;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
.tooltip-arrow {
	position: absolute;
	width: 0;
	height: 0;
	border-color: transparent;
	border-style: solid;
}
.tooltip.top .tooltip-arrow {
	bottom: 0;
	left: 50%;
	margin-left: -5px;
	border-width: 5px 5px 0;
	border-top-color: #000;
}
.tooltip.right .tooltip-arrow {
	top: 50%;
	left: 0;
	margin-top: -5px;
	border-width: 5px 5px 5px 0;
	border-right-color: #000;
}
.tooltip.left .tooltip-arrow {
	top: 50%;
	right: 0;
	margin-top: -5px;
	border-width: 5px 0 5px 5px;
	border-left-color: #000;
}
.tooltip.bottom .tooltip-arrow {
	top: 0;
	left: 50%;
	margin-left: -5px;
	border-width: 0 5px 5px;
	border-bottom-color: #000;
}
