/*
	Template: 2011 11 02
	Author: Paulius Kripaitis
*/

/* HTML5 element display */
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {display: block;}
audio[controls], canvas, video {display: inline-block; *display: inline; *zoom: 1;}

/*---Default elements---*/
a {margin: 0; padding: 0; font-size: 100%; vertical-align: baseline;}
a:hover, a:focus {outline: none;}
a img {border: none;}
img {vertical-align: middle;  -ms-interpolation-mode: bicubic;}
b, strong {font-weight: bold;}
p {line-height: 1.2em; margin: 12px 0;}
hr {display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0;}
h1, h2, h3, h4, h5, h6 {margin: 12px 0;}
h2 {font-weight: normal; font-size: 18px;}

/*Tables*/
table {border-collapse: collapse; border-spacing: 0;}
table.full-table {width: 100%;}
td, td img {vertical-align: top;}

/*Forms*/
form {margin: 0;}
textarea {overflow: auto; vertical-align: top;}
fieldset {border: 0; margin: 0; padding: 0;}
legend {border: 0; *margin-left: -7px; padding: 0;}
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
button, input { line-height: normal; *overflow: visible; }
.form-row input[type="text"], .form-row label {display: inline-block; float: left;} 
label.for-input {width: auto !important; cursor: pointer}
input.radio, input.checkbox {vertical-align: text-bottom; margin: 0;}
input[type="text"], input[type="password"], textarea, select {border: 1px solid #ccc;}
button::-moz-focus-inner, input::-moz-focus-inner {border: 0; padding: 0;}
button {width: auto; overflow: visible;}
button, input, select, textarea {font-family: Arial, Helvetica, sans-serif; font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*Placeholders*/
.placeholder {color: #666;}

/*Custom buttons*/
.button {display: inline-block;}

  
/*---Helpers---*/
.menu {list-style: none; padding: 0; margin: 0;}
.fl {float: left;}
.fr {float: right;}
.tac {text-align: center;}
.date {color: #545454; font-size: 10px;}  
.date-main {margin: 0;} 
/*-----------Site structure----------*/
html {color: #000; font-size: 100%; overflow-y: scroll; -webkit-overflow-scrolling: touch; -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; background: #eee url(../images/bg-rep.png) repeat-y center top;}
body {margin: 0; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; background: url(../images/header.png) no-repeat center top;}

/*--Custom site stile--*/
#site {margin: 0 auto; width: 940px; position: relative;}

.lang-menu {position: absolute; right: 0px; top: 48px; width: 54px; list-style: none;} 
.lang-menu li {float: left; padding: 5px;}
.lang-menu  a {color: #000;}
.lang-menu  .active a {text-decoration: none; cursor: default;}

.top-banner {padding-bottom: 18px;}
 
/*Header*/
.logo {display: inline-block;}
 
/*Center*/
#center {padding-top: 90px;}
 
.left-content {width: 150px; float: left; margin-right: 80px;}
.right-content {width: 700px; float: left;} 
.page-title {font-size: 33px; font-weight: normal; margin: 0;}

.main-menu {padding-top: 65px; padding-bottom: 16px;}
.main-menu a {display: block; padding: 3px; padding-left: 18px; color: #000; text-decoration: none;}
.main-menu a:hover {text-decoration: underline;}
.main-menu > ul {padding: 6px 0; border-bottom: 2px solid #666;}
.main-menu .active > a {background: #b0c1e0;}
.main-menu ul ul {list-style: none; padding: 0; display: none;}
.main-menu .active ul {display: block;} 
.main-menu ul ul a {padding-left: 28px; background: url(../images/minus.gif) no-repeat 19px 9px;}

.banner-left {margin: 15px 0;}

.search-form input {border: 1px solid #000; padding: 4px 6px; font-family: Verdana; font-size: 11px; width: 136px;}

.index .line {padding-top: 22px; border-top: 1px solid #000;}

.info-tabs {width: 240px; float: left; background: #eee;} 
 
.news-list {width: 390px; float: right;} 
.news-list p {line-height: 22px;}
.news-list .item {background: #eee; margin-bottom: 30px;}
.news-list  .date {display: block; padding-top: 8px;}
.first-item .date {padding-top: 3px;}
.first-item  p {margin: 0;}
.news-list .details {padding: 8px 10px; width: 290px; float: right;}
.first-item .details {width: auto; float: none;}
.news-list .name {color: #2f5392; font-size: 14px; text-decoration: none;}
.news-list .name:hover {text-decoration: underline;}
.first-item .name {font-size: 18px;}
 
.news-list-full .date {padding-top: 2px;} 
 
.news-list-full {width: auto; float: none; width: 600px; padding-top: 35px;} 
.news-list-full .item {background: none; border-bottom: 1px solid #000; padding-bottom: 25px; margin-bottom: 25px;}
.news-list-full  .details {width: 445px; padding-top: 2px; padding-right: 0; padding-bottom: 0;}
.news-list-full  .details p {margin-bottom: 0;}
.news-list-full  .details p a {color: #2f5392; text-decoration: underline;}
.news-list-full  .details p a:hover {text-decoration: none;}
.news-list-full .name  {font-weight: bold; text-decoration: none; padding-top: 8px; display: inline-block;} 
 
/*Search results*/ 
.search-phrase {font-size: 16px; margin-top: 15px;} 
.search-results  {padding-top: 15px;}
.search-results  .details {width: auto; float: none;}
.search-results .item {margin-bottom: 10px; padding-bottom: 10px;}
 
.simple-content p {line-height: 22px;} 
.simple-content img.fl {margin-right: 30px; margin-bottom: 15px;}
.simple-content img.fr {margin-left: 30px; margin-bottom: 15px;}
 
/*Tabs*/ 
.ui-tabs {padding: 0; border: none;}  
.ui-tabs  * {font-family: Verdana;}
.ui-tabs .ui-tabs-nav {padding: 0; border: none; background: none;} 
.ui-tabs-nav li {width: 120px; border: none;}
.ui-tabs .ui-tabs-nav li {margin-right: 0px;}
.ui-tabs-nav li.ui-state-default {background: #d1d1d1; border: none;}
.ui-tabs-nav li.ui-state-active {background: #eeeeee;}
.ui-tabs-nav li a {display: block; float: none; text-align: left; background: none; border: none; color: #000 !important; font-size: 14px;} 
.ui-tabs .ui-tabs-panel {background: #eeeeee; padding: 8px 10px;} 
 
#tabs .date, #tabs .name, #tabs .more  {margin: 3px 0;}
#tabs .name {font-size: 13px; color: #000;}
#tabs .date {color: #545454; font-size: 9px;}
#tabs .more {color: #545454; font-size: 9px;}
#tabs .item {border-bottom: 1px solid #000; padding: 2px 1px;} 
#tabs .link {margin-bottom: 3px; margin-top: 8px;}
#tabs .link a {color: #2f5392; text-decoration: none; font-size: 11px;} 
#tabs .link a:hover {text-decoration: underline;}
 
/*Paginator*/ 
.paginator a {display: inline-block; text-align: center; width: 24px; height: 25px; line-height: 24px; color: #2F5392;} 
.paginator a:hover {text-decoration: none;}
.paginator .active {color: #000; background: #B0C1E0; text-decoration: none; cursor: default;} 
 
/*Page bottom*/
#footer p {margin: 0; padding: 60px 0; padding-bottom:40px; font-size: 10px;}

/*---Clearfix---*/
.clearfix:before, .clearfix:after , .form-row:before, .form-row:after {content: ""; display: table;}
.clearfix:after, .form-row:after {clear: both;}
.clearfix, .form-row {zoom: 1;}
