/*
 * Styling for user public view
 */

/*
 * Custom fonts
 */
 
/* For IE 4-8 */
@font-face {
  font-family: 'DINWeb';
    src: url('../fonts/DINWeb.eot');
    src: url('../fonts/DINWeb.eot?#iefix') format('embedded-opentype'), 
         url('../fonts/DINWeb.woff') format('woff');
}
@font-face {
  font-family: 'DINWeb-Medium';
    src: url('../fonts/DINWeb-Medium.eot');
    src: url('../fonts/DINWeb-Medium.eot?#iefix') format('embedded-opentype'), 
         url('../fonts/DINWeb-Medium.woff') format('woff');
}
.clearfix:after {
	visibility: hidden;
	display: block;
	content: "";
	clear: both;
	height: 0;
	}
* html .clearfix             { zoom: 1; }
*:first-child+html .clearfix { zoom: 1; }

/*
 * body styling
 */
 
body {
	background: url(../img/background.png);
	color: black;
    font-family: 'DINWeb', Arial, sans-serif;
	font-size: 1em;
}

/*
 * h1, h2, h3, h4, h5, h6 styling
 */
html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
*, *:before, *:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
  }
h1, h2, h3, h4, h5, h6
{
    font-weight: normal;
}

/*
 * img styling
 */
 
img {
	max-width: 100%;
	height: auto;
    border: 0;
}
img.icon
{
	padding-right: 10px;
}

/*
 * table styling
 */
 
table
{
	width: 100%;
}

/*
 * Other styling
 */

.more
{
	text-align: right;
}

/*
 * #wrapper styling
 */

#wrapper
{
	margin: 0 auto;
	width: 1200px;
}

/*
 * form styling
 */
 
form dt
{
	clear: left;
	float: left;
	padding-right: 10px;
	text-align: right;
	width: 150px;
}

form dd
{
	margin-bottom: 6px;
	text-align: left;
}

/*
 * Styling for logo
 */
#logo
{
    text-align: center;
    width: 100%;
}

#logo .logo
{
    float: left;
}

#logo .star
{
    float: right;
}

/*
 * Common styling for user navigator, public profile, social profile, emergency page and lost property page
 */

.user_navigator,
#public_profile,
#sponsor_profile,
.social_profile,
#emergency_page,
#lost_property
{
	background: rgb(255, 255, 255);
	background: rgba(255, 255, 255, 0.75);
}

/*
 * Styling for user navigator
 */

.user_navigator
{
    font-size: 2.5em;
    font-weight: bold;
    padding: 10px;
    text-align: center;
}

.user_navigator img
{
    vertical-align: middle;
}

.user_navigator_left
{
    float: left;
}

.user_navigator_right
{
    float: right;
}

/*
 * Styling for public profile
 */

#public_profile
{
	font-size: 2em;
	margin-bottom: 10px;
	margin-top: 10px;
}

#public_profile a:link, 
#public_profile a:visited, 
#public_profile a:hover, 
#public_profile a:active
{
	font-weight: bold;
	text-decoration: none;
}

#public_profile a:link, 
#public_profile a:visited, 
#public_profile a:active
{
	color: black;
}

#public_profile a:hover
{
	color: #66cc00;
}


#public_profile_info
{
	min-height: 340px;
	padding-top: 20px;
}

#public_profile h1
{
	font-size: 2em;
	margin: 0;
	padding: 0;
}

#public_profile .links
{
	padding: 20px 0;
}

#public_profile .status
{
	font-size: 1.5em;
	font-weight: bold;
	padding-bottom: 20px;
}

/*
 * Styling for sponsor profile
 */

#sponsor_profile
{
	clear: left;
	font-size: 2em;
	margin-bottom: 10px;
	margin-top: 10px;
	padding: 20px;
}

#sponsor_profile h1
{
	font-size: 2em;
	margin: 0;
	padding: 0;
}

#sponsor_profile .message
{
	font-size: 1.5em;
}

/*
 * Styling for social profile
 */

.social_profile
{
	clear: left;
	font-size: 2em;
	margin-bottom: 10px;
	margin-top: 10px;
	padding: 20px;
}

.social_profile h1
{
	font-size: 2em;
}

.social_profile h2
{
	font-size: 1.5em;
}

.social_profile h1, 
.social_profile h2
{
	margin: 0;
	padding: 0;
}

.social_profile ul
{
	margin: 0;
}

.social_profile p
{
	margin: 0;
	padding: 5px 0;
}

.social_profile .personal_link
{
	padding-right: 16px;
}

.social_profile .profile_item
{
	padding: 4px 0;
}

.social_profile .social_photos
{
	padding: 5px 0;
	text-align: center;
}

.social_profile .social_photos img
{
	padding: 0 20px;
}

.social_profile a:link, 
.social_profile a:visited, 
.social_profile a:hover, 
.social_profile a:active
{
	font-weight: bold;
	text-decoration: none;
}

.social_profile a:link, 
.social_profile a:visited, 
.social_profile a:active
{
	color: black;
}

.social_profile a:hover
{
	color: #66cc00;
}

/*
 * Styling for emergency page
 */
 
#emergency_page
{
	clear: left;
	font-size: 2em;
	margin-bottom: 10px;
	margin-top: 10px;
	padding: 20px;
}

#emergency_page h1
{
	color: red;
	font-size: 2em;
}

#emergency_page h2
{
	font-size: 1.5em;
}

#emergency_page h1, 
#emergency_page h2
{
	margin: 0;
	padding: 0;
}

#emergency_page ul
{
	list-style-type: none;
	padding: 0;
	margin: 0;
}

#emergency_page p
{
	margin: 0;
	padding: 5px 0;
}

#emergency_page table.details
{
	text-align: left;
}

#emergency_page table.details td
{
	background: #ccc;
	padding: 5px;
	vertical-align: top;
}

#emergency_page table.details  td.type
{
	width: 33%;
}

#emergency_page table.details  td.value
{
	width: 67%;
}

#emergency_page .section
{
	background-color: #c0c0c0;
	margin: 10px 0;
	padding: 10px;
}

#emergency_page .emergency_item
{
	margin: 10px 0;
}

/*
 * Styling for lost property page
 */
 
#lost_property
{
	clear: left;
	font-size: 2em;
	margin-bottom: 10px;
	margin-top: 10px;
	padding: 20px;
}

#lost_property h1
{
	font-size: 2em;
	margin: 0;
	padding: 0;
}

#lost_property p
{
	margin: 0;
	padding: 5px 0;
}
 
#lost_property a:link, 
#lost_property a:visited, 
#lost_property a:hover, 
#lost_property a:active
{
	font-weight: bold;
	text-decoration: none;
}

#lost_property a:link, 
#lost_property a:visited, 
#lost_property a:active
{
	color: black;
}

#lost_property a:hover
{
	color: #66cc00;
}

/*
 * Styling for emergency login
 */

.form_container
{
	background: white;
	margin: 40px auto;
	padding: 20px;
	text-align: center;
	width: 600px;
}

.form_container p
{
	font-size: 1.5em;
}

form dt
{
	clear: left;
	float: left;
	font-size: 1.5em;
	padding-right: 10px;
	padding-top: 5px;
	text-align: right;
	width: 250px;
}

form dd
{
	margin-bottom: 6px;
	text-align: left;
}

#pin, 
#login, 
.error
{
	font-size: 1.5em;
}

#pin
{
	width: 150px;
}

.error
{
	color: #ff3300;
	font-weight: bold;
}



/******** Simons changes **********/

#logo h1 {
    padding: 0;
    margin: 0;
}
.rounded_corners_top {
    -webkit-border-radius: 30px 30px 0 0;
    border-radius: 30px 30px 0 0;
}
.rounded_corners_bottom {
    -webkit-border-radius: 0 0 30px 30px;
    border-radius: 0 0 30px 30px;
}
.profile-row {
    width: 100%;
    clear: both;
    display: block;
    padding:  1em;
}
#public_profile_photo {
    display: inline-block;
    float: left;
    width: 32%;
	max-height: 360px;
	overflow: hidden;
	padding: 0px;
}
#public_profile_photo img {
    display: block;
    margin: 0 auto;
}
#public_profile_info {
    display: inline-block;
    float: right;
    width: 66%;
}

/********** media queries ************/

@media screen and (max-width: 1240px) {
    #wrapper {
        width: 1000px
    }
}
@media screen and (max-width: 1023px) {
    #wrapper {
        width: 768px
    }
    #public_profile_photo {
        float: none;
        width: 100%;
        display: block;
        margin-bottom: 1em;
    }
    #public_profile_info {
        float: none;
        width: 100%;
        display: block;
    }
    body {
        font-size: .85em;
    }
}
@media screen and (max-width: 767px) {
    #wrapper {
        width: 450px
    }
}
@media screen and (max-width: 479px) {
    #wrapper {
        width: 320px
    }
    body{
        font-size: .7em;
    }
}