/* Colors:
 * Greens (from light to dark): #f4f7ee, #e5eed9, #d5e1c4
 */
html, body {
	margin: 0 auto;
}
body {
	width: 800px;
	min-width: 792px;
	background-color: #fff;
	font-family: 'Martel', 'Open Sans Regular', sans-serif;
	font-size: 14px;
	font-weight: normal;
	margin-top: 10px;
	margin-bottom: 10px;
}

h1, h2 {
	font-size: 1.6em;
	color: #942790;
}

h3 {
	font-size: 1.1em;
	color: #333;
}

h4 {
	font-size: 1em;
	color: #333;
}

h5 {
	font-size: .8em;
	color: #333;
}

.contact {
	font-family: 'Open Sans Condensed Bold', Arial, sans-serif;
	color: #942790;
}

.imgOpaque {
    opacity: 0.5;
    filter: alpha(opacity=50);
}

.campusTitle {
	font-size: 1.2em;
	font-weight: bold;
}

.smallText {
	font-size: .8em;
}

.underline {
	text-decoration: underline;
}

.purple {
	color: #942790;
}

.updated {
	clear: both;
	padding-top: 20px;
	text-align: center;
	font-size: .75em;
}

.logo {
	padding-top:10%;	
}

/* CONTAINER - MAIN */
#container {
	background-color: #fff;
	border: 2px solid #d5e1c4;
	margin: 0px auto;
}

/* HEADER */
#header {
	height: 120px;
	background: #fff url('images/banner-hmms.jpg') left no-repeat;
	border-bottom: 1px solid #d5e1c4;
}

#contact {
	float: right;
	padding: 10px;
	font-family: 'Open Sans Condensed Bold', Arial, sans-serif;
	text-align: right;
}

#contact .callus {
	color:#942790;
	font-size: 2em;
}

/* NAVMENU STYLE */
.navigation {
	clear: both;
	margin-top: 4px;
	margin-bottom: 4px;
	height: 38px;
	text-align: center;
	background: #f4f7ee;
}

ul#navmenu,ul#navmenu ul {
	margin: 0;
	list-style: none;
	padding: 0;
	background-color: #f4f7ee;
	border-width: 1px;
	border-style: solid;
	border-color: #f4f7ee;
}

ul#navmenu ul {
	display: none;
	position: absolute;
	left: 0;
	top: 100%;
	background-color: #f4f7ee;
	border-color: #e5eed9;
	padding: 6px;
}

ul#navmenu li:hover>* {
	display: block;
}

ul#navmenu li {
	position: relative;
	display: block;
	white-space: nowrap;
	font-size: 0;
	float: left;
}

ul#navmenu li:hover {
	z-index: 1;
}

ul#navmenu {
	font-size: 0;
	z-index: 999;
	position: relative;
	display: inline-block;
	zoom: 1;
	padding: 0;
}

* html ul#navmenu li a {
	display: inline-block;
}

ul#navmenu>li {
	margin: 0;
}

ul#navmenu a:active, ul#navmenu a:focus {
	outline-style: none;
}

ul#navmenu a {
	display: block;
	vertical-align: middle;
	text-align: left;
	text-decoration: none;
	font-size: 14px;
	font-family: 'Open Sans Condensed Bold', Arial, sans-serif;
	color: #942790;
	text-shadow: #FFF 0 0 1px;
	cursor: pointer;
	padding: 10px;
	background-color: #f4f7ee;
	background-repeat: repeat;
	background-position: 0 0;
	border-width: 0 0 0 1px;
	border-style: solid;
	border-color: #f4f7ee;
}

ul#navmenu ul li {
	float: none;
}

ul#navmenu ul a {
	text-align: left;
	padding: 4px;
	background-color: #f4f7ee;
	background-image: none;
	border-width: 0;
	font-size: 14px;
	font-family: 'Open Sans Condensed Bold', Arial, sans-serif;
	color: #942790;
	text-decoration: none;
}

ul#navmenu li:hover>a,ul#navmenu li a.pressed {
	background-color: #f4f7ee;
	border-color: #e5eed9;
	border-style: solid;
	color: #942790;
	background-position: 0 100px;
}

ul#navmenu span {
	display: block;
	overflow: visible;
	background-position: right center;
	background-repeat: no-repeat;
	padding-right: 0px;
}

ul#navmenu > li.switch {
	display: none;
	width: 30px;
	height: 20px;
	padding: 10px;
	text-align: left;
	color: #942790;
	cursor: pointer;
}

ul#navmenu > li.switch:before {
	content: "";
	position: absolute;
	display: block;
	width: 30px;
	height: 4px;
	border-radius: 4px;
	background: #942790;
	-moz-box-shadow: 0 8px #942790, 0 16px #942790;
	-webkit-box-shadow: 0 8px #942790, 0 16px #942790;
	box-shadow: 0 8px #942790, 0 16px #942790;
}

ul#navmenu > li.switch:hover:before {
	background: #942790;
	-moz-box-shadow: 0 8px #942790, 0 16px #942790;
	-webkit-box-shadow: 0 8px #942790, 0 16px #942790;
	box-shadow: 0 8px #942790, 0 16px #942790;
}

.navmenu-switch-input {
	display: none;
}

.menu { 
	font-family: 'Open Sans Condensed Bold', Arial, sans-serif;
	font-size: 20px;
	padding-left: 38px;
}

ul#navmenu li:hover>a,ul#navmenu li > a.pressed {
	background-color: #f4f7ee;
	background-position: 0 100px;
	border-style: solid;
	border-color: #e5eed9;
	color: #942790;
	text-decoration: none;
}

ul#navmenu ul li:hover>a,ul#navmenu ul li > a.pressed {
	background-color: #e5eed9;
	background-image: none;
	color: #942790;
	text-decoration: none;
}

ul#navmenu li.topfirst>a {
}

ul#navmenu li.toplast>a {
}

ul#navmenu li.topfirst a:hover {
	background-color: #e5eed9;
}

ul#navmenu li.topmenu a:hover {
	background-color: #e5eed9;
}

ul#navmenu li.toplast a:hover {
	background-color: #e5eed9;
}

/* CONTENT */
#content {
	clear: both;
	color: #000;
	background-color: #e5eed9;
	text-align: center;
	padding: 20px;
	overflow: auto;
}

#mainwrapper {
	width: 65%;
	float: left;
}

#mainwrapper-full {
	width: 100%;
	float: left;
}

#main {
	text-align: left;
	background-color: #f0f5e9;
	padding: 20px;
	overflow: auto;
}

#main a:link, a:active, #sidebar a:link, a:active, #contact a:link, a:active {
	color: #942790;
	text-decoration: none;
}

#main a:hover, #sidebar a:hover, #contact a:hover {
	color: #942790;
	text-decoration: underline;
}

#main a:visited, #sidebar a:visited, #contact a:visited {
	color: #942790;
	text-decoration: none;
}

#main .left {
	float: left;
	text-align: center;
}

#main .right {
	float: right;
	text-align: center;
}

#main .message {
	width: auto;
	color: #006600;
	background-color: #fff;
	border: 1px solid #d5e1c4;
	padding: 10px;
}

/* FORM STYLES */
form {
	clear: both;
	margin: 0 auto;
	width: 100%;
	margin-bottom: 3%;
	font-size: 1.3em;
}

label {
	clear: both;
	float: left;
	width: 25%;
	margin-top: 2%;
	height: 30px;
	vertical-align: middle;
	text-align: right;
	font-weight: bold;
	font-size: 1em;
	display: inline-block;
}

#events label {
	clear: both;
	width: 35%;
}

#application label {
	clear: both;
	width: 100%;
	height: auto;
	text-align: left;
}

label[for=radio], label[for=checkbox], label[for=date] {
	width: 100%;
	text-align: left;
	font-size: .8em;
}

label[for=response] {
	clear: both;
	float: left;
	width: 78%;
	margin-top: 2%;
	height: 30px;
	vertical-align: middle;
	text-align: left;
	font-weight: bold;
	font-size: 1em;
	display: inline-block;
}

input {
	clear: both;
	vertical-align: middle;
	text-align: left;
	text-indent: 5px;
	border: 1px solid #d5e1c4;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

div.xtraspace {
	padding-bottom:2%;
}

#events input {
	width: 63%;
}

input[for=text] {
	margin-top: 2%;
	width: 73%;
	height: 30px;
	font-size: 1.25em;
}

#application input[for=text] {
	clear: both;
	margin-top: 0;
	width: 100%;
	height: 30px;
	font-size: 1.25em;
}

input[for=radio], input[for=checkbox], input[for=date] {
	font-size: 1.75em;
}

#application input[for=radio], #application input[for=checkbox], #application input[for=date] {
	font-size: 1.25em;
}

#application input[for=date] {
	float:left;
}

input[for=referral-other] {
	width: 73%;
	height: 30px;
	font-size: 1.25em;
}

select {
	clear: both;
	margin-top: 2%;
	width: 73%;
	height: 30px;
	font-size: 1.25em;
	vertical-align: middle;
	text-align: left;
	text-indent: 5px;
	border: 1px solid #d5e1c4;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

#application select {
	width: 100%;
	margin-top: 0;
}

select[for=response] {
	width: 20%;
}

textarea {
	clear: both;
	margin-top: 2%;
	width: 73%;
	font-size: 1.25em;
	text-indent: 5px;
	resize: vertical;
	border: 1px solid #d5e1c4;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

#events textarea {
	width: 63%;
}

#application textarea {
	width: 100%;
	margin-top: 0;
}

input:focus, select:focus, textarea:focus {
    border-color: rgba(148, 39, 144, 0.8);
	-webkit-border-radius:  0 1px 1px rgba(148, 39, 144, 0.075) inset, 0 0 6px rgba(148, 39, 144, 0.6);
    -moz-box-shadow:  0 1px 1px rgba(148, 39, 144, 0.075) inset, 0 0 6px rgba(148, 39, 144, 0.6);
	box-shadow: 0 1px 1px rgba(148, 39, 144, 0.075) inset, 0 0 6px rgba(148, 39, 144, 0.6);
    outline: 0 none;
}

.prompt {
	margin-top: 2%;
	margin-left: 27%;
	font-size: .75em;
}

.radio, .checkbox {
	clear: both;
	padding: 2%;
	width: 96%;
	vertical-align: middle;
	font-size: .9em;
	border: 1px solid #d5e1c4;
	overflow-y: auto;
}

.submit-button {
	margin-left: 27%;
	margin-top: 3%;
	padding: 3%;
	font-size: 1.5em;
	background: #942790;
	color: #fff;
	border: 1px solid #d5e1c4;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	-moz-box-shadow: 3px 3px 4px 4px #ccc;
	-webkit-box-shadow: 3px 3px 4px 4px #ccc;
	box-shadow: 3px 3px 4px 4px #ccc;
	cursor: pointer;
}

#application .submit-button {
	margin:0 auto;
	margin-top:3%;
}

.submit-button:hover {
	color: #942790;
	background: #fff;
	-moz-box-shadow: 3px 3px 4px 4px #942790;
	-webkit-box-shadow: 3px 3px 4px 4px #942790;
	box-shadow: 3px 3px 4px 4px #942790;
}

.submit-button:focus {
	color: #942790;
	background: #fff;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	-moz-box-shadow: 3px 3px 4px 4px #942790;
	-webkit-box-shadow: 3px 3px 4px 4px #942790;
	box-shadow: 3px 3px 4px 4px #942790;
	cursor: pointer;
}

.input {
	text-align: right;
	font-size: .75em;
}

#sidebar {
	width: 30%;
	float: right;
	font-size: .9em;
	text-align: center;
	overflow: hidden;
}

#sidebar .slideshow {
	position: relative;
	width: 236px;
	height: 178px;
	padding-bottom: 20px;
}

#sidebar .slideshow img {
	position: absolute;
	left: 0;
	top: 0;	
}
/*
#sidebar .rotating-item {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
}
*/
#sidebar .countdown, .booknow, .spa, .events {
	padding-left: 20px;
	padding-right: 20px;
}

#sidebar .countdown, .booknow, .spa, .utahsbest, .events, .fb {
	margin-top: 20px;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
}

.countdown p {
  margin: 0;
}

#sidebar .spa-description {
	font-size: .9em;
}

#sidebar .fb {
	margin-bottom: 20px;
}

#sidebar a.button {
    display: block;
	text-align: center;
	text-decoration: none;
    font-size: 1.75em;
	font-family: 'Open Sans Condensed Bold', Arial, sans-serif;
	padding: 2%;
	color: #fff;
	border: 1px solid #d5e1c4;
	background-color: #942790;
	-webkit-border-radius: 40px;
	-moz-border-radius: 40px;
	border-radius: 40px;
	-moz-box-shadow: 3px 3px 4px 4px #ccc;
	-webkit-box-shadow: 3px 3px 4px 4px #ccc;
	box-shadow: 3px 3px 4px 4px #ccc;
	cursor: pointer;
}

#sidebar a.button:hover {
	text-decoration: none;
	color: #942790;
	background: #fff;
	-moz-box-shadow: 3px 3px 4px 4px #942790;
	-webkit-box-shadow: 3px 3px 4px 4px #942790;
	box-shadow: 3px 3px 4px 4px #942790;
}

/* TEXT OVERLAY */
.box {
	cursor: pointer;
	margin: 0 auto;
	width: 225px;
	height: 200px;
	position: relative;
	overflow: hidden;
}

.box img {
	position: absolute;
	left: 0;
	-webkit-transition: all 300ms ease-out;
	-moz-transition: all 300ms ease-out;
	-o-transition: all 300ms ease-out;
	-ms-transition: all 300ms ease-out;
	transition: all 300ms ease-out;
}

.box .overbox {
	background-color: #942790;
	position: absolute;
	top: 0;
	left: 0;
	color: #fff;
	font-family: 'Open Sans Condensed Bold', Arial, sans-serif;
	font-size: 1.5em;
	z-index: 100;
	-webkit-transition: all 300ms ease-out;
	-moz-transition: all 300ms ease-out;
	-o-transition: all 300ms ease-out;
	-ms-transition: all 300ms ease-out;
	transition: all 300ms ease-out;
	opacity: 0;
	width: 175px;
	height: 170px;
	padding: 30px 25px;
}

.box:hover .overbox { opacity: 1; }

.box .overtext {
	-webkit-transition: all 300ms ease-out;
	-moz-transition: all 300ms ease-out;
	-o-transition: all 300ms ease-out;
	-ms-transition: all 300ms ease-out;
	transition: all 300ms ease-out;
	transform: translateY(40px);
	-webkit-transform: translateY(40px);
}

.box .title {
	font-size: 1.5em;
	text-transform: uppercase;
	opacity: 0;
	transition-delay: 0.1s;
	transition-duration: 0.2s;
}

.box:hover .title,
.box:focus .title {
	opacity: 1;
	transform: translateY(0px);
	-webkit-transform: translateY(0px);
}

.box .tagline {
	font-size: 1em;
	opacity: 0;
	transition-delay: 0.2s;
	transition-duration: 0.2s;
}

.box:hover .tagline,
.box:focus .tagline {
	opacity: 1;
	transform: translateX(0px);
	-webkit-transform: translateX(0px);
}

/* PORTAL PAGE */
.portalcontact form {
	width:100%;
	margin:0 auto;
}

.portalcontact form input,
.portalcontact form textarea {
	width:96%;
	overflow:visible;
}

.portalcontact ::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:    #ccc;
}
.portalcontact :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    #ccc;
   opacity:  1;
}
.portalcontact ::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    #ccc;
   opacity:  1;
}
.portalcontact :-ms-input-placeholder { /* Internet Explorer 10-11 */
   color:    #ccc;
}
.portalcontact ::-ms-input-placeholder { /* Microsoft Edge */
   color:    #ccc;
}

.portalcontact ::placeholder { /* Most modern browsers support this now. */
   color:    #ccc;
}

.portalimage img {
	margin:0 auto;
	text-align:center;
	max-width:100%;
	max-height:100%;
}

#portal .submit-button {
	margin-left:0;
	margin:0 auto;
	padding-top:2%;
	width:60%;
	text-align:center;
}

/* FOOTER */
#footer {
	text-align: center;
	font-family: 'Open Sans Condensed Bold', Arial, sans-serif;
	font-size: 1em;
	color: #942790;
	padding: 10px;
	border-top: 2px solid #d5e1c4;
	overflow: auto;
}

#footer a:link, a:active {
	color: #942790;
	text-decoration: none;
}

#footer a:hover {
	color: #942790;
	text-decoration: underline;
}

#footer a:visited {
	color: #942790;
	text-decoration: none;
}

#footer .left {
	float: left;
}

#footer .right {
	float: right;
}

#absolutefooter {
	clear: both;
	padding-top: 10px;
	min-height: 250px;
	background-color: #ccc;
	color: #666;
	font-size: .8em;
	text-align: center;
	overflow: auto;
}

#absolutefooter a:link, a:active, a:visited {
	color: #666;
	text-decoration: none;
}

#absolutefooter a:hover {
	color: #942790;
	text-decoration: underline;
}

#absolutefooter .copyright {
	padding-bottom: 25px;
}

#absolutefooter .additional {
	clear: both;
	width: 25%;
	float: left;
	text-align:right;
	font-weight: bold;
	padding-bottom: 15px;
}

#absolutefooter .social, .resources {
	width: 71%;
	float:right;
	text-align: left;
	padding-left: 4%;
	padding-bottom: 15px;
}

#absolutefooter .social>div, .resources>div {
	margin-bottom: 10px;
}

.fullwidth {
	width: 100%;
}

.clearboth {
	clear: both;
}

.textaligncenter {
	text-align: center;
}

.inlineblock {
	display: inline-block;
}

.xtra-padding {
	padding: 0px 30px;
}

.left {
	clear: both;
	float: left;
}

.right {
	float: right;
}

.show {
	display: block;
}

.hide {
	display: none !important;
}

.text-center {
  text-align: center;
}

/***** POPUP ADVERTISEMENT ************/

.white-popup {
  position: relative;
  background: #FFF;
  padding: 20px;
  width: auto;
  max-width: 600px;
  margin-left: 10%;
  margin-right: 10%;
  height: auto;
  margin: 20px auto;
}

.advertisement a {
	color: #942790;
}

.advertisement a:hover {
	text-decoration: underline;
}
/* overlay at start */
.mfp-fade.mfp-bg {
  opacity: 0;

  -webkit-transition: all 0.80s ease-out;
  -moz-transition: all 0.80s ease-out;
  transition: all 0.80s ease-out;
}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;

  -webkit-transition: all 0.80s ease-out;
  -moz-transition: all 0.80s ease-out;
  transition: all 0.80s ease-out;
}
/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}
/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}


/* DYNAMIC SCREEN SIZES */
/* For mobile devices with larger displays*/
@media screen and (max-width: 792px) {
	body {
		width: 100%;
		min-width: 560px;
		margin: 0 auto;
	}

	h1, h2 {
		font-size: 1.3em;
		color: #942790;
	}

	#header {
		background: #fff url('images/banner-hmms-mobile.jpg') left no-repeat;
		background-size: auto 120px;
	}

	#container {
		border: 0;
	}

	#content {
		width: 100%;
		padding: 0px;
	}

	#mainwrapper {
		width: 100%;
		float: left;
	}

	#main {
		text-align: left;
		background-color: #f0f5e9;
		padding: 20px;
		overflow: hidden;
	}
	
	/* NAVMENU */
	.navigation {
		height: auto;
	}

	ul#navmenu {
		width: 100%;
		overflow: hidden;
	}

	ul#navmenu ul {
		left: 95px;
		top: 0;
	}

	ul#navmenu > li {
		display: none;
		position: relative;
		width: 100% !important;
		border-top: 2px solid #e5eed9;
	}

	ul#navmenu li.switch {
		border: 0;
	}

	ul#navmenu a {
		font-size: 18px;
	}

	ul#navmenu ul a {
		font-size: 16px;
	}

	ul#navmenu > li.switch,.navmenu-switch-input:checked + ul#navmenu > li + li {
		display: block;
	}

	ul#navmenu > li.switch > label {
		position: absolute;
		cursor: pointer;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
	}

	/* Sidebar */
	#sidebar {
		width: 100%;
		position: relative;
		float: left;
		text-align: center;
		overflow: hidden;
	}

	#sidebar .slideshow, .contact, .logo {
		display: none;
	}

	#sidebar .countdown, .booknow, .events {
		margin: 0 auto;
		margin-top: 20px;
		width: 50%;
	}

	#footer {
		margin: 0 auto;
		padding: 10px;
	}

	#footer .left {
		float: none;
		text-align: center;
	}

	#footer .right {
		margin-top: 20px;
		float: none;
		text-align: center;
	}

	/* PORTAL PAGE */
	.portalcontact {
		padding:3%;
		margin:0 auto;
		text-align:center;
	}
	
	.portalcontact form {
		width:100%;
		margin:0 auto;
		text-align:center;
	}
	
	.portalcontact form input,
	.portalcontact form textarea {
		width:98%;
		overflow:visible;
	}
	
	#portal .submit-button {
		margin-left:0;
		margin:0 auto;
		padding-top:4%;
		width:40%;
		text-align:center;
	}

}

/* For mobile devices with small/medium displays*/
@media screen and (max-width: 560px) {
	body {
		width: 100%;
		min-width: 320px;
		margin: 0 auto;
	}

	#header {
		background: #fff url('images/banner-hmms-mobile-sm.jpg') left center no-repeat;
		background-size: Auto 150px;
	}

	#contact .callus {
		font-size: 1.5em;
	}

	#main .left {
		float: none;
		text-align: center;
	}

	#main .right {
		float: none;
		text-align: center;
	}

	.map {
		width: 100%;
	}
	
	.dynamicText {
		font-size: .8em;
	}

	/* NAVMENU */
	ul#navmenu {
		width: 100%;
	}
	
	ul#navmenu > li {
		display: none;
		position: relative;
		width: 100% !important;
	}
	
	ul#navmenu > li.switch,.navmenu-switch-input:checked + ul#navmenu > li + li {
		display: block;
	}
	
	ul#navmenu > li.switch > label {
		position: absolute;
		cursor: pointer;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
	}

	div.xtraspace {
		padding-bottom:6%;
	}
	
}
