/*
Theme Name: ROMSFUN
Version: 1.3
Requires PHP: 5.4
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Global
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/
.row-small {
	margin-left: -8px;
	margin-right: -8px;
}
.col-small {
	padding-left: 8px;
	padding-right: 8px;
}
@media (max-width: 767px) {
	#wpadminbar {
		position: fixed !important;
	}	
	.row {
		margin-left: -8px;
		margin-right: -8px;
	}
	[class*="col-"] {
		padding-left: 8px;
		padding-right: 8px;
	}
}

/*--------------------------------------------------------------
# Global
--------------------------------------------------------------*/
body{
    font-size: 1rem;
	font-family: Arial, Helvetica,sans-serif;
}
* {
	outline: none !important;
}
img {
	max-width: 100%;
	height: auto;
}
iframe {
	display: block;
	max-width: 100%;
	margin: 0 auto;
}
a {
	color: #0066c0;
	-webkit-transition: all 0.3s ease 0s;
	-moz-transition: all 0.3s ease 0s;
	transition: all 0.3s ease 0s;
}
a:hover,
a.active {
	color: #2596be;
	text-decoration: none;
}
small,
.small {
	font-size: 87.5%;
}
button {
	cursor: pointer;
	-webkit-transition: all 0.3s ease 0s;
	-moz-transition: all 0.3s ease 0s;
	transition: all 0.3s ease 0s;
}
.font-size-body {
	font-size: 0.9375rem;
}
.font-weight-semibold {
	font-weight: 600 !important;
}
a.text-body:hover {
	color: #2596be !important;
}
.text-primary {
	color: #2596be !important;
}
a.text-primary:hover,
a.text-primary:focus {
	color: #FFF !important;
}
a.text-muted:hover,
a.text-muted:focus {
	color: #212529 !important;
}
.bg-primary {
	background-color: #2596be !important;
}
.bg-light {
	background-color: #F2F2F2 !important;
}
.bg-cover {
	background-color: #cfd4db;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
.border,
.border-bottom {
	border-color: #eee !important;
}
a.border:hover {
	border-color: #2596be !important;
}
a.border .bg-light {
	-webkit-transition: all 0.3s ease 0s;
	-moz-transition: all 0.3s ease 0s;
	transition: all 0.3s ease 0s;
}
a.border:hover .bg-light {
	color: #fff !important;
	background-color: #2596be !important;
}
.rounded {
	border-radius: 0.375rem !important;
}
.popover-header {
	text-transform: uppercase;
}
.popover-body {
	overflow-y: auto;
	max-height: 20rem;
}
.svg {
	width: 0.75rem;
	height: 0.75rem;
}
.svg-4 {
	width: 1.5rem;
	height: 1.5rem;
}
.svg-5 {
	width: 1.25rem;
	height: 1.25rem;
}
.svg-6 {
	width: 1rem;
	height: 1rem;
}
.svg-muted {
	fill: #6c757d;
}
.svg-primary {
	fill: #2596be;
}
.svg-spin {
	-webkit-animation:fa-spin 2s linear infinite;
	animation:fa-spin 2s linear infinite;
}
@-webkit-keyframes fa-spin {
    0% {
        -webkit-transform:rotate(0deg);
        transform:rotate(0deg)
    }
    to {
        -webkit-transform:rotate(1turn);
        transform:rotate(1turn)
    }
}
@keyframes fa-spin {
    0% {
        -webkit-transform:rotate(0deg);
        transform:rotate(0deg)
    }
    to {
        -webkit-transform:rotate(1turn);
        transform:rotate(1turn)
    }
}
@media (min-width: 768px) {
	.popover {
		min-width: 25rem;
		max-width: 25rem;
	}
}

.site-expand>.col, .site-expand>[class*=col-] {
	padding-right: 0;
	padding-left: 0;
}

#content h2, #content .h2 {
	font-size: 1.5rem;
}

#content h3, #content .h3 {
	font-size: 1.2rem;
}

#content h4, #content .h4 {
	font-size: 1.1rem;
}

#content h5, #content .h5 {
	font-size: 1.1rem;
}

#content .h6,  #content h6 {
	font-size: 1rem;
}

#content h2, #content .h2,
#content h3, #content .h3,
#content h4, #content .h4,
#content h5, #content .h5,
#content .h6,  #content h6 {
	font-weight: 400!important;
}

/*--------------------------------------------------------------
# Home page
--------------------------------------------------------------*/
.site-wrapper-large {
	width: 100%;
	max-width: 1270px;
	margin: 0 auto;
}

.site-wrapper {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

.site-wrapper-outer {
	background: #eaecee;
}

.site-main-title, .site-inner-heading {
	color: #666;
}

.site-expand {
	margin-right: 0;
	margin-left: 0;
}

.site-article {
	border: 1px solid rgba(0,0,0,.125);
	border-radius: 16px;
	background: white;
}

.site-article-heading {
	display: block;
	/*font-family: Arial,Helvetica,sans-serif;*/
	font-weight: normal;
	color: black;
}

.site-article-img {
	max-height: 300px;
	overflow: hidden;
}

.site-btn {
	background: #2486a8;
	color: white;
	border: 0;
}

.site-less-round {
	border-radius: 12px !important;
}

.side-console-menu  .list-group-item {
	padding: unset;
	border-bottom: 0;
}

.side-console-menu  .list-group-item a::before {
	font-family: "Font Awesome 5 Free" !important;
	font-weight: 900;
	content: "\f105";
	margin-right: 5px;
	color: rgba(0,0,0,0.3);
}

.side-console-menu  .list-group-item a {
	display: block;
	padding: .75rem 1.25rem;
	color: #495057;
	text-align: inherit;
}

.side-console-menu li.menu-item:last-child{
	text-align: center;
	font-weight: bold;
	border-bottom: 1px solid rgba(0,0,0,.125)!important;
	color: #2486a8;
}

.side-console-menu li.menu-item:last-child a{
	color: #2486a8;
}

.side-console-menu li.menu-item:last-child a::before{
	content: "";
}

@media (max-width: 1200px) {
	.site-article {
		border: 0;
		border-bottom: 1px solid rgba(0,0,0,.125);
		border-radius: 0;
	}
	a.site-article-heading {
		font-size: 20px;
	}
}

/*--------------------------------------------------------------
# Single post
--------------------------------------------------------------*/
.site-post-img{
	border-radius: 12px;
}

.site-article-art {
	max-height: 420px;
	overflow: hidden;
}
.site-post-img-article {
	width: 100%;
	min-height: 120px;
}

.site-not-round {
	border-radius: 0!important;
}

.site-wrapper-icon {
	color: #b2bbc3;
	font-size: 7em;
}

.screenshots {
	width: 100%;
	height: 100%;
	position: relative;
	z-index: 1;
	display: flex;
	transition-property: transform;
	box-sizing: content-box;
	overflow: auto;
	scroll-snap-type: x mandatory;
}
.screenshot {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-shrink: 0;
	scroll-snap-align: center;
}

.screenshot img {
	height: 180px;
	width: auto;
	border-radius: 10px;
}

/*--------------------------------------------------------------
# Single ROM
--------------------------------------------------------------*/
.site-links {
	list-style: none;
	text-align: center;
}

.site-links ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.site-links ul li {
	display: inline;
}

.site-links ul li a {
	text-decoration: none;
	font-size: .9em;
	display: inline-block;
	margin-bottom: 12px;
	margin-right: 4px;
	margin-left: 4px;
	padding: 8px 12px;
}

.site-btn-sub {
	background: #eaecee;
	color: #757677;
	border: 0;
}

.site-round {
	border-radius: 24px !important;
}

.site-post-get {
	font-size: 20px;
}

.has-ripple {
	position: relative;
	overflow: hidden;
	-webkit-transform: translate3d(0,0,0);
	-o-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

.site-btn-alt {
	background: #2596be;
	color: white;
	border: 0;
}

.site-rounder {
	border-radius: 40px !important;
}

.site-sep {
	width: 36px;
	height: 6px;
	border-radius: 12px;
	background: #2980b9;
}

.site-main-title, .site-inner-heading {
	color: #666;
}

.site-list {
	list-style-type: none;
	margin: 0;
	padding: 0;
	text-align: center;
}

.site-list li {
	margin-bottom: 24px;
}

.site-box {
	position: relative;
	display: block;
	color: rgba(0,0,0,0.5)!important;
	padding: 0;
	margin: 0;
	width: 100%;
	min-height: 90px;
	box-shadow: 0 0.125rem 0.25rem rgb(0 0 0 / 8%);
	border-radius: 12px;
	transition: .2s;
}

.site-box img {
	width: 100%;
	border-radius: 12px 12px 0 0;
}

.site-box-title {
	display: block;
	background-color: #fafafa;
	padding: 5px;
	text-align: center;
	line-height: 20px;
	font-size: 14px;
	border-radius: 0 0 12px 12px;
	color: #7b7b7b;
	text-decoration: none;
	transition: .3s;
}

.site-box-badge {
	background: rgba(152,164,176,0.2);
	padding: 3px 6px 3px 6px;
	border-radius: 12px;
	font-size: 12px;
}

.site-box:hover .site-box-title {
	background-color: rgba(102,124,145,0.3);
	color: #545a5f;
}

/*--------------------------------------------------------------
#  Read More Read Less Content
--------------------------------------------------------------*/
#summary {
	font-size: 14px;
	line-height: 1.5;
}

#summary .collapse:not(.show) {
	height: 42px !important;
	overflow: hidden;

	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

#summary .collapsing {
	min-height: 42px !important;
}

#summary a.collapsed:after  {
	content: '+ Read More';
}

#summary a:not(.collapsed):after {
	content: '- Read Less';
}

/*--------------------------------------------------------------
# Rating
--------------------------------------------------------------*/
.site-votes {
	position: absolute;
	top: 0;
	left: 200px;
	font-size: 27px;
	font-weight: 300;
	color: #bbb;
}

.site-rating {
	min-height: 30px;
}

.site-rating-value {
	display: inline-block;
	height: 40px;
	width: 50px;
	word-break: break-all;
	overflow: hidden;
	border: 1px solid #d4dae0;
	color: #999;
	border-radius: 10px;
	padding-left: 4px;
	padding-right: 4px;
}

.site-rating-count {
	display: inline-block;
	height: 40px;
	float: right;
	margin-left: 10px;
}

/*--------------------------------------------------------------
# Table
--------------------------------------------------------------*/
.table th {
	font-weight: 700;
}

/*--------------------------------------------------------------
# Form
--------------------------------------------------------------*/
.form-control::-webkit-input-placeholder { 
	color: #898989;
}
.form-control::-moz-placeholder {
	color: #898989;
}
.form-control:-ms-input-placeholder { 
	color: #898989;
}
.form-control:-moz-placeholder { 
	color: #898989;
}
.form-control,
.custom-select,
.btn {
	border: 1px solid #dee2e6;
	border-radius: 0.375rem;
	-webkit-transition: all 0.3s ease 0s;
	-moz-transition: all 0.3s ease 0s;
	transition: all 0.3s ease 0s;
}
.form-control:focus,
.custom-select:focus,
.form-control:focus + span .btn {
	border-color: #2596be;
	box-shadow: none;
}
.btn-sm {
	font-size: 0.75rem;
}
.btn svg {
	transition: fill 0.3s ease 0s;
}
.btn-primary,
.btn-primary:not(:disabled):not(.disabled):active:focus {
	color: #fff;
	background-color: #2596be;
	border-color: #2596be;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):active {
	color: #fff;
	background-color: #2486a8;
	border-color: #2486a8;
}
.btn-primary svg,
.btn-primary:not(:disabled):not(.disabled):active:focus svg {
	fill: #fff;
}
.btn-primary:hover svg,
.btn-primary:focus svg,
.btn-primary:not(:disabled):not(.disabled):active svg {
	fill: #fff;
}
.btn-outline-primary,
.btn-outline-primary:not(:disabled):not(.disabled):active:focus {
	color: #2596be;
	background-color: transparent;
	border-color: #2596be;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:not(:disabled):not(.disabled):active {
	color: #fff;
	background-color: #2596be;
	border-color: #2596be;
}
.btn-outline-primary svg,
.btn-outline-primary:not(:disabled):not(.disabled):active:focus svg {
	fill: #2596be;
}
.btn-outline-primary:hover svg,
.btn-outline-primary:focus svg,
.btn-outline-primary:not(:disabled):not(.disabled):active svg {
	fill: #fff;
}
.btn-light,
.btn-light:not(:disabled):not(.disabled):active:focus {
	color: #212529;
	background-color: #F2F2F2;
	border-color: #F2F2F2;
}
.btn-light:not(:disabled):not(.disabled).active {
	color: #fff;
	background-color: #1E88E5;
	border-color: #1E88E5;
}
.btn-light svg,
.btn-light:not(:disabled):not(.disabled):active:focus svg {
	fill: #212529;
}

/*--------------------------------------------------------------
# Breadcrumb
--------------------------------------------------------------*/
.breadcrumb {
	margin-bottom: 0 !important;
}
.site-breadcrumb .breadcrumb {
	background: #eaecee;
	border-radius: 0;
	font-size: 14px;
}
/*--------------------------------------------------------------
# Pagination
--------------------------------------------------------------*/
.pagination {
	justify-content: center;
	margin-bottom: 0;
	padding-bottom: 1.5rem;
}

.pagination .page-item {
	margin: 4px 0;
}

.pagination .page-link {
	font-size: 1rem;
	font-weight: 600;
	color: #212529;
	background: #F2F2F2;
	border-color: #F2F2F2;
	border-radius: 0.25rem !important;
	box-shadow: none !important; 
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-width: 3rem;
	min-height: 3rem;
	margin-right: 0.5rem;
}
.pagination .page-link:hover,
.pagination .page-link:focus {
	color: #212529;
	background-color: #E2E2E2;
	border-color: #E2E2E2
}
.pagination .page-item.active .page-link {
	color: #fff;
	background-color: #2596be;
	border-color: #2596be;
}
.pagination svg {
	fill: #212529;
	height: 0.875rem;
	transition: fill 0.3s ease 0s;
}
.pagination .page-link:hover svg {
	fill: #212529;
}

/*--------------------------------------------------------------
# Modal
--------------------------------------------------------------*/
.modal-dialog {
    min-height: calc(100vh - 3.75rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: auto;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}
.modal.fade .modal-dialog {
	-webkit-transform: translate(0, 0);
	-moz-transform: translate(0, 0);
	transform: translate(0, 0);
}
.modal-header {
	background: #F7F7F7;
}
.modal-title {
	text-transform: uppercase;
	line-height: 1.2;
}
.modal-body {
	padding: 1.5rem;
}
.modal-backdrop.show {
	opacity: 0.7;
}

/*--------------------------------------------------------------
# progress bar
--------------------------------------------------------------*/
.progress-bar-animated {
	-webkit-animation: progress-bar-stripes 0.6s linear infinite;
	animation: progress-bar-stripes 0.6s linear infinite;
}

/*--------------------------------------------------------------
# accordion
--------------------------------------------------------------*/
.accordion .toggler:after {
    content: ' ';
    border-top: 2px solid #666;
    border-left: 2px solid #666;
    cursor: pointer;
    width: 0.5rem;
    height: 0.5rem;
   	margin-left: auto;
   	margin-top: 0.25rem;
    transform: rotateZ(45deg);
    transition: all 0.3s ease 0s;
}
.accordion .toggler.collapsed:after {
	transform: rotateZ(-135deg);
}

/*--------------------------------------------------------------
# site header
--------------------------------------------------------------*/
.site-header {
	background-color: #2596be;
	padding: 8px 16px;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2b597b',endColorstr='#2980b9',GradientType=0);
}

.site-header a {
	color: white;
	text-decoration: none;
}

.site-btn-plain {
	color: #eee!important;
	border: 0;
}

.navbar-brand, .navbar-brand h1 {
	display: inline-block;
	padding-top: .3125rem;
	padding-bottom: .3125rem;
	margin-right: 1rem;
	font-size: 1.5rem;
	line-height: inherit;
	white-space: nowrap;
}

.site-logo img {
	max-height: 3rem;
}

@media (max-width: 900px){
	.site-header>div, .site-header nav {
		float: none;
		margin: 0 auto;
		text-align: center;
	}
	.site-header>.site-nav-search {
		float: none;
		margin-top: 8px;
	}
	.site-search .form-control {
		width: 100%;
	}
}

/*--------------------------------------------------------------
## site nav
--------------------------------------------------------------*/
.site-nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.site-nav ul li {
	display: block;
	float: left;
	margin-right: 10px;
}

.site-nav ul li a:hover {
	background-color: #2486a8;
	border-radius: 24px;
}

.site-nav ul li a {
	display: block;
	line-height: 44px;
	padding: 0 12px;
	margin-right: 16px;
	border-radius: 24px;
	transition: .3s;
	background-color: transparent;
}

@media (max-width: 900px) {
	.site-nav ul {
		margin-left: 0;
		width: 100%;
		display: flex;
		margin-top: 4px;
		align-items: center;
		justify-content: space-between;
	}
	.site-nav ul li {
		text-align: center;
		padding: 0;
	}
	.site-nav ul li a {
		margin-right: 0;
		padding: 0 12px;
	}
}

/*--------------------------------------------------------------
# Game tags page
--------------------------------------------------------------*/
.site-list-grp {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.site-list li {
	display: inline-flex;
	width: calc(25% - 4px);
	padding-right: 12px;
	padding-left: 12px;
	margin-bottom: 24px;
}
.site-list-items li {
	width: 33%;
}

.roms-similar.site-list li {
	width: calc(16.666% - 4px);
}

.site-list-group a:last-child {
	border-bottom: 1px solid rgba(0,0,0,.125)!important;
}

.site-list-group .site-list-link, .site-list-group .site-list-link:hover {
	background: 0;
	color: #2486a8;
	text-align: center;
	font-weight: bold;
}

.site-list-tags .site-list-grp li {
	display: inline-block;
	float: left;
	width: 22%;
	margin-left: 1.5%;
	margin-right: 1.5%;
	margin-bottom: 12px;
}

.site-list-grp li a {
	display: block;
	width: 100%;
	background: #2596be;
	box-shadow: 0 0.5rem 0.9rem rgb(0 0 0 / 15%);
	border-radius: 12px;
	padding: 14px 12px;
	color: white;
	border: 1px solid rgba(255,255,255,0.2);
}

.site-list-grp li:hover a {
	background: #2486a8;
}

@media (max-width: 1200px){
	.site-list li {
		width: 25%;
	}
	.site-list-items li {
		width: calc(33.333% - 3px);
	}
	.roms-similar.site-list li {
		width: calc(25% - 4px);
	}
}

@media (max-width: 855px){
	.site-list li, .site-list-items li {
		width: calc(50% - 3px);
	}

	.roms-similar.site-list li {
		width: calc(50% - 4px);
	}

	.site-list-tags .site-list-grp li {
		width: 46%;
		margin-left: 2%;
		margin-right: 2%;
	}
}

/*--------------------------------------------------------------
# Home search
--------------------------------------------------------------*/

.form-inline {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
	-ms-flex-align: center;
	align-items: center;
}

.site-search .site-search-icon {
	position: absolute;
	z-index: 2;
	display: block;
	width: 2.375rem;
	height: 2.375rem;
	line-height: 2.375rem;
	text-align: center;
	pointer-events: none;
	color: black;
}

.site-search .form-control {
	padding-left: 2.375rem;
	background: white;
	color: black;
	border: 0;
	border-radius: 24px;
	margin-top: 3px;
}

.home-search {
	min-height: 500px;
}
@media (max-width: 767px) {
	.home-search {
		min-height: 300px;
	}
}

/*--------------------------------------------------------------
# Related roms
--------------------------------------------------------------*/
@media (min-width: 768px) {
	.related-roms .col-archive-rom {
		-ms-flex: 0 0 33.333333%;
		flex: 0 0 33.333333%;
		max-width: 33.333333%;
	}
}

/*--------------------------------------------------------------
# entry
--------------------------------------------------------------*/
.entry-content {
	text-align: justify;
}
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6,
.term-description h1, .term-description h2, .term-description h3, .term-description h4, .term-description h5, .term-description h6 {
	font-weight: 700;
}
.entry-content table {
	background-color: transparent;
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 100%;
}
.entry-content table th,
.entry-content table td {
    border-top: 1px solid #dee2e6;
    padding: 0.75rem;
}
.entry-content table th {
    font-weight: 600;
    text-transform: uppercase
}
.entry-content table thead th {
	border-bottom: 2px solid #dee2e6;
	padding: 0.75rem;
}
.entry-content img.centered,
.entry-content .aligncenter,
.term-description img.centered,
.term-description .aligncenter {
	display: table;
    margin: 0 auto 1em
}
.entry-content .wp-caption,
.term-description .wp-caption {
    max-width: 100%
}
.entry-content .wp-caption-text,
.term-description .wp-caption-text {
    font-weight: 400;
    text-align: center;
    background: #eeeeee;
    padding: 0.5rem 0.5rem
}
.wp-block-quote {
	border-left: 0.25rem solid #2596be;
	padding-left: 1rem;
}
.list-shares a {
	color: #FFF;
	border-radius: 0.25rem;
	display: flex;
	align-items: center;
	padding: 0.25rem 0.5rem;
}
.list-shares a:hover {
	opacity: 0.8;
}
.list-shares a.facebook {
	background-color: #455FA1;
}
.list-shares a.twitter {
	background-color: #58ABF4;
}
.list-shares a.pinterest {
	background-color: #CC1D1E;
}
.list-shares a.linkedin {
	background-color: #007BB5;
}
.list-shares a.email {
	background-color: #1980BE;
}
.schema-faq-section {
	border: 1px solid #dee2e6;
	padding: 1rem;
	margin-top: -1px;
}
.schema-faq-question {
	font-weight: 400;
	cursor: pointer;
}
.schema-faq-answer {
	display: none;
	padding-top: 1rem;
	padding-left: 1rem;
}

/*--------------------------------------------------------------
# site footer
--------------------------------------------------------------*/
.footer-nav {
	background-color: #2596be;
}
.footer-copyright {
	background-color: #2486a8;
}
.footer-logo img {
	max-height: 3rem;
}
.footer-social-networks a {
	margin-left: 1rem;
}
.footer-social-networks svg {
	fill: #fff;
	height: 16px;
	transition: fill 0.3s ease 0s;
}
.footer-social-networks a:hover svg {
	fill: #FFF;
}
.site-footer .menu {
	list-style: none;
}
.site-footer .menu li {
	margin: .5rem 0;
}
.site-footer .menu li a {
	color: #FFF;
}
.site-footer .menu li a:hover {
	color: #FFF;
}
.button-container {
    display: flex;
    gap: 15px;
}

a.btn {
    background-color: gray;
    color: white;
}

a.btn:hover {
    background-color: #555;
}