@font-face {
    font-family: "yekan";
    src: url(../fonts/Yekan.eot);
    src: url(../fonts/Yekan.eot?#iefix) format("embedded-opentype"), url(../fonts/Yekan.woff) format("woff"), url(../fonts/Yekan.ttf) format("truetype"), url(../fonts/Yekan.svg#BYekan) format("svg");
    font-weight: normal;
    font-style: normal
}
.shadow {
    -webkit-box-shadow: 0px 4px 6px rgba(50, 50, 50, 0.24);
    -moz-box-shadow:  0px 4px 6px rgba(50, 50, 50, 0.24);
    box-shadow:  0px 4px 6px rgba(50, 50, 50, 0.24);

}
.f-shadow {
    -webkit-box-shadow: 0px -3px 5px 0px rgba(50, 50, 50, 0.22);
    -moz-box-shadow:    0px -3px 5px 0px rgba(50, 50, 50, 0.22);
    box-shadow:         0px -3px 5px 0px rgba(50, 50, 50, 0.22);
}
.t-shadow {
    -webkit-box-shadow: 0px -3px 6px 0px rgba(50, 50, 50, 0.49);
    -moz-box-shadow:    0px -3px 6px 0px rgba(50, 50, 50, 0.49);
    box-shadow:         0px -3px 6px 0px rgba(50, 50, 50, 0.49);
}
/* color set */
.margpad0 {
    margin: 0px;
    padding: 0px;
}

.red {
    color: #d34f4f;
}

.bg-red {
    background-color: #d34f4f;
}

.blue {
    color: #3895cb;
}

.bg-blue {
    background-color: #3895cb;
}

.blue2 {
    color: #2594a5;
}

.bg-blue2 {
    background-color: #2594a5;
}

.black {
    color: #3f3f3f;
}

.bg-black {
    background-color: #3f3f3f;
}

.withe {
    color: #fff;
}

.withebg {
    background-color: #fff;
}

.green {
    color: #4caf50;
}

.greenbg {
    background-color: #4caf50;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.left {
    text-align: left;
}
body {
    background: url("../img/bg/bg2.jpg");
}
.header {
    background-color: #21857b;
    width: 100%;
    position: fixed;
    line-height: 50px;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* login page */
.loginform, .box-q {
    background: #fff;
    border: 1px #eee solid;
    overflow: hidden;
    text-align: center;
    border: 1px #eee solid;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.30);
}

.title-mod h5 {
    color: #2285a2;
    padding: 10px;
}

/* start test */
.box-att {
}

.box-att h6, .box-test h6 {
    padding: 5px 10px;
    margin-top: 10px;
    text-align: right;
    color: #555;
    visibility: visible;
    animation-name: bounceInRight
}

.i-chro {
    margin-top: 15px;
    animation-name: fadeIn;
    visibility: visible;
}

.startbt, .endbt {
    margin-top: 15px;
    animation-name: bounceInLeft;
    visibility: visible;
    border-radius: 7px;
    -moz-border-radius: 7px;
}

.endbt {
    padding: 5px 10px;
}

.answer {
    text-align: right;
    margin: 10px 0;
    visibility: visible;
    animation-name: bounceInRight
}

.answer label {
    color: #ba4b4b;
}

.timer {
    color: #bc4343;
    font-weight: bold;
    width: 90px;
    display: inline-block;
    font-size: 30px;
}

.timer-top {
    color: #bc4343;
    font-weight: bold;
    padding: 18px;
    display: inline-block;
    font-size: 27px;
}

.timer-box-top {
    background: #f5f5f5;
    z-index: 100;
}

.timer-box-top h6 {
    float: right;
    margin: 25px 10px 0 0;
}

.box-q {
    margin-top: 4rem;
}
.rightside {
    margin-top: 4rem;
}
.box-att li {
    margin-right: 10px;
}
.box-att label {
    margin-right: 10px;
    color: #22867c;
}
.box-att input {
    margin-right: 20px;
    margin-top: 5px;
}
.endbox-anm {
    visibility: visible;
    animation-name: bounceInUp
}

/* popup */
.pop-my {
    padding: 0 0 10px 0;
    border-radius: 15px;
}

.login-pop {
    padding: 5px;
}

.popup-title {
    background: #f5f5f5;
    width: 100%;
    padding: 5px 10px;
}

.pop-my p {
    font-size: 14px;
    color: #777;
    padding: 10px;
}

.popup-title h5 {
    color: #ba4b4b;
}

.copyright {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: #fff;
    background-origin: padding-box;
    background-position: 0 0;
    background-repeat: repeat;
    background-size: auto auto;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: fixed;
    text-align: center;
    transition: width 0.2s ease 0s;
    width: 80px;
}

.copyright p {
    padding: 1px 2px;
}

.p-color-a {
    color: #848484;
    font-size: 16px;
}

.p-color-b {
    color: #299fb0;
    font-size: 9px;
    padding-bottom: 2px;
}

.contact-sc {
    height: 0;
    transition: height 0.2s ease 0s;
}

.contact-sc a {
    color: #444;
    font-size: 9px;
    margin-top: 2px;
}

.copyright:hover .contact-sc {
    display: inline-block;
    height: 20px;
}

.copyright:hover {
    width: 90px;
}

.logobar {
    display: inline-block;
    width: 100%;
}
.answer >span { display:inline-block }

/* footer style */
.copyright {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 80px;
    background-image: url(../img/bg/t2.gif) !important;
    background: #fff;
    border: 1px #ddd solid;

    cursor: pointer;
    transition: width 0.2s ease 0s;
    text-align: center;
}
.copyright p {
    padding: 1px 2px;

}
.p-color-a {
    color: #848484;
    font-size: 16px;
}
.p-color-b {
    color: #299fb0;
    font-size: 9px;
    padding-bottom: 2px;
}
.contact-sc {
    height: 0;
    transition: height 0.2s ease 0s;
}
.contact-sc a {
    font-size: 9px;
    margin-top: 2px;
    color: #444;
}
.copyright:hover .contact-sc {
    display: inline-block;
    height: 20px;
}
.copyright:hover  {
    width: 90px;
}
.copyright:hover .p-color-b,.copyright:hover .p-color-a {
    color: #881414;
}
