/* Temporary Announcements and Ads */


/* End Temporary Announcements and Ads */


html
{ background: #fff;
  margin: 0;
  padding: 0;
}

body
{ background: #ffffff;
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif
}

button,
a.button
{ color: white;
  background: #B31B1B;
  border: none;
  padding: 0.5em 1.5em;
  border: solid 1px #B31B1B;
  border-radius: 0.5em;
  text-transform: uppercase;
  cursor: pointer;
}


button.secondary
{ color: #B31B1B;
  background: white;
  border-color: #888;
}

button:disabled,
button.secondary:disabled
{ color: #aaa;
  border: solid 1px #aaa;
  background: #fff;
  cursor: default;
}

a{ color: #B31B1B;
}

a.button
{ text-decoration: none;
}


p.warning
{ border: solid 2px #fea523;
  padding: 0.5em 1em;
  border-radius: 0.7em;
}

p.warning:before
{ content: 'Warning: ';
  text-transform:uppercase;
  color: #B31B1B;
  font-weight: bold;
}

fieldset
{ display: block;
  border: none; 
}

input
{ border: solid 1px #888;
  padding: 0.4em 0.5em;
  font-size: inherit;
  font-family: inherit;
}

input:focus
{ outline: none;
  border-color: #000;
}

a.scrollup
{ display: block;
  position: fixed;
  border: none;
  width: 4em;
  height: 4em;
  border-radius: 2em;
  cursor: pointer;
  text-decoration: none;
  background: #fff;
  z-index: 100;
  text-align: center;
  background: transparent;
  background-image: url('/layout/media/icon_scrollup.svg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

nav ul
{ list-style:none;
}

nav a
{ color: inherit;
  text-decoration: inherit;
}

nav a:hover
{ text-decoration: underline;
  
}

nav#common
{ box-shadow: 0px 7px 12px 0px #ccc;
  background: #fff;
  top: 0;
  position: fixed;
  z-index: 1000;
  color: #000;
  font-weight: bold;
}

nav span.dashboard
{ cursor: pointer;
}

  
nav#subscriber
{ position: fixed;
  display: block;
  margin: 0;
  background:#fff;
  box-shadow: 0px 7px 12px 0px #ccc; 
  z-index: 900;
}

nav#subscriber > ul
{ margin: 0; 
  padding: 0;
  font-size: 0.9em;
  font-weight: bold;
}

nav#subscriber > ul > li
{ display: inline-block; 
  padding: 1.0em 1em;
}

main
{ z-index: 0;  
}

main h2
{ text-transform: uppercase;
  text-align: center;  
}

main > section > p.error
{ margin: 1em 0;
  padding: 4em 0 0 0;
	text-align: center;
}

main > section > h2:first-of-type
{ padding: 1em 0 0 0;
}

main > section > section
{ padding: 0.5em 0 0 0;
}

main h3
{ font-size: 1.3em;
  font-weight: bold;
    margin: 0 0 0.5em 0;
    padding: 0;
}


footer
{ border-top: solid 1px #dedddc;
  background: #fff;  
  background-image: url('/layout/media/bg_huangdi.png');
  background-repeat: no-repeat;
  background-position: 95% center;
  background-size: 10em;
 
}

footer > nav
{ color: #000;
}

footer > p
{ color: #000;
}

section#cookieacceptance
{ position: absolute;
  background: white;
  border-top: solid 1px #aaa;
  border-bottom: solid 1px #aaa;
  padding: 0.5em 1em;
  
}

body > div.dialogbackground,
body > div.WAFL_dialogbackground
{ position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #B31B1B44
}


body > div.WAFL_dialogbackground
{ position: fixed;
  background: #cccccc88;
}


body > div.WAFL_dialogbackground > section.TCMDA_dialog,
body > div.WAFL_dialogbackground > section.TCM_dialog
{ background: white;
  border: solid 1px #888;
  border-radius: 0.7em;
  text-align: center;  
}

body > div.WAFL_dialogbackground > section.TCM_dialog > footer
{ background: none;
  font-size: 0.8em;
  padding: 0.4em 1em;
  text-align: left;
}

body > div.WAFL_dialogbackground > section.TCMDA_dialog  > h1,
body > div.WAFL_dialogbackground > section.TCM_dialog  > h1
{ margin: 0;
  padding: 0.5em 0em 0.5em 3em;
  text-align: left;
  background: transparent;
  border-bottom: solid 1px #dcddde;
  color: #000;
  z-index: 2;
  background-image: url('/layout/media/logo_tcmtests.small.png');
  background-repeat: no-repeat;
  background-size: 1.5em;
  background-position: 0.7em center;
}

body > div.WAFL_dialogbackground > section.TCM_dialog  > h1 > button
{ background: none;
  border: none;
  border-radius: 0;
  background-repeat: no-repeat;
  background-size: contain;
}

body > div.WAFL_dialogbackground > section.TCM_warning
{ border-color: #FEA523;
  padding: 0 0.5em 1em 0.5em
}

body > div.WAFL_dialogbackground > section.TCM_warning > button
{ margin: 0.25em 1em;
	
}

body > div.WAFL_dialogbackground > section.TCM_warning  > h1
{ background-image: url('/layout/media/icon_alert.svg');
  text-align: center;
}

body > div.WAFL_dialogbackground > section.TCM_dialog  > h2
{ font-size: 1.1em;
  text-align: left;
  margin: 0 0 1em 0;
  padding: 0.25em 1em 0.5em 2em;
  border-bottom: solid 1px #dcddde;
  
}

body > div.WAFL_dialogbackground > section.TCMDA_dialog > button,
div.WAFL_dialogbackground > section.TCMDA_dialog > button,
body > div.WAFL_dialogbackground > section.TCM_dialog > button,
div.WAFL_dialogbackground > section.TCM_dialog > button
{ cursor:pointer;
  color: #B31B1B;
  background: #fff;
  border-color: #888;
  font-weight: bold;
  padding: 0.5em 2em;
} 

body > div.WAFL_dialogbackground > section.TCMDA_dialog > button:hover
{ border-color:#861414;

}

body > div.WAFL_dialogbackground > section.TCMDA_dialog > button:focus
{ outline:none;
  border-color: #5a0e0e;
}

div.WAFL_dialogbackground > section.TCMDA_confirmDialog
{ position: absolute;
  top: 2.5em;
  left: 50%;
  width: 50%;
  margin-left: -25%;
  padding: 0 0 1em 0;
}

section > div.WAFL_dialogbackground
{ position: absolute;
  background: #b31b1b88;
}

section > div.WAFL_dialogbackground > section.WAFL_dialog
{ position: absolute;
  border: solid 1px #5a0e0e;
  background: white;
}

section.WAFL_messagebox,
section.WAFL_okcancel
{ left: 50%;
  text-align: center;
  background: #fff;
}

section.WAFL_messagebox > h1,
section.WAFL_okcancel > h1
{ color: #000;
  border-bottom: solid 1px #dcddde;
  text-align: left;
}

section.WAFL_messagebox > p,
section.WAFL_okcancel > p
{ display: block;
  text-align: left;
}

section.WAFL_okcancel > p:last-child
{ text-align:center;
}

section.WAFL_messagebox > button,
section.WAFL_okcancel > p > button
{ cursor:pointer;
  background-color: #ffffff;
  border: solid 0.2em #b31b1b;
  color: #b31b1b;
  font-weight: bold;
}

section.WAFL_messagebox > button:hover,
section.WAFL_okcancel > p > button:hover
{ border-color:#861414;

}

section.WAFL_messagebox > button:focus,
section.WAFL_okcancel > p > button:focus
{ outline:none;
  border-color: #5a0e0e;
}

section.TCMDA_dialog
{ position: absolute;
  background: #fff;
  border: solid 1px #aaa;
}

section.TCMDA_dialog > h1
{ color: #000;
  margin: 0;
  padding: 0.25em 1em;
  font-size: 1.3em;
    
}

section.TCMDA_dialog > form > label
{ display: block;
  
}

section.TCMDA_dialog > form > label > span
{ display: block;
}

section.TCMDA_dialog > footer
{ background: #ccc;
  border-top: solid 1px #333;
  padding: 0.4em 0.5em;
  font-size: 0.8em;
  height: 1.2em;
}

section.centered
{ text-align: center;
}

section.centered > p
{ margin: 0.5em 2em;
}

main h3.success
{ background-image: url('/layout/media/icon-greencheck.png');
  background-repeat: no-repeat;
  background-size: 3em;
  background-position: 50% 1em;
  text-align: center; 
}

main > section > h3:first-of-type.success
{ padding: 5em 0 0 0;
}

main h3.error
{ background-image: url('/layout/media/icon_wrong.svg');
  background-repeat: no-repeat;
  background-size: 3em;
  background-position: 50% 1em;
  text-align: center; 
}

main > section > h3:first-of-type.error
{ padding: 5em 0 0 0;
}

p.success
{ color: #56B324;  
}

span.cartmenuitem 
{ position: relative;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

span.cartmenuitem > div
{ position: absolute;
  font-size: 0.8em;
  width: 1.2em;
  height: 1.2em;
  text-align: center;
  border-radius: 0.6em;
  right: 0;
  bottom: 0;
  background: #B31B1B;
  color: #fff;
}

span.goback
{ display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url('/layout/media/icon_back.svg');
  background-repeat: no-repeat;
  background-size: 0.6em;
  background-position: center 80%;
  margin: 0 0.5em 0 0;	
  cursor: pointer;
}

nav span.subscriber_menu
{ position: relative;
  top: 0.4em;
  margin: 0;
  padding: 0;
}

nav span.subscriber_menu > img
{ margin: -0.7em 0 0 0;
  padding: 0;
}



main > section > table
{ border-collapse: collapse;
  border-radius: 0.7em;
}

main > section > table > thead
{ color: #000;
  background: #dedddc;
  text-align: center;
}

main > section > table > thead > tr > th
{   border: solid 1px #fff;
}


main > section > table > tbody > tr > td
{   border: solid 1px #dedddc;
}

main.subscriber > section > div.banner
{ margin: 0 -2em -2em -2em; 
  text-align: center;
  padding: 0.5em 2em;
  color: #fff;
  background: #0675DA;
}

main.subscriber > section > div.banner > p
{ display: inline;
  margin: 0;
  padding: 0 0 0 2em;
  background-image: url('/layout/media/icon_info_white.svg');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 1.6em;
}

main.subscriber > section > div.banner > p > a
{ color: #fff;
  
}


/* index.php */

main > section#carousel
{ position: relative;
  padding: 0;
  margin: 0;
  list-style: none;
  overflow: hidden;
  text-align: center;
}

main > section#carousel > ul
{ display: inline-block;
  padding: 0;
  list-style: none;
}

main > section#carousel > ul > li
{ position: relative;
  text-align: center;
  margin: 0;
  padding: 0;
}

main > section#carousel > ul >  li > img
{ display: block;
  margin: 0;
  padding: 0;
}

main > section#carousel > ul > li > a.overlay
{ position: absolute;
  display: block;
  background: transparent;
  border-radius: 2em;
}

main > section#carousel > ul > li > a.overlay > img
{ display: block;
  width: 100%;
  
}


main > section#carousel > ul > li > a.overlaybutton
{ position: absolute;
  box-sizing: border-box;
  display: block;
  background: #fff;
  color: #000;
  text-decoration: none;
  width: 25%;
  height: 12%;
  border-radius: 2em;
  border: solid 2px #888;
  cursonr:pointer;
}

main > section#carousel > div
{ position: absolute;
  bottom: 1em;
  width: 100%;
  text-align: center;
}

main > section#carousel > div > button.slidedot
{ display: inline-block;
  margin: 0 1em 0 1em;
  bottom: 1em;
  z-index: 20;
  width: 1em;
  height: 1em;
  padding: 0;
  border: solid 1px #dcddde;
  border-radius: 0.5em;
  background: #fff;
}
      
main > section.callout
{ box-sizing: border-box;
  line-height: 1.6em;
  color: white;
  background: #b31b1b;
  text-align: center;
}

main > section.callout > h2
{ font-size: 1.4em;
  text-transform: uppercase;
}

main > section#subscriptions > h2
{ text-transform: uppercase;
  font-size: 0.9em;
  color: #b31b1b;
  padding: 0.5em 1em;
}

main > section#subscriptions > ul
{ margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
}


main > section#subscriptions > ul a
{ display: inline-block;
  text-decoration: none;
  color: #fff;
  background: #b31b1b;
  text-transform: uppercase;
}

main > section#subscriptions > ul > li
{ background-repeat: no-repeat;
  background-position: top center;
  vertical-align: top;
}

main > section#subscriptions > ul > li:nth-child(1)
{ background-image: url('/layout/media/bg_sub_national.png');
}

main > section#subscriptions > ul > li:nth-child(2)
{ background-image: url('/layout/media/bg_sub_california.png');
}

main > section#subscriptions > ul > li:nth-child(3)
{ background-image: url('/layout/media/bg_sub_college.png');
}

main > section#subscriptions > ul > li > h3
{ background: #b31b1b;
  color: white;
}

main > section#subscriptions > ul > li > p
{ line-height: 1.5em;
  background: #fff;
  margin: 0;
  text-align: left;
}

main > section#free
{ text-align: center;
  margin: 2em 0;
}

main > section#free > ul
{ margin: 0;
  padding: 0;
  width: 100%;
}

main > section#free> ul > li
{ background-repeat: no-repeat;
  background-position: bottom center;
  vertical-align: top;
}

main > section#free> ul > li > a
{ color: #b31b1b;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  background-repeat: no-repeat;
  background-position: center 1.5em;
}

main > section#free > ul > li:nth-child(1) > a
{ background-image: url('/layout/media/img_free_day_pass.png');
}

main > section#free > ul > li:nth-child(2) > a
{ background-image: url('/layout/media/img_free_daily_question.png');
}

main > section#free > ul > li:nth-child(3) > a
{ background-image: url('/layout/media/img_free_board_test.png');
}

main > section#passrates
{ text-align: center;
  background: #f7f7f7;
  margin: 2em 0 0 0;
}

main > section#passrates > h2
{ color: #545454;
  margin: 1em 0 0 0;
  padding: 0.7em 0;
}

main > section#passrates > aside
{ padding: 2em 10em 3em 10em;
  font-size: 0.7em;
  font-style: italic;
}

main > section#passrates > aside > a
{ text-decoration: none;
}

main > section#passrates > ul
{ margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
}

main > section#passrates > ul > li
{ display: inline-block;
}

main > section#passrates > ul > li > svg
{ width: 100%;  
}

main > section#blogad
{ width:100%;
  margin: 0 0 3em 0;
  height: 20em;
  background-color: rgb(241,241,241);
  background-image:url('/layout/media/bg_blog.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right center;
  text-align: center;
}

main > section#blogad > h2
{ width: 70%;
  margin: 0;
  padding: 2em 0 0 0;
  color: #b31b1b;
}

main > section#blogad > p
{ width: 70%;
  margin: 1em 0 0 2em;
}

main > section#blogad > a
{ display: block;
  margin: 2em 0 0 15em;
  width: 10em;
}

main > section#video
{ column-count: 2;
  padding: 0.5em 1em;
}

main > section#video > h2
{ font-size: 1.8em;
}

main > section#video > p
{ line-height: 2em;
}

main > section#video > video
{ width: 25em;
}

main > section#testimonials
{ background: #f7f7f7;
  text-align: center;
  vertical-align: text-bottom;
}

main > section#testimonials > h2
{ color: #b31b1b;
  text-transform: uppercase;
}

main > section#testimonials > button
{ display: inline-block;
  border: none;
  color: transparent;
  background: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
  vertical-align: top;
}

main > section#testimonials > button:focus
{ outline: none;
  box-shadow: none;
}

main > section#testimonials > button:nth-child(3)
{ background-image: url('/layout/media/icon_prev.svg');
}

main > section#testimonials > button:nth-child(5)
{ background-image: url('/layout/media/icon_next.svg');
}

main > section#testimonials > ul
{ display: inline-block;
  list-style: none;
  text-align: left;
  box-sizing: border-box;
}

main > section#testimonials > ul > li
{ background: #444444;
  color: white;
  display: block;
  height: 10em;
}

main > section#testimonials > ul > li > quote
{ display: block;
  font-style: italic;
}

main > section#testimonials > a
{ display: inline-block;
  text-decoration: none;
  color: #b31b1b;
  border: solid 0.3em #b31b1b;
  text-transform: uppercase;
}

main > section#signupinvite
{ padding: 0 0 1em 0;
  background:#b31b1b;
  color: #fff;
  text-align: center;
}

main > section#signupinvite > p
{ font-size: 1.1em;
}

main > section#signupinvite > a
{ display: inline-block;
  text-decoration: none;
  font-size: 0.8em;
  text-transform: uppercase;
  padding: .75em 1.5em;
  background: #fff;
  width: 10em;
  border-radius: 0.7em;
}

section#freeresource > form
{ border: solid 1px  #dedddc;
  border-radius: 0.7em;
  box-shadow: 0px 0.5em 1em rgba(0, 0, 0, 0.1); 
  margin: 1em 0;
  padding: 1em 1em; 
}

section#freeresource > form > label
{ display: block;
  margin: 0.5em 1em;  
}

section#freeresource > form > label > span
{ display: inline-block;
  width: 6em;
  
}

section#freeresource > form > label > input
{ width: 20em;
}

section#freeresource > form > label > textarea
{ display: block;
  margin: 0.2em 0 1em 0;
  padding: 0.5em;
  height: 10em;
  resize: none;
}

/* Login */
section#mfa > form
{ text-align: center;
}

section#mfa > form > button
{ margin: 0.5em 2em;
}

/* Policy HTML */
section.policy
{ padding: 1em;
}

section.policy > h2
{ margin: 0 0 0.5em 0;
  text-align: center;
  font-weight: bold;
}

section.policy aside
{ text-align: right;
  font-size: 0.9em;
}

section.policy > ol
{ margin: 0;
  padding: 0;
  list-style: none;
}

section.policy h3
{ font-size: 1.1em;
  font-weight: bold;
}

section.policy > ol > li
{ counter-increment: step-counter;
  margin: 2em 0 0 0;  
}

section.policy > ol > li::before
{ content: counter(step-counter);
  font-size: 1.1em;
  font-weight: bold;
  margin: 0 1em 0 0;
}
  
section.policy > ol > li > h3
{ display: inline;
}

section.policy dl > dt
{ display: inline;
  text-decoration: underline;
  margin-right: 0.5em;
}

section.policy dl > dd
{ display: inline;
  margin: 0;
  padding: 0;
}  
    
section.policy h4.inline
{ display: inline;
}

section.policy h4.inline + p
{ display: inline;
}

section.policy > ol > li > ul
{ display: block;
  margin: 0 0 1em 0;
  padding: 0 0 0 1.5em;
  list-style: disc; 
}
 
section.policy table
{ border-collapse: collapse;
  margin: 1em 0;
}
  
section.policy table > caption
{ text-align: left;
  font-weight: bold;
}

section.policy table th
{ border: solid 1px #555;
  padding: 0.25em 1em;
  background: #dcddde;
}

section.policy table td
{ border: solid 1px #555;
  padding: 0.1em 0.3em;
}
  
section.policy ul.nobullet > li
{ margin: 1em 0;
}
  
section.policy ul.nobullet h4
{ display: inline;
  font-weight: bold; 
}

/* subscriptions.php */
section#shopannouncement
{ margin: 1em 0;
  background: url('/layout/media/bg_shop_announcement.png');
  text-align:center;
}

section#shopannouncement > div
{ display: inline-block;
  text-align: left;
}

section#shopannouncement > div > h3
{ font-weight: bold;
  font-size: 1.7em;
}

section#shopannouncement > div > p
{ line-height: 1.5em;   
}

section#shopannouncement > div:last-of-type > p
{ background: #ffffff22;
  padding: 0.5em;
  margin: 0.5em;
  border-radius: 0.5em;
}

section#shopannouncement > div > a.round
{ padding: 0.5em 2em;
  color: #000;
  height: 3em;
  background: #fff;
  border: none;
  border-radius: 1.5em;
  text-transform: none;
  text-decoration: none;
}

section#subscriptionpolicies
{ margin: 2em 2em;
  padding: 0.5em 1em;
  border: solid 1px #dcddde;
  box-shadow: 0 0.5em 1em  #00000022;
  border-radius: 0.8em;
}

section#subscriptionpolicies > h3
{ margin: 0.5em 1em;
}

section#subscriptionpolicies > ul
{ margin: 0.5em 1em;
  padding: 0.5em 1em;
  list-style: none;
}

section#subscriptionpolicies > ul > li
{ border-bottom: solid 1px #d9d9d9;
}

section#subscriptionpolicies > ul > li > h4
{ background-repeat: no-repeat;
  background-position: left center;
  background-size: 1em;
  padding-left: 1.5em;  
  cursor: pointer;
}

section#subscriptionpolicies > ul > li.collapsed > h4
{ background-image: url('/layout/media/icon_plus.svg');
}

section#subscriptionpolicies > ul > li.expanded > h4
{ background-image: url('/layout/media/icon_minus.svg');
}
  
section#subscriptionpolicies > ul > li.collapsed > section
{ display: none;
}

/* blog.php */
  
section#freeblog > ul 
{ list-style: none;
  margin: 0;
  padding: 0;
}

section#freeblog > ul > li
{ margin: 0 0 1.5em 0;
}

section#freeblog > ul > li > header
{ font-size: 1.3em;
  font-weight: bold;
  padding: 0 0 0 2em;
  background-repeat: no-repeat;
  background-position: left 0.2em;
  background-size: 1em;
  padding-left: 1.5em;  
  cursor: pointer;
}

section#freeblog > ul > li.collapsed > header
{ background-image: url('/layout/media/icon_plus.svg');
}

section#freeblog > ul > li.expanded > header
{ background-image: url('/layout/media/icon_minus.svg');
}
  
section#freeblog > ul > li > div
{ border: solid 1px  #dedddc;
  border-radius: 0.7em;
  box-shadow: 0px 0.5em 1em rgba(0, 0, 0, 0.1); 
  margin: 1em 0;
  padding: 1em 1em;
}

section#freeblog > ul > li.collapsed > div
{ display: none;
}

section#freeblog > ul > li.expanded > div
{ display: block;
}

/* account.php */

section#myaccount > form
{ display: block;
  margin: 0 0 3em 0;
  padding: 0;
}

section#myaccount > form > button
{ display: block;
  margin: 1em 0 0 0;
}

section#myaccount > form > div
{ margin: 1em 0 1em 0;      
}

section#myaccount > form > div > label
{ display: inline-block;
}

section#myaccount > form > div > label > span
{ display: inline-block;
  width: 7em;
  margin: 0 0 0.5em 0;
}

section#myaccount > form > label
{ display: inline-block;
  margin: 0.5em 3em 0.5em 0; 
  width: 22em;
}

section#myaccount > form > label > span
{ display: inline-block;
  margin: 0 0 0.5em 0;   
}
    
section#myaccount > form > label > input
{ width: 20em;    
}

section#myaccount > form[name=school_info] input[name=graduation_month]
{ width: 11em;
}
  
section#myaccount > form[name=school_info] input[name=graduation_year]
{ width: 7em;
}
  
section#myaccount > form[name=billing_info] > label:nth-of-type(1)
{ width: 48em;
}

section#myaccount > form[name=billing_info] > label:nth-of-type(1) > input
{ width: 45.3em;
}

/* freequestion.php */

div#dailyquestion
{ border: solid 1px #dedddc;
  border-radius: 0.7em;
  box-shadow: 0px 0.5em 1em rgba(0, 0, 0, 0.1); 
}

div#dailyquestion > div
{ border-bottom: solid 1px #dedddc;
  padding: 0.5em 1em 0.25em 1em;
}

div#dailyquestion > ul
{ list-style: none;
  padding: 0;
}

div#dailyquestion > ul >  li
{ margin: 0;
  padding: 0 0 0 3em;
  background-repeat: no-repeat;
  background-position: 1em 0;
  background-size: 1.5em;
  min-height: 1.5em;
}

div#dailyquestion > ul >  li > input
{ float: left;
  margin: 0.3em 0.5em 0 0;
}

div#dailyquestion.answered > ul >  li.selected
{ color: red;
  background-image: url('/layout/media/icon_wrong.svg');
}

div#dailyquestion.answered > ul >  li.correct,
div#dailyquestion.answered > ul >  li.selected.correct
{ color: green;  
  background-image: url('/layout/media/icon_right.svg');
}

div#dailyquestion > aside
{ border-top: solid 1px #dedddc;
  padding: 0.5em 1em 0.25em 1em;   
}

div#dailyquestion.unanswered > aside
{ display: none;
}

div#dailyquestion > button
{ margin: 0 0 1em 2em 
}

/* freedaypass.php */
div#freedaysubscriptions
{ margin: 3em 0 0 0;
}

div#freedaysubscriptions > p
{ text-align: center;
}

div#freedaysubscriptions > ul
{ list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

div#freedaysubscriptions > ul > li 
{ display: inline-block;
  margin: 0;
  padding: 0;
}
  
div#freedaysubscriptions > ul > li > p
{ width: 9.5em;
  border: solid 1px #dedddc;
  border-radius: 0.7em;
  box-shadow: 0px 0.5em 1em rgba(0, 0, 0, 0.1);
  margin: 0 1em;
  font-weight: bold;
  line-height: 1.5em;
  color: #dedddc;
  padding: 0.5em 2em;
}

div#freedaysubscriptions > ul > li:last-of-type > p
{ width: 9em;
  padding: 0.5em 2.5em;
}

div#freedaysubscriptions > ul > li > form
{ margin: 0; 
  padding: 0;
}

div#freedaysubscriptions > ul > li > form > button
{ width: 14em;
  border: solid 1px #dedddc;
  border-radius: 0.7em;
  box-shadow: 0px 0.5em 1em rgba(0, 0, 0, 0.1);
  margin: 0.5em 1em;
  font-weight: bold;
  line-height: 1.7em;
  color: #fff;
  padding: 0.5em 2em;
  font-size: inherit;
  font-weight: bold;
  text-transform: none;
}

/* fivedollartuesday.php */
section#fivedollar
{ margin: 3em 1em 1em 1em;
}


/* freeboardexams.php */
section#freeboardtests > ul
{ display: block;
  list-style: none;
  text-align: center;
  margin: -1em 0 0 0;
  padding: 0;
}

section#freeboardtests > ul > li
{ display: inline-block;
  box-sizing: border-box;
  cursor: pointer;
  padding: 0.5em 1em;
  border: solid 1px transparent;
  border-radius: 0.7em;
}

section#freeboardtests > ul > li:hover
{ border-color: #dedddc;
  box-shadow: 0px 0.5em 1em rgba(0, 0, 0, 0.1); 
}

section#freeboardtests > div#testclientparent
{ position: relative;
  margin: 0 0;
  border: solid 1px #dedddc;
  border-radius: 0.7em;
  min-height: 10em;    
}

section#freeboardtests > div#testclientparent > section > header > button
{ display: none;    
}
  
/* qualitycontrol.php */
section#feedbackformparent
{ position: relative;
  margin: 0;
  padding: 0;
}

section#feedbackformparent > section
{ top: 0;
  padding: 0;
  border: none;
  text-align: center;
}

section.TCM_userFeedback label
{ display: inline-block;
}

section.TCM_userFeedback label > span
{ display: block;
  text-align: left;
}

section.TCM_userFeedback label > textarea
{ width: 100%;
  height: 20em;
  resize: none;
  margin: 0.5em 0 1em 0;
  padding: 1em;
}

/* testtrends.php */

section#testtrends > ul 
{ list-style: none;
  margin: 0.5em;
  padding: 0;
}

section#testtrends > ul > li
{ 
  margin: 0em;
  padding: 0; 
}

section#testtrends > ul > li > h3
{ font-size: 1.2em;
  margin: 1em 0 0.25em 1em;
}

section#testtrends > ul > li > ul 
{ margin: 0 1em 1em 1em;;
  border: solid 1px  #dedddc;
  box-shadow: 0px 0.5em 1em rgba(0, 0, 0, 0.1); 
  border-radius: 0.7em;
  padding: 0em 1em;
  list-style: none;
}

section#testtrends > ul > li > ul > li
{ margin: 1em 0;
  padding: 0; 
}

section#testtrends > ul > li > ul > li.collapsed > div >  h4
{ fond-size: 1em;
  margin: 0;
  padding: 0;
}

section#testtrends > ul > li > ul > li.collapsed > div > h4 > span
{ cursor: pointer;
}

section#testtrends > ul > li > ul > li.collapsed > div > h4 > button
{ display: none;
}

section#testtrends > ul > li > ul > li.collapsed > div > section
{ display: none;
}

section#testtrends > ul > li > ul > li.expanded
{ position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #dedddcaa;
  text-align: center;
}

section#testtrends > ul > li > ul > li.expanded > div
{ position: absolute;
  background: #fff;
  padding: 0.5em 0 0.5em 0em;
  text-align: left;
  border-top: solid 1px  #dedddc;
  border-right: solid 1px  #dedddc;
  border-left: solid 1px  #dedddc;
  border-radius: 0.7em;
}

section#testtrends > ul > li > ul > li.expanded > div > h4
{ position: absolute;
  box-sizing: border-box;
  border-bottom: solid 1px #dedddc;
  font-size: 1.4em;
  margin: 0;
  width: 100%;
  padding: 0.5em 2em 0.5em 0.75em;
  background: #fff;
}

section#testtrends > ul > li > ul > li.expanded > div > h4 > button
{ position: absolute;
  right: 1em;
  top: 0.5em;
  height: 1.8em;
  width: 1.8em;
  border-radius: 1em;
  padding: 0;
  background: white;
  background-image: url('/layout/media/icon_close.svg');
  background-position: 50% 50%;
  border: none;
}

section#testtrends > ul > li > ul > li.expanded > div > section
{ position: absolute;
  top: 3.4em;
  bottom: 0;
  overflow-y: scroll;
  padding: 0.7em 0;
  text-align: left;
  padding: 0.5em 1em;
  line-height: 1.3em;
}

section#testtrends > ul > li > ul > li.expanded > div > section > h2
{ text-align: left;
  font-size: 1.1em;
  margin: 0.5em 1em 0.5em 0;
}



/* Media Specific Styles */

/* Smartphones and other small screens */
@media screen and (max-width: 40em), screen and (max-height: 40em)
{ 
  body
  { position: absolute;
    width: 100%;
    min-width: 20em;
    min-height: 100%;
    padding-bottom: 20em;
    box-sizing: border-box;


//   background-image: url('/layout/tempdesign/commonnav.png');
//   background-image: url('/layout/tempdesign/commonnavtier2.png');
    background-repeat: no-repeat;
    background-size: 100%;
  }	

  a.scrollup
  { bottom: 0;
    right: 0;   
  }
	
  nav#common
  { display: none;    
  }

  nav#commonmobile
  { font-size: 0.9em;
    font-weight: bold;
    box-shadow: 0px 7px 12px 0px #ccc;
    position: fixed;
    width: 100%;
    background: #fff;
    z-index: 1000;
  }

  nav#commonmobile > ul
  { margin: 0;
    padding: 0.8em 2em 0.8em 2em;
  }

  nav#commonmobile > ul > li 
  { display: inline-block;
    margin: 0;
    padding: 1.8em 0.6em 1.5em 0.6em;
  }

  nav#commonmobile > ul > li:first-child
  { padding: 0;
    margin: 0;
    top: 1em;
    left: 1em;
  }

  nav#commonmobile > ul > li:first-child img
  { height: 2.0em;	
  } 

  nav#commonmobile > ul > li:nth-child(2)
  { position: absolute;
    margin: 0;
    padding: 0;
    right: 6em;
    top: 1.0em;
    width: 2.0em;
    height: 2.0em;  
    background-image: url('/layout/media/icon_cart.svg');
    background-size: 2.0em;
    background-repeat: no-repeat;
    background-position: 0 0;
  }

  nav#commonmobile > ul > li:last-child 
  { float: right;
    margin: 0;
    padding: 0;
  }

  nav#commonmobile > ul > li:last-child > span
  { display: block;
    width: 2.0em;
    height: 2.0em;  
    background-image: url('/layout/media/icon_hamburger_default.svg');
    background-size: 2.0em;
    background-repeat: no-repeat;
    background-position: 0 0;
    cursor: pointer;
  }

  nav#commonmobile > ul > li:last-child > ul
  { display: none; 
    font-size: 1.2em;
    position: absolute;
    top: 3em;
    right: 0;
    width: 100%;
    background: #ccc;
    padding: 0 0 0 20%;
    box-sizing: border-box;
    z-index: 100;
  }

  nav#commonmobile > ul > li:last-child.expanded > ul
  { display: block;  
  }

  nav#commonmobile > ul > li:last-child.expanded > span
  { background-image: url('/layout/media/icon_close.svg');
    background-size: 1.2em;
    background-position: 50% 50%;
  }
   
  nav#commonmobile > ul > li > ul > li
  { margin: 0;
    padding: 0.5em 0 0.5em 0;
    background-color:#fff;
  }
   
  nav#commonmobile > ul > li > ul > li > span,
  nav#commonmobile > ul > li > ul > li > a 
  { display: block;
    margin: 0;
    padding: 0em 3em 0em 2em;   
  }
  
  nav#commonmobile > ul > li > ul > li > span.haschildren
  {
    background-image: url('/layout/media/icon_chevron_right.svg');
    background-size: 1.2em;
    background-repeat: no-repeat;
    background-position: 90% 60%;
  }

  nav#commonmobile > ul > li > ul > li:first-child
  { padding: 1em 0 1em 0;
    display: none;
  }

  nav#commonmobile > ul > li > ul > li:first-child > span
  { background-image: url('/layout/media/icon_chevron_left.svg');
    background-size: 1.2em;
    background-repeat: no-repeat;
    background-position: 1em 60%;
    padding: 0em 2em 0em 3em
  }

  nav#commonmobile > ul > li > ul.second_tier > li:first-child
  { display: block;
  }

  nav#commonmobile > ul > li > ul.second_tier > li.hidden
  { display:none;
  }

  nav#commonmobile > ul > li > ul.second_tier > li.selected > span
  { background-image: none;
    font-weight: bold;
  }

  nav#commonmobile > ul > li > ul.second_tier > li.selected > ul
  { display: block;  
    padding: 0.5em 0 0 2em;
    margin: 0;
  }

  nav#commonmobile > ul > li > ul.second_tier > li.selected > ul > li
  { margin: 0;
    padding: 0.5em 0 0.5em 0;
    font-weight:normal;
  }

  nav#commonmobile > ul > li > ul > li:nth-child(6),
  nav#commonmobile > ul > li > ul > li:nth-child(7)
  { text-align: center;
    
  }
  
  nav#commonmobile > ul > li > ul > li > a.primarybutton
  { display: inline-block;
    margin: 0.25em 1em;
    color: white;
    background: #B31B1B;
    padding: 0.5em 1.5em;
    border: solid 1px #B31B1B;
    border-radius: 0.5em;
    width: 5em;
  }

  nav#commonmobile > ul > li > ul > li > a.secondarybutton
  { display: inline-block;
    margin: 0.25em 1em;
    padding: 0.5em 1.5em;
    border-radius: 0.5em;
    color: #B31B1B;
    background: white;
    border: solid 1px #888;
    width: 5em;
  }

  nav#commonmobile > ul > li > ul > li:first-child
  { padding-top: 1em;
  }

  nav#commonmobile > ul > li > ul > li:last-child
  { padding-bottom: 1em;
  }

  nav#commonmobile > ul > li > ul > li > ul
  { display: none;  
  }

  nav#subscriber
  { width: 100%;
    top: 3.4em;
  }
  
  main
  { margin: 4em 0 5em 0;
  }

  main.subscriber
  { margin: 6em 0 0 0;
  }

  main > h2:first-of-type
  { padding: 1em 0 0 0;  
  }

  main > section > h3:first-of-type
  { padding: 1em 0 0 0;  
  }

  section.TCMDA_dialog
  { width: 40em;
    margin-left: -20em;
    top: 20%;
    left: 50%;
  }
 
  section.TCMDA_dialog > form > label
  { margin: 1em 0;
  }
  
  section.TCMDA_dialog > form > label > span
  { padding: 0.5em 0;
  }
  
  footer
  { position: absolute;
    bottom: 0;
    left: 0;
    right: 0;  
    padding: 1em 10em 1em 1em;
    font-size: 0.7em;
    text-align: left;
  }

  footer > nav
  { margin: 1em 1em;
  }

  footer > nav:last-of-type
  { margin-bottom: 2em;
  }

  footer > nav > a
  { display: block;
    padding: 0.3em 1em;
  }

  footer > nav > a:last-child
  { border-right: none;
  }

  footer > nav:last-of-type > h3
  { font-size: inherit;
    margin: 0 0 0.25em 1em;
  }

  footer > p
  { margin: 1em 2em;
  }

  section#cookieacceptance
  { bottom: 1em;
  }

  
  section#cookieacceptance button
  { margin: 0 1em 0 0;
  }	
  
  /* Most pages */
  section#login,
  section#resetpassword,
  section#signup,
  section#dashboard,
  section#myaccount,
  section#freedaypass,
  section#freedailyquestion,
  section#freeboardtests,
  section#freeresource,
  section#freeblog,
  section#checkoutprogress,
  section#mfa
  { margin: 0 1em;  
  }
  
  /* index.php */
   
  main > section#carousel
  { width: 100%;
  }

  main > section#carousel > ul
  { width: 100%;
    margin: 0 0 -0.5em 0;
  }

  main > section#carousel > ul >  li > img
  { width: 100%;
  }

  main > section#carousel > ul > li > a.overlay
  { width: 10em;
    height: 4em;
    border-radius: 2em;
  }
  
  main > section#carousel > ul > li > a.overlaybutton
  { font-size: 1em;
    padding: 0.5em 0 0 0;
  }

  main > section.callout
  { margin: 0;
    padding: 0.5em;
    width: 100%;
  }
  
  main > section#subscriptions > ul
  { margin: 0;
    padding: 0;
  }
  
  main > section#subscriptions > ul > li
  { display: block;
    width: 100%;  
    background-size: 100%;
    vertical-align: top;
    padding: 19em 0 0 0;
    margin: 0 0 6em 0;
  }
  
  main > section#subscriptions > ul > li > h3
  { padding: 0.5em 1em;
    margin: 0;
    font-size: 1em;
  }
  
  main > section#subscriptions > ul > li > p
  { display: block;
    font-size: 0.9em;
    margin: 0 0 -4em 0;
    padding: 1em 2em;
  }
  
  main > section#subscriptions > ul a
  { position: relative; 
    top: 4em;
    padding: 0.75em 1em;
    background: white;
  }
    
  main > section#free > ul > li
  { display: inline-block;
    width: 30%;
    margin: 1%;
  }

  main > section#free > ul > li > a
  { display: block;
    text-align: left;
    font-size: 0.75em;
    padding: 0 0 9em 0;
    background-size: 100%;
  }
      
  main > section#passrates > ul > li
  { width: 28%;
    margin: 2%;
  }
  
  main > section#passrates > ul > li > h3
  { font-size: 0.8em;
  } 
     
  main > section#passrates > aside
  { padding: 2em 3em 3em 3em;
    font-size: 0.9em;
  }
    
  main > section#video
  { column-count: 1;
    padding: 0 1em 0.5em 1em;
    text-align: center;
  }

  main > section#video > h2
  { font-size: 1.8em;
  }

  main > section#video > p
  { line-height: 2em;
  }

  main > section#video > video
  { width: 96%;
    margin: 0em 2%;
  }
   
  main > section#testimonials
  { margin: 2em 0 0 0;
    padding: 0 0 2em 0;
  }

  main > section#testimonials > h2
  { padding: 1em 0 0 0; 
  }

  main > section#testimonials > button
  { margin: 5em 0 0 0;
    width: 10%;
    height: 3em;
  }

  main > section#testimonials > ul
  { width: 75%;
    margin: 0;
    padding: 0 0em 1em 0em;
  }

  main > section#testimonials > ul > li
  { padding: 1em 2em;
    line-height: 2em;
    font-size: 1em;
  }

  main > section#testimonials > a
  { font-size: 0.8em;
    padding: .75em 1.5em;
  }

  section#freeresource > form
  { width: 90%;
  }
 
  section#freeresource > form > label > textarea
  { width: 100%;
  }
 
  /* subscriptions.php */
  section#shopannouncement
  { padding: 1em 1em;
  }

  section#shopannouncement > div
  { width: 90%;
    margin: 0.5em 0.5em;
  }

  /* account.php */

  section#myaccount > form
  { width: 100%;
  }

  section#myaccount > form > div > label > input
  { width: 90%;     
  }

  section#myaccount > form > div > button
  { width: 15em;
    margin: 0.5em 0;
  }
  
  section#myaccount > form[name=school_info] > label:nth-of-type(1)
  { width: 100%;
  }

  section#myaccount > form[name=school_info] > label:nth-of-type(1) > input[type=text]
  { width: 90%;
  }
  
  /* freeboardexams.php */  
  section#freeboardtests > ul > li
  { width: 30%;
    margin: 0.2em 2em;
  }

  /* qualitycontrol.php */
  section.TCM_userFeedback > div
  { width: 90%;  
  }
    
  
  section.TCM_userFeedback > form > label
  { width: 80%;
  }

  section.TCM_userFeedback > div > label
  { width: 20em;
    
  }

  /* testtrends.php */  
  section#testtrends > ul > li > ul > li.expanded > div
  { width: 100%;
    top: 7em;
    bottom: 1em;
  }



}


/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
  Accordion functionality added by author=stackrelease, date=20241014
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* Adding space between accordion items */
.accordion-item {
  margin-bottom: 20px; /* Adds 20px space between each menu item */
}

.accordion-header {
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 1.5em;
  font-weight: bold;
  display: flex;
  flex-direction: column; /* Stack the title and subtext vertically */
  align-items: flex-start; /* Left-aligns both the title and subtext */
  padding: 30px 10px 30px 40px; /* Extra left padding for space between arrow and text */
  background-color: #fff;
  border: 1px solid #eee;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.accordion-header .main-title {
  font-size: 1.0em;
  font-weight: bold;
  color: #000;
}

.accordion-header .accordion-subtext {
  font-size: 0.7em;
  font-weight: normal;
  color: #666;
  margin-top: 5px;
}

.accordion-header:hover {
  background-color: #f1f1f1;
}

.accordion-header::before {
  content: '\25B6'; /* Right arrow unicode */
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: #000;
  transition: transform 0.3s ease, color 0.3s ease;
}

.accordion-item.expanded .accordion-header::before {
  content: '\25BC'; /* Down arrow unicode (▼) when expanded */
  color: #AF4641;
}

.accordion-item.expanded .accordion-header .main-title {
  color: #AF4641; /* Radish color when expanded */
}

.accordion-content {
  display: none;
  padding: 10px;
  border-top: 1px solid #eee;
}

.accordion-item.expanded .accordion-content {
  display: block;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */


/* Tablets and other medium screens */
@media screen and (min-width: 40.01em) and (min-height: 40.01em) and (max-width: 60em)
{
  body
  { position: absolute;
    width: 100%;
    min-height: 100%;
    padding-bottom: 20em;
    box-sizing: border-box;


//   background-image: url('/layout/tempdesign/commonnav.png');
//   background-image: url('/layout/tempdesign/commonnavtier2.png');
    background-repeat: no-repeat;
    background-size: 100%;
  }	

  a.scrollup
  { bottom: 0;
    right: 0;   
  }
  
  nav#common
  { width: 100%;
  }

  nav#common > ul
  { margin: 0;
    padding: 0 5em 0 4.5em;
  }

  nav#common > ul > li 
  { display: inline-block;
    margin: 0;
    padding: 1.8em 0.6em 1.5em 0.6em;
  }

  nav#common > ul > li:first-child
  { position: absolute;
    padding: 0;
    margin: 0;
    top: 1em;
    left: 1em;
  }
  nav#common > ul > li:nth-child(6)
  { position: absolute;
    right: 8em;
  }
  
  nav#common > ul > li:nth-child(7)
  { position: absolute;
    right: 4.5em;
  }

  nav#common > ul > li:first-child img
  { height: 2.7em;	
  } 

  nav#common > ul > li:last-child
  { position: absolute;
    margin: 0;
    padding: 0;
    right: 2em;
    top: 1.3em;
    width: 2.5em;
    height: 2.5em;  
    background-image: url('/layout/media/icon_cart.png');
    background-repeat: no-repeat;
    background-position: 0 0;
  }

  nav#common > ul > li > ul
  { display: none;
    position: absolute;
    margin: 1.5em 0 0 -0.3em;
    padding: 0;
    box-shadow: 0px 10px 10px 0px #ccc;
    background: #fff;
  }

  nav#common > ul > li > ul > li
  { padding: 0.7em 0.8em;
  }

  nav#common > ul > li:hover > ul
  { display: block;
  }
  
  nav#commonmobile
  { display: none;
  }

  nav#subscriber
  { width: 100%;
    top: 4.5em;
  }

  main
  { margin: 5em 0 0 0;
  }
 
  main.subscriber
  { margin: 7.5em 0 0 0;
  }
  
  main > h2:first-of-type
  { padding: 1em 0 0 0;  
  }
  
  main > section > h3:first-of-type
  { padding: 1em 0 0 0;  
  }

  section.TCMDA_dialog
  { width: 40em;
    margin-left: -20em;
    top: 20%;
    left: 50%;
  }
 
  section.TCMDA_dialog > form > label
  { margin: 1em 0;
  }
  
  section.TCMDA_dialog > form > label > span
  { padding: 0.5em 0;
  }
  
  footer
  { position: absolute;
    bottom: 0;
    left: 0;
    right: 0;  
    padding: 1em 11em 1em 1em;
    font-size: 0.7em;
  }

  footer > nav
  { margin: 1em 1em;
  }

  footer > nav:last-of-type
  { margin-bottom: 2em;
  }

  footer > nav > a
  { padding: 0 1em;
    border-right: solid 0.2em #fff;
  }

  footer > nav > a:last-child
  { border-right: none;
  }

  footer > nav:last-of-type > h3
  { display: inline-block;
    font-size: inherit;
    margin: 0 0 0 1em;
  }
  
  footer > p
  { margin: 1em 2em;
  }

  section#cookieacceptance
  { bottom: 1em;
  }

  
  section#cookieacceptance button
  { margin: 0 1em 0 0;
  }	

  /* Most pages */
  section#login,
  section#resetpassword,
  section#signup,
  section#dashboard,
  section#myaccount,
  section#freedaypass,
  section#freedailyquestion,
  section#freeboardtests,
  section#freeresource,
  section#freeblog,
  section#checkoutprogress
  { margin: 0 2em;  
  }
  
  /* index.php */
   
  main > section#carousel
  { width: 100%;
  }

  main > section#carousel > ul
  { width: 100%;
    margin: 0 0 -0.5em 0;
  }

  main > section#carousel > ul >  li > img
  { width: 100%;
  }

  main > section#carousel > ul > li > a.overlay
  { width: 10em;
    height: 4em;
    border-radius: 2em;
  }

  main > section#carousel > ul > li > a.overlaybutton
  { font-size: 1.1em;
    padding: 0.8em 0 0 0;
  }

  main > section.callout
  { margin: 0;
    padding: 0.5em;
    width: 100%;
  }
  
  main > section > table.passrates
  { margin: 0.5em 2.5% 2em 2.5%;
    width: 95%;
    font-size: 0.9em;
  }
  
  main > section > table.passrates > tbody > tr > td
  { text-align: right; 
  }

  main > section > table.passrates > tbody > tr > td:first-child
  { padding: 0.25em;
    white-space: nowrap;
  }
  
  main > section#subscriptions > ul > li
  { display: inline-block;
    width: 30%;
    margin: 1%;
    background-size: 100%;
    padding: 8em 0 0 0;
    vertical-align: top;
  }
  
  main > section#subscriptions > ul > li > h3
  { margin: 0;
    padding: 0.5em 1em;
    font-size: 0.75em;
  }
  
  main > section#subscriptions > ul > li > p
  { display: inline-block;
    font-size: 0.9em;
    padding: 1em 0.25em;
    height: 10em;
  }
  
  main > section#subscriptions > ul a
  { padding: 0.75em 1em;
  }
  
  main > section#free > ul > li
  { display: inline-block;
    width: 30%;
    margin: 1%;
  }

  main > section#free > ul > li > a
  { display: block;
    text-align: left;
    padding: 0 0 9em 0;
    background-size: 100%;
  }
  
  main > section#passrates > ul > li
  { width: 28%;
    margin: 2%;
  }
  
  main > section#passrates > ul > li > h3
  { font-size: 1em;
  } 
     
  main > section#passrates > aside
  { padding: 2em 3em 3em 3em;
    font-size: 0.9em;
  }
  
  main > section#video
  { column-count: 1;
    padding: 0.5em 1em;
  }

  main > section#video > h2
  { font-size: 1.8em;
  }

  main > section#video > p
  { line-height: 2em;
  }

  main > section#video > video
  { width: 80%;
    margin: 0em 10%;
  }
  
  main > section#testimonials
  { margin: 2em 0 0 0;
    padding: 0 0 2em 0;
  }

  main > section#testimonials > h2
  { padding: 1em 0 0 0; 
  }

  main > section#testimonials > button
  { margin: 5em 0 0 0;
    width: 3em;
    height: 3em;
  }

  main > section#testimonials > ul
  { width: 80%;
    margin: 0;
    padding: 0 0em 1em 0em;
  }

  main > section#testimonials > ul > li
  { padding: 1em 2em;
    line-height: 2em;
    font-size: 1em;
  }

  main > section#testimonials > a
  { font-size: 0.8em;
    padding: .75em 1.5em;
  }

  /* subscriptions.php */
  section#shopannouncement
  { padding: 1em 1em;
  }

  section#shopannouncement > div
  { width: 45%;
    margin: 0 0.5em;
  }

  section#freeresource > form
  { width: 30em;
  }

  section#freeresource > form > label > textarea
  { width: 31.5em;
  }

  /* account.php */

  section#myaccount > form
  { width: 100%;
  }
  
  section#myaccount > form > div > label > span
  { width: 6em;
    
  }
  
  section#myaccount > form > div > label > input
  { width: 27em;     
  }

  section#myaccount > form > div > button
  { margin: 0.5em 0 0 7em;
    width: 20em;     
  }
  
  section#myaccount > form[name=school_info] > label:nth-of-type(1)
  { width: 100%;
  }

  section#myaccount > form[name=school_info] > label:nth-of-type(1) > input[type=text]
  { width: 90%;
  }
  
  /* freeboardexams.php */
  section#freeboardtests > ul > li
  { width: 35%;
    margin: 0.2em 2em;
  }

  /* qualitycontrol.php */
  section.TCM_userFeedback > div
  { width: 90%;
  }
  
  section.TCM_userFeedback label
  { width: 80%;
  }
  
  /* testtrends.php */

  section#testtrends > ul > li > ul > li.expanded > div
  { width: 100%;
    top: 7em;
    bottom: 1em;
  }

}

/* Laptops, desktops, and other large screens */
@media screen and (min-width: 60.01em) and (min-height: 40.01em)
{ 
  body
  { position: absolute;
    right: 50%;
    margin-right: -30em;
    width: 60em;
    min-height: 100%;
    padding-bottom: 20em;
    box-sizing: border-box;
    background-repeat: no-repeat;
    background-size: 100%;
    box-shadow: 0px 7px 12px 0px #ccc;
  }

  a.scrollup
  { bottom: 1em;
    left: 50%;
    margin-left: 25em;
    width: 7em;
  }

  body > div.WAFL_dialogbackground > section.TCM_dialog  > h1 > button
  { float: right;
    margin: 0.5em 0 0 0;
    
  }

  section.WAFL_messagebox,
  section.WAFL_okcancel
  { top: 4em;
    border: solid 1px #dcddde;
    border-radius: 0.7em;
    box-shadow: 0px 7px 12px 0px #ccc;
    width: 20em;
    margin-left: -10em;
    text-align: center;
    background: #fff;
    padding: 0 0 1em 0;
  }

  section.WAFL_messagebox > h1,
  section.WAFL_okcancel > h1
  { color: #000;
    margin: 0;
    padding: 0.3em 1em;
    border-bottom: solid 1px #dcddde;
    text-align: left;
  }

  section.WAFL_messagebox > p,
  section.WAFL_okcancel > p
  { text-align: center;
  }
  
  nav#common
  { width: 60em;
  }

  nav#common > ul
  {  font-size: 0.9em;
    font-weight: bold;
     margin: 0;
    padding: 0 5em 0 4.5em;
  }

  nav#common > ul > li 
  { display: inline-block;
    margin: 0;
    padding: 1.8em 1.3em 1.5em 1.3em;
  }

  nav#common > ul > li:first-child
  { position: absolute;
    padding: 0;
    margin: 0;
    top: 1em;
    left: 1em;
  }

  nav#common > ul > li:nth-child(6)
  { padding-left: 14em;
    
  }

  nav#common > ul > li:first-child img
  { height: 2.7em;	
  } 

  nav#common > ul > li:last-child
  { position: absolute;
    margin: 0;
    padding: 0;
    right: 2em;
    top: 1.5em;
    width: 1.7em;
    height: 1.7em;  
    background-image: url('/layout/media/icon_cart.png');
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: contain;
  }

  nav#common > ul > li:last-child > span.items
  { display: block;
    position: absolute;
    font-size: 0.6em;
    border: solid #400 1px;
    background: red;
    width: 1.2em;
    height: 1.2em;
    border-radius: 0.6em;
    color: white;
    padding: 0;
    text-align: center;
    right: 0;
    bottom: 0;
  }

  nav#common > ul > li > ul
  { display: none;
    position: absolute;
    margin: 1.5em 0 0 -0.3em;
    padding: 0;
    box-shadow: 0px 10px 10px 0px #ccc;
    background: #fff;
  }

  nav#common > ul > li > ul > li
  { padding: 0.7em 0.8em;
  }

  nav#common > ul > li:hover > ul
  { display: block;
  }
  
  nav#commonmobile
  { display: none;
  }
  
  nav#subscriber
  { width: 60em;
    top: 4em;
  }

  main
  { margin: 4.5em 0 0 0;
  }
  
  main.subscriber
  { margin: 7.5em 0 0 0;
  }
 
  main > div
  { margin: 0 2em;
  }

  main > h2:first-of-type
  { padding: 1em 0 0 0;  
  }
  
  main > section > h3:first-of-type
  { padding: 1em 0 0 0;  
  }

  body > div.WAFL_dialogbackground > section.TCMDA_dialog,
  body > div.WAFL_dialogbackground > section.TCM_dialog
  { left: 50%;
    top: 15%;
    width: 30em;
    margin-left: -15em;
  } 

  body > div.WAFL_dialogbackground > section.TCM_dialog.TCM_confirmation
  { left: 50%;
    top: 20%;
    width: 30em;
    margin-left: -15em;
  }

  body > div.WAFL_dialogbackground > section.TCM_dialog.TCM_renewsub
  {
    
  }

  body > div.WAFL_dialogbackground > section.TCM_dialog.TCM_confirmation > div
  { padding: 0 1em;
  }

  body > div.WAFL_dialogbackground > section.TCM_dialog.TCM_confirmation > div > aside
  { font-style: italic;
    font-size: 0.9em;
  }

  body > div.WAFL_dialogbackground > section.TCM_dialog.TCM_confirmation > div > button
  { margin: 2em 2em 1em 2em;
    text-transform: none;
    width: 10em;
  }

  section.TCMDA_dialog
  { width: 40em;
    margin-left: -20em;
    top: 20%;
    left: 50%;
  }
 
  section.TCMDA_dialog > form > label
  { margin: 1em 0;
  }
  
  section.TCMDA_dialog > form > label > span
  { padding: 0.5em 0;
  }
  
  footer
  { position: absolute;
    bottom: 0;
    left: 0;
    right: 0;  
    padding: 1em 10em 1em 1em;
    font-size: 0.7em;
  }

  footer > nav
  { margin: 1em 1em;
  }

  footer > nav:last-of-type
  { margin-bottom: 2em;
  }

  footer > nav:last-of-type > h3
  { display: inline-block;
    font-size: inherit;
    margin: 0 0 0 1em;
  }

  footer > nav > a
  { padding: 0 1em;
    border-right: solid 0.2em #fff;
  }

  footer > nav > a:last-child
  { border-right: none;
  }

  footer > p
  { margin: 1em 2em;
  }

  /* Most pages */
  section#login,
  section#resetpassword,
  section#signup,
  section#dashboard,
  section#myaccount,
  section#freedaypass,
  section#freedailyquestion,
  section#freeboardtests,
  section#freeresource,
  section#freeblog,
  section#checkoutprogress
  { margin: 0 2em;  
  }


  /* index.php */
  main > section#carousel
  { width: 100%;
  }

  main > section#carousel > ul
  { width: 56em;
    margin: 0 0 -0.5em 0;
  }

  main > section#carousel > ul >  li > img
  { width: 100%;
  }

  main > section#carousel > ul > li > a.overlay
  { width: 10em;
    height: 4em;
    border-radius: 2em;
  }
  
  main > section#carousel > ul > li > a.overlaybutton
  { font-size: 1.2em;
    padding: 0.8em 0 0 0;
  }
  
  main > section.callout
  { margin: 0 2em;
    padding: 0.5em;
    width: 56em;
    border-radius: 0 0 0.7em 0.7em;
  }
  
  main > section#subscriptions > ul > li
  { display: inline-block;
    width: 30%;
    margin: 1%;
    background-size: 100%;
    padding: 10em 0 0 0;
    vertical-align: top;
  }
  
  main > section#subscriptions > ul > li > p
  { display: inline-block;
    padding: 1em 0.25em;
    height: 8em;
  }
  
  main > section#subscriptions > ul > li > h3
  { margin: 0;
    padding: 0.5em 0.5em;
    font-size: 1em;
  }
  
  main > section#subscriptions > ul a
  { padding: 0.5em 1em;
    border-radius: 0.7em;
  }
  
  main > section#free > ul > li
  { display: inline-block;
    width: 30%;
    margin: 1%;
  }

  main > section#free > ul > li > a
  { display: block;
    text-align: center;
    padding: 0 0 12.5em 0;
    background-size: 100%;
  }
  
  main > section#passrates > ul > li
  { width: 15%;
    margin: 2%;
  }
  
  main > section#passrates > ul > li > h3
  { font-size: 0.8em;
  } 
  
  main > section#passrates > aside
  { padding: 2em 10em 3em 10em;
    font-size: 0.7em;
  }
  
  main > section#video
  { column-count: 2;
    padding: 0.5em 1em;
  }

  main > section#video > h2
  { font-size: 1.2em;
    text-transform: none;
    text-align: left;
  }

  main > section#video > p
  { line-height: 2em;
  }

  main > section#video > video
  { width: 25em;
  }
  
  main > section#testimonials
  { margin: 2em 2em 0 2em;
    padding: 0 0 2em 0;
    border-radius: 0.7em 0.7em 0 0;
  }

  main > section#testimonials > h2
  { padding: 1em 0 0 0; 
  }

  main > section#testimonials > button
  { margin: 5em 0 0 0;
    width: 5em;
    height: 5em;
  }

  main > section#testimonials > ul
  { width: 80%;
    margin: 0;
    padding: 0 8em 1em 8em;
  }

  main > section#testimonials > ul > li
  { padding: 1em 2em;
    line-height: 2em;
    font-size: 1em;
  }

  main > section#testimonials > a
  { font-size: 0.8em;
    padding: .75em 1.5em;
  }
  
  main > section#signupinvite
  { position: relative;
    margin: 0 2em;
    border-radius: 0 0 0.7em 0.7em;
    
  }
  
  main > section#signupinvite > h2
  { font-size: 1.5em;
    margin: 0;
    padding: 1em 0 0 0;
  }

  section#cookieacceptance
  { bottom: 1em;
  }
  
  section#cookieacceptance button
  { margin: 0 1em 0 0;
  }

  section#freeresource > form
  { width: 30em;
  }
  
  section#freeresource > form > label > textarea
  { width: 31.5em;
  }
  
  
  /* subscriptions.php */
  section#shopannouncement
  { padding: 1em 7em;
  }

  section#shopannouncement > div
  { width: 20em;
    margin: 0 0.5em;
  }

  /* account.php */
  section#myaccount > form
  { width: 60em;
  }
  
  section#myaccount > form > div > label > input
  { width: 20em;     
  }

  section#myaccount > form > div > button
  { margin: 0 0 0 2em;
    width: 14em;     
  }

  section#myaccount > form[name=school_info] > label:nth-of-type(1)
  { width: 48em;
  }

  section#myaccount > form[name=school_info] > label:nth-of-type(1) > input[type=text]
  { width: 45.3em;
  }

  /* freeboardexams.php */  
  section#freeboardtests > ul > li
  { width: 7em;
    margin: 1em 1em;
  }


  /* generalfaq.php */
  html 
  { scroll-padding-top: 8em; 
  }
  
  section#faq
  { margin: 0 2em;  
  } 
  
  ol.questionlist > li
  { padding: 0.25em 0 0.25em 1em;   
  }

  ol.answerlist > li::marker,
  ol.answerlist > li > h3
  { font-size: 1.2em;
    font-weight: bold;  
  }
    
  ol.answerlist > li > h3
  { padding: 0 0 0 1em; 
    margin: 3em 0 0 0;
  }

  ol.answerlist > li > p
  { text-align: justify;
    line-height: 1.4em;
    margin: 1em 2em 0 0
  }
  
  ol.answerlist > li > ol
  { margin: 0;
    padding: 0 0 0 2em;   
  }

  ol.answerlist > li > ol > li
  { text-align: justify;
    line-height: 1.4em;
    padding: 0 0 0 1em;
    margin: 0.5em 2em 0.5em 0
  }
  
  
  ol.answerlist > li > dl
  { text-align: justify;
    line-height: 1.4em;
    margin: 1em 2em 0 0
  }
  
  ol.answerlist > li  dt
  { float: left;
    padding: 0 1em 0 0;
    font-weight: bold;
  }

  ol.answerlist > li  dd
  { margin-bottom: 0.5em;
    
  }



  section > div.centeredcontrols
  { text-align: center;
    margin-bottom: 1em;
  }

  section > div.centeredcontrols > a.button
  { display: inline-block;
    margin: 0 2em;  
  }

  /* qualitycontrol.php */
  section.TCM_userFeedback > div
  { width: 50em;  
  }

  section.TCM_userFeedback label
  { width: 40em;
  }

  /* passrates.php */
  main > section > table.passrates
  { margin: 0.5em 0 0 0;
    width: 55em;
  }

  main > section > table > thead > tr > th
  { padding: 0.25em 1em;
  }
  
  main > section > table > tbody > tr > td
  { padding: 0.25em 1em;
  }
  
  main > section > table.passrates > tbody > tr > td
  { text-align: right; 
  }
  
  /* testtrends.php */
  

  section#testtrends > ul > li > ul > li.expanded > div
  { width: 60em;
    left: 50%;
    margin-left: -30em;
    top: 7em;
    bottom: 1em;
  }

  
}
	    
  }
  
  main > section#signupinvite > h2
  { font-size: 1.5em;
    margin: 0;
    padding: 1em 0 0 0;
  }

  section#cookieacceptance
  { bottom: 1em;
  }
  
  section#cookieacceptance button
  { margin: 0 1em 0 0;
  }

  section#freeresource > form
  { width: 30em;
  }
  
  section#freeresource > form > label > textarea
  { width: 31.5em;
  }
  
  
  /* subscriptions.php */
  section#shopannouncement
  { padding: 1em 7em;
  }

  section#shopannouncement > div
  { width: 20em;
    margin: 0 0.5em;
  }

  /* account.php */
  section#myaccount > form
  { width: 60em;
  }
  
  section#myaccount > form > div > label > input
  { width: 20em;     
  }

  section#myaccount > form > div > button
  { margin: 0 0 0 2em;
    width: 14em;     
  }

  section#myaccount > form[name=school_info] > label:nth-of-type(1)
  { width: 48em;
  }

  section#myaccount > form[name=school_info] > label:nth-of-type(1) > input[type=text]
  { width: 45.3em;
  }

  /* freeboardexams.php */  
  section#freeboardtests > ul > li
  { width: 7em;
    margin: 1em 1em;
  }


  /* generalfaq.php */
  html 
  { scroll-padding-top: 8em; 
  }
  
  section#faq
  { margin: 0 2em;  
  } 
  
  ol.questionlist > li
  { padding: 0.25em 0 0.25em 1em;   
  }

  ol.answerlist > li::marker,
  ol.answerlist > li > h3
  { font-size: 1.2em;
    font-weight: bold;  
  }
    
  ol.answerlist > li > h3
  { padding: 0 0 0 1em; 
    margin: 3em 0 0 0;
  }

  ol.answerlist > li > p
  { text-align: justify;
    line-height: 1.4em;
    margin: 1em 2em 0 0
  }
  
  ol.answerlist > li > ol
  { margin: 0;
    padding: 0 0 0 2em;   
  }

  ol.answerlist > li > ol > li
  { text-align: justify;
    line-height: 1.4em;
    padding: 0 0 0 1em;
    margin: 0.5em 2em 0.5em 0
  }
  
  
  ol.answerlist > li > dl
  { text-align: justify;
    line-height: 1.4em;
    margin: 1em 2em 0 0
  }
  
  ol.answerlist > li  dt
  { float: left;
    padding: 0 1em 0 0;
    font-weight: bold;
  }

  ol.answerlist > li  dd
  { margin-bottom: 0.5em;
    
  }



  section > div.centeredcontrols
  { text-align: center;
    margin-bottom: 1em;
  }

  section > div.centeredcontrols > a.button
  { display: inline-block;
    margin: 0 2em;  
  }

  /* qualitycontrol.php */
  section.TCM_userFeedback > div
  { width: 50em;  
  }

  section.TCM_userFeedback label
  { width: 40em;
  }

  /* passrates.php */
  main > section > table.passrates
  { margin: 0.5em 0 0 0;
    width: 55em;
  }

  main > section > table > thead > tr > th
  { padding: 0.25em 1em;
  }
  
  main > section > table > tbody > tr > td
  { padding: 0.25em 1em;
  }
  
  main > section > table.passrates > tbody > tr > td
  { text-align: right; 
  }
  
  /* testtrends.php */
  

  section#testtrends > ul > li > ul > li.expanded > div
  { width: 60em;
    left: 50%;
    margin-left: -30em;
    top: 7em;
    bottom: 1em;
  }

  
}
	