body {
    background: url("../img/bg.png") repeat scroll 0 0 rgba(0, 0, 0, 0);
    color: #707070;
    font: 400 12px 'Open Sans',HelveticaNeue,Helvetica,Arial;
    min-height: 100%;
    overflow-y: scroll;
}

#content {
	min-height: 700px;
}

.box {
	background: #fff;
	overflow: hidden;
}

.box .box-header .nav-tabs > .active > a, .box .box-header .nav-tabs > .active > a:hover {
	background: #fff;
}

.container-fluid.top-nav {
	padding: 10px;
}

.main-content .container {
	padding-top: 0px;
}

.clear {
	overflow: hidden;
}

.fail {
	color: #d00;
	width: 250px;
}

#front_cover {
	width: 283px;
}

span.fail {
	margin-left: 6px;
}

.header_title {
	margin-bottom: 8px;
	min-height: 28px;
}

.input_row {
	margin-bottom: 14px;
	overflow: hidden;
}

.page-name {
	/*float:left;*/
	/*margin-top: 20px;*/
	/*padding: 0px;*/
	/*margin-bottom: 15px;*/
}

li {
	list-style: none;
}

#latest_cover {
	width: 100%;
	height: 100%;
	box-shadow: 1px 1px 10px rgba(0,0,0,0.2);
}

textarea {
	padding: 1px 0 2px 4px;
	resize: none;
}

#blank {
	display: none;
}

.link {
	cursor: pointer;
}

.link:hover {
	text-decoration: underline;
}

span.link:hover {
	text-decoration: underline;
}

.none {
	display: none;
}

.relative {
	position: relative;
}

.thumb {
	float: left;
	height: 200px;
	text-align: center;
	user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-webkit-user-select: none;
	width: 165px;
}

.thumb img {
	border: 1px solid #aaa;
}

.thumb.large {
	float: left;
	user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-webkit-user-select: none;
	margin-right: 28px;
	margin-bottom: 20px;
	width: auto;
	height: auto;
	text-align: left;
}

.thumb.large:first-child {
	margin-left: 0px;
}

.thumb.large img {
	border: 1px solid #aaa;
	width: 200px;
	height: 278px;
}

.thumb.large.add img {
	width: auto !important;
	height: auto !important;
}

.thumb.large.clear {
	margin-left: 0px;
}

.thumb.large .info {
	background: #E2E2E2;
	padding: 10px;
	background: none repeat scroll 0 0 #E2E2E2;
    border: 1px solid #CDCDCD;
    box-shadow: 0 2px 2px -2px #CCCCCC;
	text-shadow: 0px 1px 0px rgba(255,255,255,1);
    margin-bottom: 20px;
	max-width: 180px;
}

.thumb.large .info a {
	color: #767676;
}

.thumb.large .icon-edit {
	float:right;
	display: none;
}

.thumb.large .icon-edit .icon {
	width: auto;
	height: auto;
	border: 0;
}

.thumb.large:hover .info {
	background: #4F4545;
	border: 1px solid #4F4545;
}

.thumb.large:hover .info a {
	color: #fff;
	text-shadow: 1px 0px 1px rgba(0,0,0,0.1);
}

.thumb.large:hover img {
	border: 1px solid #4F4545;
	border-bottom: 1px solid rgba(0,0,0,0.94);
}

.thumb.large:hover .icon-edit {
	display: inline;
}

.thumb.large.op {
	opacity: 0.7;
}

.thumb.small {
	width: auto;
	height: auto;
	margin-right: 50px;
	margin-bottom: 35px;
	opacity: 0.9;
}
/*.thumb.small.last {
	margin-right: 0px;
}*/
.thumb.small:hover {
	opacity: 1;
}

.ui-sortable {
	margin: 0;
	margin-left: 20px;
	margin-top: 20px;
}

.ui-state-highlight-thumb {
	background: rgba(0,0,0,0.2);
	border: 1px solid rgba(0,0,0,0.1);
	float: left;
	margin-right: 50px;
	margin-bottom: 30px;
	width: 113px;
	height: 150px;
}

#pages {
	width: 900px;
}

#messagebox {
	margin-top: -1px;
}

#pagemessage { 
	background: #DEE8F2;
	float: left;
	width: 94%;
	padding: 20px;
	opacity: 0.8;
	display: none;
}

.close {
	margin-right: 15px;
}

#mstContain2 #content {
    background: -moz-linear-gradient(center top , #F8F8F8 0%, #F9F9F9 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 1px solid #C4C6CA;
    border-radius: 0;
    box-shadow: 1px 0 50px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
    padding: 0px 0 0;
    position: relative;
    text-align: center;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
	min-height: 0 !important;
}

#mstContain2 #content.light {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 0 none;
    box-shadow: none;
}

#mstContain2 #content form input[type="text"], #mstContain2 #content form input[type="password"] {
    background: none repeat scroll 0 0 #EAE7E7;
    border: 1px solid #C8C8C8;
    border-radius: 3px;
    box-shadow: 0 1px 0 #FFFFFF, 0 -2px 5px rgba(0, 0, 0, 0.08) inset;
    color: #777777;
    font: 13px Helvetica,Arial,sans-serif;
    margin: 0 0 10px;
    padding: 15px 10px 15px 20px;
    transition: all 0.5s ease 0s;
    width: 90%;
}

#mstContain2 .login-info {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.01);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #7E7E7E;
    font-family: 'Open Sans';
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 20px;
    margin: 10px 0 20px;
    padding: 10px;
}

/*.modal
{
	width: 400px;
	border: 0px;
	margin-left: -180px;
	z-index: 9500;
}

.modal-body
{
	overflow-y: hidden;
}*/

.accordion-group:first-child
{
	border-top: 1px solid #CDCDCD;
}

.accordion-group .accordion-heading
{

	background: rgb(147,147,147); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(147,147,147,1) 0%, rgba(119,119,119,1) 100%) !important; /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(147,147,147,1)), color-stop(100%,rgba(119,119,119,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(147,147,147,1) 0%,rgba(119,119,119,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(147,147,147,1) 0%,rgba(119,119,119,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(147,147,147,1) 0%,rgba(119,119,119,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(147,147,147,1) 0%,rgba(119,119,119,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#939393', endColorstr='#777777',GradientType=0 ); /* IE6-9 */

	color: #fff;
	border: 1px solid rgba(0,0,0,0.2);
	border-bottom: 1px solid rgba(0,0,0,0.5);
	border-radius: 0px;
}

.accordion-group:first-child .accordion-heading
{
	border-radius: 0px;
}

.accordion-heading.disabled
{
	display: none;
}

.magazine-list
{
	width: 920px;
	float: left;
	border-left: 1px solid rgba(0,0,0,0.1);
	padding-left: 49px;
}

.textform
{
	padding: 10px;
}

.edit-hover:hover
{
	/*padding-right:75px;*/width:300px;
	background:url(../img/icons2/pencil.png) no-repeat scroll right center #fff;
	background-position: right 10px top 8px;
	outline:0;
}

.input-prepend.blue.textarea
{
	height: auto;
}

.input-append .add-on
{
	display: none;
}

.input-append input[type="text"], .input-append input[type="password"], .input-append input[type="email"], .input-append input[type="number"], .input-prepend input[type="text"], .input-prepend input[type="password"], .input-prepend input[type="email"], .input-prepend input[type="number"], .add-on
{
	border-radius: 0;
}

.input-prepend .add-on:first-child, .input-prepend .btn:first-child
{
	border-radius: 0;
}

.input-append, .input-prepend
{
	margin: 10px 0px;
}

/* HEADER */

#logo
{
	margin-top: 40px;
	margin-bottom: 15px;
	float:left;
}

#logo img {
    height: 40px;
    width: 125px;
}

.brand h2
{
    color: #FFFFFF;
    font-family: 'Open Sans';
    font-size: 29px;
    font-style: italic;
    font-weight: 700;
    margin-bottom: 0;
	display: inline;
	line-height: 5px;
	text-shadow: none;
	float:left;
	margin-top: 10px;
}

.box .box-header, .box .box-footer
{
	background: rgb(253,253,253); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(253,253,253,1) 0%, rgba(234,234,234,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(253,253,253,1)), color-stop(100%,rgba(234,234,234,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(253,253,253,1) 0%,rgba(234,234,234,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(253,253,253,1) 0%,rgba(234,234,234,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(253,253,253,1) 0%,rgba(234,234,234,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(253,253,253,1) 0%,rgba(234,234,234,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#eaeaea',GradientType=0 ); /* IE6-9 */
}

#breadcrumbs {
	position: relative;
	width: 100%;
	display: inline-block;
	font-size: 12px;
}

.breadcrumb-button {
	position: relative;
	display: inline-block;
}

.breadcrumb-label > a {
	color: #EEE;
	margin-right: 5px;
}

.breadcrumb-label > a:hover {
	color: #FFF;
}


#breadcrumbs .breadcrumb-button.red .breadcrumb-arrow span {
    box-shadow: 1px -1px 0 #7599AF, 1px -1px 1px #45A8E7;
	-webkit-transform: rotate(45deg) !important;
}

#breadcrumbs .breadcrumb-button .breadcrumb-arrow
{
	width: 20px;
	outline: 0 !important;
	border: 0px !important;
	text-shadow: none;
	box-shadow: none;
}


.accordion-group .accordion-heading
{
	background: rgb(253,253,253); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(253,253,253,1) 0%, rgba(234,234,234,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(253,253,253,1)), color-stop(100%,rgba(234,234,234,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(253,253,253,1) 0%,rgba(234,234,234,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(253,253,253,1) 0%,rgba(234,234,234,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(253,253,253,1) 0%,rgba(234,234,234,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(253,253,253,1) 0%,rgba(234,234,234,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#eaeaea',GradientType=0 ); /* IE6-9 */
}

.navbar .container { /*width: 1170px;*/ /*padding-top: 50px;*/ } /* rm from application.css */

.navbar-top
{
	border-bottom: none !important;
}

.navbar-inner
{
	background: rgba(0,0,0,0.7) !important; /*#424141 !important;*/
	border-bottom: none !important;
}

.navbar .brand
{
	margin-left: 0px;
}

.navbar .nav > li > a {
    color: #FFFFFF;
    font-family: 'Karla';
    font-size: 12px;
    font-weight: bold;
    outline: 0 none;
    padding: 10px 0 10px 17px;
    text-shadow: 0 1px 0 #555555;
    text-transform: uppercase;
}

.navbar .nav > li > a {
    color: #777777;
    float: none;
    padding: 10px 15px;
    text-decoration: none;
    text-shadow: 0 1px 0 #FFFFFF;
}

.navbar-inverse .nav > li > a,.navbar-inverse .nav > li > a:hover,.navbar-inverse .nav .active > a, .navbar-inverse .nav .active > a:hover, .navbar-inverse .nav .active > a:focus
{
	background: none;
	text-shadow: none;
	box-shadow: none !important;
}

.navbar-inverse .nav
{
	margin-top: 0px;
}

.navbar .nav > li > a
{
	padding: 10px 10px;
	padding-left: 5px;
	color: #aaa;
}

.navbar .nav li.dropdown.open > .dropdown-toggle .caret, .navbar .nav li.dropdown.active > .dropdown-toggle .caret, .navbar .nav li.dropdown.open.active > .dropdown-toggle .caret
{
	border-bottom-color: #fff;
    border-top-color: #fff;
}

.string.optional
{
	font-family: 'Tahoma';
	color: #aaa;
}

/* FOOTER */

#footer
{
	text-align: center;
	margin-bottom: 20px;
}

/* LOGIN */

/* thanks cssdeck */

#login
{
	margin: 0 auto;
	top: 50%;
	margin-top: 150px;
	margin-bottom: 100px;
}

#login .container { margin: 25px auto; position: relative; width: 900px; }
#login #content {
	background: #f9f9f9;
	background: -moz-linear-gradient(top,  rgba(248,248,248,1) 0%, rgba(249,249,249,1) 100%);
	background: -webkit-linear-gradient(top,  rgba(248,248,248,1) 0%,rgba(249,249,249,1) 100%);
	background: -o-linear-gradient(top,  rgba(248,248,248,1) 0%,rgba(249,249,249,1) 100%);
	background: -ms-linear-gradient(top,  rgba(248,248,248,1) 0%,rgba(249,249,249,1) 100%);
	background: linear-gradient(top,  rgba(248,248,248,1) 0%,rgba(249,249,249,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8f8f8', endColorstr='#f9f9f9',GradientType=0 );
	-webkit-box-shadow: 0 1px 0 #fff inset;
	-moz-box-shadow: 0 1px 0 #fff inset;
	-ms-box-shadow: 0 1px 0 #fff inset;
	-o-box-shadow: 0 1px 0 #fff inset;
	box-shadow: 0 1px 0 #fff inset;
	border: 1px solid #c4c6ca;
	margin: 0 auto;
	padding: 25px 0 0;
	position: relative;
	text-align: center;
	text-shadow: 0 1px 0 #fff;
	width: 400px;
}
#login #content h1 {
	color: #7E7E7E;
	font: bold 25px Helvetica, Arial, sans-serif;
	letter-spacing: -0.05em;
	line-height: 20px;
	margin: 10px 0 30px;
}
#login #content h1:before,
#login #content h1:after {
	content: "";
	height: 1px;
	position: absolute;
	top: 10px;
	width: 27%;
}
#login #content h1:after {
	background: rgb(126,126,126);
	background: -moz-linear-gradient(left,  rgba(126,126,126,1) 0%, rgba(255,255,255,1) 100%);
	background: -webkit-linear-gradient(left,  rgba(126,126,126,1) 0%,rgba(255,255,255,1) 100%);
	background: -o-linear-gradient(left,  rgba(126,126,126,1) 0%,rgba(255,255,255,1) 100%);
	background: -ms-linear-gradient(left,  rgba(126,126,126,1) 0%,rgba(255,255,255,1) 100%);
	background: linear-gradient(left,  rgba(126,126,126,1) 0%,rgba(255,255,255,1) 100%);
    right: 0;
}
#login #content h1:before {
	background: rgb(126,126,126);
	background: -moz-linear-gradient(right,  rgba(126,126,126,1) 0%, rgba(255,255,255,1) 100%);
	background: -webkit-linear-gradient(right,  rgba(126,126,126,1) 0%,rgba(255,255,255,1) 100%);
	background: -o-linear-gradient(right,  rgba(126,126,126,1) 0%,rgba(255,255,255,1) 100%);
	background: -ms-linear-gradient(right,  rgba(126,126,126,1) 0%,rgba(255,255,255,1) 100%);
	background: linear-gradient(right,  rgba(126,126,126,1) 0%,rgba(255,255,255,1) 100%);
    left: 0;
}

#login #content form { margin: 0 20px; position: relative }
#login #content form input[type="text"],
#login #content form input[type="password"] {
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 0 1px 0 #fff, 0 -2px 5px rgba(0,0,0,0.08) inset;
	-moz-box-shadow: 0 1px 0 #fff, 0 -2px 5px rgba(0,0,0,0.08) inset;
	-ms-box-shadow: 0 1px 0 #fff, 0 -2px 5px rgba(0,0,0,0.08) inset;
	-o-box-shadow: 0 1px 0 #fff, 0 -2px 5px rgba(0,0,0,0.08) inset;
	box-shadow: 0 1px 0 #fff, 0 -2px 5px rgba(0,0,0,0.08) inset;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
	background: #eae7e7 url(http://cssdeck.com/uploads/media/items/8/8bcLQqF.png) no-repeat;
	border: 1px solid #c8c8c8;
	color: #777;
	font: 13px Helvetica, Arial, sans-serif;
	margin: 0 0 10px;
	padding: 15px 10px 15px 40px;
	width: 80%;
	height: auto;
}
#login #content form input[type="text"]:focus,
#login #content form input[type="password"]:focus {
	-webkit-box-shadow: 0 0 2px #ed1c24 inset;
	-moz-box-shadow: 0 0 2px #ed1c24 inset;
	-ms-box-shadow: 0 0 2px #ed1c24 inset;
	-o-box-shadow: 0 0 2px #ed1c24 inset;
	box-shadow: 0 0 2px #ed1c24 inset;
	background-color: #fff;
	border: 1px solid #ed1c24;
	outline: none;
}
#login #login_email { background-position: 10px 10px !important }
#login #login_password { background-position: 10px -53px !important }
#login #content form input[type="submit"] {
	background: rgb(254,231,154);
	background: -moz-linear-gradient(top,  rgba(254,231,154,1) 0%, rgba(254,193,81,1) 100%);
	background: -webkit-linear-gradient(top,  rgba(254,231,154,1) 0%,rgba(254,193,81,1) 100%);
	background: -o-linear-gradient(top,  rgba(254,231,154,1) 0%,rgba(254,193,81,1) 100%);
	background: -ms-linear-gradient(top,  rgba(254,231,154,1) 0%,rgba(254,193,81,1) 100%);
	background: linear-gradient(top,  rgba(254,231,154,1) 0%,rgba(254,193,81,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fee79a', endColorstr='#fec151',GradientType=0 );
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	-ms-border-radius: 30px;
	-o-border-radius: 30px;
	border-radius: 30px;
	-webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
	-moz-box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
	-ms-box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
	-o-box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
	box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
	border: 1px solid #D69E31;
	color: #85592e;
	cursor: pointer;
	float: left;
	font: bold 15px Helvetica, Arial, sans-serif;
	height: 35px;
	margin: 20px 0 35px 15px;
	position: relative;
	text-shadow: 0 1px 0 rgba(255,255,255,0.5);
	width: 120px;
}
#login #content form input[type="submit"]:hover {
	background: rgb(254,193,81);
	background: -moz-linear-gradient(top,  rgba(254,193,81,1) 0%, rgba(254,231,154,1) 100%);
	background: -webkit-linear-gradient(top,  rgba(254,193,81,1) 0%,rgba(254,231,154,1) 100%);
	background: -o-linear-gradient(top,  rgba(254,193,81,1) 0%,rgba(254,231,154,1) 100%);
	background: -ms-linear-gradient(top,  rgba(254,193,81,1) 0%,rgba(254,231,154,1) 100%);
	background: linear-gradient(top,  rgba(254,193,81,1) 0%,rgba(254,231,154,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fec151', endColorstr='#fee79a',GradientType=0 );
}
#login #content form div a {
	color: #004a80;
    float: right;
    font-size: 12px;
    margin: 30px 15px 0 0;
    text-decoration: underline;
}
#login .lower {
	background: rgb(247,249,250);
	background: -moz-linear-gradient(top,  rgba(247,249,250,1) 0%, rgba(240,240,240,1) 100%);
	background: -webkit-linear-gradient(top,  rgba(247,249,250,1) 0%,rgba(240,240,240,1) 100%);
	background: -o-linear-gradient(top,  rgba(247,249,250,1) 0%,rgba(240,240,240,1) 100%);
	background: -ms-linear-gradient(top,  rgba(247,249,250,1) 0%,rgba(240,240,240,1) 100%);
	background: linear-gradient(top,  rgba(247,249,250,1) 0%,rgba(240,240,240,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f9fa', endColorstr='#f0f0f0',GradientType=0 );
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.1) inset;
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.1) inset;
	-ms-box-shadow: 0 1px 2px rgba(0,0,0,0.1) inset;
	-o-box-shadow: 0 1px 2px rgba(0,0,0,0.1) inset;
	box-shadow: 0 1px 2px rgba(0,0,0,0.1) inset;
	-webkit-border-radius: 0 0 5px 5px;
	-moz-border-radius: 0 0 5px 5px;
	-o-border-radius: 0 0 5px 5px;
	-ms-border-radius: 0 0 5px 5px;
	border-radius: 0 0 5px 5px;
	border: none;
	border-top: 1px solid #CFD5D9;
	padding: 15px 0;
	height: 50px;
}
#login .button a {
	background: url(http://cssdeck.com/uploads/media/items/8/8bcLQqF.png) 0 -112px no-repeat;
	color: #7E7E7E;
	font-size: 17px;
	padding: 2px 0 2px 40px;
	text-decoration: none;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
#login .button a:hover {
	background-position: 0 -135px;
	color: #00aeef;
}

.btn.btn-primary, .btn.btn-primary:active, .btn.btn-primary:focus, .btn.btn-primary:hover
{
	color: #fff !important;
	text-shadow: 1px 0px 1px rgba(0,0,0,0.1);
	outline: 0;
}

/* REGISTER */

.register button {
    border: 1px solid #222222;
    font-family: 'Karla';
    font-size: 12px;
    font-weight: bold;
    height: auto;
    margin-top: 0 !important;
    padding: 5px 10px;
}

.btn-danger {
    background-color: #DA4F49;
    background-image: linear-gradient(to bottom, #EE5F5B, #BD362F);
    background-repeat: repeat-x;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    color: #FFFFFF;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.navbar .nav > li > a {
    padding: 7px;
}
.navbar .nav > li > a {
    color: #FFFFFF;
    font-family: 'Karla';
    font-size: 12px;
    font-weight: bold;
    outline: 0 none;
    padding: 8px 0px 0px 10px;
    text-shadow: 0 1px 0 #555555;
    text-transform: uppercase;
}

.nav > li > a {
    display: block;
}

.register-dropdown {
    margin-top: 7px;
}

.navbar .nav > li > a:focus, .navbar .nav > li > a:hover {
    background: none;
    color: #fff;
	opacity: 1;
    text-decoration: none;
}

.navbar .nav li.dropdown.open > .dropdown-toggle, .navbar .nav li.dropdown.active > .dropdown-toggle, .navbar .nav li.dropdown.open.active > .dropdown-toggle
{
	background: none;
	color: #fff;
}

.navbar-inverse .nav.full.user > li > a
{
	margin-top: 5px;
	line-height: 20px;
	height: 28px;
}

.navbar-inverse .nav.full > li > a img
{
	float: left;
	margin-top: 4px;
}
.dropdown-toggle:hover
{
	/*background: rgba(0,0,0,0.2) !important;*/
}

/* ADMIN */

.add_subscription_type {
	margin-bottom: 8px;
}

.add_subscription_type .link {
	background: url(/img/icons/icon_add.png) 0 1px no-repeat;
	padding-left: 16px;
}

#magazines {
	overflow: hidden;
}

#magazines .subscription_type select {
	/*width: 300px;*/
}

#magazines .subscription_type .price {
	width: 40px;
}

#magazine_description {
	width: 399px;
}

#magazine_name {
	width: 399px;
}

.subscription_type .datepick {
	width: 110px;
}

.subscription_type .remove {
	cursor: pointer;
	position: absolute;
	top: 2px;
}

/* LOG */

.table th
{
	padding-left: 10px !important;
}

.table strong
{
	color: #000;
}

.table-header
{
	display: none;
}

table.dataTable thead tr
{
	background: none;
}

table.dataTable thead tr th
{
	/*color: #fff;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.2);*/
}

table.dataTable thead tr th
{
	border-bottom: none;
	border-left: 1px solid #DDDDDD;
}

table.dataTable td.date, .log_row td:nth-child(1), not(.subscribes td.date)
{
	color: rgba(0,0,0,0.4);
}

table.dataTable td.what, .log_row td:nth-child(2), not(.subscribes td.what)
{
	font-weight: 600;
	text-transform: uppercase;
	/*text-align: center;*/
}

table.dataTable td.where, .log_row td:nth-child(4), not(.subscribes td.where)
{
	color: rgba(0,0,0,0.7);
}

.log_row td:nth-child(2)
{
	font-weight: 600;
	color: rgba(0,0,0,0.7);
}

.sorting_asc, .sorting_desc
{
	background: none;
}

table.dataTable tr.even
{
	background: rgba(234, 235, 239, 0.4);
}

.table-striped tbody > tr:nth-child(2n+1) > td, .table-striped tbody > tr:nth-child(2n+1) > th
{
	background: #fff;
}
	
.search-l
{
	float: right;
}

.search-l i
{
	float: right;
	margin-right: 10px;
	margin-top: 12px;
}

#lsok
{
	border-radius: 5px;
	margin-left: 4px;
	margin-right: 10px;
	margin-top: 5px;
	margin-bottom: 0px;
}

.label
{
	text-shadow: 1px 0 1px rgba(0,0,0,0.2);
}

.pre_count
{
	background: rgba(0,0,0,0.4);
	padding: 3px;
	padding-left: 7px;
	padding-right: 7px;
	float: left;
	border: 1px solid rgba(0,0,0,0.3);
	border-radius: 4px;
	margin-top: 6px;
	font-size: 11px;
	font-weight: 600;
	color: rgba(255,255,255,0.9);
	text-shadow: none;
}
/* el */

.button {
    display: inline-block;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#599Bdc), color-stop(100%,#3072B3));
    background: -moz-linear-gradient(center top, #599Bdc 0%, #3072B3 100%);
    -webkit-box-shadow: 0px 1px 0px 0px #7dc0ff inset, 0px -1px 0px 0px #1a3d5e inset, 0px 2px 2px 0px #d4d4d4;
    -moz-box-shadow: 0px 1px 0px 0px #7dc0ff inset, 0px -1px 0px 0px #1a3d5e inset, 0px 2px 2px 0px #d4d4d4;
    box-shadow: 0px 1px 0px 0px #7dc0ff inset, 0px -1px 0px 0px #1a3d5e inset, 0px 2px 2px 0px #d4d4d4;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
	cursor: pointer;
    text-shadow: 0px 1px 0px #424242;
    padding: 10px 20px;
    display: block;
    border-color: #295c8c;
    border-width: 1px;
    border-style: solid;
    font-family: 'Karla';
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
    font-size: 14px;
    color: #FFFFFF;
}
.button:not(.disabled):hover {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#82bbf0), color-stop(100%,#3072B3));
    background: -moz-linear-gradient(center top, #82bbf0 0%, #3072B3 100%);
	border: 1px solid rgba(41,92,140,0.5);
	
    -webkit-box-shadow: 0px 1px 0px 0px #a8d4fd inset, 0px -1px 0px 0px #1a3d5e inset, 0px 2px 2px 0px #4d7499;
    -moz-box-shadow: 0px 1px 0px 0px #a8d4fd inset, 0px -1px 0px 0px #1a3d5e inset, 0px 2px 2px 0px #4d7499;
	box-shadow: 0px 1px 0px 0px #a8d4fd inset, 0px -1px 0px 0px #1a3d5e inset, 0px 2px 15px 0px rgba(0,0,0,0.1);
}

.button.red {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#EE5F5B), color-stop(100%,#BD362F));
    background: -moz-linear-gradient(center top , #EE5F5B 0%, #BD362F 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
    border-color: #A02521;
	
	-webkit-box-shadow: 0px 1px 0px 0px rgba(255,255,255,0.2) inset, 0px -1px 0px 0px #A02521 inset, 0px 2px 2px 0px #d4d4d4;
    -moz-box-shadow: 0px 1px 0px 0px rgba(255,255,255,0.2) inset, 0px -1px 0px 0px #A02521 inset, 0px 2px 2px 0px #d4d4d4;
    box-shadow: 0px 1px 0px 0px rgba(255,255,255,0.2) inset, 0px -1px 0px 0px #A02521 inset, 0px 2px 2px 0px #d4d4d4;
}
	
.button:not(.disabled).red:hover {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F78785), color-stop(100%,#BD362F)) !important;
    background: -moz-linear-gradient(center top , #F78785 0%, #BD362F 100%) repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
    border-color: #A02521;
}

.button.disabled
{
	opacity: 0.4;
	cursor: default;
}

.button.inline
{
	display: inline;
	text-align: left;
	padding: 5px 15px;
}

.btn.title
{
	width: 100%;
	border-radius: 0;
	border-top: 1px solid rgba(0,0,0,0.5) !important;
}

.chat-box .arrow-box-left.pub
{
	margin-left: 0px !important;
}

.top-menu
{
	margin-top: 7px !important;
}

.top-menu li a
{
	opacity: 0.5;
}

.top-menu li.active a
{
	opacity: 1;
}

input[type=checkbox].css-checkbox {
	  position: absolute; 
    overflow: hidden; 
    clip: rect(0 0 0 0); 
    height:1px; 
    width:1px; 
    margin:-1px; 
    padding:0;
    border:0;
}

input[type=checkbox].css-checkbox + label.css-label {
	padding-left:20px;
	height:15px; 
	display:inline-block;
	line-height:15px;
	background-repeat:no-repeat;
	background-position: 0 0;
	font-size:15px;
	vertical-align:middle;
	cursor:pointer;
}

input[type=checkbox].css-checkbox:checked + label.css-label {
	background-position: 0 -15px;
}

.css-label{
	background-image:url(http://csscheckbox.com/checkboxes/dark-check-green.png);
}

.qtip
{
	line-height: 18px !important;
	font-size: 12px !important;
}

.page-error
{
	text-align: center;
	margin-top: 50px;
}

.sub-modal ul
{
	margin: 0;
}

/*specific classes related to Checkbox skins*/

.alert {
	background: rgb(248,233,187); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(248,233,187,1) 0%, rgba(246,225,164,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(248,233,187,1)), color-stop(100%,rgba(246,225,164,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(248,233,187,1) 0%,rgba(246,225,164,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(248,233,187,1) 0%,rgba(246,225,164,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(248,233,187,1) 0%,rgba(246,225,164,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(248,233,187,1) 0%,rgba(246,225,164,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8e9bb', endColorstr='#f6e1a4',GradientType=0 ); /* IE6-9 */
    border: 1px solid #F1D276;
    box-shadow: 0 1px 2px #F9EDC9 inset, 0 1px 1px #DFDFDF;
	text-shadow: 0 1px 0 rgba(255,255,255,0.4);
    color: #A37F11;
	font-weight: normal;
}
.alert-info {
	background: rgb(222,232,242); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(222,232,242,1) 0%, rgba(204,220,234,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(222,232,242,1)), color-stop(100%,rgba(204,220,234,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(222,232,242,1) 0%,rgba(204,220,234,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(222,232,242,1) 0%,rgba(204,220,234,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(222,232,242,1) 0%,rgba(204,220,234,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(222,232,242,1) 0%,rgba(204,220,234,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dee8f2', endColorstr='#ccdcea',GradientType=0 ); /* IE6-9 */
    border: 1px solid #A8C3DC;
    box-shadow: 0 1px 2px #E9F0F6 inset, 0 1px 1px #DFDFDF;
    color: #3C6A95;
}
.alert-danger, .alert-error {
	background: rgb(236,181,172); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(236,181,172,1) 0%, rgba(232,163,151,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(236,181,172,1)), color-stop(100%,rgba(232,163,151,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(236,181,172,1) 0%,rgba(232,163,151,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(236,181,172,1) 0%,rgba(232,163,151,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(236,181,172,1) 0%,rgba(232,163,151,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(236,181,172,1) 0%,rgba(232,163,151,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ecb5ac', endColorstr='#e8a397',GradientType=0 ); /* IE6-9 */
    border: 1px solid #DE7E6D;
	border-top: none;
    box-shadow: none !important;
    color: #7D2A1C;
}
.alert-success {
	background: #D0E5C7;
	border: 1px solid #A3BF8B;
    /*box-shadow: 0 1px 2px #BCE075 inset, 0 1px 1px #DFDFDF;*/
	box-shadow: none !important;
    color: #2B3A0D;
}

.lite-green-check{background-image:url(http://csscheckbox.com/checkboxes/lite-green-check.png);}
.lite-blue-check{background-image:url(http://csscheckbox.com/checkboxes/lite-blue-check.png);}
.lite-gray-check{background-image:url(http://csscheckbox.com/checkboxes/lite-gray-check.png);}
.lite-cyan-check{background-image:url(http://csscheckbox.com/checkboxes/lite-cyan-check.png);}
.lite-orange-check{background-image:url(http://csscheckbox.com/checkboxes/lite-orange-check.png);}
.lite-red-check{background-image:url(http://csscheckbox.com/checkboxes/lite-red-check.png);}

.lite-x-cyan{background-image:url(http://csscheckbox.com/checkboxes/lite-x-cyan.png);}
.lite-x-gray{background-image:url(http://csscheckbox.com/checkboxes/lite-x-gray.png);}
.lite-x-blue{background-image:url(http://csscheckbox.com/checkboxes/lite-x-blue.png);}
.lite-x-orange{background-image:url(http://csscheckbox.com/checkboxes/lite-x-orange.png);}
.lite-x-red{background-image:url(http://csscheckbox.com/checkboxes/lite-x-red.png);}
.lite-x-green{background-image:url(http://csscheckbox.com/checkboxes/lite-x-green.png);}

.mac-style{background-image:url(http://csscheckbox.com/checkboxes/mac-style.png);}
.mario-style{background-image:url(http://csscheckbox.com/checkboxes/mario-style.png);}
.alert-style{background-image:url(http://csscheckbox.com/checkboxes/alert-style.png);}
.lite-plus{background-image:url(http://csscheckbox.com/checkboxes/lite-plus.png);}
.dark-plus{background-image:url(http://csscheckbox.com/checkboxes/dark-plus.png);}
.dark-plus-cyan{background-image:url(http://csscheckbox.com/checkboxes/dark-plus-cyan.png);}
.dark-plus-orange{background-image:url(http://csscheckbox.com/checkboxes/dark-plus-orange.png);}
.dark-check-cyan{background-image:url(http://csscheckbox.com/checkboxes/dark-check-cyan.png);}
.dark-check-green{background-image:url(http://csscheckbox.com/checkboxes/dark-check-green.png);}
.dark-check-orange{background-image:url(http://csscheckbox.com/checkboxes/dark-check-orange.png);}

.depressed-lite-small{background-image:url(http://csscheckbox.com/checkboxes/depressed-lite-small.png);}
.elegant{background-image:url(http://csscheckbox.com/checkboxes/elegant.png);}
.depressed{background-image:url(http://csscheckbox.com/checkboxes/depressed.png);}
.chrome-style{background-image:url(http://csscheckbox.com/checkboxes/chrome-style.png);}
.web-two-style{background-image:url(http://csscheckbox.com/checkboxes/web-two-style.png);}
.vlad{background-image:url(http://csscheckbox.com/checkboxes/vlad.png);}
.klaus{background-image:url(/img/klaus.png);}

input[type=checkbox].css-checkbox.med + label.css-label.med {
	padding-left:22px;
    height:17px; 
	display:inline-block;
	line-height:17px;
	background-repeat:no-repeat;
	background-position: 0 0;
	font-size:15px;
	vertical-align:middle;
    cursor:pointer;
}

input[type=checkbox].css-checkbox.med:checked + label.css-label.med {

    background-position: 0 -17px;
}
input[type=checkbox].css-checkbox.sme + label.css-label.sme {
	padding-left:22px;
    height:16px; 
	display:inline-block;
	line-height:16px;
	background-repeat:no-repeat;
	background-position: 0 0;
	font-size:15px;
	vertical-align:middle;
    cursor:pointer;
}

input[type=checkbox].css-checkbox.sme:checked + label.css-label.sme{

    background-position: 0 -16px;
}
input[type=checkbox].css-checkbox.lrg + label.css-label.lrg {
	padding-left:22px;
    height:20px; 
	display:inline-block;
	line-height:20px;
	background-repeat:no-repeat;
	background-position: 0 0;
	font-size:12px;
	vertical-align:middle;
    cursor:pointer;
}

input[type=checkbox].css-checkbox.lrg:checked + label.css-label.lrg{

    background-position: 0 -20px;
}

/* USER */

.user-info
{
	margin: 5px 0px;
}

.user-info h2
{
	font-size: 14px;
}

#userSettings ul
{
	margin: 0;
	padding: 0;
	clear: both;
}

#userSettings ul > li
{
	width: 140px;
	float: left;
}

#userSettings ul li:first-child
{
	margin-top: 4px;
}

#user_save_button
{
	width: 200px;
	cursor: pointer;
}

.box-content.user
{
	padding: 20px;
}

.pdfire-theme ul
{
	margin: 0px;
}

.pdfire-theme ul li
{
	float: left;
	margin-right: 10px;
}

.pdfire-theme .box
{
	background: rgba(0,0,0,0.5);
	border: 1px solid rgba(0,0,0,0.2);
	padding: 90px;
	opacity: 0.4;
}

.pdfire-theme .box.blue
{
	background: #8CC9EF;
}

.pdfire-theme .box:hover
{
	opacity: 1 !important;
	cursor: pointer;
}

.pdfire-theme .box h4
{
	color: #fff;
	padding-top: 0px;
}

/* SUBSCRIPTION */

#subtable th
{
	/*background: #e2e2e2;*/
}

#useradd ul
{
	margin: 0;
	padding: 0;
	clear: both;
}

#useradd ul li
{
	float: left;
	margin-top: 2px;
}

#useradd ul li:first-child
{
	width: 140px;
	margin-top: 4px;
}

#useradd h3
{
	margin-bottom: 20px;
	font-size: 20px;
}

#useradd select
{
	width: 268px;
}

#useradd .btn
{
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.sorting_asc {
    background: url("/img/asc.gif") no-repeat scroll right center rgba(0, 0, 0, 0);
}

.sorting_desc {
    background: url("/img/desc.gif") no-repeat scroll right center rgba(0, 0, 0, 0);
}

.pre-list
{
	width: 350px;
	height: 182px;
	border: 1px solid rgba(0,0,0,0.2);
	float: left;
	overflow: hidden;
	overflow-y: scroll;
	padding: 5px;
	padding-top: 2px;
}

.pre-list ul
{
	padding: 10px;
}

.pre-list ul li, .pre-list ul li:first-child
{
	float: left;
	width: 310px !important;
	border: 1px solid rgba(0,0,0,0.1);
	padding: 10px;
	margin-bottom: 2px;
	background: rgba(0,0,0,0.03);
	padding-left: 10px !important;
}

.del-sub
{
	background: url(/img/icons2/delete.png) no-repeat;
	float: right;
	width: 16px;
	height: 16px;
	margin-top: 2px;
	cursor: pointer;
}

.box.subscriptions, .box.subscriptions .tab-content
{
	overflow: visible;
}

.box.subscriptions .dropdown-toggle
{
	padding: 3px;
	padding-left: 5px;
	padding-right: 5px;
	line-height: 18px;
}

.btn-group
{
	font-family: 'Open Sans';
	/*text-transform: uppercase;*/
	font-weight: 600;
	color: #fff;
	font-size: 11px;
}

.btn .caret
{
	margin-top: 8px;
	margin-left: 2px;
}

#subtable.dataTable td
{
	padding-top: 10px;
}

#subtable.dataTable td:nth-child(7)
{
	padding-top: 7px !important;
}


.dropdown-menu > li > a {
	font-family: 'Open Sans' !important;
	font-weight: 600 !important;
    clear: both;
    color: #333333;
    display: block;
    font-weight: normal;
    line-height: 20px;
    padding: 3px 10px !important;
    white-space: nowrap;
	font-size: 12px;
}

.dropdown-menu > li img
{
	margin-right: 7px !important;
}

/* MAGAZINE */

#magazine {
	overflow: hidden;
}

#magazine .subscription_type select {
	width: 200px;
}

#magazine .subscription_type .price {
	width: 35px;
}

#magazine_save_button
{
	width: 170px;
	margin-top: 20px;
}

#magazine_description, #magazine_name
{
	width: 503px;
}

#magazine_update_button:hover
{
	cursor: pointer;
}

#magazineCode h3
{
	margin: 0;
	margin-bottom: 10px;
}

#magazineCode b
{
	font-size: 12px;
	color: rgba(0,0,0,0.8);
}

#magazineCode h4
{
	font-size: 14px;
	font-weight: bold;
	font-style: italic;
	margin: 0;
	margin-bottom: 10px;
	margin-top: 10px;
}

#magazineCode i
{
	font-size: 12px;
	font-weight: normal;
	font-style: normal;
	
}

#magazineCode .well
{
	padding: 10px;
	margin-bottom: 10px;
	width: 140px;
	/*
	background: rgba(248,233,187, 0.4) !important;
	border: 1px solid rgba(165,142,64,0.2);
	*/
}

#edit_magazine_description
{
	width: 100% !important;
}

#edit_magazine_name
{
	width: 100%;
	height: 36px;
	
}

#edit_magazine_name, #edit_magazine_description
{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.accordion-toggle
{
	padding-left: 20px !important;
}

.accordion-inner.np
{
	border: none !important;
	padding: 0 !important;
}

.accordion-inner textarea
{
	width: 100%;
	padding: 10px;
	padding-bottom: 0px;
	border: 0 !important;
}

.magazine, .publication
{
	border: 1px solid rgba(0,0,0,0.2);
	position: relative;
	height: 340px;
}

.magazine .overlay, .publication .overlay
{
	position: absolute;
	height: 100%;
	width: 100%;
}

.magazine .overlay h2, .publication .overlay h2
{
	font-family: 'Open Sans';
	position: absolute;
	display: none;
	left: 25%;
	top: 40%;
	color: #fff;
}

.recent-publications li:first-child
{
	padding-top: 0px;
}

p.mail a
{
	color: #fff !important;
}

p.mail a:hover
{
	text-decoration: underline;
}

p.mail i
{
	padding-right: 8px;
	color: rgba(255,255,255,0.1);
}

p.mail a:hover i
{
	color: #fff !important;
}

/*
.magazine .overlay:hover h2, .publication .overlay:hover h2
{
	display: inline;
	transition: 2s;
}

.magazine .overlay:hover, .publicatin .overlay:hover
{
	background: rgba(58,146,186, 0.9);
	transition: 0.5s;
}
*/

.mtitle
{
	color: #000;
}

.magazine:before
{
	-webkit-filter: hue-rotate(240deg) saturate(3.3);
	background: rgba(0,0,250,0.1);
}

.magazine img:hover:before
{
	-webkit-filter: hue-rotate(240deg) saturate(3.3);
	background: rgba(0,0,250,0.2);
}

.subMagazine
{
	float: left;
	padding-right: 50px;
	padding-left: 50px;
	padding-bottom: 30px;
	padding-top: 0px;
	border: 1px solid transparent;
	border-bottom: 1px dashed rgba(50,50,50,0.1);
}

.subMagazine.sp
{
	border-right: 1px dashed rgba(50,50,50,0.1);
	padding-right: 50px;
	padding-left: 5px;
	padding-bottom: 30px;
	padding-top: 0px;
	border-bottom: 1px dashed rgba(50,50,50,0.1);
	/*margin-left: 50px;*/
}

.subMagazine .link
{
	float: left;
	border: 1px solid rgba(50,50,50,0.2);
	box-shadow: 1px 1px 5px rgba(50,50,50,0.2);
	margin-left: 5px;
	margin-right: 20px;
}

.subMagazine .mag-info
{
	margin-top: 10px;
	float: right;
}

.subMagazine .mag-content
{
	background: rgba(50,50,50,0.08);
	border: 1px solid rgba(50,50,50,0.2);
	padding: 25px;
	padding-left: 20px;
}

.subMagazine #subscriptionInfo
{
	float: left;
	width: 180px;
}

.subMagazine a
{
	width: 135px;
	font-size: 11px;
	float: left;
	margin-left: 14px;
	padding: 5px;
	text-transform: none;
}

.subMagazine a:hover
{
	text-decoration: underline;
}

.subMagazine .button:first-child
{
	margin-left: 0px;
}

#readPublications .magGridPage
{
	float: left;
	margin-bottom: 20px;
	width: 133px;
	text-align: center;
	opacity: 0.9;
}

#readPublications .magGridPage:hover {
	opacity: 1;
}

.publish {
	/*margin-top: 20px;*/
}

.stats {
	/*float: right;*/
	
	/*margin-top: -10px;*/
}

.stats img {
	float:left;
	/*margin-top: 2px;
	margin-right: 5px;*/
}

.stats ul {

}

.stats ul li {
	/*float: left;*/
	padding-left: 20px;
	padding-right: 20px;
	border-right: 1px solid rgba(0,0,0,0.2);
	border-left: 1px solid rgba(255,255,255,0.8);
}

.stats ul li a:hover
{
	color: rgba(0,0,0,0.8);
	text-decoration: underline;
}

.stats ul li:last-child
{
	padding-right: 0px;
	border-right: 0px;
}

.stats ul li:first-child
{
	border-left: 0px;
}

i.pr
{
	padding-right: 8px;
}

/* PUBLICATION */

#publication {
	overflow: hidden;
}

.page_control {
	border: 1px solid #aaa;
	border-left: none;
	height: 20px;
	position: absolute;
	right: 0px;
	width: 20px;
	z-index: -1;
}

.page_control.move {
	background: #fff url(/img/icons/arrow_nsew.png) center no-repeat;
	cursor: move;
	top: 0;
}

.page_control.swap {
	background: #fff url(/img/icons/arrow_refresh.png) center no-repeat;
	border-top: none;
	top: 0px;
}

.page_control.delete {
	background: #fff url(/img/icons/bin_empty.png) center no-repeat;
	border-top: none;
	top: 22px;
}

/* PUBLICATIONS */

#fake_text {
	color: #000;
	overflow: hidden;
	padding: 2px 0 0 5px;
	white-space: nowrap;
	width: 200px;
}

#fake_upload {
	background: url(/img/file_browse.png) no-repeat;
	float: left;
	height: 40px;
	position: relative;
	width: 280px;
}

.progress-label {
	float: left;
	font-family: 'Open Sans';
	font-weight: 600;
	margin-top: -1px;
	text-align: center;
	text-shadow: 1px 1px 0 #fff;
	white-space: nowrap;
	width: 100%;
	position: absolute;
}

.info-publication
{
	margin: 10px 0px;
	padding: 10px;
	background: rgba(0,0,0,0.05);
	border: 1px solid rgba(0,0,0,0.2);
	margin-top: 3px;
	margin-bottom: 20px;
}

.progress.active .progress-bar {
    animation: 2s linear 0s normal none infinite progress-bar-stripes;
}
.progress-striped .progress-black {
    background-color: #666666;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0));
}
.progress .progress-bar {
    border-radius: 8px;
    box-shadow: none;
    height: 100%;
}
.progress-striped .progress-bar {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0));
    background-size: 40px 40px;
}
.progress-black {
    background-image: linear-gradient(to bottom, #666666 0%, #4C4C4C 100%);
    background-repeat: repeat-x;
    border: 1px solid #3F3F3F;
}
.progress-bar {
    background-color: #428BCA;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15) inset;
    color: #FFFFFF;
    float: left;
    font-size: 12px;
    height: 100%;
    line-height: 20px;
    text-align: center;
    transition: width 0.6s ease 0s;
    width: 0;
}

#edit_publication_description
{
	/*overflow-y: scroll;*/
	width: 100% !important;
}
#publication_date {
	width: 132px;
}

#publication_name {
	width: 274px;
}

#publication_time {
	width: 132px;
}

#publication_description {
	width: 274px;
}

#publications .thumb
{
	width: 163px;
	opacity: 0.9;
}

#publications .thumb:hover
{
	opacity: 1;
}

#publications .thumb img
{
	/*width: 116px;*/
}

#upload {
	cursor: pointer;
	filter: alpha(opacity=0);
	opacity: 0;
	position: absolute;
	right: 0;
}

#upload_progress {
	display: none;
	float: left;
	height: 18px;
	width: 201px;
	margin-top: 20px;
	position: relative;
}

/* COOKIES */
#cookie_notification {
	background: rgba(0,0,0,0.8);
	text-align: left;
	color: #d9e3c4;
	text-shadow: 1px 1px 1px rgba(50,50,50,0.52);
	border-top: 1px solid rgba(0,0,0,0.5);
	box-shadow: 1px 1px 1px rgba(0,0,0,0.2);
	font-size: 11px;
	line-height: 18px;
	padding: 5px;
	padding-top: 10px;
	position: fixed;
	width: 100%;
	bottom: 0px;
	z-index: 950;
}

#cookie_notification a, #cookie_notification a:hover {
	color: #fff;
	text-decoration: underline;
}
#cookie_notification  .label{
	color: #fff;
	/*text-decoration: underline;*/
	display: inline;
}

#cookie_notification  #hide_cookie_link {
	background: #56B749;
	width: 80px;
	font-size: 10px;
	padding: 5px;
	display: inline;
	margin-left: 5px;
	margin-bottom: 5px;
	text-decoration: none;
}

@media only screen and (max-device-width: 480px)
{
	.span3
	{
		width: 25% !important;
	}
	
	.ls-s3, .inline-h2
	{
		font-size: 15px !important;
	}
	
	.ls-l3, .inline-h2
	{
		border: none !important;
	}
	
	.row.browser-list
	{
		margin-left: 70px;
	}
	
	.small_slogan
	{
		width: 85% !important;
		margin-left: 70px !important;
	}
	
	#footer .container .row
	{
		margin-left: 70px;
	}
	
	.copyright
	{
		margin-left: 90px;
	}
	
	.developed
	{	
		margin-right: 90px;
	}
	
	.container.contact
	{
		margin-left: 70px;
	}
		
	#layerslider .ls-s1, #layerslider .ls-s2, #layerslider .ls-s3
	{
		margin-left: 10px !important;
	}
	
	#layerslider.contact .ls-s1, #layerslider.contact .ls-s2, #layerslider.contact .ls-s3
	{
		margin-left: 58px !important;
	}
}

@media only screen and (device-width: 768px)
{

	#subtable th
	{
		font-size: 70%;
	}

	#subtable tr th:nth-child(4)
	{
		width: 50px !important;
	}
	
	.magazine-list
	{
		width: 720px;
	}
	
	.span10
	{
		margin-left: 2.85% !important;
		padding-right: 0px;
		margin-right: 0px;
	}
	
	.detail-holder
	{
		margin-left: 110px;
	}
	
	.detail-entry
	{
		padding: 15px;
	}
	
	.detail-holder .span3
	{
		width: 180px !important;
	}
	
	.content-title
	{
		text-align: center;
	}
	
	.subMagazine
	{
		width: auto;
		padding-right: 10px;
	}
	
	.subMagazine .mag-content
	{
		height: 170px;
		max-height: 170px;
	}
	
	.subMagazine #subscriptionInfo
	{
		width: 100px;
		font-size: 11px;
	}
	
	.subMagazine.sp
	{
		margin-left: 0px;
		padding-left: 10px;
	}
	
	#footer .container .row
	{
		margin-left: 51px;
	}
	
	#footer .copyright
	{
		margin-left: 78px;
	}
	
	#footer .developed
	{
		margin-right: 98px;
	}
	
}


#demoFooterContainer {
	position: fixed;
	background: #fff;
	bottom: 0px;
	height: 60px;
	width: 100%;
	border-top: 1px solid rgba(50,50,50,0.1);
}

#demoFooter {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

#demo_email_button {
	position: relative;
	float: right;
	margin-top: 8px;
}

#demoFooterContent {
	display: inline-block;
	width: 500px;
	font-size: 14px;
}

#demoFooterText {
	position: relative;
	top: 18px;
}

/* lang stuff */
#menuLang {
	min-width: 150px;
	margin-bottom: 6px;
}

.langImgBtn {
	position:relative;
	height:40px;
	width:40px;
	top:-1px;
}

.langselect {
	cursor:pointer;
	height:40px;
	width:100%;
}

.langFlagWide {
	width:60px; 
	height:40px;
}

.langFlagWideImg {
	width:100%; 
	height:100%;
}

.langFlagText {
	font-size:14px; 
	margin: 8px;
}