﻿
@font-face {
    font-family: Droid Arabic Kufi;
    src: url(https://fonts.gstatic.com/ea/droidarabickufi/v6/DroidKufi-Regular.woff2);
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    overflow-x: hidden;
    font-family: "Droid Arabic Kufi", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
}

.wrapper {
    min-height: 100%;
    margin-bottom: -90px;
}

.footer, .push {
    height: 90px;
}

.text-muted {
    color: #777777;
}

.text-primary {
    color: #fed136;
}

p {
    font-size: 14px;
    line-height: 1.75;
}

    p.large {
        font-size: 16px;
    }

a,
a:hover,
a:focus,
a:active,
a.active {
    outline: none;
}

a {
    color: #fed136;
}

    a:hover,
    a:focus,
    a:active,
    a.active {
        color: #fec503;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Droid Arabic Kufi", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    font-weight: 700;
}

.img-centered {
    margin: 0 auto;
}

.bg-light-gray {
    background-color: #eeeeee;
}

.bg-darkest-gray {
    background-color: #222222;
}

.btn-primary {
    color: white;
    background-color: #fed136;
    border-color: #fed136;
    font-family: "Droid Arabic Kufi", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    font-weight: 700;
}

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:active,
    .btn-primary.active,
    .open .dropdown-toggle.btn-primary {
        color: white;
        background-color: #fec503;
        border-color: #f6bf01;
    }

    .btn-primary:active,
    .btn-primary.active,
    .open .dropdown-toggle.btn-primary {
        background-image: none;
    }

    .btn-primary.disabled,
    .btn-primary[disabled],
    fieldset[disabled] .btn-primary,
    .btn-primary.disabled:hover,
    .btn-primary[disabled]:hover,
    fieldset[disabled] .btn-primary:hover,
    .btn-primary.disabled:focus,
    .btn-primary[disabled]:focus,
    fieldset[disabled] .btn-primary:focus,
    .btn-primary.disabled:active,
    .btn-primary[disabled]:active,
    fieldset[disabled] .btn-primary:active,
    .btn-primary.disabled.active,
    .btn-primary[disabled].active,
    fieldset[disabled] .btn-primary.active {
        background-color: #fed136;
        border-color: #fed136;
    }

    .btn-primary .badge {
        color: #fed136;
        background-color: white;
    }

.btn-xl {
    color: white;
    background-color: #fed136;
    border-color: #fed136;
    font-family: "Droid Arabic Kufi", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 3px;
    font-size: 18px;
    padding: 20px 40px;
}

    .btn-xl:hover,
    .btn-xl:focus,
    .btn-xl:active,
    .btn-xl.active,
    .open .dropdown-toggle.btn-xl {
        color: white;
        background-color: #fec503;
        border-color: #f6bf01;
    }

    .btn-xl:active,
    .btn-xl.active,
    .open .dropdown-toggle.btn-xl {
        background-image: none;
    }

    .btn-xl.disabled,
    .btn-xl[disabled],
    fieldset[disabled] .btn-xl,
    .btn-xl.disabled:hover,
    .btn-xl[disabled]:hover,
    fieldset[disabled] .btn-xl:hover,
    .btn-xl.disabled:focus,
    .btn-xl[disabled]:focus,
    fieldset[disabled] .btn-xl:focus,
    .btn-xl.disabled:active,
    .btn-xl[disabled]:active,
    fieldset[disabled] .btn-xl:active,
    .btn-xl.disabled.active,
    .btn-xl[disabled].active,
    fieldset[disabled] .btn-xl.active {
        background-color: #fed136;
        border-color: #fed136;
    }

    .btn-xl .badge {
        color: #fed136;
        background-color: white;
    }

.navbar-custom {
    background-color: #222222;
    border-color: transparent;
}

    .navbar-custom .navbar-brand {
        color: #fed136;
        font-family: "Kaushan Script", "Helvetica Neue", Helvetica, Arial, cursive;
    }

        .navbar-custom .navbar-brand:hover,
        .navbar-custom .navbar-brand:focus,
        .navbar-custom .navbar-brand:active,
        .navbar-custom .navbar-brand.active {
            color: #fec503;
        }

    .navbar-custom .navbar-collapse {
        border-color: rgba(255, 255, 255, 0.02);
    }

    .navbar-custom .navbar-toggle {
        background-color: #fed136;
        border-color: #fed136;
        font-family: "Droid Arabic Kufi", "Helvetica Neue", Helvetica, Arial, sans-serif;
        text-transform: uppercase;
        color: white;
        font-size: 12px;
    }

        .navbar-custom .navbar-toggle:hover,
        .navbar-custom .navbar-toggle:focus {
            background-color: #fed136;
        }

    .navbar-custom .nav li a {
        font-family: "Droid Arabic Kufi", "Helvetica Neue", Helvetica, Arial, sans-serif;
        text-transform: uppercase;
        font-weight: 400;
        letter-spacing: 1px;
        color: white;
    }

        .navbar-custom .nav li a:hover,
        .navbar-custom .nav li a:focus {
            color: #fed136;
            outline: none;
        }

    .navbar-custom .navbar-nav > .active > a {
        border-radius: 0;
        color: white;
        background-color: #fed136;
    }

        .navbar-custom .navbar-nav > .active > a:hover,
        .navbar-custom .navbar-nav > .active > a:focus {
            color: white;
            background-color: #fec503;
        }

@media (min-width: 768px) {
    .navbar-custom {
        background-color: transparent;
        padding: 25px 0;
        -webkit-transition: padding 0.3s;
        -moz-transition: padding 0.3s;
        transition: padding 0.3s;
        border: none;
    }

        .navbar-custom .navbar-brand {
            font-size: 2em;
            -webkit-transition: all 0.3s;
            -moz-transition: all 0.3s;
            transition: all 0.3s;
        }

        .navbar-custom .navbar-nav > .active > a {
            border-radius: 3px;
        }
}

@media (min-width: 768px) {
    .navbar-custom.affix {
        background-color: #222222;
        padding: 10px 0;
    }

        .navbar-custom.affix .navbar-brand {
            font-size: 1.5em;
        }
}

@media (min-width: 768px) {
    .navbar-custom.inner-affix {
        background-color: #222222;
        padding: 10px 0;
    }

        .navbar-custom.inner-affix .navbar-brand {
            font-size: 1.5em;
        }
}

header {
    /* background-image: url('../img/header-bg.jpg'); */
    background-image: linear-gradient( rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('Images/bg.jpg');
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    text-align: center;
    color: white;
}

    header .intro-text {
        padding-top: 100px;
        padding-bottom: 50px;
    }

        header .intro-text .intro-lead-in {
            font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
            font-style: italic;
            font-size: 22px;
            line-height: 22px;
            margin-bottom: 25px;
        }

        header .intro-text .intro-heading {
            font-family: "Droid Arabic Kufi", "Helvetica Neue", Helvetica, Arial, sans-serif;
            text-transform: uppercase;
            font-weight: 700;
            font-size: 50px;
            line-height: 50px;
            margin-bottom: 25px;
        }

@media (min-width: 768px) {
    header .intro-text {
        padding-top: 300px;
        padding-bottom: 200px;
    }

        header .intro-text .intro-lead-in {
            font-family: "Droid Arabic Kufi", "Helvetica Neue", Helvetica, Arial, sans-serif;
            font-style: italic;
            font-size: 40px;
            line-height: 40px;
            margin-bottom: 25px;
        }

        header .intro-text .intro-heading {
            font-family: "Droid Arabic Kufi", "Helvetica Neue", Helvetica, Arial, sans-serif;
            text-transform: uppercase;
            font-weight: 700;
            font-size: 75px;
            line-height: 75px;
            margin-bottom: 50px;
        }
}


section {
    padding-top: 70px;
}
@media(max-width: 767px) {
    section {
        padding-top: 54px;
    }
}

    section h2.section-heading {
        font-size: 40px;
        margin-top: 0;
        margin-bottom: 15px;
    }

    section h3.section-subheading {
        font-size: 16px;
        font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
        text-transform: none;
        font-style: italic;
        font-weight: 400;
        margin-bottom: 75px;
    }



.service-heading {
    margin: 15px 0;
    text-transform: none;
}

#portfolio .portfolio-item {
    margin-bottom: 15px;
    right: 0;
}

    #portfolio .portfolio-item .portfolio-link {
        display: block;
        position: relative;
        max-width: 400px;
        margin: 0 auto;
    }

        #portfolio .portfolio-item .portfolio-link img {
            max-height: 225px;
            width: 100%;
        }

        #portfolio .portfolio-item .portfolio-link .portfolio-hover {
            background: rgba(254, 209, 54, 0.9);
            position: absolute;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: all ease 0.5s;
            -webkit-transition: all ease 0.5s;
            -moz-transition: all ease 0.5s;
        }

            #portfolio .portfolio-item .portfolio-link .portfolio-hover:hover {
                opacity: 1;
            }

            #portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
                position: absolute;
                width: 100%;
                height: 20px;
                font-size: 20px;
                text-align: center;
                top: 50%;
                margin-top: -12px;
                color: white;
            }

                #portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i {
                    margin-top: -12px;
                }

                #portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h3,
                #portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h4 {
                    margin: 0;
                }

    #portfolio .portfolio-item .portfolio-caption {
        max-width: 400px;
        margin: 0 auto;
        background-color: white;
        text-align: center;
        padding: 25px;
    }

        #portfolio .portfolio-item .portfolio-caption h4 {
            text-transform: none;
            margin: 0;
        }

        /*#portfolio .portfolio-item .portfolio-caption p {
            font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
            font-style: italic;
            font-size: 16px;
            margin: 0;
        }*/

#portfolio * {
    z-index: 2;
}

@media (min-width: 767px) {
    #portfolio .portfolio-item {
        margin-bottom: 30px;
    }
}

.timeline {
    list-style: none;
    padding: 0;
    position: relative;
}

    .timeline:before {
        top: 0;
        bottom: 0;
        position: absolute;
        content: "";
        width: 2px;
        background-color: #f1f1f1;
        left: 40px;
        margin-left: -1.5px;
    }

    .timeline > li {
        margin-bottom: 50px;
        position: relative;
        min-height: 50px;
    }

        .timeline > li:before,
        .timeline > li:after {
            content: " ";
            display: table;
        }

        .timeline > li:after {
            clear: both;
        }

        .timeline > li .timeline-panel {
            width: 100%;
            float: right;
            padding: 0 20px 0 100px;
            position: relative;
            text-align: left;
        }

            .timeline > li .timeline-panel:before {
                border-left-width: 0;
                border-right-width: 15px;
                left: -15px;
                right: auto;
            }

            .timeline > li .timeline-panel:after {
                border-left-width: 0;
                border-right-width: 14px;
                left: -14px;
                right: auto;
            }

        .timeline > li .timeline-image {
            left: 0;
            margin-left: 0;
            width: 80px;
            height: 80px;
            position: absolute;
            z-index: 100;
            background-color: #fed136;
            color: white;
            border-radius: 100%;
            border: 7px solid #f1f1f1;
            text-align: center;
        }

            .timeline > li .timeline-image h4 {
                font-size: 10px;
                margin-top: 12px;
                line-height: 14px;
            }

        .timeline > li.timeline-inverted > .timeline-panel {
            float: right;
            text-align: left;
            padding: 0 20px 0 100px;
        }

            .timeline > li.timeline-inverted > .timeline-panel:before {
                border-left-width: 0;
                border-right-width: 15px;
                left: -15px;
                right: auto;
            }

            .timeline > li.timeline-inverted > .timeline-panel:after {
                border-left-width: 0;
                border-right-width: 14px;
                left: -14px;
                right: auto;
            }

        .timeline > li:last-child {
            margin-bottom: 0;
        }

    .timeline .timeline-heading h4 {
        margin-top: 0;
        color: inherit;
    }

        .timeline .timeline-heading h4.subheading {
            text-transform: none;
        }

    .timeline .timeline-body > p,
    .timeline .timeline-body > ul {
        margin-bottom: 0;
    }

@media (min-width: 768px) {
    .timeline:before {
        left: 50%;
    }

    .timeline > li {
        margin-bottom: 100px;
        min-height: 100px;
    }

        .timeline > li .timeline-panel {
            width: 41%;
            float: left;
            padding: 0 20px 20px 30px;
            text-align: right;
        }

        .timeline > li .timeline-image {
            width: 100px;
            height: 100px;
            left: 50%;
            margin-left: -50px;
        }

            .timeline > li .timeline-image h4 {
                font-size: 13px;
                margin-top: 16px;
                line-height: 18px;
            }

        .timeline > li.timeline-inverted > .timeline-panel {
            float: right;
            text-align: left;
            padding: 0 30px 20px 20px;
        }
}

@media (min-width: 992px) {
    .timeline > li {
        min-height: 150px;
    }

        .timeline > li .timeline-panel {
            padding: 0 20px 20px;
        }

        .timeline > li .timeline-image {
            width: 150px;
            height: 150px;
            margin-left: -75px;
        }

            .timeline > li .timeline-image h4 {
                font-size: 18px;
                margin-top: 30px;
                line-height: 26px;
            }

        .timeline > li.timeline-inverted > .timeline-panel {
            padding: 0 20px 20px;
        }
}

@media (min-width: 1200px) {
    .timeline > li {
        min-height: 170px;
    }

        .timeline > li .timeline-panel {
            padding: 0 20px 20px 100px;
        }

        .timeline > li .timeline-image {
            width: 170px;
            height: 170px;
            margin-left: -85px;
        }

            .timeline > li .timeline-image h4 {
                margin-top: 40px;
            }

        .timeline > li.timeline-inverted > .timeline-panel {
            padding: 0 100px 20px 20px;
        }
}

.team-member {
    text-align: center;
    margin-bottom: 50px;
}

    .team-member img {
        margin: 0 auto;
        border: 7px solid white;
    }

    .team-member h4 {
        margin-top: 25px;
        margin-bottom: 0;
        text-transform: none;
    }

    .team-member p {
        margin-top: 0;
    }

aside.clients img {
    margin: 50px auto;
}

section#contact {
    background-color: #222222;
    background-position: center;
    background-repeat: no-repeat;
}

    section#contact .section-heading {
        color: white;
    }

    section#contact .form-group {
        margin-bottom: 25px;
    }

        section#contact .form-group input,
        section#contact .form-group textarea {
            padding: 20px;
        }

            section#contact .form-group input.form-control {
                height: auto;
            }

            section#contact .form-group textarea.form-control {
                height: 236px;
            }

    section#contact .form-control:focus {
        border-color: #fed136;
        box-shadow: none;
    }

    section#contact ::-webkit-input-placeholder {
        font-family: "Droid Arabic Kufi", "Helvetica Neue", Helvetica, Arial, sans-serif;
        text-transform: uppercase;
        font-weight: 700;
        color: #eeeeee;
    }

    section#contact :-moz-placeholder {
        /* Firefox 18- */
        font-family: "Droid Arabic Kufi", "Helvetica Neue", Helvetica, Arial, sans-serif;
        text-transform: uppercase;
        font-weight: 700;
        color: #eeeeee;
    }

    section#contact ::-moz-placeholder {
        /* Firefox 19+ */
        font-family: "Droid Arabic Kufi", "Helvetica Neue", Helvetica, Arial, sans-serif;
        text-transform: uppercase;
        font-weight: 700;
        color: #eeeeee;
    }

    section#contact :-ms-input-placeholder {
        font-family: "Droid Arabic Kufi", "Helvetica Neue", Helvetica, Arial, sans-serif;
        text-transform: uppercase;
        font-weight: 700;
        color: #eeeeee;
    }

    section#contact .text-danger {
        color: #e74c3c;
    }

footer {
    bottom: 0px;
    top: auto;
    width: 100%;
    padding: 25px 0;
    text-align: center;
    background-color: #333333;
    color: white;
}

    footer span.copyright {
        font-size: 12px;
        line-height: 40px;
        font-family: "Droid Arabic Kufi", "Helvetica Neue", Helvetica, Arial, sans-serif;
        text-transform: uppercase;
        text-transform: none;
    }

    footer ul.quicklinks {
        margin-bottom: 0;
        line-height: 40px;
        font-family: "Droid Arabic Kufi", "Helvetica Neue", Helvetica, Arial, sans-serif;
        text-transform: uppercase;
        text-transform: none;
    }

ul.social-buttons {
    margin-bottom: 0;
}

    ul.social-buttons li a {
        display: block;
        background-color: #222222;
        height: 40px;
        width: 40px;
        border-radius: 100%;
        font-size: 20px;
        line-height: 40px;
        color: white;
        outline: none;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        transition: all 0.3s;
    }

        ul.social-buttons li a:hover,
        ul.social-buttons li a:focus,
        ul.social-buttons li a:active {
            background-color: #fed136;
        }

.btn:focus,
.btn:active,
.btn.active,
.btn:active:focus {
    outline: none;
}

.portfolio-modal .modal-dialog {
    margin: 0;
    height: 100%;
    width: auto;
}

.portfolio-modal .modal-content {
    border-radius: 0;
    background-clip: border-box;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: none;
    min-height: 100%;
    padding: 100px 0;
    text-align: center;
}

    .portfolio-modal .modal-content h2 {
        margin-bottom: 15px;
        font-size: 3em;
    }

    .portfolio-modal .modal-content p {
        margin-bottom: 30px;
    }

        .portfolio-modal .modal-content p.item-intro {
            margin: 20px 0 30px;
            font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
            font-style: italic;
            font-size: 16px;
        }

    .portfolio-modal .modal-content ul.list-inline {
        margin-bottom: 30px;
        margin-top: 0;
    }

    .portfolio-modal .modal-content img {
        margin-bottom: 30px;
    }

.portfolio-modal .close-modal {
    position: absolute;
    width: 75px;
    height: 75px;
    background-color: transparent;
    top: 25px;
    right: 25px;
    cursor: pointer;
}

    .portfolio-modal .close-modal:hover {
        opacity: 0.3;
    }

    .portfolio-modal .close-modal .lr {
        height: 75px;
        width: 1px;
        margin-left: 35px;
        background-color: #222222;
        transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        /* IE 9 */
        -webkit-transform: rotate(45deg);
        /* Safari and Chrome */
        z-index: 1051;
    }

        .portfolio-modal .close-modal .lr .rl {
            height: 75px;
            width: 1px;
            background-color: #222222;
            transform: rotate(90deg);
            -ms-transform: rotate(90deg);
            /* IE 9 */
            -webkit-transform: rotate(90deg);
            /* Safari and Chrome */
            z-index: 1052;
        }

.portfolio-modal .modal-backdrop {
    opacity: 0;
    display: none;
}

::-moz-selection {
    text-shadow: none;
    background: #fed136;
}

::selection {
    text-shadow: none;
    background: #fed136;
}

img::selection {
    background: transparent;
}

img::-moz-selection {
    background: transparent;
}

body {
    webkit-tap-highlight-color: #fed136;
}

.quiz {
    background: linear-gradient( rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('Images/bg.jpg') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.question-card {
    /*position: relative;
    top: 62px;*/
    color: #FFFFFF;
}

.btnNav {
    position: relative;
    top: 200px;
    font-size: 30px !important;
    cursor: pointer;
}

.question-card-inner {
    margin: 40px 35px;
    padding: 20px 50px;
    border-radius: 10px;
    background-image: linear-gradient(to bottom left, rgba(254, 254, 254, 0.1), rgba(104, 109, 112, 0.1));
}

.question-card .answers {
    list-style: none;
}

.option {
    width: 100%;
    min-height: 60px;
    position: relative;
    display: inline-block;
    text-align: center;
    font-size: 17px;
    color: #fff;
    line-height: 40px;
    margin-left: -4px;
    font-family: tahoma;
    margin-bottom: 20px;
    transition: all 0.3s ease-in-out;
    padding: 5px 0 0 0;
}

@media(max-width: 920px) {
    .option {
        font-size: 14px;
    }

    .question {
        font-size: 14px;
    }
    .question-card-inner {
        margin: 20px 35px;
        padding: 20px 10px;
        }
}

.option:hover {
    box-shadow: 0 2px 3px rgb(155, 154, 154);
    cursor: pointer;
    transform: scale(1.1);
    transition: all 0.3s ease-in-out;
}

.option.op1,
.option.op3 {
    background-image: linear-gradient(to bottom left, rgba(254, 254, 254, 0.6), rgba(104, 109, 112, 0.6));
}

.option.op2,
.option.op4 {
    background-image: linear-gradient(to bottom left, rgba(181, 103, 23, 0.35), rgba(98, 114, 139, 0.8));
}

.bg-white {
    background-color: white !important;
}

.sign {
    text-align: center;
    padding: 10px;
    min-height: 280px;
    overflow:hidden;
}

    .sign .caption {
        height: 100px;
    }

    .sign img {
        height: 140px;
    }

    .sign h6 {
        font-size: 14px;
    }

.sucses {
    background-color: #0aac3e !important;
}

.error {
    background-color: #f3081e !important;
}

.trueAnswers {
    box-shadow: 0 1px 2px 0 rgba(1, 1, 1, 0.4);
    width: 185px;
    height: 85px;
    text-align: center;
    background: #f1f1f1;
    border-radius: 5px;
    margin: auto;
}

.questionNum {
    display: block;
    float: right;
    background-color: gray;
    color: white;
    /*transform: skew(-25deg,0);*/
    height: 38px;
    width: 30px;
    text-align: center;
    padding: 8px;
    margin: 0 0 1px 1px ;
}

/* Admin exam tiles carry a delete control pinned to the far corner. */
.tile-wrap {
    position: relative;
}

.tile-delete {
    position: absolute;
    top: 4px;
    left: 4px;
    padding: 2px 6px;
    line-height: 1;
    color: #fff;
    background-color: transparent;
    border: 0;
    opacity: 0.6;
    z-index: 2;
}

.tile-delete:hover,
.tile-delete:focus {
    opacity: 1;
    color: #a94442;
}

.tile:hover {
    background-color: #fec503;
    box-shadow: lightblue 5px 5px 5px;
    cursor: pointer;
    transform: scale(1.1);
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

.tile {
    background-color: #fed136;
    text-align: center;
    padding: 10px;
    color: #fff;
    height: 80px;
    line-height: 60px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: lightblue 5px 5px 5px;
    color: #fff !important;
    display: block;
}

   

#exam li {
    background-color: lightseagreen;
    text-align: center;
    padding: 10px;
    list-style: none;
    margin-left: 10px;
    margin-bottom: 30px;
    width: 265px;
    float: right;
    border-radius: 30px;
    box-shadow: 5px 5px 25px seagreen;
}

.pageTitle {
    margin-bottom: 50px;
    color: slategrey;
}

#exam a {
    text-decoration: none;
}

div.message {
    text-align: center;
    position: relative;
    padding: 25px;
    margin: 30px 0;
    width: 300px;
    box-shadow: 0 2px 5px rgba(0,0,0,.3);
    background: #BBB;
    color: #FFF;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

    div.message:hover {
        box-shadow: 0 15px 20px rgba(10,0,10,.3);
        -webkit-filter: brightness(110%);
    }

    div.message:before {
        content: '';
        font-family: FontAwesome;
        position: absolute;
        display: block;
        top: -21px;
        left: 50%;
        margin: 0 -21px;
        font-size: 20px;
        line-height: 24px;
        text-align: center;
        width: 50px;
        padding: 10px;
        background: inherit;
        box-shadow: 0 5px 10px rgba(0,0,0,.25);
        color: rgba(255,255,255,.75);
        border-radius: 50%;
        border: 2px solid transparent;
        z-index: 2;
    }

    div.message.success:before {
        content: '\f00c';
    }

    div.message.error {
        background: #C43;
    }

        div.message.error:before {
            content: '\f00d';
        }


    div.message.success {
        background: #5A6;
    }
    div.message a {
        font-size: 14px;
    }

#quizMessage {
    margin: 0 auto;
    width: 300px;
    text-align: center;
}


.aboutSchool {
    text-align: center;
    font-size: 20px;
}

.select-image-box {
    max-height: 550px;
    overflow-y: scroll;
    overflow-x: hidden;
    border: solid 1px #ddd;
    width: 600px;
    position: absolute;
    top: 200px;
    left: 312px;
    box-shadow: #ddd 5px 5px 5px;
    padding: 20px;
    display: none;
}

.loader {
    height: 4px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #ddd;
    z-index: 9999;
}

    .loader:before {
        display: block;
        position: absolute;
        content: "";
        left: -200px;
        width: 200px;
        height: 4px;
        background-color: #da4733;
        animation: loading 2s linear infinite;
    }

@keyframes loading {
    from {
        left: -200px;
        width: 30%;
    }

    50% {
        width: 30%;
    }

    70% {
        width: 70%;
    }

    80% {
        left: 50%;
    }

    95% {
        left: 120%;
    }

    to {
        left: 100%;
    }
}

#page-alert {
    margin-top: 30px;
    display: none;
}

.hideButton {
    position: absolute;
    top: 8px;
    right: 10px;
}

.countdown {
    margin-top: 25px;
    text-align: center;
}

#slicer{
    margin-top: 0px; 
}
#slicer ul {
    padding: 5px;
}


.quizExamName{
    margin-left: 20px;
}

.deleteQuestion{
    margin-right: 40px;
    color: #ee2323;
}

/* Exam-type management table (admin). */
.type-order,
.type-actions {
    white-space: nowrap;
}

.type-icon {
    width: 60px;
    text-align: center;
    color: #fed136;
}

.type-icon-preview {
    max-width: 40px;
    max-height: 40px;
}

/* A type hidden from the public site still shows here, just muted. */
.type-hidden td {
    opacity: 0.55;
}

/* --- Verbal exams: listen buttons on the quiz card ---------------------- */

/* Sits inside an option, so it is styled as a plain round control rather
   than a button, and is large enough to hit comfortably on a phone. */
.audio-play {
    border: 0;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    margin-left: 8px;
    vertical-align: middle;
    background-color: #fed136;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    padding: 0;
}

.audio-play:hover,
.audio-play:focus {
    background-color: #fec503;
    outline: 2px solid #2c3e50;
}

.audio-play.playing {
    background-color: #2c3e50;
}

/* With only two answers there is room to make each one much larger, which
   is the point: these candidates are listening, not reading. */
.verbal-quiz .option {
    min-height: 90px;
    font-size: 20px;
    line-height: 1.6;
}

.verbal-quiz .audio-play {
    width: 54px;
    height: 54px;
    font-size: 22px;
}

/* --- Verbal exams: the recordings panel in the admin question editor --- */
.audio-slot {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.audio-slot:last-child {
    border-bottom: 0;
}

.audio-slot-label {
    font-weight: bold;
    margin-bottom: 4px;
}

.audio-slot-body audio {
    max-width: 210px;
    vertical-align: middle;
}

.audio-slot-upload {
    margin-top: 6px;
}

.audio-slot-upload .audioFile {
    display: inline-block;
    max-width: 210px;
}

/* --- Exam-type pictures: admin upload slots ---------------------------- */
.picture-slot .picture-preview {
    display: inline-block;
    vertical-align: middle;
    min-width: 90px;
    min-height: 60px;
    margin-bottom: 6px;
    padding: 4px;
    border: 1px dashed #ccc;
    border-radius: 4px;
    text-align: center;
}

.picture-slot .picture-preview img {
    max-width: 120px;
    max-height: 80px;
}

/* Marks a picture that came with the category rather than being uploaded,
   which is why it has no Delete button. */
.picture-slot .picture-note {
    font-size: 11px;
    color: #888;
}

.picture-slot .pictureFile {
    display: inline-block;
    max-width: 200px;
}

.picture-help ul {
    margin-bottom: 0;
    padding-inline-start: 20px;
}

/* A category with no picture at all still gets a recognisable tile. */
.portfolio-placeholder {
    display: block;
    padding: 40px 0;
    font-size: 64px;
    color: #fed136;
    background-color: #fff;
    text-align: center;
}

/* Question list: the reorder and edit controls stay on one line. */
.question-actions {
    white-space: nowrap;
    width: 1%;
}

.question-actions a {
    margin-right: 6px;
}

/* Exam-type table: the gallery photo alongside the tile icon. */
.type-image {
    width: 110px;
}

.type-image-preview {
    max-width: 100px;
    max-height: 60px;
    border-radius: 3px;
}

.type-public-title {
    color: #666;
}

/* --- Recording a question's audio in the browser ------------------------ */
.audio-slot-record {
    margin-top: 6px;
}

.audio-slot .record-timer {
    margin-right: 8px;
    color: #a94442;
    font-weight: bold;
}

/* A slot that is currently recording stands out from the rest. */
.audio-slot.is-recording {
    background-color: #fff6f6;
    box-shadow: inset 3px 0 0 #a94442;
}

.audio-slot .audio-or {
    color: #888;
    font-size: 12px;
}

/* --- Official traffic-sign catalogue (/home/signs and the admin picker) --- */
.sign-catalog .sign-nav {
    margin-bottom: 20px;
}

    /* The global yellow link color is unreadable on the grey page, so the
       section links are dark-on-white chips that turn brand yellow on hover. */
    .sign-catalog .sign-nav > li {
        margin-bottom: 6px;
    }

    .sign-catalog .sign-nav > li > a {
        padding: 6px 12px;
        font-size: 13px;
        color: #333;
        background-color: #fff;
        border: solid 1px #ddd;
    }

        .sign-catalog .sign-nav > li > a:hover,
        .sign-catalog .sign-nav > li > a:focus {
            color: #222;
            background-color: #fed136;
            border-color: #fed136;
        }

.sign-section {
    margin-bottom: 30px;
}

.sign-section-title {
    font-size: 22px;
    color: slategrey;
    margin: 30px 0 5px;
}

.sign-section-subtitle {
    color: #777;
    margin-bottom: 15px;
}

/* Cards grow with their text instead of clipping it; flex keeps each row's
   cards the same height, which floats cannot do. */
.sign-catalog .row {
    display: flex;
    flex-wrap: wrap;
}

.sign-catalog .sign {
    min-height: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    border: solid 1px #eee;
}

    .sign-catalog .sign .sign-images {
        min-height: 150px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

    .sign-catalog .sign img {
        height: auto;
        max-height: 140px;
        max-width: 100%;
        margin: 4px;
    }

    .sign-catalog .sign .caption {
        height: auto;
    }

.sign-catalog .sign-number {
    display: inline-block;
    background-color: #555;
    color: #fff;
    border-radius: 3px;
    padding: 1px 8px;
    font-size: 13px;
    margin-bottom: 6px;
}

.sign-catalog .sign-scope {
    color: #777;
    font-size: 12px;
    margin: 0;
}

/* In the admin picker every image is a tile that inserts its placeholder. */
.sign-catalog .sign-select {
    cursor: pointer;
    border: solid 2px transparent;
    border-radius: 4px;
}

    .sign-catalog .sign-select:hover {
        border-color: #337ab7;
    }

/* A catalogue sign inside question text, sized like the legacy sprites. */
.sign-img {
    max-height: 60px;
    max-width: 120px;
    vertical-align: middle;
    margin: 0 3px;
}

/* Below the tablet breakpoint Bootstrap's columns carry no width, and a flex
   item with none shrinks to its content; make each card take the full row. */
@media (max-width: 767px) {
    .sign-catalog .sign {
        width: 100%;
    }
}
