body { background: #d1e4f3 url("/site/legacy-assets/templates/project/images/body_bg.jpg") 0 50%; }

/* ========== Layout styles ========== */
#wrapper {
    width: 960px;
    margin: 0 auto;
}
#header { position: relative; }
#main   { padding: 5px; }
#footer {}

.header-container { 
    width: 800px;
    margin: 0 auto;
}
.main-container   { 
    width: 798px;
    margin: 0 auto;
    background-color: #e8eff8;
    border: 1px solid #82a9dd;
}
.footer-container {
    width: 760px;
    margin: 0 auto;
    padding: 10px 20px;
    background-color: #82a9dd;
    line-height: 30px;
}

/* ========== Global styles ========== */
h1, h2, h3, h4, h5, h6 { font-weight: normal; }
h1 { font-size: 22px; }
h2 { font-size: 20px; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }

a { 
    color: #264773;
    text-decoration: none; 
}
a:hover { 
    color: #ef0436; 
    text-decoration: underline;
}
.overflow {
    width: auto;
    overflow: hidden;
}
.clear {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}


/* ========== Custom styles ========== */
.header-container h1 {
    height: 58px; 
    padding-top: 28px;
}

.lang-switch {
    position: absolute;
    top: 5px;
    right: 55px;
}
.lang-switch li {
    float: left;
    height: 24px;
    margin-right: 5px;
}

.logo-block {
    z-index: 1000;
    position: absolute;
    top: 30px;
    right: 20px;
}

.slider-wrapper {
    width: 790px;
    height: 415px;
    margin-bottom: 5px;
}

/* Main Menu */
.top-link  { 
    background-color: #c0d4ee;
    border: 1px solid #82a9dd; 
}
.main-menu {
    width: 100%;
    margin-bottom: 0;
    padding-top: 0;
}
.main-menu li   { 
    position: relative;
	float: left;
	height: 30px;
	border-right: 1px solid #82a9dd;
}
.main-menu li.last { border-right: 0; }
.main-menu li a    {
    display: block;
    background: none;
    border-top: 0;
    text-align: left;
    font-weight: bold;
    font-size: 10px;
    line-height: 30px;
}
.main-menu.menu-lang-az li a { padding: 0 16px; }
.main-menu.menu-lang-az a.sf-with-ul {
    padding-right: 26px;
}
.main-menu li.last a { border-bottom: 0; }
.main-menu li:hover ul,
.main-menu li.sfHover ul {
	z-index: 99;
	left: 0;
	top: 30px; /* match top ul list item height */
}
ul.main-menu ul li { 
    width: 182px;
    height: 25px; 
    border-right: 0;
}
ul.main-menu ul li a {
    background-color: #fff;
    border-right: 0;
    line-height: 16px;
}
.main-menu.menu-lang-az li li a { padding: 5px 10px; }
ul.main-menu ul li a:hover {
    background-color: #cedef0;
}


.counter-block { 
    margin-top: 20px; 
    text-align: center;
}

/* Main Content */
.news-box {
    float: left;
    width: 512px;
    padding: 20px;
}
.news-box li   { 
    overflow: hidden;
    width: auto;
    margin-bottom: 25px; 
}
.news-box h4   { margin-bottom: 5px; }
.news-box h4 a { font-weight: bold; }
.news-box li p {
    overflow: hidden;
    height: 1%;
}
.news-box img { 
    float: left;
    width: 100px;
    margin-right: 10px; 
}
.news-box .mod-articles-category-date {
    display: block;
    margin-bottom: 5px;
    font-size: 10px;
}


.side-box {
    float: right;
    width: 246px;
}
.fb-box {
    float: right;
    width: 226px;
    height: 350px;
    padding: 10px;
    background-color: #fff;
}

.item-page .item-title { 
    margin-bottom: 20px;
    color: #ef0436; 
}
.item-page p {
    margin-bottom: 20px;
    text-align: justify;
}


/* Search Block */
#mod-finder-searchform { padding: 20px 0; }
#mod-finder-searchform input  { width: 170px }
#mod-finder-searchform button { text-transform: uppercase; }
