/***** FRAME *****/
iframe#webcontent{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 60%;
	border: 0;
}
div#webcontent{
	display: table;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 60vw;
	border: 0;
}
div#webcontent #fb-root {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}
/* ~~ mobile ~~ */
@media only screen
and (max-width : 1024px) {
	.bar iframe#webcontent{
		width: 95%;
	}

	.button iframe#webcontent{
		width: 100%;
	}

	.bar div#webcontent{
		width: 95%;
	}

	.button div#webcontent{
		width: 100%;
	}
}


/**** SIDE BAR ***/
/*** CTA ***/
.bar #cta-handle {
	writing-mode:tb-rl;
	-webkit-transform:rotate(180deg);
	-moz-transform:rotate(180deg);
	-o-transform: rotate(180deg);
	-ms-transform:rotate(180deg);
	transform: rotate(180deg);
	white-space: nowrap;
	display: inline-block;
	bottom: 0;
	width: 5vw;
	line-height: 5vw;
	font-size: 2vh;
	height: 100%;
	text-align: center;
	margin-right: 2px;
	cursor: pointer;
	margin-left: -5vw;
	background-image: linear-gradient(to bottom, #0090da, #a4ce4e);
	display: none;
}

.button #cta-handle{
	bottom: 5vh;
    width: 76vw;
    display: none;
    margin-left: -82vw;
    text-align: center;
    position: absolute;
    border-radius: 10px 0 0 10px;
    line-height: 23px;
    font-size: 15px;
    color: #FFF;
    font-weight: bold;
    padding: 2vw;
    background: #0090da;
    border: 4px solid white;
}
/* ~~ mobile ~~ */
@media only screen
and (max-width : 1024px) {
	body {
		font-size: 2.2vw;
	}
	.bar #cta-handle{
		display: block;
	}
	.button #cta-handle{
		display: block;
	}
}
#cta-handle:before {
	line-height: 21px;
}
#sidebar.slide #feedback-handle:before {
	line-height: 21px;
}


/*** FORM ***/
#sidebar {
	transition: all .75s ease;
	height:100%;
	position: fixed;
	top:0;
	bottom:0;
	right:0;
	background: #E4E4E4;
	/*overflow: hidden;
	overflow-y: auto;*/
	width: 40vw;
}
#close-sidebar{
	position: absolute;
	right: 5px;
	top: 5px;
	background: rgba(210, 0, 0, 0.52);
	width: 40px;
	height: 40px;
	text-align: center;
	border-radius: 100%;
	line-height: 40px;
	font-size: 20px;
	color: #FFF;
	font-weight: bold;
	display: none;
}
.goril.card{
	margin-right: 1.5%;
}
/* ~~ mobile ~~ */
@media only screen
and (max-width : 1024px) {
	#sidebar{
		width: 100vw;
		right: -100vw;
	}

	#sidebar.slide{
		right: 0vw;
	}
	/*** To show the [X] on mobile **/
	#intro.intro.inline-block h3{
		/** The h3 text needs to avoid being overlapped by the [X] **/
		padding-right: 40px;
	}
	#close-sidebar{
		display: block;
	}
}

#sidebar .content {
	display: block;
	width: 99%;
	height: 100%;
	margin: 0 auto;
	position: absolute;
	top: 0;
	left: 1vw;
	overflow-y:auto;
}

#profile-pic-container {
	width:30%;
	max-width: 100px;
	margin: 10px 0;
	padding-top: 8%;
}

#profile-pic {
	width: 90px;
	height: 90px;
	border-radius: 90px;
}

#intro {
	width: 70%;
	margin: 10px 0;
}

#intro h3 {
	font-size: 1.1em;
	color: #888;
}
#intro p {
	font-size: 0.9em;
	color: #333;
}


@media only screen
and (min-device-width : 813px)
and (max-device-width : 1024px) {
	#profile-pic {
		width: 80px;
		height: 80px;
		border-radius: 80px;
	}
}

/** manage for solo overrides **/
body.solo iframe#webcontent {
    display: none;
}
body.solo div#cta-handle {
    display: none;
}
body.solo div#sidebar {
    width: 100% !important;
    right: 0vw !important;
}
body.solo div#close-sidebar {
    display: none !important;
}

/*@media only screen
and (min-device-width : 375px)
and (max-device-width : 812px) {
	/*#sidebar {
		width:20px;
	}
	#sidebar.slide {
		width:98%;
	}* /
	#profile-pic-container {
		width:97%;
		max-width: 97%;
	}

	#profile-pic {
		width: 100px;
		height: 100px;
		border-radius: 150px;
		display: block;
		margin: 0 auto;
	}
	#intro {
		width: 97%;
		text-align: center;
		margin-top:0;
	}
	#intro h3 {
		font-size:1.1em;
	}
	#intro p {
		font-size: 1em;
	}
}*/
