/* ==========================================================================
   Widget common
   ========================================================================== */

/*
 * Widget
 */

.widget {
  position: relative;
  min-height: 360px;
}

.widget-intro {
  position: relative;
  display: block;
  min-height: 152px;
  padding-bottom: 0px;
  margin-bottom: 65px;
}

.widget-intro .widget-footer{
  width: 100%;
  bottom: -65px;
}

.widget-intro .widget-footer .button{
  position: absolute;
  right: 0;
  bottom: 0;
  margin:0;
}

/*
 * Widget title
 */

.widget-title {
  margin: 32px 0 14px;
}

.widget-title-alt {
  color: #666;
}

.widget-intro-title {
  margin: 32px 0 16px;
  font-size: 24px;
  line-height: 24px;
}

/*
 * Widget footer
 */

.widget-footer {
  position: absolute;
  right: 0;
  bottom: 0;
}

/*
 * Widget variable height
 */

.widget-fluid-height-footer {
  position: relative;
  margin-top: 30px;
}

/*
 * Play button
 */

[class*="widget-play-button"] {
  position: relative;
  display: block;
}

[class*="widget-play-button"]:before {
  content: ' ';
  background: #b3d349;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 74px;
  height: 48px;
  margin: -28px 0 0 -37px;
}

.widget-play-button-small:before {
  width: 56px;
  height: 36px;
  margin: -21px 0 0 -28px;
}

.widget-play-button-big:before {
  width: 111px;
  height: 71px;
  margin: -39px 0 0 -55px;
}

.widget-play-button-large:before {
  width: 235px;
  height: 132px;
  margin: -66px 0 0 -117px;
}

[class*="widget-play-button"]:after {
  content: ' ';
  position: absolute;
  top: 50%;
  left: 50%;
  background: url('../images/sprites/sprite.png') no-repeat;
  background: rgba(0,0,0,0) url('../images/sprite.svg') no-repeat;
  background-position: -40px -160px;
  width: 19px;
  height: 26px;
  margin: -17px 0 0 -9px;
}

.widget-play-button-small:after {
  background-position: -23px -20px;
  width: 14px;
  height: 19px;
  margin: -12px 0 0 -7px;
}

.widget-play-button-big:after {
  background-position: -40px 0;
  width: 28px;
  height: 38px;
  margin: -23px 0 0 -14px;
}

.widget-play-button-large:after {
  background-position: -61px -264px;
  width: 38px;
  height: 52px;
  margin: -26px 0 0 -19px;
}

.lt-ie8  span.ie7-play-button{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 74px;
  height: 48px;
  margin: -28px 0 0 -37px;
  background: url(../images/ie7/play.png) no-repeat center center #b3d349;
  cursor: pointer;
}

.lt-ie8 .widget-play-button-big span.ie7-play-button {
  width: 111px;
  height: 71px;
  margin: -39px 0 0 -55px;
  background: url(../images/ie7/play-big.png) no-repeat center center #b3d349;
}



/* ==========================================================================
   Slideshow
   ========================================================================== */

.widget-slideshow {
  position: relative;
  padding: 0;
  margin-bottom: 58px;
  min-height: 300px;
}

h2 + .widget-slideshow {
  margin-top: 13px;
}

p + .widget-slideshow {
  margin-top: 40px;
}

  .widget-slideshow-title {
    margin: 0 0 23px;
  }

  .widget-slideshow-item{
    padding: 0;
    display: inline-block;
  }

  .lt-ie8 .widget-slideshow-item  {
    padding: 0;
    width: 100%;
  }

    .widget-slideshow-item-title {
      position: absolute;
      right: 0;
      bottom: 0;
      left: 0;
      padding: 17px 19px 13px;
      margin: 0;
      background: url('../images/sprites/opacity-white-75.png') repeat 0 0;
      background: rgba(255, 255, 255, .75);
    }

      .widget-slideshow-item-text-title {
        margin: 0;
        line-height: 30px;
      }

  [class*="widget-slideshow-nav"] {
    bottom: -39px;
  }

/*
 * Previous & next buttons adjustment
 */

@media(max-width: 1023px) {
  .widget-slideshow [data-carousel_action] {
    top: auto;
    right: 60px;
    bottom: 10px;
    left: auto;
  }

  .widget-slideshow [data-carousel_action].carousel-next {
    right: 0;
  }

  .widget-slideshow-nav-toggle {
    display: none;
  }
}

/**
 * Projects
 */
.project-slideshow-title:first-child {
  margin: 32px 0 5px;
}


/* ==========================================================================
   Slideshow with text
   ========================================================================== */

.widget-slideshow-text {
  position: relative;
  padding: 0 0 65px;
}

.widget-slideshow-text-small {
  position: relative;
  padding: 0 0 65px;
  min-height: 0;
}

.grid-column-3 .widget-slideshow-text .carousel-overflow,
.grid-column-4 .widget-slideshow-text .carousel-overflow {
  -webkit-box-sizing: border-box; /* WebKit */
     -moz-box-sizing: border-box; /* Mozilla */
          box-sizing: border-box; /* Opera & IE 8+ */
}

.widget-slideshow-content {
  border: 1px solid #eee;
}

h2 + .widget-slideshow-text {
  margin-top: 13px;
}

  .widget-slideshow-text-title {
    margin: 0 0 23px;
  }

  .widget-slideshow-text-item {
    min-height: 298px;
    padding: 27px 30px 33px;
    border: 1px solid transparent;
  }

    .widget-slideshow-text-item.is-active {
      border: none;
    }

    .grid-column-3 .widget-slideshow-text-item,
    .grid-column-4 .widget-slideshow-text-item {
      min-height: 0;
      padding: 0 0 10px;
    }

/*
 * Large Slideshow with text
 */

.widget-slideshow-text-item-title {
  margin-bottom: 15px;
}

.widget-slideshow-text-item-paragraph {
  display: inline-block;
  width: 190px;
  margin: 0 25px 0 0;
  vertical-align: top;
}

.widget-slideshow-text-item-image {
  display: inline-block;
}

/*
 * Medium and small Slideshow with text
 */

.widget-slideshow-text-content {
  padding: 16px 29px;
}

/*
 * Previous & next buttons adjustment
 */

.widget-slideshow-text .carousel-nav {
  bottom: 20px;
}


@media(max-width: 1023px) {
  .widget-slideshow-text [data-carousel_action],
  .widget-slideshow-text-small [data-carousel_action] {
    top: auto;
    right: 60px;
    bottom: 10px;
    left: auto;
  }

  .widget-slideshow-text [data-carousel_action].carousel-next,
  .widget-slideshow-text-small [data-carousel_action].carousel-next {
    right: 0;
  }
}


/* ==========================================================================
   Video
   ========================================================================== */

.widget-video-title {
  margin: 0 0 23px;
}


/* ==========================================================================
   News
   ========================================================================== */

/**
 * Large
 */

.widget-news {
  position: relative;
  display: block;
  min-height: 300px;
  padding-bottom: 0px;
  margin-bottom: 65px;
}

.widget-news .widget-footer{
  width: 100%;
  bottom: -65px;
}

.widget-news .widget-footer .button{
  position: absolute;
  right: 0;
  bottom: 0;
  margin:0;
}

.widget-news-large-item,
.widget-news-item {
  position: relative;
  margin: 25px 0 0;
  padding: 0;
}

.widget-news-large-item {
  padding: 0 0 0 93px;
}

.widget-title + .widget-news-large-item,
.widget-title + .widget-news-item {
  margin-top: 0;
}

  .widget-news-large-item-date,
  .widget-news-item-date {
    color: #999;
    font-size: 13px;
  }

  .widget-news-large-item-date {
    position: absolute;
    top: 0;
    left: 0;
    vertical-align: top;
  }

    .widget-news-item-title {
      margin: 0;
      color: #92b325;
      font-weight: normal;
    }

      .widget-news-item-title > a {
        text-decoration: none;
      }


/* ==========================================================================
   Twitter
   ========================================================================== */

.widget-twitter {
  position: relative;
  display: block;
  min-height: 300px;
  padding-bottom: 0px;
  margin-bottom: 65px;
}

.widget-twitter .widget-footer{
  width: 100%;
  bottom: -60px;
}

.widget-twitter .widget-footer .button{
  position: absolute;
  right: 0;
  bottom: 0;
  margin:0;
}

.widget-twitter .widget-twitter-title + .widget-twitter-item:before {
  position: absolute;
  left: 24px;
  top: -12px;
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 12px solid #f7f7f7;
}

.widget-twitter.is-small:before {
  left: 24px;
}

.widget-twitter-item {
  position: relative; 
  background-color: #f7f7f7;
  padding: 23px 30px;
  border-top: 1px solid white;
}
.grid-column-3 .widget-twitter-item {
  min-height: 250px;
}

.widget-twitter-title {
  margin-bottom: 22px;
}

.widget-title + .widget-twitter-item {
  border-top: 0;
}

  .widget-twitter-item > p {
    margin-top: 0;
  }

  .widget-twitter-item-title {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    font-weight: bold;
    text-decoration: none;
    color: #660066;
  }

  .widget-twitter-item-date {
    margin-left: 13px;
    font-size: 13px;
    text-decoration: none;
    color: #999;
  }

  .widget-twitter-item-date.push-right {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    text-align: right;
    width: 100%;
  }


/* ==========================================================================
   Links
   ========================================================================== */

.widget-title + .link-list {
  margin-top: 23px;
}


/* ==========================================================================
   Banner
   ========================================================================== */

.widget-banner {
  background: #f7f7f7;
}

  .widget-banner-image {
    vertical-align: bottom;
  }

  .widget-banner-text {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 28px 30px;
    font: 16px/21px DINWebPro-Bold, Arial, sans-serif;
    background: #660066;
    color: white;
  }

  .widget-banner-text.has-padding {
    padding-right: 100px;
  }

  .widget-banner-icon {
    margin-left: 16px;
  }

  .widget-banner-text.has-padding .widget-banner-icon {
    position: absolute;
    top: 50%;
    right: 30px;
    margin-top: -6px;
  }


/* ==========================================================================
   Menu
   ========================================================================== */

.widget-menu-title {
  color: #666;
}

.widget-flex .widget.widget-menu {
  min-height: 0;
}


/* ==========================================================================
   Contact
   ========================================================================== */

.widget-contact-title {
  margin: 0 0 16px;
}

/**
 * Maps contact
 */
.widget-contact-maps {
  width: 474px;
  height: 125px;
  margin: 23px 0 26px;
}
  [class*="flexgrid-"] .widget-contact-maps {
    width: auto;
  }

[class*="widget-contact-column"] {
  margin-top: 5px;
}

/*.widget-contact-column-address {
  margin: 0;
}
*/



/* ==========================================================================
   Contact banner
   ========================================================================== */

.widget-contact-banner {
  border: 3px solid #f7f7f7;
}

  .widget-contact-banner-title {
    /* color: #666; */
  }

  .widget-contact-banner-header {
    height: 211px;
    padding: 24px 23px 0;
    line-height: 22px;
    background-color: #f7f7f7;
  }

  .grid-column-3 .widget-contact-banner-header,
  .grid-column-4 .widget-contact-banner-header,
  .widget-contact-banner.grid-column-6 {
    position: relative;
  }

    .widget-contact-banner-title {
      margin-top: 5px;
      margin-bottom: 5px;
    }

    .widget-contact-banner-large-title {
      margin-top: 5px;
      margin-bottom: 5px;
    }

    p.widget-contact-banner-quote {
      margin-top: 0;
      position: relative;
      z-index: 9999;
      display: inline-block;
      width: 60%;
      *display: inline;
      *zoom: 1;
    }

    .widget-contact-banner-portret {
      position: absolute;
      right: 0;
      bottom: 0;
      z-index: 0;
    }

  .img-back{
    overflow: hidden;
    position: relative;
  }
  .img-back .widget-contact-banner-portret {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 0;
  }
  .img-back  h2{
    position: relative;
  }

  .widget-contact-banner-info {
    padding: 21px 25px 23px;
  }

    .widget-contact-banner-info-name {
      margin: 0;
      color: #666;
      text-transform: uppercase;
    }


/* ==========================================================================
   Contact banner text
   ========================================================================== */

.widget-contact-banner-text {
  border: 3px solid #f7f7f7;
}

  .widget-contact-banner-text-header {
    position: relative;
    min-height: 231px;
    padding: 24px 36px 24px 23px;
    line-height: 22px;
    background-color: #f7f7f7;
  }

  .widget-contact-banner-text-actions {
    margin: 14px 0 0;
  }
    .widget-contact-banner-text-actions .button-secondary {
      padding-left: 12px;
      padding-right: 10px;
    }
    .widget-contact-banner-text-actions .button-secondary i[class*="icon-"] {
      margin-left: 10px;
    }


/* ==========================================================================
   Contact
   ========================================================================== */

.widget-contact-link {
  display: block;
  padding: 7px 0 8px;
  text-decoration: none;
  color: #666;
}

.widget-contact-icon {
  margin-right: 10px;
}

.widget-contact-button {
  position: relative;
  display: block;
  margin: 18px 0 0 0;
}

.widget-contact-button:first-child {
  margin-top: 0;
}

.widget-contact-button:after {
  content: attr(title);
  position: absolute;
  top: -2px;
  left: 30px;
  font: 15px/25px Arial, sans-serif;
  white-space: nowrap;
  color: #666;
}

.widget-contact-button:hover:after {
  color: black;
}

.lt-ie8 a.widget-contact-button{
  height: 25px;
}

.lt-ie8 .widget-contact-button span{
    color: #999;
    font-weight: normal;
    font-family: Arial, sans-serif;
    position: absolute;
    left: 30px;
}


/* ==========================================================================
   Flickr
   ========================================================================== */

.widget-flickr {
  border: 1px solid #eee;
  padding: 29px;
}

  .widget-flickr-title {
    margin-bottom: 6px;
  }

  .widget-flickr-images {
    margin: 8px -13px 30px 0;
    min-height: 168px;
  }
  .grid-column-4 .widget-flickr-images {
    min-height: 252px;
  }

    .widget-flickr-image {
      float: left;
      margin: 10px 11px 0 0;
    }

      .widget-flickr-image img {
        display: block;
      }


/* ==========================================================================
   Magazine
   ========================================================================== */
.widget-magazine {
  padding-bottom: 50px;
}

  .widget-magazine-title {
    margin-bottom: 23px;
  }

  .widget-magazine-large-item {
    width: 222px;
    margin: 0 0 0 30px;
    float: left;
  }

  .widget-title + .widget-magazine-large-item {
    margin: 0;
  }

  .widget-magazine-item-title {
    margin: 10px 0 6px;
  }