/* 
    Document   : style
    Created on : 06.06.2013, 10:42:53
    Author     : user
    Description:
        Purpose of the stylesheet follows.
*/

@IMPORT url("/xwidgets/components/townMenu.css");

root { 
    display: block;
}

#header {
    width: 990px;
    margin: 0 auto;
    font-family: Arial;
    color: #333;
    font-size: 14px;
}
#header * {
    box-sizing: content-box;
}
#header .popup li a:visited {background: #EEE;
	background: -moz-linear-gradient(top, #F1F1F10%, #DDD 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F1F1F1), color-stop(100%,#DDD));
	background: -webkit-linear-gradient(top, #F1F1F10%,#DDD 100%);
	background: -o-linear-gradient(top, #F1F1F1 0%,#DDD 100%);
	background: -ms-linear-gradient(top, #F1F1F1 0%,#DDD 100%);
	background: linear-gradient(to bottom, #F1F1F10%,#DDD 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#F1F1F1', endColorstr='#DDDDDD',GradientType=0 );
}

#header a:hover {
    text-decoration: none;
}

#header .tophead {
    margin: 20px 0;
}

#header .bottomhead .other a {
        text-decoration: none; 
}

#header .bottomhead .other span{
    border-bottom: 1px dotted #fff; 
}

#header .bottomhead span.arrow {
    background: url(/xwidgets/static/header/arrowdown.png) no-repeat right; 
    width: 12px;
    height: 12px;
    display: block;
    position: absolute;
    border-bottom: none;
    margin-top: -15px;
    margin-left: 160px;
}


.arrowwhite:after {
	content: url(/xwidgets/static/header/arrowdown.png);
	width: 12px;
	height: 12px;
	display: block;
	border-bottom: none;
	float: right;
	margin-right: -15px;
}

.arrowblack:after {
	content: url(/xwidgets/static/header/arrowdownblack.png);
	width: 12px;
	height: 12px;
	border-bottom: none;
	margin-right: -15px;
	margin-left: 5px;
}

#otherprojects .arrowwhite:after {
	display: inline !important;
	float: none !important;
	margin-left: 5px
}

a#otherprojects {border-right: none;}

#header .bottomhead .other span:hover {border-bottom: none}

#header {
    margin-top: 10px;
}
#header .logo {
    margin-left: 10px
}
#header .logo img {
    padding-right: 18px;
    border-right: 1px solid rgb(185, 185, 185);
    float: left;
    width: 110px;
    margin-right: 18px;
}

#header .logo a.gorod {
    color: #333;
    font-size: 14px;
    padding-top: 6px;
    text-decoration: none;
    border-bottom: 1px dotted;
}

#header .logo a.gorod:hover {
    border-bottom: none;
}

#header .download {
    position: absolute;
    margin: -20px 0 0 415px;
    width: 200px;
    line-height: 12px;
}

#header .download a{
    font-size: 13px;
    color: rgb(255, 143, 0);
    text-decoration: none;
    background: url(/xwidgets/static/header/arrowdownload.png) no-repeat;
    height: 31px;
    display: block;
}

#header .download .bold {
    font-weight: bold;
}
#header .download span {margin-left: 30px}
#header .download a:hover {text-decoration: underline}

#header .download img {
    float: left;
    margin-right: 5px;
}

#header .aut a {
	color: gray;
	font-size: 12px;
	display: inline;
}

#header .aut {
	float: right;
	margin-right: 10px;
	margin-top: -17px;
}

#header .bottomhead {
    height: 50px;
    background: #49c1e5; /* Old browsers */
    background: -moz-linear-gradient(top, #49c1e5 0%, #4f96e2 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#49c1e5), color-stop(100%,#4f96e2)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #49c1e5 0%,#4f96e2 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #49c1e5 0%,#4f96e2 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #49c1e5 0%,#4f96e2 100%); /* IE10+ */
    background: linear-gradient(to bottom, #49c1e5 0%,#4f96e2 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#49c1e5', endColorstr='#4f96e2',GradientType=0 ); /* IE6-9 */
    box-shadow: 0px 1px 1px #444;
}
#header .bottomhead ul {
    list-style-type: none;
    padding-left: 0;
    height: 50px;
    width: 990px;
}

#header .bottomhead li {
    float: left;
    margin-top: 15px;
    color: white;
    text-align: center;
    
}
#header .bottomhead a{
    color: white;
    text-shadow: 0px -1px 0px #888;
    display: block;
    height: 35px;
    margin-top: -15px;
    padding-top: 15px;
    text-decoration: none; 
    border-right:1px solid #4096cf;
}

#header .bottomhead a span.link {border-bottom: 1px solid;}
#header .bottomhead a span.link:hover {border-bottom: none;}

#header .bottomhead a.online:after {
    content: "online";
    font-size: 9px;
    color: rgb(13, 158, 226);
    background: white;
    padding: 0 4px 1px;
    margin-top: -10px;
    border-radius: 3px;
    float: right;
    position: absolute;
    text-shadow: none;
}

#header .select {
    background: #eeeeee;
    background: -moz-linear-gradient(top, #fff 0%, #ddd 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fff), color-stop(100%,#ddd));
    background: -webkit-linear-gradient(top, #fff 0%,#ddd 100%);
    background: -o-linear-gradient(top, #fff 0%,#ddd 100%);
    background: -ms-linear-gradient(top, #fff 0%,#ddd 100%);
    background: linear-gradient(to bottom, #fff 0%,#ddd 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#dddddd',GradientType=0 );
    padding: 15px 0 0 0 !important; 
    margin: 0 !important;
    height: 35px;
    box-sizing: content-box;
}

#header .select a {
    color: #333;
    text-shadow: none;
}

#header .select
{
    position:relative;
    -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
       -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
            box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}
#header .select:before, #header .select:after
{
    content:"";
    position:absolute;
    z-index:-1;
    -webkit-box-shadow:0 0 20px rgba(0,0,0,0.8);
    -moz-box-shadow:0 0 20px rgba(0,0,0,0.8);
    box-shadow:0 0 20px rgba(0,0,0,0.8);
    top:10px;
    bottom:10px;
    left:0;
    right:0;
    -moz-border-radius:100px / 10px;
    border-radius:100px / 10px;
}
#header .select:after
{
    right:10px;
    left:auto;
    -webkit-transform:skew(8deg) rotate(3deg);
       -moz-transform:skew(8deg) rotate(3deg);
        -ms-transform:skew(8deg) rotate(3deg);
         -o-transform:skew(8deg) rotate(3deg);
            transform:skew(8deg) rotate(3deg);
}

#header .logolink {
    box-sizing: content-box;
    background: url(/xwidgets/static/header/logo.jpg) no-repeat;
    width: 110px;
    height: 30px;
    display: block;
    float: left;
    padding-right: 18px;
    margin-right: 15px;
    border-right: 1px solid #ccc;
}

#header .popup {
    margin-left: -2px;
}

#header .popup ul {
    width: auto ;
    position: absolute;
    z-index: 9999;
}

#header .popup li {
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    height: 35px;
    width: 100% !important;
    padding-top: 15px;
    float: none;
    background: #eeeeee;
    background: -moz-linear-gradient(top, rgb(241, 241, 241) 0%, #ddd 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(241, 241, 241)), color-stop(100%,#ddd));
    background: -webkit-linear-gradient(top, rgb(241, 241, 241) 0%,#ddd 100%);
    background: -o-linear-gradient(top, rgb(241, 241, 241) 0%,#ddd 100%);
    background: -ms-linear-gradient(top, rgb(241, 241, 241) 0%,#ddd 100%);
    background: linear-gradient(to bottom, rgb(241, 241, 241) 0%,#ddd 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#F1F1F1', endColorstr='#DDDDDD',GradientType=0 );
    margin-top: 0;
}

#header .popup li:hover {
    background: #ffa84c; /* Old browsers */
    background: -moz-linear-gradient(top,  #ffa84c 0%, #ff7b0d 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffa84c), color-stop(100%,#ff7b0d)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #ffa84c 0%,#ff7b0d 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #ffa84c 0%,#ff7b0d 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #ffa84c 0%,#ff7b0d 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #ffa84c 0%,#ff7b0d 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffa84c', endColorstr='#ff7b0d',GradientType=0 ); /* IE6-9 */
}

#header .popup li:hover a {color: #fff}

#header .popup a {
    color: #333;
    border-bottom: none !important;
    text-decoration: underline !important;
    text-shadow: none;
    background: none !important;
    border-right: none;
}

#header .tophead span.arrow {
    background: url(/xwidgets/static/header/arrowdownblack.png) no-repeat right; 
    width: 12px;
    height: 12px;
    display: block;
    position: absolute;
    border-bottom: none;
    margin-top: -15px;
    margin-left: 228px;
}

.menutown {padding-top: 5px}



#header .aut table td {
    padding-left: 15px;
}

#header .locale {
	float: right;
	margin-right: 15px;
	margin-top: -16px;
}

#header .locale a {
	margin-left: 1px;
}

#header .locale a span {
	font-size: 12px;
}

#header .locale a.selectedLocale {
	color: #333;
	text-decoration: none;
}

#header .locale .currentLanguage {
	border-bottom: 1px dotted #333;
}

#header .locale .currentLanguage:hover {
	border-bottom: none;
}

#header .languagemenu {
	position: absolute;
	z-index: 9999;
	list-style-type: none;
	line-height: 22px;
	margin-left: -10px;
	margin-top: 5px;
	background: rgb(249, 252, 247);
	background: -moz-linear-gradient(top, rgba(249, 252, 247, 1) 0%,
		rgba(245, 249, 240, 1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(249,
		252, 247, 1)), color-stop(100%, rgba(245, 249, 240, 1)));
	background: -webkit-linear-gradient(top, rgba(249, 252, 247, 1) 0%,
		rgba(245, 249, 240, 1) 100%);
	background: -o-linear-gradient(top, rgba(249, 252, 247, 1) 0%,
		rgba(245, 249, 240, 1) 100%);
	background: -ms-linear-gradient(top, rgba(249, 252, 247, 1) 0%,
		rgba(245, 249, 240, 1) 100%);
	background: linear-gradient(to bottom, rgba(249, 252, 247, 1) 0%,
		rgba(245, 249, 240, 1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9fcf7',
		endColorstr='#f5f9f0', GradientType=0);
	border: 1px solid rgb(219, 219, 219);
}

#header .languagemenu a {
	color: rgb(33, 144, 218);
	margin-left: 10px;
	margin-right: 10px;
	padding-top: 2px;
	display: block;
	text-decoration: underline;
}

#header .languagemenu a:hover {
	text-decoration: none;
}
