﻿/* You can add global styles to this file, and also import other style files */
@import '~@ngx-share/button/themes/default/default-theme';
@import url(http://fonts.googleapis.com/earlyaccess/droidarabickufi.css);

body {
    direction: rtl;
    font-family: 'Droid Arabic Kufi', Arial, Helvetica, sans-serif;
    font-size: 16px;
    background-color: #F0F0F0;
    text-align: right;
}

form {
    direction: rtl;
    text-align: right;
}

p {
    direction: rtl;
    text-align: right;
}

header .container {
    max-width: 95%;
    display: flex;
}

.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid lightskyblue;
    border-bottom: 16px solid lightskyblue;
    width: 100px;
    height: 100px;
    margin: 0 auto;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/****** Article details component*******/
.post {
    position: relative;
    text-align: right;
    padding: 10px;
    margin-bottom: 30px;
    text-decoration: none;
    font-size: 20px;
}

.post h3 {
    display: inline-block;
    font-size: 22px;
    text-align: right;
    color: #000;
}

.post span {
    color: #aaa;
}

.post p {
    color: #000;
}
/*************************/
footer {
    background: #ffffff;
    height: 48px;
    line-height: 48px;
}

footer p {
    font-size: 15px;
    text-align: center !important;
}

header {
    height: 70px;
    background: #fff;
    margin-bottom: 20px;
    z-index: 1000;
    -webkit-transition: all ease-out .5s;
    -moz-transition: all ease-out .5s;
    -o-transition: all ease-out .5s;
    transition: all ease-out .5s;
}

.row {
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.logo {
    height: 60px;
    padding-top: 5px;
}
/********* Menu *************/
.menu {
    background: #f4fafd;
    border-radius: 5px;
    text-align: right;
    margin-right: 0px;
}

.menu ul {
    direction: rtl;
    list-style: none;
    position: relative;
    padding: 14px;
}

.menu ul li {
    display: flex;
}

.menu ul li a {
    text-decoration: none;
    color: #000;
    padding: 7px;
    text-align: right;
}

.menu ul li a svg {
    margin-left: 15px;
}

.menu ul li:hover {
    cursor: pointer;
    background: #1994D1;
    border-radius: 5px;
}

.menu ul li:hover a {
    color: #ffffff;
}

.selecteditem {
    color: #1da1f2;
    background: rgba(29, 161, 242, .4);
    border-radius: 15px;
    padding: 7px 0px;
    font-weight: bold;
}

.box {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.box select {
    background-color: #0683d5;
    color: white;
    padding: 5px;
    width: 140px;
    border: none;
    font-size: 16px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    -webkit-appearance: button;
    appearance: button;
    outline: none;
}

.box:hover::before {
    color: rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.2);
}

.box select option {
    padding: 10px;
    width: 120px;
}

.menuInSmallScreen {
    display: none;
    margin-right: 5px;
}


/*@media (max-width: 575px) {
    nav ul {
        display: none;
    }

    .menuInSmallScreen {
        display: inline-block;
    }

    .menu {
        background-color: transparent;
        margin-top: 10px;
    }
}*/

/*******************************/

/************ Related links******************/
.trends {
    background: #f4fafd;
    border-radius: 5px;
    margin-top: 12px;
    padding: 10px;
    text-align: right;
}

.trends .title {
    display: flex;
    border-bottom: 1px solid #eee;
}

.trends .title h3 {
    margin-left: auto;
    font-size: 20px;
}

.trends .hashtag {
    direction: rtl;
    display: flex;
    padding: 5px;
    border-bottom: 1px solid #eee;
}

.trends .hashtag h5 {
    margin-left: auto;
    font-size: 15px;
}
/**********************************/
/************* Search *********************/
.search {
    display: relative;
}

.search svg {
    position: absolute;
    left: 30px;
    top: 10px;
    color: #1da1f2;
}

.search input {
    border-radius: 5px;
    background: #ffffff;
    flex-grow: 1;
}

.search fa-icon {
    cursor: pointer;
    margin-top: 5px;
    margin-right: 2px;
    background: #e6ecf0;
}

.search input:focus {
    background: #fff;
    border-color: #1da1f2;
    box-shadow: none;
}
/********************************/
/********** Timeline ************/
.timeline {
    background-color: #F0F0F0;
}

.post {
    background-color: #fff;
    position: relative;
    text-align: right;
    padding: 10px;
    margin-bottom: 30px;
}

.post a {
    text-decoration: none;
}

.post a h3 {
    display: inline-block;
    font-size: 22px;
    text-align: right;
    color: #000;
}

.post a span {
    color: #aaa;
}

.post a p {
    color: #000;
}
/************************/
/******** Article Details**********/
.articleImage {
    width: 100%;
}

.socialicon {
    padding: 5px;
    margin: 5px;
}

.socialicon img {
    width: 36px;
    height: 36px;
    margin-top: 17px;
}

.socialicon:hover {
    text-decoration: none !important;
}

/********* General *********/

.text-align-right {
    text-align: right;
}
.width-10-percentage{
    width:10%;
}
.width-5-percentage {
    width: 5%;
}
.panel-footer{
    text-align:center;
}

.header_ad {
    text-align: center;
    margin-bottom: 20px;
}

.header_ad img {
    width: 100%;
}

.container_ad {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

.container_ad img {
    width: 100%;
}

@media (max-width: 1024px) and (min-width: 768px) {
    body {
        font-size: 14px;
    }
    .container {
        display: contents;
    }
    .trends .title h3 {
        font-size: 16px;
    }
    .trends .hashtag h5 {
        font-size: 14px;
    }
    .post {
        margin-bottom: 20px;
        font-size: 14px;
    }
    .post a h3 {
        font-size: 16px;
    }
}

@media (max-width: 576px) and (min-width: 320px) {
    body {
        font-size: 14px;
    }

    header {
        height: 60px;
    }

    header .container {
        display: flex;
        max-width: 100%;
    }

    .trends {
        margin-bottom: 12px;
    }

    .trends .title h3 {
        font-size: 16px;
    }

    .trends .hashtag h5 {
        font-size: 14px;
    }

    .post {
        margin-bottom: 20px;
        font-size: 14px;
    }

    .post a h3 {
        font-size: 16px;
    }

    footer {
        height: 35px;
        line-height: 35px;
    }

    footer p {
        font-size: 12px;
    }

    .logo {
        height: 50px;
        padding-top: 10px;
    }

    .socialicon img {
        width: 30px;
        height: 30px;
        margin-top: 15px;
    }
}