/* Copyright (C) YOOtheme GmbH, http://www.gnu.org/licenses/gpl.html GNU/GPL */

/*
 * Layout Style Sheet - Provides a fluid grid and helper classes to create any layout and some layout defaults
 */


/* Grid and Clearing Tools
----------------------------------------------------------------------------------------------------*/

.clearfix:before,
.clearfix:after,
.grid-block:before,
.grid-block:after,
.deepest:before,
.deepest:after {
    content: "";
    display: table;
}
.clearfix:after,
.grid-block:after,
.deepest:after { clear: both; }

.grid-box { float: left; }

/* Grid Units */
.width16 { width: 16.666%; }
.width20 { width: 20%; }
.width25 { width: 25%; }
.width33 { width: 33.333%; }
.width40 { width: 40%; }
.width50 { width: 50%; }
.width60 { width: 60%; }
.width66 { width: 66.666%; }
.width75 { width: 75%; }
.width80 { width: 80%; }
.width100 { width: 100%; }

[class*='width'] {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/* Create new Block Formatting Contexts */
.bfc-o { overflow: hidden; }
.bfc-f {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    float: left;
}

/* Align Boxes */
.float-left { float: left; }
.float-right { float: right; }

/* Grid Gutter */
.grid-gutter.grid-block { margin: 0 -15px; }
.grid-gutter > .grid-box > * { margin: 0 15px; }

.grid-gutter > .grid-box > * > :first-child { margin-top: 0; }
.grid-gutter > .grid-box > * > :last-child { margin-bottom: 0; }


/* Layout Defaults
----------------------------------------------------------------------------------------------------*/

/* Center Page */
.wrapper {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: auto;
}

/* Header */
#header { position: relative; }

#toolbar .float-left .module,
#toolbar .float-left > time {
    margin: 0 15px 0 0;
    float: left;
}

#toolbar .float-right .module {
    margin: 0 0 0 15px;
    float: right;
}

#headerbar .module {
    max-width: 300px;
    margin-right: 0;
    float: right;
}

#logo, #logo > img,
#menu { float: left; }
#search { float: right; }

#banner {
    position: absolute;
    top: 0;
    right: -200px;
}

/* Footer */
#footer {
    position: relative;
    text-align: center;
}

/* Absolute */
#absolute {
    position: absolute;
    z-index: 15;
    width: 100%;
}

/* Spacing
----------------------------------------------------------------------------------------------------*/

.module,
#breadcrumbs,
#content,
#footer { margin: 15px; }

#footer .module { margin: 0; }

#toolbar,
#headerbar { margin-bottom: 0; }


/* Layout
----------------------------------------------------------------------------------------------------*/
/* Blocks*/
#menu { float: right; }

#maininner {
    padding: 5px 0;
}

#sidebar-a,
#sidebar-b {
    padding: 5px 0;
}

.f-block-headerbar {
    background: #fff;
    margin: auto;
    z-index: 9999;
    position: fixed;
    top: 0;
    left:0;
    width:100%;
    border-bottom: 1px solid transparent;
}

#block-headerbar{
    background: #fff;
    z-index: 9999;
    left: 0;
    top: 0;
    border-bottom: 1px solid #eaeaea;
}

#block-toolbar {
    padding: 5px 0;
    background: #f8f8f8;
    border-bottom: 1px solid #ddd;
}

#block-toolbar ul, ol, dl {
    padding-left: 0;
}

#block-top-a {
    background: #efefef;
    border-bottom: 1px solid #ddd;
}
.wrapper.max-width60 { max-width: 60%; }
.wrapper.max-width70 { max-width: 70%; }
.wrapper.max-width100 { max-width: 100%; }

#block-top-b {
    background: #fff;
}
.wrapper.max-width60 { max-width: 60%; }
.wrapper.max-width70 { max-width: 70%; }
.wrapper.max-width100 { max-width: 100%; }


#block-top-c {
    background: #efefef;
    border-bottom: 1px solid #ddd;
}
.wrapper.max-width60 { max-width: 60%; }
.wrapper.max-width70 { max-width: 70%; }
.wrapper.max-width100 { max-width: 100%; }

#block-bottom-a {
    background: #efefef;
    border-bottom: 1px solid #ddd;
}
.wrapper.max-width60 { max-width: 60%; }
.wrapper.max-width70 { max-width: 70%; }
.wrapper.max-width100 { max-width: 100%; }

#block-main {
    background: #fff;
}

#block-main textarea:-moz-read-write {
    color: #444 !important;
    background: #fff !important;
    border: 1px solid #eaeaea !important;
}

#block-bottom-b2 {
    color: #fff;
    background: #018fff;
    border-bottom: 1px solid #0172cc;
}
.wrapper.max-width65 { max-width: 60%; }
.wrapper.max-width70 { max-width: 70%; }
.wrapper.max-width100 { max-width: 100%; }

#block-bottom-b2 a {
    color: #00467c;
}

#block-bottom-b2 a:hover {
    color: #fff;
}

#block-bottom-b2 .mybutton, .mybutton:visited a {
    color: #fff !important;
}

#block-bottom-b2 .mod-box {
    color: #444;
}

#block-bottom-c {
    color: #848484;
    background: url(../images/cityview-dark.jpg) 50% 50% no-repeat;
    background-size: cover;
}

#block-bottom-c .menu-sidebar li.level1 { border-top: 1px solid #4d4d4d; }
#block-bottom-c ul.line > li { border-top: 1px solid #4d4d4d; }
#block-bottom-c .menu-sidebar a { color: #848484; }
#block-bottom-c .menu-sidebar a:hover { color: #018fff; }
#block-bottom-c ul.line > li > a { color: #848484; }
#block-bottom-c ul.line > li > a:hover { color: #018fff; transition: all 0.3s ease-in-out 0s;}
#block-bottom-c a { color: #848484; }
#block-bottom-c a:hover { color: #018fff; }
#block-bottom {
    background: #fff;
    box-shadow: 0 -1px 0 rgba(255,255,255,0.1) inset;
    color: #777;
}

body#page { background: #fff; }

#block-footer {
    padding: 5px 0;
    background: #212328;
}

#toolbar {
    line-height: 26px;
    font-size: 12px;
}

#toolbar li {
    margin-left: 3px;
}

/* Header */
#header { min-height: 35px; }

/* Block Separators */
#top-a:after,
#top-b:after,
#top-c:after,
#innertop:after {
    content: "";
    display: block;
    margin: 0 15px;
    height: 1px;
}

#bottom-a:before,
#innerbottom:before {
    content: "";
    display: block;
    margin: 0 15px;
    height: 1px;
}

/* Remove Block Separators if System Output is disabled */
#header + #bottom-a:before,
#top-a + #bottom-a:before,
#top-b + #bottom-a:before,
#top-c + #bottom-a:before { display: none; }

/* Footer */
#toolbar,
#toolbar a { color: #ababab; }
#footer { color: #848484; }
#footer a { color: #848484; }
#toolbar a:hover { color: #018fff; }

#footer {
    text-align: left;
}

/* Footer */

#footer a {font-size: 12px;}

#footer a:hover { color: #fff; }

#totop-scroller {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    width: 20px;
    height: 20px;
    background: url(../../images/theme/totop_scroller.png) 0 0 no-repeat;
    text-decoration: none;
    transition: all 0.3s ease-in-out 0s;
}

#totop-scroller:hover { background-position: 0 -20px; transition: all 0.3s ease-in-out 0s; }