﻿/* Global Styles */

html, body {
    height: 100%;
    /*font-family: DecoTypeNaskhVariants !important;*/
    font-family: Amiri Quran !important;
    /*background-color: darkkhaki;*/
    font-size: 21px;
    /*background: url(../Images/Motive1illustration1.png) no-repeat 97% 88px;*/
    /*background: url(../Images/paper-textureBeigeGreen.png) repeat-y 1% top;*/
    background: url(../Images/paper-textureSepia.png) repeat-y 1% top;
    background: url(../Images/paper-textureeYellow.png) repeat-y 1% top;
    /*background: url(../Images/BG-Gray.jpg) repeat-y 100% top;*/
    /*background: url(../Images/BG-Beige.jpg) repeat-y 100% top;*/
    background-size: 100%;
    background-attachment: fixed;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    line-height: 2 !important;
}
.content-wrapper .form-control {
    height: auto !important;
    padding: 0 12px;
    font-size: 20px;
}
a {
    color: #68afa1;
}
a:hover, a:focus, a:active {
    color: #559c8e;
}
h1, h2, h3 {
    font-family: Amiri Quran !important;
}
h3, .h3 {
    font-size: 28px;
}
h1 a, h1 a:hover {
    color:#fff;
}
.img-home-portfolio,
.img-customer,
.portfolio-item {
  margin: 0 auto 30px;
}

.tab-pane {
  margin-top: 15px;
}

/* Page Sections */
.section, .section-colored, .section-BGimg {
  padding: 50px 0 70px;
}
.section-BGimg {
    background: url("../images/PublishingHeritage/BG.jpg") no-repeat scroll center center / cover rgba(0, 0, 0, 0.8);
    /*background-blend-mode: multiply;*/
    color: #fff;
    background-attachment: fixed;
}
    .section-BGimg .img1 {
        max-width: 60%;
        display: inherit;
    }

    .section-BGimg .img2 {
        max-width: 72%;
        display: inherit;
    }
/*.section-BGimg:not(*:root) {
    background-blend-mode: darken;  
}*/
.section-BGimg a{
    color:#fff;
}
.section-colored {
  background-color: #e1e1e1; /* change this to change the background color of a colored section */
  margin-top: 60px;
}

.sidebar {
  margin-top: 40px;
}

.sidebar ul {
  border-radius: 5px;
  padding: 5px;
  border: 1px solid #cccccc;
}

/* Half Page Height Carousel Customization */
.carousel {
    position: relative;
    /*top: -96px;*/
}
.item,
.active,
.carousel-inner {
  height: 100%;
}

.fill {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
}
.carousel-control .glyphicons-chevron-left, .carousel-control .glyphicons-chevron-right, .carousel-control .icon-prev, .carousel-control .icon-next {
    font-size: 75px !important;
}
/* Social Icons Styles */
.list-social-icons {
  margin-bottom: 45px;
}

.tooltip-social a {
  text-decoration: none;
  color: inherit;
}

.facebook-link a:hover {
  color: #3b5998;
}

.linkedin-link a:hover {
  color: #007fb1;
}

.twitter-link a:hover {
  color: #39a9e0;
}

.google-plus-link a:hover {
  color: #d14836;
}

/* Service Page Styles */
.service-icon {
  font-size: 50px;
}

/* 404 Page Styles */
.error-404 {
  font-size: 8em;
}

/* Pricing Page Styles */
.price {
  font-size: 4em;
}

.price-cents {
  vertical-align: super;
  font-size: 50%;
}

.price-month {
  font-size: 35%;
  font-style: italic;
}

/* Footer Styles */
footer {
  margin: 50px 0;
}

/*----------banner style----------*/
.navbar-inverse {
    /*background-color: rgba(0,0,0,.5);*/ 
    background-color: rgba(0, 0, 0, 1);
    border-color: rgba(0, 0, 0, 0.15);
    margin-bottom: 0;
    border-radius: 0;
    padding-bottom: 25px;
}
.navbar-nav li {
    font-family: Amiri Quran !important;
    font-size: 18px !important;
}
.navbar-inverse .navbar-nav > li > a {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}
.navbar-right .dropdown-menu {
    left: auto !important;
    right: 0 !important;
}
.breadcrumb {
    margin-bottom: 20px;
}
.carousel-social {
    left: 0;
    list-style: outside none none;
    position: absolute;
    top: 30%;
    z-index: 15;
    font-size: 28px;
    padding: 0;
    margin: 0;
    text-align: center;
}
.carousel-social li, .footer-social li{
    margin: 0;
    /*line-height: normal;*/
    background-color: #333333;
}
.carousel-social li a, .footer-social li a{
    display: inline-block;
    color: #fff;
    padding: 10px 12px;    
    text-align: center;
    width: 40px;
}
.carousel-social li.facebook {
    background-color: #255c95;
}
.carousel-social li.facebook:hover {
    background-color: #1B436C;
}
.carousel-social li.twitter{
    background-color: #00b4e0;
}
.carousel-social li.twitter:hover {
    background-color: #008BAD;
}
.carousel-social li.youtube {
    background-color: #E94639;
}
.carousel-social li.youtube:hover {
    background-color: #bc190c;
}
.carousel-social li.rss {
    background-color: #F8991D;
}
.carousel-social li.rss:hover {
    background-color: #e6870b;
}
.footer-social {
    display: inline-block;
    list-style: outside none none;
    margin: 0;
    padding: 0;
}
.footer-social li{
    float: right;
    margin: 0 0 0 10px;
}
@font-face {
     font-family: Hacen Tunisia Lt;
     src: url("Fonts/Hacen Tunisia Lt.ttf");
	src: url('Hacen Tunisia Lt.eot');
	src: local('?'), url('Fonts/Hacen Tunisia Lt.woff') format('woff'), url('Fonts/Hacen Tunisia Lt.ttf') format('truetype'), url('Fonts/Hacen Tunisia Lt.svg') format('svg');
	font-weight: normal;
	font-style: normal;
	src: url('Fonts/Hacen Tunisia Lt.eot'); 
	src: url('Fonts/Hacen Tunisia Lt.eot?#iefix') format('embedded-opentype'),
	     url('Fonts/Hacen Tunisia Lt.woff') format('woff'), 
	     url('Fonts/Hacen Tunisia Lt.ttf')  format('truetype'), 
	     url('Fonts/Hacen Tunisia Lt.svg#svglithos_pro_black') format('svg');
}
div.HomeNews-img {
    background-color: #fff;
    box-shadow: 0 -24px 16px rgba(0, 0, 0, 0.2);
    display: block;
    height: 190px;
    /*margin-top: -100px;*/
    overflow-y: hidden;
    padding: 10px;
}
div.HomeNews-img a {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border: 1px solid #d7d7d7;
    display: block;
    height: 100%;
    width: 100%;
}
.HomeNews-piece {
    /*margin-top: 75px;*/
}
.HomeNews-piece i {
    margin-left: 7px;
}
    .HomeNews-piece h3 {
        margin-top: 0px;
    }
.carousel-caption {
    bottom: 0% !important;
    background-color: rgba(63, 46, 16, 0.7);
    right: 0%;
    left: 0%;
    border: 1px solid rgba(255,255,255,.7);
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-top: 0px;
}
.carousel-indicators {
    bottom: 121px;
}
.carousel-caption h1 {
    margin-top: 3px;
    font-size: 30px;
}
.section-blueblack {
    background-color: #1c1a21;
    color: #fff;
    /*margin-top: -75px;*/
}
.section-blueblack .Classificaton a {
    color: #fff;
    display: block;
}
.section.OriginalDocs {
    background-color: #1c1a21;
    color: #fff;
    border-top: 7px solid #6D6453;
    background: rgba(0, 0, 0, 0) url("../Images/OriginalManuscriptsBG.jpg") no-repeat scroll center center / cover;
    background-attachment: fixed;
    padding-bottom: 80px;
}
    .section.OriginalDocs .btn {
        background-color: #6D6453;
        border-color: #555555;
        padding: 20px;
        border-radius: 0;
        margin-top: 20px;
        font-size: 30px;
    }
.nav.nav-tabs > li > a:hover,
.nav.nav-tabs > li > a:focus {
    color: #555555;
}
.photocopies-item {
    /*height: 155px;*/
    overflow-y: hidden;
    display: block;
}
.navbar-fixed-top, .navbar-fixed-bottom {
    position: relative !important;
}
.navbar-nav {
    margin-top: 25px !important;
    margin-left: 80px !important
}
.about {
    margin: 45px 0 75px;
    padding: 0 45px;
}
.about p {
    margin-bottom: 10px;
}
.Classificaton {
    margin-top: 30px;
}
.Researchers {
    background: url("../images/researchers.jpg") no-repeat scroll center center / cover  transparent; 
    position: absolute; 
    left: 0px; 
    height: 100%;
}
.navbar-inverse .navbar-nav > .dropdown > a .caret {
    border-bottom-color: #fff !important;
    border-top-color: #fff !important;
    margin-right: 10px !important;
}
.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
    position: relative;
}
/* Responsive Styles */
@media (min-width: 1200px) {
     .Wide-container {
        width: 90%;
    }
     .carousel{
         /*height: 508px;*/
     }
}
@media (min-width: 992px) and (max-width:1199px){
    .carousel {
    /*height: 500px;*/
    }
    .navbar-nav {
        margin-top: 28px !important;
    }
    .navbar-nav li {
    font-size: 15px !important;
    }
    .nav > li > a {
        padding: 10px 15px !important;
    }
    .img-wrapper {
        height: 160px !important;
    }
}
@media (max-width:1199px) {
    .carousel-caption {
        bottom: 25% !important;
    }
    .carousel-caption h1 {
        font-size: 30px !important;
    }
}
@media (min-width: 992px) and (max-width:1110px) {
    .nav > li > a {
        padding: 10px px !important;
    }
}
@media (min-width: 768px) and (max-width:991px){
    .carousel {
    height: auto;
    }
    .carousel-social {
        top: 20%;
    }
    .img-wrapper {
        height: 135px !important;
    }
    .HomeNews-piece {
        margin-top: 0px;
    }
    
    .section.hints .carousel {
        /*background-color: #f7f7f7;*/
        padding-top: 5px;
        z-index: 100
    }
    .section.hints {
        /*top: -40px !important;*/
    }
}
@media (max-width: 991px) { 
    .navbar-header {
        width: 100%;
    }
    .navbar-collapse  {
        width:100%;
        max-height: none !important;
    }
    .sb-search {
        width: 100% !important;
    }
    .navbar-nav {
    margin-top: 75px !important;
    }
    .sb-search-input {
    font-size: 16px !important;
    padding: 20px 15px 20px 20px !important;
    }
    .navbar-brand img {
        max-height: 55px;
    }
    .navbar-toggle {
        margin-top: 25px;
    }
    .Researchers {
    background: url("../images/researchers.jpg") no-repeat scroll center center / cover  transparent; 
    position: relative; 
    min-height: 350px;
    }
    .carousel {
        top:0;
        height: auto;
    }
    .navbar-inverse {
    background-color: rgba(0, 0, 0, 1);
    border-color: rgba(0, 0, 0, 1);
    }  
    .News {
        margin-top: 0 !important;
    }
    .carousel-caption {
        position: relative !important;
        background: #554C3B !important;
        left: 0;
        right: 0;
        padding: 10px;
    }
    .carousel-caption h1 {
        margin: 0 !important;
    }
    .carousel-caption p {
        margin: 0 !important;
    }
}
@media (max-width: 767px) {
    .carousel {
      height: auto; /* increases the carousel height so it looks good on phones */
    }
    .about {
    padding: 0 30px;
    }
    .about img {
            max-height: 50px;
        }
    a.HomeNews-img {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
        height: auto;
        margin-top: 0;
    }
    .HomeNews-piece {
        margin-top: 0!important;
    }
    .HomeNews-piece {
        text-align: center;
    }
    /*.carousel-caption {
    bottom: 0 !important;
}*/
    
    .carousel-caption h1 {
    font-size: 20px !important;
}
    .photocopies-item {
    height: auto !important;
}
    .GalleryIMG {
    margin-bottom: 20px !important;
}
    .img-wrapper {
    height: auto !important;
}
    .content-wrapper {
    margin-top: 0 !important;
}
    .hints .carousel {
        height: auto !important;
    }
}
.ContactData {
    margin: 30px 0 0;
}
.News {
    margin-top: -95px;
}
.nav > li > a {
    padding: 10px 16px;
}
.lang {
    color: #fff;
    display: inline-block;
    font-size: 14px;
    margin-top: 30px;
}
.lang:hover {
    color: #fff;
    font-size: 15px;
}
.thumbnail {
    line-height: 0.5;
}
.thumbnail h3 {
    font-size: 25px;
}
.content-wrapper {
    margin-top: 35px;
    min-height: 530px;
    font-family: Amiri Quran !important;
    font-size: 22px;
    margin-bottom: 50px;
}
.content-wrapper a{
    word-wrap:break-word;
}
.motive {
    background: url(../Images/Motive1illustration1.png) no-repeat 100% 88px;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 1%;
    opacity: .2;
    z-index: 0;
}

.motive img {
    width: 70%;
    float: left;
}

audio, canvas, video {
     max-width: 100% !important;
}
.GalleryIMG {
    margin-bottom: 30px;
}
h1 a.fa, h1 a.fa:hover  {
    color: #FF9900;
    text-decoration: none;
}
.img-wrapper {
    display: block;
    height: 200px;
    margin-bottom: 0;
    overflow-y: hidden;
}
.error-title {
    font-size: 4em;
}
.error-content {
    margin-top: 60px;
}
.error-details {
    font-size: 17px;
}
.footer.grayBg {
    /*height: 330px;*/
    position: relative;
    background-color: rgba(85,76,56,.2);    
    /*margin-top: 40px;*/
    border-top: 10px solid;
    /*padding-top: 40px;*/
}
.footer.grayBg .container {
    height: 97%;
    position: relative;
}
.footer.grayBg .row, .footer.grayBg .col-lg-4.col-md-6 {
    height: 100%;
    posetion: relative;
}
.footer.grayBg .map{
    posetion: absolute;
    height: 330px;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
}


/*----------- End of Hints Carousel ------------*/
.hints .carousel.carousel-fade .item {
    -webkit-transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    -ms-transition: opacity 0.5s ease-in-out;
    -o-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
}

.hints .carousel.carousel-fade .active.item {
    opacity: 1;
}

.hints .carousel.carousel-fade .active.left,
.hints .carousel.carousel-fade .active.right {
    left: 0;
    z-index: 2;
    opacity: 0;
    filter: alpha(opacity=0);
}

.hints .carousel.carousel-fade .carousel-control {
    z-index: 3;
}

.hints .carousel {
    height: 200px;
    top: 0;
}

.section.hints {
    padding: 0;
    position: relative;
    margin-bottom: 30px;
    /*top: -140px;*/
}

    .section.hints .carousel-inner {
        overflow: hidden;
    }

    .section.hints .btn.btn-block {
        position: relative;
        margin-top: 60px;
    }        

/*----------- End of Hints Carousel ------------*/
/*----------- beige bg ------------*/
.beigeBG {
    /*background-color: #eee;
    background: url('../Images/Activities-BG.jpg') no-repeat center center / cover;*/
}
.beigeBG .thumbnail {
    padding: 0;
    border: none;
}
.brand-FB {
    background-color: #fff;
    border-radius: 50%;
    display: inline-block;
    font-size: 30px;
    height: 40px;
    margin-top: 25px;
    text-align: center;
    width: 40px;
    padding-top: 2px;
}
.customPanel {
    margin: 15px !important;
    border-color: #cbbf93 !important;
    font-size: 23px !important;
}
.customPanel .panel-heading {
    background-color: #f4e8bc;
}
.customFont {
    text-align: right !important;
}
.customFont .page-header span {
    font-size: 30px !important;
    font-weight: bold;
}
    .customFont p strong, .customFont span {
        font-size: 20px !important;
        font-weight: normal !important;
        font-family: Amiri Quran;
        text-align: right !important;
    }
h5, .h5 {
    font-size: 20px;
}

@font-face {
    font-family: DecoTypeNaskhVariants;
    src: url("Fonts/DecoTypeNaskhVariants");
    src: url('DecoTypeNaskhVariants.eot');
    src: local('?'), url('Fonts/DecoTypeNaskhVariants.woff') format('woff'), url('Fonts/DecoTypeNaskhVariants.ttf') format('truetype'), url('Fonts/DecoTypeNaskhVariants.svg') format('svg');
    font-weight: normal;
    font-style: normal;
    src: url('Fonts/DecoTypeNaskhVariants.eot');
    src: url('Fonts/DecoTypeNaskhVariants.eot?#iefix') format('embedded-opentype'), url('Fonts/DecoTypeNaskhVariants.woff') format('woff'), url('Fonts/DecoTypeNaskhVariants.ttf') format('truetype'), url('Fonts/DecoTypeNaskhVariants.svg#svglithos_pro_black') format('svg');
}
@font-face {
    font-family: 'Amiri Quran';
    src: url('Fonts/AmiriQuran/Fonts/AmiriQuran/AmiriQuran-Regular.eot');
    src: url('Fonts/AmiriQuran/AmiriQuran-Regular.eot?#iefix') format('embedded-opentype'), url('Fonts/AmiriQuran/AmiriQuran-Regular.woff2') format('woff2'), url('Fonts/AmiriQuran/AmiriQuran-Regular.woff') format('woff'), url('Fonts/AmiriQuran/AmiriQuran-Regular.ttf') format('truetype'), url('Fonts/AmiriQuran/AmiriQuran-Regular.svg#AmiriQuran-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
}
h2, .h2 {
    font-size: 45px !important;
    margin-top: 0 !important;
}
input, button, select, textarea {
    /*font-size: initial !important;*/
}
.navigators a:hover {
    text-decoration: none;
}
.mrgnTop0 {
    margin-top: 0;
}
blockquote {
    font-size: 20px;
    padding: 0 15px 15px 0;
    margin: 0 0 40px;
}
blockquote a {
    color: #559c8e;
}
/*-------- SubMenu---------*/
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu > .dropdown-menu {
    top: 2% !important;
    right: -100% !important;
}
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}
.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #333;
    margin-top: 10px;
    margin-right: -10px;
    margin-right: -10px;
}
.banner {
    position: relative;
    /*height: 180px;*/
    padding: 11px 0 16px;
    margin: 0 auto;
    text-align: center;
}

.dg-container {
    position: relative;
    width: 100%;
    height: 350px;
}

.dg-wrapper {
    width: 320px;
    height: 250px;
    margin: 0 auto;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

    .dg-wrapper a {
        width: 100%;
        height: 250px;
        display: block;
        position: absolute;
        left: 0;
        top: 0;
    }

        .dg-wrapper a:first-child {
            z-index: 2;
        }

        .dg-wrapper a img {
            display: block;
            box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.20);
            border-radius: 4px;
            width: 100%;
            height: 350px;
            background: #fff;
        }

        .dg-wrapper a.dg-transition {
            transition: all 0.5s ease-in-out;
        }

        .dg-wrapper a.dg-transition-fast {
            transition: all 0.2s ease-in-out;
        }

.dg-container nav {
    display: none;
}

    .dg-container nav span:hover {
        opacity: 1;
    }

    .dg-container nav span.dg-next {
        background-position: top right;
        margin-left: 10px;
    }

.dg-container #lightButton2 {
    bottom: 20px;
}

.dg-container .button {
    position: relative;
    z-index: 5;
}

    .dg-container .button li {
        cursor: pointer;
        display: inline-block;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        margin-right: 5px;
        background: rgba(255, 255, 255, 0.30);
        border: 1px solid rgba(0, 0, 0, 0.20);
    }

    .dg-container .button .light {
        background: #01BDFF;
    }
.page-header {
    border-bottom: 1px dotted #acacac !important;
}
.responsiveGallery-item.thumbnail img {
    width: 100%;
}