/**
 * ###############################################
 *
 *
 *	Layout (responsive behaviour)
 *
 *
 * ###############################################
 */

/** --- Hide on view ports --- */

@media only screen and (min-width: 37.5em) {
	
	section.left {
		margin: 1em 0 0 0;
	}
	
	.hide-on-screen {
		display: none;
	}
	
	.hide-on-mobile {
		display: inline-block;
		width: 100%;
	}
	
	.hide-on-mobile h3 {
		margin-top: 0;
	}
}

/**
 * ###############################################
 *
 *
 *	Atmosphere (colors, fonts, details)
 *
 *
 * ###############################################
 */


/** --- Fonts ---  */

@font-face {
  font-family: 'Icons';
  src: url('fontello.eot?76246237');
  src: url('fontello.eot?76246237#iefix') format('embedded-opentype'),
       url('fontello.woff?76246237') format('woff'),
       url('fontello.ttf?76246237') format('truetype'),
       url('fontello.svg?76246237#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}


/** --- Top Navigation Bar --- **/

header {
	height: 3em;
	background: #fff;
}

header .main-links {
	width: auto;
}

header img {
	/* margin: 0.4em 0.3em 0.1em 0.5em; */
	width: 100%;
	max-width: 8em;
}

header .menus .control {
	font-size: 1.9em;
	display: block;
	margin: 0.2em 0.3em 0 0;
}

header .menus .control:HOVER, header .menus .control:FOCUS {
	color: #ccb878;
}

header .menus .menu {
	top: 3em;
}

header .menus .menu ul.top-menu {
	display: inline-block;
	background-color: #4488dd;
	color: #f6f6f6;
}

header .menus .menu ul.top-menu > li {
	padding: 0.3em 0.8em;
	border-bottom: 0.2em solid #fff;
	margin: 0;
}

header .menus .menu ul.top-menu > li:LAST-CHILD {
	border-bottom: 0;
}

header .menus .menu ul.top-menu > li:HOVER, 
header .menus .menu ul.top-menu > li:FOCUS {
	background-color: #226ac5;
}

header .menus .menu ul.top-menu > li > a {
	font-size: 1.1em;
	color: #f6f6f6;
	text-decoration: none;
	text-transform: uppercase;
	width: 100%;
	height: 100%;
	display: block;
	margin: 0;
}
.footer-content {
    margin-top: 200px;
    font-size: 12px;
}

.page-wrapper {
    top: 0;
    height: 100%;
    width: 100%;
    max-width: none;
    background: url("../pic/back.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 20%;
    background-attachment: fixed;
    min-height: 1200px;
}

.page-wrapper.login .text-container {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 10px;
    border-radius: 10px;
}

.white-background {
    background: none;
}

.infos article {
    color: #fff;
}

.infos article h2 {
    color: #b8daf8;
}

section.infos article h2 {
    color: #fcece4;
    text-shadow: 2px 2px 4px #000;
}

section.infos article p {
    color: #fbf4ec;
    text-shadow: 1px 1px 1px #000;
}

section.infos article a {
    color: #fff;
}

.footer-content {
    background: none;
}

div.external-links {
    background: none;
}

div.external-links .line {
    color: #fff;
    background-image: none;
    background-color: #646869;
}
.external-links ul li {
    color: #fff;
}
div.external-links li > a, div.external-links {
    color: #fff;
}

div.whole-width {
    background-image:url(../pic/index2.jpg);
	background-size:cover;
	background-repeat:no-repeat;
	border-radius: 20px;
    /* background: #fff; */
    padding-bottom: 30px;
    /* background-color: rgba(0, 0, 0, 0.7); */
    padding-top: 10px;
}

	div.text-container {
		background-color: rgba(255, 255, 255, 0.6);
    padding: 10px;
    border-radius: 10px;
	}
	
@media only screen and (min-width: 25em) {
	
	header .menus .control {
		display: none;
	}
	
	header .menus .menu {
		display: inline-block;
		position: static;
		background-color: transparent;
		font-size: 1em;
		box-shadow: none;
	}
	
	header .menus .menu ul.top-menu {
		background-color: transparent;
	}
	
	header .menus .menu ul.top-menu > li {
		display: inline-block;
		background-color: transparent;
		border: 0;
	}
	
	header .menus .menu ul.top-menu > li:HOVER, 
	header .menus .menu ul.top-menu > li:FOCUS {
		background-color: transparent;
	}
	
	header .menus .menu ul.top-menu > li > a {
    color: #fff;
    border: 1px solid aliceblue;
    border-radius: 10px;
    background: #4488dd;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 8px;
    padding-bottom: 8px;
	}
	
	header .menus .menu ul.top-menu > li:HOVER > a, 
	header .menus .menu ul.top-menu > li:FOCUS > a {
		
		text-decoration: underline;
	}
}

@media only screen and (min-width: 50em) {
	
	header {
		height: 4.5em;
		background: #fff;
	}
	
	header img {
		/*max-width: 144px;
		margin: 1.2em 0.3em 0.1em 1em;*/
	}
	
	header .menus {
		font-size: 1.3em;
		padding-top: 0.3em;
	}
}



/** --- footer --- */

div.external-links {
	font-size: 1.1em;
}


/** --- Proposed profiles --- */

section.proposed-members {
	margin: 0 auto;
	text-align: center;
	height: 8.2em;
	overflow: hidden;
}

section.proposed-members article {
	display: inline-block;
	margin: 0 auto 1em;
	padding: 0 0.5em 0;
}

section.proposed-members article .tile-content {
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	padding: 0.3em;
	display: block;
	text-align: center;
	margin: 0 auto;
	border: 0.1em solid #fff;
	-webkit-box-shadow: 2px 2px 2px rgba(150, 150, 150, 0.3);
	-moz-box-shadow: 2px 2px 2px rgba(150, 150, 150, 0.3);
	box-shadow: 2px 2px 2px rgba(150, 150, 150, 0.3);
	position: relative;
	background-color: rgba(231, 203, 176, 0.7);
	color: #a5874a;
	height: 7.5em;
	width: 6em;
}

section.proposed-members article .tile-content:HOVER, 
section.proposed-members article .tile-content:FOCUS {
	-webkit-box-shadow: 2px 2px 2px rgba(50, 50, 50, 0.1);
	-moz-box-shadow: 2px 2px 2px rgba(50, 50, 50, 0.1);
	box-shadow: 2px 2px 2px rgba(50, 50, 50, 0.1);
}

section.proposed-members article .tile-content > div.main:HOVER, 
section.proposed-members article .tile-content > div.main:FOCUS {
	cursor: pointer;
}

section.proposed-members article .tile-content h3 {
	margin: 0 0 0.3em;
	font-size: 1em;
	overflow: hidden;
	color: #000;
}

section.proposed-members article .circle-img-frame {
	display: block;
	position: relative;
	width: 90%;
	border-color: #fff; /*#853852;*/
	margin: 0 auto 0.3em;
	max-width: 90%;
	background-color: #fff; /*#853852;*/
}

section.proposed-members article .circle-img-frame:BEFORE {
	content: "";
	display: block;
	padding-top: 100%;
}

section.proposed-members article .circle-img-frame img {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	pointer-events: none;
	max-width: 100%;
}

section.proposed-members article a {
	text-decoration: none;
}

@media only screen and (min-width: 30em) {

	section.proposed-members article .tile-content {
		padding-bottom: 0;
	}
	
	section.proposed-members article h3 {
		font-size: 1.2em;
		margin: 0.3em 0 0.6em;
	}
}

@media only screen and (min-width: 40em) {
	
	section.proposed-members article {
		padding: 0 0.8em;
	}
}

@media only screen and (min-width: 50em) {
	
	section.proposed-members {
		margin-top: 2em;
		margin-bottom: 1em;
	}
}

@media only screen and (min-width: 68em) {
		
	section.proposed-members article h3 {
		font-size: 1.5em;
	}
	
	section.proposed-members article {
		padding: 0 1.4em;
	}
}

/** --- Content container --- */

div.text-container {
	margin-bottom: 1em;
}

div.text-container p {
	margin: 0 0 0.6em;
	text-align: justify;
	font-size: 1.1em;
}

@media only screen and (min-width: 28em) {
	
	div.text-container {
		margin: 0 0 2em;
	}
}

@media only screen and (min-width: 37.5em) {
	
	div.text-container {
		padding: 1em;
	}
}

@media only screen and (min-width: 50em) {
	
	div.text-container {
		border: 0.1em solid #e3e3e3;
		margin: 1em 1em 2em;
		padding: 1em 1.4em;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		font-size: 1.2em;
		line-height: 1.4em;
	}
}

@media only screen and (min-width: 63em) {
	
	div.text-container {
		margin: 1em 2em 2em;
	}
	
	div.text-container p {
		line-height: 1.5em;
	}
}

@media only screen and (min-width: 68em) {
	
	div.text-container {
		padding: 1em 1.5em;
	}
	
}

div.container {
	line-height: 1.4em;
	font-size: 1.1em;
	margin: 2em 1em 0;
	padding: 1.5em 1.3em 1.2em;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	background-color: rgba(235, 215, 205, 0.88);
	-moz-box-shadow: 2px 3px 6px 2px rgba(105, 10, 10, 0.35);
	-webkit-box-shadow: 2px 3px 6px 2px rgba(105, 10, 10, 0.35);
	box-shadow: 2px 3px 6px 2px rgba(105, 10, 10, 0.35);
}

div.container p {
	text-align: justify;
	margin: 0.5em 0;
	font-size: 1.1em;
	line-height: 1.4em;
}

div.container a:HOVER, div.container a:FOCUS, div.container a:ACTIVE {
	color: #248; /*#853852;*/
}

ol > li, ul >li {
	margin: 0.7em 0;
	padding: 0 0 0 0.5em; 
}

ol > li > p, ul > li > p, 
section.intend-small > ol > li > p, section.intend-small > ul > li > p {
	margin: 0 1em 0.25em 0;
}

section.intend-small > ol > li > ul {
	list-style: disc;
	margin-left: 2em;
	margin-bottom: 0.5em;
}

section.intend-small > ol > li > ul > li {
	font-size: 0.95em;
	margin: 0.2em 0;
}

@media only screen and (max-width: 37.5em) {

	ol > li, ul >li {
		margin: 0.8em 0;
		padding: 0 0 0 0.2em; 
	}
	
	section.intend-small > ol > li > ul {
		margin-left: 1.25em;
	}
}

@media only screen and (max-width: 42.5em) {

	div.container {
		padding-top: 1em;
	}
}

/** --- Registration page --- */

.register-welcome {
	line-height: 1.4em;
	margin-bottom: 2em;
}

.register-welcome a {
	text-decoration: underline;
	font-size: 1.3em;
	display: block;
	padding: 0.5em 0;
}

.hide-on-mobile.hidden {
	display: none;
}

.register .form-area {
	margin: 1em 0 0.5em;
}

.register .form-area .phone, .register .form-area .captcha {
	margin: 0;
}

.register .form-area .phone, .register .form-area .captcha input {
	margin-left: 1em;
}

.register .form-area .phone label.main {
	display: none;
}

.register .form-area .phone div {
	width: 20%;
	display: inline-block;
}

.register .form-area .phone div.small {
	width: 18%;
}

.register .form-area .phone div.long {
	width: 50%;
}

.register .form-area .phone div.help {
	width: 5%;
	margin-left: 0.2em;
}

.register .form-area .phone div > label {
	font-size: 0.8em;
	display: block;
	text-align: center;
	word-wrap: break-word;
}

.register .form-area .phone .icon-help {
	color: #248; /*#853852;*/
}

.register .form-area .phone .icon-help:BEFORE {
	margin: 0;
}

.register .form-area .captcha div {
	width: 45%;
	display: inline-block;
	vertical-align: middle;
}

.register .form-area .captcha span.text {
	display: block;
	font-size: 0.8em;
	color: #575656;
}

.register .form-area .captcha img {
	background-color: #f7f7f7;
	margin: 0.2em 0.5em 0 0;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	box-shadow: 0px 0px 2px rgba(1, 1, 1, 0.3) inset, 0px 0px 0px 1px rgba(1, 1, 1, 0.07);
	box-shadow: 0px 1px 3px rgba(10, 10, 10, 0.5) inset, 0px 0px 0px 1px rgba(1, 1, 1, 0.07);
}

.register .step1 .form-area .buttons .btn:FIRST-CHILD {
	 float: left;
}

.register .step1 .form-area .buttons .btn:LAST-CHILD {
	 float: right;
}

.register .step1 .form-area textarea {
    height: 5em;
}


.register .step1 .form-area h3 {
    margin: 1em 0 0.5em;
}

.register .step1 .form-area .hide-on-mobile {
    margin-bottom: 0em;
}

@media only screen and (min-width: 44em) {
	
	.register .register-welcome {
		-moz-column-count: 2;
		-webkit-column-count: 2;
		column-count: 2;
		-webkit-column-gap: 2em;
		-moz-column-gap: 2em;
		column-gap: 2em;
		font-size: 0.95em;
	}

	.register a.partially-active {
		pointer-events: none;
		text-decoration: none;
		margin-top: 1em;
	}
	
	.register a.partially-active:HOVER, .register a.partially-active:FOCUS {
		cursor: default;
	}

	.hide-on-mobile.hidden {
		display: block;
		font-size: 0.85em;
	}
	
    .register .welcome-text {
        margin-bottom: 3em;
        font-size: 15px;
    }
    
	.register .form-area div.multi-column-left,
	.register .form-area div.multi-column-right {
		width: 47%;
		display: inline-block;
	}
	
	.register .form-area div.multi-column-left {
		float: left;
	}
	
	.register .form-area div.multi-column-right {
		float: right;
	}
	
	.register .form-area div.multi-column-right > fieldset:LAST-CHILD {
		margin-top: 4em;
	}
}
	

@media only screen and (min-width: 50em) {
	
	
	.register .register-welcome {
		-moz-column-count: 1;
		-webkit-column-count: 1;
		column-count: 1;
		font-size: 1em;
	}
	
	.register .form-area div.multi-column-left,
	.register .form-area div.multi-column-right {
		width: 46%;
	}

    
    .register .form-area div.multi-column-right > fieldset:first-child {
        margin-top: 0em;
    }
	.register .form-area div.multi-column-right > fieldset:LAST-CHILD {
		margin-top: 1.5em;
	}
}

@media only screen and (min-width: 60em) {
	
    .register .form-area div.multi-column-left {
		padding-left: 1em;
	}    
    .register .form-area div.multi-column-right {
        padding-right: 1em;
    }
}

.register .form-area.step2 .label.email,
.register-welcome .email {
	color: #248; /*#853852;*/
	font-weight: bold;
	margin: 0.5em 0 0.5em 1em;
	font-size: 1.5em;
}

.register .form-area.step2 .multi-column-right {
    margin-top: 3em;
}

.register .step2 .ineditable {
    margin-left: 1em;
}

.register .step2 .ineditable label {
    margin-left: -0.5em;
}

.register .form-area.step2 {
    font-size: 1.1em;
}

.register .step2 .buttons, .register .step3 .buttons {
	text-align: center;
}

.register .step2 .buttons {
    margin-top: 3em;
}

.register .step2 .buttons .btn, .register .step3 .buttons .btn {
	float: none;
	margin: 0.5em 0.5em;
}

.register.step3 .register-welcome.step3 p {
    line-height: 1.4em;
}


@media only screen and (min-width: 28em) {

	.register .step2 .buttons .btn {
		float: right;
	}

	.register .step2 .buttons .btn:FIRST-CHILD {
		float: left;
		margin-left: 0;
	}
		
	.register .step3 .buttons .btn {
		display: block;
		position: relative;
		left: 20%;
		width: 60%;
	}
	
}

@media only screen and (min-width: 44em) {
	
	.register .register-welcome.step3 {
		-moz-column-count: 1;
		-webkit-column-count: 1;
		column-count: 1;
		font-size: 1em;
	}
	
	.register .step3 .buttons .btn {
		left: 30%;
		width: 40%;
	}
}

@media only screen and (min-width: 50em) {
	
	.register .step2 .ineditable {
		display: block;
		margin: 1em 0 1em 0.5em;
	}
    .register .form-area.step2 .multi-column-left {
        margin-top: 1em;
        padding-right: 1em;
    }
    .register .form-area.step2 .multi-column-right {
        margin: 0;
        padding-right: 0em;
        padding-left: 1em;
    }
    
	.register .step2 .ineditable label {
		margin-left: -0.5em;
		display: block;
	}
	
    .register.step3 .text-container {
        max-width: 45em;
        margin-left: auto;
        margin-right: auto;
    }
    
	.register .step3 .buttons .btn {
		left: 33%;
		width: 34%;
	}
}

/** --- Facebook assign --- */

.page-wrapper.face .text-container {
	max-width: 30em;
    margin-left: auto;
    margin-right: auto;
}

.icon-right-open.fb {
	font-size: 0.9em;
	color: #248; /*#853852;*/
	display: inline;
}

.form-area.fb-email {
	margin-top: 1.5em;
}

.form-area.fb-email span.text {
	width: 100%;
}

.form-area.fb-email input {
	margin: 0.5em 0;
}

.form-area.fb-email .buttons {
	margin: 0.5em 0 0;
}

@media only screen and (min-width: 50em) {

	.form-area.fb-email span.text, .form-area.fb-email input, .form-area.fb-email a {
		display: inline-block;
	} 
}

/** --- Activation --- */

.page-wrapper.activation .text-container {
	max-width: 50em;
	margin-left: auto;
	margin-right: auto;
}

@media only screen and (min-width: 65em) {
	.page-wrapper.activation section.left {
		margin: 0;
		padding-left: 2em;
	}
	
	.page-wrapper.activation section.right {
		padding-right: 2em;
	}
}

/** --- About --- */

.page-wrapper.about p {
	line-height: 1.4em;
}

.page-wrapper.about h1 {
	text-transform: capitalize;
}

.page-wrapper.about .label {
	font-size: 1.5em;
	margin-bottom: 1em;
}

.page-wrapper.about section.img {
	display: none;
}

.page-wrapper.about section.img div.img {
	overflow: hidden;
	margin: 0 0 0 2em;
}

.page-wrapper.about section.img img {
	color: #131313;
	display: block;
	margin-top: -5em;
}

@media only screen and (min-width: 40em) {
	
	.page-wrapper.about div.whole-width {
		width: 100%;
		margin-bottom: 2em;
	}
	
	.page-wrapper.about section.img {
		display: inline-block;
		width: 17em;
		float: right;
		margin: 0;
	}
	
	.page-wrapper.about section.about {
		overflow: hidden;
		display: inline;
	}
}

@media only screen and (min-width: 50em) {

	.page-wrapper.about .text-container {
		border: 0;
		background-color: transparent;
		margin: inherit;
		padding: inherit;
	}
	
	.page-wrapper.about section.img {
		width: 14.5em;
		margin-right: 1em;
	}
}



/** --- Login --- */

@media only screen and (min-width: 60em) {

	.page-wrapper.login .text-container {
		max-width: 50em;
		margin: 2em auto;
	}
}

/** --- Logout --- */

@media only screen and (min-width: 50em) {
	
	.page-wrapper.logout .text-container {
		max-width: 75%;
		margin: 1em auto;
	}
}