/* Discrete, reusable UI elements. */

.sg-hr{
	border-bottom: 1px solid #9f9f9f;
	width: 100%;
	display: block;
	color: #9f9f9f;
	font-size: 16px;
	text-align: center;
}
.sg-hr i, .sg-hr svg {
	position: relative;
	top: 12px;
	background-color: #f0f2f3 ;
	padding: 0 10px;
}
.sg-hr svg {
	box-sizing: content-box;
}
.views-row{
	margin-bottom: 10px;
}

/* Field Image */
.sg-image{
	float: left;
	margin-right: 15px;
	margin-bottom: 15px;
}
.sg-clear{
	clear: both;
}
/*Alerts colors*/
.uk-alert {
	position:relative;
	margin-bottom: 20px;
	padding:15px 29px 15px 15px;
	word-wrap: break-word;
	border: 1px solid;
	border-width: 1px 1px 1px 0;  /* LTR */
	border-radius: 2px;
	background: no-repeat 10px 17px;  /* LTR */
	overflow-wrap: break-word;
	background:#f8f8f8;
	color:#666;
	border-color: #999999 #999999 #999999 transparent;  /* LTR */
	box-shadow: -8px 0 0 #333333; /* LTR */
}	
.uk-alert-primary {
	color:#1e87f0;
	border-color: #63b2ff #63b2ff #63b2ff transparent;  /* LTR */
	background-color: #d8eafc;
	box-shadow: -8px 0 0 #0059bb; /* LTR */
}
.uk-alert-success {
  color: #325e1c;
  border-color: #c9e1bd #c9e1bd #c9e1bd transparent;  /* LTR */
  background-color: #f3faef;
  box-shadow: -8px 0 0 #77b259; /* LTR */
}
.uk-alert-warning {
  color: #734c00;
  border-color: #f4daa6 #f4daa6 #f4daa6 transparent;  /* LTR */
  background-color: #fdf8ed;
  box-shadow: -8px 0 0 #e09600; /* LTR */
}
.uk-alert-danger {
  color: #a51b00;
  border-color: #f9c9bf #f9c9bf #f9c9bf transparent;  /* LTR */
  background-color: #fcf4f2;
  box-shadow: -8px 0 0 #e62600; /* LTR */
}

/* Teaser */

.sg-teaser {
	color: #444;
    background: #fff;
    box-shadow: 0 5px 10px rgb(0 0 0 / 10%);
}

/* Text insert - Page bottom */
.sg-text-insert {
	width: 25%;
	padding: 20px;
	margin: 30px 0;
	background: rgba(255,255,255,.15);
	color: #fff;
	font-size: 0.9rem;
	line-height: 1.2;
}
.sg-text-insert p{
	margin: 0;
}
.sg-text-insert a{
	color: #fff;
}

.sg-text-insert h3{
		color: #fff;
		font-size: 1.5rem;
		text-transform: uppercase;
		margin:0;
	}
.sg-text-insert h4{
		color: #f3f3f3;
		font-size: 1.1rem;
		margin: 0;
		margin-top: 12px;
	}
.sg-text-insert span{
		color: #ff6600;
	}

/* Tags */

.field--name-field-game-spheres{
	margin-top: 20px;
	padding-top: 10px;
	border-top: 1px solid #e5e5e5;
}

.field--name-field-game-spheres h3,
.field--name-field-tags h3{
	margin: 0;
	text-transform: uppercase;
	font-size: 1.2rem;
	color: #999;
}
.sg-subnav {
	display:flex;
	flex-wrap:wrap;
	padding:0;
	margin-top: 0;
	margin-bottom: 10px;
	list-style:none;	
}

.sg-cloud,
.sg-cloud-block .views-row{
	display:inline;
	padding:0;
	margin: 0;
}
.sg-cloud a.sg-tag,
.sg-tag a {
    display: inline-block;
	font-size: 0.78rem;
	color: #999;
    padding: 3px 6px;
    border: 1px solid #e2e3e3;
    border-radius: 4px;
    margin: 0 3px 6px 0;
    transition: 0.2s;
	background-image: linear-gradient(to bottom, #f6f8f9 0%, #e8eaeb 100%);
    background-repeat: repeat-x;
}
.sg-cloud a.sg-tag:hover,
.sg-tag a:hover {
	color: #666;
	background-image: linear-gradient(to bottom, #f6f8f9 0%, #ff6600 100%);
}
#region--sidebar_second a.sg-tag::before{
	display: none;
}
/* Cards */
.uk-card {
	position:relative;
	box-sizing:border-box;
	transition:box-shadow .1s ease-in-out;
	margin-right: 20px;
	margin-bottom: 20px;
	font-size: 0.9rem;
}
.uk-card a{
	border-bottom: 1px dotted #fff;
}
.uk-card-body {
	display:flow-root;
	padding:20px 20px;
}
.uk-card-header {
	display:flow-root;
	padding:5px 20px;
}
.uk-card-footer {
	display:flow-root;
	padding:5px 20px;
}
@media (min-width:1200px) {
	.uk-card-body {
		padding:20px 20px;
	}
	.uk-card-header {
		padding:10px 20px;
	}
	.uk-card-footer {
		padding:10px 20px;
	}
}
.uk-card-body>:last-child,.uk-card-footer>:last-child,.uk-card-header>:last-child {
	margin-bottom:0;
}
.uk-card-title {
	font-size:1.3rem;
	line-height:1.1;
}
.uk-card .field--name-field-game-spheres {
	margin-top: 10px;
}
.uk-card .sg-tag a{
	font-size: 0.6rem;
    padding: 2px 4px;
    border-radius: 4px;
    margin: 0 2px 4px 0;	
}
.uk-card .field--name-field-game-spheres h3, .uk-card .field--name-field-tags h3 {
    text-transform: uppercase;
    font-size: 0.9rem;
}
.uk-card ul{
margin: 0;
}
.uk-card .uk-subnav{
margin-left: 0;
}	

.uk-card .uk-subnav a::after{
	content:" ...";
	text-transform: none;
}

.uk-card .uk-subnav a:hover{
border: none;
background-color: inherit;
}
.uk-card .uk-subnav>* {
    padding-left: 0;
}
.uk-card .uk-subnav-pill>*>:first-child {
    padding: 0;
}
.uk-card .sg-body img {
	max-width: 150px;
}
/* Filter form */

.views-exposed-form{
	display: flex;
    align-items: flex-end;
}
.views-exposed-form div{
	margin-right: 20px;
}
.views-exposed-form div div{
	margin-right: 0;
}
.views-exposed-form *+.uk-margin {
    margin-top: 0!important;
}

/*Books */
.sg-book a{
	border-bottom: 1px dotted #f0f2f3;
}

div.book-blocks-toc{
	float: right;
	border: 1px solid #ccc;
	margin-left: 20px;
	margin-bottom: 20px;
	padding: 15px;
	max-width: 225px;
	z-index: 1000;
}
.sg-book.uk-article {
    display: inherit;
}
.book-blocks-toc .uk-margin {
    margin: 0!important;
}
.book-blocks-toc h2 {
    margin-bottom: 10px;
}
.book-blocks-toc-book {
    font-size: 1.1rem;
	font-weight: normal;
}
.book-blocks-toc .book--active-trail {
    font-weight: normal;
}
.book-blocks-toc-prefix{
	visibility: hidden;
	font-size: 0;
	line-height: 0;
}
.book-blocks-toc-prefix::after{
	visibility: visible;
	font-size: 1.1rem;
	line-height: 1rem;
	font-family: "Font Awesome 5 Free"; 
	font-weight: 900;
	content: "\f02d";
	color: #ff6600;
	margin-right: 5px;
}
.book-blocks-toc ul{
    font-size: 0.9rem;
    margin: 0;
	padding: 0;
	list-style: circle;
}
.book-blocks-toc li{
    margin-left: 18px;
}
/* Poll */
.sg-poll-content{
	background-color: #fff;
	border: 1ps solid #000;
	padding:15px;
}
.poll-results-title {
	display: none;
}

/* Meme block */

.sg-meme-container{
  column-count: 4;
  column-gap: 30px;	
}
.sg-figure img {
  max-width: 100%;
  display: block;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2)
}

.sg-figure a, .sg-figure a:hover{
  border: none
}

.sg-figure a:hover img{
  box-shadow: none
}
.sg-figure {
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  margin-bottom: 30px;
  break-inside: avoid;
}

.sg-figure > img {
  grid-row: 1 / -1;
  grid-column: 1;
}

/* Testimony block */
.sg-testimony-body{
	padding: 25px;
    background-color: #fff;
    margin-bottom: 30px;
    border-radius: 5px;
    position: relative;
    color: #2d2d2d;	
	font-size: 0.9rem;
}
.sg-testimony-body a{
border-bottom: 1px dotted #fff;
}
.sg-testimony-body::after{
	position: absolute;
    content: "";
    bottom: -25px;
    left: 30px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 25px 45px 0 4px;
    border-color: #fff transparent transparent transparent;	
}
.sg-testimony-body h2{
	font-size: 1.2rem;
	line-height: 1rem;
	margin-bottom: 5px;
}
.sg-text-lead::before{
	font-size: 1.2rem;
	line-height: 1rem;
	font-family: "Font Awesome 5 Free"; 
	font-weight: 900;
	content: "\f10d";
	color: #ff6600;
	margin-right: 5px;
}

.sg-string-long::after{
	font-size: 1.2rem;
	line-height: 1rem;
	font-family: "Font Awesome 5 Free"; 
	font-weight: 900;
	content: "\f10e";
	color: #ff6600;
	margin-left: 5px;	
}
.sg-testimony-author{
	display: flex;
	align-items: center;
}

.sg-testimony-author img{
	border-radius: 50% !important;
	width: 60px;
	height: 60px;
	border: 2px solid #9f9f9f;
	margin-right: 10px;
}

/* screenshot Block */
.sg-screenshot {
	background-color: #464c52;
    border: 1px solid #5b626a;
	color: #fff;
	font-size: 0.75rem;
}
.sg-screenshot-author{
	padding: 10px;
	padding-top: 0;
}
.sg-screenshot h3{
	font-size: 1.2rem;
	line-height: 1.2rem;
	color: #fff;
	padding-left: 10px;
	padding-top: 10px;
}
.sg-screenshot a{
	font-size: 1rem;
	color: #fff;
	margin-left: 5px;
}
.sg-screenshot img {
  max-width: 100%;
  display: block;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2)
}