/*/*-----------------------------------------------------------------------------------
    Theme Name: Canvas
    Author: Sahar Hosseini
-----------------------------------------------------------------------------------*/
/* html, #header {
    display: block;
} */
@font-face {
  font-family: 'baskerville';
  src: url('/fonts/baskerville-webfont.woff2') format('woff2'),
       url('/fonts/baskerville-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
    font-family: 'baskerville-medium';
    src: url('/fonts/Baskerville-Medium.woff2') format('woff2'),
        url('/fonts/Baskerville-Medium.woff') format('woff');
    font-weight: 100;
    font-style: normal;
}

@font-face {
	font-family: 'Graphik';
	src: url('/fonts/Graphik-Regular.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Graphik-Medium';
	src: url('/fonts/Graphik-Medium.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}
dl, dt, dd, ol, ul, li {
    margin: 0;
    padding: 0;
}
.clear {
    clear: both;
    display: block;
    font-size: 0;
    height: 0;
    line-height: 0;
    width: 100%;
    overflow:hidden;
}
::selection {
    background: #000;
    color: #FFF;
    text-shadow: none;
}
::-moz-selection {
    background: #000;
    color: #FFF;
    text-shadow: none;
}
::-webkit-selection  {
    background: #000;
    color: #FFF;
    text-shadow: none;
}
:active, :focus, a:active, a:hover { outline: none; }

/* ----------------------------------------------------------------
    Typography
-----------------------------------------------------------------*/
body {
    color: #000;
    font-family: 'Graphik', sans-serif;
}
p {
    font-size: 19px;
    line-height: 1.7;
    margin-bottom: 24px;
}
a {
    text-decoration: none;
    color: #000;
}
a:hover { color: #987654; }
a img { border: none; }
img { max-width: 100%; }
iframe { border: none; }

h1, h2, h3, h4 {
    font-family: 'Graphik-Medium' , sans-serif;
    font-weight: normal;

}
h5, h6 {
  font-family: 'Graphik', sans-serif;
  font-weight: normal;
}
h1 { font-size: 38px; }
h2 { font-size: 26px; }
h3 { font-size: 22px; }
h4 { font-size: 20px; }
h5 { font-size: 15px; }
h6 { font-size: 12px; }
b, strong { font-family: 'Graphik-Medium', sans-serif; font-weight: normal;}
p, h1, h2, h3, h4, h5, h6, li, #logo, .button-close i {
    -webkit-animation: fadein 1s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 1s; /* Firefox < 16 */
        -ms-animation: fadein 1s; /* Internet Explorer */
         -o-animation: fadein 1s; /* Opera < 12.1 */
            animation: fadein 1s;
}
h1, h2, h3, h4, h5, h6, li, ul, ol {
  margin: 0;
  line-height: 1.4;
}
.uppercase { text-transform: uppercase; }
.tright { text-align: right; }
.tleft { text-align: left; }
.fright { float: right; }
.fleft { float: left; }
.fnone { float: none; }
.ohidden {
    position: relative;
    overflow: hidden;
}
.show {
    opacity: 1;
    display: block;
}
.allmargin { margin: 50px; }
.leftmargin { margin-left: 50px; }
.rightmargin { margin-right: 50px; }
.topmargin { margin-top: 50px; }
.bottommargin { margin-bottom: 50px; }
.allmargin-sm { margin: 30px; }
.leftmargin-sm { margin-left: 30px; }
.rightmargin-sm { margin-right: 30px; }
.topmargin-sm { margin-top: 30px; }
.bottommargin-sm { margin-bottom: 30px; }
/* .clear-bottommargin { margin-bottom: -50px !important; }
.clear-bottommargin-sm { margin-bottom: -30px !important; }
.clear-bottommargin-lg { margin-bottom: -80px !important; }
*/
.allmargin-lg { margin: 80px; }
.leftmargin-lg { margin-left: 80px; }
.rightmargin-lg { margin-right: 80px; }
.topmargin-lg { margin-top: 80px }
.bottommargin-lg { margin-bottom: 80px; }
.nomargin {margin: 0; }
.noleftmargin { margin-left: 0; }
.norightmargin { margin-right: 0; }
.notopmargin { margin-top: 0; }
.nobottommargin { margin-bottom: 0; }
.noborder { border: none; }
/* .noleftborder { border-left: none; }
.norightborder { border-right: none; }
.notopborder { border-top: none; }
.nobottomborder { border-bottom: none; } */
.col-padding { padding: 60px; }
.nopadding { padding: 0; }
/* .noleftpadding { padding-left: 0; }
.norightpadding { padding-right: 0; }
.notoppadding { padding-top: 0; }
.nobottompadding { padding-bottom: 0; } */
.noabsolute { position: relative; }
.noshadow { box-shadow: none !important; }
.hidden { display: none; }
.nothidden { display: block; }
.inline-block {
    float: none;
    display: inline-block;
}
.center { text-align: center; }
.transparent { opacity: 0; }

/* ----------------------------------------------------------------
    Columns & Grids
-----------------------------------------------------------------*/
.col_full { width: 100%; }
.col_half { width: 48%; }
.col_one_third { width: 30.63%; }
.col_two_third { width: 65.33%; }
.col_one_fourth { width: 22%; }
.col_three_fourth { width: 74%; }
/*.col_one_fifth { width: 16.8%; }
.col_two_fifth { width: 37.6%; }
.col_three_fifth { width: 58.4%; }
.col_four_fifth { width: 79.2%; }
.col_one_sixth { width: 13.33%; }
.col_five_sixth { width: 82.67%; } */
/* body.stretched .container-fullwidth {
    position: relative;
    padding: 0 60px;
    width: 100%;
} */
.col_full,
.col_half,
.col_one_third,
.col_two_third,
.col_one_fourth {
    display: block;
    position: relative;
    margin-right: 4%;
    margin-bottom: 50px;
    float: left;
}
.col_full {
    clear: both;
    float: none;
    margin-right: 0;
}
.col_last {
    margin-right: 0 !important;
    clear: right;
}

#wrapper {
  position: relative;
  /* float: none; */
  width: 1220px;
  margin: 0 auto;
  /* background-color: #FFF; */
}
/* topboar */
.topbar {
  padding: 20px 0;
  background: #000;
  color: #fff;
  font-size: 13px;
  font-w: bold;
  text-align: center;
}
.topbar a, .topbar a:hover {
  color: #DBB539;
  border-bottom: 1px solid #DBB539;
  padding-bottom: 2px;
}
/* Header
-----------------------------------------------------------------*/
/* #header {
    position: relative;
    background-color: #fff;
} */
#header {
  position: absolute;
  width: 100%;
}
#header .container { position: relative; }
#header.transparent-header {
    background: transparent;
    border-bottom: none;
    z-index: 199;
}
body.stretched #header.full-header .container {
    width: 100%;
    padding: 0 30px;
}
/* #header.transparent-header + #slider,
#slider + #header.transparent-header {
    top: -100px;
    margin-bottom: -100px;
} */
/* #header.full-header { border-bottom-color: #EEE; } */
/* #header #header-wrap {
    border-bottom: 1px solid rgba(0,0,0,0.1);
} */
/* #slider + #header.transparent-header.full-header #header-wrap {
    border-top: 1px solid rgba(0,0,0,0.1);
    border-bottom: none;
} */
/* ----------------------------------------------------------------
    Logo
-----------------------------------------------------------------*/
#logo {
    position: relative;
    float: left;
    font-size: 36px;
    line-height: 100%;
    margin-right: 40px;
}

/* #header.full-header #logo {
    padding-right: 30px;
    margin-right: 30px;
} */
#header.transparent-header.full-header #logo { border: none; }
#logo a {
    display: block;
    color: #000;
}
#logo img {
    display: block;
    max-width: 100%;
}
#logo a.standard-logo { display: block; }
#logo a.retina-logo { display: none; }

#header-wrap {
  z-index: 100;
  /* border-bottom: 1px solid #e7e7e7; */
}
#header-wrap {
   -webkit-transition: background 2s ease;
    -o-transition: background 2s ease;
    transition: background 2s ease;
}
#header,
#header-wrap,
#logo img {
  height: 70px;
}

/* Desktop menu */
#primary-menu {
  float: right;
  height: 50px;
  z-index: 200;
}
#header.full-header #primary-menu > ul {
    float: left;
}
#primary-menu-trigger {
    opacity: 0;
    cursor: pointer;
    font-size: 16px;
    position: absolute;
    /* top: 50%; */
    margin-top: -20px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
}
#primary-menu ul {
    list-style: none;
    margin: 0;
}
#primary-menu > ul { float: left; }

#primary-menu ul li {
    position: relative;
    float: left;
    margin-left: 30px;
}

#primary-menu ul li a {
    display: block;
    line-height: 70px;
    font-family: 'Graphik-Medium', sans-serif;
    font-size: 17px;
}

#primary-menu > ul > li:hover a,
#primary-menu > ul > li.current a {
    color: #000;
    border-bottom: 2px solid #000;
    height: 70px;
}

#primary-menu li:hover > ul { display: block; }

body:not(.top-search-open) #header-wrap #logo,
body:not(.top-search-open) #primary-menu > ul,
body:not(.top-search-open) #primary-menu > .container > ul,
body:not(.top-search-open) #side-panel-trigger {
    opacity: 1;
}
body.top-search-open #header-wrap #logo,
body.top-search-open #primary-menu > ul,
body.top-search-open #primary-menu > .container > ul,
body.top-search-open #side-panel-trigger {
  opacity: 0;
}

/* Homepage
-----------------------------------------------------------------*/
/* #slider {
    position: relative;
    width: 100%;
    overflow: hidden;
} */
.swiper_wrapper {
    width: 100%;
    height: 500px;
    overflow: hidden;
}
.full-screen .swiper_wrapper { height: auto; }

.swiper_wrapper .swiper-container {
    position: relative;
    width:100%;
    height:100%;
    margin: 0;
    background: url('../images/pattern2.png') repeat;
}

.swiper_wrapper .swiper-slide {
    position: relative;
    margin: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.swiper-slide [data-caption-animate] { -webkit-backface-visibility: hidden; }

.swiper-slide .video-wrap,
.section .video-wrap {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
}
#slider .container {
    position: relative;
    height: 100%;
}
#slider.canvas-slider .swiper-slide img { width: 100%; }

/* #slider.canvas-slider a {
    display: block;
    height: 100%;
} */

.video-wrap {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.video-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}
/* .video-wrap video {
    position: relative;
    z-index: 1;
    width: 100%;
} */
.video-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 5;
    background: #000 url('../images/grid.png') repeat;
    -webkit-backface-visibility: hidden;
}

.home-boxes .col_half {
  margin-bottom: 0;
}
.home-boxes h4 {
  font-size: 14px;
  margin-bottom: 5px;
  text-transform: uppercase !important;
}
.home-boxes h3 {
  margin-top: 8px;
}
.home-boxes p {
  margin-top: 0;
}
.center {
  margin: 0 auto;
  text-align: center;
}
.content-black {
  background-color: #000;
  color: #fff;
}
.button-b {
  background-color: #000;
  color: #fff;
  padding: 20px;
  width: 160px;
  margin: 0 auto;
}
.button-b a {
  color: #fff;
  font-family: 'graphik-medium', sans-serif;
}
p.small {
  font-size: 12px;
}
.topmargin {
  margin-top: 40px !important;
}

/* Slider Caption
-----------------------------------------------------------------*/
.slider-caption {
  z-index: 20;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  color: #fff;
  -webkit-transition: top .3s ease;
  -o-transition: top .3s ease;
  transition: top .3s ease;
}

.slider-caption h1 {
  font-family: 'baskerville-medium', sans-serif;
  font-size: 78px;
  letter-spacing: 9px;
  line-height: 1.6;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.45);
}
.slider-caption h2 {
  font-family: 'baskerville', sans-serif;
  font-weight: normal;
  font-size: 36px;
  letter-spacing: 1px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.45);
}

/* Slider Arrows
-----------------------------------------------------------------*/
#slider .owl-theme .owl-controls { margin: 0; }

#slider-arrow-left,
#slider-arrow-right,
#slider .owl-prev,
#slider .owl-next,
.flex-prev,
.flex-next {
  position: absolute;
  cursor: pointer;
  z-index: 10;
  top: 50%;
  left: 0;
  margin-top: -26px;
  background-color: rgba(0,0,0,0.4);
  width: 52px;
  height: 52px;
  border: 0;
  -webkit-transition: background-color .3s ease-in-out;
  -o-transition: background-color .3s ease-in-out;
  transition: background-color .3s ease-in-out;
}
#slider-arrow-left i,
#slider-arrow-right i,
#slider .owl-prev i,
#slider .owl-next i,
.flex-prev i,
.flex-next i {
  line-height: 50px;
  width: 34px;
  height: 52px;
  color: #fff;
  font-size: 34px;
  text-align: center;
  margin-left: 7px;
}


#slider-arrow-right,
#slider .owl-next {
    left: auto;
    right: 50%;
}
#slider-arrow-right,
#slider .owl-next, .flex-next  {
    left: auto;
    right: 0;
    /* right: 50%; */
}

.flex-prev i { margin-left: 9px; }

#slider .owl-prev i { margin-left: 0; }

#slider-arrow-right i { margin-left: 10px; }

.flex-next i { margin-left: 11px; }

#slider .owl-next i { margin-right: 4px; }
#slider .owl-controls .owl-nav {
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}
#slider .owl-controls .owl-nav div,
#slider:hover .owl-controls .owl-nav { opacity: 1; }

#slider-arrow-left:hover,
#slider-arrow-right:hover,
#slider .owl-prev:hover,
#slider .owl-next:hover,
.flex-prev:hover,
.flex-next:hover { background-color: rgba(0,0,0,1) !important; }

/* ----------------------------------------------------------------
    Page Title
-----------------------------------------------------------------*/
#page-title {
  /* position: relative; */
  background-color: #000;
  /* padding: 320px 0; */
  background-position: 50% 0 !important;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  text-align: center;
  width: 100%;
  bottom: 0;
  top: 0;
  left: 0;
  position: relative;
}
#page-title .container {
  position: absolute;
  width: 100%;
  top: 40%;
  color: #fff;
}
#page-title h1 {
  font-family: 'baskerville-medium', sans-serif;
  /* line-height: 1.6; */
  letter-spacing: 3px;
  font-size: 78px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
#page-title h2 {
  font-family: 'baskerville', sans-serif;
  font-size: 36px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.one-page-arrow {
  font-size: 3em;
  bottom: 0;
  position: absolute;
  color: #fff;
}
.one-page-arrow:hover {
  color: #fff;
}
.icon-angle-down.animated {
    -webkit-animation-duration: 4s !important;
    animation-duration: 4s !important;
}
/* body.stretched .container-fullwidth .breadcrumb { right: 60px !important; } */

/* ----------------------------------------------------------------
    Content
-----------------------------------------------------------------*/
#content {
    position: relative;
    overflow: hidden;
    background-color: #FFF;
}
#content p em {
  font-size: 14px;
  line-height: 18px;
}
.content-wrap {
    position: relative;
    padding: 60px 0;
}

/* Portfolio - Items
-----------------------------------------------------------------*/
#portfolio {
    /*position: relative;
    margin: 0 -12px -12px 0;*/
}
#portfolio h1 {
  text-align: center;
  margin-top: 80px;
  margin-bottom: -30px;
  font-size: 48px;
  clear: both;
}
.content-books h1 {
  text-align: center;
  margin-top: 80px;
  margin-bottom: 40px;
  clear: both;
}

body:not(.device-touch) #portfolio {
    -webkit-transition: height .4s linear;
    -o-transition: height .4s linear;
    transition: height .4s linear;
}

.portfolio-item {
    position: relative;
    float: left;
    width: 300px;
    margin: 0 12px 12px 0;
}

.portfolio-item .portfolio-image {
    position: relative;
    overflow: hidden;
    border: 1px solid #eee;
}

.portfolio-item .portfolio-image,
.portfolio-item .portfolio-image a,
.portfolio-item .portfolio-image img {
    display: block;
    width: 276px;
    height: 207px;
}

.portfolio-item h3 {
    font-size: 13px !important;
    line-height: 18px !important;
}

body:not(.device-touch):not(.device-xs):not(.device-xxs) .portfolio-notitle .portfolio-image img {
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

/* Portfolio - Item Title
-----------------------------------------------------------------*/
.portfolio-desc {
    z-index: 3;
    /* padding: 5px 5px 10px; */
}
.portfolio-desc h5 {
    text-align: center;
    font-size: 16px;
    font-weight: normal;
}
.portfolio-desc h3 {
    margin: 0;
    padding: 0;
}

/* .portfolio-desc a {
  color: #444;
} */

.portfolio-desc span {
    display: block;
    margin-top: 3px;
    /* color: #888; */
}

/* .portfolio-desc span a { color: #888; } */

/* .portfolio-desc span a:hover { color: #000; } */

/* Portfolio - Items - 3 Columns
-----------------------------------------------------------------*/
#portfolio.portfolio-3 { margin: 0 -15px -15px 0; }

.portfolio-3 .portfolio-item {
    min-width: 370px;
    width: 32%;
    margin: 0 15px 15px 0;
}

.portfolio-3 .portfolio-item .portfolio-image,
.portfolio-3 .portfolio-item .portfolio-image a,
.portfolio-3 .portfolio-item .portfolio-image img {
    width: 370px;
    height: 278px;
}




/* Portfolio - Items - 3 Columns - No Margin
-----------------------------------------------------------------*/

/* .portfolio-3.portfolio-nomargin .portfolio-item { width: 379px; }

.portfolio-3.portfolio-nomargin .portfolio-item .portfolio-image,
.portfolio-3.portfolio-nomargin .portfolio-item .portfolio-image a,
.portfolio-3.portfolio-nomargin .portfolio-item .portfolio-image img {
    width: 379px;
    height: 284px;
} */

/* Portfolio - Items - 3 Columns - Long Sahar
-----------------------------------------------------------------*/

/* .portfolio-3-tall.portfolio-nomargin .portfolio-item { width: 379px; }

.portfolio-3-tall.portfolio-nomargin .portfolio-item .portfolio-image,
.portfolio-3-tall.portfolio-nomargin .portfolio-item .portfolio-image a,
.portfolio-3-tall.portfolio-nomargin .portfolio-item .portfolio-image img {
    width: 379px;
    height: 569px;
} */

/* Portfolio Single Navigation
-----------------------------------------------------------------*/
#portfolio-navigation {
    position: absolute;
    top: 50%;
    left: auto;
    right: 10px;
    max-width: 96px;
    height: 24px;
    margin-top: -12px;
}
.page-title-right #portfolio-navigation {
    left: 10px;
    right: auto;
}

.page-title-center #portfolio-navigation {
    position: relative;
    top: 0;
    left: 0;
    margin: 20px auto 0;
}

#portfolio-navigation a {
    display: block;
    float: left;
    margin-left: 12px;
    width: 24px;
    height: 24px;
    text-align: center;
    color: #444;
    transition: color .3s linear;
    -webkit-transition: color .3s linear;
    -o-transition: color .3s linear;
}

.page-title-dark #portfolio-navigation a { color: #FFF; }

#portfolio-navigation a i {
    position: relative;
    top: -1px;
    font-size: 24px;
    line-height: 1;
}

#portfolio-navigation a i.icon-angle-left,
#portfolio-navigation a i.icon-angle-right {
    font-size: 32px;
    top: -6px;
}

#portfolio-navigation a i.icon-angle-right { left: -1px; }

/* #portfolio-navigation a:first-child { margin-left: 0; }
#portfolio-navigation a:hover { color: #1ABC9C; } */

#portfolio-ajax-show #portfolio-navigation {
    top: 0;
    margin-top: 0;
}

/* Individual Portfolio Item
-----------------------------------------------------------------*/
.iportfolio {
    position: relative;
    float: none;
    width: 100%;
    margin: 0;
}
.iportfolio .portfolio-image {
    position: relative;
    overflow: hidden;
}
.iportfolio .portfolio-image,
.iportfolio .portfolio-image a,
.iportfolio .portfolio-image img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 5px;
}


/* ----------------------------------------------------------------
    Blog
-----------------------------------------------------------------*/
#posts { position: relative; }

.entry-image { margin-bottom: 20px; }

.entry-image,
.entry-image > a,
.entry-image .slide a,
.entry-image img {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
}

.entry-image iframe {
  display: block;
  background: #eee;
 }

.entry-title {
  float: left;
  min-height: 140px;
}

/* .entry-title h3 a {
  font-size: 15px;
  font-family: 'graphik-medium', sans-serif;
} */

.entry-title h4 {
  margin-bottom: 10px;
}
.entry-title h5 {
  margin-top: 10px;
  font-size: 15px;
}

#posts .entry-content { margin-top: 30px; }

.single-post .entry-content .entry-image { max-width: 350px; }

.entry-content { position: relative; }


#posts > div.entry-date-section + div.entry {
    margin-top: 0 !important;
}

/* Blog - Grid
-----------------------------------------------------------------*/

.post-grid { margin-right: -28px; }

.post-grid .entry {
    float: left;
    width: 264px;
    margin-right: 28px;
}

/* .post-grid .entry-title h3 {
    font-size: 17px;
} */

/* Blog - Grid - 3 Columns
-----------------------------------------------------------------*/

.post-grid.grid-3 { margin-right: -30px; }

.post-grid.grid-3 .entry {
    width: 360px;
    margin-right: 30px;
}

/* .post-grid.grid-3 .entry-image,
.post-grid.grid-3 .entry-image img { height: 202px; } */

/* .post-grid.grid-3 .entry-title h3 { font-size: 17px; } */


/* Blog - Grid - 2 Columns
-----------------------------------------------------------------*/

.post-grid.grid-2 { margin-right: -40px; }

.post-grid.grid-2 .entry {
    width: 550px;
    margin-right: 20px;
}

.post-grid.grid-2 .entry-image { background: #eee;}
/* .post-grid.grid-2 .entry-image img { height: 309px; } */
/* .post-grid.grid-2 .entry-title h2 { font-size: 20px; } */

/* Blog - Timeline
-----------------------------------------------------------------*/
.entry {
    position: relative;
    margin: 0 0 50px;
    padding: 0;
    /*border-bottom: 2px solid #F5F5F5;*/
}

/* ----------------------------------------------------------------
 Post Elements
-----------------------------------------------------------------*/
/* img.alignleft,
div.alignleft {
    float: left;
    margin: 5px 20px 13px 0;
    max-width: 100%;
}

div.alignleft > img,
div.alignnone > img,
div.aligncenter > img,
div.alignright > img {
    display: block;
    float: none;
}

img.alignnone,
img.aligncenter,
div.alignnone,
div.aligncenter {
    display: block;
    margin: 10px 0;
    float: none;
}

img.aligncenter,
div.aligncenter,
div.aligncenter img {
    margin-left: auto;
    margin-right: auto;
    clear: both;
}

img.alignright,
div.alignright {
    float: right;
    margin: 5px 0 13px 20px;
} */

/* ----------------------------------------------------------------
    Owl Carousel CSS - Related Work and News
-----------------------------------------------------------------*/

.owl-carousel .animated {
    -webkit-animation-duration: 1000ms;
    animation-duration: 1000ms;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.owl-carousel .owl-animated-in { z-index: 0; }

.owl-carousel .owl-animated-out { z-index: 1; }

.owl-carousel .fadeOut  {
    -webkit-animation-name: fadeOut;
    animation-name: fadeOut;
}

@-webkit-keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

.owl-height {
    -webkit-transition:height 500ms ease-in-out;
    -o-transition:height 500ms ease-in-out;
    transition:height 500ms ease-in-out
}

.owl-carousel {
    display:none;
    -webkit-tap-highlight-color:transparent;
    position:relative;
    z-index:1;
    -webkit-backface-visibility: hidden;
}

.owl-carousel .owl-stage {
    position:relative;
    -ms-touch-action:pan-Y
}

.owl-carousel .owl-stage:after {
    content:".";
    display:block;
    clear:both;
    visibility:hidden;
    line-height:0;
    height:0
}

.owl-carousel .owl-stage-outer {
    position:relative;
    overflow:hidden;
    -webkit-transform:translate3d(0px,0,0);
    cursor:move;
    cursor:-webkit-grab;
    cursor:-o-grab;
    cursor:-ms-grab;
    cursor:grab
}

.owl-carousel.owl-loaded { display:block;
margin: 0 20px; }

.owl-carousel.owl-loading {
    display:block;
    min-height: 100px;
    /* background: url('images/preloader.gif') no-repeat center center */
}

.owl-carousel.owl-hidden { opacity:0 }

.owl-carousel .owl-refresh .owl-item { display:none }

.owl-carousel .owl-item {
    position:relative;
    min-height:1px;
    float:left;
    -webkit-backface-visibility:hidden;
    -webkit-tap-highlight-color:transparent;
    -webkit-touch-callout:none;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none
}

.owl-carousel .owl-item img {
    display:block;
    width:100%;
    -webkit-transform-style:preserve-3d;
}

#slider .owl-carousel .owl-item img { -webkit-backface-visibility: hidden; }

.owl-carousel.owl-text-select-on .owl-item {
    -webkit-user-select:auto;
    -moz-user-select:auto;
    -ms-user-select:auto;
    user-select:auto
}

.no-js .owl-carousel { display:block }

.owl-carousel .owl-item .owl-lazy {
    opacity:0;
    -webkit-transition:opacity 400ms ease;
    -o-transition:opacity 400ms ease;
    transition:opacity 400ms ease
}

.owl-carousel .owl-item img { transform-style:preserve-3d }

/* .owl-carousel .owl-video-wrapper {
    position:relative;
    height:100%;
    background:#111;
} */


/* ----------------------------------------------------------------
    Stretched Layout
-----------------------------------------------------------------*/
.stretched #wrapper {
    width: 100%;
    margin: 0;
}
@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
/* Internet Explorer */
/* @-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
} */
/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
 /* Sahar added */
/* .navbar {
   margin-bottom: 0;
 } */
.navbar-nav {
    left: 0;
 }
.navbar-nav li {
   text-align: center;
   border-right: 1px solid #eee;
 }
 .navbar-nav li:last-child {
   border-right: none;
 }
.navbar-default {
   background: transparent;
   border: none;
   border-bottom: 1px solid #eee;
 }
.navbar-default .navbar-nav > li > a {
   font-size: 16px;
   font-family: 'Graphik-Medium', sans-serif;
   text-transform: capitalize;
 }
 .navbar-default .navbar-nav > li > a:hover {
   color: #000;
 }
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  background: #000;
  color: #fff;
  border-bottom: none;
  max-height: 51px;
  border-bottom: 1px solid #000;
 }
.navbar-works .navbar-collapse {
    padding-left: 0;
    padding-right: 0;
}

.page-news .post-grid .entry-title h3 {
  min-height: 120px;
}

/* Work Detail */
.work-info {
  max-width: 400px;
  margin: 0 auto 40px;
  position: relative;
  top: -60px;
}
.work-info h2, .work-similar h2 {
  margin-top: 20px;
  margin-bottom: 10px;
  text-align: center;
}
.work-info hr, .work-similar hr {
  width: 50px;
  background: #000;
  border: 2px solid #000;
}
.work-info p {
  padding: 2px 0;
  margin: 0;
  line-height: 40px;
}
.work-similar {
  margin-top: 100px;
}

 /* Portfolio Slider Arrows - Portfolio Detail
-----------------------------------------------------------------*/
#portfolio-slider-arrow-left,
#portfolio-slider-arrow-right {
/*    position: absolute;*/
    position: fixed;
    cursor: pointer;
    z-index: 10;
    top: 50%;
    left: 0;
    margin: 20px;
    /* margin-top: -26px; */
    width: 50px;
    height: 50px;
    background: #000;
    border-radius: 50%;
    -webkit-transition: background-color .3s ease-in-out;
    -o-transition: background-color .3s ease-in-out;
    transition: background-color .3s ease-in-out;
}

#portfolio-slider-arrow-right {
    left: auto;
    right: 0;
}

#portfolio-slider-arrow-left i,
#portfolio-slider-arrow-right i {
    line-height: 50px;
    width: 38px;
    height: 52px;
    color: #FFF;
    font-size: 30px;
    text-align: center;
    margin-left: 6px;
}

#portfolio-slider-arrow-left:hover,
#portfolio-slider-arrow-right:hover {
  background-color: rgba(0,0,0,0.7) !important;
 }

.portfolio-detail-image > a,
.portfolio-detail-image .slide a,
.portfolio-detail-image img {
    display: block;
    /*width: 100%;*/
    margin: 0 auto;
    max-height: 100%;
    width: 100%;
}
#results-container {
  display: none;
}
#results-container ul,
#results-container li,
#results-container a {
  width: 100%;
  text-align: left;
  height: auto;
}
#top-search #results-container li a {
  height: 4em;
  border-bottom: thin solid #000;

}
.top-search-open #results-container {
  display: block;
}



/* Works page Nav bar */
#navbar-works {
  /* position: absolute; */
  border-top: none;
  margin: 40px auto 0 auto!important;
  /* max-width: 1200px; */
  width: 100%;
  /* border-bottom: 1px solid rgba(0,0,0,0.1); */
  z-index: 1000;
}
#default-works {
    padding-top: 50px;
}

/* Works page Nav Dropdown */
/* .media-type-dropdown {
  display: none;
  list-style-type: none;
}
ul.media-type-dropdown {
  border-top: 1px solid #333 !important;
  border-bottom: 1px solid #333 !important;

}
.media-type-dropdown li {
  padding: 16px 0 0 0;
  background: #000;
  text-align: left;
  padding-left: 40px;
  min-width: 100%;
  min-height: 50px;
  border-top: 1px solid #333;
  border-right: none;
}
.media-type-dropdown li a {
  color: #fff;
  display: block;
  font-size: 16px;
  font-weight: bold;
  text-transform: capitalize;
}
.drop-down-wrapper {
  z-index: 100;
  width: 100%;
}
.drop-downable {
  z-index: 100;
  position: absolute;
}
.drop-downable:hover {
  z-index: 100;
  background-color: rgb(231, 231, 231);
  color: #000;
}
.drop-downable:hover .media-type-dropdown {
  display: block;
} */

#article-title {
    margin: 160px 0 40px 0;
    text-align: center;
}

#articles ul {
  margin: 0 auto;
  max-width: 600px;
}

#articles li {
  list-style-type: none;
  text-align: center;
  padding: 2em;
}

#articles li+li {
  border-top: thin solid #DDD;
}

#articles h3,
#articles h3 a {
  margin: 0;
}

#articles h4 {
  margin: 0;
}

#article {
  max-width: 960px;
  margin: 0 auto;
  /* overflow: none; */
}
#article .content {
  padding-bottom: 100px;
}
#article img {
  display: block;
  margin: 0 auto;
	width: 100%;
}
/* #article .caption {
  font-size: 14px;
} */
#posts .entry {
  min-height: 360px;
}
#article h3 {
  margin: 10px 0;
}
#article hr {
  width: 50px;
  height: 2px;
  background: #000;
}
#group-content {
  width: 100vw;
  margin: 0 auto;
  min-height: 100vh;
}

#article-related, #related-portfolio {
  margin: 30px;
  display: flex;
  flex-flow: row wrap;
}

.content-public {
  padding: 0;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.public-img-left {
  text-align: left;
}
.public-img-right {
  text-align: right;
  float: right;
}
.public-wrap {
  text-align: center;
}
.public-t {
  padding: 120px 40px 0 40px;
}
.public-t2 {
  padding: 40px;
}
.content-public h2  {
  font-family: 'baskerville-medium';
  font-weight: normal;
  font-size: 36px;
  margin: 0;
}
.content-public h3  {
  font-size: 26px;
  margin: 10px 0;
}
.content-public h4  {
  font-size: 20px;
  margin: 0 0 10px 0;
}
.content-public img {
  box-shadow: -11px 19px 40px -10px rgba(0, 0, 0, .35);
  background: #eee;
}
#top-image {
  width: 100%;
}
.dark-page .breadcrumb-wrap {
  background: #000;
  color: #fff;
}
.dark-page .breadcrumb-wrap a {color: #ddd;}
.dark-page .breadcrumb>li+li:before {color: #eee;}
.dark-page {background: #000 !important;}
.dark-page .work-info p {color: #ddd !important;}
.dark-page hr {border-top: 1px solid #fff; background: #fff;}
.dark-page .portfolio-desc a {color: #ddd;}
.dark-page .work-info h2, .dark-page .work-similar h2 {color: #ddd;}
.dark-page .button-close {color: #ddd;}
.dark-page .button-close a:hover { color: #fff;}
.dark-page .navbar-default .navbar-nav>li>a {color: #ddd;}
#group-content.dark-page { margin-top: 50px !important;}
.dark-page #portfolio h1 {color: #fff;}

#portfolio {
  margin: 0 auto;
  min-height: calc(100vh - 150px);
  padding: 1em;
  padding-bottom: 100px;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
}
.portfolio-item {
  display: inline-block;
  padding: 0;
  -webkit-column-break-inside: avoid !important;
  -moz-column-break-inside: avoid;
  column-break-inside: avoid;
  margin-bottom: 60px;
  float: left;
}
.portfolio-detail-image {
  background-size: cover;
  /* height: 90vh; */
  top: -60px;
  position: relative;
  z-index: 1;
}
.portfolio-item img {
  border: 1px solid #eee;
}

#search {
  padding-left: 30px;
  position: relative;
  top: 80px;
  z-index: 1001;
}
#search-box {
  border: none;
  line-height: 300%;
  width: 80%;
  font-size: 14px;
}
.icon-search3 {
  color: #777;
  margin-right: 5px;
}
/* #news-search {
  background-color: #fff;
  display: block;
  border: thin solid #eee;
  max-width: 600px;
  z-index: 40;
  margin: 60px auto 0;
  padding: 0;
  padding-right: 1em;
} */
/* #news-search #search-box {
  width: 84%;
} */

#reset-search {
  display: none;
  border: none;
  font-size: 20px;
  color: #000;
  background: #fff;
  margin-top: 10px;
  margin-right: 20px;
  float: right;
}
#gotoTop {
    display: none;
    z-index: 299;
    position: fixed;
    width: 40px;
    height: 40px;
    background-color: #000;
    font-size: 20px;
    line-height: 36px;
    text-align: center;
    color: #fff;
    top: auto;
    left: auto;
    right: 30px;
    bottom: 20px;
    cursor: pointer;
    border-radius: 50%;
}

/* #search-not-found {
  text-align: center;
} */

.portfolio-item,
.entry-image,
.theme-wrap {
  overflow: hidden;
  text-align: center;
  float: none;
}

.portfolio-item a {
    display: block;
    overflow: hidden;
    font-size: 18px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.portfolio-item a:hover,
.theme-wrap a:hover {
    opacity: 0.8 !important;
}

.portfolio-item-image {
  background-position: center;
  background-repeat: no-repeat;
  height: 32em;
  width: 100%;
}

.lazy-fade {
    -webkit-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.portfolio-item-image:hover,
.image_fade:hover,
.theme-wrap img:hover {
    -webkit-transform: scale(1.10);
    transform: scale(1.10);
    /* -webkit-filter: brightness(80%);
    filter: brightness(80%); */
}

/* Content Intros */
.content-intros .container {
  padding: 0;
}
.content-intros {
  padding: 0 !important;
}
.content-intros .col_one_third {
  margin: 0;
  width: 33.33%;
  padding: 15px;
}
.content-intros #element::-webkit-scrollbar {
  display: none;
}
.content-rugs {
  padding: 20px !important;
  margin-top: 4em;
}

/* About */
.content-about h1 {
  margin-bottom: 0;
}
.content-about h2 {
  font-size: 28px;
  margin: 0;
}
.about-copy {
  max-width: 800px;
}
.about-img {
  max-width: 1200px;
  margin-top: 80px;
}

/* About Titles */
.button-close i {
  font-size: 30px;
  z-index: 100;
  position: absolute;
  top: 10px;
  right: 20px;
}
.button-close:hover {
  background: #fff;
  color: #999;
}
.fixedTop {
    position: fixed !important;
    background: #fff !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 100 !important;
    border-bottom: 1px solid #eee;
}

/* Content Themes */
.theme-wrap {
  position: relative;
  text-align: center;
}
.theme-wrap .copy {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.theme-wrap .copy h1 {
  color: #fff;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.45);
  font-size: 42px;
  line-height: 46px;
}
/* Content Theme Detail */
.content-theme {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}
.content-theme .theme-image {
  padding: 0;
  margin: 0;
}
.content-theme .button-close {
  z-index: 100;
}
.content-theme .theme-right {
  display: flex;
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
  height: 100vh;
}
.content-theme .theme-copy {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  -webkit-flex: 1 0 100%;
  -ms-flex: 1 0 100%;
  flex: 1 0 100%;
}
.content-theme .col_half {
  width: 50%;
}

/* Theme detail */
.fslider[data-thumbs="true"] .flex-prev,
.fslider[data-thumbs="true"] .flex-next { margin-top: -64px; }

/* Content Exhibitions */
.content-books {
  padding: 20px;
}
.content-books .book-copy {
  text-align: center;
  padding: 0 10px;
}
.content-books h3 {
  /* font-family: 'graphik-medium', sans-serif;
  font-weight: normal; */
  font-size: 18px;
	margin: 0 0 5px;
}
.book-wrap {
  border: 1px solid #eee;
  padding-bottom: 30px;
}
.book-image-wrap {
  position: relative;
	min-height: 400px;
	margin-bottom: 20px;
  background: #eee;
}
.book-image-wrap img {
	/* width: 80%; */
	box-shadow: 12px 12px 20px 2px rgba(0,0,0,.14);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 300px;
}
/* Footer */
#footer {
  background: #000;
  color: #fff;
}
#footer p {
  font-size: 14px;
  margin: 20px;
}
#footer .container {
  padding: 20px 0;
}
#footer a {
  color: #888;
}
#footer a:hover {
  color: #eee;
}
#footer img {
  max-width: 200px;
  margin-top: 40px;
  margin-left: 30px;
}
#footer .col_one_fourth {
  margin-bottom: 0;
}
#footer h3 {
  margin-top: 60px;
  margin-bottom: 10px;
}
.footer-menu ul li {
  list-style: none;
  font-size: 15px;
  line-height: 2.1em;
}
.footer-menu h4 {
  color: #000;
}
.copyright {
  margin: 60px auto 60px;
  text-align: center;
}
/* copyright page */
.copyright-p {
  margin: 200px auto 150px;
  max-width: 800px;
}

#header img.light-logo-var {
  display: block;
}

#header .dark-logo-var {
  display: none;
}

.swiper-slide .video-wrap {
  z-index: 1;
}
.force-white {
  color: #fff;
  min-resolution: 120px;
}

.breadcrumb-wrap {
  min-height: 50px;
}

.breadcrumb {
  z-index: 2;
  position: relative;
  padding: 20px;
}
/* .breadcrumb a { color: #555; } */
/* .breadcrumb a:hover { color: #000; } */
/* .breadcrumb i { width: auto !important; } */

.breadcrumb li {
  font-family: 'graphik-medium', sans-serif;
  font-weight: normal;
  font-size: 16px;
  line-height: 12px;
  text-transform: capitalize;
}

@media (max-width: 992px) {
  body {
    width: 100vw;
    overflow-x: hidden;
    overflow-y: scroll;
  }
  body.device-touch #header {
      position: fixed !important;
      background: #fff;
      display: block;
  }
  body.device-touch header#header.open {
      position: relative !important;
  }
  body.device-touch #wrapper {
    overflow-x: hidden !important;
    overflow-y: scroll !important;
  }
  .breadcrumb li {
    font-size: 14px;
    line-height: 12px;
  }
  #logo a.standard-logo {
    display: block;
    position: absolute;
    top: 24px;
  }
  #top-image {
    padding: 0;
    margin: 0;
    min-width: 100vw;
  }
  #header {
    background-color: #fff !important;
  }
  #wrapper {
    margin-top: 100px;
  }
  #logo {
    float: none;
    left: auto !important;
    width: 204px;
    top: -5px;
    margin: 0 auto !important;
    /* left: 40px; */
  }
  #primary-menu {
    display: none;
    position: absolute;
    z-index: 99999;
    min-width: 100vw;
    background-color: #fff;
    margin: 0;
    padding: 0;
    left: 0;
    top: 61px;
    /* min-height: 100vh; */
    /* text-align: center; */
    /* margin-left: -15px; */
  }

  /* #primary-menu.mobile-active {
    display: block;
    display: flex;
    align-items: center;
    text-align: center;
    margin: 0;
    left: 0;
  } */

  /* #primary-menu ul {
    display: block;
    overflow-x: hidden;
  } */

  #bs-example-navbar-collapse-1 li {
    border-bottom: thin solid rgba(0, 0, 0, 0.25);
    min-height: 54px;
  }

  #bs-example-navbar-collapse-1 li li:last-child,
  #header img.dark-logo-var {
    display: block;
  }
  #header .not-dark .dark-logo-var {
    display: none;
  }
  #header .not-dark img.light-logo-var {
    display: block;
  }
  #header img.light-logo-var {
    display: none;
  }

  /* #header-wrap:not(.dark) #primary-menu > div > ul > li.current a,
  body:not(.dark) #header:not(.dark) #header-wrap:not(.dark) #primary-menu > ul > li:hover a,
  body:not(.dark) #header:not(.dark) #header-wrap:not(.dark) #primary-menu > ul > li.current a,
  body:not(.dark) #header:not(.dark) #header-wrap:not(.dark) #primary-menu > div > ul > li:hover a,
  body:not(.dark) #header:not(.dark) #header-wrap:not(.dark) #primary-menu > div > ul > li.current a {
      color: #000 !important;
  } */

  #top-image .portfolio-detail-image {
    margin-top:0;
    height: auto !important;
  }

  .portfolio-item {
    margin: 0 auto;
    display: inline;
  }

  #navbar-works {
    pointer-events: none;
    margin: 0 !important;
    border: none;
  }

  #navbar-works .container {
    margin: 0;
    padding: 0;
    width: 100% !important;
  }

  #navbar-works .drop-downable > a {
    font-size: 125%;
    border: none;
  }

  #slider {
    height: 100vh !important;
    transform: translateY(0px);
  }

  .entry {
    position: absolute;
    left:0;
    top:0;
  }

  .entry-image {
    position: relative;
    height: auto!important;
  }

  #Media .entry-image {padding-bottom: 56.25%;}

  .entry-image iframe {
    /* width: calc(100vw - 80px); */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .entry-content { width: 80vw; }

  #posts {
    margin: 0 auto;
    overflow: hidden;
  }

  #posts .entry {
    position: static;
    width: 100% !important;
    margin: 0;
  }

  #article {padding: 10px;}

  .col_half, .content-theme .col_half {width: 100%;}

  .swipper-wrapper {height: 100%;}

  .video-wrap {
    height: 100vh;
    width: 100vw;
  }

  #video-superparent {
    height: 100px !important;
    min-height: 100vh !important;
  }

  #landing-video {
    min-height: 100vh;
    min-width: 15vw;
    position: fixed;
    z-index: -100;
    background-size: 100% 100%;
    margin-top: 200px;
    
  }

  .timeline .timeline-sidebar {margin-top: 55px;}
  .timeline .col_half {max-width: 50vw;}
  .entry-date-section {height: 50px;}
  .entry-date-section span {transform: translateX(-100%);}


    /*
      #search {
        margin-top: 10px;
        margin-left: 10px;
        top: 80px;
        z-index: 1001;
      }

      #search i {
          float: right;
          margin-right: 30px;
          margin-top: 10px;
          pointer-events:auto;
      }

      #reset-search {
        float: right;
        margin-right: 60px;
        margin-top: -38px;
        pointer-events:auto;
      }

      #search input {
        transition: bottom .3s ease-in-out;
        -webkit-transition: bottom .3s ease-in-out;
        -o-transition: bottom .3s ease-in-out;
        max-width: 80vw;
        margin: 0 auto;
        margin-left: 30px;
        display: block;
        opacity: 0;
      }

      #search.enabled input {
          opacity: 1;
          pointer-events:auto;
      } */
    /* #news-search #search-box {
      margin-top: 0;
    } */

    /* #search-box {
      margin-top: 35px;
      width: 100%;
      height: auto;
    } */

    /* #bs-example-navbar-collapse-1 {
      display: block;
      visibility: visible;
    }

    #bs-example-navbar-collapse-1 .drop-down-wrapper {
      position: static;
      width: 100%;
      margin: 0;
    } */

}

 @media (min-width: 992px) {
  /*#Timeline #header #header-wrap,
  #Media #header #header-wrap,
  #Books #header #header-wrap,
  #News #header #header-wrap,
  #Home #header #header-wrap,
  #About #header #header-wrap,
  #Exhibitions #header #header-wrap,
  #Events #header #headerwrap,
  #Themes #header #header-wrap,
  #Museums #header #header-wrap,
  #Public\20 Art #header #header-wrap {
      background: transparent !important;
      border-bottom: none !important;
  } */

  #Works #header #header-wrap {
      border-bottom: 1px solid #e7e7e7;
  }

  #Timeline #header #logo,
  #Media #header #logo,
  #Books #header #logo,
  #News #header #logo,
  #Home #header #logo,
  #About #header #logo,
  #Film #header #logo,
  #Exhibitions #header #logo,
  #Events #header #logo,
  #Public\20 Art #header #logo {
      -webkit-filter: invert(1);
      filter: invert(1);
  }

  #Timeline #header #primary-menu ul li a div,
  #Media #header #primary-menu ul li a div,
  #Books #header #primary-menu ul li a div,
  #News #header #primary-menu ul li a div,
  #Home #header #primary-menu ul li a div,
  #About #header #primary-menu ul li a div,
  #Film #header #primary-menu ul li a div,
  #Exhibitions #header #primary-menu ul li a div,
  #Events #header #primary-menu ul li a div,
  #Public\20 Art #header #primary-menu ul li a div {
      color: #fff;
  }


  #Timeline #header #primary-menu ul li.current a div,
  #Media #header #primary-menu ul li.current a div,
  #Books #header #primary-menu ul li.current a div,
  #News #header #primary-menu ul li.current a div,
  #Home #header #primary-menu ul li.current a div,
  #About #header #primary-menu ul li.current a div,
  #Film #header #primary-menu ul li.current a div,
  #Exhibitions #header #primary-menu ul li.current a div,
  #Events #header #primary-menu ul li.current a div,
  #Public\20 Art #header #primary-menu ul li.current a div {
      color:#fff;
  }

  #Timeline #primary-menu > ul > li:hover a,
  #Timeline #primary-menu > ul > li.current a,
  #Media #primary-menu > ul > li:hover a,
  #Media #primary-menu > ul > li.current a,
  #Books #primary-menu > ul > li:hover a,
  #Books #primary-menu > ul > li.current a,
  #News #primary-menu > ul > li:hover a,
  #News #primary-menu > ul > li.current a,
  #Home #primary-menu > ul > li:hover a,
  #Home #primary-menu > ul > li.current a,
  #About #primary-menu > ul > li:hover a,
  #About #primary-menu > ul > li.current a,
  #Exhibitions #primary-menu > ul > li:hover a,
  #Exhibitions #primary-menu > ul > li.current a,
  #Events #primary-menu > ul > li:hover a,
  #Events #primary-menu > ul > li.current a,
  #Film #primary-menu > ul > li:hover a,
  #Film #primary-menu > ul > li.current a,
  #Public\20 Art #primary-menu > ul > li:hover a,
  #Public\20 Art #primary-menu > ul > li.current a {
      border-bottom: 2px solid #fff !important;
      height: 60px;
  }
  body#Timeline #logo {
    position: fixed;
  }
}
@media (max-width: 991px) {
  #footer h3 {
    margin-top: 20px;
  }
  #footer .col_one_fourth {
    padding-left: 30px;
    width: 46% !important;
    float: left;
  }
  #footer .footer_logo, .flex-direction-nav, .navbar-works {
    display: none;
  }
  .col-padding {
    padding: 20px;
  }
  /* .content-events h3 {
    margin-top: 10px;
  } */
  .content-public h2 {
    font-size: 28px;
  }
  .content-public h3, .content-public h4 {
    font-size: 15px;
    margin: 0;
  }
  .public-wrap {
    text-align: left;
    padding: 20px;
    margin-bottom: 50px !important;
  }
  .public-t, .public-t2 {
    padding: 10px 0 0 0;
  }
  .content-public img {
    box-shadow: none;
  }
  .content-public .center {
    text-align: left !important;
  }
  .content-public .col_half {
    margin-bottom: 0;
  }
  /* .content-wrap {
      padding: 0;
  } */
  #bs-example-navbar-collapse-1 {
    display: none !important;
  }
  #page-title {
    height: 500px;
    margin-bottom: 20px;
  }

  /* #content {
      margin-top: 20px;
  } */
  /* .book-wrap.col_one_third  {
    width: 100%;
    float: none !important;
    text-align: center;
    margin: 0 auto 60px auto;
  } */
  /* #Books .book-wrap.col_one_third.col_last {
      margin-right: auto!important;
  } */
  #primary-menu.show {
      min-height: 100vh !important;
  }
  #primary-menu.show li.nav-Timeline {
      border-bottom: 1px solid #eee !important;
  }
  #header.full-header .container {
    margin: 0 !important;
  }
}
@media (min-width: 993px) {
  #About #bs-example-navbar-collapse-1 > ul,
  #Exhibitions #bs-example-navbar-collapse-1 > ul,
  #Events #bs-example-navbar-collapse-1 > ul,
  [id='Public Art'] #bs-example-navbar-collapse-1 > ul,
  #Museums #bs-example-navbar-collapse-1 > ul,
  #Themes #bs-example-navbar-collapse-1 > ul,
  #Books #bs-example-navbar-collapse-1 > ul,
  #About #bs-example-navbar-collapse-1 > ul.fixedTop,
  #Exhibitions #bs-example-navbar-collapse-1 > ul.fixedTop,
  #Events #bs-example-navbar-collapse-1 > ul.fixedTop,
  [id='Public Art'] #bs-example-navbar-collapse-1 > ul.fixedTop,
  #Museums #bs-example-navbar-collapse-1 > ul.fixedTop,
  #Themes #bs-example-navbar-collapse-1 > ul.fixedTop,
  #Books #bs-example-navbar-collapse-1 > ul.fixedTop {
      display: flex;
      align-items: center;
      justify-content: center;
      float: none !important;
  }

  /*#bs-example-navbar-collapse-1 > ul {
       -webkit-transition: all .4s ease;
      -o-transition: all .4s ease;
      transition: all .4s ease;
      border-bottom: 1px solid rgba(0,0,0,0.1);
  } */
  .navbar-works .navbar-collapse {
      padding-left: auto !important;
  }
  #navbar-works ul {
      position: absolute;
      width: 100%;
      top: 50px;
      border-bottom: 1px solid #e7e7e7;
  }
  .navbar-nav li {
      width: 20%;
      max-height: 50px;
  }
  #navbar-works .navbar-nav li {
    width: 16.65%;
  }
  #Books #bs-example-navbar-collapse-1 {
      /* position: absolute; */
      left: 0;
      /* width: 100%; */
      /* width: 570px; */
      margin: 0 auto;
  }
  #Books #bs-example-navbar-collapse-1 li {
      /* max-width: 240px !important; */
      width: auto !important;
  }
  #About #bs-example-navbar-collapse-1 {
      /* position: absolute; */
      left: 0;
      /* width: 100%; */
      /* width: 870px; */
      margin: 0 auto;
  }
  #primary-menu ul.nav {
      display: none !important;
  }
}

@media screen and (max-width: 479px) {
  .copyright-p {
    margin: 100px 20px;
  }
	#header.full-header .container {
		max-height: 60px !important;
	}
  body#Timeline #logo {
    position: relative !important;
  }

  .timeline-moment-heading {
    font-size: 14vw !important;
  }
	.landing-video {
		position: relative;
		top: 9px;
	  width: 212px;
	  height: 119px;
	  margin: 19px 0 0 34px;
	}
	p {
    font-size: 16px;
    line-height: 1.6;
  }
  #page-title .container {
    top: 30%;
  }
	#page-title {
		height: 320px;
		margin-bottom: 20px;
    top: 60px;
	}
  #page-title h1 {
    font-size: 48px;
    line-height: 1.4;
    letter-spacing: 0;
  }
  #page-title h2 {
    font-size: 18px;
  }
  #content h2 {
    font-size: 24px;
  }
  #Media .post-grid .entry,
  #News .entry,
  #Books .book-wrap,
  .portfolio-item {
      min-width: 100% !important;
      /* float: none !important; */
  }
  .portfolio-detail-image {
    height: auto;
    top: auto;
  }
  #portfolio h1 {
    margin-top: 30px;
    margin-bottom: -60px;
    font-size: 28px;
  }
  .work-info {
    top: auto;
  }
  .content-books h1 {
    font-size: 28px;
  }
  .slider-caption h1 {
    font-size: 50px;
    line-height: 52px;
  }
  .slider-caption h2 {
    font-size: 30px;
    margin-top: 10px;
  }
  .one-page-arrow, .image2 {
    display: none;
  }
  .col_full,
  .col_half,
  .col_one_third,
  .col_two_third,
  .col_one_fourth {
    width: 100% !important;
    margin-right: 0;
    float: none;
  }
  .content-wrap {
    padding: 40px 0 20px 0;
  }
  .content-theme .col_half {
    width: 100%;
  }
  .book-wrap {
    border: none;
    padding-bottom: 0;
  }
  .book-image-wrap  {
  	min-height: auto !important;
    background: #fff;
    margin: 20px;
  }
  .book-image-wrap img  {
      box-shadow: none;
      position: relative;
      left: auto;
      top: auto;
      transform: none;
      max-height: 100%;
  }
  .content-books .book-copy {
    text-align: left;
    margin: 0 20px;
  }
  .content-books h3 {
    font-size: 20px;
  }
  /* .button-close i {
    top: 10px;
  } */

  #search {
    z-index: 1;
    border-bottom: 1px solid #eee;
    top: 60px;
    background: #fff;
    padding-left: 20px;
  }
  #reset-search {
    margin-top: -38px;
  }
  .about-img {
    margin: 0;
  }
  .content-about .topmargin-lg {
    margin-top: 20px;
  }
  .content-about .col_one_third {
    margin-bottom: 0;
  }
  .topmargin-lg {
    margin-top: 0;
  }
  .entry-title h4, .entry-title h5 {
    font-size: 14px;
  }
  .content-theme { position: relative; }
  #article-title { margin-top: 100px; }
  #article-title h1 { font-size: 24px; }
  #footer { padding-top: 40px;}
  #footer .col_one_fourth { padding-left: 62px; }
  #footer .copyright { padding: 0 60px; }
  /* #footer .col_timeline { display: none; } */
  #footer .container { padding: 0;}
  #footer p { margin: 0;}
}
@media only screen
and (min-device-width: 320px)
and (max-device-width: 568px) {
  .video-overlay {
      background: #000 url('../img/majid_home_mobile.jpg') no-repeat;
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
  }
  /* .slider-caption h1, .slider-caption h2 {
    display: none !important;
  } */
}

.rugs-news p {
  margin: 0;
}
.rugs-news {
  margin-bottom: 80px;
}
.rugs-news a {
   color: #987654;
}
.rugs-news img {
  margin-top: 20px;
}

.content-film {
  background-color: #000;
}
.content-film .film-copy {
  margin-bottom: 40px;
}
.content-film p, .content-film h2, .content-film h3  {
  color: #fff;
  margin-top: 10px; }
.content-film a { color: #987654; }
.video-responsive{
  overflow:hidden;
  padding-bottom:56.25%;
  position:relative;
  height:0;
  margin-bottom: 40px;
}
.video-responsive iframe {
  left:0;
  top:0;
  height:100%;
  width:100%;
  position:absolute;
}








@font-face {
  font-family: 'Rooznameh';
  src: url('/static/fonts/rooznameh.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Rooznameh', 'Arial', sans-serif;
  direction: rtl; /* For Persian text */
}
h1, h2, h3, h4, h5, h6, p, li, span, a, div,section {
  font-family: 'Rooznameh', sans-serif;
}
