/*html,body {
    background: url("../../images/mathemeister/background.png") top left repeat-x #A0C0FF;
}*/

body {
    width: 100%;
    overflow-x: auto;
    color: #333333;
    font-size: 13px;
}

input[type="text"], select {
    color: #333333;
}

.browser-compatibility {
    font-size: 13px;
    margin: 30px 0 0 20px;
}
.browser-compatibility ul {
    margin-left: 20px;
    margin-top: 10px;
}

.browser-compatibility ul li {
    padding:3px 0 3px 0;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

.video-preview {
    cursor: pointer;
}

input.sign-in {
    font-size: 14px;
}

.table-cell {
    display: block;
}

.mj-formula {
    position: relative;
}

.test-item > label {
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.test-item > label:hover, .test-item > label:active {
    background-color: transparent;
}

.test-item-char {
    width: 25px;
    margin-top: -4px;
    font-size: 110%;
    font-weight: bold;
    color: #428BCA !important;
}

.test-item-choice input[type="radio"] {
    -ms-transform: scale(1.25); /* IE 9 */
    -webkit-transform: scale(1.25); /* Chrome, Safari, Opera */
    transform: scale(1.25);
}

.test-item-choice .iradio_flat-aero > input[type="radio"] {
    position: absolute;
    top: -10px;
    left: -10px;
    bottom: -10px;
    right: -10px;
    display: block;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 0;
}

.test-item-choice .iCheck-helper {
    position: absolute;
    top: -10px !important;;
    left: -10px !important;;
    bottom: -10px !important;;
    right: -10px !important;;
    display: block;
    width: calc(100% + 20px) !important;
    height: calc(100% + 20px) !important;;
    background: rgb(255, 255, 255);
    opacity: 0;
}

.test-item-state {
    width: 20px;
}

.test-item-choice {
    position: relative;
    top: 1px;
    padding: 0 10px 0 5px;
}

.row.media .row {
    margin-top: 6px;
}

.state-active {
    opacity: 1 !important;
}

.state {
    font-size: 18px;
}

div.category-state a.btn {
    opacity: 0.25;
    margin-right: 3px;
    display: inline-block;
}

.result .label {
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.result h4 {
    margin-top: 5px;
}

.modal-dialog {
    margin-top: 15px;
    padding: 0;
}

.modal-sm {
    width: 350px;
}

.modal-lg {
    width: 950px;
}

.modal-body {
    padding: 15px;
}

.result .btn-information {
    margin-right: 10px;
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px){
    .result .btn-information {
        width: 120px;
    }

    body {
        min-width:768px;
    }
}

.result .box-section {
    background-color: #FFFFFF;
}

.nav-tabs {
    border-bottom: none;
}

.tab-sub {
    padding: 0 0 15px 0;
    color: #000000;
}

.tab-sub .nav {
    background-color: #FBFBFB;
}

.tab-category-red a,.tab-category-red a:hover {
    background-color: #D9534F !important;
    opacity: 0.5;
    color: #FFFFFF !important;
}

.tab-category-red.active a,.tab-category-red.active a:hover {
    opacity: 1;
}

.tab-category-yellow a,.tab-category-yellow a:hover {
    background-color: #F0AD4E !important;
    color: #FFFFFF !important;
    opacity: 0.5;
}

.tab-category-yellow.active a,.tab-category-yellow.active a:hover {
    opacity: 1;
}

.tab-category-green a,.tab-category-green a:hover {
    background-color: #5CB85C !important;
    color: #FFFFFF !important;
    opacity: 0.5;
}

.tab-category-green.active a,.tab-category-green.active a:hover {
    opacity: 1;
}

.result-button {
    margin: 6px 20px 0 0;
}

span.animate-point {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 10px 0 20px 0;
    background: rgba(36,148,242,0.25);
    border-radius: 50%;
    transform: translateY(0);
    -moz-transform: translateY(0);
    -webkit-transform: translateY(0);

    animation: wave 2s infinite ease-in-out;
    -moz-animation: wave 2s infinite ease-in-out;
    -webkit-animation: wave 2s infinite ease-in-out;
}

@keyframes wave
{
    0%, 60%, 100%
    {
        background: rgba(36,148,242,0.25);
        transform: translateY(0);
        -moz-transform: translateY(0);
    }

    20%
    {
        background: rgba(36,148,242,1.0);
        transform: translateY(13px);
        -moz-transform: translateY(13px);
    }

    40%
    {
        background: rgba(36,148,242,1.0);
        transform: translateY(-13px);
        -moz-transform: translateY(-13px);
    }

}

@-webkit-keyframes wave
{
    0%, 60%, 100%
    {
        background: rgba(36,148,242,0.25);
        transform: translateY(0);
        -webkit-transform: translateY(0);
    }

    20%
    {
        background: rgba(36,148,242,1.0);
        transform: translateY(13px);
        -webkit-transform: translateY(13px);
    }

    40%
    {
        background: rgba(36,148,242,1.0);
        transform: translateY(-13px);
        -webkit-transform: translateY(-13px);
    }
}

span.animate-point:nth-child(1)
{
    animation-delay: 0s;
    -moz-animation-delay: 0s;
    -webkit-animation-delay: 0s;
}

span.animate-point:nth-child(2)
{
    animation-delay: 0.1s;
    -moz-animation-delay: 0.1s;
    -webkit-animation-delay: 0.1s;
}

span.animate-point:nth-child(3)
{
    animation-delay: 0.2s;
    -moz-animation-delay: 0.2s;
    -webkit-animation-delay: 0.2s;
}

span.animate-point:nth-child(4)
{
    animation-delay: 0.3s;
    -moz-animation-delay: 0.3s;
    -webkit-animation-delay: 0.3s;
}

span.animate-point:nth-child(5)
{
    animation-delay: 0.4s;
    -moz-animation-delay: 0.4s;
    -webkit-animation-delay: 0.4s;
}

/** Spinner */
.test-spinner {
    margin: 100px auto 0;
    width: 70px;
    text-align: center;
}

.test-spinner > div {
    width: 18px;
    height: 18px;
    background-color: #333;

    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.test-spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.test-spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% { -webkit-transform: scale(0) }
    40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    } 40% {
          -webkit-transform: scale(1.0);
          transform: scale(1.0);
      }
}

.icon.spinning {
    animation: spin 1s infinite linear;
    -webkit-animation: spin2 1s infinite linear;
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg); }
    to { transform: scale(1) rotate(360deg); }
}

@-webkit-keyframes spin2 {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}

.modal-lg {
    max-width: 900px;
}


@media (max-width: 992px) {
    .modal-lg {
        width: 100%;
    }
}

/*.result-answer .mjx-char {*/
    /*white-space: normal !important;*/
    /*line-height: 1.45em !important;*/
    /*padding-top: 0 !important;*/
    /*padding-bottom: 0 !important;*/
/*}*/

/*.result-answer .mjx-block {*/
    /*padding-top: 0 !important;*/
    /*padding-bottom: 0 !important;*/
/*}*/

/*.result-answer .mjx-charbox {*/
    /*width: 700px !important;*/
    /*padding-top: 0 !important;*/
    /*padding-bottom: 0 !important;*/
/*}*/

/* iCheck plugin Flat skin, blue 2x
----------------------------------- */
.icheckbox_flat-blue-2x,
.iradio_flat-blue-2x {
    display: inline-block;
    *display: inline;
    vertical-align: middle;
    margin: 0;
    padding: 0;
    width: 40px;
    height: 40px;
    background: url(../ca/images/blue@2x.png) no-repeat !important;
    border: none;
    cursor: pointer;
}

.icheckbox_flat-blue-2x {
    background-position: 0 0 !important;
}
.icheckbox_flat-blue-2x.checked {
    background-position: -44px 0 !important;
}
.icheckbox_flat-blue-2x.disabled {
    background-position: -88px 0 !important;
    cursor: default;
}
.icheckbox_flat-blue-2x.checked.disabled {
    background-position: -132px 0 !important;
}

.iradio_flat-blue-2x {
    background-position: -176px 0 !important;
}
.iradio_flat-blue-2x.checked {
    background-position: -220px 0 !important;
}
.iradio_flat-blue-2x.disabled {
    background-position: -264px 0 !important;
    cursor: default;
}
.iradio_flat-blue-2x.checked.disabled {
    background-position: -308px 0 !important;
}

/* HiDPI support */
@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
    .icheckbox_flat-blue-2x,
    .iradio_flat-blue-2x {
        background-image: url(blue@2x.png);
        -webkit-background-size: 352px 44px;
        background-size: 352px 44px;
    }
}