body {
	padding-top: 70px;
    /*background: #e8e8dd;*/
    background: url('../img/body_bg_pattern.jpg') top left repeat;
}

.container.main {
    padding: 20px;
    background: #fff;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 20px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0px 0px 20px rgba(0,0,0,0.3);
}

body.layout-login {
    padding-top: 0;
}

@media (max-width: 979px) {
	body {
		padding-top: 0;
	}
}


a {
    color: #fe971e;
}


a:hover {
    text-decoration: none;
    color: #e48210;
}

h1, h2 {
    text-shadow: 1px 1px 0 #333;
}

h1 {
    font-size: 28px;
    line-height: 32px;
}

h3 {
    /*background: #f1f1f1;*/
    text-shadow: 1px 1px 0 #eee;
}

legend {
    background: #ffb764; /* for non-css3 browsers */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffb156', endColorstr='#ffb764'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#ffb156), to(#ffb764)); /* for webkit browsers */
    background: -moz-linear-gradient(top, #ffb156, #ffb764); /* for firefox 3.6+ */
    color: #333;
    text-shadow: 1px 1px 0 #eee;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    padding: 0 20px;
    font-size: 18px;
}

/*-- navbar --*/
.navbar-inverse .navbar-inner {
    background: #c8c4bc; /* Old browsers */
    background: -moz-linear-gradient(top,  #717374 0%, #42494c 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#717374), color-stop(100%,#42494c)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #717374 0%,#42494c 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #717374 0%,#42494c 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #717374 0%,#42494c 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #717374 0%,#42494c 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#717374', endColorstr='#42494c',GradientType=0 ); /* IE6-9 */

    border-color: #989083;
}

.navbar-inverse .brand, .navbar-inverse .nav > li > a {
    color: #eee;
}

/*-- header title --*/
.page-header {
    padding: 4px 20px;
    margin: 0;
    border: 0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background: #2c95c4; /* for non-css3 browsers */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#629fba', endColorstr='#2c95c4'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#629fba), to(#2c95c4)); /* for webkit browsers */
    background: -moz-linear-gradient(top, #629fba, #2c95c4); /* for firefox 3.6+ */
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 1);
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}
/*-- customistate forms --*/
form.form-horizontal input[type="checkbox"] {/*-- Laci --*/
	margin: 8px 0 0;
}

.footer {
    color: #9f9f9f;
    padding: 20px 0 30px 0;
}

.dashboard-img {
    text-align: center;
}

table.annoucencement-table tr th {
    border-top: none;
    width: 25%;
    text-align: right;
    padding-right: 30px;
}

table.annoucencement-table tr th {
    background: #e8e8e8;
}

/*-- dashboard boxes styling --*/

#news {
    background: #2c95c4;
}

#partners {
    background: #84bbd3;
}

#profile {
    background: #ff9f2f;
}

#contact {
    background: #ff5b2f;
}

#gallery {
    background: #2cb025;
}

.dashboard-box-border {
    border: 1px solid rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 3px 3px 4px #444;
    -webkit-box-shadow: 3px 3px 4px #444;
    box-shadow: 3px 3px 4px #444;
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#444444')";
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#444444');
    width: 160px;
    height: 160px;
    margin: 40px auto 80px auto;
}

.dashboard-box {
    width: 150px;
    height: 150px;
    border: 5px solid #fff;
}

.dashboard-box a {
    display: block;
    width: 110px;
    height: 110px;
    padding: 20px;
    margin: 0;
    text-align: center;
    font-size: 20px;
    line-height: 24px;
    color: #000;
}

.dashboard-box:hover {
    -webkit-opacity: 0.7;
    -moz-opacity: 0.7;
    filter: alpha(opacity=70);
    opacity: 0.7;
}

.dashboard-box a {
    text-decoration: none;
    color: #000;
}

.dashboard-box [class^="icon-"], .dashboard-box [class*=" icon-"] {
    margin: 20px 45px;
}

/* logo line */
.logo_line {
    padding: 100px 0 20px;
}

/* logo line on login/registration */

.register .logo_line {
    padding: 45px 0 0;
}

.register .logo_line img {
	max-height: 70px;
	width: auto;
}

/* responsive ... */

@media (max-width:996px) {
    .dashboard-box-border {
        width: 120px;
        height: 120px;
    }

    .dashboard-box {
        width: 116px;
        height: 116px;
    }

    .dashboard-box a {
        width: 100px;
        height: 110px;
        padding: 0px;
    }
}

@media (max-width:783px) {
    .dashboard-box-border {
        width: 100%;
        height: 100%;
    }
    .dashboard-box {
        width: 98%;
        height: 100%;
    }
    .dashboard-box a {
        width: 98%;
        height: 100%;
        padding: 20px 0px;
    }
    .dashboard-box a i {
        margin: 10px 10px -5px !important;
    }
}

/*-- table stripes --*/

.table-striped thead tr th a {
    color: #333;
    text-decoration: underline;
}

.table-striped thead tr th {
    background-color: #feaa4a;
    border-bottom: 1px solid #999;
    text-shadow: 1px 1px 0 #ccc;
}

.table-striped tbody tr:nth-child(odd) td, tbody tr:nth-child(odd) td,
.table-striped tbody tr:nth-child(odd) th {
    background-color: #cddfe7;
}

.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
    background-color: #ffc37e;
    cursor: default;
}

/*-- login language selector--*/

.login .page-header h1 small ul, .register .page-header h1 small ul {
    list-style: none;
    float: right;
    position: absolute;
    top: 20px;
    right: 15px;
}

.register .page-header h1 small ul {
    position: relative;
    top: inherit;
    right: inherit;
    margin-top: -25px;
}

.login .page-header h1 small ul li, .register .page-header h1 small ul li {
    line-height: 18px;
    width: 30px;
    float: left;
    text-align: center;
}

/*-- by Üveges László --*/

select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"],
input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    color:#505050;
    border-radius:5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    padding:5px;
    box-shadow:0 0 10px rgba(192, 192, 192, 0.7) inset, 0px 0px 7px rgba(192, 192, 192, 0.7);
    -moz-box-shadow:0 0 10px rgba(192, 192, 192, 0.7) inset, 0px 0px 7px rgba(192, 192, 192, 0.7);
    -webkit-box-shadow:0 0 10px rgba(192, 192, 192, 0.7) inset, 0px 0px 7px rgba(192, 192, 192, 0.7);
    border:1px solid #c0c0c0;
    margin: 0 3px;
}

.required .control-label::before {
	content: '* ' !important;
	color: #B00;
	font-weight: bold;
}

a > i {
	margin-right: 5px;
}

a.textless > i {
	margin-right: 0px;
}

.icon-red {
	background-image: url("../img/glyphicons-halflings-red.png");
}
.icon-green {
	background-image: url("../img/glyphicons-halflings-green.png");
}
.icon-grey {
	background-image: url("../img/glyphicons-halflings-grey.png");
}

.hasDatepicker {
    background: url(../img/datepicker.png) no-repeat right center;
}

.hasDatepicker:hover {
	cursor: pointer;
}

th a.asc::after {
	content: ' ⇣';
}

th a.desc::after {
	content: ' ⇡';
}

th.tl, td.tl, .left {
	text-align: left;
}

th.tc, td.tc, .center {
	text-align: center;
}

th.tr, td.tr, .right {
	text-align: right;
}

.justify {
    text-align: justify;
}

.pagination {
	display: inline-block;
	float: left;
	margin: 0 0 18px 0;
}
.pagination-limit {
	/*margin: 0 0 18px 0;*/
	display: inline-block;
	float: left;
	margin: 3px 0 0 20px;
}

.counter {
	height: 36px;
	line-height: 36px;
	margin: 0 0 18px 0;
	color: #999;
	font-style: italic;
}

div.clear {
	clear: both;
}

#PasswordReminder {
    margin-right: 5px;
}

textarea {
    resize: vertical;
}

.nav .flag {
    margin-top: 5px;
}

.filters select {
    margin-right: 5px;
}

.nav-tabs > .active > a > [class^="icon-"] {
    background-image: url("../img/glyphicons-halflings.png");
}

div.page-header > h1 > small > a.btn.pull-right {
    margin-top: 6px;
    margin-left: 5px;
}

h1.underlined,
h2.underlined,
h3.underlined,
h4.underlined {
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 5px;
}

.admin-controls a.pull-right {
    margin-left: 5px;
}

.admin-controls a.pull-left {
    margin-right: 5px;
}

.admin-controls span {
    line-height: 25px;
}

input[type="checkbox"] {
    width: auto;
}

.article-logo {
    margin-top: 30px;
    margin-bottom: 30px;
}

.dashboard-img img {
    margin-top: 15px;
}

.text-box {
    margin: 15px;
}