/* Global =================================================================== */
html{ background-color:#000}
html, body{
    width: 100%;
    height: 100%;
}

body {
    margin:0;
    padding:0;
}

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

#layout{
    max-width: 1600px;
    margin: 0 auto;
	background:url(../images/bg_gl.jpg) top center fixed;
	min-height:500px;
}

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

#layout header{
	
}
#layout header #logo{ max-width:1000px; margin:auto; background:rgba(0,0,0,0.5)}
#layout header #logo a{
	display: block;
    width: 353px;
    /* height: 192px; */
    margin: auto;
    /*margin-top: -25px;*/
    background: url("../images/logo.png") no-repeat center 5px;
    font-size: 18.4px;
    color: #fff;
    text-align: center;
    padding-top: 190px;
    text-decoration: none;
	padding-bottom:10px;
}

/* Header Navigation ======================================================== */
header .personal{ background:#000000; max-width:1600px; margin:0 auto}
header .menu,
header .menu li { margin:0; padding:0; list-style: none; background:none; }

header .menu {
    position: relative;
    z-index: 15;
    height: 25px;
    line-height: 25px;
	max-width:990px;
	padding-right:15px;
	margin:0 auto;
}

header .menu .item{
    background-repeat: no-repeat;
    background-position: 5px center;
}

header .menu > li {
    float: right;
    padding-left:5px;
}
.menu_hidden{display:none}
header .menu > li > a {
    display: block;
    padding: 0 5px;
    color:#ecf0f1;
    text-decoration: none;
    font-size: 14px;
}

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

header .menu > li.active > a { color:#7b845a; }
header .menu > li.active > a:hover { color:#7b845a; }
header .menu > li.active > ul a:hover { color:#000; }

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

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

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:1px solid #3c3c3c
}

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

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

header .menu ul li a {
    display: block;
    height:30px;
    line-height:30px;
    color:#fff;
	font-size:14px;
}

header .menu ul li:hover > a { background-color: #7b845a; 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 {
}

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

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

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

nav {
    height:32px;
    background: #000;
    padding: 0;
    font-size:12px;
}

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

nav .menu {
    position: relative; z-index: 5;
    height: 32px;
    line-height: 32px;
	max-width: 1000px;
    margin: auto;
}

nav .menu .item{
    background-image:none !important;
}
nav .menu > li.menu_right{float: right;}
nav .menu > li {
    float: left;
}

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

nav .menu > li > a {
    display: block;
    padding: 0 17px !important;
    color:#FFF;
    text-decoration: none;
    text-transform: uppercase;
}

nav .menu > li > a:hover {
    color: #7b845a !important;
}

nav .menu > li.active > a { background: none !important; }
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: #fff;
    text-shadow: none;
    text-decoration: none;
    padding: 0 10px;
}

nav .menu li ul li.active > a{ color:#7b845a; }
nav .menu li ul li.active > a:hover { color:#7b845a; }

nav .menu ul li:hover > a { background-color: #7b845a; color:#fff; }

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

nav .menu ul {
    visibility: hidden;
    position: absolute;
    top: 98%;
    left: 0;
    z-index: 598;
    width: 100%;
    box-shadow: 0 1px 1px #000;
}

nav .menu ul li {
    float: none;
    border-bottom: solid 1px #3c3c3c;
    background-color: #000;
    color: #fff !important;
}

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

nav .menu ul li a {
    display: block;
    height:30px;
    line-height:30px;
    overflow: hidden;
}

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

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

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: 8px;
}

.menu > .folder > a > .wrap {
    padding-right: 20px;
    background: url("../images/nav-arrow-down-white1.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 select { display: none; }

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

#body{
	max-width:1000px;
	margin:auto;
	 background:rgba(0,0,0,0.5)
	/*display:table;*/
}

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

#breadcrumbs { margin:-20px 0; margin-bottom: 0px; background:#7b845a; padding:0 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:16px;
    color:#000;
}

#breadcrumbs ul li a {
    color:#000;
}

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

#breadcrumbs ul li.sep {
    margin:0 5px;
    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{
	float: left;
    width:730px;
}

#body section article {
    padding: 20px 0 0 0;
    margin-bottom: 0px;
}

#body section h1{
    padding: 11px 15px;
    margin: 0;
    background: rgba(214,214,214,0.55);
}

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

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

#body aside{
    float: right;
    width:40%;
    /*margin-bottom: 10px;*/
}

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

#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 #ecf0f1;
}

#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;
    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: #376499;
    border-radius: 50px;
    font-size: 11px;
    color: white;
}

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

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

#layout footer{
    background: #000;
    color: #7f8c8d;
    clear:both;
    font-size:18px;
}

#layout #footer{ max-width:970px;padding: 10px 15px;margin:0 auto}

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

#layout footer ul {
    overflow: hidden;
}

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

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


#layout footer a { color:#95a5a6; }
#layout footer a:hover { color:#ecf0f1; }

#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: #c0392b;
}
#sql_queries .green_query {
    color: #27ae60;
}

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

#layout footer #nav {
    float:right;
    margin-right: 0;
}
.footer_menu{ float:right}
.footer_menu li{ margin-right:6px !important}
.footer_menu li:after{ content:'/'; margin-left:3px;}
.footer_menu li:last-child{ margin-right:0px !important}
.footer_menu li:last-child:after{content: none;}
.footer_menu a{color: #7b845a !important; text-decoration:none}
.footer_menu .menu_hidden{ display:inherit}
#copyright{ margin-top:10px ;color: #7b845a;font-size:14px}
#copyright a{ float:left;color: #7b845a !important; font-size:14px}
#copyright a:hover{color: #7b845a !important; text-decoration:none}
.wd{ float:right !important;}
/* 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: 980px) {
    #body section { width:100% !important;max-width: 100% !important;}
    #body aside {
        /*float: none !important;
        overflow: hidden;
        width: 100%;
        clear: both;*/
		display:none;
    }
	.text_main{ padding:0 15px}
	#body section h1{ /*margin-left:15px*/}
}
@media screen and (max-width: 900px){
	nav { padding:5px; height:auto; }
	nav .menu { display:none; }
    nav select { display: block; }
	.main_menu_left{ display:none}
	#layout header #logo a { /*margin-top:15px;*/}
	#body section { width:60% !important; }
    #body aside {display: block;}
	#body{margin-left: 0px !important;}
}
@media screen and (max-width: 800px) {
    #body section {/* width:100% !important; */}


    #layout footer #info { display: none !important; }
}
@media screen and (max-width: 750px) {
    #body section {width:100% !important; max-width:750px !important;}
	#body aside{ display:none}}
@media screen and (max-width: 640px) {
    #layout header #logo { margin: 0 auto; overflow:hidden; /*width:310px; */}
	#layout header #logo a{width:310px; background-size:250px;padding-top: 150px;font-size: 16.4px;}
    #layout header .menu { display:none; }
    .tabs-menu ul { display:none; }
    .tabs-menu select { display:block !important; }
    .widget > .title { /*font-size:14px !important;*/ }
    .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 {
       
    }
	#breadcrumbs ul li:nth-child(4), #breadcrumbs ul li:nth-child(5){ display: none;}
    h1, h2, h3, h4, h5, h6, h7, h8 {
        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: 360px) {
	#layout header #logo {/*width:300px;*/ }
	#layout header #logo a{width:300px;font-size:15px !important}}
@media screen and (max-width: 1550px) {
	
}
@media screen and (max-width: 1280px) {
.actual_news .head{font-size: 32px !important;}
}
@media screen and (max-width: 980px){

}
.menu_right{float: right;}
#reg_button{color:#000; background-color:#e1a841; padding-top:6px; height:50px; margin-bottom:5px; font-size:35px; text-align:center;}
#reg_button a{font-size:35px;}
@media screen and (max-width: 1150px) {
#reg_button a{ font-size:30px;}
}