html {
    position: relative;
    min-height: 100%;
}

body {
    margin: 0;
    margin-bottom: 80px;
    padding: 0;
    font-family: 'Roboto', serif;
    color: #707070;
    background-color: #fff;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 60px;
    line-height: 60px; /* Vertically center the text there */
}

ul, ol {
    list-style: none;
}

fieldset legend {
    border-bottom: 1px solid #17a2b8;
}

header a {
    color: #fff;
}

nav.main ul.navigation, nav.main ul.navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

nav.main ul.navigation {
    margin: 0 auto;
    border: 1px solid #222;
    background-color: #222;
    background-image: linear-gradient(#444, #111);
    box-shadow: 0 1px 1px #777;
    zoom: 1;
}

nav.main ul.navigation:before,
nav.main ul.navigation:after {
    content: "";
    display: table;
}

nav.main ul.navigation:after {
    clear: both;
}

nav.main ul.navigation li {
    float: left;
    position: relative;
}

nav.main ul.navigation a {
    float: left;
    padding: 10px 15px;
    color: #999;
    text-decoration: none;
    text-shadow: 0 1px 0 #000;
}

nav.main ul.navigation li:hover > a {
    color: #fafafa;
}

nav.main ul.navigation ul {
    min-width: 152px;
    margin: 20px 0 0 0;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 38px;
    left: 0;
    z-index: 999999;
    background: #444;	
    background: linear-gradient(#444, #111);
    box-shadow: 0 -1px 0 rgba(255,255,255,.3);	
    border-radius: 3px;
    /*transition: all .2s ease-in-out;*/  
}

nav.main ul.navigation li:hover > ul {
    opacity: 1;
    visibility: visible;
    margin: 0;
}

nav.main ul.navigation ul ul {
    top: 0;
    left: 152px;
    margin: 0 0 0 20px;
    box-shadow: -1px 0 0 rgba(255,255,255,.3);		
}

nav.main ul.navigation ul li {
    float: none;
    display: block;
    border: 0;
    box-shadow: 0 1px 0 #111, 0 2px 0 #666;
}

nav.main ul.navigation ul li:last-child {   
    box-shadow: none;    
}

nav.main ul.navigation ul a {    
    padding: 6px 10px;
    min-width: 152px;
    display: block;
    white-space: nowrap;
    float: none;
    text-transform: none;
}

nav.main ul.navigation ul a:hover {
    background-color: #0186ba;
    background-image: linear-gradient(#04acec, #0186ba);
}

nav.main ul.navigation ul li:first-child > a {
    border-radius: 3px 3px 0 0;
}

nav.main ul.navigation ul li:first-child > a:after {
    content: '';
    position: absolute;
    left: 40px;
    top: -6px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #444;
}

nav.main ul.navigation ul ul li:first-child a:after {
    left: -6px;
    top: 50%;
    margin-top: -6px;
    border-left: 0;	
    border-bottom: 6px solid transparent;
    border-top: 6px solid transparent;
    border-right: 6px solid #3b3b3b;
}

nav.main ul.navigation ul li:first-child a:hover:after {
    border-bottom-color: #04acec; 
}

nav.main ul.navigation ul ul li:first-child a:hover:after {
    border-right-color: #0299d3; 
    border-bottom-color: transparent; 	
}

nav.main ul.navigation ul li:last-child > a {
    border-radius: 0 0 3px 3px;
}

/* Content */
body div.content p.paginator-empty {
    background-color: #efefef;
    padding: 15px;
    border-radius: 3px;
}

body div.content table.list {
    border-spacing: 0;
    border-style: none;
    width: 100%;
}
body div.content table.list th {
    font-size: 1.2em;
}
body div.content table.list td,
body div.content table.list th {
    padding: 8px;
    border-style: none;
    text-align: left;
}
body div.content table.list tr:hover td {
    background-color: #b2eaa9;
}
body div.content table.list tbody tr:nth-child(odd) {
    background-color: #e8e8e8;
}
body div.content table.list tbody td p.status-1,
body div.content table.list tbody td p.status-2 {
    padding: 0;
    margin: 0;
    width: 50px;
    height: 10px;
}
body div.content table.list td.margin {
    padding-left: 30px;
}
body div.content table.list tbody td p.status-1 {
    background: url(../img/ico/bullet_green.png) no-repeat center center;
}
body div.content table.list tbody td p.status-2 {
    background: url(../img/ico/bullet_red.png) no-repeat center center;
}

.alert {
    z-index: 1049;
    position: absolute;
    width: 100%;
}

ul.form-nestedmulticheckbox,
ul.form-nestedmulticheckbox ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.form-nestedmulticheckbox ul {
    margin-left: 20px;
}
ul.form-nestedmulticheckbox input {
    margin: 0;
    margin-right: 5px;
    padding: 0;
}

/* Horizontal */
ul.horizontal {
    overflow: hidden;
    margin: 0;
    padding: 0;
    list-style: none;
}
ul.horizontal li {
    float: left;
    margin-right: 5px;
}
ul.horizontal li.active a {
    font-weight: bold;
}

.form-plain-text {
    margin-bottom: 0;
}

.page-header {
    padding-bottom: 0;
    margin: 10px 0 15px;
}

/**
 * UI RESIZABLE
 */
.ui-resizable {
	position: relative;
}
.ui-resizable-handle {
	position: absolute;
	font-size: 0.1px;
	display: block;
}
.ui-resizable-disabled .ui-resizable-handle,
.ui-resizable-autohide .ui-resizable-handle {
	display: none;
}
.ui-resizable-n {
	cursor: n-resize;
	height: 7px;
	width: 100%;
	top: -5px;
	left: 0;
}
.ui-resizable-s {
	cursor: s-resize;
	height: 7px;
	width: 100%;
	bottom: -5px;
	left: 0;
}
.ui-resizable-e {
	cursor: e-resize;
	width: 7px;
	right: -5px;
	top: 0;
	height: 100%;
}
.ui-resizable-w {
	cursor: w-resize;
	width: 7px;
	left: -5px;
	top: 0;
	height: 100%;
}
.ui-resizable-se {
	cursor: se-resize;
	width: 12px;
	height: 12px;
	right: 1px;
	bottom: 1px;
}
.ui-resizable-sw {
	cursor: sw-resize;
	width: 9px;
	height: 9px;
	left: -5px;
	bottom: -5px;
}
.ui-resizable-nw {
	cursor: nw-resize;
	width: 9px;
	height: 9px;
	left: -5px;
	top: -5px;
}
.ui-resizable-ne {
	cursor: ne-resize;
	width: 9px;
	height: 9px;
	right: -5px;
	top: -5px;
}

div.content-loader {
    z-index: 999;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff url(../img/ico/loading.gif) no-repeat center center;
}

#fieldset-group_ties .controls label {
    float: left;
    width: 30%;
    padding-top: 0;
}
#fieldset-group_ties .controls p {
    clear: left;
}

/**
 * Tłumaczenia
 */
fieldset.translate {
    cursor: pointer;
}
fieldset.translate ul.nav {
    margin-left: 10px;
}
fieldset.translate > .control-group > .controls {
    margin-left: 0;
}
fieldset.translate legend {
    margin-bottom: 0;
}

/**
 * Status
 */
#statusChecker {
    margin: 20px;
}
#statusChecker .message {
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}
#statusChecker .button {
    display: none;
    text-align: center;
}
#statusChecker .loading {
    height: 80px;
    background: #fff url(../img/ico/loading.gif) no-repeat center center;
}

#Form_Virtual_Snoomie > .control-group > .controls > label {
    width: 30%;
    float: left;
}

.snoomie-power {
    width: 314px !important;
    height: 50px;
    padding: 10px 18px;
    font-size: 13px;
    line-height: 1.3em;
    text-align: justify;
    font-family: Signika;
    font-weight: bold;
    color: #B0B0B0;
    background-color: #f7f7f7;
    border: 1px solid #e2e2e2;
}
