/**********************
	  BEGIN FIXES
***********************/

/*
	This is a set of patches for the sportsbra web app.
	These rules add responsive functionality to the recommended bra panels
	Now when the browser is resized (or viewing on mobile), the image and panel scales down appropriately.
	These rules are mostly used by recommended.php
*/

.things-to-check-size-description{
	
	float: left;
	padding-top: 35px;
	width: 120px; 
	padding-left: 20px
	
}

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

	.things-to-check-size-description{
		padding-top: 0px;
		padding-bottom: 20px;
		margin-top: -15px;
		text-align: center;
}
	
}

.displayimagezoom-ex{
	
	padding: 5px;
	overflow: hidden;
	
}

img.displayimagezoom-responsive{
	
	width: 100%;
	height: auto;
	
}

div.displayimagezoom-footer{
	
	width: 100%;
	overflow: hidden;
	color: #fff;
	text-align: center
	
	
}

div.displayimagezoom .zoomin{
	

	float: left;

	height: 35px;
	width: 35px;
	background-color:white;
	background-image: url(../images/magnify.png);
	
}

div.displayimagezoom .zoomout{
	

	float: left;
	position: relative;
	height: 35px;
	width: 35px;
	background-color: white;
	background-image: url(../images/demagnify.png);
	
}

.displayimagezoom-footer-text{

	float: left;
	width: calc(100% - 90px);
}

.displayimagezoom-footer-buttons-container{
	float: right;
	width: 78px;
	height: 37px;
}

div.displayimagezoom .displayimagezoom-footer h1{
	padding: 0px;
	
	color: #fff;
	font-size: 1.2em;
	font-weight: normal;
	line-height: 36px;
	word-wrap: break-word;
	margin: 0 0 0 20px;
}

/* For the different coloured boxes */

.darkblue-border{
	border: 2px solid  rgba(81,72,205,255);	
}
.darkblue-fill{
	background-color:
	rgba(81,72,205,255);
}

.orange-border{
	border: 2px solid  rgba(234,115,26,255);
}

.orange-fill{
	background-color:
	rgba(234,115,26,255);
}

/*Bra image upload screen*/
#upload-container{
	display: none;
}

#preview-image-container{
	
	width: 100%;
	padding-top: 12px;
	padding-bottom: 5px;
	
	max-height: 500px;
	background-color: #eaeaea;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	
}

#preview-image-container img{
	width: 60%;
	height: auto;
	border-radius: 3px;
}


#photo_button{
	width: 100%;
}

#image-upload-progress{
	width: 100%;
	background-color: #d5d5d5;
	text-align: center;
	padding-top: 5px;
	padding-bottom: 5px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

#view-saved-bras-image{
	width: 100%;
	max-width: 600px;
	height: auto;
}

#preview-image-container #photo_button{
}

#browse{
	
	
}

/*Fix for older Androids where the widget glitches*/
#spinholder-container{
	height: 300px;
	overflow: hidden !important;
}

/*For list of references*/

#content-container li{
	
	padding: 5px;
	list-style-image: url(../images/imageA_tiny.png);
	margin-bottom: 10px;
}



/**********************
	  END FIXES
***********************/

/*Moved from 800.css*/

.displayimagezoom
{
    /*border: 2px solid  rgba(81,72,205,255);*/
 	/*height: 640px;*/
 /*	width: 640px; */
 	border-radius: 15px;
 	moz-border-radius: 15px; 
 	-webkit-border-radius: 15px; 
 	overflow: hidden;
 	
}

.displayimagezoom2
{
    /*border: 2px solid  rgba(234,115,26,255);*/
 	height: 640px;
 /*	width: 640px; */
 	border-radius: 15px;
 	moz-border-radius: 15px; 
 	-webkit-border-radius: 15px; 
 	overflow: hidden;
 	
}

/* Swipe works with mouse as well but often causes text selection. */
/*#main-page * {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}

* {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
*/

@viewport{
	zoom: 1.0;
	width: extend-to-zoom;
}

@-ms-viewport{
	width: extend-to-zoom;
	zoom: 1.0;
}

/* Content styling. */
dl { font-family: "Times New Roman", Times, serif; padding: 1em; }
dt { font-size: 2em; font-weight: bold; }
dt span { font-size: .5em; color: #777; margin-left: .5em; }
dd { font-size: 1.25em;	margin: 1em 0 0; padding-bottom: 1em; border-bottom: 1px solid #eee; }
.back-btn { float: right; margin: 0 2em 1em 0; }


.video-container1 {
	margin-left: auto;
	margin-right: auto;

    width: 100%;
    max-width: 500px;
    position: relative;
}

.video1
{
	border-radius: 5px;
    width: 100%;
    height: auto;  
}



.video-container 
{
    width: 100%;
    max-width: 500px;
    position: relative;
}

.video2
{
    width: 100%;
    height: auto; 
}

.footer
{
	max-height: 75px;
}

.content-holder {
	padding-left: 0px !important;
	padding-bottom: 0px !important;
	max-width: 800px !important;
}

.headline {
    width: 30px;
    float: left;
    background: rgba(96,159,68,255);
    -moz-border-radius-bottomright: 20px;
    border-bottom-right-radius: 20px;
    -moz-border-radius-topright: 20px;
    border-top-right-radius: 20px;
}

.headline p {
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    position:relative;
    width: 300px;
    top: 75px;
    left: -136px;
    display:inline-block;
    color:#fff;
    font-size: 0.9em;
    font-weight: 100;
    text-shadow: none;
    text-transform: none;
    
}

.headline img
{
	margin-top: 220px;
	margin-left: -5px;
	padding-left: 5px;
	float: left;

	width: 30px;
	cursor: pointer;
	
	
}

.wide_button
{
	color: #fff !important;
	text-shadow: none !important;
	font-weight: 500 !important;
	/*max-width: 265px !important;*/
}


.uowlogobottombutton
{
	display: block;
	float: left;
	background: #fff url("../images/uowLogoSmall.jpg") top left no-repeat;
	text-align: center;
	height: 40px;
	width: 126px;
}

.bralogobottombutton
{
	display: block;
	float: right;
	background: #fff url("../images/braLogoSmall.jpg") top left no-repeat;
	text-align: center;
	height: 36px;
	width: 52px;
}

#bralogoabout
{
	 height: auto;
     max-width: 680px;
     width: 100%;
     margin-bottom: 10px;
}

#vcpicabout
{
	 height: auto;
	 width: 100%;
	 margin-bottom: 20px;
	 margin-top: 20px;
	 border-radius: 20px;
     moz-border-radius: 15px;
     -webkit-border-radius: 15px;
}

.content {
	width: auto;
	float: none;
	padding-left:15px;
	margin-left: 20px;
	min-height: 640px;
}

.content h1 {
	margin-top: 0em;
	color: rgba(96,159,68,255);
	font-weight: bold;
	font-size: 1.4em;
}

.watermarklogo
{
    width: 275px;
    height: 115px;
    background: #fff url("../images/BRALogo2_sml_wm.jpg") top left no-repeat;
}


a:link
{
	color: #333;
	text-decoration: none!important;
}

.ui-page-theme-a a:hover
{
	color: #333;
}

.ui-page-theme-a a:visited
{
	color: #333;
}

/* Adjust the width of the left reveal menu. */
#main-page #left-panel.ui-panel {
	width: 320px;
}
#main-page #left-panel.ui-panel-closed {
	width: 0;
}
#main-page .ui-panel-page-content-position-left,
.ui-panel-dismiss-open.ui-panel-dismiss-position-left {
	left: 320px;
	right: -32px;
}

#main-page .ui-panel-animate.ui-panel-page-content-position-left.ui-panel-page-content-display-reveal {
	left: 0;
	right: 0;
	-webkit-transform: translate3d(320px,0,0);
	-moz-transform: translate3d(320px,0,0);
	transform: translate3d(320px,0,0);
}

.ui-header .ui-title
{
	color: #fff;
	text-shadow: 2px 2px 0 #333;
	margin: 0 10%;
}

.ui-toggle-button
{
	background-image: url("../images/bra_icon.png");
	background-size: 100%;
	background-repeat: no-repeat;
}

/* Listview with collapsible list items. */
.ui-listview > li .ui-collapsible-heading {
	margin: 0;
}
.ui-collapsible.ui-li-static {
	padding: 0;
	border: none !important;
}
.ui-collapsible + .ui-collapsible > .ui-collapsible-heading > .ui-btn {
	border-top: none !important;
}
/* Nested list button colors */
.ui-listview .ui-listview .ui-btn {
	background: #fff;
}
.ui-listview .ui-listview .ui-btn:hover {
	background: #f5f5f5;
}
.ui-listview .ui-listview .ui-btn:active {
	background: #f1f1f1;
}

/* Reveal panel shadow on top of the listview menu (only to be used if you don't use fixed toolbars) */
#main-page .ui-panel-display-reveal {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
#main-page .ui-panel-page-content-position-left {
	-webkit-box-shadow: -5px 0px 5px rgba(0,0,0,.15);
	-moz-box-shadow: -5px 0px 5px rgba(0,0,0,.15);
	box-shadow: -5px 0px 5px rgba(0,0,0,.15);
}

/* Setting a custom background image. */
#main-page.ui-page-theme-a,
#main-page .ui-panel-wrapper {
	background-color: #fff;
	background-image: url("../_assets/img/bg-pattern.png");
	background-repeat: repeat-x;
	background-position: left bottom;
}

#header
{
	background: -webkit-linear-gradient(rgba(187,220,175,255), rgba(96,159,68,255)); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(rgba(187,220,175,255), rgba(96,159,68,255)); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(rgba(187,220,175,255), rgba(96,159,68,255)); /* For Firefox 3.6 to 15 */
	background: linear-gradient(rgba(187,220,175,255), rgba(96,159,68,255)); /* Standard syntax */
	max-width: 800px !important;
}

#header h1
{
    font-size: 1.1em;
}


.green_gradient
{
	background: -webkit-linear-gradient(rgba(187,220,175,255), rgba(96,159,68,255)); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(rgba(187,220,175,255), rgba(96,159,68,255)); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(rgba(187,220,175,255), rgba(96,159,68,255)); /* For Firefox 3.6 to 15 */
	background: linear-gradient(rgba(187,220,175,255), rgba(96,159,68,255)); /* Standard syntax */ 
}


.darkblue_gradient
{
	background: -webkit-linear-gradient(rgba(171,165,253,255), rgba(81,72,205,255)); 
	background: -o-linear-gradient(rgba(171,165,253,255), rgba(81,72,205,255)); 
	background: -moz-linear-gradient(rgba(171,165,253,255), rgba(81,72,205,255)); 
	background: linear-gradient(rgba(171,165,253,255), rgba(81,72,205,255));
}

.indigo_gradient
{
	background: -webkit-linear-gradient(rgba(253,118,206,255), rgba(205,0,134,255));
	background: -o-linear-gradient(rgba(253,118,206,255), rgba(205,0,134,255));
	background: -moz-linear-gradient(rgba(253,118,206,255), rgba(205,0,134,255));
	background: linear-gradient(rgba(253,118,206,255), rgba(205,0,134,255));
}


.violet_gradient
{
	background: -webkit-linear-gradient(rgba(211,118,240,255), rgba(142,0,185,255));
	background: -o-linear-gradient(rgba(211,118,240,255), rgba(142,0,185,255));
	background: -moz-linear-gradient(rgba(211,118,240,255), rgba(142,0,185,255));
	background: linear-gradient(rgba(211,118,240,255), rgba(142,0,185,255));
}

.amber_gradient
{
	background: -webkit-linear-gradient(rgba(253,177,118,255), rgba(206,89,0,255));
	background: -o-linear-gradient(rgba(253,177,118,255), rgba(206,89,0,255));
	background: -moz-linear-gradient(rgba(253,177,118,255), rgba(206,89,0,255));
	background: linear-gradient(rgba(253,177,118,255), rgba(206,89,0,255));
}

.lightblue_gradient
{
	background: -webkit-linear-gradient(rgba(131,192,253,255), rgba(21,113,205,255));
	background: -o-linear-gradient(rgba(131,192,253,255), rgba(21,113,205,255));
	background: -moz-linear-gradient(rgba(131,192,253,255), rgba(21,113,205,255));
	background: linear-gradient(rgba(131,192,253,255), rgba(21,113,205,255));
}

.moderateblue_gradient
{
	background: -webkit-linear-gradient(rgba(128,163,219,255), rgba(16,69,154,255));
	background: -o-linear-gradient(rgba(128,163,219,255), rgba(16,69,154,255));
	background: -moz-linear-gradient(rgba(128,163,219,255), rgba(16,69,154,255));
	background: linear-gradient(rgba(128,163,219,255), rgba(16,69,154,255));
}

.intenseblue_gradient
{
	background: -webkit-linear-gradient(rgba(144,141,186,255), rgba(40,36,102,255));
	background: -o-linear-gradient(rgba(144,141,186,255), rgba(40,36,102,255));
	background: -moz-linear-gradient(rgba(144,141,186,255), rgba(40,36,102,255));
	background: linear-gradient(rgba(144,141,186,255), rgba(40,36,102,255));
}


.sportsbrafitnessbook
{
    margin: auto; 
    display: inline; 
    float: none; 
    background-image: url('../images/sportsbrafitness275x405.png'); 
    background-repeat: no-repeat; 
    height: 405px !important; 
    width: 275px !important;   
}

.pamphlet
{
    margin: auto; 
    float: none; 
    display: inline; 
    background-image: url('../images/SMAFRONT275x584.png'); 
    background-repeat: no-repeat; 
    height: 584px !important; 
    width: 275px !important;
}


.main_image
{
    text-align:center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 275px;
    height: 370px;
    background: #fff url("../images/main275x370.jpg") top left no-repeat;
}

/* Styling of the page contents */
.article p {
	margin: 0 0 1em;
	line-height: 1.5;
}
.article p img {
	max-width: 100%;
}
.article p:first-child {
	text-align: center;
}
.article small {
	display: block;
	font-size: 75%;
	color: #c0c0c0;
}
.article p:last-child {
	text-align: right;
}
.article a.ui-btn {
	margin-right: 2em;
}
@media all and (min-width:769px) {
	.article {
		/*max-width: 994px;*/
		margin: 0 0;
		padding-top: 0;
		-webkit-column-count: 1;
		-moz-column-count: 1;
		column-count: 1;
		-webkit-column-gap: 2em;
		-moz-column-gap: 2em;
		column-gap: 2em;
	}
	/* Fix for issue with buttons and form elements
	 if CSS columns are used on a page with a panel. */
	.article a.ui-btn {
		-webkit-transform: translate3d(0,0,0);
	}
}

.ui-listview>li.ui-first-child
{
	cursor: pointer;
	border: 0;
	height: 100px;
	padding: 0;
	background-image: url("../images/topRow.png");
	background-size: 100%;
	background-repeat: no-repeat;
}
.ui-listview>li.ui-middle-child
{
	cursor: pointer;
	border: 0;
	height: 68px;
	padding: 0;
	background-image: url("../images/middleRow.png");
	background-size: 100%;
	background-repeat: no-repeat;
}

.ui-listview>li.ui-bottom-child
{
	cursor: pointer;
	border: 0;
	height: 68px;
	padding: 0;
	background-image: url("../images/bottomRow.png");
	background-size: 100%;
	background-repeat: no-repeat;
}


/* selected */
.ui-listview>li.ui-first-child-selected
{
	border: 0;
	height: 100px;
	padding: 0;
	background-image: url("../images/topRowSelected.png");
	background-size: 100%;
	background-repeat: no-repeat;
}
.ui-listview>li.ui-middle-child-selected
{
	border: 0;
	height: 68px;
	padding: 0;
	background-image: url("../images/middleRowSelected.png");
	background-size: 100%;
	background-repeat: no-repeat;
}

.ui-listview>li.ui-bottom-child-selected
{
	border: 0;
	height: 68px;
	padding: 0;
	background-image: url("../images/bottomRowSelected.png");
	background-size: 100%;
	background-repeat: no-repeat;
}


.ui-listview>.ui-li-static.ui-last-child
{
	border-bottom: 0;
}


.ui-panel-inner>.ui-listview {
	margin: 0;
}

.ui-panel-inner {
	padding: 0;
}

.li-content-holder-top
{
	display: block;
	padding:15px;
	margin:0;
	position: relative;
}

.li-content-holder
{
	display: block;
	padding:15px;
	padding-top:0px;
	margin:0;
	position: relative;		
}

.li-content-holder-left
{
	float:left;
	margin-top:17px;
	margin-right: 8px;
	width:32px;
	height:32px;
	background: url('../images/imageA.png');
	background-repeat: no-repeat;
	
}

.li-content-holder-middle
{
	float:left;
	margin-top:16px
	
}

.li-content-holder-right-top
{
	float:right;
	margin-top:0px;
	margin-left: 8px;
	width:20px;
	height:80px;
	background: url('../images/indicator.png');
	background-repeat: no-repeat;
	
}

.li-content-holder-right
{
	float:right;
	margin-top: 3px;
	margin-left: 8px;
	width:20px;
	height:68px;
	background: url('../images/indicator.png');
	background-repeat: no-repeat;
	background-size: 20px 58px;
}



.bottomtext
{
	margin-top: 2px !important;
	font-size: 0.7em !important;
}

.bottomtexttop
{
	margin-top: 2px !important;
}

.bottomtext-selected
{
	margin-top:2px !important;
	font-size:0.7em !important;
	color: #fff !important;
	text-shadow: none !important;
}

.bottomtexttop-selected
{
	margin-top: 2px !important;
	color: #fff !important;
	text-shadow: none !important;
}


.maintext
{
	background-color: transparent;
	font-weight: 100 !important;
	font-size:0.8em !important;
}

.maintexttop
{
	background-color: transparent;
	font-weight: 500 !important;
	font-size:1.0em !important;
}

.maintexttop-selected
{
	color: #fff !important;
	background-color: transparent;
	font-weight: 500 !important;
	font-size:1.0em !important;
	text-shadow: none !important;
}


.maintext-selected
{
	color: #fff !important;
	background-color: transparent;
	font-weight: 100 !important;
	font-size:0.8em !important;
	text-shadow: none !important;
}