/** CSS for responsive versions */
/*
Notes for use of hide/show elements for responsive versions

Version             min-res     max-res   |   desktop-version   tablet-version   mobile-version   mobile-portrait
------------------------------------------------------------------------------------------------------------------
Desktop              1024px       >>                 X                -                -                 -
Tablet (landscape)    960px     1023px               X                -                -                 -
Tablet (portrait)     768px      959px               -                X                -                 -
Mobile (landscape)    480px      767px               -                -                X                 -
Mobile (portrait)      <<        479px               -                -                X                 X
-------------------------------------------------------------------------------------------------------------------
Element shown:  X
Element hidden: -
Elements that are marked with multiple classes are shown if they match any shown class.
*/


.tablet-version, .mobile-portrait, .mobile-version {
	display: none;
}

/* Deskop or tablet */
@media only screen and (min-width: 960px) {
	.desktop-version {
		display: block;
	}
}

/* Tablet (landscape) */
/* At least standard 960 (devices and browsers), often treated same as desktop */
@media only screen and (min-width: 960px) and (max-width: 1023px) {
	.sitewrapper {
	
	}
}

/* Tablet (portrait) */
/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 959px) {
	body {
		-webkit-text-size-adjust: 100%;
	}
	.desktop-version {
		display: none;
	}
	.tablet-version {
		display: block;
	}
	span.tablet-version, a.tablet-version {
		display: inline;
	}
	img.tablet-version {
		display: inline-block;
	}
	.sitewrapper {
	}
}


/* Mobile (landscape)	*/
/* All Mobile Sizes (devices and browser) up to 767 px */
@media only screen and (max-width: 767px) {
	h1 {
		line-height: auto;
	}
	.desktop-version, .tablet-version, span.tablet-version, a.tablet-version, img.tablet-version {
		display: none;
	}
	.mobile-version {
		display: block;
	}
	span.mobile-version, a.mobile-version {
		display: inline;
	}
	img.mobile-version {
		display: inline-block;
	}
	.sitewrapper {
		width: 100%;
		margin: 0px;
	}
/* start of uva-design responsive CSS */
	div#pagecontents {
		background-size: 120%;
		background-position: center 35px;
	}
	
	
	#body .sitecomponent {
		width: 100% !important;
		box-sizing: border-box;    
	}
	header#subheader .sitecomponent {
		margin-top: 60px;
		background-color: #FFFFFF;
		height: auto;
	}
	header#subheader .sitecomponent h1 {
		font-size: 26px;		
	}
/* end of uva-design responsive CSS */
	header#main-header h2 {
		padding-right: 40px;
	}

	header#main-header div.searchbox {
		display: none;
	}
	.nav-dropdown {
		display: none;
	}
	div#contentcontainer .sitecomponent {
		padding: 0px 10px;
		background-color: #FFFFFF;
	}
	.cmstext table, .cmstext tbody, .cmstext tr, .cmstext td {
		display: block;
		width: 100% !important;
		float: none !important;
		height: auto !important;
		box-sizing: border-box;
	}
	.contentcontainer {
		width: 100%;
	}
	footer {
		width: 100%;
		box-sizing: border-box;
	}
	footer .footer-disclaimer {
		line-height: 1.2;
	}
	.socialmedia-container {
		float:none;
	}
	img, iframe, object {
		max-width: 100%;
	}
	img {
		height: auto;
	}	
	pre {
	white-space: pre-wrap;       /* css-3 */
	 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
	 word-wrap: break-word;  
	}
	object {
		height: 315px;
	}
	.logo {
		float: none;
	}
	.logo img {
		width: 90%;
		max-width: 300px;
		height: auto;
	}	
	
	.list-items ul {
		width: 100% !important;
	}
	.list-items ul li  {
		margin-left: 0 !important;
		height: auto !important;
		margin-bottom: 20px;
		width: 100% !important;
	}
	.list-items ul li img{
		width: 100% !important;
		height: auto !important;
	}
	.list-items ul li > div {
		margin-left: 0 !important;
	}
	.list-items .intro-list {
		width: auto !important;
	}
	
	/* forms */
	.formresponse.show-form {
		width: 100%;
	}
	.formresponse.show-form .col1 {
		width: 100% !important;
	}
	.formresponse.show-form .collabel1 {
		width: 100%;
		float: none;
	}
	.formresponse.show-form .col1 input[type="text"], .formresponse.show-form .col1 input[type="email"] {
		box-sizing: border-box;
		width: 100%;
		padding: 4px;
	}
	.formresponse.show-form textarea {
		box-sizing: border-box;
		width: 100%;
		padding: 4px;
	}
	.captcha  table, .captcha tbody, .captcha tr, .captcha td {
		display: block;
		width: 100%;
		clear: both;
	}
	.formresponse.show-form .collabel1 label, .formresponse.show-form .collabel2 label {
		float: none;
		margin-bottom:0;
	}
	.imageCaptcha .cp-image img {
		width: 95%;
		margin: 5px auto;
	}
	.imageCaptcha .cp-code input {
		padding: 4px;
	}

	/* search */
	#search-box {
		top: 0;
	}
	.search.show-item .searchbox {
		height: auto !important;
		text-align: left !important;
		margin-bottom: 0 !important;
	}
	.search.show-item .searchbox div {
		float: none !important;
	}
	/* SITE SPECIFIC */
	.left-column, .right-column {
		width: 100%;
		float: none;
		padding: 15px 10px 0px;
		margin-top: 15px;
		min-height: auto;
	}	
	.right-column .event.list-items {
		padding-bottom: 10px;
	}
		
	.page.show-home .mediaitem {
		text-align: center;
		height: auto;
	}		
	.page.show-home .media-thumbs-container {
	  width: 100%;
	  max-width: 370px;
	  margin: 0px auto 15px;
	}	
	.page.show-home .media-thumbs-container .media-thumb {
		width: 15%;
		margin-right: 2%;
	}
	.page.show-home .media-thumbs-container .media-thumb.islast {
	  margin-right: 0;
	}	
	.page.show-home .media-thumbs-container .media-thumb a img {
		border: medium none;
		width: 100%;
		height: 44px;
	}	
}

/* Mobile (portrait) */
/* Small mobile devices, up to 479 px */
@media only screen and (max-width: 479px) {
	.mobile-portrait {
		display: block;
	}
	span.mobile-portrait, a.mobile-portrait {
		display: inline;
	}
	img.mobile-portrait {
		display: inline-block;
	}
	.main-header {
		height: 125px;
		position:relative;
	}
	nav {
	}
	.cmstext img {
		float: none !important;
	}
}
@media only screen and (max-width: 405px) {
	header#main-header h2 {
		line-height: 1.2;
		margin-top: 5px;
	}	
}

