/* 

	Default VCMS CSS template for The Existential Academy
	================================================================
	File name: vcms-layout.css
	Created on: Thursday 21st December 2023
	Author: Little Fire Digital
	Copyright: Little Fire Digital Ltd 2023
	Generated by: Rich
	
	Notice
	================================================================
	This is a base style sheet generated by the system	
	
	Colours:
	================================================================
		Primary Colour: #355252
	Primary Highlight: #456b6b
	Primary Shadow: #2d4646
	Accent Colour: #ffaa00
	Accent Highlight: #ffdd00
	Accent Shadow: #d99100

*/

/* ------------------------------------------------ Text Imports ------------------------------------------------- */




@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,600,600italic|Open+Sans+Condensed:300,300italic,300,300italic&font-display=swap');


	
@font-face {
	font-family: "lfd-icons";
	src:url("/core/fonts/lfd-icons.eot");
	src:url("/core/fonts/lfd-icons.eot?#iefix") format("embedded-opentype"),
		url("/core/fonts/lfd-icons.woff") format("woff"),
		url("/core/fonts/lfd-icons.ttf") format("truetype"),
		url("/core/fonts/lfd-icons.svg#lfd-icons") format("svg");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}	

:root {
	--primary-color: #355252;
	--accent-color: #ffaa00;
}

body {
	font-family: 'Open Sans';
	font-size: 15px;
	font-weight: 300;
		
}

body.modal {
	background-color: #ffffff;
}

body.cke_editable {
	padding: 10px !important;
}

strong {
	font-weight: 600;
}

body .reversed {
	-webkit-font-smoothing: antialiased; /* Make fonts play nicely when reversed in safari */
}

h1,
h2,
h3,
h4 {
		
	font-family: 'Open Sans Condensed';
	font-weight: 300;
	color: #355252;	line-height: normal;
}

.reversed h1,
.reversed h2,
.reversed h3,
.reversed h4,
.reversed h5,
.reversed h6  {
	color: #ffffff;
}

h1 em,
h2 em,
h3 em,
h4 em,
h5 em,
h6 em {
	font-weight: 300;
	}

p:first-child,
h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child
 {
	margin-top: 0;
}

p:last-child,
h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child
 {
	margin-bottom: 0;
}

h6 {
	font-size: 15px;
	font-weight: 600;
}

h5{
	font-size: 1.2em;
	font-weight: 600;
}
h4{
	font-size: 1.4em;
}
h3{
	font-size: 1.7em;
}
h2{
	font-size: 2em;
}
h1{
	font-size: 2.4em;
}

header {
	min-height: 100px;
}

.primary {
	color: #355252;
}

.accent {
	color: #ffaa00;
}


/* ------ Selected style ------ */

::-moz-selection {
    color: #355252;
    background: rgba(255, 170, 0, 0.5);
}
::selection {
    -webkit-font-smoothing: antialiased; /* Make fonts play nicely in safari */
    color: #355252;
    background: rgba(255, 170, 0, 0.5);
}


/* ------ Flexbox Styles ------- */

.flexbox,
.flexbox.clearfix {
	display: flex;	
	flex-flow: row wrap;
}


.flexbox > * {
	flex-grow: 1;
}

.flexbox > *.no_flex {
	flex-grow: 0;
}

.flexbox > .panel > a {
	display: block;
}


.flexbox > .panel > a,
.flexbox > .panel > div {
	height: 100%;
}

.flexbox > .panel > *.padded,
.flexbox > .panel > *.padded_wide,
.flexbox > .panel > *.padded_tall {
	box-sizing: border-box;
}



/* ------ Link Styles ------- */

h1,
h2,
h3,
h4,
p {
	margin-bottom: .5em;
}

a {
	color: #355252;
	text-decoration: none;
	transition: color .3s ease;
}

a:visited {	
	color: #2d4646;
	text-decoration: none;
}

 
h1 a,
h2 a,
h3 a,
h4 a,
h1 a:visited,
h2 a:visited,
h3 a:visited,
h4 a:visited {
	color: #355252;
}


a:hover, 
a:active {
	color: #456b6b;
	text-decoration: underline;
}

.footnote {
	font-size: .8em;
	line-height: 1;
}


.reversed,
.reversed a,
.reversed a:visited {
	color: #fff;
}

.reversed h1 a,
.reversed h2 a,
.reversed h3 a,
.reversed h4 a,
.reversed h5 a,
.reversed h6 a,
.reversed h1 a:visited,
.reversed h2 a:visited,
.reversed h3 a:visited,
.reversed h4 a:visited,
.reversed h5 a:visited,
.reversed h6 a:visited {
	color: rgba( 255, 255, 255, 1 );
}


.reversed a:hover {
	text-decoration: none;
	color: rgba( 255, 255, 255, .7 );
}


.reversed h1 a:hover,
.reversed h2 a:hover,
.reversed h3 a:hover,
.reversed h4 a:hover,
.reversed h5 a:hover,
.reversed h6 a:hover {
	color: rgba( 255, 255, 255, .7 );
}


.reversed a:active {
	color: #ffdd00;
	text-decoration: none;
}

.overflow_hidden {
	overflow: hidden;
}


/* ------------------------------------------------ Flexbox Sticky Footer ------------------------------------------------- */

html, body, #wrapper {
  display: flex;
  margin: 0;
}

body, #wrapper {
	min-height: 100vh;
	width: 100%;
	flex-direction: column;
}

header,
footer {
	flex-shrink: 0;
}

main {
	flex-grow: 1;
	padding-bottom: 30px;
}

#columnLeft,
#document,
#columnRight {
	float: left;
}
/* ------------------------------------------------ Positional Classes ------------------------------------------------- */


.inline-block {
	position: inline-block;
}

.relative {
	position: relative;
}

.absolute {
	position: absolute;
}

.panel_wrapper:after,
.absolute:after {
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
.absolute { 
	display: inline-block; 
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.absolute { display: block; }
/* close commented backslash hack */


/* ============================== Header ============================== */

header {
	background-color: #FFFFFF;
}



header + main {
	padding-top: 20px;
}

/*------------------------------------------------------------ Top Widgets ----------------------------------------- */

.top_widgets {
	position: absolute;
	top: 0.5em;
	right: 1rem;

}

.top_widgets > * {
	float: left;
}

.top_widgets > * + * {
	margin-left: 1rem;
}

/*------------------------------------------------------------ UL icons links ----------------------------------------- */


.ul_icons {
	min-height: 1.2em;
}

.ul_icons li > *,
.ul_icons li > *:visited {
	transition: opacity .5s ease;
	opacity: .5;		
	text-decoration: none;
}

.ul_icons li > *:hover {
	opacity: 1;
}

.ul_icons .icon {
	background-repeat: no-repeat;
	margin-right: .3em;
	display: inline-block;
}

.ul_icons li + li {
	margin-left: .6em;
}



/* ------------------------------------------- Essential Overrides for .reversed in webkit browsers  ----------------------------------------- */

.reversed .icon {
	opacity: .7;	
	background-position-y: bottom;
}

.reversed *:hover > .icon {
	opacity: 1;	
}

/* -------------------------------------------------- Text Colours - Hard Overrides ------------------------------------------- */


.text_primary,
.text_primary h1,
.text_primary h2,
.text_primary h3,
.text_primary h4,
.text_primary h5,
.text_primary h6 {
	color: var(--primary-color);
}

.text_accent,
.text_accent h1,
.text_accent h2,
.text_accent h3,
.text_accent h4,
.text_accent h5,
.text_accent h6 {
	color: var(--accent-color);
}

.text_white,
.text_white h1,
.text_white h2,
.text_white h3,
.text_white h4,
.text_white h5,
.text_white h6 {
	color: #ffffff;
}

.text_light_grey,
.text_light_grey h1,
.text_light_grey h2,
.text_light_grey h3,
.text_light_grey h4,
.text_light_grey h5,
.text_light_grey h6 {
	color: #cccccc;
}

.text_dark_grey,
.text_dark_grey h1,
.text_dark_grey h2,
.text_dark_grey h3,
.text_dark_grey h4,
.text_dark_grey h5,
.text_dark_grey h6 {
	color: #444444;
}

.text_black,
.text_black h1,
.text_black h2,
.text_black h3,
.text_black h4,
.text_black h5,
.text_black h6 {
	color: #000000;
}

/*------------------------------------------------------------ Fill Styles ----------------------------------------- */


.filled {
	background: #355252;
		color: #ffffff;
	
}

.filled_accent {
	background: #ffaa00;
		color: #ffffff;
	}

	
.filled h1,
.filled h2,
.filled h3,
.filled h4,
.filled h5,
.filled h6 {
	color: #ffffff;
}

	
.filled_accent h1,
.filled_accent h2,
.filled_accent h3,
.filled_accent h4,
.filled_accent h5,
.filled_accent h6 {
	color: #ffffff;
}
	

	
	
.filled_black h1,
.filled_black h2,
.filled_black h3,
.filled_black h4,
.filled_black h5,
.filled_black h6 {
	color: #ffffff;
}

.filled_dark_grey h1,
.filled_dark_grey h2,
.filled_dark_grey h3,
.filled_dark_grey h4,
.filled_dark_grey h5,
.filled_dark_grey h6 {
	color: #ffffff;
}
	


.filled_light_grey h1,
.filled_light_grey h2,
.filled_light_grey h3,
.filled_light_grey h4,
.filled_light_grey h5,
.filled_light_grey h6 {
	color: #000000;
}


.filled_black,
.filled_dark_grey {
	background: #000000;
	color: #ffffff;
}

.filled_dark_grey a,
.filled_black a {
	color: #355252;
}

.filled_dark_grey a:visited,
.filled_black a:visited {
	color: #ffffff;
}

.filled_dark_grey {
	background: #333333;
	color: #ffffff;
}

.filled_light_grey {
	background: #cccccc;
}

.filled_white {
	background: #000000;
}

.filled_white {
	background: #000000;
}

.filled.pointer,
.filled_accent.pointer {
	transition: background 2s ease;
}

.filled.pointer:hover {
	background: #456b6b;
}

.filled_accent.pointer:hover {
	background: #ffdd00;
}

.filled_white,
.filled_white:visited {
	background: #fff;
}


.filled_light_grey,
.filled_light_grey:visited {
	background: #eee;
}

.filled_dark_grey,
.filled_dark_grey:visited {
	background: #444;
}




/*------------------------------------------------------------ Border Styles ----------------------------------------- */

[class*=" border "],
[class*="border-"] {
	border-width: 1px;
	border-style: solid;
}

.border {
	border: 1px solid #000000;
}

.border-top {
	border-width: 1px 0 0 0;
}

.border-bottom {
	border-width: 0 0 1px 0;
}

.border-left {
	border-width: 0 0 0 1px;
}

.border-right {
	border-width: 0 1px 0 0;
}

.border-black {	
	border-color: #000000;
}

.border-white {	
	border-color: #ffffff;
}

.border-primary {
	border-color: #355252;
}

.border-accent {
	border-color: #ffaa00;
}

.pointer.border {
	transition: border-color 1s ease, background-color 2s ease;
}

.pointer.border-primary:hover {	
	border-color: #2d4646;
}

.pointer.border-accent:hover {
	border-color: #d99100;
}

.pointer.reversed.border-primary:hover {	
	border-color: #456b6b;
}

.pointer.reversed.border-accent {
	border-color: #ffdd00;
}

/* ------------------------------------ Utility Styles - Generic Appearance and Behaviours ------------------------------------ */



.ul_stripped,
.ul_stripped > li {
	margin: 0;
	padding: 0;
	list-style: none;
	text-indent: 0;
}

.ul_stripped.inline > li {
	display: inline-block;
}

.ul_stripped.scored li {
	padding: 0 .5em;
}

.ul_stripped.scored li:first-child {
	padding-left: 0;
}

.ul_stripped.scored li:last-child {
	padding-right: 0;
}

.ul_stripped.scored li+li {
	border-left: 1px solid rgba( 0, 0, 0, .5 );
}

.reversed .ul_stripped.scored li+li {
	border-left: 1px solid rgba( 255, 255, 255, .5 );
}

.reversed .ul_stripped.scored.scored_primary li+li {
	border-left: 1px solid #355252;
}

.reversed .ul_stripped.scored.scored_accent li+li {
	border-left: 1px solid #ffaa00;
}


.hidden {
	display: none !important;
}

.shadow,
.shadow_parent > * {
	box-shadow: 0 4px 6px rgba( 0, 0, 0, .2 );
}

.text_shadow {
	text-shadow: 0 2px 4px rgba( 0, 0, 0, .2 );
}

.dark_bg {
	background: rgba( 0, 0, 0, .6 );
}

/* -------------------------------------- Basic Alignment and Positioning -------------------------------------- */

.align_right {
	text-align: right;
}

.align_center {
	text-align: center;
}

.align_justify {
	text-align: justify;
}

.align_left {
	text-align: left;
}


/* -------------------------- Menu Overrides ------------------------- */

#m1_wrapper {
	clear: both;
	display: block;
	height: 30px;
	margin: 0 auto;
	width: auto;
}

#m1,
#m1 li,
#m1 ul {
    margin: 0;
    padding: 0;
    text-indent: 0;
    list-style: none;
    height: auto;
}

#m1 {
	height: 30px;
}

#m1 li {
	width: 140px;
	position: relative;
	text-indent: 0;
	float: left;
	margin: 0;
	padding: 0;
	height: 30px;
}

#m1 > li {
	display: inline-block;
	width: auto;
	line-height: 30px;
}

#m1 li ul {
	top: -3000px;
	margin: 0;
	opacity: 0;
	padding: 0;
	transition: opacity 1s ease, padding .5s ease;
	list-style: none;
	position: absolute;
	z-index: 10;
background-color: #FFFFFF;	line-height: normal;
	box-shadow: 0 5px 5px rgba( 0, 0, 0, .25 );
	border-width: 1px;
}

#m1 > li > ul {	
	left: 0;
	padding: 10px 0 0 0;
	border-top-width: 0px;
}

#m1 li.hovered > ul,
#m1 li:hover > ul {
	padding: 0;
	top: 30px;
	opacity: 1;
}

#m1 li li.hovered > ul,
#m1 li li:hover > ul {
	top: 0;
}

#m1 li li {
	height: auto;
	width: 180px;
}

#m1 li li ul {
	left: 180px;
}

#m1 > li > a,
#m1 > li > a:visited {
	padding: 0 1rem;
}

#m1 a,
#m1 a:visited
#m1 a:hover {
	display: inline-block;
	text-decoration: none;
	box-sizing: border-box;
}

#m1 ul a,
#m1 ul a:visited {
	padding: .4rem 1rem;
	width: 100%;
}



/* ---------------------------------------------------------------------------------------------- LH Menu - Blocky Style ------------------------------------------------------------- */

ul.menu2 {
	margin:0;
	padding:0;
	list-style-type:none;
	box-shadow:0 4px 6px rgba( 0, 0, 0, .4 );
}
ul.menu2 a,
ul.menu2 a:visited {
	color:#666;
	text-decoration:none;
	transition: background-color .5 ease, color .5 ease;
}

ul.menu2 > li > a {
	background-color: #fff;
}

ul.menu2  li.selected > a,
ul.menu2  li > a:hover {
	text-decoration:none;
	color:#fff;
	background-color: #355252;
	text-decoration:none;
}
ul.menu2 > li+li {
	border-top:1px solid rgba( 0,0,0, .3 );
}

ul.menu2 > li > ul {
	border-top:1px dotted #ddd;
}

ul.menu2 li li a {
	padding-left:15px;
}

ul.menu2 li li li a {
	padding-left:30px;
}

ul.menu2 li li li li a {
	padding-left:45px;
}

ul.menu2 li li li li li a {
	padding-left:60px;
}

.menu2 > li.open {
	display:block;
}

.menu2 > li.closed ul {
	display:none;
	height:0;
}

.menu2 ul {
	background:#fff;
	margin:0;
	padding:0;
	list-style:none;
	text-indent:0;
}

.menu2 ul li {
	margin:0;
	padding:0;
	text-indent:0;
}

.menu2 li.selected > a {
	font-weight:400;
}

.menu2 a {
	display:block;
	padding:7px;
	margin:0;
}
.menu2 li li li a {
	padding-left:15px;
}
.menu2 li li li li a {
	padding-left:25px;
}
.menu2 li li li li li a {
	font-size:10px;
	padding-left:35px;
}




/* -------------------------------- Padding Styles -------------------------------- */ 


.border_box {
	box-sizing: border-box;
}

.content_box {
	box-sizing: content-box;
}

.panel.margin {
	padding: 0;
	margin: 1rem;
}

.border-box {
	box-sizing: border-box;
}

.ul_stripped > li.padded,
.padded,
.padded_div{	
	padding: 1rem;
}

.ul_stripped > li.padded_left,
.padded_left {
	padding-left: 1rem;
}

.ul_stripped > li.padded_right,
.padded_right {
	padding-right: 1rem;
}

.ul_stripped > li.padded_bottom,
.padded_bottom {
	padding-bottom: 1rem;
}

.ul_stripped > li.padded_top,
.padded_top {
	padding-top: 1rem;
}


.ul_stripped > li.padded_wide,
.padded_wide {	
	padding: 0.5rem 1rem;
}

.padded_wide_double {
	padding: 0.5rem 2rem;

}
	
.padded_wide > .padded_wide {
	padding-top: 0;
	padding-bottom: 0;
}	

.padded_wide > .padded_wide + .padded_wide {
	padding-top: 0.5rem;
}	

.ul_stripped > li.padded_tall,
.padded_tall {	
	padding: 1rem 0.5rem;
}

.ul_stripped > li.padded_tall_only,
.padded_tall_only {	
	padding: 1rem 0;
}

.document ul.ul_stripped.padded_reverse, 
.padded_reverse {
	margin: -1rem;
	box-sizing: content-box;
	overflow: visible;
	width: auto;
}

.document ul.ul_stripped.padded_reverse_wide,
.padded_reverse_wide {	
	margin: -0.5rem -1rem;
}

.document ul.ul_stripped.padded_reverse_tall,
.padded_reverse_tall {	
	margin: -1rem -0.5rem;
}

.panel_wrapper.padded_children > .panel {
	margin-left: -1rem;
	margin-bottom: -1rem;
}

.panel_wrapper > .panel.third_3,
.panel_wrapper > .panel.twelfth_12,
.panel_wrapper > .panel.whole {
	margin-left: 0;
}



/* ----------------------------------------------------- System Icons ----------------------------------------------------- */
.close_x:before,
.vcms_close:before,
.custom_form input[type="checkbox"]:checked + span:before,
.custom_form.select:before,
div.slicknav_menu .slicknav_btn.slicknav_open:before {
	position: absolute;
	font-family: "lfd-icons" !important;
	font-style: normal !important;
	font-weight: normal !important;
	font-variant: normal !important;
	text-transform: none !important;
	text-align: center;
}

.close_x:before,
.vcms_close:before {
	position: relative;
	width: 1.2rem;
	height: 1.2rem;
	font-size: 1.2rem;
	float: right;
	content: "\76";
	margin-right: -1.5rem;
}


/* ----------------------------------------------------- Slicknav ----------------------------------------------------- */

.slicknav_menu {
	display: none;
}

.slicknav_brand {
	cursor: pointer;
}


div.slicknav_menu .slicknav_btn {
	width: 38px;
	height: 26px;
	transition: background-color .5s ease;
}

div.slicknav_menu .slicknav_btn.slicknav_open:before {
	position: absolute;
	content: "\76";
	color: #fff;
	top: .25em;
	left: 0.7em;
}
div.slicknav_menu .slicknav_open .slicknav_icon-bar {
	display: none;
}


div.slicknav_menu.filled {
	background-color: #355252;
}

div.slicknav_menu.filled_accent {
	background-color: #ffaa00;
}

div.slicknav_menu .slicknav_icon-bar {
	box-shadow: none;
}


/* ----------------------------------------------------- By default, hide slicknav ----------------------------------------------------- */


#m1_wrapper {
	display: block;
}

.slicknav_menu {
	display: none;
}

/* ----------------------------------------------------- Slicknav Media Call for iPad Portrait and smaller ----------------------------------------------------- */

@media only screen and (max-width: 768px) {

	#m2,
	#m1_wrapper {
		display: none;
	}

	.slicknav_menu {
		display:block;
		min-height: 54px;
		padding: 5px;		
	}

	header {
		min-height: 0;
	}
}


 
div.slicknav_menu.filled a:hover,
div.slicknav_menu.filled .slicknav_row:hover,
div.slicknav_menu.filled .slicknav_btn {
	background-color: #456b6b;
}

div.slicknav_menu.filled_accent a:hover,
div.slicknav_menu.filled_accent .slicknav_row:hover,
div.slicknav_menu.filled_accent .slicknav_btn {
	background-color: #ffdd00;
}







/* ----------------------------------------------------- Panel System ----------------------------------------------------- */

main .panel_wrapper + .panel_wrapper {
	margin-top: 1rem;
}

.panel_wrapper {
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
	box-sizing: border-box;
}


.panel_wrapper.padded_children {
	width: calc( 100% + 1rem );
	max-width: calc( 1140px + 1rem );
}

.panel_wrapper > .panel {
	float: left;
}

.panel_wrapper.nws > .panel {
	float: none; /* Newer templates rendered with twig need not have whitespace and therfore to not need to be floated */
}

.panel_wrapper > .panel.right {
	float: right;
}
.panel_wrapper > .panel.centre {
	float: none;
	display: block;
	margin: 0 auto;
}

.panel,
ul.ul_stripped li.panel,
.ul_stripped.panel {
	box-sizing: border-box;
	display: inline-block;
	margin: 0;
}

.panel.whole,
.panel.quarter_4,
.panel.twelfth_12 {
	float: none;
	width: 100%;
	min-width: 100%;
}

.no_padding {
	padding: 0;	
}

.panel.half,
.panel.quarter_2,
.panel.twelfth_6 {
	width: 50%;
}

.panel.sixth_2,
.panel.twelfth_4,
.panel.third_1,
.panel.third {
	width: 33.33%;
}



.panel.twelfth_8,
.panel.third_2 {
	width: 66.66%;
}

.panel.quarter,
.panel.quarter_1,
.panel.twelfth_3 {
	width: 25%;
	min-width: 150px;
}

.panel.quarter_3,
.panel.twelfth_9 {
	width: 75%;
}

.panel.fifth,
.panel.fifth_1 {	
	min-width: 100px;
	width: 20%;
}

.panel.fifth_2 {
	width: 40%;
}

.panel.fifth_3 {
	width: 60%;
}

.panel.fifth_4 {
	width: 80%;
}

.panel.twelfth,
.panel.twelfth_1 {
	min-width: 95px;
	width: 8.33%;
}

.panel.sixth,
.panel.twelfth_2 {
	min-width: 140px;
	width: 16.66%;
}

.panel.twelfth_5 {
	width: 41.66%;
}

.panel.twelfth_7 {
	width: 58.33%;
}

.panel.twelfth_10 {
	width: 83.33%;
}

.panel.twelfth_11 {
	width: 91.66%;
}

.panel.prefix_half {
	margin-left: 50%;
}

.panel.prefix_third {
	margin-left: 33.33%;
}

.panel.prefix_quarter {
	margin-left: 25%;
}


figure.document_caption {
	margin: 0;
}


.padded_children > .panel.whole.padded,
.padded_children > .panel.quarter_4.padded,
.padded_children > .panel.twelfth_12.padded {
	float: none;
	padding: 0 0 1rem 0;
}

.padded_children > .panel.half.padded,
.padded_children > .panel.quarter_2.padded,
.padded_children > .panel.twelfth_6.padded {
	width: calc( 50% + 1rem );
}

.padded_children > .panel.sixth_2.padded,
.padded_children > .panel.twelfth_4.padded,
.padded_children > .panel.third_1.padded,
.padded_children > .panel.third.padded {
	width: calc( 33.33% + 1rem );
}

.padded_children > .panel.twelfth_8.padded,
.padded_children > .panel.third_2.padded {
	width: calc( 66.66% + 1rem );
}

.padded_children > .panel.quarter.padded,
.padded_children > .panel.quarter_1.padded,
.padded_children > .panel.twelfth_3.padded {
	width: calc( 25% + 1rem );
	min-width: calc( 150px + 1rem );
}

.padded_children > .panel.quarter_3.padded,
.padded_children > .panel.twelfth_9.padded {
	width: calc( 75% + 1rem );
}

.padded_children > .panel.fifth.padded,
.padded_children > .panel.fifth_1.padded {	
	min-width: calc( 100px + 1rem );
	width: calc( 20% + 1rem );
}

.padded_children > .panel.fifth_2.padded {
	width: calc( 40% + 1rem );
}

.padded_children > .panel.fifth_3.padded {
	width: calc( 60% + 1rem );
}

.padded_children > .panel.fifth_4.padded {
	width: calc( 80% + 1rem );
}

.padded_children > .panel.twelfth.padded,
.padded_children > .panel.twelfth_1.padded {
	min-width: calc( 95px + 1rem );
	width: calc( 8.33% + 1rem );
}

.padded_children > .panel.sixth.padded,
.padded_children > .panel.twelfth_2.padded {
	min-width: calc( 140px + 1rem );
	width: calc( 16.66% + 1rem );
}

.padded_children > .panel.twelfth_5.padded {
	width: calc( 41.66% + 1rem );
}

.padded_children > .panel.twelfth_7.padded {
	width: calc( 58.33% + 1rem );
}

.padded_children > .panel.twelfth_10.padded {
	width: calc( 83.33% + 1rem );
}

.padded_children > .panel.twelfth_11.padded {
	width: calc( 91.66% + 1rem );
}

.padded_children > .panel.prefix_half.padded {
	margin-left: 50%;
}

.padded_children > .panel.prefix_third.padded {
	margin-left: 33.33%;
}

.padded_children > .panel.prefix_quarter.padded {
	margin-left: 25%;
}


figure.document_caption.padded {
	margin: 0;
}



@media only screen and (max-width: 1160px) {

	.panel_wrapper {
		max-width:960px;
	}
	
}

@media only screen and (max-width: 959px) {


	.panel_wrapper {
		max-width:768px;
	}
	
	.panel.sixth {
		min-width: 0;
	}
	
	.panel.sixth_2,
	.panel.twelfth_4,
	.panel.third_1,
	.panel.third,
	#document,
	#columnLeft,
	#columnRight,
	#column_left,
	#column_right,
	.panel.quarter_3,
	.panel.third_2,
	.panel.twelfth_7,
	.panel.twelfth_8,
	.panel.twelfth_9,
	.panel.twelfth_10,
	.panel.twelfth_11 {
		min-width: 100%;
		width: 100%;
	}
	
	.panel.twelfth_2,
	.panel.quarter,
	.panel.twelfth_3 {
		min-width: 50%;
	}
}

@media only screen and (max-width: 768px) {

	.image_div.image_div_letterbox {
		padding: 100% 0 0 0;
	}

	figure.width_15,
	figure.width_30,
	img.width_15, .cke_editable img.width_30,
	img.width_30, .cke_editable img.width_30 {
		min-width: 50%;
	}
	
	.panel_wrapper {
		max-width:768px;
	}
	
	.panel.prefix_half,
	.panel.prefix_third,
	.panel.prefix_quarter {
		margin-left: 0;
	}	

	.panel,
	.panel.twelfth_2,
	.panel.quarter,
	.panel.twelfth_3	
	{
		min-width: 100%;
	}
	
	.panel.fifth,
	.panel.sixth,
	.panel.twelfth_2,
	.panel.twelfth {
		min-width: 50%;
	}
	
	
	.padded_wide,
	.buttonSet,
	.itemRow {
		padding: 0.5rem 1rem;
	}

	.fullwidth.submit_here,
	.fullwidth.update_here {
		box-sizing: border-box;
		width: 100%;
	}

	.fullwidth.submit_here + button,
	.fullwidth.update_here + button {
		margin-top: 2px;
		box-sizing: border-box;
		margin-left: 0;
	}	

	.itemLabel + .cssInput, 
	.cssInput {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	.itemLabel {
		width: 100%;
		text-align: center;
	}

	.buttonSet {
		padding-left: 0;
		text-align: center;
	}
	
	.panel.half,
	.panel.sixth_2,
	.panel.twelfth_2,
	.panel.quarter,
	.panel.twelfth_3 {
		min-width: 100%;
	}



}

@media only screen and (max-width: 480px) {

	figure.width_50,
	figure.width_15,
	figure.width_30,
	img.width_15, .cke_editable img.width_15,
	img.width_50, .cke_editable img.width_50,
	img.width_30, .cke_editable img.width_30 {
		min-width: 100%;
	}
	
	.panel_wrapper {
		max-width: 100%;
	}

	.panel.fifth,
	.panel.fifth_1 {	
		width: 50% ! important;
	}	
	
	.custom_form.select,
	.custom_form.select > span,
	.custom_form.select > span > select {
		width: 100%;
	}
		
}


/* -------- iPhone 6 plus and similar  -------- */
@media only screen and (max-width:736px) {

	.panel.fifth,
	.panel.fifth_1 {	
		max-width: 100% ! important;
	}	

}