/*
    Rabih Kaddour
    http://kaddour-es.de/
    August, 2016.
*/


/************************************************** Dialog *****************************************************************/

#cPanel .container-close {
  background:transparent url(../img/close_red.png) no-repeat 0 0;
  color:transparent;
  display:inline-block;
  height:7px;
  right: 4px;
  text-decoration: none;
  text-indent:-999px;
  top: 4px;
  width:7px;
}

/**************************************** circle with numbers ******************************************************/
.badge-container {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    /* For hardware acceleration of animations on mobile. */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    margin: -20px; /* height / 2 */
    width:40px;
    height:40px;
}

    .badge-container.repaint {
        margin: -20px;
        width: 33px;
        height: 33px; /*radius from badge-circle = 30 + border size = 3px*/
        /*border: 3px solid #000;*/
    }

.badge-circle {
    border-radius: 50%;
    background-color: #6252C1;
    width: 40px;
    height: 40px;
    /*visibility:hidden;*/
}

.badge-circle.repaint {
    background-color: #ffffff;
    width:30px;
    height:30px;
    /*border: 3px solid #006400;*/
    border: 3px solid #000;
}

.badge-number {
    position: absolute;
    top: 50%;
    left: 50%;
    font-family: "Times New Roman", Times, serif;
    font-weight: bold;
    color: #ff0000;
    /*color: #006400;*/
    text-align: center;
    /*font-size:75%;*/
    font-size:14pt;
    transform: translate(-40%, -49%);
}

/**************************************** circle with numbers ******************************************************/
.numberCircle {
    border-radius: 50%;
    width: 36px;
    height: 36px;
    line-height: 36px;
    padding: 8px;
    background: #fff;
    /*border: 3px solid green;*/
    border: 3px solid #000;
    color: red;
    font: 32px Arial, sans-serif;
    text-align: center;
}
    .numberCircle.repaintMul {
        border: 3px solid #008000;
    }

.badgeCircle {
    position: relative;
    display: inline-block;
    width: 71px;
    height: 71px;
    line-height: 71px;
    border-radius: 50%;
    /* Just making it pretty */
    background: #fff;
    color: #ff0000;
    font-family: Helvetica, Arial Black, sans;
    font-size: 27px;
    text-align: center;
    border: 3px solid #008000;
}

    .badgeCircle.resize46 {
        width: 46px;
        height: 46px;
        line-height:46px;
        font-size: 22px;
        background: #6252C1;
        color: #fff;
        border: none;
    }
    .badgeCircle.resize35 {
        width: 37px;
        height: 37px;
        line-height:37px;
        font-size: 22px;
        background: #6252C1;
        color: #fff;
        border: none;
    }
    .badgeCircle.resize32 {
        width: 32px;
        height: 32px;
        line-height: 32px;
        font-size: 20px;
        background: #6252C1;
        color: #fff;
        border: none;
    }
    .badgeCircle.resize27 {
        width: 27px;
        height: 27px;
        line-height: 27px;
        font-size: 16px;
        background: #6252C1;
        color: #fff;
        border: none;
    }

    .numberCircle.repaint {
        width: 12px;
        height: 12px;
        font-size: 12pt;
        font-weight: bold;
        line-height: 12px;
        /*outline-width:12px;*/
        text-align:center;
        position:center;
        margin: -50px;
        transform: translate(165%, 12%);
    }


.number {
    position: absolute;
    top: 40%;
    left: 40%;
    font-family: "Trebuchet MS";
    font-weight: bold;
    color: black;
    text-align: center;
    font-size:100%;
    transform: translate(-55%, -60%);
}




.operation{
	border-radius: 50%;
    width: 36px;
    height: 36px;
    padding: 8px;
    background: #F5F5DC;
    border: none;
    color: #FF0000;  /*006400*/
    text-align: center;
    font: 40px Arial, sans-serif;
}

    .operation.repaint48 {
        width: 48px;
        height: 48px;
        padding: 4px;
        line-height: 48px;
        /*font: 22pt Arial, sans-serif;*/
        font-family: "Times New Roman", Times, serif;
        font-size:22pt;
        font-weight:bold;
    }

    .operation.repaint20 {
        width: 30px;
        height: 30px;
        padding: 4px;
        line-height: 30px;
        /*font: 22pt Arial, sans-serif;*/
        font-family: "Times New Roman", Times, serif;
        font-size: 20pt;
        font-weight: bold;
    }

    /********************************************************* Div *******************************************************************************/
.divImgBox {
    float: left;
    background-color:#ffffff;
}

.div-images-fraction {
    position: relative;
    display: inline-block;
    top: 0;
    padding: 10px;
    margin: 10px;
    border: 1px solid #96c1d6;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    vertical-align: top;
    min-width: 100px;
    text-align: center !important;
    cursor:pointer;
}

.question_text {
    font-weight: 200;
    font-size: 1.5rem;
    line-height: 2.4rem;
}

/********************************************************* Input *******************************************************************************/

.input-fractions-form {
    border:solid 1px #5d82d9;
    text-align:center;
}

.question_invisible {
    display:none;
}

.correct_fraction_part {
    color:#008000;
}

.td-space {
    width:117px;
}

.input-fractions-td {
    font-size:27px;
    color:#008000;
}


.table-fraction {
    font-weight: 300;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

.table.fraction td {
    border: none;
    text-align: center;
    font-size: 60px;
    padding: 10px;
}

.input-txt-td {
    padding: 2px 5px 4px;
    margin: 15px 0;
    font: 300 60px/66px 'Source Sans Pro',sans-serif;
    height: 70px;
    width: 80px;
}

.td-fraction-border {
    border-bottom: solid 3px;
}
