/*************HEAD/NAV***********/
#masthead {
	background-color: #000;
	/*
	-webkit-box-shadow: 0 6px 4px -4px #efefef;
    -moz-box-shadow: 0 6px 4px -4px #efefef;
    box-shadow: 0 6px 4px -4px #efefef;
	*/
}

#masthead #google_language_translator {
	position: relative;	
	left: 2rem;
}

/**************GENERAL****************/

.sectiontitle {
    text-transform: uppercase;
    font-size: 140%;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    background-color: var(--secondary);
    padding: 5px;
    width: 100%;
	text-align:center;
	color: white;
	margin-top: 1rem;
}

.pagetitle {
	text-transform: uppercase;
	font-size: 200%;	
	font-family: 'Oswald', sans-serif;
	font-weight: 600;
	padding: 1rem 0;
	line-height: 4rem;
	vertical-align: middle;
	background-color: var(--primary);
	border-bottom: 2px solid var(--secondary);
	position:relative;
	color: black;
}

/******************HOME************************/

html:has(.home) {
	background-color: black;	
}

/*
//moved to front-page.php
.home #primary { 
  background: url(/wp-content/uploads/cat-simulators-support-bg-img4.jpg) no-repeat 55% bottom fixed; 
  background-size: cover;
}
*/

.hometxtbox {
	max-height: 65vh;
	overflow-y:auto;
	width: 90%;
	opacity: .8;
	font-size: 105%;
	background-color: black;
	border-radius:10px;
	margin: 50px auto 0 auto;
	padding: 1rem;
	color: white;
}

@media screen and (max-width: 520px) {
	.hometxtbox {
		position: relative;
		bottom:15px;
	}
}	

/*****************DOC NAVIGATOR************/
.docstickyheader {
	background-color: whitesmoke;
	/*
	-webkit-box-shadow: 0 6px 4px -4px #efefef;
    -moz-box-shadow: 0 6px 4px -4px #efefef;
    box-shadow: 0 6px 4px -4px #efefef;	
	*/
}

#msgcont {
	min-height: 80px;
	width: 100%;
	text-align: center;	
}

#pagemsgs.hasCarets {
	position: relative;
	top: -18px;	
}

.doccarets {
	display:none;
}

.doccarets:hover {
	cursor: pointer;
	color: var(--infolt);
}

.clearsearch:hover {
	cursor: pointer;
}

.docmain {
	background-color: whitesmoke;
	padding-top: 0;
}

.docbody {
	padding: 1rem;
	background-color: white;
}

.docpane {
	position: fixed;
	top: 165px;
	left: -300px;
	max-height: 80vh;
	min-height: 300px;
	width: 300px;
	background: white;
	transition: 0.5s all ease;
	z-index:800;
}

.docpane-head-sec, .docpane-head-pri {
	color: white;
	font-size: 130%; 
	text-align: center; 
	padding: 10px;
	height: 50px;
}

.docpane-head-sec {
	background-color: var(--secondary); 
}

.docpane-head-sec:hover {
	cursor:pointer;
}

.docpane-head-pri {
	background-color: var(--primary); 
}

.docnavtitle {
	font-weight:600;
}

.slideout-tab {
	text-align: center; 
	position: absolute;
	left: 300px;
	top:0;
	background-color: var(--secondary);
	height: 50px;
	padding: 0 5px;
}

.slideout-tab svg {
	position: relative;
	top: 5px;
}

.docpane-body {
	padding: 15px 15px 15px 15px;
	overflow-y: auto;
}

.docpane-body a {
	color: var(--info);
}

.docpane-body a:hover {
	color: var(--infolt);
}

.docpane.open {
   left: 0%;
   box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}

.getpdflink {
	float: left;	
	text-align:center;
	position: relative;
	left: 5px;	
}

.chapterpdficon {
	position:relative;
	top:2px;
}

.chapterpdficon:hover {
	cursor: pointer;
}

.spinicon {
  animation-name: spin;
  animation-duration: 1000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear; 
}

@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}

@media screen and (max-width: 768px) {
	.docpane {
		left: -280px;
		max-height: 80vh;
		min-height: 300px;
		width: 280px;			
	}	
	
	.slideout-tab {
		left: 280px;
	}
}

.thumbcont {
	float:right;
	position: relative;
	top: 15px;
	right: 5px;
	text-align: center;
}

.thumbrateup, .thumbratedown {
	margin: 0 3px;
	display: inline-block;
}

.thumbratedown:hover, .thumbratedown:hover svg, .thumbratedown:hover path {
	cursor: pointer;
	fill: var(--error);
}

.thumbrateup:hover, .thumbrateup:hover svg, .thumbrateup:hover path  {
	cursor: pointer;	
	fill: var(--success);
}


.docmain a[name="chapter1"],.docmain a[name="chapter2"],a[name="chapter3"],.docmain a[name="chapter4"],.docmain a[name="chapter5"],.docmain a[name="chapter6"],.docmain a[name="chapter7"],.docmain a[name="chapter8"],.docmain a[name="chapter9"],.docmain a[name="chapter10"] {
  position:relative; top: -250px;
}

/*****FOOT*****/

#colophon {
	position: absolute;
	bottom: 0;
	width: 100%;	
	background-color: #111;
	color: white;
	text-align: center;
}

#catcertimg {
	position: absolute;	
	z-index: 99;
	bottom: 15px;
	left: 50px;
	height: 70px;
	width: 70px;
}
/*
#google_language_translator {
	margin-right: 15px;	
}*/

#legallinks {
	margin-left: 120px;
	font-size: 70%;
	position:relative;
	top:0;
	text-transform: uppercase;
}

.lgsect {
	display: flex;	
}

#lgcopyright {
	display:block;
	font-size: 70%;
}
#smcopyright {
	font-size: 70%;
	width:100%;
	text-align:center;
	height:40px;
	line-height:40px;
	vertical-align:middle;	
	display:none;
}

#smcopyright #footertext {
	background-color: #111;	
}

#smlangbg {
	width:100%;
	height:40px;
	display:none;
}

#langselectcont {
	position: absolute;
	bottom: 5px;
	right: 15px;
	z-index:99;
}

.home #langselectcont .goog-te-combo, .blog #langselectcont .goog-te-combo {
    position: relative;
    top: 25px;
}

@media screen and (max-width: 1024px) {
	#catcertimg {
		height: 70px;
		width: 70px;
		left: 20px;
		bottom: 30px;
	}
	
	#legallinks {
		margin-left: 110px;
		top:5px;
	}	
	
	#lgcopyright, .lgsect {
		display:none !important;	
	}
	
	#smcopyright, #smlangbg {
		display:block;	
	}
	
	#langselectcont {
		bottom: 80px;		
	}
	
}


/*******codetest********/

.sim-menu-item-cont {
	margin-bottom: 10px;
	border: 2px solid #efefef;
	padding: 5px;
	min-width: 300px;
	max-width: 100%;
	clear:both;
	min-height: 100px;
}

.sim-menu-item-cont:hover {
	cursor: pointer;
	background-color: #efefef;
	/*background-color: var(--primarylt);*/
	border: 2px solid black;
}

.sim-menu-title {
	font-weight: 600;	
	font-size: 110%;
}

.sim-deet-cont {
	font-size: 90%;	
}

.simcontinco {
	float: left;
    margin-right: 10px;	
}

.sim-detail-lead {
	font-weight: 600;
}

.details-cont {
	position: relative;
	border: 2px solid #efefef;	
	padding: 10px;
	width: 100%;
}

.sub-active {
	font-weight: 600;
	text-transform: uppercase;
	color: var(--success);
}

.statusbox {
	position: absolute;
	z-index: 20;
	top: 0;
	right: 0;
	padding: 5px;
	width: 50px;
	background-color: var(--success);
	color: white;
	font-size: 110%;
	font-weight: bold;
	text-align: center;
}

.standardlink {
	color: var(--info);	
	font-size: 90%;
}

.standardlink:hover {
	color: var(--infolt);
	text-decoration: underline;
}

.software-warning {
	font-size: 90%;
}