/* ===============
Sandra Oveissi
Copyright 2014 Nexus6 Software
written for - www.sample.com

swatch colors
========
rgba(91, 183, 91, 0.8) - green transparent color
#FFFFFF - White Color
#333 - Dark Gray
#555 - lighter Gray
#989898, #F5F5F5 - light Gray
#F5F5F5 - Milky
#E8E8E8 - Dark Milky
rgb(0, 153, 51) - Green
#5cb85c - ligt green
================== */

/***** Announcements Images  *******/
.jcarousel img {
  height: 70px;  
}

.jcarousel-item-thumbnail.thumbnail-large{
  float: right;
  width: 75px;
  padding-left: 2px;
  position: relative;
  top: -67px;
  padding-top: 5px;
  padding-right: 7px;
  padding-bottom: 5px;
}

.jcarousel-item-thumbnail.thumbnail-large.with-horizental-img{
  float: right;
  width: auto;
  height: 70px;
  width: 75px;
  padding-left: 2px;
  position: relative;
  top: -69px;
}

/***** Announcements Headers and Titles  *******/
.jcarousel-item-ziczac-header{
  position: relative;
  background-color: #f5f5f5;
  text-align: center;
  height: 34px;
  max-height: inherit;
  background-image: -moz-linear-gradient(bottom, rgba(0,0,0,.12) 0%, rgba(255,255,255,.06) 100%);
  background-image: -o-linear-gradient(bottom, rgba(0,0,0,.12) 0%, rgba(255,255,255,.06) 100%);
  background-image: -webkit-linear-gradient(bottom, rgba(0,0,0,.12) 0%, rgba(255,255,255,.06) 100%);
  background-image: -webkit-linear-gradient(bottom, rgba(0,0,0,.12) 0%, rgba(255,255,255,.06) 100%);
  display: table;
  width: 100%;
  -moz-box-sizing: border-box;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

/*********** To target IE 9 and 10 *************/
@media screen\0 {
  .jcarousel-item-ziczac-header{
    background-color: #d5d5d5 !important;
  }
}

.jcarousel-ziczac-title{
  display: table-cell;
  vertical-align: middle;
  font-weight: bold;
  font-size: 14px;
  color: rgb(0, 153, 51);
  padding: 3px;
  padding-bottom: 0px;
}

.panel-body.jcarousel-item{
  padding: 0px;
}

.jcarousel-item-ziczac-header p{
  vertical-align: middle;
}

.jcarousel-item-ziczac-header:after {
  content: "";
  display: block;
  position: absolute;
  bottom: -10px;
  left:0;
  right:0;
  height: 10px;
  background:
  linear-gradient(
    45deg, transparent 33.333%,
    #d5d5d5 33.333%, #d5d5d5 66.667%,
    transparent 66.667%
  ),
  linear-gradient(
    -45deg, transparent 33.333%,
    #d5d5d5 33.333%, #d5d5d5 66.667%,
    transparent 66.667%
  );
  background-size: 8px 20px;
  background-position: 0 -10px;
  padding-top: 4px;
}

.jcarousel-horizontalline {
  margin-left: 0px
}

.panel-body.jcarousel-item.with-horizental-no-img div.jcarousel-item-header, .panel-body.jcarousel-item.with-horizental-img div.jcarousel-item-header{
  padding: 9px;
}

/******************************************************/
/* Announcements items in Admin View */
/******************************************************/
ul.jcarousel {
  list-style-type:none;
  padding:0;
}

.jcarousel-item-thumbnail.thumbnail-large{
  margin-top: 0px;
  margin-right: 0px;
}

.jcarousel-item-info-large {
  overflow: hidden;
  padding-left: 1px;
}

.jcarousel-item-info-large:before {
  content:"";
  float: left;
  width: 1px;
  height: 100%;
}

.announce-ellipsis-wrapper {
  float: right;
  width: 100%;
  margin-left: -1px;
  text-align: justify;
}

.jcarousel-item-info-large {
  width: 218px;
  height: 68px;
  margin-top: 15px;
  margin-left: 10px;
  line-height: 1.9;
}

.announce-ellipsis {
  width: 62px;
  margin-left: -62px;
  top: -21px;
  left: 218px;

  /* add a gradient background */
  background: -webkit-gradient(linear, left top, right top,
  from(rgba(255, 255, 255, 0)), to(white), color-stop(50%, white));
  background: -moz-linear-gradient(to right, rgba(255, 255, 255, 0), white 50%, white);
  background: -o-linear-gradient(to right, rgba(255, 255, 255, 0), white 50%, white);
  background: -ms-linear-gradient(to right, rgba(255, 255, 255, 0), white 50%, white);
  background: linear-gradient(to right, rgba(255, 255, 255, 0), white 50%, white);

  box-sizing: content-box;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  float: right;
  position: relative;
  margin-right: 1px;
  text-align: right;
}

.announce-ellipsis span {
  display: inline-block;
  font-size: 16px;
  height: 10px;
  margin-right: 3px;
  line-height: 5px;
}

/******************************************************/
/* Announcment with ziczac header & no image */
/******************************************************/
.jcarousel-item-info-large.no-img-announcements.with-ziczac-header {
  width: 305px;
}

.jcarousel-item-info-large.no-img-announcements.with-ziczac-header span.announce-ellipsis{
  left: 303px;
}

/******************************************************/
/* Announcment with horizotal line header & no image */
/******************************************************/
.jcarousel-item-info-large.no-img-announcements.with-horizental-line {
  width: 305px;
  padding-right: 4px;
  padding-left: 0px;
  margin-top: 6px;
}

.jcarousel-item-info-large.no-img-announcements.with-horizental-line span.announce-ellipsis{
  left: 300px;
}

.jcarousel-item-info-large.img-announcements.with-horizental-line {
  margin-top: 6px;
}


@media (min-width: 1200px) {
  /******************************************************/
  /* Responsive Announcments - One Announcement */
  /******************************************************/
  li.one-announce{
    width: 1015px;
  }

  /******** Ziczac header with img & horizental-line header with img *********/
  .jcarousel-item-info-large.one-announce {
    width: 880px;
  }

  /******** Ziczac header with no img & horizental-line header with no img *********/
  .jcarousel-item-info-large.no-img-announcements.with-ziczac-header.one-announce, .jcarousel-item-info-large.no-img-announcements.with-horizental-line.one-announce {
    width: 960px;
  }

  /******************************************************/
  /* Responsive Announcments - two Announcement */
  /******************************************************/
  li.two-announce{
    width: 507px;
  }

  /******** Ziczac header with img & horizental-line header with img *********/
  .jcarousel-item-info-large.two-announce {
    width: 392px;
  }

  /******** Ziczac header with no img & horizental-line header with no img *********/
  .jcarousel-item-info-large.no-img-announcements.with-ziczac-header.two-announce, .jcarousel-item-info-large.no-img-announcements.with-horizental-line.two-announce {
    width: 470px;
  }

  /******** ellipsis for two announce *********/
  .jcarousel-item-info-large.no-img-announcements.with-ziczac-header span.announce-ellipsis.two-announce,
  .jcarousel-item-info-large.no-img-announcements.with-horizental-line span.announce-ellipsis.two-announce {
    left: 469px;
  }

  .announce-ellipsis.two-announce {
    left: 391px;
  }
}

@media (max-width: 1199px) {
  /******************************************************/
  /* Responsive Announcments - One Announcement */
  /******************************************************/
  li.one-announce{
    width: 832px;
  }

  /******** Ziczac header with img & horizental-line header with img *********/
  .jcarousel-item-info-large.one-announce {
    width: 700px;
  }

  /******** Ziczac header with no img & horizental-line header with no img *********/
  .jcarousel-item-info-large.no-img-announcements.with-ziczac-header.one-announce, .jcarousel-item-info-large.no-img-announcements.with-horizental-line.one-announce {
    width: 775px;
  }

  /******** ellipsis for one announce *********/
  .announce-ellipsis.one-announce {
    display: none;
  }

  /******************************************************/
  /* Responsive Announcments - two Announcement */
  /******************************************************/
  li.two-announce{
    width: 416px;
  }

  /******** Ziczac header with img & horizental-line header with img *********/
  .jcarousel-item-info-large.two-announce {
    width: 300px;
  }

  /******** Ziczac header with no img & horizental-line header with no img *********/
  .jcarousel-item-info-large.no-img-announcements.with-ziczac-header.two-announce, .jcarousel-item-info-large.no-img-announcements.with-horizental-line.two-announce {
    width: 375px;
  }

  /******** ellipsis for two announce *********/
  .jcarousel-item-info-large.no-img-announcements.with-horizental-line span.announce-ellipsis.two-announce{
    left: 370px;
  }

  .jcarousel-item-info-large.no-img-announcements.with-ziczac-header span.announce-ellipsis.two-announce{
    left: 374px;
  }

  .announce-ellipsis.two-announce {
    left: 300px;
  }

  /******************************************************/
  /* Responsive Announcments - three Announcement */
  /******************************************************/
  li.three-announce{
    width: 416px;
  }

  /******** Ziczac header with img & horizental-line header with img *********/
  .jcarousel-item-info-large.three-announce {
    width: 302px;
  }

  /******** Ziczac header with no img & horizental-line header with no img *********/
  .jcarousel-item-info-large.no-img-announcements.with-ziczac-header.three-announce, .jcarousel-item-info-large.no-img-announcements.with-horizental-line.three-announce {
    width: 375px;
  }

  /******** ellipsis for three announce *********/
  .jcarousel-item-info-large.no-img-announcements.with-horizental-line span.announce-ellipsis.three-announce{
    left: 370px;
  }

  .jcarousel-item-info-large.no-img-announcements.with-ziczac-header span.announce-ellipsis.three-announce{
    left: 374px;
  }

  .announce-ellipsis.three-announce {
   left: 300px;
  }
}

@media (min-width: 1440px) {
  /******************************************************/
  /* Responsive Announcments - One Announcement */
  /******************************************************/
  li.one-announce{
    width: 1227px;
  }

  /******** Ziczac header with img & horizental-line header with img *********/
  .jcarousel-item-info-large.one-announce {
    width: 880px;
  }

  /******** Ziczac header with no img & horizental-line header with no img *********/
  .jcarousel-item-info-large.no-img-announcements.with-ziczac-header.one-announce, .jcarousel-item-info-large.no-img-announcements.with-horizental-line.one-announce {
    width: 960px;
  }

  /******************************************************/
  /* Responsive Announcments - two Announcement */
  /******************************************************/
  li.two-announce{
    width: 613px;
  }

  /******** Ziczac header with img & horizental-line header with img *********/
  .jcarousel-item-info-large.two-announce {
    width: 392px;
  }

  /******** Ziczac header with no img & horizental-line header with no img *********/
  .jcarousel-item-info-large.no-img-announcements.with-ziczac-header.two-announce, .jcarousel-item-info-large.no-img-announcements.with-horizental-line.two-announce {
    width: 470px;
  }

  /******** ellipsis for two announce *********/
  .jcarousel-item-info-large.no-img-announcements.with-ziczac-header span.announce-ellipsis.two-announce,
  .jcarousel-item-info-large.no-img-announcements.with-horizental-line span.announce-ellipsis.two-announce {
    left: 469px;
  }

  .announce-ellipsis.two-announce {
    left: 391px;
  }
  /******************************************************/
  /* Responsive Announcments - three Announcement */
  /******************************************************/
  li.three-announce{
    width: 408.5px;
  }

  /******** Ziczac header with img & horizental-line header with img *********/
  .jcarousel-item-info-large.three-announce {
    width: 302px;
  }

  /******** Ziczac header with no img & horizental-line header with no img *********/
  .jcarousel-item-info-large.no-img-announcements.with-ziczac-header.three-announce, .jcarousel-item-info-large.no-img-announcements.with-horizental-line.three-announce {
    width: 375px;
  }

  /******** ellipsis for three announce *********/
  .jcarousel-item-info-large.no-img-announcements.with-horizental-line span.announce-ellipsis.three-announce{
    left: 370px;
  }

  .jcarousel-item-info-large.no-img-announcements.with-ziczac-header span.announce-ellipsis.three-announce{
    left: 374px;
  }

  .announce-ellipsis.three-announce {
   left: 300px;
  }

}


/**********************************************************/
/* Responsive Announcments for Admin View - Desktop View */
/*********************************************************/

/******************************************************/
/* One Announcement */
/******************************************************/
.jcarousel.preview-one-announce li{
  width: 985px;
}

.jcarousel.preview-one-announce li .panel-body.jcarousel-item .jcarousel-ziczac-img, .jcarousel.preview-one-announce li .jcarousel-item-info-large.img-announcements.with-horizental-line{
  width: 880px;
}

.jcarousel.preview-one-announce li .jcarousel-item-info-large.no-img-announcements.with-ziczac-header, .jcarousel.preview-one-announce li .jcarousel-item-info-large.no-img-announcements.with-horizental-line{
  width: 960px;
}

/******************************************************/
/* two Announcements */
/******************************************************/
.jcarousel.preview-two-announce li{
  width: 493px;
}

.jcarousel.preview-two-announce li .panel-body.jcarousel-item .jcarousel-ziczac-img, .jcarousel.preview-two-announce li .jcarousel-item-info-large.img-announcements.with-horizental-line{
  width: 392px;
}

.jcarousel.preview-two-announce .preview-announce-ellipsis-img{
  left: 390px;
}

.jcarousel.preview-two-announce li .jcarousel-item-info-large.no-img-announcements.with-ziczac-header, .jcarousel.preview-two-announce li .jcarousel-item-info-large.no-img-announcements.with-horizental-line{
  width: 470px;
}

.jcarousel.preview-two-announce .preview-announce-ellipsis-noimg{
  left: 469px;
}

/**********************************************************/
/* Responsive Announcments for Admin View - Tablet View */
/*********************************************************/

/******************************************************/
/* One Announcement */
/******************************************************/
.jcarousel.tablet-preview-one-announce li{
  width: 801px;
}

.jcarousel.tablet-preview-one-announce li .panel-body.jcarousel-item .jcarousel-ziczac-img, .jcarousel.tablet-preview-one-announce li .jcarousel-item-info-large.img-announcements.with-horizental-line{
  width: 700px;
}

.jcarousel.tablet-preview-one-announce li .jcarousel-item-info-large.no-img-announcements.with-ziczac-header, .jcarousel.tablet-preview-one-announce li .jcarousel-item-info-large.no-img-announcements.with-horizental-line{
  width: 775px;
}

/******************************************************/
/* two Announcements */
/******************************************************/
.jcarousel.tablet-preview-two-announce li{
  width: 401px;
}

.jcarousel.tablet-preview-two-announce li .panel-body.jcarousel-item .jcarousel-ziczac-img, .jcarousel.tablet-preview-two-announce li .jcarousel-item-info-large.img-announcements.with-horizental-line{
  width: 300px;
}

.jcarousel.tablet-preview-two-announce .preview-announce-ellipsis-img{
  left: 299px;
}

.jcarousel.tablet-preview-two-announce li .jcarousel-item-info-large.no-img-announcements.with-ziczac-header, .jcarousel.tablet-preview-two-announce li .jcarousel-item-info-large.no-img-announcements.with-horizental-line{
  width: 375px;
}

.jcarousel.tablet-preview-two-announce .preview-announce-ellipsis-noimg{
  left: 374px;
}


/**********************************************************/
/* Announcement Preview for Admin */
/*********************************************************/
.announcetabletpreview.btn.btn-default, .announcedesktoppreview.btn.btn-default{
  font-size: 13px;
}

.announcetabletpreview{
  margin-left: 5px;
}

.announcedesktoppreview:hover, .announcetabletpreview:hover{
  cursor: pointer;
}
