/* 

Theme Name: Richard M / NED #1
Site URI: https://richard-madden.com
Author: Never Enough Design
Design URI: https://neverenoughdesign.com

==================================================
THIS THEME WAS CREATED FOR RICHARD-MADDEN.COM
IT IS AN EXCLUSIVE AND YOU ARE NOT ALLOWED TO
STEAL ITS CODING AND REPLICATE TO SELL AS YOURS
==================================================

*/


/* body */

body {
	background-color: #fff;
	margin: 0px;
	padding: 0px;
	font-family: "Montserrat", sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 175%;
	color: #4e4e4e;
	overflow-x: hidden !important;
	word-wrap: break-word;
}

#wrapper {
	margin: 0 auto;
	width: 100%;
	max-width: 1500px;
	position: relative;
}

#content {
	width: 100%;
	max-width: 1500px;
	margin: 0 auto;
	float: left;
}

/* header */

#header {
	max-width: 100%;
	min-width: 1700px;
	height: 500px;
	background-image: url('images/header.jpg');
	background-repeat: no-repeat;
	background-position: center center;
	margin: 0 !important;
}

.head {
	display: none;
}

/* menu */

#navigation {
	margin: 0 auto .8%;
	text-align: center;
	width: 100%;
	font-family: "Montserrat Alternates", sans-serif;
}

.navi {
	padding: 0;
}

.container {
	text-align: center;
	margin: 0 auto;
	width: 1200px;
	position: relative;
	padding: 0.1% 0 0;
}

.navi ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.navi li {
	display: inline-block;
}

.menu {
	display: inline-block;
	padding: 8px 0;
	line-height: 14px;
	text-align: left;
}

.menu a {
	font-weight: 600 !important;
	display: inline-block;
	padding: 7px;
	-webkit-transition: opacity 0.4s linear;
	-webkit-transition: all 0.4s ease-out;
	-moz-transition: all 0.4s ease-out;
	transition: all 0.4s ease-out;
}

.menu a:hover {
	color: #426ba1 !important;
}

/* gallery top menu */

.menutop {
	padding: 8px !important;
	width: 70%;
	margin: 5px;
	line-height: 32px;
}

.menutop a {
	margin: 3px;
	font-size: .97em;
	text-align: right;
	font-family: Tahoma;
	background-color: #eaeaea;
	border: 1px solid #eaeaea;
	padding: 5px !important;
	-webkit-transition: opacity 0.4s linear;
	-webkit-transition: all 0.4s ease-out;
	-moz-transition: all 0.4s ease-out;
	transition: all 0.4s ease-out;
}

.menutop a:hover {
	padding: 8px;
	text-decoration: none !important;
	background-color: #2c272e;
	border: 1px solid #2c272e;
	color: #fff !important;
}

/* gallery */

#gallery {
	width: 100%;
	margin: 0 auto 20px;
}

.textinput,
.listbox,
.button,
.radio,
.checkbox,
input,
select,
textarea {
	border: 1px solid #eaeaea;
	background: #eaeaea;
	padding: 10px;
	margin: 7px;
	color: #565656;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

a,
a:link,
a:visited,
a:active {
	font-weight: 700;
	text-decoration: none;
	color: #757575;
	-webkit-transition: opacity 0.4s linear;
	-webkit-transition: all 0.4s ease-out;
	-moz-transition: all 0.4s ease-out;
	transition: all 0.4s ease-out;
}

a:hover {
	color: #1f395e;
	text-decoration: none;
}

.maintable {
	margin: auto;
	padding: 10px;
	font-size: 14px;
	line-height: 23px;
	margin-bottom: 3.5%;
}

.tableh1,
.tableh1-statlink {
	margin: 0 auto;
	padding: 6px 12px;
	font-weight: 400 !important;
	line-height: 145%;
	margin: 0 auto 8px;
	text-transform: uppercase;
	font-family: "Montserrat Alternates", sans-serif;
	background: #121e36;
	color: #fff;
}

.tableh1-statlink {
	padding: 2px 12px;
	background: transparent !important;
	color: #4e4e4e;
}

.tableh1 span {
	background: #121e36;
	color: #fff;
}

.tableh2 {
	margin: 0 auto;
	font-size: .95em;
	color: #fff;
	text-transform: uppercase;
	background: #2c272e;
	padding: 4px 8px;
	line-height: 175%;
}

.tableh2 a {
	font-weight: 400 !important;
	color: #fff !important;
	-webkit-transition: opacity 0.4s linear;
	-moz-transition: all 0.4s ease-out;
	transition: all 0.4s ease-out;
}

.tableh2 a:hover {
	font-weight: 400 !important;
	color: #daca8c !important;
}

.tableb,
.tablef {
	margin: 1px;
	font-size: 14px;
}

.thumbnails td {
	background-color: #eaeaea;
	padding: 15px;
}

.catrow,
.catrow_noalb,
.catrow_noalb:hover,
.catrow:hover {
	padding: 12px 8px;
	background: #100f17;
	color: #afafaf;
}

.catrow cats {
	font-family: "Montserrat Alternates", sans-serif;
	text-transform: uppercase;
	line-height: 150%;
	font-size: .85em;
	display: block;
}

cats b {
	font-weight: 300 !important;
	font-family: "Playwrite IE", cursive;
	color: #6d9be9;
	font-size: 1em;
}

cats strong {
	color: #c3ab41;
}

.thumb_filename {
	font-size: 80%;
	display: block;
}

.thumb_title,
.thumb_caption {
	font-size: .75em;
	display: block;
	font-weight: 400;
	margin: 2px 1px;
	padding: 3px 5px;
	width: 55%;
	font-family: 'Tahoma';
}

.thumb_title {
	background: #e8e8e8;
}

.thumb_caption {
	background: #121d31;
	color: #fff !important;
}

.thumb_caption a {
	color: #fff !important;
}

.thumb_caption a:hover,
.thumb_title a:hover {
	text-decoration: underline;
}


/* pseudo-classes for image links */
a:link .image,
a:visited .image,
a:focus .image,
a:active .image {
	margin: 8px;
	padding: 4px;
	background: transparent;
	border: 1px solid transparent;
	-webkit-transition: opacity 0.4s linear;
	-moz-transition: all 0.4s ease-out;
	transition: all 0.4s ease-out;
}

a:hover .image {
	border-image-source: url('images/header.jpg');
	border-image-slice: 90 270;
}

.category_icon a img,
.category_icon a img:hover {
	border: 0px !important;
	background: none !important;
	filter: grayscale(0%) brightness(1.0) !important;
	padding: 0px !important;
	margin: 5px !important;
	width: 6.5vw;
	height: auto;
	object-fit: cover;
}

.image,
.image:hover,
.imageborder,
.thumbnails,
.thumbnails:hover {
	padding: 1px;
}

.display_media {
	border: 0px;
	padding-top: 3px;
	padding-right: 10px;
	padding-bottom: 3px;
	padding-left: 10px;
}

.display_media .image {
	max-width: 70vw !important;
	height: auto !important;
	margin: 0 auto !important;
}

.statlink {
	font-weight: 400 !important;
	font-size: 14px;
	color: #4e4e4e;
	font-style: normal !important;
	padding: 5px;
}

.statlink h2 {
	letter-spacing: 1px !important;
	font-weight: 400 !important;
	font-size: 1.25em;
	color: #fff;
}

.statlink .stats {
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: .80em;
	display: block;
}

.statlink img {
	width: auto !important;
}

.statlink .stats strong {
	font-family: "Playwrite IE", cursive;
	font-size: 1.70em;
	font-weight: 200 !important;
	color: #2c272e;
}

.statlink a {
	font-size: 1.25em;
	font-weight: 400 !important;
	color: #fff !important;
}

.statlink a:hover {
	color: #f7dd86 !important;
}

.alblink {
	font-weight: bold;
	text-shadow: none;
}

.catlink {
	display: block;
	margin: 5px 7px;
	padding: 8px 0;
	font-size: 1.25em;
}

.catlink a {
	font-size: 1.10em;
	margin: 0 auto;
	font-weight: 200 !important;
	padding: 0;
	color: #fff;
	border-bottom: 1px solid #f1d05c;
	font-family: "Playwrite IE", cursive;
	-webkit-transition: opacity 0.4s linear;
	-moz-transition: all 0.4s ease-out;
	transition: all 0.4s ease-out;
}

.catlink a:hover {
	color: #f1d05c !important;
	border-bottom: 1px solid #100f17;
}

/* -- Footer -- */

#footer {
	padding: 20px;
	clear: both;
	overflow-x: hidden !important;
	text-align: center;
	line-height: 18px;
	text-transform: uppercase;
	font-size: 0.75em;
	letter-spacing: 1px;
	line-height: 195% !important;
}

.footer {
	width: 1200px;
	text-align: center;
	margin: 0 auto;
	padding: 1.5% !important;
}

.footer a {
	text-decoration: none;
	padding-bottom: 3px;
	-webkit-transition: opacity 0.4s linear;
	-moz-transition: all 0.4s ease-out;
	transition: all 0.4s ease-out;
}

.footer u {
	font-weight: 600;
	color: #0a2a59;
	text-decoration: none;
}

.footer .disclaimer {
	display: block;
	font-size: 1em !important;
	text-transform: none !important;
	font-weight: 400 !important;
	border-top: 1px solid transparent;
	border-image-source: url('images/header.jpg');
	border-image-slice: 90 270;
	padding-top: 3px;
}

.footer .fa-brands {
	font: var(--fa-font-brands);
	margin-right: 5px;
	color: #1c6ccd !important;
}

.footer .fa-solid {
	font: var(--fa-font-solid);
	margin-right: 5px;
	color: #1c6ccd !important;
}

hr {
	background-color: #bdbcbc;
	color: #bdbcbc;
	border: 0;
	width: 92%;
	height: 1px;
	opacity: .15;
}

/* -- PC SCREEN -- */

@media (max-width : 1366px),
(max-width : 1200px) {

	#wrapper {
		max-width: 1200px !important;
	}

	#content {
		max-width: 1200px !important;
	}

	#header {
		min-width: 1366px !important;
	}

	a img {
		width: 8.5vw;
		height: auto;
	}

}

/* -- MOBILE DEVICES -- */
.show-menu,
.menu input[type=checkbox] {
	display: none;
}

.menu input[type=checkbox]:checked~.rpv-menu {
	display: block;
}

@media (max-width : 1024px),
(max-width : 959px) {

	#navigation {
		overflow-x: hidden !important;
		max-width: 100% !important;
		text-align: left !important;
		margin: 0 auto !important;
	}

	.navi {
		text-align: left !important;
		padding: 8px;
	}

	.navi ul {
		position: static;
		display: none;
	}

	.navi ul li,
	.navi li a {
		width: 100%;
	}

	.navi li:after {
		display: none !important;
	}

	.show-menu {
		font-size: 15px;
		display: block;
		text-transform: none;
		text-align: left;
		padding: 8px !important;
	}

	.show-menu .fa-solid {
		color: #daca8e;
	}

	.navi {
		padding: 0;
		text-align: left !important;
	}

	.navi .container {
		padding: 0;
		width: 100%;
		background: transparent;
	}

	.menu {
		display: block;
	}

	.menu li {
		margin: 0;
		border-right: none !important;
	}

	.menu a {
		display: block;
		text-align: left !important;
		padding: 8px !important;
		background: transparent !important;
		border-bottom: 0px !important;
	}
}

@media only screen and (max-width: 1024px),
only screen and (max-device-width: 966px) {

	body {
		font-size: 100% !important;
	}

	body,
	#wrapper,
	#content,
	.maintable,
	#footer,
	.head {
		overflow-x: hidden !important;
	}

	#wrapper {
		width: 100% !important;
		margin: 0px !important;
	}

	#content {
		width: 100%;
		padding: 0px;
		margin: 0px !important;
		background: transparent !important;
	}

	img.head {
		width: 100% !important;
		height: auto;
		margin: 0 !important;
		padding: 0 !important;
		display: block !important;
	}

	.navmenu {
		font-size: 100%;
	}

	#gallery {
		padding: 0px;
		width: 95%;
	}

	#gallery .menutop {
		max-width: 65vw !important;
	}

	.category_icon a img,
	.category_icon a img:hover {
		width: 10.5vw !important;
		height: auto;
	}

	.thumbnails,
	.thumbnails td {
		margin: 0 !important;
		padding: 1vw 0 !important;
		width: 0.1vw !important;
	}

	.thumbnails .image,
	.thumbnails .thumbnail {
		height: auto;
		display: inline;
		max-width: 10vw;
	}

	#header,
	.sordorder_cell {
		display: none;
	}

	embed,
	iframe,
	object,
	video {
		max-width: 100%;
	}

	.footer {
		width: 95% !important;
		margin: 10px auto !important;
		padding: 20px 0;
	}

	.navmenu {
		padding: 2px !important;
	}

	.navmenu img {
		margin: 0px !important;
	}
}

@media only screen and (max-width: 500px),
only screen and (max-device-width: 375px),
only screen and (max-width: 200px),
only screen and (max-device-width: 200px) {

	.navmenu {
		font-size: 100%;
	}

	#gallery .menutop {
		max-width: 50vw !important;
	}

	.thumb_filename,
	.thumb_comments,
	.thumb_title,
	.thumb_caption {
		display: block;
		width: 55%;
		font-size: .358rem;
	}

	.catrow cats {
		font-size: .358rem;
	}

	.thumbnails {
		margin: 0 !important;
		padding: 1vw 0 !important;
		width: 0.1vw !important;
	}

	td.thumbnails {
		margin: auto 1px !important;
	}

	.thumbnails .image,
	.thumbnails .thumbnail {
		height: auto;
		display: inline;
		max-width: 5vw;
	}

}