/*** General CSS ***/
body {
    font-family: 'Tajawal', sans-serif;
    margin: 0;
    padding: 0;
    direction: rtl;
}

.theme-header {
    border: 1px solid #D3D3D3;
    padding: 10px 50px;
    display: inline-block;
    position: relative;
    /*right: -100px;*/
    background-color: #fff;
}

/*** Classes CSS ***/
.nav {
    color: #fff;
    background: linear-gradient(45deg,#0c4c83,#119548);
}

.nav a {
    text-decoration: none;
    color: #fff;
}

.row {
    width: 100%;
    margin: 50px 0px;
}

.theme-btn {
    padding: 10px 30px;
    border-radius: 8px;
    background: linear-gradient(45deg,#0c4c83,#119548);
    color: #fff;
}

.card {
    text-align: right;
}

.card-header {
    background-color: rgba(0,0,0,0.07);
    border-top: 1px solid #e8e8e8;
}

.articles .card-body {
    padding: 0;
    position: relative;
    margin: auto;
    overflow: hidden;
}

.card-body .overlay {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background: rgba(0,0,0,0.7);
    position: absolute;
    height: 99%;
    width: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
}

.card-body:hover .overlay {
    opacity: 0.7;
}

.image {
    width: 100%;
    height:auto;
}

.details {
    color: #fff;
    position: absolute;
    text-align: center;
    padding-left: 1em;
    padding-right: 1em;
    width: 100%;
    top: 50%;
    left: 50%;
    opacity: 0;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

.card-body:hover .details {
    top: 50%;
    left: 50%;
    opacity: 1;
}

.fadeIn-bottom {
    top: 80%;
}

.separator {
    margin: 20px auto;
    height: 30px;
}
.separator span {
    position: relative;
    top: -50px;
    right: 25px;
    float: right;
    background: #fff;
    padding: 15px;
    font-size: 20px;
}

.social-media span {
    margin-top: 10px;
    display: block;
}

.social-media i {
    padding: 5px;
}

.questions ol {
    margin-right: 60px;
    font-size: 18px;
    text-align: right;
}

footer {
    position: fixed;
    bottom: 0;
    margin-top: 20px;
    background: linear-gradient(45deg,#0c4c83,#119548);
    color: #fff;
    width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    .card {
        margin-bottom: 20px;
        width: 100%;
    }
    .single-article .card-body {
        text-align: center;
    }
    /*.single-article .card-body h4 {*/
        /*right: 0;*/
        /*top: -45px;*/
    /*}*/
    .row {
        margin: 50px 0px 0px 0px;
    }
    .questions ol {
        margin-right: 0;
        padding: 10px;
    }
    footer {
        position: relative;
    }
}

.true-false input[type="radio"] {
    display: none;
}
.false input[type="radio"]:checked + label span {
    background: url('../images/checkbox/radio-wrong-checked.png') center center no-repeat #272E4A;
}
.false input[type="radio"] + label span {
    display: inline-block;
    width: 35px;
    height: 35px;
    margin: -2px 10px 0 0;
    -webkit-border-radius: 25px !important;
    border-radius: 25px !important;
    vertical-align: middle;
    background: url('../images/checkbox/radio-wrong-unchecked.png') center center no-repeat #ededed;
    cursor: pointer;
}
.false input[type="radio"] + label span:hover {
    background: url('../images/checkbox/radio-wrong-checked.png') center center no-repeat #272E4A;
    opacity: 0.5;
}
.true input[type="radio"]:checked + label span {
    background: url('../images/checkbox/radio-correct-checked.png') center center no-repeat #272E4A;
}
.true input[type="radio"] + label span {
    display: inline-block;
    width: 35px;
    height: 35px;
    margin: -2px 10px 0 0;
    -webkit-border-radius: 25px !important;
    border-radius: 25px !important;
    vertical-align: middle;
    background: url('../images/checkbox/radio-correct-unchecked.png') center center no-repeat #ededed;
    cursor: pointer;
}
.true input[type="radio"] + label span:hover {
    background: url('../images/checkbox/radio-correct-checked.png') center center no-repeat #272E4A;
    opacity: 0.5;
}
.true, .false {
    display: inline-block;
}
.single-article .social-media a:hover{
   text-decoration: none;
}
.single-article .social-media a{
    display: inline-block;
}

