/*
  ====== [ Main Colors ] ======
OurColor => #051f38
            #004084

---------------------------------------
#007bff
*/
body {
    direction: rtl;
    font-family: 'Cairo', sans-serif;
    text-align: right;
}

/* =========Start Nav Bar style========= */
.navbar{
    font-size: 1.2em;
    font-weight: 600;
    color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9999999999999999999;
    padding:10px;
    background-color: #051f38 !important;
    background-image: linear-gradient(45deg ,#79027e 0% , #051f38 100%)!important;
}
a.navbar-brand{
    position: absolute;
    top:0px;
    left: 50px;
    height: 100%;
    padding: 5px;
    line-height: 1.7;
}
.navbar-nav{
    padding: 0;
    padding-right: 40px;
}
a.navbar-brand img{
    height: 100%;
    max-height: 50px;
}

@media (max-width:991px){
    a.navbar-brand{
        left: 10px;
    }
    .navbar-nav{
        padding: 15px 10px 10px 10px;
    }
}

/* =========End Nav Bar style========= */

/**********************************************************************/
/*====================Start Home page style====================*/
/*--Start About Section-- */

.about,.Content,.contact{
	padding: 20px 0;
    text-align: center;
}
.about h2.h1,
.Content .Contents h2.h1,
.contact h2.h1{
    padding: 0 0 30px 0;
    margin: 0;
    font-weight: 600;
    text-align: center;
    position: relative;
    font-size:2em
}

.about h2.h1{
    color:#051F38;
    font-weight: 700;
}
.about P{
    padding: 0;
    margin: 0;
    color:#051F38;
    font-size: 20px;
    text-align: justify;
}
/* --End About Section-- */

/* --Start Content Section-- */
.content_background{
    padding: 0;
    margin: 0;
    background-image: url(../photos/a691f739a5fd25357cf7f88cb144ff6c.png);
    -webkit-clip-path: polygon(0% 0%, 100% 15%, 100% 100%, 0% 85%);
    clip-path: polygon(0% 0%, 100% 15%, 100% 100%, 0% 85%);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 9999999999999999999
}

.Content{
    padding: 90px 0;
    margin: 0;
    background-image: linear-gradient(45deg ,rgba(121, 2, 126, 0.95) 0% , rgba(5, 31, 56, 0.95) 100%)!important;
	-webkit-clip-path: polygon(0% 0%, 100% 15%, 100% 100%, 0% 85%);
    clip-path: polygon(0% 0%, 100% 15%, 100% 100%, 0% 85%);
}
.Content .Contents h2.h1{
    color:#fff;
}
.Content .Contents h3{
    color: #051F38;
    background-color: #fff;
    border: 2.5px solid #fff;
    margin: 20px 0;
    padding: 0;
    height: 50px;
    font-size: 25px;
    line-height: 40px;
    padding:0 10px;
    font-weight: bold
}
.Content .Contents h5{
    color: #aaa;
    background-color: #111;
    height: 99%;
    font-size: 1.5em;
    line-height: 1.5em;
    padding: 5px 10px;
    margin: 0;
    position: absolute;
    cursor: pointer;
    z-index: 555555999999
}
.Content .Contents h5:hover{
    background-color: #004084;
    transition: all 0.s linear;
}
.Content .Contents h5.next{
    left: 0;
}
.Content .Contents h5.prev{
    right: 0;
}
.Content .Contents .books,
.Content .Contents .links{
    padding: 0px 15px;
}
.Content .Contents section{
    border: 2.5px solid #fff;
    margin: 20px 0;
    padding: 0;
    height: auto;
    overflow: hidden;
    position: relative;
    line-height: 45px;
    background-color: rgba(255, 255, 255, 0.14);
    
}
.Content .Contents section span{
    position: absolute;
    color: #fff;
    padding: 0px;
    text-align: right;
    right: 0;
}

.Content .Contents .links span{
    width: 3130px;
}
.Content .Contents .books span{
    width: 2800px;
}

.Content .Contents section span a{
    padding: 0px 15px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 20px;
    line-height: 2;
}
.Content .Contents section span i{
    color: #fff;
    font-size: 20px;
    line-height: 40px;
}
.Content .Contents section span a:hover{
    color: #000;
}
/* --End Content Section-- */

/* --Start contact us Section-- */
.contact{
    width: 100%;
    height: auto;
    background-image:url(../photos/contact-banner.png);
    background-size: cover;
	margin-top: -90px;
    padding-top: 90px;
    background-position: right;
}
.contact .contactus{
    text-align: center;
    margin: auto;
    height: auto;
}
.contact .contactus h2.h1{
    color:#051F38;
    padding: 0 0 30px 0;
    margin: 0;
  }
.contact .contactus form{
    margin: 15px auto;
    width: 80%;
    height: auto;
	overflow: hidden;
}
#showForm{
	color: #051F38;
	font-size: 2em;
	padding: 0px 10px 5px 10px;
	border: 3px solid #051F38;
    cursor: pointer;
    margin-top: 50%;
    transform: translateY(-50%);
    display: none;
}
.contact .contactus form input[type="text"],
.contact .contactus form textarea,
.contactus form input[type="email"]{
    width: 100%;
    height: 50px;
    padding: 5px 10px;
    margin-bottom: 10px;
    background-color: transparent;
    border: 2px solid #051F38;
    text-align: left;
    font-size: 18px;
}
.contact .contactus form input:first-of-type{
    border-radius:7px 7px 0 0;
}
.contact .contactus form textarea{
    height: 130px;
    resize: none;
    font-size: 18px;
    border-radius:0 0 7px 7px;
}
.contact .contactus form button{
    border: 2px solid #051F38;
    padding: 5px;
    border-radius:7px;
    background-color: transparent;
}
.contact .contactus form input::-webkit-input-placeholder,
.contact .contactus form textarea::-webkit-input-placeholder{
    color: #051F38;
}
.contact .contactus form input:-ms-input-placeholder,
.contact .contactus form textarea:-ms-input-placeholder{
    color: #051F38;
}
.contact .contactus form input::-ms-input-placeholder,
.contact .contactus form textarea::-ms-input-placeholder{
    color: #051F38;
}
.contact .contactus form input::placeholder,
.contact .contactus form textarea::placeholder{
    color: #051F38;
}

@media (max-width:991px){
    .Content{
        padding: 80px 0px;
        -webkit-clip-path: polygon(0% 0%, 100% 10%, 100% 100%, 0% 90%);
        clip-path: polygon(0% 0%, 100% 10%, 100% 100%, 0% 90%)
    }
    /*********************************/
    .hide-contact-section{
        display: none;
    }
}

@media (max-width:767px){
    .contact .contactus form{
        width: 90%;
    }
}
/* --End contact us Section-- */

/*====================End Home page style====================*/
/**********************************************************************/
/*====================Start links page style====================*/

section.card-header{
    background-color: #051F38;
    background-image: linear-gradient(45deg ,#79027e 0% , #051f38 100%)!important;
    transition: all 0.5s linear;
    text-align: center;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1;
    color: #fff;
}
.card{
    transition: all 0.5s linear;
}
.card:hover section.card-header{
    transition: all 0.5s linear;
    background-color:#004084;
}
.card:hover ul{
    transition: all 0.5s linear;
    border: 2px solid #004084;
}
section.card-header + ul{
    transition: all 0.5s linear;
    border: 2px solid #051F38;
    list-style: none;
    text-align: left;
    direction: ltr;
    overflow: hidden;
    padding: 0;
    margin: 0;
}
section.card-header + ul li{
    padding: 5px;
    margin: 0;
}
section.card-header + ul li a{
    color: #111;
    width: 100%;
    padding-left: 20px;
    position: relative;
    background-color: #fff;
    transition: 0.5s all linear;
}
section.card-header + ul li:hover a{
    transition: 0.5s all linear;
    padding-left: 25px;
}
section.card-header + ul li a:before{
    content: '';
    border:7px solid #d00;
    top:7px;
    left:7px;
    position: absolute;
    border-color: transparent transparent transparent #051F38;
    transition: 0.5s all linear;
}
section.card-header + ul li:hover a:before{
    border-color: transparent transparent transparent #004084;
    left:12px;
    transition: 0.5s all linear;
}


.showAndHide{
    position: fixed; font-size: 2em; padding: 7px; top: 50vh; left: 0; z-index: 999999999999999; color: #fff;
    background-image: linear-gradient(45deg ,#79027e 0% , #051f38 100%)!important; 
    width: auto; height: auto
}
.showAndHide:hover{
    color: #111;
}
/*====================End links page style====================*/
/**********************************************************************/
/*====================Start articls page style====================*/

.thumbnail-gallary .main-image {
	height: auto;
	position: relative;
    margin-top: 30px;
    overflow: hidden;
}
.thumbnail-gallary .main-image > .show-art {
	padding: 20px
}
.thumbnail-gallary .main-image > .show-art h2 {
	text-align: center;
	margin: 0 0 15px 0;
    font-style: italic;
    text-decoration: underline;
    color: #051f38;
}
.thumbnail-gallary .main-image > .show-art p {
	font-size: 18px;
    line-height: 1.4;
    color: #363636;
}
.thumbnail-gallary .main-image > i {
	position: absolute;
    top: 2px;
    background-color: #051f38;
    color: #FFF;
    text-align: center;
    cursor: pointer;
    width: 30px;
    height: 30px;
    line-height: 33px;
    z-index: 9999;
    border: 1px solid #fff;
}
.thumbnail-gallary .main-image > i:hover{
	background-color: #051f38;
	color: #004084
}
.thumbnail-gallary .main-image > i.fa-chevron-left {
	left: 2px
}
.thumbnail-gallary .main-image > i.fa-chevron-right {
	right: 2px
}
.thumbnail-gallary .main-image,
.thumbnail-gallary .thumbnail-imgs {
	padding: 2px;
	background-color: #FFF;
	border: 2px solid #051f38;
    margin-top: 10px;
}
.thumbnail-gallary .thumbnail-imgs > div,
.thumbnail-gallary .main-image > i {
	-webkit-transition: all .4s ease-in-out;
	-o-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
}
.thumbnail-gallary .main-image img {
	width: 100%;
    height: 400px;

}
.thumbnail-gallary .thumbnail-imgs {
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
  	-ms-flex-wrap: wrap;
  	-o-flex-wrap: wrap;
  	flex-wrap: wrap;
}
.thumbnail-gallary .thumbnail-imgs > div {
	width: 11.5%;
    margin: 0px 0.5%;
	height: auto;
	position: relative;
	border: 2px solid transparent;
	-webkit-opacity: .6;
	-moz-opacity: .6;
	-ms-opacity: .6;
	-o-opacity: .6;
	opacity: .6;
	cursor: pointer;
    background-color: #ddd;
}
.thumbnail-gallary .thumbnail-imgs > div > img {
	width: 100%;
	height: 90px;
}
.thumbnail-gallary .thumbnail-imgs > div.selected,
.thumbnail-gallary .thumbnail-imgs >div:hover {
	border: 2px solid #004084;
	-webkit-opacity: 1;
	-moz-opacity: 1;
	-ms-opacity: 1;
	-o-opacity: 1;
	opacity: 1;
}
.thumbnail-gallary .thumbnail-imgs > div > .content-of-art > p{
	display: none;
}
.thumbnail-gallary .thumbnail-imgs > div > .content-of-art > h2{
	font-size: 0.9em;
    text-align: center;
    margin-top: 10px
}
.thumbnail-gallary .content-of-art > p a{
    padding: 5px;
    margin-right: 20px;
    border: 1px solid #123;
    width: auto;
    height: auto;
}

/*smallScreen*/
@media (max-width:768px){
   .thumbnail-gallary .thumbnail-imgs > div {
        width: 24%;
    }
    .thumbnail-gallary .thumbnail-imgs > div > img {
        height: 75px;
    }
    .thumbnail-gallary .main-image > img {
        height: auto;
    }
}

/*====================End articl page style====================*/
/**********************************************************************/
/*====================Start books page style====================*/

.book{
    width: 85%;
    height:400px;
    margin: 25px auto;
    border: 5px solid #051f38;
    position: relative;
    overflow: hidden;
    -webkit-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    transition: all 0.5s linear;
}
.book:hover{
    border: 5px solid #004084;
    -webkit-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    transition: all 0.5s linear;
}
.book img{
    width: 100%;
    height:100%;
    position: absolute;
    -webkit-transition:all 0.5s linear;
    -o-transition:all 0.5s linear;
    transition:all 0.5s linear;
}
.book .booktitle{
    width: 100%;
    height:45%;
    position: absolute;
    background-color: rgb(255,255,255,0.8);
    bottom:-50%;
    padding: 2.5%;
    -webkit-transition:all 0.5s linear;
    -o-transition:all 0.5s linear;
    transition:all 0.5s linear;
    border-top: 5px solid #051f38;
    overflow-y: scroll;
    overflow-x: hidden;
}
.book:hover .booktitle{
    -webkit-transition:all 0.5s linear;
    -o-transition:all 0.5s linear;
    transition:all 0.5s linear;
    border-top: 5px solid #004084;
}
.book .booktitle::-webkit-scrollbar-track{
    background: transparent;
}
 .book .booktitle h2.h1{
     font-size: 1.5em;
     font-weight: 600;
     color: #051f38;
     padding: 0 0 10px 0;
     margin: 0;
     border-bottom: 2.5px solid #004084;
}
.book .booktitle p{
    font-size: 18px;
    color: #000;
    padding: 0;
    margin: 10px 0 0 0 ;
}
.book .booktitle p span{
    font-size: 18px;
    color: #222;
    text-decoration:underline;
}
/*
.book a{
    width: auto;
    height: auto;
    font-size: 25px;
    text-decoration: none;
    position: absolute;
    line-height: 25px;
    background-color: #051f38;
    color: #fff;
    padding: 10px 4px 4px 4px;
    text-align: center;
    border-radius:  0 0 20px 20px;
    -webkit-transition:all 0.5s linear;
    -o-transition:all 0.5s linear;
    transition:all 0.5s linear;
}
.book .view{
    right:10px;
    top: -7.5px; 
}
.book .download{
    right:55px;
    top: -7.5px; 
}
*/

.book a{
    width: 75px;
    height: 75px;
    font-size: 25px;
    text-decoration: none;
    position: absolute;
    line-height: 25px;
    color: #fff;
    padding: 10px 3px 3px 3px;
    text-align: center;
    -webkit-transition:all 0.5s linear;
    -o-transition:all 0.5s linear;
    transition:all 0.5s linear;
}
.book .view{
    right:-39px;
    top: 13px;
    clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 0% 100%);
    transform: rotate(-225deg);
    background-image: linear-gradient(45deg ,#79027e 0% , #051f38 100%)!important;
}
.book .download{
    right:13px;
    top: -39px;
    transform: rotate(-135deg);
    background-image: linear-gradient(45deg ,#79027e 0% , #051f38 100%)!important;
}

.book .download i{
    transform: rotate(135deg);
    text-align: left;
    top: 30px;
    position: absolute;
    top: 10px;
}

.book .view i{
    transform: rotate(225deg);
    text-align: left;
    position: absolute;
    top: 40px;
    left: 40px
}

.book:hover .download{
    background-image: linear-gradient(45deg , #051f38 0% , #79027e 100%)!important;
}
.book:hover .view{
     background-image: linear-gradient(45deg , #051f38 0% , #79027e 100%)!important;
}
.book a:hover{
    color: #111;
    -webkit-transition:all 0.5s linear;
    -o-transition:all 0.5s linear;
    transition:all 0.5s linear;
/*    top: 0;*/
}
.book:hover .booktitle{
    bottom: 0;
    -webkit-transition:all 0.5s linear;
    -o-transition:all 0.5s linear;
    transition:all 0.5s linear;
}
.book:hover img{
    -webkit-transform: scale(1.15);
        -ms-transform: scale(1.15);
            transform: scale(1.15);
    -webkit-transition:all 0.5s linear;
    -o-transition:all 0.5s linear;
    transition:all 0.5s linear;
	-webkit-filter: blur(5px);
	        filter: blur(5px);
}

.book .booktitle p{
    text-align: justify
}
/*
.book a i{
    width: 50px;
    height: 50px;
    background-color: red;
    text-align: center;
    align-content: center;
    padding: 5px;
    display: inline-block
}
*/

@media (max-width:991px){
    .book{
        margin: 20px auto;
    }
}

/*====================End books page style====================*/
/**********************************************************************/
/* ==================== Scroll Bar ==================== */
::-webkit-scrollbar-track{
    background: #eee;
}
::-webkit-scrollbar{
    width: 7px;
    background: transparent;
}
::-webkit-scrollbar-thumb{
    background: #051f38;
    transition: all 0.5s linear;
}
::-webkit-scrollbar-thumb:hover{
    background: #004084;
    transition: all 0.5s linear;

}