@import url(//fonts.googleapis.com/css?family=Cinzel);

html {
  /* Fallback */
  background-color: rgb(148, 59, 59);
  /* Safari 4-5, Chrome 1-9 */ 
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(82,27,27)), to(rgb(148,59,59))) no-repeat fixed 0% 0% transparent; 
  /* Safari 5.1, Chrome 10+ */ 
  background: -webkit-linear-gradient(top, rgb(148,59,59), rgb(82,27,27)) no-repeat fixed 0% 0% transparent; 
  /* Firefox 3.6+ */ 
  background: -moz-linear-gradient(top, rgb(148,59,59), rgb(82,27,27)) no-repeat fixed 0% 0% transparent; 
  /* IE 10 */ 
  background: -ms-linear-gradient(top, rgb(148,59,59), rgb(82,27,27)) no-repeat fixed 0% 0% transparent; 
  /* Opera 11.10+ */ 
  background: -o-linear-gradient(top, rgb(148,59,59), rgb(82,27,27)) no-repeat fixed 0% 0% transparent;
  /* IE < 8 plugin (see http://css3pie.com/about/) */
  behavior: url(http://tariqali.org/wp-content/themes/rt_gantry_wp/css/PIE.htc);
}
body {
  background-color: rgb(250,250,254);
  margin: 30px auto;
  color: rgb(77,77,77);
  box-shadow: 0px 2px 5px rgb(15,4,4);
  -moz-box-shadow: 0px 2px rgb(15,4,4);
  -webkit-box-shadow: 0px 2px 5px rgb(15,4,4);
}
.rt-container .component-content .rt-grid-12 {
  background-color: rgb(241,241,241);
}

body p {
  line-height: 1.58em;
 /* Reset default float */ 
  clear: none;
}
blockquote p {
  font-size: inherit;
  margin-right: 10px;
}
ul {
  list-style: none;
  margin: 10px 0 10px 0;
}
#rt-main ul li {
  margin: 0 0 1em 0;
}
#rt-main ul li a {
  margin-right: 0.5em;
}
h1,h2,h3,h4,h5,h6 {
  font-family: Quattrocento,Georgia,serif;
  font-weight:normal;
}

.rt-grid-8 #rt-mainbody {
  margin-right: 2.5em;
}

.alignleft {
  margin: 0 20px 15px 0;
} 
.rt-container h2.title {
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.0;
    letter-spacing: 0.2em;
    color: rgb(120,120,120);
    text-transform: uppercase;
}

#rt-sidebar-a h2.title {
  margin: 0 15px 0 -15px;
}

/* Hide title of main page */
#post-124 h2 {
  display:none;
}

.box3 .title {
  font-size: 2em;
  line-height: 1; 
  color: rgb(82, 27, 27);
  text-shadow: none;
  box-shadow: none;
}

#searchform {
  margin:0 -20px 0 0;
}
#searchform input#s {
  width:83%;
  margin: 0 0 0 -15px;
  border-radius: 0;
}
#searchsubmit.btn {
  background: #943B3B url(search20.png) no-repeat 50% 50% scroll;
  border-radius: 0;
  border-color: #943B3B;  
  -webkit-transition: background-color 0.3s ease;
  -moz-transition: background-color 0.3s ease;
  -o-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
}
#searchsubmit.btn:hover, #searchsubmit.btn:focus {
  background-color:#521B1B;
}
textarea:focus, input[type="text"]:focus {
  border-color: rgba(140, 140, 140, 0.5);
}

#rt-feature h4.title, #rt-content-top h4.title, .dpe-flexible-posts h4.title {
  display: inline;
  border-bottom: none;
  box-shadow: none;
}
h5.date, #rt-sidebar-a .post-date, #rt-sidebar-b .post-date, dd.create {
  display: inline-block;
  color: rgb(110, 110, 110);
  font-style: italic;
  font-weight: normal;
  font-size: 14px;
}
#rt-sidebar-a .post-date, #rt-sidebar-b .post-date {
 
}
#rt-sidebar-a .really_simple_share {
  display: none;
}

/* Readmore links & button unstylings */
.readmore a, .btn-primary.btn-small {
  color: rgb(148, 21, 21);
}
.readmore a:hover, .btn-primary.btn-small:hover {
  color: rgb(77,77,77);
}
/*.button:hover, .readon:hover, .readmore:hover, button.validate:hover, #member-profile a:hover, #member-registration a:hover, .formelm-buttons button:hover, .btn-primary:hover */
p.readmore:hover, .btn-primary.btn-small:hover {
  color: rgb(77,77,77);
  background: none;
}
/* .button, p.readon, .readmore, button.validate, #member-profile a, #member-registration a, .formelm-buttons button, .btn-primary, a.more, p.readmore */
 a.more, p.readmore, .btn-primary.btn-small {
  background: none;
  color: rgb(148, 21, 21);
  text-transform: uppercase;
  font-size: 0.8em;
  padding: 0.2em 0.4em;
  margin-bottom: 40px;
  border: 1px solid rgb(170,140,140);
  text-shadow: none;
  box-shadow: none;
  border-radius: 0;
}
p.morelink {
  text-align: right;
}
.rt-grid-6 #text-4, .rt-grid-6 #text-20005 {
  text-align: right;
  margin: -77px 35px 0 0;
}
/* Hide more link from featured broadcast box */
/* #dpe_fp_widget-3 .morelink,
#dpe_fp_widget-10006 .morelink {
  display: none;
} */
/* force iframe in broadcast box to 125% of parent p (set to 80% to accomodate link box) */ 
#dpe_fp_widget-3 iframe,
#dpe_fp_widget-10006 iframe,
#dpe_fp_widget-10006 div {
  max-width: 100%;
  width: 100%;
} 
/* #dpe_fp_widget-3 p,
#dpe_fp_widget-10006 p */
#rt-feature .rt-container .rt-grid-6 #dpe_fp_widget-10006 .dpe-flexible-posts {
  width: 95%;
} 

/* Remove silly margin from post tags */
.post-tags {
  margin-left: -25px;
}

#dpe_fp_widget-3 h4.title,
#dpe_fp_widget-10006 h4.title,
.dpe-flexible-posts h4.title {
  font-size: 1.8em;
  color: rgb(135,78,78);
  hyphens: auto;
}
/* The main home-page featured box */
.rt-grid-6 div#dpe_fp_widget-10005 h4.title {
  font-size: 2.2em;
  color: rgb(82, 27, 27);
}

/* Extra padding on right-hand elements */
/* #dpe_fp_widget-3, #dpe_fp_widget-10006, */ 
#rt-sidebar-b, #linkcat-13 {
  padding-right: 40px;
}

/* Book pages prevent clear:all */
div.rt-grid-6 div.rt-block div#rt-mainbody div.component-content p {
  clear: none;
}
.component-content .img-intro-left {
    margin-bottom: 5px;
}
/* Hide books slideshow heading */
#slider_post-20502 h2,
#slider_post-10002 h2 {
  display: none;
}

@media only screen and (min-width: 1240px) {
  body { width: 1200px; }
  .site-name { font-size: 7em; } 
  #rt-main .jcarousel-list li, #rt-main .jcarousel-item li {
    margin: 0px 20px 0px 0px;
  }
  .jcarousel-skin-tango .jcarousel-item {
    width: 144px;
    height: 228px;
  }
  .jcarousel-skin-tango .jcarousel-container {
    background: url(../images/books-bg.jpg) no-repeat scroll 40px 37px transparent;
  }
  .slider-item-image img {
    width: 145px;
    height: auto;
    position: absolute;
    bottom: 0%;
  }
}

@media only screen and (min-width:1000px) and (max-width: 1239px) {
  body { width: 960px; }
  .site-name { font-size: 6em; }
  #rt-main .jcarousel-list li, #rt-main .jcarousel-item li {
    margin: 0px 20px 0px 0px;
  }
  .jcarousel-skin-tango .jcarousel-item {
    width: 109px;
    height: 173px;
  }
  .jcarousel-skin-tango .jcarousel-container {
    background: url("../images/books-bg.jpg") no-repeat scroll 33px 21px transparent;
  }
  .slider-item-image img {
    width: 111px;
    height: auto;
    position: absolute;
    bottom: 24%;
  }
  #searchform input#s {
  width:77%;
  }
} 

@media only screen and (min-width: 808px) and (max-width: 999px) {
  body { width: 768px; }
  .site-name { font-size: 4.8em; }
  #rt-main .jcarousel-list li, #rt-main .jcarousel-item li {
    margin: 0px 10px 0px 0px;
  }
  .jcarousel-skin-tango .jcarousel-item {
    width: 90px;
    height: 173px;
  }
  .jcarousel-skin-tango .jcarousel-container {
    background: url("../images/books-bg.jpg") no-repeat scroll 33px 54px transparent;
  }
  .slider-item-image img {
    width: 87px;
    height: auto;
    position: absolute;
    bottom: 24%;
  }
  #searchform input#s {
  width:70%;
  }
}

@media only screen and (min-width: 481px) and (max-width: 807px) {
  body { width: 481px; }
  .rt-container {
    width: 460px;
  }
  .site-name { font-size: 5.5em; text-align: center; }
  #rt-mainbody-surround .box3 {
    margin: 10px 40px 10px 10px;
  }
  #rt-main .jcarousel-list li, #rt-main .jcarousel-item li {
    margin: 0px 20px 0px 0px;
  }
  .jcarousel-skin-tango .jcarousel-item {
    width: 109px;
    height: 173px;
  }
  .jcarousel-skin-tango .jcarousel-container {
    background: url("../images/books-bg.jpg") no-repeat scroll 33px 21px transparent;
  }
  .slider-item-image img {
    width: 95px;
    height: auto;
    position: absolute;
    bottom: 27%;
  }
}

@media only screen and (min-width: 381px) and (max-width: 480px) {
  body { margin: 0; }
  .site-name { font-size: 4.6em; text-align: center; }
  #rt-main .jcarousel-list li, #rt-main .jcarousel-item li {
    margin: 0px 10px 0px 0px;
  }
  .jcarousel-skin-tango .jcarousel-item {
    width: 90px;
    height: 173px;
  }
  .jcarousel-skin-tango .jcarousel-container {
    background: url("../images/books-bg.jpg") no-repeat scroll 33px 54px transparent;
  }
  .slider-item-image img {
    width: 95px;
    height: auto;
    position: absolute;
    bottom: 22%;
  }
}

@media only screen and (max-width: 380px) {
  body { margin: 0; }
  .site-name { font-size: 3.5em; text-align: center; }
 /* The books slideshow is not formatted for smartphones (yet) so we'll hide it */
  #slider_post-10002 {
    display:none;
  }
  #rt-main .jcarousel-list li, #rt-main .jcarousel-item li {
    margin: 0px 10px 0px 0px;
  }
  .jcarousel-skin-tango .jcarousel-item {
    width: 90px;
    height: 173px;
  }
  .jcarousel-skin-tango .jcarousel-container {
    background: url("../images/books-bg.jpg") no-repeat scroll 33px 54px transparent;
  }
  .slider-item-image img {
    width: 8.7%;
    height: auto;
    position: absolute;
    bottom: 24%;
  }
}


/* ----- Header ----- */
.site-name {
  font-family:Cinzel, serif;
  font-weight: normal;
  color: rgb(82,27,27);
  text-transform: uppercase;
  line-height: 0.7em;
}
.site-name a {
  color: inherit;
}
#rt-logo {
  width: 250px;
  height: 250px;
  margin-top: 30px;
  margin-left: auto;
  background: url(http://tariqali.org/wp-content/themes/rt_gantry_wp/images/Tariq-Ali.jpg) no-repeat scroll 50% 0 transparent;
}
#rt-logo {
  width: 250px;
  height: 250px;
}
#rt-top-surround {
    background-color: rgb(241, 241, 241);
    background-image: linear-gradient(to bottom, rgb(255, 255, 255), rgb(236, 236, 236));
    background-repeat: repeat-x;
    box-shadow: none;
    border-bottom: 1px solid rgb(255, 255, 255);
    text-shadow: 0px 2px 3px rgb(255, 255, 255);
    color: rgb(110, 110, 110);
    z-index: 9000;
}
#rt-mainbody-surround {
  padding:15px;
}

/* ----- Menus ----- */ 
.gf-menu li:hover, .gf-menu li.active:hover,
.gf-menu.l1 > li.active,
.gf-menu .dropdown ul li:hover > .item,
.gf-menu .dropdown,
.gf-menu li.parent:hover  {
    border-radius: 0;
}
.gf-menu .item {
  font-family: Georgia,Times,serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.gf-menu.l1 > li > .item {
    font-size: 13px;
}
.gf-menu {
  padding-left: 10px;
  margin: 10px auto -2px;
}
.gf-menu-toggle {
  z-index:9999;
}
/* ----- Boxes ----- */
.box3 {
  background-color: rgb(241, 241, 241);
  background-image: none;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.2);
  border-radius: 0;
}
#rt-mainbody-surround #rt-feature .box3 {
 /* margin: 10px 10px 10px 20px; */
  padding: 10px 25px;
}
#rt-sidebar-a .box3 {
  margin-right: 3em;
}
/* ----- Calendar ----- */
ol.hfeed.vcalendar {
  padding: 0;
  margin: 0;
}
ol.hfeed.vcalendar * {
  font-size: 14px;
  font-weight: normal;
}
ol.hfeed.vcalendar h4 {
  margin-bottom: 0;
}
ol.hfeed.vcalendar .duration {
  font-style: italic;
}
ol.hfeed li.tribe-events-list-widget-events {
  margin-bottom: 1em;
}
#tribe-events-content .tribe-events-calendar h3.tribe-events-month-event-title,
#tribe-events-content a {
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
  font-size: 14px;
  font-family: Georgia, serif;
  font-weight: normal;
}
.tribe-events-calendar th {
  font-weight: normal;
  font-size: 0.9em;
}
#tribe-events-content.tribe-events-month table.tribe-events-calendar tbody.hfeed tr td.tribe-events-thismonth div#tribe-events-daynum-  {
    padding: 0px 9px;
    line-height: 2;
}
/* ----- JCarousel Post Slider ----- */
.jcarousel-skin-tango .jcarousel-container-horizontal {
  width: 86%;
  height: 230px; 
}
.jcarousel-skin-tango .jcarousel-clip-horizontal {
  width: 100%;
  height: 100%;
}
.jcarousel-skin-tango .jcarousel-item {
  background: none;
}
.jcarousel-skin-tango .jcarousel-list {
  height: 229px;
}
/*#rt-main .jcarousel-list li, #rt-main .jcarousel-item li {
  margin: 0 20px 0 0;
}*/
.jcarousel-skin-tango .jcarousel-container {
  background-size: 85%;
  border: none;
  top: -30px;
}
.jcarousel-skin-tango .jcarousel-prev-horizontal,
.jcarousel-skin-tango .jcarousel-next-horizontal {
    top: 140px;
}

/* Hide the silly 404 rocket */
.rt-error-rocket {
  display: none;
}

/* recolour search hilighting */
.search-results span.highlight {
  background-color: rgb(250,200,170);
}