/* ul { margin-left: 0.6em; padding-left: 0.6em; margin-top: 1em; margin-bottom: 1em; } p { margin-top: 1em; margin-bottom: 1em; } h1 { text-align: center; font-size: 1.8em; margin: 1em 0 1em 0; } h2 { font-size: 1.5em; margin: 2em 0 1em 0; clear: both; } h3 { margin: 2em 0 1em 0; } h4 { font-size: 1.2em; } #header > div { display: inline-block; } #logo { width: 10em; margin-right: 2em; } #logo img { width: 100%; height: auto; } #logo.center { width: 10em; margin-right: 2em; } #header ul { display: inline-block; list-style-type: none; margin: 0; } #header li { display: inline-block; margin: 0.6em 0.8em 0 0; } #footer { padding: 4em 0 2em 0; } #footer .h-card img { float: left; width: 9em; height: auto; margin-right: 1em; } #footer .h-card .p-name { font-weight: bold; margin-bottom: 0.3em; display: block; } #footer .h-card .p-note { display: block; color: #333; margin-bottom: 1em; } .grid { display: flex; align-items:baseline; flex-grow: 1; flex-wrap: wrap; justify-content: space-evenly; } .grid > div { border: 1px solid #ccc; max-width: 18%; display: block; overflow: hidden; text-align: center; margin:0 1%; margin-bottom: 0.6em; } .grid.large > div { max-width: 48%; } .grid.large img { height: 16em; width: auto; } .grid img { width: 100%; height: auto; } .grid h4 { margin-top: 1em; font-size: 1em; min-height: 3em; } .grid .more { font-size: 0.9em; overflow: hidden; margin:0.3em; } body > svg { display: none; } table { border-collapse: collapse; width: 100%; } td, th { padding: 0.3em; border: 1px solid #777; text-align:left; } th { font-weight: bold; } th, tr:nth-child(even) { background-color: rgba(0, 0, 0, .1); } td img { width: 16em; height: auto; } .signatures { display: flex; justify-content:space-evenly; margin-top: 2em; padding-top: 2em; border-top: 1px dashed #000; align-items:first baseline; } .signatures > div { width: 40%; display: block; text-align: center; } .signatures > div p { padding-top: 0.3em; margin-top: 4em; border-top: 2px dotted #666; } input { border:none; border-bottom: 1px dotted #000; height: 1.4em; background-color: transparent; font-size: 1em } .inactive { opacity: 0.2; filter:grayscale(100%) } dt { font-weight: bold; } dd { margin: 0.6em 0 1em 1em; } .e-summary { font-size: 1.2em; color: #333; width: 80%; margin: 0 auto; } fieldset { padding: 0.3em; margin: 1em 0; border: none; } fieldset legend { font-weight: bold; margin-top: 2em; } fieldset label { display: inline-block; width: 30%; margin-top: 1em; } fieldset input { display: inline-block; width: 60%; } input.date, input.month { width: 4em; } input.year { width: 8em; } textarea { display: block; width: 100%; height: 12em; } label.wide { display: block; width: 100%; } .offer a { display: inline-block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; vertical-align: top; max-width: 50%; } .disciplinelist > * { clear: both; } .disciplinelist > div { margin-bottom: 1em; } .disciplinelist > div img { float:left; width: 20%; margin-right: 2%; margin-bottom: 1em; border: 1px solid #ccc; } .disciplinelist > div details { width: 80%; } .disciplinelist > div details summary { } .disciplinelist > div details .description { font-size: 1.1em; color: #222; } .disciplinelist iframe { aspect-ratio: 16 / 9; width: 100%; height: auto; } .h-feed .h-event { margin-left: 2em; font-size: 0.9em; } .h-feed .h-event h3 { font-size: 1em; margin-bottom: 0; } .h-feed .h-event .p-summary, .h-feed .h-event .offer, .h-feed .h-event .addr { display: none; } @media screen and (max-width: 54em) { body { padding: 1em; } .grid > div { max-width: 48%; } .e-summary { width: 98%; padding: 0 1% 0 1%; } .disciplinelist > div img { width: 45%; margin-right: 5%; } .h-feed .h-event { margin-left: 1em; } } .cbgdivider { background-image: url(/wp-content/uploads/2019/09/yellow_line.png); background-repeat: no-repeat; background-position: top center; margin: 2em auto; text-align: center; padding: 0.6em 0; } h2 { font-size: 2.1em !important; line-height: 1em !important; margin-top: 0 !important; margin-bottom: 1em !important; } summary { font-size: 1.8em !important; line-height: 1em !important; margin-bottom: 1em !important; text-align: center; margin-top: 1em !important; color: #c40000; cursor: pointer; } h3 { font-size: 1.6em !important; font-weight: 400 !important; } .column { margin: 0 !important; } .city-tab { display: block !important; } .city-nav { display: none; visibility: hidden; } p { font-size: 1.2em !important; text-align: left !important; line-height: 1.5em !important; } p > a > img { vertical-align: middle !important; width: 1em !important; height: auto !important; } .doclinks dl { margin-top: 2em !important; font-size: 1.2em !important; text-align: left !important; line-height: 1.5em !important; } .doclinks dt { width: auto !important; margin-right: 0.6em !important; font-weight: normal !important; } .doclinks dt::after { content: '⋅' !important; margin-left: 0.6em !important; } .doclinks dt > a:hover, p a:hover { color: #000 !important; } .doclinks dd { margin-left: 0 !important; } hr { margin: 3em auto !important; border: 0 !important; width: 40% !important; } .cbgdisciplines, .cbgpayments { display: flex; flex-grow: 1; flex-wrap: wrap; justify-content: space-evenly; font-size: 0.9em; align-items: stretch; } .cbgdisciplines > div, .cbgpayments > div { border: 1px solid #ccc; display: block; overflow: hidden; text-align: center; margin:0 1%; margin-bottom: 0.6em; } .cbgdisciplines > div { min-width: 31%; max-width: 31%; } .cbgpayments > div { min-width: 21%; max-width: 21%; padding: 0 0.5%; display: flex; flex-direction: column; justify-content: space-between; } .cbgdisciplines img { width: 100%; height: auto; } .cbgpayments h4, .cbgdisciplines h4 { margin: 1em auto; font-size: 1.3em; color: #000; } .cbgdisciplines h4 a { color: #c40000; } .cbgdisciplines h4 a:hover { color: #000; text-decoration: underline; } .cbgdisciplines p, .cbgpayments p { text-align: center !important; } .cbgpayments h4 { min-height: 2.6em; } .cbgpayments .price { font-size: 2em !important; } @media screen and (max-width: 54em) { .cbgdisciplines > div { min-width: 100%; } .cbgpayments > div { min-width: 96%; padding: 0 2%; } .cbgpayments * { min-height: 1em !important; } #mc_embed_signup input { max-width: 12em !important; } } h1.title { display:none; visibility: hidden; } #Subheader { padding: 2em 0em 4em 0 !important; } #Subheader > div > div { background-image: url(/wp-content/uploads/2019/09/yellow_line.png); background-repeat: no-repeat; background-position:top center; } #Subheader > div > div::after { content: 'Cambridge, UK' !important; display:block; text-align: center; font-size: 2.6em; color: #fff; text-transform: uppercase; font-weight: 500; margin-top:0.6em; padding-bottom: 0.6em; background-image: url(/wp-content/uploads/2019/09/yellow_line.png); background-repeat: no-repeat; background-position:bottom center; } #Footer .textwidget p { text-align: center !important; } #Footer { padding-top: 6em !important; } .vcard .photo { width: 8em; height: auto; float: left; } .vcard > div { margin-left: 9em; } .vcard p { text-align: left; } .vcard .social-school { padding: 0 } .vcard .note { color: #777; } .vcard .name { font-size: 1.3em; } .mcb-section, #Footer img[src="/wp-content/uploads/2020/01/logo.png"], .footer_copy .social, #Footer #text-5, #tab-contact { display: none !important; visibility: hidden !important; } #mc_embed_signup { max-width: 40em; margin: 0 auto; } #mc_embed_signup p { font-size: 0.9em !important; } #mc_embed_signup label { display: block; width: auto; } #mc_embed_signup .input-group input[type=checkbox] { float: left; margin-right: 0.5em; } #mc_embed_signup .input-group { display: inline-block; width: auto; margin: 0.6em 0; } #mc_embed_signup .input-group strong { display: block; margin: 0.6em 0; } .mc-field-group { clear: both; display: flex; justify-content:space-between; align-items:baseline; } .mc-field-group.mergeRow { display: block; } #mc_embed_signup input[type="submit"] { background-color: #fff !important; border: 1px solid #c40000 !important; } */