/**************/
/* NEW STYLES */
/**************/

body {
	/* Declare it once instead of repeating it over and over */
	font-family: "Trebuchet MS", Tahoma, sans-serif;
}

.contentItem {
	padding: 8px 0;
}

.wp-post-image {
	display: block;
	margin: 0 auto;
}

.layout {
	display: grid;
}

.layout--blog {
	grid-template:
		"menu content sidebar" 1fr
		/ auto 1fr auto;
	padding: 6px;

	& .layout--blog__menu {
		grid-area: menu;
	}
	& .layout--blog__content {
		grid-area: content;
		padding: 8px 12px 0px;
	}
	& .layout--blog__sidebar {
		grid-area: sidebar;
	}
}

@media (max-width: 1024px) {
	.layout--blog {
		grid-template:
			"content sidebar" auto
			/ 1fr auto;
	}
}

@media (max-width: 980px) {
	.layout--blog {
		grid-template:
			"content" 1fr
			"sidebar" auto
			/ 100%;
		padding: 0 6px;
	}
}

.wp-block-image {
	text-align: center;
}

.wp-element-caption {
	text-align: center;
	font-style: italic;
}

@media (max-width: 980px) {
	.wp-tag-cloud a {
		font-size: 1.5rem !important;
	}
}

.sh3d-archives {
	&, & li, & ul {
		padding: 0;
		margin: 0;
		list-style: none;
	}
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	row-gap: 12px;
}

.striped {
	& >:nth-child(even) {
		background: #F4F4F4;
	}
	& >:nth-child(odd) {
		background: white;
	}
}

.responseBody p {
	margin: 0;
}

.comment-reply-title > small {
	margin-left: 12px;
}

#responses {
	margin-top: 32px;
}

.aligncenter .wp-block-embed__wrapper {
	text-align: center;
}

/**********/
/* LEGACY */
/**********/

body {
	margin: 0px;
	background-color: #FFFFFF;
}
blockquote {
	margin-left: 16px;
	margin-right: 5px;
}
li {
	margin-right: 5px;
}
thead td {
	font-weight: 200;
}
h1 {
	margin-bottom: 2px;
}
pre {
	border-left-style: solid;
	border-left-color: #666666;
	padding-left: 10px;
	background-color: #DDDDDD;
	padding-top: 5px;
	padding-bottom: 5px;
	/* font-family: "Lucida Sans Typewriter", Courier, mono; */
}
a:link, a:visited, a:active {
	color: #3B5DA1;
}
a:hover {
	color: orange;
}
.lightborder {
	border: 1px solid #CCCCCC;
}
.thinRuler {
	width: 40%;
	margin: 0px;
	size: 1px;
}
.spaced {
	margin-bottom: 3px;
}
.li12 {
	margin-top: 12px;
}
.largespace {
	margin-top: 24px;
}
.codeComment {
	color: #009966;
}
.propertyKey {
	color: #0000CC;
}
.specialValue {
	color: #990033;
}
.modelCell {
	width: 140;
	text-align: center;
	vertical-align: top;
}
.modelDefault {
	border: 1px solid #CCCCCC;
	background: #FFFFFF;
	width: 128px; 
	height: 128px; 
/*	padding-bottom: 0.4em; */
}
.modelRecent {
	border: 2px solid #AA0000;
	background: #FFFFFF;
	width: 128px; 
	height: 128px; 
}
.modelReleased {
	border: 2px solid #00AA00;
	background: #FFFFFF;
	width: 128px; 
	height: 128px; 
}
.modelSize {
	border: 1px solid #CCCCCC;
	font-size: 75%;
 	background: white; 
	position: relative;
	top: -0.45em;
	margin-left: 45px;
	margin-right: 45px;
	margin-bottom: -0.45em; 
	margin-top: 0;
	padding: 1px;
}
.modelLicenseAndSize {
	border: 1px solid #CCCCCC;
	font-size: 75%;
 	background: white; 
	position: relative;
	top: -0.45em;
	margin-left: 25px;
	margin-right: 25px;
	margin-bottom: -0.45em; 
	padding: 1px;
}
.modelName {
	padding-top: 2px;
	padding-bottom: 12px;
	margin: 0;
}
.modelLicenseLegend {
	border: 1px solid #CCCCCC;
	padding: 2px;
	margin-top: 20px;
	font-size: 80%;
}
.logo {
	padding: 5px; 
	border: 1px lightgray solid;
	background-color: white; 
	text-align: center;
}

.headerItem {
	font-weight: normal;
	text-shadow: 1px 1px #EFECE4, -1px -1px #CAC8C1;	  
	color: #000000;
	text-decoration: none;
	margin-top: 10px;
	margin-bottom: 0px;
	margin-left: 5px;
	margin-right: 5px;
}
a.headerItem:link, a.headerItem:visited, a.headerItem:active {
	color: #000000;
	text-decoration: none;
	transition: all 0.25s ease-out;	
}
a.headerItem:hover {
	color: orange;
	text-decoration: underline;
	text-shadow: none;	  
}

.menu {
	font-weight: 400;
	text-shadow: 1px 1px #5B8EE6, -1px -1px #4B75BD;	  
	margin-left: 2px;
	margin-top: 0px;
	margin-right: 1px;
	margin-bottom: 0px;
	color: #FFFFFF;
	text-decoration: none;
	text-align: center;
	background: url("../img/decoration/menuBackground.gif") #446AAC repeat-x;
	transition: all 0.25s ease-out;
}
a.menu:link, a.menu:visited, a.menu:active {
	color: #FFFFFF;
	text-decoration: none;
}
a.menu:hover {
	color: orange;
	text-decoration: underline;
	text-shadow: none;	  
}
.menuItem {
	margin-left: 1px;
	margin-top: 2px;
	margin-right: 1px;
	margin-bottom: 1px;
	color: #404040;
	text-decoration: none;
	padding: 0px;
	line-height: 110%;
	transition: all 0.25s ease-out;
}
a.menuItem:link, a.menuItem:visited, a.menuItem:active {
	color: #404040;
	text-decoration: none;
}
a.menuItem:hover {
	color: orange;
	text-decoration: underline;
}
.menuCell {
	padding: 5px;
}
.printerCell {
	padding-top: 5px; 
	padding-right: 2px;
}
.translationsCell {
	padding-top: 5px; 
	padding-right: 5px;
}
.mainCell {
	padding-top: 8px; 
	padding-right: 5px; 
	padding-bottom: 5px;
}
.mainFooter {
	margin-top: 16px;
}
.translator {
	font-family:  sans-serif;
}
.larger {
	font-size: 1.4em;
}
.titleIcon {
	vertical-align: middle; 
	margin-top: -5px; 
	margin-right: 5px;
	width: 32px;
}
#owl {
	width: 500px;
	margin: 0 auto; 
	margin-top: 15; 
	text-align: center; 
	overflow: visible; 
	display: none;
}
#owl video {
	width: 500px;
}
#owl img {
	height: 266px;
}
#defaultImage img {
	height: 266px;
}
#SweetHome3DSmallScreenMenuIcon {
	background-image: url("../img/menuIcon.png");
	width: 25px;
	height: 22px;
}
#SweetHome3DSmallScreenMenuIcon:hover {
	background-image: url("../img/menuIconHover.png");
	cursor:	pointer;
}
#SweetHome3DSmallScreenMenuIconCell {
	vertical-align: top;
	padding-top: 28px;
	padding-left: 15px;
	padding-right: 10px;
	display: none;
}
#SweetHome3DLogoSmallScreen {
	display:none;
}

/* Responsiveness management */
@media only screen and (max-width: 860px) {	
	#SweetHome3DSmallScreenMenuIconCell {
		display: inline-block;
	}
	#SweetHome3DLogo {
		display: none;
	}
	#SweetHome3DLogoSmallScreen {
		display:block;
	}
	#SweetHome3DSearch {
		display: none;
	}
	#SweetHome3DMenu {
		display: none;
	}
	#facebook {
		display: none;
	}
	#forumLoginInlineForm {
		display: none;
	}
}

@media only screen and (min-width: 860px) and (max-width: 1024px) {	
	#SweetHome3DSmallScreenMenuIconCell {
		display: inline-block;
	}
	#SweetHome3DSearch {
		display: none;
	}	
	#SweetHome3DMenu {
		display: none;
	}
	#facebook {
		display: none;
	}
}

@media (hover: none), (pointer: coarse) {
	#SweetHome3DSmallScreenMenuIcon {
		transform:scale(1.25, 1.25);
	}
	#SweetHome3DSmallScreenMenuIconCell {
		padding-right: 15px;
	}
	body {
		font-size: 14px;
	}

	.sidebarItemTitle {
		height: 24px;
	}
	.sidebarItemTitle * {
		font-size: 20px;
	}
	.sidebarItemBody * {
		font-size: 20px;
 		line-height: 19px; 
	}
 	.sidebarTagCloud * { 
 		line-height: 18px; 
 	} 
    	
	@media (max-width: 980px) {
		/* Show only blog tags at bottom */
		#sidebar .sidebarItem:nth-child(1), #sidebar .sidebarItem:nth-child(3) {
			display: none;
		}
		#body {
			position: relative;
		}
		#body #content {
			margin-right: 0;
		}
		#sidebar {
			width: auto;
			margin-left: 2em;
			margin-right: 2em;
			margin-bottom: 1em;
		}
		.published .contentItemBody {
			margin-bottom: -2em;
		}
		#linearNavigation {
			padding-bottom: 64px;
		}
		#linearNavigation a:link {
			text-decoration: underline;
		}
		.sidebarItem {
			background: #EAE8DF;
			border-left: 1px solid #9F9F9F;
			border-right: 1px solid #9F9F9F;
		}		
		.sidebarItemBody * {
			font-size: 16px;
	 		line-height: 19px; 
		}
		.sidebarItemTitle {
			background: #446AAC;
			height: 2.5em;
		}
		.sidebarItemTitle * {
			font-size: 2em;
		}
		#sidebarBottom {
			background: #9F9F9F;
			padding-bottom: 2px;
		}
	 	.sidebarTagCloud * { 
	 		line-height: 0.95em;
	 		font-size: 1.1em;
	 	} 
 		.small, #linearNavigation, #footer {
 			font-size: 1.15em;
 		}
		.metadata {
			margin-bottom: 3em;
		}
	}
	
	.headerItem * {
		font-size: 1.4em;
		margin-left: 2px;
		margin-right: 2px;
	}
	.menuItem {
		font-size: 1.15em;
		padding-left: 2px;
	}
	.menu {
		font-size: 1.2em;
	}
	#searchIcon  {
		width: 28px;
		padding-right: 10px;
		padding-left: 5px;
	}
	#owl {
		width: 640px !important;
	}
	#owl video {
		width: 640px;
	}
	#owl img {
		height: 340px;
	}
	#defaultImage img {
		height: 340px;
	}
	.translationFlag {
		transform: scale(1.25,1.25);
		margin: 4.5px;
	}
	.menuItemTranslationFlag {
		width: 22px;
	}
	.larger {
		font-size: 2em;
	}
	
	@media only screen 
	  and (min-width: 320px) 
	  and (max-width: 980px) 
	  and (-webkit-min-device-pixel-ratio: 2) {  
		#SweetHome3DSmallScreenMenuIcon {
			transform:scale(2,2);
		}
		#SweetHome3DSmallScreenMenuIconCell {
			padding-left: 40px;
			padding-right: 35px;
			display: inline-block;
		}
		#SweetHome3DLogo {
			display: none;
		}
		#SweetHome3DLogoSmallScreen {
			display:block;
		}
		#SweetHome3DSearch {
			display: none;
		}
		#SweetHome3DMenu {
			display: none;
		}
		#facebook {
			display: none;
		}	
		#forumLoginInlineForm {
			display: none;
		}
		html * {
			font-size: 24px;
		}
		h1 {
			font-size: 1.8em;
		}
		h3 {
			font-size: 1.33em;
		}
		.headerItem {
			font-size: 1.25em;
		}
		.menuItem {
			padding: 2px 4px 2px 4px;		
		}
		.menu {
			padding: 1.5px 4px 1.5px 4px;
		}
		.titleIcon {
			width: 2em;
		}
		#searchIcon  {
			width: 32px;
			padding-right: 10px;
			padding-left: 10px;
		}
		#owl {
			width: 750px !important;
		}
		#owl video {
			width: 750px;
		}
		#owl img {
			height: 399px;
		}
		#defaultImage img {
			height: 399px;
		}
		.galleryImage {
			transform: scale(1.4,1.4);
			margin-top: 15px;
			margin-bottom: 30px;
		}
		.translationFlag {
			transform: scale(1.5,1.5);
			margin: 5.5px;
		}
		.menuItemTranslationFlag {
			width: 35px;
		}
		.larger {
			font-size: 1.4em;
		}
	}
}

.mobile-banner {
  display: none!important; /* Hidden by default */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  padding: 15px;
  text-align: center;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.mobile-banner img {
  width: 50px;
  height: 50px;
  display: block;
  margin: 0 auto 10px;
}

.mobile-banner button {
  background-color: #007aff;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

.close-banner {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
}

.Stage_DEV {
        background-color: green;
    background-blend-mode: hard-light;
}

.Stage_TEST {
        background-color: blue;
    background-blend-mode: hard-light;
}
