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

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

body {
    
    margin:0;
    padding:0;
	font: 20px/1.2 'ProbaProRegular', Verdana, Helvetica, sans-serif;
	background-color: #f5f5f5;
    color: #333;
        line-height: 1.8;
	  font-size: 1.125em; /* font-size: 18px; */
}

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


#layout {
    width: 980px;
    margin: 0 auto;
}
/* Header =================================================================== */
.contacts{
padding-top:25px;
font-size:19px}
#layout header{
    height: 50px;
    line-height: 50px;
    padding: 0 14px;
    background:url("../images/bg_top.png") no-repeat center;
}

#page .header #logo a{
    display: block;
    float: left;
}

@media (min-width: 992px) { 
#page .header #logo a{
	margin-top: 3px;
}
}

@media (max-width: 992px) { 
#page .header #logo a {
    margin: 14px 0;
}
}


/* Header Navigation ======================================================== */
@media screen and (min-width: 992px) {
header .menu,
header .menu li { margin:0; padding:0; list-style: none; background:none; }

header .menu {
    float:right;
    position: relative;
    z-index: 15;
    height: 30px;
    line-height: 30px;
    padding-top:10px;
}

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

header .menu > li {
    float: left;
    padding-left:5px;
}

header .menu > li > a {
    display: block;
    padding: 0 5px;
    color:#f1f0ec;
    text-decoration: none;
    font-size: 12px;
}

header .menu > li > a:hover {
    color:#FFF;
}

header .menu > li.active > a { color:#F5CF53; }
header .menu > li.active > a:hover { color:#F5CF53; }
header .menu > li.active > ul a:hover { color:#EEE; }

header .menu ul li a,
header .menu li.active ul li a {
    text-shadow: none;
    text-decoration: none;
    padding-right: 10px;
}

header .menu li ul li.active a{ color:#F5CF53; }
header .menu li ul li.active a:hover { color:#F5CF53; }

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

header .menu ul {
    visibility: hidden;
    position: absolute;
    top: 99%;
    left: -15px;
    z-index: 598;
    width: 100%;
    box-shadow: 0 1px 1px #000;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

header .menu ul li {
    float: none;
    border-bottom: solid 1px #4a400b;
    background-color: #4a400b;
    color: #FFF;
}

header .menu ul li:last-child {
    border-bottom: none;
}

header .menu ul li a {
    display: block;
    height:30px;
    line-height:30px;
    color:#f0db72;
}

header .menu ul li:hover > a { background-color: #4a400b; color: #FFF; }

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

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

header .menu ul { width:250px; }

header .menu ul li:last-child,
header .menu ul li:last-child a {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

header .menu ul li:first-child,
header .menu ul li:first-child a {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

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

/* Main Navigation =========================================================== */

nav {
    height:50px;
    padding: 0;
    margin-bottom: 10px;
    font-size:12px;
	margin-top: 25px;
}

nav .menu,
nav .menu li,
nav .menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
	font-family: 'ProbaProRegular'
}

nav .menu {
    position: relative; z-index: 999; float: left;
    height: 50px;
   
    line-height: 50px;
}

nav .menu .item{
    background-image:none !important;
}

nav .menu > li {
    float: left;
}



nav .menu > li > a {
    padding: 0 1px;
    margin: 0px 14px;
    color: #000;
    text-decoration: none;
    text-transform: none;
    font-weight: 300;
    font-size: 17px;
}
    
@media (max-width: 1200px) { 
nav .menu > li > a {
margin: 0px 10px;
    }
}

nav .menu > li > a:hover {
    
}
nav > ul > li:hover > a {
    border-bottom: 2px solid #d0af12;
}

nav .menu > li.active > a { color: #d0af12; }
nav .menu > li.active > a:hover {  }
nav .menu > li.active > ul a:hover { color:#000; }

nav .menu ul li a,
nav .menu li.active ul li a {
    color: #000;
    text-shadow: none;
    text-decoration: none;
    padding: 0 10px;
}

nav .menu li ul li.active > a{ color:#8d7f11; }
nav .menu li ul li.active > a:hover { color:#8d7f11; }

nav .menu ul li:hover > a { color: #d0af12; }

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

nav .menu ul {
    visibility: hidden;
    position: absolute;
   margin: 0;
    padding: 0px 10px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background: #f6f6f6;
    border-top: 3px solid #d0af12;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
   
    transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
}

nav .menu ul li {
    float: none;
    border-bottom: solid 1px #d4d951;
    
    color: #000;
}

nav .menu ul li:last-child {
    border-bottom: none;
}

nav .menu ul li a {
    display: block;
    height:30px;
    line-height:30px;
    overflow: hidden;
	margin: 5px 0px;
    font-size: 14px;
}

nav .menu ul ul {
    top: 0px;
    left: 99%;
}

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

nav .menu li:hover > ul:after {}

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

nav .menu ul li:last-child,
nav .menu ul li:last-child a {
}

nav .menu ul li:first-child,
nav .menu ul li:first-child a {
}

nav .menu > .folder > a {
    padding-right: 0px;
	font-size: 17px;
}

nav .menu > .folder > a > .wrap {
    padding-right: 15px;
    padding-bottom: 3px;
    background: url("../images/nav-arrow-down-white.png") no-repeat right center !important;
}

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


nav ul.sub-menu {
    position: absolute;
    left: 0px;
    z-index: 9999;
    display: none;
    margin-bottom: 0px;
    box-shadow: rgba(0, 0, 0, 0.14902) 0px 1px 4px;
    border-radius: 2px;
}

nav select { display: none; }
}

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

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

#breadcrumbs {  padding: 10px 10px 0px 10px; 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:14px;
    color:#2c2c04;
}

#controller_wrap .fixed_actions_menu ul li {
    padding: 3px 10px;
	float: unset!important;
}

#breadcrumbs ul li a {
    color:#2c2c04;
}

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

#breadcrumbs ul li.sep {
    margin:0 10px;
    width: 4px;
}

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

#breadcrumbs ul li.home a {
    display:block;
}

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

#body section{
    float:left;
    width:730px;
}

#body section article {
    padding: 20px;
    background:#FFF;
    margin-bottom: 10px;
}

#body section h1{
    margin-bottom: 20px;
    color:#2c2c04;
}

#body section h1 .parent_title{
    font-size:16px;
}

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

#body aside{
    float:right;
    width:240px;
    margin-bottom: 10px;
}

/* Sidebar Navigation ======================================================= */
#body aside .menu, #body aside .menu li, #body section .menu, #body section .menu li {
    margin: 0;
    padding: 0;
    list-style: none;
    background: #FFF;
    display: block;
}


#body aside .menu, #body aside .menu li { margin:0; padding:0; list-style: none; }

#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{
    margin:-15px;
}

#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-bottom: solid 1px #f1f0ec;
}

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

/*#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;
    color:#666;
    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: #4a400b;
    border-radius: 50px;
    font-size: 11px;
    color: white;
}

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

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

#layout footer{
    background: #2c2c04;
    height: 60px;
    color: #7f8c8d;
    padding: 0 15px;
    clear:both;
    font-size:12px;
}

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

#layout footer ul {
    overflow: hidden;
}

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

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


#layout footer a { color:#a6a695; }
#layout footer a:hover { color:#f1f0ec; }

#layout footer span.item { padding:0 10px; border-left: solid 1px #7f8c8d; }

/* 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: #daa520;
}
#sql_queries .green_query {
    color: #ae9527;
}

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

#layout footer #nav {
    float:right;
    margin-right: 0;
}

/* 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 Queries ============================================================ */

@media screen and (max-width: 991px) {
    #body section { width:100% !important; }
    #body aside {
        float: none !important;
        overflow: hidden;
        width: 100%;
        clear: both;
    }
}

@media screen and (max-width: 800px) {
    #body section { width:100% !important; }
   
   
    #layout footer #info { display: none !important; }
}

@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%;
    }
    #layout header #logo { margin: 0 auto; overflow:hidden; width:200px; }
    #layout header .menu { display:none; }
    
    .widget > .title {}
    .widget > .title .links { display:none; }
    .content_item .ft_image { float:none !important; }
}

@media screen and (max-width: 480px) {
    #layout footer #nav { display: none !important; }
    #breadcrumbs ul li:last-child {
        display: none;
    }
    h1 {
        font-size: 22px;
    }
    .content_list.featured .first .photo, .content_list.featured .first .fields, .content_list.tiled.albums_list .tile  {
        width: 100% !important;
    }
    .content_list_item.second .photo, .content_list_item.second .first {
        float: none !important;
        margin-right: 0 !important;
    }
    .content_list.featured .first .ft_caption a {
        font-size: 21px !important;
    }
    .content_list_item .ft_caption .value {
        font-size: 18px !important;
    }
}
@media screen and (max-width: 320px) {
.tabs-menu select { display:block !important; }
}

#body .controller_actions_menu > input:checked + label + ul.menu {
    display: block;
}
