body {
    margin:0px auto;
    height: 650px;
    width: 760px;
    background: white;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
    -ms-touch-action: manipulation; 
    touch-action: manipulation;
}

@font-face {
    font-family: Century_Gothic;
    src: url('4_Century Gothic.ttf');
}

*:not(input):not(textarea):not(area):not(map){
   -webkit-touch-callout: none;
   -webkit-user-select: none;
   -khtml-user-select: none;
   -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);    
}

*:not(input):not(textarea)::selection 
{
    background-color:transparent;
} 
*:not(input):not(textarea)::-moz-selection
{
    background-color:transparent;
}

.PageMover .TheText {
    line-height: 21px;
}

#loader {
    background: url(../assets/images/loader.gif) no-repeat;
    background-position: center;
    width: 760px;
    height: 422px;
    position: absolute;
    top: 0px;
    display: none;
    z-index: 99;
}

#animation_container{
    background-image: url('../assets/images/make_a_rhyme_background.jpg');
	background-color:rgba(255, 255, 255, 1); 
	width:760px; 
	height:420px; 
	position: absolute;
    border: 1px solid rgb(0, 102, 153);
    pointer-events: none;
}

#canvas{
	position: absolute; 
	display: block; 
	background-color:rgba(255, 255, 255, 0);
}

#dom_overlay_container{
	pointer-events:none; 
	overflow:hidden; 
	width:760px; 
	height:420px; 
	position: absolute; 
	left: 0px; 
	top: 0px; 
	display: block;
}

#page1,#page2,#page3{    
	position: absolute;
    width: 760px;
    height: 260px;
    top: 110px;
    z-index: 1;
}
#page1{    
    pointer-events: none;
}

.draggable-container{
    width: 675px;
    height: 43px;
    margin: auto;
    text-align: center;
}

#page1 .draggable-container{
    width: 544px;
    margin-left: 140px;
}

#page1 .draggable{
    float: left;
    font-size: 24px;
    font-weight: bold;
    background-color: #feea99;
    border-radius: 50% 50%;
    width: 36px;
    height: 36px;
    text-align: center;
    margin-right: 68px;
    touch-action: none;
    -ms-touch-action: none;
    pointer-events: all;
}

.isAndroid #page1 .draggable,
.IsiPad #page1 .draggable,
.isSafari #page1 .draggable{    
    line-height: 37px;
}

#page2 .draggable{
	float: left;
    font-size: 26px;
    line-height: 26px;
    background-color: #feea99;
    border-radius: 20px;
    width: 70px;
    height: 30px;
    text-align: center;
    margin-right: 25px;
    touch-action: none;
    -ms-touch-action: none;
    vertical-align: middle;
}

.draggable{
    cursor: pointer;
}

.ui-draggable-disabled{
    cursor: default !important;
}

.poem{
	font-size: 25px;
    font-style: italic;
    width: 500px;
    margin-left: 140px;
    line-height: 43px;
}

.poem div{
	display: inline-block;
	vertical-align: top;
}

.droppable-poem{
	background-color: #ffffff;
    width: 64px;
    height: 25px;
    border-radius: 21px;
    border: 3px solid #feea99;
}

.instructions-header{
    position: absolute;
    top: 61px;
    width: 734px;
    height: 40px;
    padding-left: 26px;
}

.poem-segment{
    position: absolute;
    top: 48px;
    left: 92px;
}

#circle_content {
    float: left;
    cursor: pointer;
}

#content-text{
    pointer-events: none;
}

.circle {
    cursor: pointer;
    width: 24px;
    height: 24px;
    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
    border-radius: 12px;
    margin-top:7px;
    margin-left:10px;
    background: #00abfd;
    float: left;
}

.instructions-header .circle{
    margin-top:9px;
}

.IsTouch .circle:hover,
.IsiPad .circle:hover{  
    background: #00abfd;
}

.circle:hover {
    background: #898989;

}

.play {
    margin-top:5px;
    margin-left:8px;
    border-top: 7px solid transparent;
    border-left: 12px solid white;
    border-bottom: 7px solid transparent;
    float: left;
}

.stop {
    width: 12px;
    height: 12px;
    margin-top:6px;
    margin-left:6px;
    background-color: #fff;
    float: left;
}

table{
    width: 505px;
    margin-left: 115px;
}

th{
	font-size: 25px;
	text-align: center;
}

td{
	font-size: 17px;    
    width: 122px !important;
	text-align: center;
	color: #003E9E;
	font-weight: bold;
}

#alert-area{
    /*IE*/
    display:block;
    background-color: #FFFFFF;
    color: #006699;
    border: 2px solid #0099e6;
    border-radius: 10px;
    width: 300px;
    height: 100px;
    margin: 190px 230px;
    position: absolute;
    padding: 12px;
    padding-left: 20px;
    padding-right: 20px;
    z-index: 5;
}

#alert-area p{
    font-size: 18px;
    width: 275px;
    height: 78px;
    float: left;
    position: absolute;
    margin-left: 20px;
}

#alert-area p strong{
    cursor: default;
}

.button-container{
    width: 370px;
    height: 35px;
    top: 385px;
    position: relative;
    padding-top: 4px;
}

.left-button-container{
    float: left;
    margin-left: 5px;
}

.right-button-container{
    float: right;
    margin-right: 5px;
}

.story{
    position: absolute;
    top: 208px;
    left: 9px;
}

.popup-circle{
    position: absolute;
    left: 0px;
    top: 25px;
}

#buttons{
    position: absolute;    
    right: 2px;
    top: 2px;
}

.message {
    border-radius: 10px;
    border: 2px solid #50d9fb;
    background: #06c9f9;
    padding: 15px 5px;
    margin: 180px auto 0;
    width: 120px;
    cursor: pointer;
}

.message p {
    color: #FFF;
    text-align: center;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.coverAll {
    display: none;
    position: absolute;    
    margin: 0 auto;
    top: 0;
    width: 762px;
    height: 420px;
    cursor: pointer;
    z-index: 100;
    background-color: rgba(6, 201, 249,0.3);
}

.patch{
    position: absolute;
    right: 0;
    width: 100px;
    height: 60px;
    background: #006699;
    z-index: 99;
}

.droppable-poem{
    margin-top: 7px;
}

button{
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
    font-weight:bold;
    cursor: pointer;
    background-color: #FFFFFF;
    display:block;
    border-radius: 5px;
    padding-top:0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #006699;
    border: 1px solid #006699;
    text-align: center;
    touch-action: none;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

button{
    font-size: 18px;
    cursor: pointer !important;
    padding-top: 0px;
    height: 29px;
    min-width: 75px;
    vertical-align: middle;
}

.close{
    width: 56px;
    color: #006699;
    text-align: center;
    margin-top: 0;
    line-height: 0;
    z-index: 5;
}

#instructions-text{
    position: absolute;
    left: 72px;
    top: 0px;
}

.isSafari #instructions-text{
	top: 3px;
}

.instuctions-centred{
    top: 10px !important;
}

.IsDeskTop button:hover{
    background-color: rgb(254, 234, 153);
}

footer{
    position: relative;
    top: 387px;
    margin: auto;
    text-align: center;
    pointer-events: none;
}
small{
    display: inline-block;
}