/* Global =================================================================== */

html, body{
width: 100%;
height: 100%;
}

body {
margin:0;
padding:0;
}

/* Wrapper ================================================================== */

#layout{
padding:0;
margin: 0 auto;
min-height:100%;
overflow:hidden;
position:relative;
box-sizing:border-box;
border-width:0 1px;
border-style:solid;
}

/* Header =================================================================== */

#layout header{
padding:0;
}
#layout header #logo a{
display: block;
}
#layout header .header_banner{
float: right;
}

/* Header Navigation ======================================================== */
header .menu,
header .menu li { margin:0; padding:0; list-style: none; background:none; }

header .menu {
float:left;
padding:2px 0 0;
position: relative;
margin-left:-7px;
z-index: 15;
}

header .menu .item{
background-image: url("../images/icons/bullet_arrow_down.png");
background-repeat: no-repeat;
background-position: 5px center;
background-image:none!important
}

header .menu > li {
float: left;
padding:0;
margin:0;
position:relative;
border:1px solid transparent;
background:url(../images/header_li_sep.png) no-repeat -1px center;
z-index:598
}
header .menu > li:first-child {
background-image:none;
}
header .menu > li.logout {
background:url("../images/header_li_sep.png") no-repeat scroll -1px center!important;
margin:0 0 0 7px
}

header .menu > li a {
display: block;
padding:5px 5px 5px 7px;
text-decoration: none;
font-size: 11px;
}
header .menu > li:hover {
border-width:1px;
border-style:solid
}
header .menu ul li a,
header .menu li.active ul li a {
text-shadow: none;
text-decoration: none;
}

header .menu li:hover {
position: relative;
z-index: 599;
cursor: default;
}

header .menu ul {
visibility: hidden;
overflow:hidden;
position: absolute;
top: 97%;
left: -21px;
z-index: 1;
width:200px;
margin-top:0;
padding:2px 0 0;
border-width: 0 0 1px;
border-style:solid;
}

header .menu ul li {
float: none;
border-width: 1px 1px 0;
border-style: solid;
}


header .menu ul li a {
display: block;
}

header .menu ul ul {
top: 0px;
left: 90%;
}

header .menu li:hover > ul {
visibility: visible;
}

.small_icon{
padding:10px 0 6px 5px;
overflow:hidden;
float:right
}
header .home,header .mail,header .search_sm,header .map,#head_hide_button{
display:block;
float:right;
width:19px;
height:11px;
margin:0 0 0 5px;
text-indent:-9999px
}
header .home{
background:url(../images/icons/news/icon_home.gif) no-repeat left center;
}
header .mail{
background:url(../images/icons/news/icon_mail.gif) no-repeat left center;
}
header .search_sm{
background:url(../images/icons/news/icon_search.gif) no-repeat left center;
}
header .map{
background:url(../images/icons/news/icon_sitemap.gif) no-repeat left center;
}

/* LOGO & Main Navigation =========================================================== */

#topmenu {margin: 0px;padding: 1px;font: bold 14px/1 DINPro, Arial, sans-serif;font-size: 16px;}
#topmenu .menu,
#topmenu .menu li,
#topmenu .menu ul {list-style: none;margin: 6px;padding: 0;}
list-style: none;
margin: 0;
padding: 0;
}


#topmenu .menu {
position: relative;
z-index: 5;
min-height: 33px;
line-height: 33px;
}

#topmenu .menu > li {
float: left;
}

#topmenu .menu > li:first-child {
background:none;
}

#topmenu .menu > li > a {
display: block;
padding: 0 15px;
text-decoration: none;
}

#topmenu .menu ul li a,
#topmenu .menu li.active ul li a {
text-shadow: none;
text-decoration: none;
padding: 0 10px;
}
#topmenu .menu li {
position:relative
}
#topmenu .menu li:hover {
z-index: 599;
cursor: default;
}

#topmenu .menu ul {
display: none;
position: absolute;
top: 97%;
left: -1px;
z-index: 598;
width: 100%;
}
#topmenu .menu ul li {
float: none;
}

#topmenu .menu ul ul {
top: -2px;
left: 100%;
margin-right:-1px;
border-width:1px;
}
#topmenu .menu ul li:last-child,#topmenu .menu ul li:last-child a {
border-bottom: none;
}
#topmenu .menu ul li a {
display: block;
height:30px;
line-height:30px;
overflow: hidden;
}

#topmenu .menu li:hover > ul {
display: block;
}

#topmenu .menu ul { width: 200px; margin-top: 1px;}

#topmenu .menu > .folder > a {
padding-right: 8px;
}

#topmenu .menu > .folder > a > .wrap {
padding-right: 20px;
background: url("../images/nav-arrow-down-white.png") no-repeat right top !important;
}

#topmenu .menu ul *.folder > a {
padding-right: 15px;
background-image: url("../images/nav-arrow-right.png") !important;
background-position: 100% 50%;
background-repeat: no-repeat;
}

#topmenu select { display: none;}

/* Body ===================================================================== */

#body{
overflow:hidden;
clear:both;
padding:20px 0 60px;
}

/* Breadcrumbs ============================================================== */

#breadcrumbs { margin:0 0 20px; padding:0 12px; border-width:1px;border-style:solid; position: relative; }

#breadcrumbs ul, #breadcrumbs li { margin:0; padding:0; list-style: none; }

#breadcrumbs ul{
overflow: hidden;
}

#breadcrumbs ul li {
height:32px; line-height:32px; float:left;
font-size:12px;
}

#breadcrumbs ul li a:hover {
text-decoration: none;
}

#breadcrumbs ul li.sep {
margin:0 10px;
width: 4px;
background: url("../images/nav-arrow-right-light.png") no-repeat left center;
}

#breadcrumbs ul li.home {
width: 16px;
}

#breadcrumbs ul li.home a {
display:block;
width:16px;
height:32px;
background: url("../images/nav-home.png") no-repeat left center;
}

/* Section ================================================================== */

#body section article {
padding: 10px 15px 15px;
border-width:1px;
border-style:solid;
margin-bottom: 20px;
}

#body section h1{
margin-bottom: 15px;
font-size:20px;
border-style: dotted;
border-width: 0 0 0;
font-weight: 700;
padding: 5px 10px;
text-transform: uppercase;
}

#body section h1 .parent_title{
float:left;
padding-right:5px
}
#body section h1 .parent_title a{
text-decoration:none;
}
#body section h1 .parent_title a:hover{
text-decoration:underline
}

/* Sidebar ================================================================== */

/* Sidebar Navigation ======================================================= */

#body aside .menu, #body aside .menu li { margin:0; padding:0; list-style: none; }
#body aside .menu{
margin:0;
width:100%
box-sizing:border-box
}
#body aside .menu ul{
border: solid 1px #EDEDED;
border-bottom: none;
}

#body aside .menu ,
#body aside .menu li ul {
padding:0;
background:#FFF;
}

#body aside .menu li ul {
visibility: hidden;
position:absolute;
top:-1px;
left: auto;
right: 91%;
width:220px;
box-shadow: 0 1px 2px #666;
z-index: 999;
}

#body aside .menu li {
border-width:0 0 1px;
border-style:dotted;
}

#body aside .menu li:hover,
#body aside .menu li.active {
position: relative;
z-index: 2;
cursor: default;
background: #ecf0f1;
}

/*#body aside .menu li:hover > a,
#body aside .menu li.active > a { color:#FFF; }*/

#body aside .menu li:first-child {
}

#body aside .menu li:last-child {
border-bottom: none;
}

#body aside .menu li:hover > ul {
visibility: visible;
}

#body aside .menu li.active:hover {
}

aside .menu .item{
background: url("../images/icons/item.png") no-repeat 10px center;
}

#body aside .menu li.active .item {
color:#000;
}

#body aside .menu li.hover a {
}

#body aside .menu a,
#body aside .menu span.item {
overflow: hidden;
display:block;
text-decoration: none;
padding:4px 10px;
padding-left:36px;
}

#body aside .menu a:hover {
color:#000;
}

#body aside .menu .counter{
float:right;
padding: 0px 7px;
background: #376499;
border-radius: 50px;
font-size: 11px;
color: white;
}

#body aside .menu li:hover .counter{
background:#BDC3C7;
}

/* Footer =================================================================== */

#layout footer{
min-height: 60px;
overflow:hidden;
padding: 0;
margin:-60px 0 0;
clear:both;
font-size:12px;
box-sizing: border-box;
}

#layout footer ul, #layout footer li {
margin: 0; padding: 0; list-style: none;
}

#layout footer ul {
overflow: hidden;
padding:0 15px;
}

#layout footer ul li {
height: 60px;
line-height: 90px;
float:left;
margin-right: 15px;
}

#layout footer ul li:last-child { margin:0; }

#layout footer span.item { padding:0 15px; border-left: solid 1px #bbb; }

/* Footer SQL Debug ======================================================== */

#sql_debug{
display:none;
}

#sql_queries .query{
padding:10px;
margin:10px;
background:#FFF;
border:solid 1px #DDD;
}

#sql_queries .query .src{
font-size:12px;
color:#999;
margin-bottom:4px;
}

#sql_queries .query_time {
    color: #999;
    font-size: 12px;
    margin: 4px 0 0;
}
#sql_queries .red_query {
    color: #c0392b;
}
#sql_queries .green_query {
    color: #27ae60;
}
/* Footer Navigation ======================================================== */

#layout footer #nav {
float:right
}

/* Site offline notice ====================================================== */

#site_off_notice{
position: fixed;
left:15px; top:15px;
padding:5px 10px;
padding-left:28px;
background: url("../images/icons/error.png") no-repeat 8px center #FFF;
border:solid 1px red;
color:red;
}
@media screen and (max-width: 640px) {
    .content_item .ft_images .first_type_images:first-child {
        float: none;
        clear: both;
        margin-bottom: 10px;
        display: block;
        width: 100%;
        max-width: 100%;
    }
    .filter-panel .fields .field:nth-child(odd), .filter-panel .fields .field:nth-child(even){
        float: none !important;
        width: 100%;
        margin-bottom: 10px;
    }
    .content_item .ft_images .first_type_images:first-child > img {
        width: 100%;
    }
}
