/*
    Main color: #e30a17;
    Second coler: #ff3333;
*/

@import url('https://fonts.googleapis.com/css2?family=Cairo&display=swap');

body {
    font-family: 'Cairo', sans-serif;
    background: #fafafa;
}

p {
    font-family: 'Cairo', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #e30a17;
    color: #fff;
    transition: all 0.3s;
    height: 100%;
    overflow-y: auto;
}

/* width */
#sidebar::-webkit-scrollbar {
  width: 10px;
}

/* Track */
#sidebar::-webkit-scrollbar-track {
  border-radius: 10px;
}
 
/* Handle */
#sidebar::-webkit-scrollbar-thumb {
  background: #ff3333; 
  border-radius: 10px;
}

/* Handle on hover */
#sidebar::-webkit-scrollbar-thumb:hover {
  background: #b30000; 
}


#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #fff;
}
#sidebar .sidebar-header .img-container {
    width: 100%;
    height: 5rem;
    overflow: hidden;
}
#sidebar .sidebar-header .img-container img {
    width: 50%;
    margin: auto;
    display: block;
}

#sidebar ul.components {
    padding: 20px 10px;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
    font-weight: bold;
    padding-left: 20px;
}
#sidebar ul hr{
    border: 0;
    border-top: 1px solid #ff4545;
    width: 100%;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1em;
    display: block;
    padding-left: 20px;
    border-bottom: 1px solid #f74d4d;
}

#sidebar ul li a:hover {
    color: #e30a17;
    background: #fff;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    padding-left: 10px;
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #e30a17;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
    position: relative;
}
#content.content-active {
    /* margin-left: 250px; */
}
.navbar {
    position: fixed;
    width: 90%;
    margin: auto;
    margin-top: 1rem;
    transition: all 0.3s;
}
#navbar.navbar-active {
    margin-left: 270px;
    width: -webkit-calc(100% - 250px);
    width:    -moz-calc(100% - 250px);
    width:         calc(100% - 290px);
    
}
#navbar .dropdown-toggle::after {
    content: "";
    display: none;
}
#navbar .login{
    color: #e30a17;
}

#content .navbar #sidebarCollapse {
    background: #e30a17;
}

/* ---------------------------------------------------
    Content Home
----------------------------------------------------- */

#content .content-home{
    
}

#content .content-home header .carousel {
    margin-top: -20px;
    margin-left: -20px;
    margin-right: -20px;
    overflow: hidden;
    position: relative;
    height: 35rem;
}
#content .content-home header .carousel .carousel-inner{
    
}
#content .content-home header .carousel .carousel-inner .carousel-item{
    width: 100%;
    height: 35rem;
    overflow: hidden;
    position: relative;
    float:none; 
    transition: 0s !important;
}
#content .content-home header .carousel .carousel-inner .carousel-item img{
    width: 100%;
}
#content .content-home header .carousel .carousel-inner .carousel-item .carousel-caption{
    height: 100%;
    width: 100%;
    background: rgb(227 10 25 / 65%);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
#content .content-home header .carousel .carousel-inner .carousel-item .carousel-caption h1{
    margin-top: 11rem;
    font-size: 4rem;
}
#content .content-home header .carousel .carousel-inner .carousel-item .carousel-caption h5{
    margin-top: 2.5rem;
    font-size: 2rem;
    color: #eee;
}
#content .content-home header .carousel .carousel-inner .carousel-item .carousel-caption hr{
    border: 0;
    border-top: 2px solid #fff;
    width: 3rem;
}
#content .content-home header .carousel .carousel-inner .carousel-item .carousel-caption ul{
    padding: 0;
    text-align: center;
    margin-top: 3rem;
}
#content .content-home header .carousel .carousel-inner .carousel-item .carousel-caption ul li{
    list-style: none;
    display: inline-block;
}
#content .content-home header .carousel .carousel-inner .carousel-item .carousel-caption ul li a{
    color: #eee;
    margin: 5px;
    padding: 5px;
    font-size: 1.1rem;
}

/********/

#content .content-home .weather-currency{
    margin: 0;
    overflow: hidden;
}
#content .content-home .weather-currency .weather{
    padding-top: 1rem;
}
#content .content-home .weather-currency .currency{
    text-align: center;
    padding: 20px;
    padding-top: 2.5rem;
}
#content .content-home .weather-currency .currency div{
    
}
#content .content-home .weather-currency .currency div h3{
    
}
#content .content-home .weather-currency .currency div p{
    
}
#content .content-home .weather-currency .prayer{
    border-right: 1px solid rgb(0 0 0 / 10%);
    border-left: 1px solid rgb(0 0 0 / 10%);
}
#content .content-home .weather-currency .prayer h5{
    text-align: center;
}
#content .content-home .weather-currency .prayer h6{
    text-align: center;
}
#content .content-home .weather-currency .prayer p{
    text-align: center;
}
#content .content-home .weather-currency .weather, #content .content-home .weather-currency .currency, #content .content-home .weather-currency .prayer{
    
}


/********/

.news {
    height: 30px;
    margin: 20px auto;
    overflow: hidden;
    padding: 0px;
    -webkit-user-select: none;
    border-left: 5px solid #e30a17;
    box-shadow: inset 1px 1px 5px rgb(0 0 0 / 15%);
} 
.full-width{
    width: 100%;
}
.news span {
  float: left;
  color: #000;
  padding: 6px;
  position: relative;
  top: 1%;
  border-radius: 4px;
  box-shadow: inset 0 -15px 30px rgba(0,0,0,0.4);
  font: 16px 'Source Sans Pro', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none;
  cursor: pointer
}

.news ul {
  float: left;
  padding-left: 20px;
  animation: ticker 10s cubic-bezier(1, 0, .5, 0) infinite;
  -webkit-user-select: none
}

.news ul li {line-height: 30px; list-style: none }

.news ul li a {
  color: #000;
  text-decoration: none;
  font: 14px Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none
}
@keyframes ticker {
	0%   {margin-top: 0}
	25%  {margin-top: -30px}
	50%  {margin-top: -60px}
	75%  {margin-top: -90px}
	100% {margin-top: 0}
}
.news ul:hover { animation-play-state: paused }
.news span:hover+ul { animation-play-state: paused }


/********/

.content-home .news-feed .news-slider{
    
}
.content-home .news-feed .news-slider .carousel-inner{
    height: 25rem;
    overflow: hidden;
}
.content-home .news-feed .news-slider .carousel-inner .carousel-item{
    height: 25rem;
    overflow: hidden;
}
.content-home .news-feed .news-slider .carousel-inner .carousel-item img{
    width: 100%;
    display: block;
    margin: auto;
}
.content-home .news-feed .news-slider .carousel-inner .carousel-item .carousel-caption{
    
}
.content-home .news-feed .news-slider .carousel-inner .carousel-item .carousel-caption h5{
    background: rgb(0 0 0 / 75%);
    padding: 2rem
}
.content-home .news-feed .news-slider .carousel-inner .carousel-item .carousel-caption h5 a{
    padding: 2rem
}

.content-home .news-feed .content-header h2{
    margin-top: 2rem;
    padding: 1rem;
    border-left: 5px solid #e30a17;
    background: #f0f0f0;
}
.content-home .news-feed .content-feed{
    margin: 0;
    margin-top: 2rem;
}
.content-home .news-feed .content-feed .main-part{
    box-shadow: 0px 3px 10px 2px rgb(0 0 0 / 15%);
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 25px;
    padding: 0;
}
.content-home .news-feed .content-feed .main-part .col-img{
    margin-bottom: 0px !important;
    padding-left: 0;
    height: 11rem;
    overflow: hidden;
    padding: 0;
}
.content-home .news-feed .content-feed .main-part .col-img .bg-image{
    position: relative;
    width: 100%;
    height: 18rem;
}
.content-home .news-feed .content-feed .main-part .col-img .bg-image .mask{
    --mdb-image-hover-transition: all 0.3s ease-in-out;
    opacity: 0;
    transition: var(--mdb-image-hover-transition);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-attachment: fixed;
}
.content-home .news-feed .content-feed .main-part .col-img .bg-image .mask:hover {
    opacity: 1;
}
.content-home .news-feed .content-feed .main-part .col-text{
    padding-top: 20px;
}
.content-home .news-feed .content-feed .main-part .col-text h4{
    font-size: 1.2rem;
}
.content-home .news-feed .content-feed button{
    background: #e30a17;
    color: #fff;
}


/* ---------------------------------------------------
    About
----------------------------------------------------- */

.content-category .about{
    margin-top: 2rem;
}
.content-category .about .col-img{
    
}
.content-category .about .col-img .img-container{
    width: 100%;
    height: 100%;
}
.content-category .about .col-img .img-container img{
    width: 100%;
    height: 100%;
}
.content-category .about .col-text{
    background: #fff;
    border-left: 3px solid #e30a17;
    padding: 1rem 2rem;
}
.content-category .about .col-text h1{
    
}
.content-category .about .col-text p{
    
}

/* ---------------------------------------------------
    Content Category
----------------------------------------------------- */
.content-category{
    
}
.content-category header{
    margin: -20px;
    margin-bottom: 0px;
}
.content-category header .img-container{
    width: 100%;
    overflow: hidden;
    height: 35rem;
    background: url(../img/category-header.jpg) no-repeat fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.content-category header .img-container img{
    width: 100%;
}
.content-category header .img-container .overlay{
    width: 100%;
    height: 100%;
    background: rgb(227 10 25 / 65%);
    overflow: hidden;
}
.content-category header .img-container .overlay hr{
    border: 0;
    border-top: 2px solid #fff;
    width: 3rem;
}
.content-category header .img-container .overlay h1, .content-category header .img-container .overlay h2{
    color: #fff;
    text-align: center;
    margin-top: 13rem;
    font-size: 4.5rem;
}
.content-category header .img-container .overlay ul{
    padding: 0;
    text-align: center;
    margin-top: 3rem;
}
.content-category header .img-container .overlay ul li{
    list-style: none;
    display: inline-block;
}
.content-category header .img-container .overlay ul li a{
    color: #eee;
    margin: 5px;
    padding: 5px;
    font-size: 1.1rem;
}

.content-category .news-feed{
    
}
.content-category .news-feed .content-header{
    
}
.content-category .news-feed .content-header h2{
    margin-top: 2rem;
    padding: 1rem;
    border-left: 5px solid #e30a17;
    background: #f0f0f0;
}

.content-category .news-feed .content-feed{
    margin-top: 2rem;
}
.content-category .news-feed .content-feed .main-part{
    box-shadow: 0px 3px 10px 2px rgb(0 0 0 / 15%);
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 25px;
}
.content-category .news-feed .content-feed .main-part .col-img{
    margin-bottom: 0px !important;
    padding-left: 0;
    height: 19rem;
    overflow: hidden;
}
.content-category .news-feed .content-feed .main-part .col-img .bg-image{
    position: relative;
    width: 100%;
    height: 19rem;
}
.content-category .news-feed .content-feed .main-part .col-img .bg-image .mask{
    --mdb-image-hover-transition: all 0.3s ease-in-out;
    opacity: 0;
    transition: var(--mdb-image-hover-transition);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-attachment: fixed;
}
.content-category .news-feed .content-feed .main-part .col-img .bg-image .mask:hover {
    opacity: 1;
}
.content-category .news-feed .content-feed .main-part .col-text{
    padding-top: 20px;
    overflow: hidden;
}
.content-category .news-feed .content-feed .main-part .col-text .created-at{
    font-size: 0.8rem;
    background: #fff;
    color: #555;
    display: block;
    text-align: left;
    white-space: pre-line;
    line-height: 1.4rem;

}
.content-category .news-feed .content-feed .badge{
    color: #fff;
    background: #ff3333;
}
.content-category .news-feed .content-feed button{
    background: #e30a17;
    color: #fff;
}

/* ---------------------------------------------------
    Contect Login and Register
----------------------------------------------------- */

.content-category .register{
    padding: 3rem;
}
.content-category .register form{
    width: 75%;
    margin: auto;
}

/* ---------------------------------------------------
    Contect Messages
----------------------------------------------------- */
.content-category .messages{
    margin: auto;
    margin-top: 2rem;
}
.content-category .messages .card{
    
}
.content-category .messages .card button{
    text-decoration: none;
    color: #e30a17;
}


/* ---------------------------------------------------
    Post Page
----------------------------------------------------- */

.content-category .news-feed .post-page{
    margin-top: 30px;
    overflow: hidden
}
.content-category .news-feed .post-page .img-header{
    margin: auto;
    display: block;
    border-radius: 7px;
}

.content-category .news-feed .post-page .content-post{
    overflow: hidden
}
.content-category .news-feed .post-page .content-post img{
    width: 100% !important;
}


/* ---------------------------------------------------
    Footer
----------------------------------------------------- */

footer{
    padding: 1rem;
    background: #000;
    margin: -20px;
    margin-top: 2rem;
}
footer .footer-copyright{
    
}
footer .footer-copyright p{
    text-align: center;
    margin-top: 10px;
}


/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar {
        margin-left: 0;
    }
    #sidebar.active {
        margin-left: -250px;
    }
    #sidebarCollapse span {
        display: none;
    }
    
    #navbar {
        text-align: center;
    }
    #navbar .dropdown-menu{
        text-align: center;
    }
    
    .content-category .news-feed .content-feed .main-part .col-img{
        padding-right: 0;
        padding-left: 0;
    }
    
    /* Content Home */

    #content .content-home{
        
    }

    #content .content-home header .carousel {
        margin-top: -20px;
        margin-left: -20px;
        margin-right: -20px;
        overflow: hidden;
        position: relative;
        height: 25rem;
    }
    #content .content-home header .carousel .carousel-inner{

    }
    #content .content-home header .carousel .carousel-inner .carousel-item{
        width: 100%;
        height: 25rem;
        overflow: hidden;
        position: relative;
    }
    #content .content-home header .carousel .carousel-inner .carousel-item img{
        width: 100%;
        height: 25rem;
    }
    #content .content-home header .carousel .carousel-inner .carousel-item .carousel-caption{
        height: 100%;
        width: 100%;
        background: rgb(227 10 25 / 65%);
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        overflow: hidden
    }
    #content .content-home header .carousel .carousel-inner .carousel-item .carousel-caption h1{
        margin: auto;
        margin-top: 5rem;
        font-size: 3rem;
        width: 98%;
    }
    #content .content-home header .carousel .carousel-inner .carousel-item .carousel-caption h5{
        margin: auto;
        margin-top: 1rem;
        font-size: 1.2rem;
        width: 90%;
        color: #eee;
    }
    #content .content-home header .carousel .carousel-inner .carousel-item .carousel-caption hr{
        border: 0;
        border-top: 2px solid #fff;
        width: 3rem;
    }
    #content .content-home header .carousel .carousel-inner .carousel-item .carousel-caption ul{
        padding: 0;
        text-align: center;
        margin-top: 1rem;
    }
    #content .content-home header .carousel .carousel-inner .carousel-item .carousel-caption ul li{
        list-style: none;
        display: inline-block;
    }
    #content .content-home header .carousel .carousel-inner .carousel-item .carousel-caption ul li a{
        color: #eee;
        margin: 5px;
        padding: 5px;
        font-size: 1.1rem;
    }
    
    /********/

    #content .content-home .weather-currency{
        margin: 0;
        overflow: hidden;
    }
    #content .content-home .weather-currency .weather{
        
    }
    #content .content-home .weather-currency .currency{
        text-align: center;
        padding: 20px;
    }
    #content .content-home .weather-currency .currency div{

    }
    #content .content-home .weather-currency .currency div h3{
        font-size: 15px;
    }
    #content .content-home .weather-currency .currency div p{
        font-size: 12px;
    }
    #content .content-home .weather-currency .prayer{
        border-right: 1px solid rgb(0 0 0 / 10%);
        border-left: 1px solid rgb(0 0 0 / 10%);
    }
    #content .content-home .weather-currency .weather, #content .content-home .weather-currency .currency, #content .content-home .weather-currency .prayer{
        
    }
    
    #content .content-home .weather-currency .prayer h6{
        text-align: center;
        font-size: 12px;
    }
    #content .content-home .weather-currency .prayer p{
        text-align: center;
        font-size: 12px;
    }
    
    .content-home .news-feed .news-slider .carousel-inner{
        height: 15rem;
        overflow: hidden;
    }
    .content-home .news-feed .news-slider .carousel-inner .carousel-item{
        height: 15rem;
        overflow: hidden;
    }
    .content-home .news-feed .news-slider .carousel-inner .carousel-item img{
        width: 100%;
        display: block;
        margin: auto;
        height: 100%;
    }
    .content-home .news-feed .news-slider .carousel-inner .carousel-item .carousel-caption h5{
        background: rgb(0 0 0 / 75%);
        padding: 0.5rem
    }
    .content-home .news-feed .news-slider .carousel-inner .carousel-item .carousel-caption h5 a{
        padding: 0.5rem
    }
    /********/
        
}


/* ---------------------------------------------------
    WhatsApp
----------------------------------------------------- */

.whatsapp{
    position: fixed;
    right: 1rem;
    bottom: 1rem;
}
.whatsapp a{
    
}
.whatsapp a img{
    width: 5rem;
}









