* {
    padding: 0;
    margin: 0;
    overflow: hidden;
}

input, textarea {
    -webkit-appearance: none;
    -webkit-border-radius: 0;
}

.align-centre {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateY(-50%) translateY(-25px) translateX(-50%);
    -ms-transform: translateY(-50%) translateY(-25px) translateX(-50%);
    transform: translateY(-50%) translateY(-25px) translateX(-50%);
}

@font-face {
    font-family: 'Aaargh';
    src: url('font/Aaargh.ttf');
}

.disableSelect {
    -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;
}

#startPage {
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    margin: 10px;
    /*font-family: 'Aaargh', sans-serif;*/
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    text-align: center;
    font-size: 24pt;
    font-weight: 500;
    color: #ffffff;
    border: 1px #333 solid;
}

.backgroundGreen {
    background-color: #009b77;
}

.backgroundYellow {
    background-color: #efc050;
}

.backgroundPurple {
    background-color: #6F4181;
}

.backgroundOrange {
    background-color: #e1523d;
}

.backgroundBlue {
    background-color: #5b5ea6;
}

.backgroundPink {
    background-color: #D65076;
}

#startPageText {
    margin: auto;
    width: 650px;
    font-size: 12pt;
}

#fontNote, #footNoteLeft {
    position: absolute;
    text-align: right;
    /*font-family: 'Aaargh', sans-serif;*/
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 10pt;
    color: #fff;
    bottom: 0;
    right: 0;
    padding: 10px;
    text-shadow: 0 0 1px rgba(1,1,1,0.3);
}

#fontNoteLeft {
    position: absolute;
    text-align: left;
    /*font-family: 'Aaargh', sans-serif;*/
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 10pt;
    color: #fff;
    bottom: 0;
    left: 0;
    padding: 10px;
    text-shadow: 0 0 1px rgba(1,1,1,0.3);
}

#startTextBox {
    padding: 5px;
    font-size: 14pt;
    /*font-family: 'Aaargh', sans-serif;*/
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    
    width: 500px;
}

#startTextButton.over {
    background-color: #000000;
}

#startTextButton, #doneButton {
    padding: 4px;
    font-size: 14pt;
    /*font-family: 'Aaargh', sans-serif;*/
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    border: 1px solid #333;
    cursor: pointer;
}

#startTextButton {
    background-color: #FFFFFF;
}

#startTextButton:hover {
    background-color: #EEEEEE;
}

#startTextButton:active {
    background-color: #DDDDDD;
}

#doneButton {
    font-size: 18pt;
    font-family: sans-serif, Arial, Verdana, "Trebuchet MS";
    color: #ffffff;
    padding: 13px;
}

#okButton {
    font-size: 20pt;
    color: #ffffff;
    padding: 10px;
    border: 1px #333 solid;
}

#doneButton:hover, #okButton:hover{
    opacity: 0.8;
}

#doneButton:active, #okButton:active{
    opacity: 0.6;
}


#sideBar {
    position: absolute;
    left: 0;
    height: calc(100% - 123px);
    width: 200px;
    text-align: center;
    border: 1px #333 solid;
    margin: 10px 0 10px 10px;
    overflow-y: scroll;
    overflow-x: hidden;
    /*background-image: url("../images/drag.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 180px 60px;*/
}

#sideBar img {
    pointer-events: none;
}

#sideText {
    margin-top: -12px;
}

#doneArea {
    position: absolute;
    width: 200px;
    height: 100px;
    left: 0;
    bottom: 10px;
    /*font-family: 'Aaargh', sans-serif;*/
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    margin: 0 10px;
    background-color: white;
    text-align: center;
    font-size: 24pt;
    border: 1px #333 solid;
}

#doneSubArea {
    margin-top: 20px;
}

#sortArea {
    position: absolute;
    left: 200px;
    width: calc(100% - 221px);
    height: calc(100% - 22px);
    margin: 10px 0 10px 10px;
    border: 1px #333 solid;
    border-left: none;
    align-content: center;
    overflow-y: scroll;
    overflow-x: hidden;
}

#card {
    display: block;
    width: 150px;
    height: 70px;
    background-color: #fff;
    border: 1px #333 solid;
    padding: 5px;
    /*font-family: 'Aaargh', sans-serif;*/
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    text-align: center;
    font-size: 10pt;
    color: #333;
    margin: 10px auto 10px auto;
    overflow: hidden;
    cursor: pointer;
    pointer-events: auto;
    z-index: 10;

}

#card div {
    display: table-cell;
    width: 150px;
    height: 70px;
    vertical-align: middle;
}

#card:last-child {
    margin-bottom: 60px;
}

#dropBox {
    display: inline-block;
    position: relative;
    width: 200px;
    min-height: 150px;
    /*border: 1px #333 solid;*/
    font-family: 'Impact', sans-serif;
    color: #FFFFFF;
    text-align: center;
    font-size: 24pt;
    vertical-align: top;
    margin: 10px;
    overflow: visible;
    pointer-events: none;
}

#dropBox.hovered {
    background-color: #efc050;
}

#dropBox.hoveredForYellow {
    background-color: #e1523d;
}

#card.hovered {
    background-color: #efc050;
}

#card.hoveredForYellow {
    background-color: #e1523d;
}

#card.unhighlighted {
    opacity: 0.3;
}

.highlight {
    background-color: yellow;
}

#dropText {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto -8px auto;
}

#dialog {
    z-index: 999999;
    display: none;
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    margin: 10px;
    background-color: rgba(255,255,255, 0.5);
    /*font-family: 'Aaargh', sans-serif;*/
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    text-align: center;
    font-size: 24pt;
    color: #ffffff;
    border: 1px #333 solid;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

#dialogBox {
    margin: auto;
    width: 600px;
    border: 1px #333 solid;
    background-color: white;
    color: #333;
    padding: 10px;
    font-size: 12pt;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

#dialogTitle {
     font-size: 24px;
 }

#dialogText {
    font-size: 18px;
}

a {
    color: #EEEEEE;
    font-weight: bold;
    text-decoration: none;
}

/* CSS3 calc() fallback */
#css3-calc {
    width: 10px;
    width: calc(10px + 10px);
    display: none;
}

.scrollSquareMain {
    width: 80px;
    height: 58px;
    position: fixed;
    left: calc((100% - 201px) / 2 + 200px - 40px);
    border: 1px #333 solid;
    background-color: #FFFFFF;
    z-index: 5;
    /*visibility: hidden;*/
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-user-select: none;
}

.scrollSquareMainTop {
    top: 10px;
    background-image: url("../images/sort/upArrow.png");
}

.scrollSquareMainBottom {
    bottom: 10px;
    background-image: url("../images/sort/downArrow.png");
}

.scrollSquareSide {
    width: 80px;
    height: 58px;
    position: fixed;
    left: 60px;
    border: 1px #333 solid;
    background-color: #FFFFFF;
    z-index: 5;
    visibility: hidden;
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-user-select: none;
}

.scrollSquareSideTop {
    top: 10px;
    background-image: url("../images/sort/upArrow.png");
}

.scrollSquareSideBottom {
    top: calc(100% - 171px);
    background-image: url("../images/sort/downArrow.png");
}

.filterBox {
    border: 1px #333 solid;
    position: fixed;
    left: 211px;
    bottom: 10px;
    height: 50px;
    width: 250px;
    text-align: center;
    padding: 4px;
    margin: 0px;
    font-size: 12pt;
    /*font-family: 'Aaargh', sans-serif;*/
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    z-index: 5;
}

.clearButton {
    border: 1px #333 solid;
    background-color: white;
    position: fixed;
    left: 470px;
    bottom: 10px;
    height: 60px;
    width: 60px;
    text-align: center;
    padding: 4px;
    display: table-cell;
    vertical-align: bottom;
    font-size: 24pt;
    font-family: arial, helvetica, sans-serif;
    z-index: 6;
}

/*Should remove the ms-clear 'x' from the box*/
.filterBox::-ms-clear {
    display: none;
}

/* This is a custom theme called "my-custom-theme" for tooltipster */
.my-custom-theme {
    border-radius: 0px;
    border: 2px solid #000;
    background: #FFF;
    color: #333;
}
/* Use this next selector to style things like font-size and line-height: */
.my-custom-theme .tooltipster-content {
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    padding: 8px 10px;
}

input[type=checkbox] {
    visibility: hidden;
}

.checkLabel {
    position: relative;
    top:-40px;
    left:100px;
    z-index:0;
    width: 520px;
    text-align: left;
}
.checkbox {
    width: 25px;
    height: 24px;
    margin: 10px 41px 0px;
    position: relative;
    z-index:0;

}

.checkbox label {
    cursor: pointer;
    position: absolute;
    width: 25px;
    height: 25px;
    top: 0;
    left: 0;
    background: #FFF;
    border:1px solid #CCC;
}

.checkbox label:after {
    opacity: 0.2;
    content: '';
    position: absolute;
    width: 9px;
    height: 5px;
    background: transparent;
    top: 6px;
    left: 7px;
    border: 3px solid #333;
    border-top: none;
    border-right: none;

    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

/**
 * Create the hover event of the tick
 */
.checkbox label:hover::after {
    opacity: 0.3;
}

/**
 * Create the checkbox state for the tick
 */
.checkbox input[type=checkbox]:checked + label:after {
    opacity: 1;
}
