* {
	box-sizing:border-box;
}

/* ***********************************

# brand_light: #00a4f0
# brand_dark: #028ad2

*********************************** */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.clearfix {
    *zoom: 1;
}

/* *********** BASE STYLES *********** */

img {
	max-width: 100%;
}

html, body {
			margin: 0;
			padding: 0;
			background: #efefef;
}
		
body {
	font-family: Lato;
	font-size: 16px;
	line-height: 1.5;
	min-width: 600px;
}

.container {	
	min-width: 1000px;
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
}

.left {
	width: 30%;
	float: left;
}

.right {
	background: #fff;
	float: right;
	width: 70%;
	padding: 20px;
	min-height: 100%;
}

.header {
	background: #028ad2;
	color: #fff;
	font-weight: 100;
	font-size: 1.3rem;	
}

.header .left > div {
	text-align: center;
	width: 100%;
	padding: 10px;
	padding-top: 15px;
	max-width: 350px;
	float: right;	
}

.btn-home {
	text-align: center;
}

.btn-home::before {
	content : '';
	display: inline-block;
	height: 80px;
	width: 80px;
	background: transparent url(../img/regulus-logo-80.png) no-repeat top left;
}

.regulus .btn-home span {
	display: none;
} 

.header a {
	color: #fff;
	text-decoration: none;
}
.header .right {
	position: relative;
	background: #00a4f0;
	height: 100%;
}

.main .left .sidebar {
	width: 100%;
	padding: 20px;
	max-width: 350px;
	float: right;	
}

.main {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#1e5799+0,1e5799+31,ffffff+32,ffffff+90,ffffff+90,ffffff+100 */
	background: #EFEFEF; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: -moz-linear-gradient(left,  #EFEFEF 0%, #EFEFEF 30%, #ffffff 30.1%, #ffffff 90%, #ffffff 90%, #ffffff 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,#EFEFEF), color-stop(30%,#EFEFEF), color-stop(30.1%,#ffffff), color-stop(90%,#ffffff), color-stop(90%,#ffffff), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left,  #EFEFEF 0%,#EFEFEF 30%,#ffffff 30.1%,#ffffff 90%,#ffffff 90%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left,  #EFEFEF 0%,#EFEFEF 30%,#ffffff 30.1%,#ffffff 90%,#ffffff 90%,#ffffff 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left,  #EFEFEF 0%,#EFEFEF 30%,#ffffff 30.1%,#ffffff 90%,#ffffff 90%,#ffffff 100%); /* IE10+ */
	background: linear-gradient(to right,  #EFEFEF 0%,#EFEFEF 30%,#ffffff 30.1%,#ffffff 90%,#ffffff 90%,#ffffff 100%); /* W3C */
}

h1.header-title {
	padding: 10px;
	padding-right: 100px;
	font-weight:100;
	font-size: 2rem;
	margin: 0;
	max-width: 70rem;
}

.article-title {
	display: none;
	color: #fff;
	background: #00a4f0;
	_margin: -100px 0 20px 0;
	padding: 10px;
	font-weight:100;
	max-width: 50rem;
}

.article-content {
	padding: 20px;
	max-width: 50rem;
}

/* Change language */

#backLang{
	display: none;
 	font-weight: bold;
}

#changeLang{
	display:inline;
	font-weight: bold; 
	margin-top: 10px; 
	text-align: right; 
	text-decoration: underline; 
	color: #ffffff;
	float: right;
}

.footer {
	text-align: center;
	padding: 20px 0;
	color: #797979;
}

.footer p {
	margin: 0;
}


hr {
	border: none;
	height: 0;
	border-bottom: 1px solid #bbb;
}
/* end(base_styles) */



/* *********** CATEGORY TREE *********** */

#tree {
	padding: 0;
	margin: 0;
	list-style-type: none;
}


#tree a {
	display: block;
	font-size: 14px;
	padding: 4px;
	color: #333;
	text-decoration: none;
}

#tree a:hover {
	color: #000;
}

#tree .subtree {
	list-style-type: none;
	padding-left: 15px;
	font-size: 0.9em
}

#tree .node > a::before {
	content: "\f196";
	display: inline-block;
	width: 15px;
	font-family: FontAwesome;
}


#tree .open.node > a::before {
	content: "\f147";
}


#tree .node > ul {
	overflow:hidden;
	height: 0;
}

#tree .open > ul {
	height: auto;
}


#tree .current {
	font-weight: bold;
	
}

#tree .current::before {
	content: '\00BB ';
	padding-right: 5px;
}
/* end(tree) */


/* *********** LOGIN FORM *********** */

.login {
	margin: 0;
	padding: 0;
	min-height: 100%;
	background: #efefef; /* Old browsers */
	background: -moz-radial-gradient(center, ellipse cover,  #efefef 0%, #A7A7A7 100%); /* FF3.6+ */
	background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#efefef), color-stop(100%,#A7A7A7)); /* Chrome,Safari4+ */
	background: -webkit-radial-gradient(center, ellipse cover,  #efefef 0%,#A7A7A7 100%); /* Chrome10+,Safari5.1+ */
	background: -o-radial-gradient(center, ellipse cover,  #efefef 0%,#A7A7A7 100%); /* Opera 12+ */
	background: -ms-radial-gradient(center, ellipse cover,  #efefef 0%,#A7A7A7 100%); /* IE10+ */
	background: radial-gradient(ellipse at center,  #efefef 0%,#A7A7A7 100%); /* W3C */
}

.login body {
	background: transparent;
}


.login .header {
	background: transparent;
	color: #333;
	font-size: 30px;
	font-weight: 100;
	padding: 50px 0 0;
}

.login .container {
	min-width: 300px;
	max-width: none;
	width: 95%;
}


.login-page {
	max-width: 400px;
	margin: 0 auto 30px;
}

#loginForm {
	display: block;
	padding: 30px;
	
	max-width: 300px;
	margin: 0 auto 30px;
	background: #eee;
	border: 1px solid #e0e0e0;
}

.form-group {
	padding: 10px 0;
	position: relative;
}

.login-header {
	text-align: center;
	margin-bottom: 3rem;
}

.login-header .regulus-logo {
	display: inline-block;
	background: transparent url(../img/regulus-logo-60.png) top left no-repeat;
	height: 60px;
	line-height: 60px;
	padding: 0;
	padding-left: 80px;
	text-align: left;
	font-size: 1rem;
	white-space: nowrap;
}

label {
	cursor: pointer;
	position: absolute;
	top: 20px;
	left: 10px;
	width: 20px;
	height: 20px;
	font-size: 20px;
	line-height: 20px;
}

label .fa {
	display: inline-block;
}

label .label {
	display: none;
}

input {
	font-size: 15px;
	line-height: 20px;
	border: 1px solid #ddd;
	border-radius:2px;
	padding: 10px;
	padding-left: 40px;
	width: 100%;
}

input[type=submit]
 {
	background: #00a4f0;
	border: 1px solid #028ad2;
	color: #fff;
	padding: 10px;
}

.text-center {
	text-align: center;
}

.alert {
	display: block;
	margin: 0 auto;
	padding: 20px;
	text-align: center;
	
	background: #eb7373;
	border: 1px solid #eb7373;
	background: #ed8e8e;
	color: #fff;
}

.login .alert {
	padding: 20px;
	max-width: 300px;
	text-align: center;
}
/* end(login_form) */

/* *********** RAW ARTICLE *********** */
.raw-article .container {
	min-width: 95%;
	width: 95%;
	max-width: 95%;
	padding: 40px;
}

.raw-article .container {
	padding: 20px;
}
.raw-article .header {
	background: #00a4f0;
	color: #fff;
	padding: 20px 0;
	
	text-align: left;
	font-weight: 100;
}

.raw-article .content {
	float: none;
	width: 100%;
}

.raw-article .content {
	padding: 20px 0;
	background: #fff;
}

.raw-article .footer {
	margin: 0;
}

.raw-article .container {
	width: 95%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 20px;
}
/* end(raw_article) */

/* *********** LOGOUT *********** */

.btn {
	display: inline-block;
}

.btn-primary {
	background: #00a4f0;
	border: 1px solid #028ad2;
	color: #fff;
	padding: 20px;
	text-decoration: none;
}

.btn-primary:hover {
	box-shadow: 0 0 20px rgba(255,255,255,.4);
}

.btn-logout {
	text-align: center;
	border: 1px solid rgba(0,0,0,.1);
	border-radius: 5px;
	background: rgba(0,0,0,.05);
	text-decoration: none;
	color: #333;
	width: 40px;
	margin: 30px;
	height: 40px;
	text-indent: 40000px;
	overflow: hidden;
	position: absolute;
	right: 0;
	top: 0;
}

.btn-logout::before {
	font-family: FontAwesome;
	content: '\f011';
	display: inline-block;
	position: absolute;
	text-indent: 0;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	line-height: 40px;
	font-size: 20px;
	text-align: center;
}

.btn-logout:hover {
	box-shadow: 0 0 3px rgba(0,0,0,.1);
}

.btn-logout .fa {
	display: inline-block;
	width: 30px;
}


.footer-buttons {
	padding: 20px 0;
	margin-top: 20px;
	border-top: 1px solid #ddd;
}

.raw-article .footer-buttons {
	margin-bottom: 20px;
}

.footer-buttons .back-button,
.footer-buttons .top-button {
	display: block;
	width: 30px;
	height: 30px;
	font: 0/0 a;
	color: transparent;
	text-indent: 300px;
	overflow: hidden;
	background: url(../img/footer_buttons_sprite.png) no-repeat top center #ccc;
	border: 1px solid #bebebe;
	border-radius: 2px;
	transition: all .3s ease-in-out;
}

.footer-buttons .back-button:hover,
.footer-buttons .top-button:hover {
    background-color: #00A4F0;
    border-color: #028AD2;
}

.footer-buttons .back-button {
	float: left;
	background-position: top left;
}
.footer-buttons .top-button {
	float: right;
	background-position: top right;
}

.sidebar .module {
	border-bottom: 1px solid #ddd;
	padding: 20px 0;
}

.sidebar .module:last-child {
	border:none;
}



.sidebar .search-form {
	width: 100%;
	height: 40px;
	padding: 0 ;
	margin: 0;
	border: none;
	position: relative;
}

.sidebar .search-form input {
	line-height: 40px;
	height: 40px;
}

.sidebar .search-form .query {
	background: #f1f1f1;
	border-radius: 5px;
	transition: all .3s ease;
	padding: 0 50px 0 10px;
	
}

.sidebar .search-form .query:hover {
    background: #f5f5f5;
    border-radius: 5px;
    border-color: rgba(0,0,0,.5);
}


.sidebar .search-form .query:focus {
	background: #fff;
	border-radius: 5px;
	outline: none;
	border-color: #028ad2;
}

.sidebar .search-form .submit {
	position: absolute;
	top: 0;
	right: 0;
	padding: 0;
	border: 0;
	display: block;
	width: 40px;
	height: 40px;
	overflow: hidden;
	font: 0/0 a;
	color: transparent;
	text-indent: 40em;
	background: url(../img/search_button_sprite.png) no-repeat top center;
	
}

.sidebar .search-form .submit:hover {
	background-position: bottom center;
}

.search-form {
	height: 70px;
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid #ebebeb;
	position: relative;
}

.search-form input {
	line-height: 50px;
}

.search-form .query {
	width: 100%;
	height: 50px;
	padding: 0 20px;
	background: #f1f1f1;
	font-weight: bold;
}

.search-form .submit {
	position: absolute;
	top: 0;
	right: 0;
	padding: 0 30px;
	height: 50px;
	width: auto;
	text-transform: uppercase;
	font-weight: bold;
}

.permalink {
  color: #999;
  margin-bottom: -10px;
}

.permalink a {
  color: #888;
  text-decoration: none;
  margin: 0 5px;
}

.permalink a:hover {
  color: #444;
}


.permalink img {
  vertical-align: top;
  margin-top: 5px;
  
}

/** Tables **/

table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}
table > thead > tr > th,
table > tbody > tr > th,
table > tfoot > tr > th,
table > thead > tr > td,
table > tbody > tr > td,
table > tfoot > tr > td {
  padding: 8px;
  line-height: 1.42857143;
  vertical-align: top;
  text-align: left;
  border-top: 1px solid #dddddd;
}
table > thead > tr > th {
  vertical-align: bottom;
  border-bottom: 2px solid #dddddd;
}
table > caption + thead > tr:first-child > th,
table > colgroup + thead > tr:first-child > th,
table > thead:first-child > tr:first-child > th,
table > caption + thead > tr:first-child > td,
table > colgroup + thead > tr:first-child > td,
table > thead:first-child > tr:first-child > td {
  border-top: 0;
}
table > tbody + tbody {
  border-top: 2px solid #dddddd;
}



@media screen and (max-width: 499px){
    .btn-home span {
        display: none;
    }
    
}

@media screen and (min-width: 500px) and (max-width: 884px){
	.btn-home span {
		display: block;
		font-size: .8em;
		line-height: 1.4;
	}
	
	.header .left > div {
	   padding-top: 10px;
	}
	.btn-home {
	   line-height: 1.2;
	}
	
	.btn-home::before {
	    content : '';
	    display: inline-block;
	    height: 60px;
	    width: 60px;
	    background: transparent url(../img/regulus-logo-60.png) no-repeat top left;
	}
}

@media screen and (min-width: 885px) {
	
	.header .left {
		text-align: center;
	}
	
	.header .left > div {
       padding-top: 15px;
    }
	
	

    .btn-home span {
        line-height: 80px;
    }
	
	.btn-home::before {
		vertical-align: top;
		margin-right: 20px;
	}
	
	.btn-home::before {
        content : '';
        display: inline-block;
        height: 80px;
        width: 80px;
        background: transparent url(../img/regulus-logo-80.png) no-repeat top left;
    }
}


