body, ul, p {margin:0px; padding:0px; }
body { font-family: "proxima-nova",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif; min-width:320px; }
form { padding:0px; margin:0px; }
a { text-decoration:none; color:blue; cursor:pointer; }
a:hover { color:orange; }
textarea.big2 { overflow-y:hidden; } /* AUTOGROW */
ul { list-style:none; }
h1 { font-size:36px; }
dl { margin-bottom:0.5em; font-size:17px; margin-top:0.2em; }
dd { margin-bottom:0.3em; margin-left:1.6em; font-size:17px; margin-top:0.3em; }

:root {
  --haspect: 100%;
  --numrows: 1;
}

#wrap-vh { min-height:calc(100vh - 96px); } /* 118 */

img { background:#eee; } /* IF TOO SPECIFIC, THEN .im img */
.sq img { background:#ddd; }
img.res { width:100%; height:auto; display:block; } /* RESPONSIVE WITH NO CROPPING */
img.nobg { background:none; }

p { margin:0px 0px 25px 0px; font-size:17px; line-height:28px; }
/* https://css-tricks.com/minimum-paragraph-widths/ */
p:before {
  content: "";
  width: 5em;
  display: block;
  overflow: hidden;
} 

.nohov:hover { color:unset !important; } 
.hovgrey:hover { background:#f6f7f8; } 
.hinfo { cursor:help; }

/* LINE HEIGHT */
.txt { line-height:26px; overflow-x:hidden; }

.blackbg, .blackbg2 { position:absolute; top:0px; left:0px; width:100%; background:#333; z-index:-1; }
.blackbg { height:560px; }
.blackbg2 { height:310px; }
.w970c { max-width:970px; margin:0 auto; }
.colwrap { display:flex; margin-top:15px; }
.col { width:100%; }
.col1 { margin-right:60px; width: calc(100% - 300px); /* overflow:hidden; */ }
.col2 { width:300px; margin-left:auto; }
.col2align { margin:0 auto; }
.topichead { max-width:1030px; margin:0 auto; margin-top:30px; margin-bottom:30px; display:flex; background:#fff; margin-left:-30px; margin-right:-30px; }
.topictitle { width:100%; border-color: #ddd; border-style: solid; border-width: 1px 0 1px 1px; }
.topictitle_pad { padding:30px; }
.topictitle_pad h1 { font-size:48px; }
.topictabs { left:30px; bottom:10px; }
.topicimage { margin-left:auto; display:block; }
.topicimage img { width:360px; height:360px; background:#ddd; display:block; }
.tabpage .topicimage img { width:180px; height:180px; }
.tabpage h1 { font-size:28px; }
.topicstat { display:flex; padding-bottom:30px; padding-top:5px; font-size:30px; }
.ad1 { max-width:970px; margin:0 auto; margin-top:25px; margin-bottom:5px; }
.ad1size { height:250px; }
.topicphotocredit { position:absolute; color:grey; font-size:11px;right:8px; bottom:8px; }
.sidebyside { padding:10px 0px; display:flex; justify-content:space-between; }
.sidebyside > div { width:300px; }
.connect_teaser { background:#eee; margin-left:-30px; padding-left:30px; margin-right:-30px; padding-right:30px; margin-top:30px; margin-bottom:30px; }

.inact { min-height:30px; } 
.lgbg { background:#f6f7f8; }
.bgw { background:#fff; }
.bgb { background:#000; }
.wiptabs { margin-bottom:20px; }
.wiptabs a { color:#777; display:block; padding:10px; }
.wiptabs li.active a { background:#eee; font-weight:bold; color:#000; }

.sct2 { display:flex; flex-direction:row; width:90px; font-size:14px; }
.sct2 li { flex:1; text-align:center; padding-top:2px; display:block; color:black; user-select:none; -moz-user-select: none; -webkit-user-select: none; text-decoration:none; background:#eee; border:1px solid #ddd; cursor:pointer; margin-bottom:-1px; }
.sct2 li:hover { background:#ddd; } 
.sct2 li.active { background:#fff; color:black; border-bottom:1px solid #fff; margin-bottom:-1px; padding-bottom:0px; z-index:1; } 

@media screen and ( max-width:1040px ) {
	.topichead { max-width:970px; margin-left:0px; margin-right:0px; }
}

@media screen and ( max-width:969px ) {
	.blackbg { height:420px; }
	.blackbg2 { height:270px; }
	.ad1size { height:150px; }
	.topicimage img { width:280px; height:280px; }
	.tabpage .topicimage img { width:140px; height:140px; }
	.topictitle_pad h1 { font-size:34px; }
	.topicstat { font-size:24px; }
	.tabpage h1 { font-size:26px; }
	.connect_teaser { margin-left:-10px; margin-right:-10px; }
}

@media screen and ( max-width:940px ) {
	.sidebyside { display:block; }
	.sidebyside > div { padding-bottom:20px; }
}

@media screen and ( max-width:900px ) {
	.col1 { margin-right:30px; }
	.connect_teaser { padding-left:20px; padding-right:20px; }
}

@media screen and ( max-width:799px ) {
	/* MOVE TO ONE COLUMN */
	.colwrap { display:block; }
	.col1 { margin-right:0px; width:auto; /* overflow:auto; */ }
	.col2 { /* background-color:blue; */ width:auto; padding-top:40px; padding-bottom:40px; margin-left:0; margin:0 auto; }
	.map { margin-left:-10px; margin-right:-10px; }
}


@media screen and ( max-width:700px ) {
	/* body { background-color:red; } */
	
	.blackbg { height:380px; }
	.blackbg2 { height:260px; }
	.ad1size { height:120px; }
	
	.ad2 { display:none; }	
	.topictitle_pad { padding:14px; }
	.topictitle_pad h1 { font-size:28px; }
	.topictabs { left:14px; }
	.topicimage img { width:240px; height:240px; }
	.topicstat { font-size:20px; }
	.tabpage .topicimage img { width:120px; height:120px; }
	.tabpage h1 { font-size:22px; }
}

@media screen and ( max-width:650px ) {
	.topicphotocredit { display:none; }
}

@media screen and ( max-width:500px ) {
	/* body { background-color:orange; } */
	
	/* NAV */
	.blackbg { height:340px; }
	.blackbg2 { height:250px; }
	.ad1size { height:90px; }
	
	/* TOPIC HEAD */
	.topichead { flex-direction: column-reverse; border-color: #ddd; border-style: solid; border-width: 0 1px 1px 1px; }
	.topictitle { border:none; }
	.topictitle_pad { text-align:center; padding:6px; }
	.topictitle_pad h1 { font-size:24px; }
	.topictabs { left:6px; }
	.topicimage { margin:0 auto; }
	.topicimage img { width:200px; height:200px; }
	.topicstat { font-size:14px; }
	.tabpage .topicimage img { width:100px; height:100px; }
	.tabpage h1 { font-size:20px; }
	.connect_teaser { padding-left:10px; padding-right:10px; } 
}
				
.cp, input[type=button] { cursor:pointer; }
.usn { user-select:none; }
.cpu { cursor:pointer; user-select:none; }
.ddrop { cursor:move; } 

.inline_div > div { display:inline-block; }

.clear { clear:both; }
.posl { float:left; }
.posr { float:right; }
.posc { margin:0 auto; }
.oh { overflow:hidden; }
.bold { font-weight:bold; color:black; }
.nbold { font-weight:normal; }
.w20pc { width:20%; }
.w33pc { width:33%; }
.w50pc { width:50%; }
.w66pc { width:66%; }
.w80pc { width:80%; }
.w100pc { width:100%; }
h1, h2, h3, h4, h5 { margin:0; padding:0px; }
.grey { color:grey; }
.dgrey { color:#777; }
.red { color:red; }
.black { color:black; }
.lgrey { color:#eee; }
.green { color:green; }
.red { color:red; }
.orange { color:orange; }
.white { color:#fff; }
.plr10 { padding-left:10px; padding-right:10px; }
.pb2 { padding-bottom:2px; }
.pb4 { padding-bottom:4px; }
.pb6 { padding-bottom:6px; }
.pb8 { padding-bottom:8px; }
.pb10 { padding-bottom:10px; }
.pb20 { padding-bottom:20px; }
.pb30 { padding-bottom:30px; }
.pt2 { padding-top:2px; }
.pt4 { padding-top:4px; }
.pt6 { padding-top:6px; }
.pt8 { padding-top:8px; }
.pt10 { padding-top:10px; }
.pt20 { padding-top:20px; }
.pl10 { padding-left:10px; }
.pr10 { padding-right:10px; }
.pad5 { padding:5px; }
.pad10 { padding:10px; }
.pad15 { padding:15px; }
.txtc { text-align:center; }
.txtr { text-align:right; }
.imgc { border-radius: 50%; background-color: #fafafa; }
.imgd { position: relative; overflow: hidden; background:#171715; display:block; }
.mctn span { display:none; }
.factx div { padding-bottom:4px; line-height:24px; }
.imgs { display:block; width:100%; height:auto; max-width:500px; } /* max-width:454px; */
.fw { margin-left:-10px; margin-right:-10px; } /* .mm10 */
.font10 { font-size:10px; }
.font11 { font-size:11px; }
.font12 { font-size:12px; }
.font13 { font-size:13px; }
.font14 { font-size:14px; }
.font16 { font-size:16px; }
.font18 { font-size:18px; } 
.font26 { font-size:26px; } 
.del { font-size: 16px; }
.break2 { border-bottom: 1px solid rgb(239,239,239); clear: both; height: 10px; margin-bottom: 10px; }
.cli { cursor:pointer; }

.fav { color:#ddd; }
.liked { color:#e5158f; }

.mb10 { margin-bottom:10px; }
.mb20 { margin-bottom:20px; }
.mb30 { margin-bottom:30px; }
.mb40 { margin-bottom:40px; }
.mb50 { margin-bottom:50px; }
.mt10 { margin-top:10px; }
.mt20 { margin-top:20px; }
.mt30 { margin-top:30px; }
.mt40 { margin-top:40px; }
.mt50 { margin-top:50px; }

span.spaceb::before { content: ' '; white-space: pre; }

textarea.txta { font-size:14px; padding:2px; line-height:16px; margin-top:3px; overflow:auto; margin-bottom:3px; border:1px solid #ccc; }
textarea.comments { height:87px; }

.icongrey { color:#ccc; }
.icongrey:hover { color:#999; }
.lgrey { color:#eee; }
.iconred { color:red; }
.icondarkgrey { color:#999; }
.icondarkgrey:hover { color:#000; }
.icondark { color:#000; }
.icondark:hover { color:#999; }

.iconbx > div { background:#fff; }
.iconbx a { color:#777; padding:14px 10px; }

.hovarea .hovdisplay { display: none; }
.hovarea:hover .hovdisplay { display: inline; }
.hovedit { position:absolute; padding-left:5px; padding-bottom:5px; background:#fff; z-index:2; right:0px; top:0px; }
.hovedit span { border:1px solid #ddd; border-radius:6px; padding:10px; font-size:14px; cursor:pointer; user-select:none; }

.pick2 { font-size:12px; cursor:pointer; color:grey; user-select:none; }

.italic { color:#666; font-size:10px; font-style:italic; }
.break { clear:both; margin-top:30px; margin-bottom:30px; border-bottom:1px #ddd solid; }
.odd { background:#eee; }
.li10 > li { padding-bottom:10px; }
.li20 > li { padding-top:10px; padding-bottom:10px; border-bottom:1px solid #eee; }
.lip10 > li { padding:10px; }
.lia10 > li a { padding:10px; }

.index_btn { background:#fff; color:#000; padding:5px; border:1px solid #777; border-radius:8px; cursor:pointer; user-select:none; height:26px; margin-left:10px; }
.index_btn.open { background:#000; color:#fff; }
					
#overlay-form input, #overlay-form select { font-size:16px; }
input, select, textarea { font-size:16px; padding:4px; box-sizing:border-box; } /* TO PREVENT INPUT WIDER THAN DIV */
input.big, select.big, textarea.big { font-size:16px; padding:4px; }
input.big2, select.big2, textarea.big2 { font-size:18px; padding:6px; line-height:26px; height:38px; } 

.fieldhead { font-weight:bold; font-size:12px; padding-bottom:4px; }

.homestats { position:absolute; right:0px; top:0px; text-align:center; margin-top:10px;  background:#f6f7f8; border:1px solid #ddd; padding:10px; }
@media screen and ( max-width:800px ) {
	.homeh1 h1 { font-size:28px; }
} 
@media screen and ( max-width:700px ) {
	.homeh1 h1 { font-size:20px; }
	.homestats { position:relative; }
} 

.videor { float:right; clear:left; position:relative; width:320px; margin-left:20px; padding-top:6px; z-index:2; }

@media screen and ( max-width:500px ) {
	.videor { float:none; width:100%; height:auto; margin:0px; }
} 


/* CREDITS */
.cre { margin-left:10px; flex-grow:1; position:relative; padding-right:100px; border-right:1px solid #ddd; }
.crey { position:absolute; top:0px; right:10px; width:90px; text-align:right; }
@media screen and ( max-width:600px ) {
	.crey { position:relative; width:auto; text-align:left; right:0px; }
	.cre { padding-right:0px; }
} 
.dar { padding:14px 15px 0px 15px; cursor:pointer; user-select:none; }


/* ACTIVITY FEED */
.node_circle_list li {
    position: relative;
    padding: 0px 10px;
}
.node_circle_list a.pri {
    min-height: 60px;
    text-decoration: none;
    display: block;
    color: black;
    padding: 8px 0px;
    position: relative;
    border-bottom: 1px solid #ddd;
}
.node_circle_list a.pri:hover { background:#eee; }

/* ACTIVITY FEED v2*/
.afeed li > a { padding:10px 5px 10px 5px; border-bottom:1px solid #eee; }
.afeed li > a:hover { background:#eee; color: black; }
.hov2 li > a:hover { background:#f6f7f8; color: black; }

/* JAVASCRIPT: MESSAGE/LOADER.GIF/DELETE CONFIRM */

.infmsgbox { width:100%; position:relative; }
.infmsgbox img, .infmsg, .nomore { text-align:center; padding:10px; z-index:3; position:absolute; left: 50%; transform:translateX(-50%); }
.infmsg, .nomore { width:200px; bottom:-10px; background:#fff; border:1px solid #ddd; -moz-border-radius: 10px; border-radius: 10px; }
.infmsgbox img { bottom:-50px; background:none; }

.msg { padding-top:5px; padding-bottom:15px; font-weight:bold; }

.msgfr { position:relative; z-index:5; }
.msgdiv { font-weight:bold; font-size:14px; padding:10px; text-align:center; position:absolute; left: 50%; transform:translateX(-50%); top:10px; width:280px; } 
.msgdiv.notok { background:#FFCAB7; border:1px solid #FF0000; color:red; }
.msgdiv.ok { background:#abf7b1; border:1px solid #008631; color:green; }
.msgdiv.dup { background:#FBCEB1; border:1px solid #CD7F32; color:orange; }
.msgdiv.upgrade { background:#CBC3E3; border:1px solid #9F2B68; color:purple; }

.facthead { background:#eee; text-align:center; font-size:11px; padding:5px; margin:3px 0px; }

.tedmenu > li { flex: 1; cursor:pointer; user-select:none; padding-top:4px; padding-bottom:4px; }
.tedmenu > li.active span { color:#000; }
.tedmenu > li span { font-size:18px; color:#999; }
.tedarea > li { display:none; padding:10px; border:1px #000 solid; min-height:200px; background:#e9eaed; }
.tedarea > li.active { display:inline; }

.tabmenu { display:grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; grid-column-gap:0px; border:1px solid #ddd; text-align:center; }
.tabmenu li { cursor:pointer; user-select:none; border-left:1px solid #ddd; }
.tabmenu li:first-child { border-left:none; }
.tabmenu li > span { padding:2px; }
.tabmenu a { color:black; padding:2px; display:block; }
.tabmenu a.active { background:#f6f7f8; border-bottom:2px solid #000; }
.tabcenter { margin:0 auto; width:200px; margin-bottom:30px; } 
.tabcenter2 { margin:0 auto; max-width:300px; } 

/* .tabmenu { display:flex; margin:-10px -10px 15px -10px; text-align:center; border-bottom:1px solid #ddd; }
.tabmenu > li { flex: 1; cursor:pointer; user-select:none; background:#fff; padding:10px; } */
.tabmenu > li.active { font-weight:bold; background:#eee; border-bottom:2px solid #111; }
.tabmenu > li.active2 { font-weight:bold; background:#eee; }
.tabmenu > li.active .grey { font-weight:normal; }
.tabarea > li { display:none; }
.tabarea > li.active { display:inline; }

.tabmenu > li.active .icongrey { color:black; }
.tabtwo > li { color:#333; padding:3px 20px; }

.nodenav { margin:10px 0px; }
.nodenav li { padding:0px; }

#nodenavhidden { padding:10px 0px; columns:2; border-color: #ddd; border-style: solid; border-width: 0px 1px 1px 1px; }
#nodenavhidden li a { color:black; display:block; padding:5px; text-align:center; }
#nodenavhidden a:hover { background:#eee; }

.viewmenu { display:flex; text-align:center; border:1px solid #ddd; margin-bottom:10px; }
.viewmenu > a { flex: 1; cursor:pointer; user-select:none; background:#eee; padding:3px; color:black; }
.viewmenu > a.active { font-weight:bold; background:#ddd; }
.viewmenu > a:hover { background:#ccc; }

.photostrip img { float:left; background:#000; margin-left:1px; margin-top:1px; cursor:pointer; }
.photostrip img:hover { opacity:0.7; }
.s117 img { width:117px; height:117px; }
.s58 img { width:58px; height:58px; }
.s117 .addimg { width:115px; height:115px; border:solid 1px #ddd; }
.s58 .addimg { width:56px; height:56px; border:solid 1px #ddd; }

.capt { background:rgba(0,0,0,0.3); opacity:1; color: #fff; position:absolute; bottom:0px; left:0px; text-align:center; width:100%; font-size:10px; }
.zoverlay { position:absolute; background:rgba(0,0,0,0.6); opacity: 1; z-index: 1; padding:5px; }

.tline { font-size:18px; line-height:26px; padding:60px 0px 10px 0px; }
.tline img { display:block; margin-top:8px; }
.tline li { background:#f6f7f8; padding:10px; border-radius:20px; margin-top:-50px; position:relative; }
.tll {  margin-right: calc(50% + 20px); }
.tline .tlr { margin-left: calc(50% + 20px); } 
.tll .nec { position:absolute; right:-21px; top:50%; width:21px; height:0px; border-top:1px solid #000; /* width: 10px; height: 10px; border-radius: 50%; background:#000; */ } 
.tlr .nec { position:absolute; left:-19px; top:50%; width:19px; height:0px; border-top:1px solid #000; /* width: 10px; height: 10px; border-radius: 50%; background:#000; */ }

.timeline { font-size:18px; }
.timeline li { line-height:26px; }

/* TO CALL VARIABLE = <div class="gridy" style="--width: 99px;"> */
.gridy { display:grid; grid-template-columns: repeat(auto-fill, var(--width) ); justify-content: space-between; }
.gridy a { margin-bottom:1px; display:block; position:relative; }

.pr { position:relative; }
.pa { position:absolute; }
.part { position:absolute; right:0px; top:0px; }
.part10 { position:absolute; right:10px; top:10px; }
.parb { position:absolute; right:0px; bottom:0px; }
.db { display:block; }
.df { display:flex; }
.dg { display:grid; }
.dg2 { grid-template-columns: repeat(2, 1fr); }
.dg3 { grid-template-columns: repeat(3, 1fr); }

.dfr { margin-left:auto; }

.otxt { font-size:13px; color:#888; }

.media_filter a.active { color:black; font-weight:bold; }

/* CONTENTS */
.tc { column-count:2; margin-bottom:40px; }
.tc li { position:relative; }
.tc li span { position:absolute; right:0px; top:8px; z-index:-1; }
.tc a { display:block; padding:8px 0px; color:black; font-size:18px; }
.tc a:hover { background:#eee; }
@media screen and ( max-width:600px ) {
	.tc { column-count:1; }
	.tc a { padding:15px 0px; border-bottom:1px solid #ddd; }
	.tc li span { top:15px; }
}

.tc2 { margin-top:30px; column-count:1; margin-bottom:40px; display:flex; }
.tc2 li { margin:5px; background:#eee; border:1px solid #ddd; border-radius:16px; text-align:center; font-size:20px; display:flex; align-items: center; padding:20px; }
.jumpto a { display:block; padding:5px 15px; color:#777; }
.jumpto a:hover { background:#ddd; }

/* PAGE OPTIONS */
.navmenu a { display:block; padding:15px; }
.navmenu li { border-bottom:1px solid #ddd; }
.navmenu a:hover { background:#ddd; }

.admin { background:pink; } /* background:#ADD8E6; */

.iedit { padding:20px 10px; background:#eee; border-bottom:1px solid #ddd; margin-bottom:20px; }

/* DOWN ARROW */
.tad { transform: rotate(0deg); transition: transform 1s linear; transition-duration: 300ms; }
.tad.open { transform: rotate(180deg); transition: transform 1s linear; transition-duration: 300ms; }
.ddwrap { grid-template-columns: 78fr 4fr 4fr 14fr; }
.ddwrap > a { padding:13px 10px; }
.ddwrap > a:hover { text-decoration:none; background:#ffe9ec; }

/* AUTOCOMPLETE */
.acShell, .mpick { position:relative; }
.acPro { display:block; }
.acOut .ui-autocomplete, .acPro, .acOut2 .ui-autocomplete { position:absolute; width:100%; z-index:100; }
.acOut2 .ui-autocomplete { border:1px solid #ddd; }
.acOut2 .ui-autocomplete li { padding:10px; }

.ac_a { padding:10px 4px; min-height:28px; display:block; }
.ac_a:hover { text-decoration:none; }
.ac_ab { border-bottom:1px solid #ddd; }
.ac_d1 { float:left; margin-top:4px; margin-right:14px; width:32px; height:28px; }
.ac_d2 { overflow:hidden; }
.ac_ht { font-size:24px; color:#ddd; text-align:center; }
.ac_r { float:right; display:block; }
.ac_r i { font-size:16px; }
.ac_d2 .grey { font-size:11px; padding-top:4px; }

.ui-autocomplete, .acPro { background: #fff; max-width: 298px; }

.ui-autocomplete { overflow-x:hidden; overflow-y:auto; }
.ui-autocomplete li:hover { background:#fafafa; }

.ui-helper-hidden-accessible {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.ui-menu-item { cursor:pointer; }

/* GLOBAL AC */

.global_ac .ui-front {
	z-index:10;
}
.ui-front {
	z-index:10000; /* SEARCH OVER COLORBOX */
}

.ui-front .ac_w { 	
	position: absolute; 
	top: 49px;
	left: -16px;
	cursor: default;
	background:#fff;	
}

body > .ac_w { display:none; }

.global_ac .ui-autocomplete { max-height:400px; top:0px !important; left:0px !important; width:263px !important; }
#colorbox .ui-autocomplete { position:relative !important; }

a.advq { background:#fff; padding:10px; display:block; color:black; user-select:none; }
a.advq:hover { text-decoration:none; background:#eee; } 

.sgrid {
	display: grid;
	grid-gap: 2px; /* 1rem */
 }
 
 .sgrid130 {
	grid-template-columns: repeat(auto-fill,minmax(110px, 1fr));
 }
 .sgrid180 {
	grid-template-columns: repeat(auto-fill,minmax(130px, 1fr));
 }
 .sgrid230 {
	grid-template-columns: repeat(auto-fill,minmax(170px, 1fr));
 }
 
 .sgrid130 li { max-width:150px; }
 .sgrid180 li { max-width:190px; }
 .sgrid230 li { max-width:250px; }
 
.sgrid > li > a { position:absolute; width:100%; height:100%; display:block; }
 
.sgrid > li {
	display: grid;
	place-items: center;
	position:relative;
	font-size:11px; 
	text-align:center;
}
	
.sgrid > li::before {
	content: "";
	display: block;
	padding-bottom: 100%;
	grid-area: 1 / 1 / 2 / 2;	  
}

.sgrid > li.ex25::before {
	padding-bottom: calc(100% + 40px);
}

.sgrid img {
	width: 100%;
	grid-area: 1 / 1 / 2 / 2;
}

.sgtemp { background-size:cover; } 
/* .sgtemp > a { display:block; position:absolute; width: 100%; height:100%; } */
.sgtemp div { color: white; font-size: 11px; background: rgba(0,0,0,0.3); opacity: 1; text-align: center; position:absolute; bottom:0px; left:0px; width: 100%; }

.pfit { object-fit: fill; width:100%; height:auto; }
.pfit2 { object-fit: fill; width:auto; height:100%; }
.lfit { object-fit: cover; width:100%; height:100%; }

.gcaption { background:rgba(0,0,0,0.3); opacity: 1; color:white; position:absolute; bottom:0px; left:0px; width:calc(100% - 10px); padding:1px 5px; }

.pseudo_table > div { padding:5px 0px; }

/* MAIN TEXT */
.mtxt { margin-top:0px; }
.mtxt p, .mtxt li { font-size:18px; line-height:30px; }
.mtxt p { margin:0px 0px 25px 0px; } /* white-space: pre-wrap; */
.mtxt ul { list-style:disc; margin-left:30px; }
.mtxt li { margin-bottom:15px; }

.wtxt ul { list-style:disc; margin-left:30px; }
.wtxt li { margin-bottom:8px; font-size:17px; line-height:28px; }

.iright_top { float:right; margin-left:20px; margin-bottom:10px; }
.ileft, .iright { margin-bottom:10px; margin-top:10px; }
.ileft div, .iright div { padding:4px; font-size:12px; margin-top:-2px; border-color: #ddd; border-style: solid; border-width: 0 1px 1px 1px; }
.ileft { float:left; clear:left; margin-right:20px; }
.iright { float:right; clear:right; margin-left:20px; }
.ileft a, .iright a { color:black; }

@media screen and ( max-width:480px ) {
	.iright_top { float: none; margin:0 auto; margin-bottom:10px; }
	.ileft, .iright { float: none; margin:0 auto; margin-bottom:10px; }
}

.ih2, .ih3 { border-bottom:1px #ddd solid; } /* a2a9b1 */
.ih2 { position:relative; padding-top:30px; padding-bottom:2px; clear:both; margin-bottom:10px; }
.ih3 { position:relative; padding-top:30px; padding-bottom:2px; clear:both; margin-bottom:10px; }
.ih4 { position:relative; padding-top:14px; margin-bottom:6px; }
.ih5 { position:relative; padding-top:14px; margin-bottom:6px; }
.th2r { position:absolute; right:10px; top:30px; }
.th2re { position:absolute; right:0px; bottom:4px; display:block; user-select:none; color:grey; }

.nsc { padding:4px 8px; font-size:11px; color:grey; height:15px; margin-left:5px; }

/* RBOX - CONTENT BOX */
.rbox { position:relative; margin-top:40px; }
.rbox > .df, .rbox > h2 { margin-bottom:15px; padding-bottom:2px; border-bottom:1px solid #ddd; }
.rbox > .df > span { margin-top:5px; margin-left:5px; height:15px; padding:4px; }
.rpen { position:absolute; padding:10px; user-select:none; cursor:pointer; }
.rbox_psuedo { position:relative; }
.rbox_psuedo > .rpen, .rbox > .rpen  { right:-10px; top:-6px; }
.rbox_cb > .rpen { right:10px; top:10px; }
.rbox_edit .rpen { right:0px; top:0px; }
.rbox_small { position:relative; margin-top:0px; }

.rbox2 { clear:both; position:relative; margin-top:30px; padding-bottom:30px; border-bottom:0px solid #ddd; }
.rbox2 > .df, .rbox2 > h2 { border:none; margin-bottom:0px;  }

.rbox > .nobord { border:none; }

.gy2 { font-size:0px; }
.gy2 li { font-size:12px; display: -moz-inline-stack; display: inline-block; vertical-align: top; zoom: 1; *display: inline; }

/* CONTENT BOXES */

.cbox  { border:0px solid #ddd; -moz-border-radius: 3px; border-radius: 3px; margin-bottom:10px; } /*  */
.chead { 
	-moz-border-top-left-radius: 3px; border-top-left-radius: 3px;
	-moz-border-top-right-radius: 3px; border-top-right-radius: 3px;
}
.chead { display:block; background:#f6f7f8; border-bottom:1px solid #ddd; padding:10px 10px 8px 10px; }

.chead h2, a.chead h2, h2.chead, .chead h3, a.chead h3, h3.chead { font-size:12px; text-transform: uppercase; font-weight:bold; color:#4e5665; } 
a.chead:hover { background:#eee; }
.cbody { padding:10px; background:#fff; } /*  */

/* ADD MISSING IMG */
.addimg { background:#eee; border:1px solid #ddd; color:black; display: flex !important; justify-content: center; align-items: center; text-align:center; user-select:none; }
.addimg:hover { background:#ddd; color:orange; }

/* VERTICAL AND HORIZ ALIGN */
.vhc { display:flex !important; justify-content: center; align-items: center; text-align:center; }

/* FIELD INPUT */
.btnAddField { left:265px; }
.txtField { width:255px; }  
.gtick { position:absolute; top:3px; left:233px; } /* OLD STYLE */
.gtick2 { margin-left:-25px; }
.gtick, .gtick2 { z-index:10; background-image:url('/img/icons/green_tick.png'); display:inline-block; background-size: cover; width:20px; height:20px; user-select:none; cursor:pointer; }
.gtick:hover, .gtick2:hover { background-image:url('/img/icons/delete.png'); }

.tips { padding-top:2px; font-style:italic; font-size:12px; color:grey; }

span.rm { color:red; }

ul.bubble, ul.csv, ul.csv li, ul.middot, ul.middot li { display: inline; }
ul.bubble li { border:1px #ddd solid; border-radius:10px; background:#f6f7f8; padding:5px; margin:0px 5px 10px 5px; display:inline-block; } 
ul.bubble a { font-size:14px; color:#777; } 
ul.bubble li:hover { background:#eee; }
ul.bubble2 li { display:inline-block; margin:5px 10px 5px 5px; }
ul.bubble2 a { border:1px #eee solid; border-radius:5px; font-size:14px; color:#777; padding:3px; }
ul.bubble2 a:hover { background:#eee; }
ul.csv li:not(:last-child):after { content: ", "; }
ul.middot li:not(:last-child):after { content: " \00B7 "; } /* middot, \00A0 = space */

/* GRIDS, IMAGE GRIDS */

.sgrid {
	display: grid;
	grid-gap: 2px; /* 1rem */
 }

 .sgrid100 {
	grid-template-columns: repeat(auto-fill,minmax(90px, 1fr));
 } 
 .sgrid130 {
	grid-template-columns: repeat(auto-fill,minmax(110px, 1fr));
 }
 .sgrid180 {
	grid-template-columns: repeat(auto-fill,minmax(130px, 1fr));
 }
 .sgrid230 {
	grid-template-columns: repeat(auto-fill,minmax(170px, 1fr));
 }

 .sgrid100 li { max-width:100px; } 
 .sgrid130 li { max-width:150px; }
 .sgrid180 li { max-width:190px; }
 .sgrid230 li { max-width:250px; }
 
.sgrid > li > a { position:absolute; width:100%; height:100%; display:block; }
.sgrid > li > a:hover { background: rgba(0,0,0,0.3); opacity: 1; } 
 
.sgrid > li {
	display: grid;
	place-items: center;
	position:relative;
	font-size:11px; 
	text-align:center;
}
	
.sgrid > li::before {
	content: "";
	display: block;
	padding-bottom: 100%;
	grid-area: 1 / 1 / 2 / 2;	  
}

.sgrid > li.ex25::before {
	padding-bottom: calc(100% + 40px);
}

.sgrid img {
	width: 100%;
	grid-area: 1 / 1 / 2 / 2;
}

/* LOADER.GIF/DELETE */
.ldiv { width:100px; height:100px; margin:0 auto; display: flex; justify-content: center; align-items: center; }
.ldiv img { width:32px; height:32px; background:none;  }
.ddiv { padding:10px; background:pink; margin-bottom:10px; }

.sgtemp { background-size:cover; } 
/* .sgtemp > a { display:block; position:absolute; width: 100%; height:100%; } */
.sgtemp div { color: white; font-size: 11px; background: rgba(0,0,0,0.3); opacity: 1; text-align: center; position:absolute; bottom:0px; left:0px; width: 100%; }

/* EDIT TOOLS */

.wtools a { color:#000; border:1px solid #eee; display:block; padding:4px 12px 0px 12px; background:#f8f9fa; }
.wtools a:hover, .wtools a.active { background:#ddd; }

/* The container <div> - needed to position the dropdown content */
.wtools .dropdown {
  position: relative;
  display: inline-block;
  background:#f8f9fa;
  border:1px solid #eee;
  width:95px;
}

/* Dropdown Content (Hidden by Default) */
.wtools .dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  border:1px solid #eee;
  width:95px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.wtools .dropdown-content a {
  padding: 12px 16px;
  border:none;
}

/* Show the dropdown menu on hover */
.wtools .dropdown:hover .dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.wtools .dropdown:hover .dropbtn {background-color: #f6f7f8; }

.wnotes { margin-left:20px; font-size:12px; }
.wnotes li { padding-bottom:10px; }

/* REVISION HISTORY */
ins { background:#e6ffe6; text-decoration:none; }
del { background:#ffe6e6; }
.patch2h { padding-bottom:10px; }
.patch2h, .patch3h { font-weight:bold; }

/* FACTS TABLE */
th { background:#ddd; }
table, td, th { border:0px solid #ddd; font-size:13px; }
.dtable td, .dtable th { text-align:right; }
td.aleft, th.aleft { text-align:left; }
td.amid, th.amid { text-align:center; }
td.aright, th.aright { text-align:right; }
tfoot td { font-weight:bold; } 
td { vertical-align:top; }
td.atr { /* width:130px; */ width:40%; }

table.bigtbl td, table.bigtbl th { font-size:16px; padding:5px 0px; }
table.nobord { border:none; border-collapse: collapse; }

table.tbl th { font-size:12px; padding:5px 0px; }
table.tbl td { font-size:16px; padding:5px 0px; }
table.tbl td:first-child { width:33%; }

.tbl_facts2 { border-collapse:collapse; /* border-spacing: 0px; */ }
.tbl_facts2 td { padding:20px 10px; font-size:17px; border-bottom:1px solid #ddd; }

.zebra > li:nth-child(even) { background:#eee; } 
.zebra tr:nth-child(even) { background:#eee; } 

.icollage2, .icollage3, .icollage4 { grid-template-columns: repeat(2, 1fr); }
.icollage5 { grid-template-columns: repeat(6, 1fr); --haspect: 70%; }
.icollage5 li { grid-column: span 2; }
.icollage5 li:nth-child(1), .icollage5 li:nth-child(2) { grid-column: span 3; --haspect: 80%; }
.icollage2, .icollage4 { --haspect: 90%; }
.icollage3 { --haspect: 56.25%; }
.icollage3 li:nth-child(1) { grid-column: span 2; }

.map, .videos { overflow: hidden; }
.map, .videos { padding-top: 56.25%; } /* 16:9 */
.map iframe, .videos iframe { position:absolute; top: 0; left: 0; width: 100%; height: 100%; }
.videos iframe { background:#222; }
.map iframe { background:#eee; }

@media screen and ( max-width:400px ) {
	.map { padding-top: 80%; }
	.videos { padding-top: 70%; }
}

.refresh { position:fixed; right:20px; top:10px; }
.scroll_top { position:fixed; right:20px; top:30px; }
@media screen and ( max-width:1080px ) {
	.scroll_top { display:none; }
}

/* NAVIGATION */
.sitenav_em { display:none; }
.sitenav5 { background:#000; color:#fff; }
.sitenav6 { max-width:970px; margin:0 auto; }
.sitenav7 { height:22px; }
.sitenav8 { display:flex; font-size:12px; }
@media screen and ( max-width:750px ) {
	.sitenav8 { display:none; }
	.seemore { display:none; }
	.sitenav_em { display:inline; }
}
.sitenav8 li a { padding:3px 10px; display:block; text-align:center; }			
.sitenav8 li a { color:#fff; }
.sitenav8 li.active a, .sitenav8 li.active a:hover { color:yellow; background:#333; }
.sitenav8 li a:hover { color:#eee; background:#333; }		

.sitenav9 a { display:block; color:#fff; padding:10px 20px; border-top:1px solid #ddd; }
.sitenav9 a:hover { background:#eee; color:#000; }
.sitenav9 li.active a, .sitenav9 li.active a:hover { color:yellow; background:#333; }

/* SITE NAV */
.sections9 { background:#fff; }
.sections9 a { display:block; padding:15px 10px; border-bottom:0px solid #ddd; color:#333; text-indent:25px; }
.sections9 a:hover { background:#ddd; }
.sections9 li.active a, .sections9 li.active a:hover { color:#000; font-weight:bold; }

/* TOPIC NAV */
.sections9b { background:#fff; }
.sections9b a { display:block; padding:15px 10px; border-bottom:0px solid #ddd; color:#333; text-indent:25px; }
.sections9b a:hover { background:#ddd; }
.sections9b li.active a, .sections9 li.active a:hover { color:#000; font-weight:bold; }

.nav_sitemap .tabmenu > li { padding:10px; }
.nav_sitemap .tabmenu > li.active { border-bottom:2px #000 solid; }

.nav { display:flex; position:relative; justify-content:space-between; } /* border-bottom:1px solid #eee; */
.nav .menu { padding:9px; width:24px; }
.nav .logo { margin-top:-2px; }
.nav .logo a { display:block; padding:9px; font-size:20px; letter-spacing:-1px; }
.nav .search { display:block; width:330px; margin:0 auto; padding-top:7px; padding-bottom:1px; }
.nav .search form { position:relative; }
.nav .search form .search_icon { position:absolute; top:2px; left:5px; }
.nav .account { display:block; padding:9px; }
.nav .search_preview { display:none; }
.nav .search_clear { display:none; }
.nav .search_box { text-indent:5px; width:300px; }
.nav .search_icon { display:none; }
.nav .hide_search { display:none; }

@media screen and ( max-width:700px ) {
	.nav .search_preview { display:block; padding:10px 20px; margin-left:auto; }
	.nav .search { position:absolute; width:100%; top:0px; left:0px; background:#eee; display:none; padding-bottom:5px; border-bottom:1px solid #ddd; } /* top:-28px; */
	.nav .search.show_search { display:block; }
	.nav .search_box { text-indent:25px; font-size:18px; padding:6px; line-height:26px; height:38px; width:100%; }
	.nav .search_icon { display:block; }
	.nav .search form { padding:10px; }
	.nav .search form .search_icon { position:absolute; top:16px; left:15px; }
	.nav .search_btn { display:none; }
	.nav .search_clear { display:block; padding:10px; margin-top:-4px; }
}

@media screen and ( max-width:500px ) {
	.nav .account { display:none; }
	.nav .search_preview { margin-left:0px; } /* TO CENTER LOGO */
}

.ul2col { columns:2; }
@media screen and ( max-width:600px ) {
	.ul2col { columns:1; }
}

/* FACT BOXES */
.boxes { display:grid; grid-template-columns:repeat(4,1fr); grid-gap:30px; margin-top:30px; margin-bottom:30px; }
.boxes li { border-radius:30px; padding:10px; background:#f6f7f8; text-align:center; }
@media screen and ( max-width:500px ) {
	.boxes { grid-template-columns:repeat(2,1fr); grid-gap:20px; }
	.boxes li { border-radius:15px; }
}

/* COUPLEPEDIA */
.cptabs { display:flex; margin-bottom:20px; flex-direction:row; overflow-x: auto; white-space: nowrap; }
.cptabs li { flex:1; }
.cptabs a { padding:4px 16px 8px 16px; border:1px solid #eee; text-align:center; color:black; display:block; user-select:none; white-space: nowrap; }
.cptabs a.active { background:#ddd; }
.cptabs a:hover { background:#eee; color:orange; }

.cpmenu a { padding:5px; border:1px solid #eee; text-align:center; color:black; display:block; user-select:none; }

.gridlist li { display:inline-block; cursor:pointer; user-select:none; }
.gridlist span { color:#ccc; }
.gridlist li:hover span { color:#777; }
.gridlist li.active span { color:#000; }

/* RESPONSIVE HORIZONTAL LIST */
.hlist li { margin-bottom:40px; }
.hlist li > a, .hlist li > .atag { display:flex; }
.hlist .hle { width:33%; }
.hlist .hri { width:67%; }
.hlist .hri2 { padding-left:20px; color:black; }
.hlist .ti { font-weight:bold; color:#000; font-size:24px; }
.hlist .ex { color:grey; font-size:13px; padding-bottom:6px; }
.hlist .txt { padding-top:6px; }
.hlist a:hover .ti { color:orange; }
.hlist .a2 { position:absolute; right:0px; top:0px; z-index:2; }

@media screen and ( max-width:450px ) {
	.hlist li { margin-bottom:80px; }
	.hlist li > a { display:block; }
	.hlist .hle { width:auto; margin-left:-10px; margin-right:-10px; }
	.hlist .hri { width:100%; }
	.hlist .hri2 { padding-left:0px; padding-top:10px; }
	.hlist .a2 { position:relative; font-size:16px; padding:10px 0px; text-align:right; border-bottom:1px solid #ddd; }
}

.hcast li { margin-bottom:40px; }
.hcast .atag { display:flex; }
.hcast .hle { width:200px; }
.hcast .hri { padding-left:15px; }
.hcast .hdd { padding-top:10px; }
.hcast .ti { font-size:18px; font-weight:bold; padding-bottom:2px; }
.hcast .ex { font-size:14px; color:grey; padding-bottom:10px; }

/* VIDEO PLAY BUTTON */
.vid_im { position:relative; }
.vid_im .play-btn {
  position: absolute;
  width: 10%;
  height: 10%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index:2;
}
.vid_im .play-btn svg {
  transition: all .2s ease;
  fill: #fff;
}
.vid_im .play-btn:hover svg,
.vid_im .play-btn:focus svg {
  cursor: pointer;
  fill: #ddd;
}

/* RESPONSIVE GALLERY - PERFECT SQUARES */

/* simple square grid */
.sq, .sq_nolink { display: grid; }

.sq img, .sq_nolink img, .im img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 25%;
}

.sq > li, .sq_nolink > li {
	position:relative;
	overflow:hidden;
} 

/* this makes the li height the same as li width */
.sq > li::before, .sq_nolink > li::before {
	  content: "";
	  display: block;
	  padding-bottom: var(--haspect);
}

/* this positions the "a" tag into the li with 100% coverage */
.sq > li > a, .sq_nolink > li > img, .im > img, .imd > div { /* imd IS im FOR divs AND NON IMAGES */
	position:absolute;
	left:0px;
	top:0px;
	width:100%;
	height:100%;
	display:block;
}

/* RESPONSIVE IMAGE GRID */
.rig { display: grid; }
.rig li { min-width: 0; } /* FOR white-space:nowrap; */
.im, .imd { position:relative; }
.im::before, .imd::before {
	content: "";
	display: block;
	padding-top: var(--haspect); /* 16:9 */
}
.rig > a { display:block; }
.rig .txt, .rig .fav2, .rig .hdd { display:none; }
.rig li:hover .fav2 { padding:5px; display:block; }

.rig_vids .im, .vid_im .im { background-position: 0%, -16.667%; background-size: cover; }

.rig_mags, .rig_vids { grid-template-columns: repeat(2, 1fr); }

.rig_vids { grid-gap: 50px; }
.rig_mags { grid-gap: 35px; }

@media screen and ( max-width:500px ) {
	.rig_vids {grid-template-columns: repeat(1, 1fr); }
}

@media screen and ( max-width:300px ) {
	.rig_mags {grid-template-columns: repeat(1, 1fr); }
}

.rig_mags { --haspect: 130%; } /* --haspect: 76%; */
.rig_mags img { object-position: 50% 10%; }
.rig_mags .ti { color:black; font-size:11px; padding:4px 0px 10px 0px; }
/* white-space:nowrap; overflow: hidden; text-overflow: ellipsis; */

.rig_tops, .rig_films { grid-gap: 20px; grid-template-columns: repeat(4, 1fr); }
.col2 .rig_tops { grid-gap: 5px; grid-template-columns: repeat(3, 1fr); }
.rig_tops li { text-align:center; }
.col .rig_tops, .col .rig_films { grid-template-columns: repeat(6, 1fr); }
.hmcol .rig_tops, .hmcol .rig_films { grid-template-columns: repeat(3, 1fr); }

.rig_films { --haspect: 130%; }

.rig_vids, .vid_im { --haspect: 56.25%; } /* 75% */

@media screen and ( max-width:750px ) {
	.col .rig_tops, .col .rig_films { grid-template-columns: repeat(4, 1fr); }
}

@media screen and ( max-width:600px ) {
	.col .rig_tops, .col .rig_films { grid-template-columns: repeat(3, 1fr); }
}

/* 570px see fourtwo */
@media screen and ( max-width:450px ) {
	.rig_tops, .rig_films, .col .rig_tops, .col .rig_films, .hmcol .rig_tops, .hmcol .rig_films { grid-template-columns: repeat(2, 1fr); }  /* grid-auto-rows: 0; overflow-y: hidden; */
	/* .mainpage */
	.rig_tops { grid-template-rows: repeat(var(--numrows), 1fr); }
	/* .rig_tops li:nth-child(3) { display:none; } */
}

.rig_tops .ti, .rig_films .ti { padding-top:4px; color:#000; font-weight:bold; font-size:16px; line-height:18px; }
.rig_tops .rk { color:#444; font-weight:bold; font-size:10px; }
.rig_tops .ex, .rig_films .ex { padding-top:2px; color:grey; font-size:12px; line-height:16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
					
/* USED FOR MEDIA GALLERY */
.sq_media {	
	grid-template-columns: repeat(3, 1fr);
	/* grid-gap: 35px; */
	grid-gap: 1px;
}
.col .sq_media { grid-gap: 30px; }

.sq_media > li > a > div { position:absolute; right:0px; bottom:0px; background:rgba(0,0,0,0.3); opacity:1; color: #fff; padding:5px 8px; font-size:16px; }

@media screen and ( max-width:900px ) {
	.sq_media {
		/* grid-gap: 20px; */
	}
}

@media screen and ( max-width:800px ) {
	.sq_media {
		/* grid-gap: 10px; */
	}
}

@media screen and ( max-width:700px ) {
	.sq_media {
		grid-gap: 1px;
	}
}

@media screen and ( max-width:600px ) {
	.sq_media {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* USED FOR CATEGORIES */

.catcapt { position:absolute; background:rgba(0,0,0,0.9); opacity:1; color: #fff; top:50%; left:50%; transform: translate(-50%, -50%); padding:10px 30px; border-radius:10px; font-size:22px; text-align:center; white-space: nowrap; }

.sq_category { grid-template-columns:repeat(2, 1fr); grid-column-gap: 140px; grid-row-gap: 70px; }

@media screen and ( max-width:650px ) {
	.sq_category { grid-template-columns:repeat(1, 1fr); }
}

/* USED FOR LISTS */
.sq_topic {	
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 2px;
}
.sq_topic_small {	
	grid-template-columns: repeat(7, 1fr);
	grid-gap: 2px;
	
	grid-template-rows: repeat(1, 1fr);
	grid-auto-rows: 0; /* set height to 0 for autogenerated grid rows */
	overflow-y: hidden; /* hide grid items that overflow */
}

@media screen and ( max-width:700px ) {
	.sq_topic {	
		grid-template-columns: repeat(3, 1fr);
	}
	.sq_topic_small {
		grid-template-columns: repeat(6, 1fr);
	}
	.sq_topic_small .sq_7 { display:none; }
}

@media screen and ( max-width:500px ) {
	.sq_topic_small {
		grid-template-columns: repeat(5, 1fr);
	}
	.sq_topic_small .sq_6 { display:none; }
}

@media screen and ( max-width:400px ) {
	.sq_topic {	
		grid-template-columns: repeat(2, 1fr);
	}
	.sq_topic_small {
		grid-template-columns: repeat(4, 1fr);
	}
	.sq_topic_small .sq_5 { display:none; }
}

@media screen and ( max-width:300px ) {
	.sq_topic {	
		grid-template-columns: repeat(1, 1fr);
	}
	.sq_topic_small {
		grid-template-columns: repeat(3, 1fr);
	}
	.sq_topic_small .sq_4 { display:none; }
}

/* PERFECT SQUARES WITH OFFSET FOR CAPTION */
.sq_offset > li::before {
	  padding-bottom: calc( var(--haspect) + var(--offset) );
}

/* ANY BLOCK TEXT BELOW IMAGE IN SPAN IS OVERFLOW - AND WILL BE SHOWN */
.sq_offset > li span {
	position:absolute;
	left:0px;
	top:0px;
	width:100%;
	height:calc( var(--haspect) - var(--offset) );
	display:block;
}

/* .sq_offset > li div { padding-top:100%; } */

.sq_topic_list { }
.sq_topic_list a { display:block; padding:10px; color:#000; position:relative; height:40px; border-top:1px solid #ddd; margin-left:46px; }
.sq_topic_list a:hover { background:#ddd; }
.sq_topic_list img { position:absolute; top:10px; left:10px; width:40px; height:40px; }
.sq_topic_list .ti { padding-left:50px; padding-top:2px; color:black; font-weight:bold; font-size:16px; line-height:18px;  }
.sq_topic_list .ex { padding-left:50px; padding-top:2px; color:grey; font-size:12px; line-height:16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.sq_topic_full { --offset: 72px; }
.sq_topic_full .ti { padding-top:2px; color:black; font-weight:bold; font-size:16px; line-height:18px; }
.sq_topic_full .ex { padding-top:2px; color:grey; font-size:12px; line-height:16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.sq_topic_full { grid-template-columns: repeat(3, 1fr); grid-gap: 20px; }

@media screen and ( max-width:400px ) {
	.sq_topic_full {grid-template-columns: repeat(2, 1fr); grid-auto-rows: 0; overflow-y: hidden; }
	.mainpage .sq_topic_full { grid-template-rows: repeat(var(--numrows), 1fr); }
}

/* BLOG LIST */
ul.blog { margin:0 auto; max-width:454px; }
ul.blog li { margin-bottom:50px; }
ul.blog .ti { color:#000; }
ul.blog .im { all: unset; }
ul.blog .im::before { all: unset; }
ul.blog .im img { all: unset; width:100%; height:auto; display:block; }

.lmbtn { margin:0 auto; padding:5px 0px; border:1px solid #ddd; border-radius:10px; margin-top:25px; margin-bottom:10px; width:130px; }
.lmbtn:hover { background:#999; color:#fff; }

.list0 .title0 { display:flex; }
.list0 .title0 a { display:block; position:relative; font-size:24px; padding:10px 0px; width:calc(100% - 0px); }
.list0 .title0 a img { position:absolute; left:10px; top:10px; width:26px; height:26px; }
.list0 .title0 a .ti { /* margin-left:42px; */ color:#555; }
.list0 .title0 a .vc { position:absolute; right:10px; top:18px; font-size:12px; color:grey; }
.list0 .tadwrap { margin-left:auto; cursor:pointer; user-select:none; padding:15px 15px 5px 15px; border-left:0px solid #ddd; }
/* .rarea { border-top:1px solid #ff0000 !important; } */

/*------------------------------------*\
	NEW NAV - copied from ff.header.css
\*------------------------------------*/
.dropnav{
	list-style:none;
	/* font-weight:bold; */
	margin-bottom:0px;
	/* Clear floats */
	float:left;
	width:100%;
	font-size:12px;		
	position:relative;
	z-index:5;		
}
.dropnav li{
	float:left;
	margin-right:2px;
	/* position:relative; */
}
.dropnav a{
	display:block;
	padding:5px;
	/* color:#fff; */
	/* background:#333; */
	text-decoration:none;
	color: #777;		
}
.dropnav a:hover{
	/* color:#fff; */
	/* background:#6b0c36; */
	text-decoration:none;
}

/*--- DROPDOWN ---*/
.dropnav ul{
	background:#fff; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
	background:rgba(255,255,255,0); /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */
	list-style:none;
	position:absolute;
	left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */
	
	background-color: white;
	border: 1px solid rgba(0, 0, 0, 0.15);    border-radius: 4px;
	top: 30px;
	/* padding: 10px; */
	font-size: larger;
}
.dropnav ul li{
	padding-top:0px; /* Introducing a padding between the li and the a give the illusion spaced items */
	float:none;
}
.dropnav ul a{				
	white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */		
}
.dropnav li:hover ul{ /* Display the dropdown on hover */
	right:0; /* Bring back on-screen when needed */
	left:inherit;
	/* top:40px; */
	padding-top:0px;
}
.dropnav li:hover a{ /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
	/* background:#6b0c36; */
	/* background:#777; */
	/* background:#000;
	text-decoration:none; */
}
.dropnav li:hover ul a{ /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
	text-decoration:none;	
	display:block;		
	padding:5px 15px;					
	width:110px;
}
.dropnav li:hover ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */
	background:#eee;
}	

/* READ MORE */

.readmore.show-less-content .second-section,
.readmore.show-less-content .read-less {
   display: none;
}

.readmore.show-more-content .read-more {
   display: none;
}

.readmore .read-more,
.readmore .read-less {
   margin-left: 2px;
   color: grey;
   cursor: pointer;
}

/* COLORBOX NODE LEFT RIGHT */

.cbwrap { }
.cbleft, .cbright { width:60px; position:absolute; top:50%; transform:translateY(-50%); background: rgba(0,0,0,0.6); z-index:9999; }
.cbleft { left:0px; }
.cbright { right:0px; }
.nodebox { background:#fff; }
					
/* LAST RULES */

.hide, .stepview, .shide { display:none } /* SELECTIVE HIDE */