Difference between revisions of "MediaWiki:Common.css"

From SQLZOO
Jump to navigation Jump to search
 
(43 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
/* Hide the Talk and edit tabs */
/* CSS placed here will be applied to all skins */
#left-navigation,#right-navigation{
#mw-head-base {
  height:10em;
}
#p-googleadsense {
  margin-left:.5em;
}
/* Hide ads for login page */
body.ns-special div#p-googleadsense{
   display:none;
   display:none;
}
}
.qu,.ht,.err {
/* Make reference and tools drop downs - leaving room for the sovrn ads */
    border-color: silver;
#p-tb div,#p-Reference div {
    border-style: solid;
  overflow:hidden;
    border-width: 1px;
    margin: 2ex 0.2ex 0.2ex;
    padding: 10px;
    clear:left; /* Andrew 2012-07-21 */
}
}
.ans, .def, .tidy, .setup, .params {
#p-tb:hover h3,#p-Reference:hover h3{
  display:none;
   text-decoration:underline;
}
 
.hnt {
font-weight:bold;
color: #3b434e;
        cursor:pointer;
}
.hnt:hover{background:#AABBCC;}
 
.hint {
color: #055C00;
}
 
.ecomm {
        margin-bottom: 0.5ex;
        margin-right: 0.5ex;
}
 
.qu textarea{
  width:auto;
}
 
/* Change by Andrew 2012-07-21 */
.qu form{
  clear:left;
}
 
div.res {
    border-style: inset;
    border-width: 1px;
    height: 20em;
    width:32em;
    overflow: auto;
    padding: 5px;
}
 
table{
  border-collapse:collapse;
  background:#d2e5d1;
  margin:1em 0 1.5em;
}
.res table{
  background:none;
}
table td{
  border:solid gray 1px;
  padding:.2em .7em;
  vertical-align:top;
}
 
h2{
  border-bottom:none;
}
 
span.id {
font-size: 300%;
display: block;
float: left;
padding: 0px 5px;
margin-right: 5px;
margin-top:0.8ex;
}
 
div.tutblock,
div.refblock,
div.resblock
{
  width:60ex;
  float:left;
  padding:1ex 1em 1em 2em;
  margin:2ex 2ex 2ex 0em;
}
div.resblock
{
  width:auto;
}
div.refblock+*{
}
div.tutblock h2,
div.refblock h2,
div.resblock h2{
  padding-top:1ex;
   text-align:left;
}
div.res.waiting{
  background-image:url(http://sqlzoo.net/w/wait30trans.gif);
  background-repeat:no-repeat;
  background-position: center center;
}
}
.r{
.r{
   text-align:right;
   text-align:right;
}
}
.res .showtxt{
.imper{
   color:blue;
   font-weight:bold;
  cursor:pointer;
}
}
.res .sqlans{
table.distractor,table.distractor caption{
   display:none;
   background:#f9f9f9;
}
  float:left;
/* ==== Designer style sheet starts here === */
  margin: 1ex;
 
/* This skin overrides common.css */
 
/* SQL ZOO COLOR PALETTE:
 
    #dae5d9 - light green (bg color) [ alt: #d2e5d1 ]
    #161525 - dark blue
    #3b434e - light blue
    #ee8301 - orange [ darker alt: #ff530d ]
    #e3e3e3 - near white
    #4a787d - bright blue (links) [ alt: #668195 ]
    #c4c4c4 - light grey (sub menu links)
    #909898 - mid grey (sub menu description)
#cbcbcb - hover
#eebe01 - picked answers (class = "picked")
#5e855c - caption background, (class = "innerTable")
*/
/* =========================== GLOBAL SETTINGS: ============================= */
 
/* remove the Wiki markup */
#p-logo, #left-navigation, #p-tb, #pt-mytalk, #pt-watchlist, #pt-mycontris, .editsection, #mw-usercsspreview, #contentSub {
    display:none;
}
}
textarea:focus{outline:none;}
table.distractor{
body #mw-head-base {
  border: solid thin #d0d0d0;
    background-image:none;
}
}
html, body, body #content,
table.object{
#mw-page-base {
  clear:left;
    background:#fbfbfb; /*#f1f1f1; #d2e5d1;*/
  margin: 1ex;
    font-family: "HelveticaNeue", "Helvetica Neue", "HelveticaNeueRoman", "HelveticaNeue-Roman", "Helvetica Neue Roman", "Helvetica", "Arial", sans-serif;
    color:#161525;
}
 
a:link {
    color:#3b434e;
    text-decoration:none;
}
a:visited {color:#668195;}
a:hover {color:#ff530d;}
a:active {color:#e3e3e3;}
 
 
 
/* ================================== ADMIN WIKI LINKS: */
 
 
 
/* reposition temporary admin links */
#mw-head {
    position:absolute;
background:#ebf3ea;
height:12em;
border-bottom: 1px solid #bbd6b8;
}
#pt-userpage, #pt-anonuserpage, #pt-login, #pt-preferences, #pt-logout {
  background-size:1em;
  background-repeat:no-repeat;
  background-position:left center;
  padding:0 0 0 1.2em;
}
#pt-userpage, #pt-anonuserpage, #pt-login {
  background-image:url('/design/u4.png');
}
#pt-preferences {
  background-image:url('/design/settings.png');
}
}
#pt-logout {
#mw-panel .portal.first .body ul li {
  background-image:url('/design/logout.png');
  text-align: right;
  padding:0 0 0 1.25em;
}
}
#p-search {
div#mw-panel div.portal.first{
  /*display:none;*/ /*istvan searchbox*/
  margin-left:0px;
  position:absolute;
  margin:0;
  padding:0;
  clear:left;
  top:5px;
  right:245px;
 
}
}
#p-search form, #p-search input {
div.body div.portal.first ul li a {
    margin:0;
  padding-right: 40px;
  display: inline-block;
  color: #3b434e;
}
}
#p-search input#searchInput {
div#mw-panel div.portal.first div.body ul li a {
  -moz-border-radius:1em;
  padding-right:25px;
  -webkit-border-radius: 1em;
  color: #3b434e;
  border-radius: 1em;
  border:2px solid #3b434e;
}
}
#p-views {
  float:right;
  margin:0 0 -.5em 0;
  padding:0;
}
/* wiki editor links */
#right-navigation {
  margin: 1.9em .3em 0 0;
}
div.vectorTabs span {
  background:none;
}
div.vectorTabs span a {
  padding-top: .05em;
  color:#3b434e;
  text-shadow: 1px 1px 0 #E4EDE6;
}
div.vectorTabs span a:hover {
  color:#ee8301;
}
div.vectorTabs, div.vectorTabs ul {
  background:none;background-image:none;
}
div.vectorTabs ul {
  height:1.2em;
  border:thin solid rgba(33,33,33,0.7);
  -moz-box-shadow: 0px 0px 2px #333333;
  -webkit-box-shadow: 0px 0px 2px #333333;
  box-shadow: 0px 0px 2px #333333;
  -webkit-border-radius: 1.5em;
  -moz-border-radius: 1.5em;
  border-radius: 1.5em;
  background: #e3ede3; /* Old browsers */
  background: -moz-linear-gradient(-45deg, #e3ede3 1%, #dae5d9 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right bottom, color-stop(1%,#e3ede3), color-stop(100%,#dae5d9)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(-45deg, #e3ede3 1%,#dae5d9 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(-45deg, #e3ede3 1%,#dae5d9 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(-45deg, #e3ede3 1%,#dae5d9 100%); /* IE10+ */
  background: linear-gradient(135deg, #e3ede3 1%,#dae5d9 100%); /* W3C */
}
div.vectorTabs ul li {
  background:none;background-image:none;
  border:none; border-right:thin solid rgba(33,33,33,0.7);
  -moz-box-shadow:inset 2px 2px 12px #e7f0e7;
  -webkit-box-shadow:inset 2px 2px 12px #e7f0e7;
  box-shadow:inset 2px 2px 12px #e7f0e7;
}
div.vectorTabs ul li:first-child {
  -webkit-border-radius: 1.5em 0 0 1.5em;
  -moz-border-radius: 1.5em 0 0 1.5em;
    border-radius: 1.5em 0 0 1.5em;
    padding-left:.6em;
}
div.vectorTabs ul li:last-child {
  -webkit-border-radius: 0 1.5em 1.5em 0;
  -moz-border-radius: 0 1.5em 1.5em 0;
    border-radius: 0 1.5em 1.5em 0;
    border-right:none;
    padding-right:.5em;
}
div.vectorTabs li.selected {
    background: #f7bc79; /* Old browsers */
    background: -moz-linear-gradient(top,  #f7bc79 0%, #ee8301 41%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f7bc79), color-stop(41%,#ee8301)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #f7bc79 0%,#ee8301 41%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #f7bc79 0%,#ee8301 41%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #f7bc79 0%,#ee8301 41%); /* IE10+ */
    background: linear-gradient(to bottom,  #f7bc79 0%,#ee8301 41%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7bc79', endColorstr='#ee8301',GradientType=0 ); /* IE6-9 */
  -moz-box-shadow:none;
  -webkit-box-shadow:none;
    box-shadow:none;
}
div.vectorTabs li.selected a {
    text-shadow: 1px 1px 0 #f7bc79;
    cursor:default;
}
div.vectorTabs li.selected a:hover {
    color:#3b434e;
}
div.vectorTabs ul li:first-child.selected {
    background:none;
    filter:none; /* IE6-9 */
}
div.vectorTabs ul li:first-child.selected a {
    text-shadow: 1px 1px 0 #E4EDE6;
    color:#8190A8;
}
/* Zoo advertising */
#zoolinks{
  position:relative;
  clear:both;
  float:right;
  margin:.5em .4em 0 0;
  z-index:0;
 
}
#zoolinks li{
  display:inline;
  margin-left:1em;
}
#zoolinks a {
  padding:0 0 1em 0;
  font-weight:bold;
  -moz-transition:all .5s; /* Firefox 4 */
  -webkit-transition:all .5s; /* Safari and Chrome */
  -o-transition:all .5s; /* Opera */
  transition:all .5s; /* Opera */
}
#zoolinks #css_link {
  top:-.1em;
  font-size:1.2em;
  font-family: 'Helvetica Neue',Helvetica, sans-serif;
  line-height: 1em;
  color: #ee8301;
  text-shadow:0px 0px 0 rgb(224,117,-13),1px 1px 0 rgb(210,103,-27),2px 2px 0 rgb(196,89,-41),3px 3px 0 rgb(181,74,-56),4px 4px 0 rgb(167,60,-70),5px 5px 0 rgb(153,46,-84), 6px 6px 0 rgb(139,32,-98),7px 7px 6px rgba(0,0,0,0.6),7px 7px 1px rgba(0,0,0,0.5),0px 0px 6px rgba(0,0,0,.2);
 
}
#zoolinks #css_link:hover {
    color:orange;
    font-size:1.4em;
}
#zoolinks #java_link{
    background-image:url('/design/java.png');
    background-size:1.5em;
    background-repeat:no-repeat;
    background-position:right top;
    padding-right:1.6em;
    margin-left:.1em;
    font-weight:normal;
    color: #3b434e;
}
#zoolinks #linux_link {
    background-image:url('/design/penguin.png');
    background-size:1.8em;
    background-repeat:no-repeat;
    background-position:right top;
    padding-right:1.75em;
    margin-left:-.6em;
    color: #3b434e;
}
#zoolinks #java_link:hover {
    font-size:1.2em;
    color: #fff;
    text-shadow: 0px 1px 0px #999, 0px 2px 0px #888, 0px 3px 0px #777, 0px 4px 0px #666, 0px 5px 0px #555, 0px 6px 0px #444, 0px 7px 0px #333, 0px 8px 7px #001135;
}
#zoolinks #linux_link:hover {
  font-size:1.2em;
  color: #ee8301;
}
#zoolinks a#sql_hacks {
    margin: -.6em 0em 0 -.8em;
    opacity: 0.8;
    padding: 0;
    position:relative;
    float: right;
    -webkit-transform:scale(0.7);
    -moz-transform:scale(0.7);
    -o-transform:scale(0.7);
    transform:scale(0.7);
    -moz-box-shadow: 2px 2px 4px #333333;
    -webkit-box-shadow: 2px 2px 4px #333333;
    box-shadow: 2px 2px 4px #333333;
    -moz-transition:all .5s; /* Firefox 4 */
    -webkit-transition:all .5s; /* Safari and Chrome */
    -o-transition:all .5s; /* Opera */
    transition:all .5s; /* Opera */
}
#zoolinks a#sql_hacks:hover {
    opacity:1;
    -webkit-transform:scale(1);
    -moz-transform:scale(1);
    -o-transform:scale(1);
    transform:scale(1);
    -moz-box-shadow: 5px 5px 2px #666666;
    -webkit-box-shadow: 5px 5px 2px #666666;
    box-shadow: 8px 8px 12px #666666;
    height:auto;
}
/* ================================== HEADER: */
#mw-page-base {
    height:8.30em;
    background: -moz-linear-gradient(top,  rgba(171,183,157,1) 0%, rgba(223,229,222,0.9) 10%, rgba(223,229,222,0) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(171,183,157,1)), color-stop(10%,rgba(223,229,222,0.9)), color-stop(100%,rgba(223,229,222,0))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(171,183,157,1) 0%,rgba(223,229,222,0.9) 10%,rgba(223,229,222,0) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(171,183,157,1) 0%,rgba(223,229,222,0.9) 10%,rgba(223,229,222,0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(171,183,157,1) 0%,rgba(223,229,222,0.9) 10%,rgba(223,229,222,0) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(171,183,157,1) 0%,rgba(223,229,222,0.9) 10%,rgba(223,229,222,0) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#C9D6C9', endColorstr='#00dfe5de',GradientType=0 ); /* IE6-9 */
}
#mp-logo {
    position:absolute; left:1em; top:0.2em; z-index:+1;
}
#mp-logo img {
    /*width:20.5em;*/
}
#logoImg{
width:70%;
height:70%;
}
#logo-desc {
    font-family: Helvetica, Arial, sans-serif;
    font-weight:bold;
    font-size: 1.4em;
    color: #3b434e;
    margin:.2em 0 0 0; padding:0;
}
/* fix ff misbehaviour */
@-moz-document url-prefix() {
#logo-desc {font-size: 1.7em;}
}
/* fix ff win misbehaviour */
.win.gecko #logo-desc { margin-top:.2px; }
/* fix webkit misbahaviour */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    #logo-desc { margin-top: -0px; }
}
#logo-desc span {
    color: #ee8301;
}
#logo-desc span span {
    color: #161525; font-weight:normal;
}
h1, h1#logo-desc, #mw-head-base a  {
    border:none; text-decoration:none;
}
#language {
    position:absolute;
    right:500px;
    top:-2px;
    z-index:+5;
}
#language li {
    display:inline-block;
    margin:0 .5em 0 0
}
#language ul li a img {
    opacity:0.5;
}
#language ul li a:hover img {
    opacity:1;
}
/* ================================== MAIN MENU */
#main_menu {
    font-family: "Arial", sans-serif;
    font-size: .95em;
    margin:0;
    padding:0;
    line-height: 100%;
    color:#e3e3e3;
    background: #161525; /* Old browsers */
    background: -moz-linear-gradient(top,  #363d49 0%, #363d49 18%, #161525 69%, #161525 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#363d49), color-stop(18%,#363d49), color-stop(69%,#161525), color-stop(100%,#161525)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #363d49 0%,#363d49 18%,#161525 69%,#161525 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #363d49 0%,#363d49 18%,#161525 69%,#161525 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #363d49 0%,#363d49 18%,#161525 69%,#161525 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #363d49 0%,#363d49 18%,#161525 69%,#161525 100%); /* W3C */
}
.stickableMenu {
    position: absolute; top:9em; left:1px;
    -webkit-border-radius: 1.5em;
    -moz-border-radius:1.5em;
  border-radius: 1.5em;
    box-shadow: 0px 0px 0px #3b434e;
z-index:100;
}
.stickableMenu:hover {                                                      /* not perfect, needs js */
    -webkit-border-radius: 1.1em 1.1em 0 0;
    -moz-border-radius: 1.1em 1.1em 0 0;
    border-radius: 1.1em 1.1em 0 0;
    -moz-box-shadow: 1px 1px 3px #3b434e;
    -webkit-box-shadow: 1px 1px 3px #3b434e;
    box-shadow: 1px 1px 3px #3b434e;
    -moz-transition:all .7s; /* Firefox 4 */
    -webkit-transition:all .7s; /* Safari and Chrome */
    -o-transition:all .7s; /* Opera */
    transition:all .7s; /* Opera */
}
.fixedMenu {
    position: fixed; top: 0; left:0;
    z-index:+5;
    -webkit-border-radius: 0 0 1.5em 0;
    -moz-border-radius:0 0 1.5em 0;
    border-radius: 0 0 1.5em 0;
    -moz-box-shadow: 1px 1px 3px #3b434e;
    -webkit-box-shadow: 1px 1px 3px #3b434e;
    box-shadow: 1px 1px 3px #3b434e;
}
.fixedMenu:hover {
    -webkit-border-radius: 0 1.1em 0 0;
    -moz-border-radius: 0 1.1em 0 0;
    border-radius: 0 1.1em 0 0;
}
#main_menu li {
    z-index:+2;
    margin:0;
    padding:0;
    float: left;
    position: relative;
    list-style: none;
}
/* main level link */
#main_menu a {
    color: #e3e3e3;
    text-decoration: none;
    display: block;
    padding:.6em 1.3em .6em 0;
    margin: 0;
    background-image:url('/design/ic_down.png');
    background-repeat:no-repeat;
    background-position:right center;
}
#main_menu > li:first-child a {
    margin-left:+1.4em;
}
#main_menu li > a { 
  margin-right:+.4em;
#main_menu > li:last-child a {
    margin-right:+1.4em;
}
/* main level link hover */
#main_menu .current a, #main_menu li:hover > a {
    color: #ee8301;
    background-image:url('/design/ic_down_hover.png');
}
/* sub levels link description */
#main_menu ul li:hover, #main_menu li:hover li {
  color: #909898;
}
/* sub levels link hover */
#main_menu ul li:hover a, #main_menu li:hover li a {
  color: #c4c4c4;
  font-weight:bold;
  margin:-.7em 0 -.8em 0;
/*
  background-image:url('/design/progress_bar.png');
  background-size:3.5em;
*/
  background-image:none;
}
#main_menu li:hover li a:hover {
  color: #ee8301;
/*
  background-image:url('/design/progress_bar_hover.png');
*/
  background-image:none;
}
/* ============================== style for menu progress bar */
.progressbarbg1 {
.progressbarbg1 {
   position:absolute;
   position: absolute;
   right:0px;
   right: 0px;
   width: 4.5ex;
   width: 4.5ex;
   height: 1ex; /*1.6*/
   height: 1ex;
   background:black;
   background: black;
   border-radius: 0.7ex;
   border-radius: 0.7ex;
   border:2.5px solid #92A599;
   border: 0.2ex solid #92A599;
  /* add some position settings here #92A599  #8FA397 */
   margin: -1em 0 0 0;
  /*float:right;*/
   margin:-1em 0 0 0;
}
}
.progressbar1 {
.progressbar1 {
   width: 3.93ex;
   width: 3.93ex;
   height: 0.6ex; /*1*/
   height: 0.6ex;
   position: relative;
   position: relative;
   top: 0.3ex;
   top: 0.2ex;
   left: .3ex;
   left: .2ex;
   background: #92A599;
   background: #92A599;
   border-radius: 0.6ex; /*1*/
   border-radius: 0.6ex;
   border-width: 1px;
   border-width: 0px;
   border-color: #000000;
   border-color: #000000;
}
}


/* remove indicators from reference sub menu */
#cog-cont ul{
#main_menu ul#mm3 li a, #main_menu ul#mm3 li:hover a {
  position:absolute;
  background-image:none;
  background-color:white;
  border:solid thin black;
  padding:1em;
  right:1em;
  top:32px;
  list-style:none;
}
}
/* level 2 list */
#cog-cont ul li{
#main_menu li ul {
    /*display: none;*/
visibility: hidden;
opacity: 0;
    position: absolute; top: 1.8em;
    min-width:35em;
    font-size:.85em;
    margin: 0;
    padding: 1.65em 1.5em .5em 1.5em;
    background: #161525; /* Old browsers */
    background: -moz-linear-gradient(top,  #161525 0%, #000000 57%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#161525), color-stop(57%,#000000)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #161525 0%,#000000 57%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #161525 0%,#000000 57%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #161525 0%,#000000 57%); /* IE10+ */
    background: linear-gradient(to bottom,  #161525 0%,#000000 57%); /* W3C */
    -webkit-border-radius:  0 2em 2em 2em;
    -moz-border-radius: 0 2em 2em 2em;
    border-radius:  0 2em 2em 2em;
    -moz-box-shadow: 2px 4px 12px #000000;
    -webkit-box-shadow: 2px 4px 12px #000000;
    box-shadow: 2px 4px 12px #000000;
    /*
transition:visibility .25s linear .25s, opacity .25s linear .25s;
-moz-transition:visibility .25s linear .25s, opacity .25s linear .25s;
-webkit-transition:visibility .25s linear .25s, opacity .25s linear .25s;
-o-transition:visibility .25s linear .25s, opacity .25s linear .25s;
    */
}
}
/* needs to be adjusted for each introduced ul */
#p-personal{
#main_menu li #mm2 {left:-7.9em;}
  right:50px;
#main_menu li #mm3 {left:-16.8em;}
@-moz-document url-prefix() {
    #main_menu li #mm2 { left:-8.1em; }
    #main_menu li #mm3 { left:-17.1em; }
}
.win.gecko #main_menu li #mm2 { left:-7.9em; }
.win.gecko #main_menu li #mm3 { left:-16.85em; }
 
.ie #main_menu li #mm2 { left:-8.15em; }
.ie #main_menu li #mm3 { left:-17.15em; }
 
.mac.webkit #main_menu li #mm2 { left:-8em; }
.mac.webkit #main_menu li #mm3 { left:-16.95em; }
 
#selector[id=selector] { color: red; }
 
#main_menu li:hover ul> li {
    border-bottom:thin solid #acbbaf;
    margin:0 0 .45em 0;
    padding: 0 0 .4em 0;
}
}
#main_menu li:hover ul > li:last-child {
.tease{
    border-bottom:none;
  color:#1d365d;
  font-style:italic;
  cursor:pointer;
  padding: 0.2ex;
}
}
/* dropdown */
h1{
#main_menu li:hover > ul {
font-family:sans-serif;
display: block;
visibility: visible;
opacity: 1;
}
}
#main_menu ul li {
table.db_ref {
float: none;
  border-collapse:collapse;
margin: 0;
padding: 0;
}
}
 
.db_ref th{
/* clearfix */
  text-align:left;
#main_menu:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0;
}
}
#main_menu {
.db_ref th,.db_ref td{
display: inline-block;
  border:solid thin black;
  padding-left:0.6ex;
  padding-right:0.6ex;
}
}
html[xmlns] #main_menu {
.db_ref .r{
display: block;
  text-align:right;
}
}
* html #main_menu {
div.def,div.ans{
height: 1%;
  display:none;
}
}
 
span.id {
 
  font-size: 300%;
 
  padding-right: 1ex;
/* ================================== SIDE MENU: */
 
 
 
body #mw-panel {
    /*margin-top:3.3em;*/
width:13.5em;
background:#ebf3ea;
padding-top:50px;
border-right:1px solid #bbd6b8;
top:12em;
min-height:1100px;
background-image:url(/design/mw_panel_btm_grad.png); 
background-repeat:repeat-x; 
background-position:bottom;
}
#divPathMenuCont{
width:200px;
position:relative;
}
#mw-panel #p-Reference h5,
body #mw-panel div.portal h5 {
    font-size: 1.3em;
    font-stretch:normal;
    font-weight:bold;
    margin:0; padding: 0 0 0 0.6em;
    color:#161525;
}
#mw-panel #p-Reference li a{
    color:#3b434e;
}
#mw-panel #p-Reference li a:hover, div#mw-panel div.portal div.body ul li a.pathTxta:hover {
    color:#ff530d;
    padding-left:1.1em;
    background-image:url('/design/side_pointer2.png');
    background-size:.8em;
    background-repeat:no-repeat;
    background-position:left center;
}
body #mw-panel #p-Reference .body,
body #mw-panel div.portal div.body {
  background-image:none;
}
.fixedRef {
    position: fixed; top:3em; left:0;
    width:10em;
}
div#mw-panel div.portal div.body ul li a {
padding-right:40px;
display:inline-block;
color:#3b434e;
}
div.portal{
margin-top:1.5em;
}
div#mw-panel div.portal div.body ul li a:visited{
color:#3b434e;
}
#mw-panel .portal .body ul li {
    text-align:right;
padding-bottom:0.8em;
}
#engine {
    background:#161525;
    color:#e3e3e3;
    width: 100px; height: 2em;
    margin:0 15px 0 0;
    text-align:left center;
}
}
div.dwnBtnClass{
.qu,.ht {
width:97px;
  border-top: thin solid #ee8301;
height:16px;
  margin-bottom: 9em;
background: transparent url('/design/dwnArrow_black.png') no-repeat;
float:left;
}
}
div.upBtnClass{
h2+.qu,h2+.ht{
width:97px;
  border-top:none;
height:16px;
background: transparent url('/design/upArrow_black.png') no-repeat;
float:left;
}
}
div.dwnBtnClass:hover {
cursor:pointer;
background:url('/design/dwnArrow_or.png') no-repeat;


div.setup,div.tidy,div.params{
  display:none;
}
}
div.upBtnClass:hover{
div.res {
background: url('/design/upArrow_or.png') no-repeat;
  margin-top:1ex;
cursor:pointer;
  background: #dae5d9;
 
  color: #3b434e;
  border: none;
  padding: 1em;
  border-radius: 0.5ex;
  box-shadow: 1px 1px 3px #3b434e;
  border-style: inset;
  border-width: 1px;
  height: 20em;
  overflow: auto;
  resize:both;
}
}
.divClear{
div.res.waiting{
clear:both;
  background-image:url(https://sqlzoo.net/design/ajax-loader.gif);
  background-repeat:no-repeat;
  background-position: center center;
}
}
 
textarea.sql {
#pathMenuTable{
  width: 100%;
width:200px;
  box-shadow: 1px 1px 3px #3b434e;
background:none;
  border-style: inset;
  border-width: 1px;
  border-radius: 1ex;
  padding: 0.5ex;
  margin-bottom: 0.5ex;
}
}
#pathMenuTable td{
button{
border: 0;
  background-image: linear-gradient(to bottom,#337ab7 0,#265a88 100%);
font-size: 90%;
  background-color:#306aa0;
  color:white;
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.3;
  border-radius: 6px;
  border-color: #245580;
  border-width:1px;
  cursor:pointer;
}
}
 
.reset {
 
  display: inline;
/* ================================== CONTENT: */
  border: solid 1px;
div#content{
  margin-left: 6em;
margin-left:14em;
  padding: .5ex;
  border-radius: .5ex;
  cursor:pointer;
}
}
div#content a.zoo_external {
.qcorrect{
    color: #161525;
  background-image: url(https://sqlzoo.net/design/done9.png);
}
}
div#content a.zoo_external:hover {
.qincorrect {
    color: #ee8301;
  background-image:url(https://sqlzoo.net/design/undone9.png);
}
}
div#content a.zoo_external, div#content a.zoo_external[href^="gopher://"] {
.qcorrect, .qincorrect {
    background: url("/design/ex-link2.png") no-repeat scroll right center transparent;
  width: 3em;
    padding-right: 18px;
  height: 3em;
  position: absolute;
  margin: 0em 0 0 5em;
  background-size: 3em;
  background-repeat: no-repeat;
  background-position: center;
}
}
div#content a.zoo_external:hover, div#content a.zoo_external:hover[href^="gopher://"] {
#p-logo>a{
    background: url("/design/ex-link.png") no-repeat scroll right center transparent;
  background-position:center top;
    padding-right: 18px;
}
}
#firstHeading {
table{
    font-size: 1.3em;
  border-collapse:collapse;
    font-weight:bold;
    text-align:center;
    color:#161525;
    margin:0 0 .9em 0;
    padding:0;
    border:none;
    border-bottom:thin solid #ee8301;
}
}
div#bodyContent{
table.sqlans{
border-bottom:thin solid #EE8301;
  display:none;
}
}
.mw-content-ltr {
td,th {
    margin-left:1em;
  border: solid gray 1px;
  padding: .2em .7em;
  vertical-align: top;
}
}
/* homepage slogan */
.showtxt{
.slogan {
  color:blue;
    font-size: 1.3em;
   cursor:pointer;
    font-weight:normal;
    color:#3b434e;
    margin-left:-.5em;
}
.slogan span {
    font-weight:bold;
    color:#161525;
}
div.tutblock,
div.refblock,
div.resblock {
    border:none;
    margin-top:.2em;
    margin-bottom:0;
    margin-left:-1em;
    -webkit-border-radius: 1.5em;
    -moz-border-radius:1.5em;
    border-radius: 1.5em;
}
/* add extra margin so the resources block floats under tutorials */
div.refblock {
    margin-bottom:+4em;
}
/* fix webkit misbahaviour */
@media screen and (-webkit-min-device-pixel-ratio:0) {
  div.tutblock,
  div.refblock,
   div.resblock { margin-top:.6em; }
}
div.tutblock:hover,
div.refblock:hover,
div.resblock:hover  {
  -moz-box-shadow: 1px 1px 1px #3b434e;
  -webkit-box-shadow: 1px 1px 1px #3b434e;
  box-shadow: 1px 1px 1px #3b434e;
  background:#dae5d9;
  transition:background 1s;
  -moz-transition:background 1s; /* Firefox 4 */
  -webkit-transition:background 2s; /* Safari and Chrome */
  -o-transition:background 1s; /* Opera */
}
div.tutblock:hover h2,
div.refblock:hover h2,
div.resblock:hover h2 {
  color:#ee8301;
  border-bottom: 1px solid #ee8301;
}
div.tutblock:hover dl,
div.refblock:hover dl,
div.resblock:hover dl {
  margin-top: -1px;
}
.mw-content-ltr h2 {
    font-size:1.2em;
    font-weight:bold;
    color:#3b434e;
}
.mw-content-ltr a {
    color:#161525;
}
.mw-content-ltr .tutblock a:hover,
.mw-content-ltr .refblock a:hover,
.mw-content-ltr .resblock a:hover {
    color:#ee8301;
    background-image:url('/design/side_pointer2.png');
    background-size:.8em;
    background-repeat:no-repeat;
    background-position:left center;
    margin-left:-1.1em; padding-left:+1.1em;
}
/* this shouldn't be necessarry - investigate further */
.mw-content-ltr .refblock a:hover {
    margin-left:-2em; padding-left:+2em;
}
 
.mw-content-ltr .tutblock dl dt,
.mw-content-ltr .refblock dl dt,
.mw-content-ltr .resblock dl dt  {
    margin:0 0 -.1em 0; padding:0;
    font-weight:bold;
    color:#3b434e;
}
.mw-content-ltr .resblock dl dt  {
    margin:0; padding:0;
}
.mw-content-ltr .tutblock dl dt::first-letter,
.mw-content-ltr .refblock dl dt::first-letter {
    color:#3b434e;
}
 
.mw-content-ltr .tutblock dl dt:hover:first-letter,
.mw-content-ltr .refblock dl dt:hover:first-letter,
.mw-content-ltr .resblock dl dt:hover:first-letter  {
    color:#161525;
}
.mw-content-ltr .tutblock dl dd,
.mw-content-ltr .refblock dl dd,
.mw-content-ltr .resblock dl dd  {
    margin:0 0 .7em 0;
    padding:0 1em 0 0;
    line-height:105%;
    color:#3b434e;
}
.mw-content-ltr .tutblock dl dd a,
.mw-content-ltr .refblock dl dd a,
.mw-content-ltr .resblock dl dd a  {
    font-weight:bold;
    color:#3b434e;
}
.mw-content-ltr .tutblock dl dd a:hover,
.mw-content-ltr .refblock dl dd a:hover,
.mw-content-ltr .resblock dl dd a:hover  {
    background-image:none;
    margin-left:-1.1em; padding-left:-1.1em;
}
.mw-content-ltr .resblock dl dd a  {
    font-weight:bold;
    color:#161525;
}
 
 
 
/* ================================== TUTORIALS HEADER: */
 
 
 
.ref_section {
    background:none; border:none;
    -moz-border-radius:.8em;
    -webkit-border-radius:.8em;
    border-radius:.8em;
 
}
.db_ref {
    *border-collapse: collapse; /* IE7 and lower */
    border-spacing:0;
    border:none;
    color:#dae5d9;
    display: inline-block;
    -moz-border-radius: .8em;
    -webkit-border-radius: .8em;
    border-radius: .8em;
}
.db_ref caption {
    color:#161525;
    background:#fbfbfb;
    display: block;
}
.db_ref tr:hover {
    color:#161525;
    background:#e3e3e3;
    -o-transition: all 0.1s ease-in-out;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;   
}   
   
.db_ref td, .db_ref th {
    border-left: 1px solid #3b434e;
    border-top: none;
    padding:.1em .7em .1em .5em;
}
.db_ref tr { 
    background:#3b434e;
}
}
.db_ref tr:first-child,
#napier-ad {
.db_ref tr:last-child { 
  width: 728px;
    background:none;
  height: 90px;
  display: inline-block;
  margin-left: 11em;
  background-image: url(https://sqlzoo.net/design/iidi_leaderboard.gif);
}
}
/*
/*
.db_ref td {
* Allow question and result to be side by side when the screen is big enough
    background:#3b434e;
}
*/
*/
.db_ref th {
@media (max-width:1000px){
    background-color:#161525;
#napier-ad {
    color:#e3e3e3;
  display: none;
    padding:.2em .7em .2em .5em;
}
 
.db_ref td:first-child, .db_ref th:first-child {
    border-left:none;
}
.db_ref td[colspan] { 
    border:none;
    background:#3b434e;
}
.db_ref td[colspan]:hover { 
    font-weight:bold;
    color:#161525;
    background:#d2e5d1;
}
.db_ref th:first-child {
    -moz-border-radius: .8em 0 0 0;
    -webkit-border-radius: .8em 0 0 0;
    border-radius: .8em 0 0 0;
}
 
.db_ref th:last-child {
    -moz-border-radius: 0 .8em 0 0;
    -webkit-border-radius: 0 .8em 0 0;
    border-radius: 0 .8em 0 0;
}
 
.db_ref th:only-child{
    -moz-border-radius: .8em .8em 0 0;
    -webkit-border-radius: .8em .8em 0 0;
    border-radius: .8em .8em 0 0;
}
 
.db_ref tr:last-child td:first-child {
    -moz-border-radius: 0 0 0 .8em;
    -webkit-border-radius: 0 0 0 .8em;
    border-radius: 0 0 0 .8em;
}
 
.db_ref tr:last-child td:last-child {
    -moz-border-radius: 0 0 .8em 0;
    -webkit-border-radius: 0 0 .8em 0;
    border-radius: 0 0 .8em 0;
}
.db_ref tr:last-child td:last-child[colspan] {
  -moz-border-radius:0 0 .8em .8em;
    -webkit-border-radius:0 0 .8em .8em;
    border-radius:0 0 .8em .8em;
}
.fixedDbRef {
    position: fixed; top:-1em; right:-2em;
    -moz-box-shadow: 1px 1px 3px #3b434e;
    -webkit-box-shadow: 1px 1px 3px #3b434e;
    box-shadow: 1px 1px 3px #3b434e;
    opacity:0.5;
    -webkit-transform:scale(0.8);
    -moz-transform:scale(0.8);
    -o-transform:scale(0.8);
    transform:scale(0.8);
   
    -moz-transition:all 1s; /* Firefox 4 */
    -webkit-transition:all 1s; /* Safari and Chrome */
    -o-transition:all 1s; /* Opera */
    transition:all 1s; /* Opera */
   
}
.fixedDbRef:hover {
    top:0; right:0;
    opacity:1;
    -webkit-transform:scale(1);
    -moz-transform:scale(1);
    -o-transform:scale(1);
    transform:scale(1);
}
 
 
 
/* ================================== TUTORIALS CONTENT: */
 
 
 
.ref_section {
        float:right;
        margin-left:1em
}
.mw-content-ltr #toc, .mw-content-ltr .toc, .mw-content-ltr .tochidden {
    -webkit-border-radius: 1em;
    -moz-border-radius:1em;
    border-radius: 1em;
    border-collapse: separate;
    padding:0 .5em 0 .5em;
}
}
.mw-content-ltr table#toc td, .mw-content-ltr .toc td, .mw-content-ltr .tochidden td {
    border:none; margin:0; padding:0;
}
}
.extra_space {


}
@media (min-width:1000px){
.mw-headline {
   .zood>div,.zood>div{
    margin-bottom:-2em;
     width:46%;
}
 
 
 
/* ============================== PROGRESS PANEL */
 
 
 
.progress_panel {
  display:inline-block;
  border:thin solid rgba(33,33,33,0.7);
  -webkit-border-radius: 3em 2em 3em 2em / 2em 1em 2em 1em;
  -moz-border-radius: 3em 2em 3em 2em / 2em 1em 2em 1em;
  border-radius: 3em 2em 3em 2em / 2em 1em 2em 1em;
  background: #e3ede3; /* Old browsers */
  background: -moz-linear-gradient(-45deg, #e3ede3 1%, #dae5d9 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right bottom, color-stop(1%,#e3ede3), color-stop(100%,#dae5d9)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(-45deg, #e3ede3 1%,#dae5d9 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(-45deg, #e3ede3 1%,#dae5d9 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(-45deg, #e3ede3 1%,#dae5d9 100%); /* IE10+ */
  background: linear-gradient(135deg, #e3ede3 1%,#dae5d9 100%); /* W3C */
  -moz-box-shadow: 0px 0px 2px #333333;
  -webkit-box-shadow: 0px 0px 2px #333333;
  box-shadow: 0px 0px 2px #333333;
 
}
.progress_panel > div {
    padding:1.2em 1.5em 1.5em 1.2em;
    background:#D2DDD2;
    -webkit-border-radius: 3em 2em 3em 2em / 2em 1em 2em 1em;
    -moz-border-radius: 3em 2em 3em 2em / 2em 1em 2em 1em;
    border-radius: 3em 2em 3em 2em / 2em 1em 2em 1em;
    -moz-box-shadow:inset 2px 2px 12px #e7f0e7;
    -webkit-box-shadow:inset 2px 2px 12px #e7f0e7;
    box-shadow:inset 2px 2px 12px #e7f0e7;
}
.progress_panel .summary {
    color: #3b434e;
    font-size: 0.85em;
    font-weight: normal;
    text-shadow: 1px 1px 0 #E4EDE6;
    margin: 0.5em 0;
    padding:0;
    line-height: 140%;
}
.progressbarbg {
    background:#161525;
    border-radius: 2ex 2ex 2ex 2ex;
    height: 2em;
    width: 50ex;
    border-bottom:2px solid #d2e5d1;
    border-right: 2px solid #d2e5d1;
    -moz-box-shadow: 2px 2px 3px #1a1a1a;
    -webkit-box-shadow: 2px 2px 3px #1a1a1a;
    box-shadow: 2px 2px 3px #1a1a1a;
}
.progressbar {
    position: relative;
    left: 1ex; top: 1ex;
    width: 48ex;
    height: 1em;
    background: #323832; /* Old browsers */
    background: -moz-linear-gradient(left, #323832 0%, #bfcebe 90%, #e9ffe7 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#323832), color-stop(90%,#bfcebe), color-stop(100%,#e9ffe7)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left, #323832 0%,#bfcebe 90%,#e9ffe7 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left, #323832 0%,#bfcebe 90%,#e9ffe7 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left, #323832 0%,#bfcebe 90%,#e9ffe7 100%); /* IE10+ */
    background: linear-gradient(to right, #323832 0%,#bfcebe 90%,#e9ffe7 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#323832', endColorstr='#e9ffe7',GradientType=1 ); /* IE6-9 */
    border-radius: 1ex 1ex 1ex 1ex;
    -moz-box-shadow: 2px 0 2px #4D4D4D;
    -webkit-box-shadow: 2px 0 2px #4D4D4D;
    box-shadow: 2px 0 2px #4D4D4D; 
}
 
/* ======================= CORRECT/INCORRECT INDICATOR */
 
.qcorrect, .qincorrect {
  width:3em;
  height:3em;
  position:absolute;
  left:-1em;
  margin: -0.5em 0 0 1em;
  background-size:3em;
  background-repeat:no-repeat;
  background-position:center;
}
.qcorrect {
  background-image:url('/design/done9.png');
}
.qincorrect {
   background-image:url('/design/undone9.png');
}
 
 
/* ======================= TUTS USER INPUT */
 
/* Prevent floating after a .qu */
.qu+*{
  clear:left;
}
 
.qu {
    border:none;
    border-top:thin solid #ee8301;
    margin: 2ex 0.2ex 0.2ex;
    padding: 10px;
}
.qu span.id {
    margin-bottom:.5em;
}
.mw-content-ltr p,
.qu p {
    margin-bottom:1em;
}
.quf {
    margin:0 0 1em 0;
}
.quf textarea {
     -webkit-border-radius:3em 1.2em 3em 1.2em / 3em 1.5em 4em 0;
    -moz-border-radius:3em 1.2em 3em 1.2em / 3em 1.5em 4em 0;
    border-radius:3em 1.2em 3em 1.2em / 3em 1.5em 4em 0;
    border-top:1.6em solid #3b434e;
    border-bottom:2em solid #3b434e;
    border-right:1.6em solid #3b434e;
    border-left:1.3em solid #3b434e;
    background:#e3e3e3;
    margin:.5em 0 -1em 0em;
    padding:.5em 0 0 .5em;
    width: 29.5em;
    overflow:auto;
}
.mac.webkit .quf textarea { width: 34.5em }
.win.gecko .quf textarea { width: 30em; }
.mac.gecko .quf textarea { width: 28.5em; }
.ie .quf textarea { width: 27em; }
.opera .quf textarea { width: 35.5em; }
.win.opera .quf textarea { width: 30em; }
 
 
.submitSQL {
    margin:-1.1em 0 0 0em; /* win ff */
    padding:.5em 1em .5em 1em;
    color:#e3e3e3;
    height:auto;
    background: #161525; /* Old browsers */
    background: -moz-linear-gradient(top,  #363d49 0%, #363d49 18%, #161525 69%, #161525 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#363d49), color-stop(18%,#363d49), color-stop(69%,#161525), color-stop(100%,#161525)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #363d49 0%,#363d49 18%,#161525 69%,#161525 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #363d49 0%,#363d49 18%,#161525 69%,#161525 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #363d49 0%,#363d49 18%,#161525 69%,#161525 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #363d49 0%,#363d49 18%,#161525 69%,#161525 100%); /* W3C */
    border:1em solid #3b434e;
    -webkit-border-radius:2.5em;
    -moz-border-radius:2.5em;
    border-radius:2.5em;
    z-index:+1;
}
.webkit .submitSQL { margin:-1.1em 0 0 0em; }
.mac.gecko .submitSQL { margin:-1.1em 0 0 0em; }
.ie .submitSQL { margin:-1em 0 0 0em; }
.opera .submitSQL { margin:-1em 0 0 0em; }
.submitSQL:hover {
    color:#ffffff;
    background:#161525;
    -webkit-background-clip: padding-box;
    -moz-background-clip:    padding;
    background-clip:        padding-box;
}
.quf .reset {
  cursor:pointer;
  display:inline-block;
  -moz-border-radius:0 0 1em 1em;
  -webkit-border-radius:0 0 1em 1em;
  border-radius:0 0 1em 1em;
  background:#3B434E;
  color:#e3e3e3;
  left: 12.6em;
  padding: 0 1.2em 0.2em;
  position: relative;
  top: 0;
}
.quf .reset:hover {
  color:#ee8301;
}
.win.webkit .quf .reset { left: 12em; }
.win.gecko .quf .reset { left: 12em; }
.ie .quf .reset { left: 10em; }
 
div.res {
    background:#dae5d9;
    color:#3b434e;
    border:none;
    padding:1em;
    -webkit-border-radius: 1.5em;
    -moz-border-radius:1.5em;
    border-radius: 1.5em;
    -moz-box-shadow: 1px 1px 3px #3b434e;
    -webkit-box-shadow: 1px 1px 3px #3b434e;
    box-shadow: 1px 1px 3px #3b434e;
     display:inline-block;
     display:inline-block;
     margin-left: 1.5em;
     vertical-align:top;
}
     margin-top:1ex;
 
  }
//Connor 23/7/12 Highlighting for the multiple choice answers.
  .zood>div:first-child{
tr.proposal:hover{
  }
  background-color:rgb(150,150,200)
  .zood>div.res,ht>div.res.ht{
}
     margin-left:1%;
 
  }
.lsclear{
  color: #D90000;
  font-weight: bold;
  cursor:pointer;
/* designer override */
  border: 3px solid #E3E3E3;
  background: #EE8301;
  padding: 6px 12px;
  margin-left:.5em;
  -webkit-border-radius: 22px;
  -moz-border-radius: 22px;
  border-radius: 22px;
  text-shadow: -1px -1px 0 rgba(50, 50, 50, 0.75);
  color: #e3e3e3;
  font-size: 1em;
  font-family: Helvetica, Arial, Sans-Serif;
  font-weight:normal;
  text-decoration: none;
  vertical-align: middle;
  -webkit-box-shadow: 1px 1px 5px rgba(50, 50, 50, 0.75);
  -moz-box-shadow:    1px 1px 5px rgba(50, 50, 50, 0.75);
  box-shadow:        1px 1px 5px rgba(50, 50, 50, 0.75);
  display:inline-block;
}
.lsclear:hover {
  background: #161525;
  color: #EE8301;
  border-color: #EE8301;
}
 
/* ===================== FOOTER */
 
div#footer {
    background-image: none;
    /*border-top:thin solid #EE8301;*/
    direction: ltr;
    margin-left: 14em;
     margin-top: 0;
    padding: 0.75em;
}
div#footer ul {
    margin-left:.5em;
}
/* ===================== this overrides boys css to adjust the design */
 
 
 
span.id {
    font-size:3em;
    font-weight:bold;
    color:#161525;
}
.imper {
    margin-bottom:1em;
    font-weight:bold;
}
.mw-content-ltr a {
    color:#161525;
    font-weight:bold;
}
.qu a {
     font-weight:bold;
}
.mw-content-ltr a:hover {
    color:#ee8301;
}
}
.qu a:hover {
@media (max-width: 768px) {
     color:#ee8301;
  div#mw-panel{
    display: none;
  }
  #left-navigation {
     left: 0;
  }
  #mw-head-base,
  div#content,
  div#footer {
    margin-left: 0;
  }
  .db_ref{
  }
}
}


.quizlink  a{
.quiz .q {
    margin-left:.5em;
  margin-top:4em;
    font-weight:bold;
    color:#e3e3e3;
    background:#3b434e;
    padding:.5em 1.5em;
    -moz-border-radius:2em;
    -webkit-border-radius:2em;
    border-radius:2em;
    display:inline-block;
    box-shadow: 1px 1px 5px rgba(50, 50, 50, 0.75);
    border: 3px solid #E3E3E3;
}
.quizlink a:hover {
    color:#ee8301;
    background:#161525;
    border-color:#ee8301;
}
/*Istvan*/
.quizQuestions table.object td {
  border:none;
   padding-top: 0.8em;
   padding-top: 0.8em;
   padding-bottom: 0.8em;
   padding-bottom: 0.8em;
Line 1,429: Line 253:
}
}


.quizQuestions table.object td table.innerTable tr td{
.quiz .q .d{
border-radius:0em;
  border:blue solid thin;
padding-top:0.1em;
  margin-top:1em;
padding-bottom:0em;
  cursor:pointer;
background: whitesmoke;
}
border: 1px solid #5e855c;
.quiz .q div.d{
  padding:.5em .5em .5em 1em;
}
}
.quizQuestions table.object td table.innerTable tr th{
.quiz .q .d:hover{
border: 1px solid #5e855c;
  border:black solid thin;
 
  box-shadow: 0px 0px 5px 1ex rgba(50, 50, 50, 0.75);
}
.quiz .q .d.picked{
  box-shadow: 0ex 0ex 4px 1ex #CFD1BA;
}
}
table.innerTable caption{
.quiz .q .d.picked::before{
background:#5e855c;
  content: '\25CB';
color:#ffffff;
  padding:0.3em;
padding:3px;
  background:white;
min-width: 50px;
  border:solid black thin;
text-align: center;
  position:absolute;
  text-align:center;
  vertical-align: middle;
  left:-0.9em;
  margin-top:-0.9em;
  width:1em;
  height:1em;
}
}
.quizQuestions table.object tr.proposal td label.labelAns{
.quiz .q .d.picked.mark-correct::before{
background: #5e855c;
  content: '\2713';
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5e855c', endColorstr='#20ca17',GradientType=1);
  background-color:green;
color:#ffffff;
border: 1px solid whitesmoke;
padding:8px;
border-radius:1em;
}
}
 
.quiz .q .d.picked.mark-wrong::before{
.quizQuestions table.object tr.proposal td.picked table.innerTable tr td{
  content: '\2717';
border-radius:0em;
  background-color:red;
/*background:#7f7f7f;*/
}
}
.quizQuestions table.object tr.proposal td.right {background:#1ff72d;}
.quizQuestions table.object tr.proposal td.wrong {background:#F74245;}
.quizQuestions table.object tr.proposal td.picked {background:#eebe01;}
.quizQuestions table.object tr.proposal:hover td.picked {background:#eebe01;}
.quizQuestions table.object tr.proposal:hover td{background:#cbcbcb;}
.quizQuestions table.object tr.proposal td div.mw-geshi {background:none;}


.quizQuestions table.object td .sql.source-sql .de1, .sql.source-sql .de2{
.quiz .feedback{
background:whitesmoke;
  margin: 1em 0;
  padding:1em;
  border:solid thin black;
  font-size:large;
  box-shadow: .2ex .2ex #CFD1BA;
}
}
textarea.sql{
background:#ffffff;
}
table.object[div.mw-geshi] td{background: none;}
 
td.sign{
td.sign{
vertical-align: middle;
vertical-align: middle;
Line 1,482: Line 303:
}
}


code {
#indJobContent{padding-bottom: 5px;}
    color:#ee8301;
#indJobContent .company_location{font-size: 11px;overflow: hidden;display:block;}
    background:none;
#indJobContent.wide .job{
    border: 1px solid #EE8301;
   display:block;float:left;
    -moz-border-radius:2em;
  margin-right: 5px;
    -webkit-border-radius:2em;
  width: 180px;
    border-radius:2em;
  overflow:hidden;
    padding: 0.1em 0.5em 0;   
  white-space: nowrap;
}
  text-overflow: ellipsis;
h2 code {
    border: 2px solid #EE8301;
}
.mw-content-ltr pre {
    border:none;
    background:#dae5d9;
    padding: 1.1em 1em 1em 2em;
    -moz-border-radius:.5em;
    -webkit-border-radius:.5em;
    border-radius:.5em;
    -moz-box-shadow:inset 5px 5px 11px rgba(33,33,33,0.7);
    -webkit-box-shadow:inset 5px 5px 11px rgba(33,33,33,0.7);
    box-shadow:inset 5px 5px 11px rgba(33,33,33,0.7);
}
 
.NoBorder td{
  border:none;
}
 
.Bordered td{
  border:solid;
  border-width:1px;
}
/*Connor 7/8/12 Gets rid of the table lines for a table many tables have been entered into.*/
 
/*Simple styling for lists of references*/
 
.tutlist {
  width:40ex;
  float:right;
  margin-left: 1.5em;
  padding: 1em;
  -moz-box-shadow: 1px 1px 3px #3B434E;
  -webkit-box-shadow: 1px 1px 3px #3B434E;
  box-shadow: 1px 1px 3px #3B434E;
  background:#dae5d9;
  transition:background 1s;
  -moz-transition:background 1s; /* Firefox 4 */
  -webkit-transition:background 2s; /* Safari and Chrome */
  -o-transition:background 1s; /* Opera */
  border-radius: 1.5em;
  color: #EE8301;
}
 
.fc {
  color: #EE8301;
  text-decoration:underline;
}
 
#userloginForm,
#userloginForm table {
  color:#e3e3e3;
}
#userloginForm {
    -moz-box-shadow: 5px 5px 8px #3b434e;
    -webkit-box-shadow: 3px 6px 10px #3b434e;
    box-shadow: 5px 5px 8px #3b434e;
    background: #161525; /* Old browsers */
    background: -moz-linear-gradient(top,  #363d49 0%, #363d49 18%, #161525 69%, #161525 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#363d49), color-stop(18%,#363d49), color-stop(69%,#161525), color-stop(100%,#161525)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #363d49 0%,#363d49 18%,#161525 69%,#161525 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #363d49 0%,#363d49 18%,#161525 69%,#161525 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #363d49 0%,#363d49 18%,#161525 69%,#161525 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #363d49 0%,#363d49 18%,#161525 69%,#161525 100%); /* W3C */
    -webkit-border-radius: 1.5em;
    -moz-border-radius:1.5em;
    border-radius: 1.5em;
    border:solid 5px #e3e3e3;
}
#userloginForm a {
    color:#ee8301;
}
#userloginForm a:hover {
    color:#FF9E44;
    text-shadow: 0 0 6px #E17F19;
}
#userloginForm a {
    color:#ee8301;
}
#userloginForm table,
#userloginForm table td {
    border:none;
    background:none;
}
#userloginForm input {
    background:#e3e3e3;
    padding:0 .5em;
    -webkit-border-radius: .5em;
    -moz-border-radius:.5em;
    border-radius: .5em;
}
#userloginForm h2 {
    color:#ee8301
}
 
/* increase link recognition */
.mw-content-ltr a {
    text-decoration: underline;
}
div.tutblock a, div.refblock a, div.resblock a, .tutlist a, .quizlink a {
    text-decoration: none;
}
 
/* Highlighted SQL code modification */
 
body .sql.source-sql .de1, .sql.source-sql .de2 {
    font-size: 1.25em;
padding: 20px;
background: whitesmoke;
}
 
 
 
 
/* COHORT.CSS STARTS FROM HERE*/
 
/*Tabbed Area*/
.tabbed_area{
border:1px solid #494e52; 
background-color:#363d49; /*#636d76;  */
padding:8px;
border-radius:3px;
margin-bottom: 4em;
}
 
ul.tabs { 
margin:0px;
padding:0px; 
margin-top:5px; 
margin-bottom:4px;
ul.tabs li { 
list-style:none; 
display:inline; 
 
ul.tabs li a { 
background-color:#686868; /*#464c54;  */
color:#ffebb5; 
padding:8px 14px 8px 14px; 
text-decoration:none; 
font-size:9px; 
font-family:Verdana, Arial, Helvetica, sans-serif; 
font-weight:bold; 
text-transform:uppercase; 
border:1px solid #464c54;  
/*background-image:url(/design/tab_off.jpg); 
background-repeat:repeat-x;   
background-position:bottombottom;*/
}
 
ul.tabs li a:hover { 
background-color:#7b7b7b; /*#2f343a;  */
border-color:#2f343a; 
 
ul.tabs li a.active {
background-color:#ffffff; 
color:#282e32; 
border:1px solid #464c54;    
border-bottom: 1px solid #ffffff; 
background-image:url(/design/tab_on.jpg); 
background-repeat:repeat-x; 
background-position:top;
}
 
.content { 
background-color:#ffffff;
padding:10px; 
border:1px solid #464c54;   
background-image:url(/design/content_bottom.jpg); 
background-repeat:repeat-x;   
background-position:bottombottom;
border-radius: 0 3px 3px 3px;
 
#content_2, #content_3 { display:none; }
 
 
/*Cohort Stat*/
#divCohort, #divUserStat{
padding:1em;
}
 
#divCohortHeader, #userContHeader{
padding:0.7em;
margin-bottom:10px;
background:white;
box-shadow:0 0 10px #bbb;
border-radius: 3px;
}
 
#cohBoxTitle{
padding:0.5em;
}
 
#divListHeader{
padding:0.5em;
background:white;
}
 
#cohorCont{
padding:0.7em 1.5em 0.7em 0.7em;
/*width:auto;*/
min-width:180px;
float:left;
height:auto;
box-shadow:0 0 10px #bbb;
background:white;
border-radius: 3px;
}
 
#cohortContStat{
display:none;
float:left;
padding:0.7em;
margin-left:10px;
background:white;
box-shadow:0 0 10px #bbb;
border-radius: 3px;
}
 
#memberCont{
height:auto;
float:left;
padding:0.7em;
margin-left:10px;
background:white;
box-shadow:0 0 10px #bbb;
border-radius: 3px;
}
 
#divClear{
clear:both;
}
 
.cohortClass{
padding:0.3em;
cursor:pointer;
width:auto;
}
 
.cohortClass:hover {background:#a6a6a6;}
 
.memberClass{
cursor:pointer;
}
 
.memberClass:hover {background:#ffdb9a;}
.btnClass{margin:0.5em; padding:.3em;}
.pickedCo, .pickedCo:hover {background:gray;}
.pickedMe, .pickedMe:hover {background:#ffc04d;}
.pickedMe td:parent {opacity:0.8;}
 
.pathNameClass{
float: right;
}
 
.imgBin{
display:block;
float:right;
padding-left: 1em;
width:23.4px;
height:23.4px;
 
}
/******DIV TABLEs*******/
#statMeTable, #statCoTable{
margin-top:0;
margin-bottom:0;
border:none;
background:white;
}
 
#statCoTable td, #statMeTable td{
height:20px;
text-align: right;
padding:4.5px;
border-left:1px solid #f1f1f1;
border-right:1px solid #f1f1f1;
border-bottom:0;
border-top:2px solid #f1f1f1;
color: #2d2d2d;
}
 
#statCoTable tr:last-child td, #statMeTable tr:last-child td{
border-bottom:0;
}
 
#statCoTable tr td:first-child, #statCoTable tr th:first-child,
#statMeTable tr td:first-child, #statMeTable tr th:first-child {
border-left: 0;
}
 
#statCoTable tr td:last-child, #statCoTable tr th:last-child,
#statMeTable tr td:last-child, #statMeTable tr th:last-child {
border-right: 0;
}
 
#statCoTable td:first-child, #statMeTable td:first-child{
text-align: left;
}
 
#tHeader th, #tHeaderMe th {
height: 13em;
vertical-align: bottom;
background:#292746; /*#161525;*/
min-width:41px;
border:1px solid #464277;
border-top:0;
border-bottom:0;
}
 
#tHeaderMeUsr th{
height: 7em;
vertical-align: middle;
background:#292746;
min-width:41px;
border-left:1px solid #464277;
border-right:1px solid #464277;
border-top:0;
border-bottom:1px solid #292746;
color: #ffffff;
padding-left:10px;
padding-right:10px;
}
 
#tHeaderMeUsr th:first-child{
width:130px;
}
 
#tHeader th span, #tHeaderMe th span /*, #tHeaderMeUsr th span*/{
width: 1.2em;
white-space: nowrap;
color: #ffffff;
display: block;
    /*Firefox*/
    -moz-transform: rotate(-90deg);
    /*Safari*/
    -webkit-transform: rotate(-90deg);
    /*Opera*/
    -o-transform: rotate(-90deg);
    /*IE*/
writing-mode: tb-rl;
filter: flipv fliph;
 
margin-left: auto;
margin-right: auto;
padding-bottom:10px;
 
}
 
#tHeader th span.thQuizzies{
color:#ffdb9a;
}
 
#statMeTable tr:hover{
background:#ffdb9a;
}
 
.quizRow{
background:#d5d4e7;
}
 
#statMeTable tr.quizRowUsr {
font-weight:bold;
}
 
/*ColorCode for table*/
.perfect{
background:#6be3a1;
}
.good{
background:#96e282;
}
 
.medium{
background:#cce05c;
}
 
.lazy{
background:#d9e887;
}
 
.displayNone{
display:none;
}
 
#memName{
color:white;
text-align:center;
font-weight:bold;
font-size:130%;
}
 
.finished{
background:#1ff72d;
}
 
/****** POPUP DIV *******/
 
#divPopup{
position:absolute;
z-index:100;
min-width:40%;
background: #f1f1f1;
border: thin solid #cbcbcb;
top:150px;
left:300px;
text-align:center;
padding-bottom:3em;
border-radius:0.5em;
}
 
#btnClosePopup{
display:block;
position:absolute;
right:3px;
width:30px;
}
 
#btnOkPopup, #btnNoPop{
display:inline-block;
width: 50px;
margin-left: auto;
margin-right: auto;
 
}
#btnNoPop{
margin-left:40px;
}
#popupCont{
min-height:80%;
max-width:85%;
padding:22px;
margin-left:auto;
margin-right:auto;
text-align:center;
margin-top:25px;
}
 
#textCont, #spanNoti {
text-align:center;
color:black;
min-height:50px;
padding-top:5em;
vertical-align:middle;
font-size:130%;
}
 
#txtPopup{
padding-right:10px;
max-width:100%;
}
 
.overlay{
position:fixed;
width:100%;
height:100%;
top:0;
left:0;
background-color:rgba(0,0,0,0.3);
}
/***********************USER PAGE STUFF**************************/
#divStatHeader{
vertical-align:middle;
}
 
#addMeCont{
margin-bottom:1em;
}
 
#ibAddMe{
margin-top:1em;
vertical-align:middle;
 
}
 
#addMeTxt{
cursor:pointer;
font-weight:bold;
}
 
#addMeTxt:hover{
color:#ee8301;
}
 
#warnText{
color:red;
font-weight:bold;
height:15px;
padding:0.5em;
float:left;
margin-left:2em;
display:none;
}
 
#btnAddme{
background:#ffdb9a;
width:40px;
height:15px;
padding:0.5em;
float:left;
font-weight:bold;
cursor:pointer;
}
 
#inputAddMe{
float:left;
height:22px;
margin-right:0.5em;
}
 
div.btnCoSelect{
width:auto;
float:left;
padding:1em;
cursor:pointer;
font-size:16px;
font-weight:bold;
text-transform:uppercase;
border-radius:3px;
}
 
.btnCoSelectPicked{
background:#ffdb9a;
}
 
div.btnCoSelect:hover, #btnAddme:hover{
box-shadow: 0 0 10px #bbb;
background:#ffdb9a;
}
 
div.divSeparator{
float:left;
width:1px;
height:51px;
background:#cbcbcb;
margin-left:5px;
margin-right:5px;
}
 
#userCont{
position:relative;
margin-bottom: 3em;
background:white;
width:auto;
box-shadow:0 0 10px #bbb;
text-align:center;
padding:1em;
border-radius:3px;
}
 
#divMeTable{
max-width:330px;
float:left;
}
 
#questCont{
max-width: 330px;
float:left;
background:#e2e2e2;
/*padding:1em;*/
width:230px;
text-align:center;
}
 
#questContHeader, #answContHeader{
position:relative;
height:91px;
background:#292746;
color:white;
text-align:center;
font-weight:bold;
border:1px solid #464277;
border-bottom:1px solid #292746;
border-top:0;
}
 
#spanQuTxt, #spanAnTxt{
position:relative;
top:35px;
}
#answCont{
background:#c9c9c9;
float:left;
width:auto;
}
 
div.questClass, div.answQuizClass{
padding:4.5px 0 4.5px 0;
border-top:2px solid #f1f1f1;
height:19.2px;
 
}
.questClass{
color: #2d2d2d;
font-weight:bold;
}
#divClear2, .divClear{
clear:both;
visibility:hidden;
}
.tutsClass, .questTutClass, .quizRowUsr, .tutsRowUsr{
cursor:pointer;
}
.questTutClass:hover {background:#ffdb9a;}
.pickedTut{background:#e2e2e2;}
.pickedQuest{background:#c9c9c9;}
 
div.answClass>pre {
margin:0;
border:none;
}
 
div.answClass{
padding:0.5em;
border-top:2px solid #f1f1f1;
}
 
div.classDatime{
float:left;
width:120px;
margin-left:5px;
}
 
div.classAnsAns{
float:left;
width:50px;
background:white;
margin-left:5px;
margin-right:5px;
}
 
.goodAnsw{
background:#6be3a1;
}
}
#indeed_widget_wrapper{position: relative;font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif;font-size: 13px;font-weight: normal;line-height: 18px;padding: 10px;height: auto;overflow: hidden;}
#indeed_widget_header{font-size:18px; padding-bottom: 5px; }
#indeed_link{position: absolute;top: 1px;right: 5px;clear: both;font-size: 11px; }
#indeed_link a{text-decoration: none;}
#indeed_widget_wrapper{ width: 740px; height: 58px; background: #FFFFFF;}
#indeed_widget_wrapper{ border: 1px solid #DDDDDD; }
#indeed_widget_wrapper, #indeed_link a{ color: #000000;}
#indJobContent, #indeed_search_wrapper{ border-top: 1px solid #DDDDDD; }
#indJobContent a { color: #00c; }
#indeed_widget_header{ color: #000000; }

Latest revision as of 21:36, 5 September 2021

/* Hide the Talk and edit tabs */
#left-navigation,#right-navigation{
  display:none;
}
/* Make reference and tools drop downs - leaving room for the sovrn ads */
#p-tb div,#p-Reference div {
  overflow:hidden;
}
#p-tb:hover h3,#p-Reference:hover h3{
  text-decoration:underline;
}
.r{
  text-align:right;
}
.imper{
  font-weight:bold;
}
table.distractor,table.distractor caption{
  background:#f9f9f9;
  float:left;
  margin: 1ex;
}
table.distractor{
  border: solid thin #d0d0d0;
}
table.object{
  clear:left;
  margin: 1ex;
}
#mw-panel .portal.first .body ul li {
  text-align: right;
}
div#mw-panel div.portal.first{
  margin-left:0px;
}
div.body div.portal.first ul li a {
  padding-right: 40px;
  display: inline-block;
  color: #3b434e;
}
div#mw-panel div.portal.first div.body ul li a {
  padding-right:25px;
  color: #3b434e;
}
.progressbarbg1 {
  position: absolute;
  right: 0px;
  width: 4.5ex;
  height: 1ex;
  background: black;
  border-radius: 0.7ex;
  border: 0.2ex solid #92A599;
  margin: -1em 0 0 0;
}
.progressbar1 {
  width: 3.93ex;
  height: 0.6ex;
  position: relative;
  top: 0.2ex;
  left: .2ex;
  background: #92A599;
  border-radius: 0.6ex;
  border-width: 0px;
  border-color: #000000;
}

#cog-cont ul{
  position:absolute;
  background-color:white;
  border:solid thin black;
  padding:1em;
  right:1em;
  top:32px;
  list-style:none;
}
#cog-cont ul li{
}
#p-personal{
  right:50px;
}
.tease{
  color:#1d365d;
  font-style:italic;
  cursor:pointer;
  padding: 0.2ex;
}
h1{
 font-family:sans-serif;
}
table.db_ref {
  border-collapse:collapse;
}
.db_ref th{
  text-align:left;
}
.db_ref th,.db_ref td{
  border:solid thin black;
  padding-left:0.6ex;
  padding-right:0.6ex;
}
.db_ref .r{
  text-align:right;
}
div.def,div.ans{
  display:none;
}
span.id {
  font-size: 300%;
  padding-right: 1ex;
}
.qu,.ht {
  border-top: thin solid #ee8301;
  margin-bottom: 9em;
}
h2+.qu,h2+.ht{
  border-top:none;
}

div.setup,div.tidy,div.params{
  display:none;
}
div.res {
  margin-top:1ex;
  background: #dae5d9;
  color: #3b434e;
  border: none;
  padding: 1em;
  border-radius: 0.5ex;
  box-shadow: 1px 1px 3px #3b434e;
  border-style: inset;
  border-width: 1px;
  height: 20em;
  overflow: auto;
  resize:both;
}
div.res.waiting{
  background-image:url(https://sqlzoo.net/design/ajax-loader.gif);
  background-repeat:no-repeat;
  background-position: center center;
}
textarea.sql {
  width: 100%;
  box-shadow: 1px 1px 3px #3b434e;
  border-style: inset;
  border-width: 1px;
  border-radius: 1ex;
  padding: 0.5ex;
  margin-bottom: 0.5ex;
}
button{
  background-image: linear-gradient(to bottom,#337ab7 0,#265a88 100%);
  background-color:#306aa0;
  color:white;
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.3;
  border-radius: 6px;
  border-color: #245580;
  border-width:1px;
  cursor:pointer;
}
.reset {
  display: inline;
  border: solid 1px;
  margin-left: 6em;
  padding: .5ex;
  border-radius: .5ex;
  cursor:pointer;
}
.qcorrect{
  background-image: url(https://sqlzoo.net/design/done9.png);
}
.qincorrect {
  background-image:url(https://sqlzoo.net/design/undone9.png);
}
.qcorrect, .qincorrect {
  width: 3em;
  height: 3em;
  position: absolute;
  margin: 0em 0 0 5em;
  background-size: 3em;
  background-repeat: no-repeat;
  background-position: center;
}
#p-logo>a{
  background-position:center top;
}
table{
  border-collapse:collapse;
}
table.sqlans{
  display:none;
}
td,th {
  border: solid gray 1px;
  padding: .2em .7em;
  vertical-align: top;
}
.showtxt{
  color:blue;
  cursor:pointer;
}
#napier-ad {
  width: 728px;
  height: 90px;
  display: inline-block;
  margin-left: 11em;
  background-image: url(https://sqlzoo.net/design/iidi_leaderboard.gif);
}
/*
 * Allow question and result to be side by side when the screen is big enough
*/
@media (max-width:1000px){
#napier-ad {
  display: none;
}
}

@media (min-width:1000px){
  .zood>div,.zood>div{
    width:46%;
    display:inline-block;
    vertical-align:top;
    margin-top:1ex;
  }
  .zood>div:first-child{
  }
  .zood>div.res,ht>div.res.ht{
    margin-left:1%;
  }
}
@media (max-width: 768px) {
  div#mw-panel{
    display: none;
  }
  #left-navigation {
    left: 0;
  }
  #mw-head-base,
  div#content,
  div#footer {
    margin-left: 0;
  }
  .db_ref{
  }
}

.quiz .q {
  margin-top:4em;
  padding-top: 0.8em;
  padding-bottom: 0.8em;
  border-radius:1em;
}

.quiz .q .d{
  border:blue solid thin;
  margin-top:1em;
  cursor:pointer;
} 
.quiz .q div.d{
  padding:.5em .5em .5em 1em;
}
.quiz .q .d:hover{
  border:black solid thin;
  box-shadow: 0px 0px 5px 1ex rgba(50, 50, 50, 0.75);
}
.quiz .q .d.picked{
  box-shadow: 0ex 0ex 4px 1ex #CFD1BA;
}
.quiz .q .d.picked::before{
  content: '\25CB';
  padding:0.3em;
  background:white;
  border:solid black thin;
  position:absolute;
  text-align:center;
  vertical-align: middle;
  left:-0.9em;
  margin-top:-0.9em;
  width:1em;
  height:1em;
}
.quiz .q .d.picked.mark-correct::before{
  content: '\2713';
  background-color:green;
}
.quiz .q .d.picked.mark-wrong::before{
  content: '\2717';
  background-color:red;
}

.quiz .feedback{
  margin: 1em 0;
  padding:1em;
  border:solid thin black;
  font-size:large;
  box-shadow: .2ex .2ex #CFD1BA;
}
 
td.sign{
vertical-align: middle;
display:none;
}

#indJobContent{padding-bottom: 5px;}
#indJobContent .company_location{font-size: 11px;overflow: hidden;display:block;}
#indJobContent.wide .job{
  display:block;float:left;
  margin-right: 5px;
  width: 180px;
  overflow:hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
#indeed_widget_wrapper{position: relative;font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif;font-size: 13px;font-weight: normal;line-height: 18px;padding: 10px;height: auto;overflow: hidden;}
#indeed_widget_header{font-size:18px; padding-bottom: 5px; }
#indeed_link{position: absolute;top: 1px;right: 5px;clear: both;font-size: 11px; }
#indeed_link a{text-decoration: none;}
#indeed_widget_wrapper{ width: 740px; height: 58px; background: #FFFFFF;}
#indeed_widget_wrapper{ border: 1px solid #DDDDDD; }
#indeed_widget_wrapper, #indeed_link a{ color: #000000;}
#indJobContent, #indeed_search_wrapper{ border-top: 1px solid #DDDDDD; }
#indJobContent a { color: #00c; } 
#indeed_widget_header{ color: #000000; }