
html,
body {
	font-family: "Roboto", "Helvetica Neue", Arial, "Opens Sans";
  margin: 0;
  padding:0;
  border:0;
  height: 100%;
  width: 100%;
}

/* Style the tab */
.tab {
  overflow: hidden;
  /*border: 1px solid #ccc;*/
  background-color: #f1f1f1;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  /*transition: 0.3s;*/
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: white;
  border: none;
  outline: none;
  border-top: 2px solid;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}

.no-spacing {
  padding:0; margin:0; border:0;
}

header {
  background: rgb(51,51,51);
  border: 1px solid rgb(11,11,11);
  width:100%;
  box-sizing : border-box;
  padding: 4px 5px;
}

header .menu {
    float:right;
/*    text-align: right;*/
	font-size: 16px;
	margin: 3px 0px;
}

header .image {
	float:left;
}

header .helper {
    height: 100%;
    display: inline-block;
    vertical-align: middle;
}

header img {
    vertical-align: middle;
    width:24px;
    height:24px;
}

nav a {
	color:white;
	margin:0px 0px 0px 10px;
	text-decoration: none;
}

nav a:hover {
	color:orange;
}

header:after {
	clear: both;
}

.teaser {
width:100%;
/*height: 500px;*/
max-height:500px;
min-height:45vh;
background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/a/ae/BallsRender.png/300px-BallsRender.png');
  background-size: cover;
background-repeat: no-repeat;
background-attachment: scroll;
background-position: center center;
/*test*/
background-image: url('/images/projects/image.jpg');
}

@media only screen and (max-width: 768px) {
  .teaser {
    min-height:30vh;
    background-image: url('/images/projects/image_low.jpg');
  }
}

@media only screen and (min-width: 300px) and (max-width: 169px){
  .teaser {
	background-size: cover;
	}
}

.container {
	width:60%;
	margin: 0 auto;
	margin-bottom: 10px;
	overflow: auto;
  /*min-width: 400px;*/
}

@media only screen and (max-width: 768px){
  .container {
  width: 75%;
  }
}

@media only screen and (max-width: 500px){
  .container {
  width: 90%;
  }
}

.container p {
	text-align: justify;
}

#footer {
  background: rgb(51,51,51);
  color:white;
  position: absolute;
  bottom: 0;
  width: 100%;
  vertical-align: middle;
  height: 2.5rem;            /* Footer height */
  display: flex;
  align-items: center;
}

#footer #social {
	float: left;
}

#footer #copyright {
    float: right;
    margin-left: auto;
}

#footer #rg-footer-links {
    margin-left: auto;
}

#footer #rg-footer-links a {
    color: white;
    text-decoration: none;
}

.rg-page-container {
  position: relative;
  min-height: 100vh;
}

.rg-content-wrap {
  padding-bottom: 2.5rem;    /* Footer height */
}

#try-btn {
	border-radius: 30px;
	background-color: #4CAF50; /* Green */
  background-color: rgb(182, 38, 37);
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
 	font-size: 16px;
  float:right;
  cursor: pointer;
}

#try-btn:hover
{
	/*opacity: 0.6;*/
	background-color: #3e8e41;
  background-color: rgb(132, 38, 37);
}

.fab.fa-github,
.fab.fa-twitter,
.far.fa-envelope {
    color: #fff;
    margin-left: 0px;
    margin-right: 5px;
}

.fab:hover
.far:hover {
    color: #a8a8a8;
}

.flex-container {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	/*justify-content: space-around;*/
	/*justify-content: space-between;*/
	/*align-content: space-between;*/
}

.flex-container img {
	margin : 10px;
}


/*                 Projects                             */


.projects-container {
	margin: 20px auto;
  margin-top: 86px;
	width:60%;
}

@media only screen and (max-width: 768px){
  .projects-container {
  width: 75%;
  }
}

@media only screen and (max-width: 500px){
  .projects-container {
  width: 90%;
  }
}

.projects-user-info {
overflow: auto;
border-bottom: 2px solid gray;
margin-bottom: 16px;
padding-bottom: 8px;
}

.user-name {
font-weight: bold;
font-size: 16pt;
font-size: 22pt;
}

.user-projects-num {
  background:gray;
  background: #aaa;
  float:right;
  width: 110px;
  /*overflow: auto;*/
  border-radius: 6px;
  /*padding-left: 6px;
  padding-top: 8px;*/
  padding: auto 6px;
  padding: 6px 10px;
  vertical-align: text-bottom;
  text-align: center;
  margin: auto 2px 0 2px;
}

.user-projects-new-project-btn {
	border-radius: 30px;
	background-color: #4a90e2;
	background-color: #4CAF50;
  border: none;
  color: white;
  padding: 6px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
 	font-size: 12pt;
  float:right;
  cursor: pointer;
  transition: 0.3s;
}

.user-projects-new-project-btn:hover
{
	/*opacity: 0.6;*/
	background-color: #185abc;
	background-color: #1a7a1e;
}
.user-projects-new-project-btn:focus, .user-projects-new-project-btn:active {
  outline: none;
}

.user-projects-new-project-btn[disabled] {
  opacity:0.1;
  background-color:#444;
  cursor: default;
}

.project-list {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: flex-start;
	/*justify-content: space-around;*/
	/*justify-content: space-between;*/
	/*align-content: space-between;*/
}


.project-container {
background:white;
background:#F0F0F0;
/*background:#E0E0E0;*/
/*overflow: hidden;*/
margin-bottom: 10px;
border-radius: 10px;
padding: 5px;
/*box-shadow: 5px 10px 10px #888888;*/
/*border: 1px solid #009900;*/
}

.project-thumbnail {
float:left;
margin : 0 10px;
margin-bottom: 5px;
}

.project-thumbnail div {
  border-radius: 8px;
  background: rgb(0,0,0);
  width:256px;
  height:192px;
  background-size: contain;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
  vertical-align: middle;

}

.project-thumbnail img {
  border-radius: 8px;
}

.project-info {
/*background:yellow;*/
overflow: hidden;
padding-top: 3px;
}

.project-info:before {
clear:both;
}
.project-options {
/*text-align: right;*/
/*overflow:hidden;*/
padding-top:6px;
}

.project-options::after {
  clear:both;
  content: "";
  display:table;
}

.project-options span {
  margin: 0 10px;
  font-size: 1.17em;
  font-weight: bold;
}

.project-options span[contenteditable]:hover {
  /*border: 1px dotted black;*/
  outline: 2px solid lightblue;
  background: rgba(0,0,20, 0.1);
  box-shadow: 0 0 3px #ddd;
}

.project-description p[contenteditable]:hover {
  outline: 2px solid lightblue;
  background: rgba(0,0,20, 0.1);
  /*box-shadow: 0 0 3px #ddd;
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);*/
}



/*.project-options span a{
  color:black;
  text-decoration: none;
}*/

.project-btn {
	margin-right:5px;
	background-color: rgb(51,51,51);
	border: none;
	color: white;
	padding: 6px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
 	font-size: 12pt;
  cursor: pointer;
  float:right;
  width:22pt;
  height:22pt;
  margin-top: -5px;
  position: relative;
  transition: 0.3s;
}

.project-btn:focus, .project-btn:active {
  outline:none;
}

.project-btn[disabled] {
  opacity:0.1;
  background-color:#444;
  cursor: default;
}

.project-btn-share {
  background: url(/images/share.png);
  background-size: cover;
}

.project-btn-copy {
  background: url(/images/copy.png);
  background-size: cover;
}

.project-btn-visible {
  background: url(/images/visible.png);
  background-size: cover;
}

.project-btn-invisible {
  background: url(/images/invisible.png);
  background-size: cover;
}

.project-btn-delete {
  background: url(/images/deletebin.png);
  background-size: cover;
}

.project-description {
/*background:green;*/
border: 1px solid gray;
padding: 5px;
height:14em;
overflow: auto;
min-width: 200px;
position:relative;
border-radius: 4px;
}

.project-description p {
  margin-top: 0;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  word-break: break-word;
}

.project-description.p:last-child {
  position:absolute;
  bottom:0;
  right:0;
  margin-right: 4px;
}

.project-description div {
  position:absolute;
  bottom:0;
  left:0;
  margin-right: 4px;
}

.project-creator {
  color:#B62625;
  /*font-size: 16px;*/
  font-weight: bold;
  text-decoration: none;
}

.project-creator:hover {
  color:#B62625;
  font-weight: bold;
  text-decoration: underline;
}


/*                 LOGIN                             */

/* Full-width input fields */
input[type=text], input[type=password], input[type=email] {
  width: 100%;
  padding: 15px 0 15px 10px;
  margin: 5px 0 22px 0;
  display: block;
  border: none;
  background: #f1f1f1;
  box-sizing: border-box;
}

/* Add a background color when the inputs get focus */
input[type=text]:focus, input[type=password]:focus, input[type=password]:email {
  background-color: #ddd;
  outline: none;
}

/* Set a style for all buttons */
.modal-btn {
  background-color: #4CAF50;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  opacity: 0.9;
  box-sizing: border-box;
   transition: 0.3s;
}

.modal-btn:hover {
  opacity:1;
}

.modal-btn:disabled {
  opacity:0.1;
  background-color:#444;
  cursor: default;
}

/* Extra styles for the cancel button */
.cancelbtn {
  background-color: #f44336;
}

.btn-login-dialog {
	padding: 5px;
	width:47%;
	display:inline-block;
}

/* Float cancel and signup buttons and add an equal width */
.cancelbtn, .signupbtn {
  width: 100%;
  box-sizing: border-box;
}

.cancelbtn[disabled], .signupbtn[disabled] {
  opacity:0.1;
  background-color:#444;
  cursor: default;
}

/* Add padding to container elements */
.modal-container {
  padding: 16px;
  box-sizing: border-box;
}

/* The Modal (background) */
.login-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: #474e5dbb;
  padding-top: 50px;
  box-sizing: border-box;
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888;
  /*width:40%;*/
  /*width:600px;*/
  max-width: 600px;
  box-sizing: border-box;
}

/*@media screen and (max-width: 500px) {
.login-modal {
  padding-top: 10px
}
}*/

/* Style the horizontal ruler */
.modal-container hr {
  border: 1px solid #f1f1f1;
  margin-bottom: 25px;
}

/* The Close Button (x) */
#login-modal-close {
  position: relative;
  /*right: 35px;*/
  float:right;
  top: -40px;
  font-size: 40px;
  font-weight: bold;
  color: #f1f1f1;
}

#login-modal-close:hover,
#login-modal-close:focus {
  color: #f44336;
  cursor: pointer;
}

/* Clear floats */
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

/* Change styles for cancel button and signup button on extra small screens */
@media screen and (max-width: 300px) {
  .cancelbtn, .signupbtn {
     width: 100%;
  }
}

#login-error-message, #signin-error-message {
  display:none;
  /*display:block;*/
  background: pink;
  padding: 15px;
  border-radius: 8px;
}

.grecaptcha-badge { visibility: hidden; }

a.simple_href, a.simple_href:visited {
  text-decoration: none;
  color: #1E90FF;
  color: #3E70BB;
  /*color: #4401cb;*/
  font-weight: bold;
}
a.simple_href:hover {
  text-decoration: underline;
}



/*                 BROWSE                             */

.search-bar {
  border-radius: 6px;
  /*background-color: rgb(182, 38, 37);*/
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16pt;
  float:right;
  cursor: pointer;
}

.search-bar input{
  border-radius: 6px;
  background-color: rgb(182, 38, 37);
  border: none;
  color: rgb(10,10,10);
  padding: 6px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 12pt;
  float:right;
  cursor: pointer;
  margin: 0 5px;
  text-align: left;
  cursor: auto;
}

/* Full-width input fields */
input[type=search] {
  width: 100%;
  display: inline-block;
  border: none;
  background: #f1f1f1;
  box-sizing: border-box;
  border-radius: 6px;
  border: 1px solid gray;
}

/* Add a background color when the inputs get focus */
input[type=search]:focus {
  background-color: #ddd;
  outline: none;
}

.red-btn-style1 {
  border-radius: 6px;
  background-color: rgb(182, 38, 37);
  border: none;
  color: white;
  padding: 6px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 12pt;
  cursor: pointer;
  margin: 0px 2px;
}

.red-btn-style1:hover
{
  /*opacity: 0.6;*/
  background-color: rgb(132, 38, 37);
}

.red-btn-style1:focus
{
  outline:0;
}

.browse-btn-sort
{
  float:left;
}

.browse-btn-sort-active
{
  float:left;
  background-color: rgb(132, 38, 37);
}

.search-buttons-area {
  float: right;
}

.fab,
.far{
    transition: color 0.3s ease;
}
.fab.fa-twitter,
.fab.fa-github,
.far.fa-envelope {
    color: #fff;
    opacity:1;
}

.fab:hover.fa-twitter,
.fab:hover.fa-github,
.far:hover.fa-envelope {
	color: #aaa;
    opacity:1;
}

.fas{
    transition: opacity 0.3s ease;
}

button .tooltiptext {
    transition:visibility 0.1s ease, opacity 0.1s ease;
    visibility: hidden;
    opacity:0;

    width: 90px;
    top: 110%;
    left: 50%;
    margin-left: -40px; /* Use half of the width (120/2 = 60), to center the tooltip */

    background-color: #000a;
    color: #fff;
    text-align: center;
    padding: 5px 5px;
    border-radius: 4px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 999;
    font-size: 14px;
}

/* Show the tooltip text when you mouse over the tooltip container */
button:hover .tooltiptext {
    visibility: visible;
    opacity:1;
}

/*                 PROFILE                             */

.profile-details {
  margin-top: 64px;
}

.profile-category {
  margin-top: 32px;
  margin-bottom: 0px;
}

.profile-export-delete {
  padding: 5px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}


/*                 END                             */
