/** @todo @rejon 2020-01-28 keep nuking this down */


.story {
	font-size: 24pt;
	padding: 0 2em;
}

/* textarea {
	white-space: pre-line;
} */


.story img {
	margin: auto;
	display: block;
	width: 50%;
}

.story h2 {
	text-align: center;
	font-size: 24pt !important;
	padding: 1em 0 2em 0;
}

#donate input {

	border: none !important;
	background: none !important;
}


#submitpage {
	margin-bottom: 4em;
}


#footer h4 {
  padding: 1.8em 0 1em 0;
	font-weight:normal;
}

#footer a,
#footer a:visited, #footer a:active, #footer a:link, #footer a {
  text-decoration: none;
}

#footer a:hover {
  opacity: 0.8;
}

.gallery {
display: grid;
grid-template-rows: auto;
grid-template-columns: repeat(4, calc(25vw - 2.5em));
grid-row-gap: 2em;
grid-column-gap: 2em;
}

.gallery.has-ads .gallery-ads {
grid-column: 1;
grid-row: 1 / 4;
}

.gallery .artwork {
	text-align: center;
	align-self: center;
	position: relative;
}
.gallery .artwork .clipart_issue:after {
    content:"";
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, .7);
}

.gallery .artwork img {
	max-width: 100%;
	max-height: 25vw;
}


#paginator {
	margin: 2em 0 0 0;
	text-align: center;
}


#discussion {
	clear: both;
}
/* NEW 2019-07 */

#alert {
  background-color: deeppink;
  color: white;
  padding: 8px;
  text-align: center;
}

#alert a {
  color: white;
}

#alert a:hover {
  filter: invert(100%);
  text-decoration: none;
}

#auto-typography-title {
  text-transform: ucfirst;
}


.ucfirst {
  text-transform:capitalize;
}

.lost-password {
	text-align: left;
	font-size: .9em;
}

#logged {
    color: #FFF;
    font-size: 9pt;
    text-align: right;
    padding: 14px 20px 20px 10px;
}
#logged a {
	font-weight: normal;
}
#logged b { color: #FFF; margin:0 5px 0 5px;}
#logged a:link, #logged a:visited { color: #FFF; margin:0 5px 3px 5px; font-size:12pt; line-height: 12pt;}
#logged a:hover, #logged a:active { text-decoration: underline; }

#upload-menu {
    color: #FFF;
    font-size: 9pt;
    text-align: right;
    padding: 14px 20px 20px 10px;
}

#upload-menu a:link, #upload-menu a:visited { color: #FFF; margin:0 5px 0 5px;}
#upload-menu a:hover, #upload-menu a:active { text-decoration: none; }


#logged a#uploadshare {
	line-height: 10pt;
}
#logged a#uploadshare:hover {
   text-decoration: none;
   border-bottom: none;
}


#content {
   padding: 18px 20px;
}

#content h2 img { 
  position: relative; 
  top: 3px; 
}

#content img {
    max-width: 100%;
}


.wrapper table {
    width: 100%;
}
table td.metric {
    width: 50%;
    font-weight: bold;
}

table td.number {
    width: 50%;
    text-align: right;
}

table td.heading
{
    width: 33%;
    font-weight: normal;
    color: #444;
}

.wrapper table td {
  padding: 0;
  margin: 0;
}




/*https://openclipart.org/may-clipart-be-used-comparison CSS for the widget use-comparison (id 2145) */
table#comparison {
   border: 1px solid gray;
   border-collapse:collapse;
}

table#comparison th {
    text-align: left;
   background-color: #eee;
}


table#comparison td {
   padding: 4px;
   background-color: #eee;
   height: 36px;
}

table#comparison td,
table#comparison tr {
   border: 1px solid gray;
}

table#comparison td.commercial {
   background-color: #74d216;
}

table#comparison td.non-commercial {
   background-color: #729fcf;
}

table#comparison td.commercial,
table#comparison td.non-commercial {
   width: 15%;
}

#developers table {
    border: 1px solid black;
    margin: 8px 0;
    border-collapse: collapse;
    width: 100%;

}

#developers table td.api-name,
#developers table td.api-url {
    width: 50%;
}

#developers tr,
#developers td {
    padding: 8px;
    border: 1px solid black;
}





#footer {
  background-color: green;
  text-align: center;
  color: white;
}

#footer a:visited,
#footer a:active,
#footer a:link,
#footer a {
  color: white;
  text-decoration: underline;
}

#footer #love {
	padding-top: 1rem;
}
#footer #links {
	padding-bottom: 1rem;
}

#footer #links a {
	padding: 0.2rem;
}


#header {
    background-color: green;
    overflow: auto;
    padding: 0px 10px;
}

@media (min-width: 576px) {
	#header {
		text-align: center;
	}
}
#header #logo img { width: 32px; }
#header #logo a { display: block; overflow: auto; }

#logo {
    margin: 0;
    padding: 0;
    top: 0;
    left: 11px;
    color: #FFF;
		/*font-size: 1.5rem;
		 font-weight: bold;
		line-height: 2rem;
		*/
}

#header #logo span {
	margin-left: .5em
}

#header #logo a:link, #logo a:visited { color: #FFF; text-decoration: none;}

#header #logged { padding: 0px; line-height: 44px; position: relative; }

#mainnav li.launchpad { width: 100%; border-top: 1px solid #cccccc; }

#main-menu {
	overflow: auto;
	padding-top: 1em;
	padding-bottom: 1em;
  background-color: green;
}
#main-menu li a:link,
#main-menu li a:visited {
    border-right: 1px solid #CCCCCC;
    color: #2E3436;
    display: block;
    font-size: 14pt;
    padding: 0 0.62em;
    text-decoration: none;
    line-height: 46px;
    text-align: center;
}


#search .mb-3 {
	margin-top: 1rem!important;
	margin-bottom: 1rem!important;
}


#browse {
	margin-top: 2rem;
}

.alert-fixed {
    position: fixed !important;
    top: 5px;
    left: 5px;
    width: 96%;
    z-index:9999;
    border-radius:0px
}

/* ADS */

.horizontal-ad {
	margin: 2em 0;
}

ins {
	text-align: center;
}

.ad-detail {
	margin: 2em auto;
}

ins.home-ad, ins.search-ad {
	margin-top: 0;
}


.fav-button .fav-heart {
	fill: var(--white);
	stroke: var(--gray);
}

.fav-button.is_faved .fav-heart svg,
.fav-button .fav-heart:hover svg {
	fill: var(--red);
	stroke: var(--red);
}

.btn.fav-button  {
	padding: 0
}

.fav-button hr {
	margin: .5em 0;
}

.media-comment {
	margin: 1em 0;
	border-bottom: 1px solid rgba(0,0,0,.1);
}

.new-comment {
  animation: highlight 1000ms ease-out;
}

@keyframes highlight {
  0% {
    background-color: highlight;
  }
  100 {
    background-color: white;
  }
}

.deleted-comment {
  animation: fadeout 1000ms ease-out;
	display:none;
}

@keyframes fadeout {
  0% {
    background-color: #f8d7da;
  }
  100 {
    background-color: white;
  }
}

/*
 * bootstrap-tagsinput v0.8.0
 *
 */

.bootstrap-tagsinput {
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  display: inline-block;
  padding: 4px 6px;
  color: #555;
  vertical-align: middle;
  border-radius: 4px;
  width: 100%;
  line-height: 22px;
  cursor: text;
}
.bootstrap-tagsinput input {
  border: none;
  box-shadow: none;
  outline: none;
  background-color: transparent;
  padding: 0 6px;
  margin: 0;
  width: auto;
  max-width: inherit;
}
.bootstrap-tagsinput.form-control input::-moz-placeholder {
  color: #777;
  opacity: 1;
}
.bootstrap-tagsinput.form-control input:-ms-input-placeholder {
  color: #777;
}
.bootstrap-tagsinput.form-control input::-webkit-input-placeholder {
  color: #777;
}
.bootstrap-tagsinput input:focus {
  border: none;
  box-shadow: none;
}
.bootstrap-tagsinput .badge {
  margin: 2px 2px;
  padding:5px 8px;
}
.bootstrap-tagsinput .badge [data-role="remove"] {
  margin-left: 8px;
  cursor: pointer;
}
.bootstrap-tagsinput .badge [data-role="remove"]:after {
  content: "×";
  padding: 0px 4px;
  background-color:rgba(0, 0, 0, 0.1);
  border-radius:50%;
  font-size:13px
}
.bootstrap-tagsinput .badge [data-role="remove"]:hover:after {

  background-color:rgba(0, 0, 0, 0.62);}
.bootstrap-tagsinput .badge [data-role="remove"]:hover:active {
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.tt-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
    cursor: pointer;
}

.tt-suggestion {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.428571429;
    color: #333333;
    white-space: nowrap;
}

.tt-suggestion:hover,
.tt-suggestion:focus {
  color: #ffffff;
  text-decoration: none;
  outline: 0;
  background-color: #428bca;
}

@media (max-width: 960px) {
  .clipart-detail-meta {
    margin-top: 1em;
  } 
}