#logo-mission {
	max-width: 640px;
	margin-top: 2em;
}

#escg-module:after {
display: block;
content: ' ';
height: 2em;
margin-top: -2em;
background-image: url(https://work-life-campus.sbk.org/wp-content/uploads/2024/08/section_bottom_ESCG_grey.svg);
background-repeat: repeat-x;
}

#escg-module:before {
display: block;
content: ' ';
height: 2em;
margin-bottom: -2em;
background-image: url(https://work-life-campus.sbk.org/wp-content/themes/WLC2022/svg/section_bottom_grey.svg);
background-repeat: repeat-x;
background-position-y: -2px;
}

.page-id-5225 #escg-module {
margin-top: 4em;
margin-bottom: 4em;
}

.page-id-5225 #escg-module:after {
background-image: url(https://work-life-campus.sbk.org/wp-content/themes/WLC2022/svg/escg-border-bottom-white.svg) !important;
background-position-y: 1px;
}

.page-id-5225 #escg-module:before {
background-image: url(https://work-life-campus.sbk.org/wp-content/themes/WLC2022/svg/escg-border-top-white.svg) !important;
}

#content #escg-module .wp-block-group__inner-container {
max-width: 1100px;
}

#messages-modal h2,
#content #team-builder h2,
#content #team-builder h3 {
	color: white !important;
}

#content #escg-module .error {
	max-width: 240px;
	margin: 0 auto;
	padding: 1em 2em;
	border-radius: 1em;
	background: var(--sbk-red);
	color: white;
}

.message {
	margin: 1em auto;
	padding: 0.5em 2em 0.5em 0;
	border-radius: 1em;
	background: rgba(0,0,0,0.6);
	color: white;	
}

#content #escg-module #topButtonWrapper {
	display: block;
	text-align: right;
	margin: -2em 0 1em auto !important;
}

#content #escg-module #messagesToggle {
	display: inline-block !important;
	font-size: 0.9em;
}

#messagesContainer .message {
display: flex;
  align-items: center;	
}

#messages h2 {
	color: white !important;
}

#messagesContainer .message span {
	font-size: 0.8em;
}

#messagesContainer .iconWrapper {
	border-radius: 1em 0 0 1em;
	margin: 0 1em 0 1em;
	width: 2em;
}

#messagesContainer .iconWrapper i {
	font-size: 1.25em
}

/* TABLES */

#content #escg-module table#gameStats {
	border-collapse: unset !important;
}

#content #escg-module table#gameStats td:first-child {
	word-break: none !important;
}

/* SPINNER */

#spinnerOverlay {
	z-index: 999999 !important;
}

#messages-modal {
	z-index: 999998 !important;
}

#spinnerOverlay,
#messages-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;	 
	overflow: auto;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.modal-content {
	margin: 15% auto;
	padding: 1em;
	background-color: #45D9FF66;
	border: 2px solid rgba(255,255,255,0.2);
	border-radius: 1em 0 1em 1em;
	width: 80%;
	max-width: 640px;
	box-shadow: 4px 4px 4px rgba(0,0,0,0.2);
}

.modal-content h2 {
	margin-top: -1.25em;	
}

.close {
	color: var(--sbk-green);
	position: relative;
	left: 100%;
	top: -1.5em;
	font-size: 2em;
	font-weight: bold;
}
.close:hover,
.close:focus {
	color: var(--sbk-red);
	text-decoration: none;
	cursor: pointer;
}
#content #escg-module #gameWrapper {
	max-width: 640px;
	margin: 0 auto;
}

#content #escg-module #intro {
	margin: 2em auto 0 auto;
	padding: 2em !important;
}

#content #escg-module #intro {
	display: flex;
	gap: 1em;
}

#content #escg-module #intro #introText {
	display: block;
	max-width: 66%;
	padding-right: 1em;
}

#content #escg-module #intro #introTip {
	display: block;
	max-width: 34%;
	padding: 0.5em;
	background-color: rgba(255,255,255,0.2);
	border: 2px solid rgba(255,255,255,0.2);
	border-radius: 1em 1em 1em 1em;
	box-shadow: 4px 4px 4px rgba(0,0,0,0.2);	
}

#content #escg-module #intro div ul {
margin: 0 0 0 1em !important;
}

#content #escg-module #intro div ul li {
margin-bottom: 0.25em !important;
}


#content #escg-module #intro div h2,
#content #escg-module #intro div ul,
#content #escg-module #intro div p {
	display: block !important;
}

#content #escg-module #intro div ul,
#content #escg-module #intro div p {
	font-size: 0.9em;
}


#content #escg-module #intro p {
	text-align: justify;
}

#content #escg-module #intro li {
	text-align: left !important;
}


#content #escg-module #userSearch {
	text-align: right !important;
	color: rgba(255,255,255,0.5) !important;
	margin-bottom: 0.5em !important;
}
#content #escg-module #userSearch input[type=text] {
	text-align: center;
	border-radius: 1em;
	padding: 0.25em 1em;
	margin-bottom: 0 !important;
	max-width: 240px;
	font-size: 0.8em;
	background-color: rgba(255,255,255,0.05) !important;
	border: 2px solid rgba(255,255,255,0.2) !important;
	color: var(--sbk-blue-special) !important;
}

#content #escg-module #userSearch input[type=text]:focus {
	border: 2px solid var(--sbk-blue-light) !important;
}

#content #escg-module  #userSearch input[type=text]::placeholder { 
color: rgba(255,255,255,0.3) !important;
}

#content #escg-module p.success,
#content #escg-module td.success,
#content #escg-module i.green {
	color: var(--sbk-green) !important;
}

#content #escg-module td.warning,
#content #escg-module i.red {
	color: var(--sbk-red) !important;
}

#content #escg-module p.warning {
  align-items: center;	
	display: flex;
	margin: 0 0 0 0;
	font-size: 0.9em;
}

#content #escg-module p.warning.white {
	text-align: left;
	color: white;
	padding: 1em;
	margin-top: 1em;
	background-color: #45D9FF66;
	border-radius: 0.5em;
	border: 2px solid rgba(255,255,255,0.2);	
}

#content #escg-module p.warning i {
	font-size: 2em;
	margin-left: 0;
	margin-right: 0.5em;	
}
/*
#spinnerOverlay {
	margin: 0 0 0 0 !important;
	z-index: 9999;
	display: none;
	position: relative;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	background: rgba(0, 0, 0, 0.5);
}
*/
#spinner {
	width: 50px;
	height: 50px;
	border: 5px solid var(--sbk-blue-special);
	border-top: 5px solid var(--sbk-blue);
	border-radius: 50%;
	animation: spin 1s linear infinite;
	position: absolute;
	top: calc(50% - 25px);
	left: calc(50% - 25px);
	transform: translate(-50%, -50%);
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

#stage {
    animation: slideInAnimation ease 1.5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes slideInAnimation {
    0% {
    	transform: translateY(-3000px);			
		}
    100% {
    	transform: translateY(0px);						
	}
}


#stage .wp-block-group__inner-container {
    animation: fadeInAnimation ease 2.5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
    0% {
      opacity: 0;	
		}
    100% {
        opacity: 1;					
	}
}


#team-generator,
#team-wrapper {
text-align: center;
}

#team-generator {
	display: flex;
	border: 1px solid rgba(0,0,0,0,1);
	border-radius: 0 0 1em 1em;
	padding: 2em;
	margin-bottom: 2em;
	background-color: #3868C699;
	box-shadow: 4px 4px 4px rgba(0,0,0,0.2);
	-webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

#team-generator .selector {
	flex-basis: 100%;
}

#team-generator label {
	color: white;
	font-weight: 900;
	text-transform: uppercase;
}

#team-wrapper {
	display: flex;
	min-height: 480px;	
  align-items: center;	
}

#team-wrapper > div {
	flex-basis: 100%;
	padding: 0 0 1em 0;
}

#content #team-wrapper h4 {
font-weight: bold !important;
font-size: 1.2em !important;
margin-bottom: 0.25em !important;
}

#teamInfo,
#teamInvite {
	padding: 2em !important;
	text-align: left;
}

#saved-team #team-wrapper > div {
	flex-basis: 100%;
	padding: 2em;
}

#team-generator button,
#reset-invites-button,
#send-invites-button {
	min-width: 220px;
	margin-right: auto;
	margin-left: auto;	
}

#team-name {
	margin-top: 1em;
	margin-bottom: 0em;	
	font-size: 2.5em;
	font-weight: 700;
	text-transform: uppercase;	
}

#team-wrapper {
	color: white;
	border: 0 solid rgba(0,0,0,0);
	border-radius: 1em 1em 0 0;
	background-color: rgba(0,0,0,0.4); 
	padding-bottom: 1em;
	margin-bottom: -4px;
	box-shadow: 4px 4px 4px rgba(0,0,0,0.2);
	-webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);	
}

#team-wrapper svg {
	max-width: 180px;
}

#member-selector {
	text-align: left;
	background-color: rgba(255,255,255,0.05);
	border: 2px solid rgba(255,255,255,0.2);
	border-radius: 0.5em;
	padding: 1em;
}

#member-selector div {
	background-color: rgba(0,0,0,0.3);
	border-radius: 0.5em;
	padding: 0.25em 0.5em;
	margin-bottom: 0.5em;
}

#member-selector div:hover {
	background-color: rgba(0,0,0,0.6);
	cursor: pointer !important;
}

#member-selector div label:hover,
#member-selector div input {
	cursor: pointer !important;
}

#member-selector input[type=checkbox] {
-webkit-appearance: auto !important;
-moz-appearance: auto !important;
appearance: auto !important;
outline: auto !important;
}

.ColorBox {
	display: inline-block;
	width: 1.25em;
	height: 1.25em;
	margin-bottom: -0.25em;
}

#teamRanking {
	padding: 2em !important;
	max-height: 500px;
	overflow-y: scroll;
}

#teamRanking #gameStats {
	padding: 1em !important;
	margin-bottom: 1em;
}

#teamRanking #gameStats th {
	border-bottom: 1px solid rgba(255,255,255,0.1) !important;
	background-color: rgba(0,0,0,0.15);	
}

#gameStats {
	font-size: 0.9em;
	background-color: #45D9FF11;	
	border-radius: 0.5em;
	border: 2px solid rgba(255,255,255,0.2);
	margin: 0;
}

#gameStats td {
	border-left: 0;
	border-right: 0;
	border-top: 1px solid rgba(255,255,255,0.2);
	border-bottom: 1px solid rgba(255,255,255,0.2);	
	text-align: left;
	background-color: rgba(255,255,255,0.05);
}

#gameStats tr:first-child td {
	border-top: 0;
}

#gameStats tr:last-child td {
	border-bottom: 0;
}

#gameStats td:first-child {
	font-weight: 900;
	text-transform: uppercase;
}

#gameStats tr:first-child td:first-child,
#gameStats tr:last-child td:first-child {
	vertical-align: top;
}

#teamRanking #gameStats tr:first-child td:first-child,
#teamRanking #gameStats tr:last-child td:first-child {
	vertical-align: middle;
}

#teamRanking #gameStats td:first-child {
	background-color: rgba(0,0,0,0.15);
}

#gameStats td:nth-child(even) {
	text-align: right;
	color: var(--sbk-blue-special);
}

#teamRanking #gameStats td figure {
	width: 48px !important;
	margin: 2px -12px -6px 8px !important;
	padding: 0 0 0 0 !important;
}

#gameStats td:nth-child(1) {
	max-width: 120px;
}

#teamRanking #gameStats td:nth-child(2) {
	max-width: 52px;
}

#teamRanking #gameStats td:nth-child(3) {
	text-align: left !important;
	padding-left: 0 !important;
}

#teamRanking td {
	border-bottom: 1px solid rgba(255,255,255,0.1) !important;
	padding: 0.25em 0 0.25em 0 !important;
	text-align: center !important;
	color: var(--sbk-blue-special);
}

#teamRanking tr:nth-child(even) td {
	background-color: #45D9FF11;	
}

#teamRanking tr:nth-child(odd) td {
	background-color: #45D9FF0a;	
}

#teamRanking th:first-child {
	border-radius: 0.5em 0 0 0;
}

#teamRanking th:last-child {
	border-radius: 0 0.5em 0 0;
}

#teamRanking tr:last-child td:first-child {
	border-radius: 0 0 0 0.5em;
}

#teamRanking tr:last-child td:last-child {
	border-radius: 0 0 0.5em 0;
}

#gameStats td.collectables a {
	color: white;
	display: inline-block;
	background-color: rgba(0,0,0,0.6);
	border-radius: 10em;
	padding: 0.25em 0.75em;
	margin: 0 0 0.25em 0 !important;
	text-decoration: none;
	cursor: pointer;
 }

#gameStats td.collectables a:hover {
	color: white;
	background-color: rgba(0,0,0,0.9);
	transition: all ease-in-out 0.35s;	
 }

#gameStats td.collectables a.disabled {
	color: white;
	background-color: rgba(0,0,0,0.0);
	cursor: default;
 }

/* Buttons */

#content #escg-module button, 
#content #escg-module html input[type="button"], 
#content #escg-module input[type="reset"], input[type="submit"], 
#content #escg-module a.button, 
#content #escg-module a.wp-block-button__link:not(.has-background) {
	color: var(--sbk-blue) !important;
	background-image: none !important;
	background-color: var(--sbk-yellow) !important;
}

#content #escg-module button:hover, 
#content #escg-module html input[type="button"]:hover, 
#content #escg-module input[type="reset"]:hover, 
#content #escg-module input[type="submit"]:hover, 
#content #escg-module a.button:hover, 
#content #escg-module button:focus, 
#content #escg-module html input[type="button"]:focus, 
#content #escg-module input[type="reset"]:focus, 
#content #escg-module input[type="submit"]:focus, 
#content #escg-module a.button:focus, a.wp-block-button__link:not(.has-background):active, 
#content #escg-module a.wp-block-button__link:not(.has-background):focus, 
#content #escg-module a.wp-block-button__link:not(.has-background):hover {
	color: var(--sbk-blue) !important;
	background-image: none !important;	
	background-color: var(--sbk-yellow-light) !important;
}

#content #escg-module a i,
#content #escg-module button i {
	margin-left: 0.25em;
	margin-right: 0.25em; 	
}

#content #escg-module button,
#content #escg-module .button,
#content #escg-module .wp-block-button a, 
#content #escg-module input[type=submit] {
	font-weight: bold;
	border: 2px solid var(--sbk-blue) !important;
	border-radius: 100em;
}

#content #escg-module button:focus,
#content #escg-module .button:focus,
#content #escg-module .wp-block-button a:focus, 
#content #escg-module input[type=submit]:focus {
	border: 4px double var(--sbk-blue);
	transition: all ease-in-out 0.35s;	
}

#content #escg-module #startGame:hover,
#content #escg-module button:active,
#content #escg-module .button:active,
#content #escg-module .wp-block-button a:active, 
#content #escg-module input[type=submit]:active {
	background-image: none !important;	
	background: var(--sbk-yellow-dark) !important;
	border: 2px solid var(--sbk-blue) !important;
}

#content #escg-module button.disabled,
#content #escg-module .button.disabled,
#content #escg-module .wp-block-button.disabled a, 
#content #escg-module input[type=submit].disabled,
#content #escg-module button.disabled:hover,
#content #escg-module .button.disabled:hover,
#content #escg-module .wp-block-button.disabled a:hover, 
#content #escg-module input[type=submit].disabled:hover
{
	cursor: not-allowed;
	color: var(--sbk-blue-mid) !important;
	background-image: none !important;		
	background-color: #DDFBFF !important;
	border: 2px solid var(--sbk-blue-light) !important;
}

#content #escg-module #startGame,
#content #escg-module button.success:hover {
	color: white !important;
	background-image: none !important;		
	background-color: var(--sbk-green) !important;
	transition: all ease-in-out 0.35s;
}

#content #escg-module button.warning:hover {
	background-image: none !important;
	background-color: var(--sbk-red) !important;
	color: white;
	transition: all ease-in-out 0.35s;	
}

#memberWrapper {
	background-color: rgba(0,0,0,0.6);
	border-radius: 1em;
	padding: 0.25em 0.5em;
}

#toggle-members {
	color: white;
	text-decoration: none;
	font-size: 0.8em;
	width: 100% !important;
	display: flex;
	padding: 0.5em;
}

#toggle-members span {
	flex-basis: 100%;
}

#toggle-members span:first-child {
flex-basis: 1em;
}


#toggle-members.toggle-open {
	border-bottom: 1px solid rgba(255,255,255, 0.1);
}

#members-list {
	text-align: left;
	margin: 0.5em 0 0 0 !important;
	transform: none;
	font-size: 0.9em;
}

#members-list .leader,
#members-list .member {
	color: var(--sbk-green);
}

#members-list .invitee {
	color: var(--sbk-orange);
}

#gameStats a.revoke-invite, 
#gameStats a.remove-member {
	color: white;
	cursor: pointer;
	text-decoration: none;
}

#gameStats a.revoke-invite:hover,
#gameStats a.remove-member:hover {
	color: var(--sbk-red);
	background: none;
	transition: all ease-in-out 0.35s;	
}

#startGame {
  position: relative;
}

#startGame:before,
#startGame:after {
  position: absolute;
  content: '';
  height: 100%;
  width: 100%;
  top: 0%;
  left: 0%;
  border-radius: 100em;
  box-shadow: 0 0 15px #287ec6;
  animation: glow-grow 2s ease-out infinite;
}
#startGame:after {
  animation-delay: .66s;
}

@keyframes glow-grow {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: scale(1.25, 1.75);
    opacity: 0;
  }
}

/* GAME Menu */

@keyframes bounceIn {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        transform: translateY(20%);
        opacity: 1;
    }
    70% {
        transform: translateY(-10%);
    }
    100% {
        transform: translateY(0);
    }
}

#escgToggel {
    display: none;
    animation: bounceIn 0.5s ease forwards;
}

#escgHelpModal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    text-align: left !important;
    background-color: rgba(0,0,0,0.6);
	-webkit-backdrop-filter: blur(10px);
  	backdrop-filter: blur(10px);		
	color: white;
}

#escgHelpModal .modal-content {
    margin: 15% auto;
    padding: 0 1.5em;
	min-width: 900px !important;
	max-height: 640px;
}

#escgHelpModal .modal-inner-content {
    padding: 2.5em 1em;
	width: 100% !important;
	max-height: 540px;
	overflow-y: scroll;
}

#escgHelpModal .modal-inner-content h2,
#escgHelpModal .modal-inner-content h3,
#escgHelpModal .modal-inner-content h4 {
	color: white;
	font-weight: bold;
}

#escgHelpModal .close {
	color: var(--sbk-green);
	position: relative;
	left: 100%;
	top: -0.75em;
	font-size: 2em;
	font-weight: bold;
}

#escgHelpModal .close:hover,
#escgHelpModal .close:focus {
	color: var(--sbk-red);
	text-decoration: none;
	cursor: pointer;
}

#escgHelpModal .wp-block-table {
	margin-bottom: 2em;
}

#escgHelpModal .wp-block-table.is-style-stripes tbody tr:nth-child(odd),
#escgHelpModal table tbody tr:nth-child(odd) td {
	background: rgba(255,255,255,0.05) !important;
}
#escgHelpModal .wp-block-table.is-style-stripes tbody tr:nth-child(even),
#escgHelpModal table tr:nth-child(even) td {
	background: rgba(255,255,255,0.1) !important;
}

#escgToggle {
	position: absolute;
	width: 960px;
	top: 0;
	left: calc(50% - 480px);
	border: 2px solid #3868C6;
	border-top: none;
	border-radius: 0 0 1em 1em;
	padding: 1em 1.5em;
	margin-bottom: 2em;
	background-color: #3868C688;
	box-shadow: 4px 4px 4px rgba(0,0,0,0.2);
	-webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);	
}

#escgMenuWrapper {
	display: flex;
	align-items: center;
	text-align: center;
	color: white;
}

#escgMenuWrapper div {
	flex-basis: 100%;
}


#escgButtonWrapper {
	max-width: 20%;
}

#content #escg-module #escgHelpButton,
#content #escgButtonWrapper button {
	display: inline-block !important;

}

#content #escg-module #escgHelpButton {
	font-size: 0.9em;
	margin-left: 1em;
	min-width: auto !important;	
	width: auto !important;	
}

#escgTeamWrapper {
	display: flex !important;
	align-items: center;
	text-align: center;
}

#escgTeamWrapper #current-icon {
	display: block;
	width: 80px;
}

#escgTeamWrapper #teamName {
	display: block;
	max-width: 160px;
}


#escgTimerWrapper {
	font-size: 2em;
	font-weight: bold;
}

#escgToggleButtonWrapper {
	text-align: center;
	padding: 0.25em;
	border-radius: 1em 1em;
	border: 2px solid #3868C6;
	background-color: var(--sbk-yellow);
	max-width: 190px;
	margin: 0 auto -2em;
	cursor: pointer;
	transition: all 0.5s;
}

#escgToggleButtonWrapper a {
	text-decoration: none;
	color: var(--sbk-blue);
	cursor: pointer;
	font-size: 0.9em;
	font-weight: bold;
}

#escgToggleButtonWrapper:hover {
	background-color: var(--sbk-blue-mid);
}

#escgToggleButtonWrapper:hover a {
	color: white;
}

/* MOBILE */

@media screen and (max-width: 1100px) {
	#logo-mission {
		margin-bottom: 2.5em;
	}
	
	#content #escg-module #topButtonWrapper {
		display: block;
		text-align: center;
		margin: 0em 0 1em auto !important;
	}

	#content #escg-module #team-wrapper #intro {
		flex-direction: column !important;
		margin: 0 auto 0 auto;
		padding: 0 1.5em 2em !important;
	}
	
	#content #escg-module #team-wrapper #intro div {
		padding-top: 0;
		max-width: 100% !important;
	}
	
	#content #escg-module #intro #introTip {
		padding-top: 0.75em !important;
	}
	
	#content #escg-module #intro #introText {
		padding: 0 0 0 0 !important;
	}
	
	#content #teamName {
		margin-top: 2em;
		margin-bottom: -2em;		
	}
	
	#content #stage .wp-block-group__inner-container {
		margin: 0 0 0 0;
		padding: 0 0 0 0;		
	}
	#content #team-builder.invite #team-wrapper, 
	#content #saved-team #team-wrapper {
		flex-direction: column !important;
	}	
	#content #team-wrapper,
	#content #team-generator {
		flex-direction: column !important;
	}	
	#content #team-wrapper {
		padding-top: 2em;
	}
	
	#content #team-generator button,
		#team-generator .selector {
		margin-top: 2em;
	}
	
#content #team-generator button:first-child,
#content #team-generator .selector:first-child {
		margin-top: 0;
	}
	
#content #team-name, 
	#content #saved-team-name {
	padding-bottom: 0 !important;	
	}	

	#content #gameStats, 
	#content #gameStats tr, 
	#content #gameStats th,
	#content #gameStats td,	
	#content #gameStats td:nth-child(1) {
		display: inline-block !important;
		width: 100% !important;
		max-width: 100% !important;
		text-align: left;
	}	
	#content #teamRanking #gameStats td:nth-child(1) {
		background-color: rgba(0,0,0,0.3);
	}
	
	#content #teamRanking #gameStats td:nth-child(1):after {
		content: ". Platz";
	}
	
	#content #teamRanking #gameStats td:nth-child(2),
	#content #teamRanking #gameStats td:nth-child(3),
	#content #teamRankingTableWrapper #gameStats th,
		#content #teamRankingTableWrapper #gameStats td{
		text-align: center !important;		
	}
	#content #teamRanking #gameStats td figure
	 {
		margin-left: auto !important;
		margin-right: auto !important;		 
	}
	
#escgHelpModal .modal-content,
.modal-content {
	margin: 2em auto;
	padding: 0.5em;
	min-width: 240px !important;
	max-width: calc(100% - 32px) !important;	
	width: 100% !important;
	box-shadow: 4px 4px 4px rgba(0,0,0,0.2);
}	
	
	#messages-modal .modal-content {
	margin-top: 4em !important;		
	}
	
#escgHelpModal .modal-inner-content {
		padding: 1.5em 1em;
		width: 100% !important;
		max-height: 540px;
		overflow-y: scroll;
	}

#escgHelpModal .modal-inner-content h2	{
		margin-top: -1.25em !important;
	}
	
#escgHelpModal .close {
	position: relative;
	left: calc(100% - 16px);
	top: -0.75em;
	font-size: 2em;
	font-weight: bold;
}
#messages-modal .close {
	position: relative;
	left: calc(100% - 16px);
	top: -0.75em;
	font-size: 2em;
	font-weight: bold;
}	
}
