body,html{
	background-color: #333333;
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: 'Cardo', serif;
	font-size: 12pt;
	overflow: hidden;
}

a, a:hover, a:link, a:visited, a:active {
    color: #333333;
    text-decoration: none;
}

.hidden {
	display: none;
}

.clear {
	clear: both;
}

.wrapper {
    width: 100%;
    height: 100%;
    max-width: 1440px;
    margin: 0 auto;
	position: relative;
	color: #414040;
	box-shadow: 0 0 15em 6em rgba(0,0,0,.5);
}

.backContainer {
	width: 100%;
	height: 100%;
	position: relative;
	z-index: 1;
}

.backPic {
	width: 33.3333333%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	z-index: 1;
	opacity: 0;
	transition: 1s;
}

.backPic#clintonPic {
	background-color: rgba(0, 17, 199, .25);
	top: -100%;
	left: 0;
}

.backPic#sandersPic {
	background-color: rgba(255, 255, 255, .25);
	left: 33.33333333%;
	top: 100%;
}

.backPic#trumpPic {
	background-color: rgba(184, 0, 0,.25);
	left: 66.666666666%;
	top: -100%;
}

.backPic#clintonPic.loaded,
.backPic#sandersPic.loaded,
.backPic#trumpPic.loaded {
	opacity: 1;
	top: 0;
}

body.clinton .backPic#clintonPic,
body.sanders .backPic#sandersPic,
body.trump .backPic#trumpPic {
	width: 100%;
	left: 0;
	z-index: 5;
}

body.clinton .backPic#sandersPic,
body.clinton .backPic#sandersPic.loaded,
body.clinton .backPic#trumpPic,
body.clinton .backPic#trumpPic.loaded,
body.sanders .backPic#clintonPic,
body.sanders .backPic#clintonPic.loaded,
body.sanders .backPic#trumpPic,
body.sanders .backPic#trumpPic.loaded,
body.trump .backPic#clintonPic,
body.trump .backPic#clintonPic.loaded,
body.trump .backPic#sandersPic,
body.trump .backPic#sandersPic.loaded {
	opacity: 0;
}

.backPic img {
	display: block;
	width: auto;
	height: 100%;
	position: absolute;
	z-index: 1;
	transition: 1s;
	top: 0;
	left: 0;
}

.backPic#clintonPic img {
	left: -65%;
}

.backPic#sandersPic img {
	left: -25%;
}

.backPic#trumpPic img {
	left: -65%;
}

body.clinton .backPic#clintonPic img {
	left: 33%;
}
body.sanders .backPic#sandersPic img {
	left: 33%;
}
body.trump .backPic#trumpPic img {
	left: 33%;
}
.backPic .overlayPic {
	position: absolute;
	z-index: 2;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

.backPic#clintonPic .overlayPic {
	background-color: rgba(0, 17, 199, 0.5);
}

.backPic#sandersPic .overlayPic {
	background-color: rgba(255,255,255,.5);
}

.backPic#trumpPic .overlayPic {
	background-color: rgba(184, 0, 0,.5);
}

.formContainer {
	position: absolute;
	bottom: 25px;
	left: 50%;
	right: auto;
	width: 650px;
	margin-left: -300px;
	z-index: 2;
    padding: 15px 25px 25px;
    background-color: #E7E4E4;
	border: 5px solid #CAC4C4;
    box-shadow: 0 0 10px rgba(0,0,0,.5);
	transition: 1s;
	box-sizing: border-box;
}

body.clinton .formContainer,
body.sanders .formContainer,
body.trump .formContainer {
	left: 25px;
	margin-left: 0;
}

.inputContainer {
    transition: 1s;
    margin-bottom: 20px;
    opacity: 1;
	overflow: hidden;
	box-sizing: border-box;
}

.inputContainer#chooseMood.active {
    height: 108px;
}

.inputContainer.closed,
.inputContainer#chooseMood.closed {
    margin-bottom: 0;
	height: 0;
    opacity: 0;
}

h1 {
    text-transform: uppercase;
    text-align: center;
    padding: 0;
    margin: 0 0 10px;
    border-bottom: 1px solid #cccccc;
    font-size: 2em;
}

h2 {
    text-align: center;
    margin: 0 0 15px;
    font-size: 1.5em;
}

h1 i.fa, h2 i.fa {
	transition: 1s;
	padding: 0 .15em;
	font-size: .8em;
	position: relative;
    top: -.1em;
}

body.clinton h1 i.fa, body.clinton h2 i.fa {
	color: rgba(0, 17, 199, 1);
}

body.sanders h1 i.fa, body.sanders h2 i.fa {
	color: rgba(119, 119, 119, 1);
}

body.trump h1 i.fa, body.trump h2 i.fa {
	color: rgba(184, 0, 0, 1);
}

h3 {
    text-align: center;
    margin: 0;
    transition: 1s;
    opacity: 0;
	height: 0;
	overflow: hidden
}

h4 {
    margin: 0 50px 3px;
}

.inputContainer.active h3 {
	opacity: 1;
	height: 40px;
}

.formContainer p {
    margin: 0 50px 15px;
    font-size: 1.1em;
	text-align: center;
}

.radioGroup {
    text-align: center;
    margin: 0 auto;
    border: 1px solid transparent;
    padding: 15px;
	transition: 1s;
	background-color: transparent;
	padding: 0;
	box-sizing: border-box;
}

.inputContainer.active .radioGroup {
    border-color: #cccccc;
    padding: 15px;
    background-color: rgba(255,255,255,.5);
}

.radioGroup input {
    display: none;
}

.radioGroup label {
    display: inline-block;
    background-color: #dddddd;
    padding: 6px 10px;
    margin: 0 6px;
    border: 1px solid #cccccc;
	transition: 1s;
	opacity: .6;
	cursor: pointer;
	box-sizing: border-box;
}

.radioGroup label i.fa {
    opacity: 0;
	font-size: .8em;
    padding: 0 2px;
	transition: 1s;
}

.radioGroup label.selected {
	color: #ffffff;
}

.inputContainer.active .radioGroup label {
	opacity: 1;
}

body.clinton .radioGroup label.selected {
	background-color: rgba(0, 17, 199, 1);
	opacity: 1;
}

body.sanders .radioGroup label.selected {
	background-color: rgba(119, 119, 119, 1);
	opacity: 1;
}

body.trump .radioGroup label.selected {
	background-color: rgba(184, 0, 0, 1);
	opacity: 1;
}

.radioGroup label.selected i.fa {
	opacity: 1;
	color: #ffffff;
}

.inputContainer#tweetText {
	margin-bottom: 0;
}

.inputContainer#tweetText.active {
    height: 185px;
}

.inputContainer.closed,
.inputContainer#tweetText.closed {
    margin-bottom: 0;
	height: 0;
    opacity: 0;
}

.inputContainer p {
    background-color: #f4f4f4;
    padding: 10px 15px;
    border: 1px solid #cccccc;
	margin-bottom: 8px;
	height: 91px;
	text-align: left;
	box-sizing: border-box;
}

.tweetButtons {
	text-align: right;
	margin: 0 50px;
}

a.tweetButton, span.tweetButton {
    color: #ffffff;
    display: inline-block;
    font-size: 1.5em;
    background-color: rgba(0, 0, 0, 1);
    width: 36px;
    height: 36px;
    border: 1px solid #cccccc;
    text-align: center;
    line-height: 39px;
	cursor: pointer;
}

body.clinton a.tweetButton, body.clinton span.tweetButton {
	background-color: rgba(0, 17, 199, 1);
}

body.sanders a.tweetButton, body.sanders span.tweetButton {
	background-color: rgba(119, 119, 119, 1);
}

body.trump a.tweetButton, body.trump span.tweetButton {
	background-color: rgba(184, 0, 0, 1);
}

footer {
    position: absolute;
    bottom: 0;
    z-index: 3;
    background-color: white;
    right: 0;
    padding: 2px 10px 2px 125px;
    color: #333333;
    font-weight: bold;
    font-size: .85em;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 50%, rgba(255,255,255,1) 100%);
    opacity: .5;
    transition: .5s;
}

footer:hover {
    opacity: 1;
}

@media all and (orientation:portrait) {

.backPic {
    width: 100%;
    height: 33.33333%;
}

.backPic#clintonPic {
    left: -100%;
	top: 0;
}

.backPic#clintonPic.loaded {
    left: 0;
	top: 0;
}

.backPic#sandersPic {
    left: 100%;
    top: 33.333333%;
}

.backPic#sandersPic.loaded {
    left: 0;
    top: 33.333333%;
}

.backPic#trumpPic {
    left: -100%;
    top: 66.66666%;
}

.backPic#trumpPic.loaded {
    left: 0;
    top: 66.66666%;
}

.backPic#clintonPic img {
    left: 55%;
}

.backPic#sandersPic img {
    left: 60%;
}

.backPic#trumpPic img {
    left: 55%;
}

.formContainer {
    left: 20px;
    margin-left: 0;
    bottom: auto;
    width: 400px;
	bottom: 50%;
    margin-bottom: -182px;
}

.radioGroup label {
    display: block;
    margin: 6px 0 0;
}

.radioGroup label:first-child {
    margin: 0;
}

.inputContainer#chooseMood {
    height: 122px;
}

.inputContainer#chooseMood.active {
    height: 192px;
}

.inputContainer#tweetText.active {
    height: 220px;
}

.inputContainer.closed, .inputContainer#tweetText.closed, .inputContainer#chooseMood.active.closed {
	height: 0;
}

body.clinton .backPic#clintonPic, 
body.sanders .backPic#sandersPic, 
body.trump .backPic#trumpPic {
    height: 100%;
	top: 0;
}

body.clinton .backPic#clintonPic img {
    left: 10%;
}

body.sanders .backPic#sandersPic img {
    left: 30%;
}

body.trump .backPic#trumpPic img {
    left: 0;
}

body.clinton .formContainer, body.sanders .formContainer, body.trump .formContainer {
    left: 20px;
	bottom: 20px;
	margin-bottom: 0;
}

.formContainer p {
    margin: 0 0 15px;
}

.inputContainer p {
    height: 120px;
}

h4 {
    margin: 0 0 3px;
}

.tweetButtons {
    margin: 0;
}

}

@media all and (orientation:landscape) {
	.inputContainer#chooseMood {
		height: 38px;
	}
}

@media (min-width: 768px) and (orientation:portrait) {

body,html{
	background: url('stripes.png');
}

}

@media (min-width: 1024px) and (orientation:landscape) {

body,html{
	background: url('stripes.png');
}

}

@media (max-width: 767px) and (orientation:portrait) {

body, html {
    font-size: 10pt;
    overflow: visible;
    background: none;
    background-color: #E7E4E4;
}

.backContainer {
    display: none;
}

.formContainer {
    width: 100%;
    margin: 0;
    top: auto;
    left: auto;
    bottom: auto;
    padding: 10px 15px 20px;
	box-shadow: none;
	border: none;
    position: relative;
}

body.clinton .formContainer, body.sanders .formContainer, body.trump .formContainer {
    left: auto;
    bottom: auto;
}

.inputContainer#chooseMood {
    height: 130px;
}

.inputContainer p {
    height: auto;
    font-size: 1.25em;
}

.radioGroup {
    font-size: 1.25em;
}

footer {
    position: relative;
    bottom: auto;
    right: auto;
    text-align: center;
    padding: 2px 10px;
    background: none;
    background-color: #E7E4E4;
    opacity: 1;
	color: #999999;
}

footer a,  footer a:hover,  footer a:visited, footer a:link, footer a:active {
    color: #999999;
}
	
}

@media (max-width: 1023px) and (orientation:landscape) {
	
body, html {
    font-size: 10pt;
    overflow: visible;
    background: none;
    background-color: #E7E4E4;
}

.backContainer {
    display: none;
}

.formContainer {
    width: 100%;
    margin: 0;
    top: auto;
    left: auto;
    bottom: auto;
    padding: 10px 15px 20px;
	box-shadow: none;
	border: none;
	position: relative;
}

body.clinton .formContainer, body.sanders .formContainer, body.trump .formContainer {
    left: auto;
    bottom: auto;
}

.inputContainer p {
    height: auto;
    font-size: 1.25em;
}

.radioGroup {
    font-size: 1.25em;
}

.radioGroup label {
    display: block;
    margin: 6px 0 0;
}

.radioGroup label:first-child {
    margin: 0;
}

.inputContainer#chooseMood {
    height: 130px;
}

.inputContainer#chooseMood.active {
    height: 192px;
}

.inputContainer#tweetText.active {
    height: 175px;
}

.inputContainer.closed, .inputContainer#tweetText.closed, .inputContainer#chooseMood.active.closed {
	height: 0;
}

.formContainer p {
    margin: 0 0 15px;
}

.inputContainer p {
    height: auto;
}

h4 {
    margin: 0 0 3px;
}

.tweetButtons {
    margin: 0;
}

footer {
    position: relative;
    bottom: auto;
    right: auto;
    text-align: center;
    padding: 2px 10px;
    background: none;
    background-color: #E7E4E4;
    opacity: 1;
	color: #999999;
}

footer a,  footer a:hover,  footer a:visited, footer a:link, footer a:active {
    color: #999999;
}

}