/*         GENERAL			*/

html {
	height: 100%;
}

body {
	margin: 0 auto;
	background-color: #f5f5f5;
	height: 100%;
	background-repeat: no-repeat;
	font-family: Segoe UI, Verdana;
	/*font-family: Verdana, Helvetica, Geneva;*/
	font-size: 14px;
    line-height: 16px;
}

.back {
    position: fixed;
    left: 175px;
    top: 80px;
    cursor: pointer;
    z-index: 3;
}

.back img {
    width: 40px;
    height: auto;
}

#content a {
	color: #6666ff;
	text-decoration: none;
	font-family: Verdana, Helvetica, Geneva;
	font-size: 14px;
}

textarea {
    border: 1px solid #6b6b6b;
	padding: 2px;
	margin: 1px;
}

input[type=text], input[type=password] {
	height: 15px;
	border: 1px solid #6b6b6b;
	padding: 2px;
	margin: 1px;
}

input[type=text]:focus, input[type=password]:focus, textarea:focus {
	border: 1px solid #0099e5;
}

input[type=button], input[type=submit] {
	cursor: pointer;
	color: white;
	background-color: #0099e5;
	border: 1px solid #6b6b6b;
}

input[type=button]:hover, input[type=submit]:hover {
	border: 1px solid #6b6b6b;
	background-color: #007ab7;
}

input[type=button]:active, input[type=submit]:active {
	border: 1px solid #6b6b6b;
	background-color: #005580;
}

h1 {
	margin-top: 12px;
	margin-bottom: 6px;
	font-weight: normal;
	font-size: 26px;
	color: #262626;
}

h2 {
    margin-top: 16px;
    margin-left: 0px;
	margin-bottom: 8px;
	font-weight: normal;
    font-size: 20px;
	color: #111;
}

h3 {
    margin-top: 14px;
    margin-left: 0px;
    margin-bottom: 6px;
    font-size: 16px;
	font-weight: normal;
	color: #111;
}

h4 {
	font-weight: normal;
	font-size: 15px;
	color: #595959;
}

.category, .userCategory {
    cursor: pointer;
}

.card, .article, .project {
    box-sizing: border-box;
    border: 1px solid #eeeeee;
    box-shadow: 2px 2px 2px #eeeeee;
    background-color: white;
    border-radius: 2px;
    display: block;
	margin: 8px auto;
    padding: 5px;
    z-index: 0;
	overflow: hidden;
}

.full {
	width: 100%;
}

.verticalign {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}

.inline {
	display: inline;
}

.authoring {
	font-size: 12px;
	color: #6b6b6b;
	font-style: italic;
	margin-top: 5px;
}

.note {
	font-size: 12px;
	color: #6b6b6b;
	margin-top: 5px;
}

.alpha {
	background-color: rgba(0, 0, 0, 0.0);
}

.align-image-center {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 4px;
	margin-top: 2px;
}

.align-image-left {
	display: block;
	float: left;
	margin-left: 5px;
	margin-right: 10px;
    margin-bottom: 0px;
	margin-top: 0px;
}

.align-image-right {
	display: block;
	float: right;
	margin-left: 10px;
	margin-right: 5px;
    margin-bottom: 0px;
	margin-top: 0px;
}

/*         CONTENT			*/

#content {
	margin: 0 auto;
	width: 74%;
	padding: 5px;
	padding-top: 70px;
}

#filters {
	float: right;
}

/*         HEADER			*/

#nav {    
    background-color: #3B5998; /* #111 */
    /*box-shadow: 1px 0px 3px 3px #eee;*/
    height: 65px;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
}

#nav > a, .dropdown > a {
    height: 35px;
    line-height: 35px;
    padding: 15px 25px 15px 25px;
    text-decoration: none;
    font-size: 22px;
    display: inline-block;
    color: white;
    text-align: center;
}

#nav a:hover {
    background-color: #ededed;
	color: black;
}

.active {
	background-color: #2f4779; /* #0099e5 */
	color: white;
}

.active:hover {
	background-color: #ededed;
	color: black;
}

.dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.dropdown-content {
    background-color: #111;
    position: absolute;
    display: none;
    z-index: 2;
    width: 100%;
}

.dropdown:hover .dropdown-content {
    display: block;
    border-left: 1px solid #bebebe;
    border-right: 1px solid #bebebe;
    border-bottom: 1px solid #bebebe;
}

.dropdown-content a {    
    font-size: 20px;
    line-height: 25px;
    width: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
    text-decoration: none;
    display: block;
    color: white;
    text-align: center;
}

#login {
	position: fixed;
    right: 11px;
    top: 48px;
    text-decoration: underline;
    color: white;
    font-size: 11px;
    cursor: pointer;
}

#dark-page img {
	height: 15px;
	width: auto;
	margin-right: 5px;
	margin-top: 40px;
	cursor: pointer;
}

#darken {
	background: #000;
    opacity: 0.5;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 9998;
}

/*         FOOTER			*/

footer {
}

#contact, #copyright {    
	font-size: 10px;
	color: #6b6b6b;
}

#copyright {
	letter-spacing: -1px;
    position: fixed;
	left: 10px;
	bottom: 5px;
}

#contact {
    position: fixed;
	right: 10px;
	bottom: 5px;
    cursor: pointer;
    text-decoration: underline;
}

/*         ARTICLES			*/

.selection-text {
	box-sizing: border-box;
	margin-top: 2px;
	margin-bottom: 8px;
	margin-right: 2px;
    display: inline-block;
	overflow: hidden;
}


.article {
	width: 100%;
	padding-left: 10px;
	padding-right: 10px;
	position: relative;
}

.article-header {
    padding-top: 10px;
	border-bottom: 1px solid #f5f5f5;
	margin-bottom: 10px;
	display: inline-block;
	width: 100%;
}

.article-header h1 {
	display: inline;
}

.article-header-tools {
	display: inline;
	float: right;
}

.article-header img {
	width: 25px;
	height: auto;
	margin-top: 3px;
	margin-left: 5px;
}

.article-content {
	margin-bottom: 30px;
}

.article-content h1 {
    margin-bottom: 15px;
}

.article-content hr {
    border: 0; 
    height: 1px; 
    background: #c1c1c1;
}

.article-content a {
    color: #0099e5;
}

.article-footer {
	position: absolute;
	bottom: 5px;
}

/*         PROJECT			*/

.project {
	width: 95%;
	padding-left: 10px;
	padding-right: 10px;
	display: block;
	overflow: hidden;
    position: relative;
    z-index: 0;
}

.project-image {
	float: left;
    cursor: pointer;
	margin-right: 10px;
    width: 170px;
    height: 138px;
    background-size: cover;
    background-repeat: no-repeat;
}

/*
.project-image img {
    overflow: hidden;
	display: inline-block;
	width: 170px;
	height: 138px;
	border-radius: 2px;
    position: absolute;
    z-index: -1;
}*/

.project-header {
	border-bottom: 1px solid #f5f5f5;
	margin-bottom: 10px;
	display: inline-block;
	width: calc(100% - 180px);
	cursor: pointer;
}

.project-header h1, .project-header input {
    display: inline-block;
}

.project-header input {
    float: right;
    position: relative;
	top: 15%;
	transform: translateY(15%);
    width: 250px;
    height: 25px;
}

.project-content {
    margin-bottom: 20px;
}

.project-content h1 {
    font-size: 25px;
    color: black;
    font-family: helvetica;
}

.project-content h2 {
    color: black;
    font-family: helvetica;
}

.project a {
    color: #0099e5;
}

.project-footer {
	position: absolute;
	bottom: 5px;
    left: 190px;
    width: calc(100% - 200px);
}

.project-footer div {
    display: inline-block;
}

.project-state {
    color: #0099e5;
    text-transform: uppercase;
    float: right;
}

/*         POPUP MENU			*/

#user-space, #img-load, #video-load, #contact-form {
	display: none;
}

.mypopup {
	width: 300px;
	height: auto;
	position: fixed;
	left: calc(50% - 150px);
	top: calc(50% - 75px);
	background-color: white;
	text-align: center;
	border-radius: 2px;
	z-index: 9999;
	display: block;
}

#contact-form {
    width: 380px;
	height: 250px;
    left: calc(50% - 190px);
	top: calc(50% - 125px);
}

.mypopup-header {
	text-align: middle;
	margin: 5px;
}

.mypopup-footer {
    margin: 5px;
	text-align: middle;
}

.mypopup-footer input {
	margin-top: 2px;
	margin-right: 2px;
	margin-left: 2px;
	display: inline;
}

.mypopup-content {
	margin: 5px;
	text-align: left;
}

.mypopup-content label {
	display: block;
	width: 120px;
}

.mypopup-content-line {
	display: block;
	width: 100%;
	margin-top: 2px;
	margin-bottom: 6px;
}

.mypopup-content-line label,
.mypopup-content-line input,
.mypopup-content-line textarea {
	display: block;
    width: 97%;
    resize: none;
}

#stay-connected-label {
    display: block;
    padding-left: 15px;
    text-indent: -15px;
}

#stay-connected {
    display: inline;
    width: 13px;
    height: 13px;
    padding: 0;
    margin: 0;
    margin-right: 10px;
    vertical-align: bottom;
    position: relative;
    top: -1px;
    overflow: hidden;
}

#image-alignment {
	display: inline-block;
}

#image-alignment img {
	display: inline;
	width: 19px;
	height: 21px;
	cursor: pointer;
}

.alignmentSelected {
	padding-bottom: 2px;
	box-shadow: 0 3px 0 #0099e5;
}

#rss-feed {
    font-size: 13px;
    line-height: 16px;
    color: #818181;
    overflow: hidden;
}

.rss {
    display: block;
    margin-bottom: 10px;
}

.rss:hover .rss-title {
    text-decoration: underline;
}

.rss-date {
    font-style: italic;
    font-size: 11px;
}

.rss a {
    font-size: inherit;
    color: inherit;
    text-decoration: inherit;
    line-height: inherit;
}