/** 
 *------------------------------------------------------------------------------
 * @package       T3 Framework for Joomla!
 *------------------------------------------------------------------------------
 * @copyright     Copyright (C) 2004-2013 JoomlArt.com. All Rights Reserved.
 * @license       GNU General Public License version 2 or later; see LICENSE.txt
 * @authors       JoomlArt, JoomlaBamboo, (contribute to this project at github 
 *                & Google group to become co-author)
 * @Google group: https://groups.google.com/forum/#!forum/t3fw
 * @Link:         http://t3-framework.org 
 *------------------------------------------------------------------------------
 */

// ---------------------------------------------------------
// MAIN TEMPLATE STYLES
// ---------------------------------------------------------
.embed-responsive .embed-responsive-item, .embed-responsive iframe, .embed-responsive embed, .embed-responsive object, .embed-responsive video {
    height: 100% !important;
    width: 100% !important;
}
.embed-responsive .embed-responsive-item, .embed-responsive iframe, .embed-responsive embed, .embed-responsive object, .embed-responsive video {
    border: 0 none;
    bottom: 0;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.ja-videos-list-wrap {
  margin-bottom: @t3-global-margin;
  padding-bottom: @t3-global-padding;
  border-bottom: 1px solid @t3-border-color;
}

.link-item {
  border-bottom: 1px dotted @border-color;
  padding: (@global-padding / 2) @global-padding;

  &:last-child {
    border-bottom: 0;
  }

  .col-media {
    .make-xs-column (3);
    padding: 0;
  }

  .col-content {
    .make-xs-column (9);
    padding-right: 0;
  }

  // Title
  .article-title {
    margin: 0;
    h3 {
      font-size: @font-size-base;
      margin: 0;
    }
  }

  // Media
  .item-image {
    float: none !important;
    margin: 0 !important;
    max-height: @line-height-computed * 2;
    overflow: hidden;
  }

  // Metadata
  .article-aside {
    margin-bottom: @line-height-computed / 4;
    margin-top: 0;
    .fa {
      display: none;
    }
    dd {
      margin-right: 2px;
    }
    .category-name {
      display: inline-block;
      margin-right: 5px;
    }
    .article-info {
      display: inline-block;
      width: auto;
    }
  }
}

.magazine-item-media .item-image + .category-name {
  position: absolute;
  left: 0;
  bottom: -(@global-padding/2);
  margin: 0;
}

.magazine-featured-leading .magazine-item-media {
  .category-name {
    margin: @t3-global-margin*2.5 0 @t3-global-margin/2 0;
  }
  
  .item-image + .category-name {
    margin: 0;
  }
}

.article-intro-media {
  .category-name {
    position: inherit;
  }

  .item-image + .category-name {
    position: absolute;
  }
}

// Section Heading
// ----------------------------
.magazine-section-heading {
	padding: (@global-padding / 2) (@grid-gutter-width / 2);

  h4 {
    display: inline-block;
    text-transform: uppercase;
    font-size: @font-size-h4;
    letter-spacing: 1px;
    padding: 0;
    margin: 0;
  }
}

// Featured Intro Links
div.magazine-featured-links {
  box-shadow: inset 0 0 0 1px @border-color;

  // Section Heading
  .magazine-section-heading {
    box-shadow: inset 0 0 0 1px @border-color;
  }
}

// Content
// ----------------------------
.magazine-item-main {
	
	.content_rating {
		height: 15px;
		margin-bottom: @t3-global-margin/2;
	}
	
	.content_vote {
		display: block;
		margin-bottom: @t3-global-margin;
	}
}

.magazine-item-ct {
  margin-top: @line-height-computed / 2;
  font-weight: @font-weight-light;
  font-size: @font-size-small;
  max-height: (@line-height-computed * @font-size-small / @font-size-base) * 3; //Max 3 lines with small font-size;
  overflow: hidden;
  text-overflow: clip;
  p:last-child {
    margin-bottom: 0;
  }
  .list-view & {
    max-height: @line-height-computed * 4; //Max 4 lines with base font-size;
  }
}


// Leading Items
// ----------------------------
.magazine-leading {

  // Images
  .item-image {
    float: none !important;
    width: 100%;
  }

  // Main Content
  .magazine-item-main {
    // Titles
    .article-title h3 {
      font-size: @font-size-larger;
    }
    // Intro Text
    .magazine-item-ct {
      font-size: @font-size-base;
      max-height: @line-height-computed * 4; //Max 4 lines with base font-size;
    }
  }

}



// Intro Items
// ----------------------------
.magazine-intro {

  .magazine-item {
    padding-top: @global-padding;
    padding-bottom: @global-padding;
  }

  // Main Content
  .magazine-item-main {
    // Titles
    .article-title h3 {
    }
    // Intro Text
    .magazine-item-ct {
      font-size: @font-size-small;
    }
  }

}


// Links Item
// ----------------------------
.magazine-links {
}

.link-item {
  border-bottom: 1px dotted @border-color;
  padding: (@global-padding / 2) @global-padding;

  &:last-child {
    border-bottom: 0;
  }

  .col-media {
    .make-xs-column (2);
    padding: 0;
  }

  .col-content {
    .make-xs-column (10);
    padding-right: 0;
  }

  // Title
  .article-title {
    margin: 0;
    h3 {
      font-size: @font-size-base;
      margin: 0;
    }
  }

  // Media
  .item-image {
    float: none !important;
    margin: 0 !important;
    max-height: @line-height-computed * 2;
    overflow: hidden;
  }

  // Metadata
  .article-aside {
    margin-bottom: @line-height-computed / 4;
    margin-top: 0;
    .fa {
      display: none;
    }
    dd {
      margin-right: 2px;
    }
    .category-name {
      display: inline-block;
      margin-right: 5px;
    }
    .article-info {
      display: inline-block;
      width: auto;
    }
  }
}



.line-head {
  position: relative;
  display: inline-block;
  &:before,
  &:after {
    content: '';
    position: absolute;
    width: (@grid-gutter-width / 3);
    height: 5px;
    top: 50%;
    margin-top: -4px;
    background: url(../images/line-head.png) repeat-x center;
  }
  &::before {
    right: 100%;
    margin-right: 10px;
  }
  &::after {
    left: 100%;
    margin-left: 10px;
  }
}

// Videos
.ja-video-list {
  position: relative;
  z-index: 1;

  .video-mask {
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
  }

  .btn-play {
    position: absolute;
    background: none;
    border: 2px solid @white;
    color: @white;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    width: 40px;
    height: 40px;
    font-size: 10px;
    line-height: 36px;
    margin-top: -20px;
    margin-left: -20px;
    text-align: center;
  }
}

.embed-responsive-16by9 {
    padding-bottom: 56.25%!important;
}
.embed-responsive {
    display: block;
    height: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
}

.ja-video-list.video-playing .video-mask {
  border: 3px solid @brand-primary;
}

#ja-main-player {
  background-color: @black;
  position: relative;

  img {
    height: 100%;
    width: 100%;
  }
  .video-mask {
    background: @black;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    .opacity(0.5);
  }

  #ja-btn-play {
    position: absolute;
    background: none;
    border: 2px solid @white;
    color: @white;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    width: 60px;
    height: 60px;
    font-size: 20px;
    line-height: 56px;
    margin-top: -30px;
    margin-left: -30px;
    text-align: center;
    padding: 0;
  }
}

// Video List
// --------------
.video-list {
  padding-top: @grid-gutter-width/2;
  padding-bottom: @grid-gutter-width/2;
  border-top: 1px solid @t3-border-color;
  border-bottom: 1px solid @t3-border-color;
  position: relative;

  .btn-more {
    position: absolute;
    top: -60px;
    right: 0;
    color: @gray-darker;
    padding-left: 0;
    padding-right: 0;
    border: 0;

    &:after {
      content: "\f178";
      font-family: FontAwesome;
      margin-left: 5px;
    }

    &:hover, &:focus, &:active {
      background-color: transparent;
      color: @link-hover-color;
    }
  }

  .player-wrap {
    @media (min-width: @screen-md-min) {
      border-right: 1px solid @t3-border-color;
    }
  }

  .item-image {
    position: relative;
    margin-bottom: @t3-global-margin/2;
  }

  .btn-play {
    font-size: 20px;
    margin-left: -10px;
    margin-top: -10px;
  }

  .videos-featured-list {
    @media (max-width: @screen-sm-max) {
      padding-right: 0;
      margin-top: 20px;
    }

    ul {
      padding-left: 0;
      padding-right: @grid-gutter-width/2;
      margin-bottom: 0;
      list-style: none;
      overflow: auto;
    }

    @media (min-width: @screen-md-min) {
      display: block;
      ul {
        height: 433px;
      }  
    }

    h2.article-title {
      font-size: @font-size-base;
    }
  }
}

// 
// TOPBAR
// ---------------------------------------------------------
.t3-topbar {
  background-color: @brand-primary;
  height: 36px;
  line-height: 36px;
  color: @white;
  position: relative;
  z-index: 100;

  p {
    margin: 0;
  }
}

// 
// HEADER
// ---------------------------------------------------------

.t3-header {
  padding-top: @t3-global-padding/2;
  padding-bottom: @t3-global-padding/2;
  background: @white;
  border-bottom: 1px solid @t3-border-color;
  color: @navbar-default-link-color;
  position: relative;
  z-index: 99;
}

.bottom-content-grid {
  border-top: 2px solid @t3-border-color;
  margin-top: @t3-global-margin * 2;
  padding-top: @t3-global-padding;

  .module-title  {
    color: @black;
    font-size: 21px;
  }

  .item-facts {
    border-top: 5px solid @brand-primary;
    background: #f8fafb;
    padding: @t3-global-padding 0;

    h3 {
      color: @black;
      margin: 0;
      padding: 0 @t3-global-padding;
      font-size: 21px;
    }

    ul {
      padding: 0;
      list-style: none;
      margin: 0;

      li {
        padding: 20px;

        + li {
          border-top: 1px solid #e8eef3;
        }
      }
    }
  }
}

// Logo
// ----
.logo {
  z-index: 2;
  
  // Left align the logo on  Tablets / Desktop
  @media screen and (min-width: @screen-sm) {
    text-align: left;
  }

  a {
    display: inline-block;
    line-height: 1;
    margin: 0;
  }
}

// Logo Image
// ----------
.logo-image {
  display: inline-block;
  // Hide sitename and slogan
  span, small {
    display: none;
  }
}

// Logo Text
// ----------
.logo-text {

  a {
    text-decoration: none;
    font-size: ceil(@font-size-base * 2);
    font-weight: bold;
  }

  &:hover a,
  a:hover,
  a:active,
  a:focus {
    text-decoration: none;
  }

  // Taglines
  .site-slogan {
    display: block;
    font-size: @font-size-base;
    margin-top: 5px;
  }

}

// Head Search
// -----------
.nav-search {
  height: 36px;
  line-height: 36px;
  width: 36px;
  text-align: center;
  margin-top: 10px;

  // Control screen desktop
  @media screen and (min-width: @screen-sm-min) {
    border: 0;
    height: 36px;
    line-height: 36px;
  }

  a {
    display: block;
    color: @navbar-default-link-color;

    &:hover {
      color: @white;
    }
  }

  &.open {
    background: @white; //Style for IE 8
    background: rgba(255, 255, 255, 0.9);
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    margin-top: 0;

    a {
      display: none;
    }

    .dropdown-menu {
      background: none;
      box-shadow: none;
      border-radius: 0;
      padding: 0;
      margin: @t3-global-margin*4 auto 0;
      min-width: 215px;
      height: auto;
      position: static;
      float: none;
      border: 0;
      top: 0;

      .t3-module {
        margin-bottom: 0;
        line-height: 1;
      }

      // Tittle
      .module-title {
        margin-bottom: 0;
      }

      @media (min-width: @screen-md-min) {
        // Input
        .form-control {
          box-shadow: none;
          border-radius: 0;
          border: 0;
          background: none;
          width: 100%;
          font-size: @font-size-h1 * 3;
          font-weight: bold;
          padding: @t3-global-padding 0;
          height: auto;
          line-height: 1.2;
          border-bottom: 1px solid @gray-darker;
          .placeholder(@gray-darker);

          &:focus {
            background: none;
            color: @black;
            .placeholder(@black);
          }
        }

        .placeholder {
          color: @black;
        }
      }

      // Button
      button {
        float: right;
        margin-top: (@t3-global-margin / 2);
      }
    }

    @media (max-width: @screen-sm-max) {
      .dropdown-menu {
        position: fixed;
        top: 50px;
        left: 0;
        height: auto;
        width: 100%;
        padding: @t3-global-padding;
        background: @gray-darker;
        border-radius: 0;
        margin-top: 0;
        .box-shadow(none);

        .form-control {
          width: 100%;
        }
      }
    }

    a {
      color: @brand-primary;
      position: relative;
    }
  }

  // ie8
  .ie8 & {
    .dropdown-menu {
      border: 0;
      right: 215px!important;
    }
  }
}


// Head Button
// ------------
.head-btn {
  text-align: right;
  .nav > li {
    display: inline-block;
    margin-left: @t3-global-margin/2;
    > a {
      display: inline-block;
      text-transform: uppercase;
      .button-variant(@btn-inverse-color; @btn-inverse-bg; @btn-inverse-border);
    }
  }
}


// ---------------------------------------------------------
// SPOTLIGHTS
// ---------------------------------------------------------

.t3-sl {
  padding-bottom: @t3-global-padding * 2;
  padding-top: @t3-global-padding * 2;
  
  // Larger padding in Tablet / Desktop
  @media screen and (min-width: @screen-md) {
    padding: @t3-global-padding*3 @grid-gutter-width/2;
  }
}

// Spotlight 1
// -----------
.t3-sl-1 {
}

// Spotlight 2
// -----------
.t3-sl-2 {
}

// Spotlight 3
// -----------
.t3-sl-3 {
}

// Spotlight 4
// -----------
.t3-sl-4 {
}



// ---------------------------------------------------------
// MAIN BODY
// ---------------------------------------------------------
.t3-mainbody {
  padding-top: @line-height-computed ;
  padding-bottom: @line-height-computed;
}

// Content
// -------
.t3-content {
  padding-top: @line-height-computed ;
  padding-bottom: @line-height-computed;
}

// Sidebars
// --------
.t3-sidebar {
  padding-top: @line-height-computed;
  padding-bottom: @line-height-computed;

  .t3-module {
    margin-bottom: @t3-global-margin*1.5;
  }
}

.t3-sidebar-1 {
}

.t3-sidebar-2 {
}



// ---------------------------------------------------------
// FOOTER
// ---------------------------------------------------------
.t3-footer {
  border-top: 1px solid @t3-border-color;
  background: @t3-footer-background;
  color: @t3-footer-text-color;
  .clearfix();

  // small
  small {
    display: block;
    font-size: 100%; //Use global footer font size.
  }

  // links
  a {
    // Link States
    &:hover, &:active, &:focus {
    }
  }

}

// Foot Nav
// --------
.t3-footnav {
  padding: @t3-global-padding 0;
  .clearfix();

  // Larger padding on Tablet / Desktop
  @media screen and (min-width: @screen-md-min) {
    padding: (@t3-global-padding * 2) 0;
  }

  // Footnav Modules
  .t3-module {
    background: @t3-footer-module-background;
    color: @t3-footer-module-text-color;
    margin-top: @line-height-computed / 2;
    margin-bottom: @line-height-computed / 2;

    .module-title {
      color: @t3-footer-module-title-color;
      font-size: @font-size-large;
      margin-bottom: @line-height-computed / 2;
      text-transform: none;
    }

    ul {
      list-style: none;
      margin-left: 0;
      margin-bottom: 0;
      padding-left: 0;

      > li {
        line-height: 24px;
        // links
        > a {
          color: @t3-footer-module-text-color;
          text-transform: uppercase;
          font-weight: 300;
          padding: @t3-global-padding/4 0;
          // Link States
          &:hover, &:active, &:focus {
            color: @link-color;
            background: none;
          }
        }

        &.active {
          > a {
            background: none;
            &:hover, &:active, &:focus {
              color: @link-color;
              background: none;
            }

          }
        }
      }
    }

    .nav-pills {
      > li {
        min-height: 35px;
        margin: 0;
        float: left;
        width: 50%;

        a {
          color: #727a8a;
          font-size: 13px;
          letter-spacing: 1px;
        }

        &.active a {
          color: @white;
        }
      }
    }
  }

  // Acymailing

  .acymailing_module {
    height: 102px;

    .acymailing_introtext {
      float: left;
      font-size: 11px;
      letter-spacing: 3px;
      margin-right: 20px !important;
      text-transform: uppercase;
    }

    .form-control {
      border-color: @white;
    }

    .form-group {
      float: left;
    }

    .acymailing_introtext {
      margin-top: 18px!important;
    }

    .subbutton {
      color: @white;
      letter-spacing: 1px;
      padding: 0 30px;
      height: 50px;
      line-height: 50px;
      font-size: 11px;
      text-transform: uppercase;
    }

    .form-control[name='user[email]'] {
      @media screen and (min-width: @screen-lg) {
        height: 50px;
        width: 240px !important;
      }
    }

    
  }
  // Mod Connect 

  .mod-connect {
    .module-title,
    .module-ct {
      @media screen and (min-width: @screen-md) {
        display: inline-block;
        vertical-align: middle;
        margin: 0;
      }
    }

    .module-title {
      @media screen and (min-width: @screen-md) {
        margin-right: 10px;
      }
    }
  }

  // Mod Quicklink

  .mod-quicklinks {

    @media screen and (min-width: @screen-md) {
      padding-left: @grid-gutter-width*2;
      padding-right: @grid-gutter-width*2;
      border-left: 1px solid;
      border-right: 1px solid;
      border-color: lighten(@t3-footer-background, 10%);
    }
  }

}

// Copyright
// ---------
.t3-copyright {
  background: #0b612d;
  border-top: 1px solid lighten(@t3-footer-background, 10%);
  font-size: 11px;
  text-transform: uppercase;
  padding: (@t3-global-padding * 1.5) 0;
  text-align: center;
  .clearfix();
  small {
    margin-bottom: 5px;
  }
}

.copyright {

}

.poweredby {
  .clearfix();

  // Align right on Tablet / Desktop
  @media screen and (min-width: @screen-sm-max) {
    text-align: right;
  }

  .t3-logo,
  .t3-logo-small {
    opacity: .8;
    display: inline-block;
  }
}

// Page Event 
// ----------------------

.events {
  .event-item {
    margin-bottom: @t3-global-margin;

    .event-ct {
      position: relative;
    }

    &.event_outoffdate {
      .event-ct {
        &:before {
          background: url('../images/ico/badge-end-ltr.png') no-repeat top right;
          width: 68px;
          height: 68px;
          position: absolute;
          bottom: -3px;
          right: -3px;
          z-index: 2;
          content: "";
        }
      }
    }

    &.event_current {
      .event-ct {
        &:before {
          background: url('../images/ico/badge-current-ltr.png') no-repeat top right;
          width: 64px;
          height: 64px;
          position: absolute;
          top: -8px;
          right: -8px;
          z-index: 2;
          content: "";
        }
      }
    }

    .event-item-main {
      .event-intro {
        display: none;
      }
    }

    .event-info {
      ul {
        li {
          display: inline-block;
          border: 0;
          padding: 0 10px;
          text-transform: uppercase;
          color: @gray-light;
          font-size: @font-size-base;
          line-height: 1;
          font-size: @t3-font-size-small;

          .fa {
            display: none;
          }

          &:first-child {
            padding-left: 0;
            border-right: 1px solid @t3-border-color;
          }

          &:last-child {
            border-right: 0;
            padding-left: 0;
            display: block;
          }
        }
      }
    }
    .post-title {
      text-transform: uppercase;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
      font-size: @font-size-h4;

      a {
        color: @gray-darker;

        &:hover,
        &:focus {
          color: @link-hover-color;
        }
      }
    }
  }

  .event-featured {
    padding-bottom: @grid-gutter-width;
    margin-bottom: @grid-gutter-width*2;
    border-bottom: 1px solid @t3-border-color;
  }
}

// Page Event Detail
// -----------------

.event-detail {
  @media screen and (max-width: @screen-xs-max) {
    margin-left: @grid-gutter-width/2;
    margin-right: @grid-gutter-width/2;
  }

  img {
    width: 100%;
  }
  .event-item-media {
    position: relative;
    
    .item-image {
      @media screen and (max-width: @screen-xs-max) {
        margin-left: -@grid-gutter-width/2;
        margin-right: -@grid-gutter-width/2;
      }
      img {
        width: 100%;
        height: auto;
      }
    }
    .event-countdown {
      @media screen and (min-width: @screen-md) {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
      }

    }

    .sch-countdown {

      &.event-detail-outdate {
        background: @gray-lighter;
        color: @gray-light;
        font-size: @font-size-h3;
        font-weight: bold;
      }

      &.event-detail-current {
        color: @white;
        font-size: @font-size-h3;
        font-weight: bold;

      }
    }
    
  }

  address {
    font-size: @t3-font-size-small;
    color: @gray;
    text-transform: uppercase;
  }


  .mod-title {
    @media screen and (min-width: @screen-md) {
      width: 50%;
      font-size: @font-size-base;

      .first-word {
        font-size: @t3-font-size-small;
        color: @white;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    }
  }

  .event-item-main {
    .post-title {
      text-transform: uppercase;
      a {
        color: @gray-darker;

      }
    }
  }

  .event-aside {
    margin-top: @grid-gutter-width;
    padding: @t3-global-padding;
    background: @gray-lightest;
  }

  .event-speakers,
  .event-sponsors {
    .module-ct {
      .clearfix();
      a {

        @media screen and (min-width: @screen-md) {
          width: 33%;
          display: block;
          float: left;
          padding: 3px;
        }

        @media screen and (max-width: @screen-xs-max) {
          width: 50%;
          display: block;
          float: left;
          padding: 3px;
        }

        img {
          width: 100%;
          margin: 0;
          float: none;
          .transition(all .2s linear);
          -webkit-backface-visibility: hidden;
        }

        &:hover,
        &:focus {
          img {
            .opacity(.8);
          }
        }
      }
    }
  }
}

// Event List
// --------------------

.event-list {
  .event-item {
    .item-image {
      overflow: hidden;
      img {
        .transition(all .2s ease-in .1s);
      }

      .event-item-main {
        a {
          &:hover,
          &:focus {
            color: @link-color;
          }
        }
      }
    }
    &:hover,
    &:focus {
      .item-image {
        img {
          transform:scale(1.1);
        }
      }
    }
  }
}
.t3-bottom-content-full {
  border-top: 2px solid @t3-border-color;
  margin-top: 40px;
  padding-top: 40px;
}

.Priority {
  h3 {
    color: @black;
    font-size: 21px;
    margin-bottom: 40px;
    margin-top: 0;
  }

  ul {
    padding: 0;
    list-style: none;
    margin: 0;
    .clearfix();

    a {
      color: #262c38;
    }

    + ul {
      border-top: 1px solid @t3-border-color;

      @media (max-width: @screen-xs-max) {
        border: 0;
      }
    }

    li {
      padding: 20px;
      float: left;
      font-size: 12px;
      text-align: center;
      min-height: 221px;
      width: 25%;

      @media (max-width: @screen-xs-max) {
        width: 50%;
      }

      @media (max-width: @screen-xs) {
        width: 100%;
      }

      + li {
        border-left: 1px solid @t3-border-color;

        @media (max-width: @screen-xs-max) {
          border: 0;
        }
      }

      span {
        display: block;
        margin-bottom: 20px;
      }
    }
  }
}

.custom-report {
  margin-left: -@grid-gutter-width / 2;
  position: relative;

  .item-image {
    margin-bottom: 15px;
  }


  .owl-wrapper-outer {
    .owl-item {
      padding: 0 @grid-gutter-width / 2;

      .item-title {
        font-size: 16px;
      }

      .intro {
        color: #666;
        font-size: 12px;

        strong {
          font-weight: 400;
        }
      }
    }
  }

  .owl-theme .owl-controls .owl-buttons {
    bottom: 100%;
    margin-bottom: 10px;
    position: absolute;
    right: 0;

    > div {
      background: @brand-primary;
      color: @white;
      border-radius: 3px;
      .opacity(1);
    }
  }
}

.resilience {
  > h3 {
    color: @black;
    margin-top: 8px;
    margin-bottom: 15px;
    font-size: 18px;
  }

  img {
    float: left;
  }

  ul {
    padding: 0;
    padding-left: 5px;
    margin: 0;
    list-style: none;
    overflow: hidden;
    text-align: left;
    font-size: 12px;
    color: #666666;

    h3 {
      font-size: 16px;
      color: #000;
    }
  }
}

.mod_events_latest_table {
  border: 0;

  .intro-image {
    position: relative;
    img {
      width: 100%;
    }

    .title {
      background: #f69c0b;
      color: @white;
      padding: 5px 10px;
      line-height: 1;
      position: absolute;
      top: 10px;
      left: 10px;
    }
  }

  br {
    display: none;
  }

  .info {
    background: #efefef;
    padding: 20px;
    padding-top: 5px;

    > div {
      color: #000;
      padding-top: 15px;

      .fa {
        color: #999999;
        margin-right: 7px;
      }
    }
  }
}

.koowa .mod_docman.mod_docman--documents .mod_docman_icons {
  padding: 0;

  li {
    margin-bottom: 19px!important;
    padding: 6px;
    font-size: 14px;

    a {
      color: #34383d;
    }

    .label {
      font-size: 8px;
      vertical-align: top;    
    } 

    + li {
      border-top: 1px solid #e8eef3;
    }
  }
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
}
.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.logo-footer {
  margin-bottom: 20px;
}

.fa-ul {
  > p {
    color: #727a8a;
  }

  .fa {
    font-size: 12px;
    width: 15px;
  }
}

.t3-module.module-brand {
  background: @brand-primary;
  color: @white;
  padding: 20px;
  padding-bottom: 120px;
  text-align: justify;
  position: relative;

  .carousel {
    position: static;
  }

  h3 {
    font-size: 20px;
  }
}

.article-content-main {
  .map-name {
    color: @brand-primary;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 20px;
  }

  img {
    margin-bottom: 30px;
  }

  #accordion {
    &.panel-group {
      .panel {
        border: 0;

        &:first-child {
          a {
            border-radius: 3px 3px 0 0;
          }
        }

        + .panel {
          margin-top: -1px;
        }
      }
    }
    .panel-heading {
      padding: 0;
    }

    .panel-body {
      border-left: 1px solid @t3-border-color;
      border-right: 1px solid @t3-border-color;
      border-bottom: 1px solid @t3-border-color;
      margin: 0 -1px;
    }

    .in .panel-body {
      background: #eee;
      border-color: #eee;
    }

    .panel-title {
      padding: 0;

      a {
        border: 1px solid @brand-primary;
        background: @brand-primary;
        color: @white;
        display: block;
        font-size: 16px;
        padding: 15px 20px;
        margin: 0 -1px;

        &:after {
          content: "\f068";
          font-family: FontAwesome;
          float: right;
        }

        &[aria-expanded="false"] {
          background: @white;
          border-color: @t3-border-color;
          color: @black;

          &:after {
            content: "\f067";
          }
        }
      }
    }
  }
}

#slide-image {
  .carousel-indicators {
    position: static;
    margin: 0;
    margin-top: 10px;
    text-align: center;
    width: 100%;

    li {
      background: #e5e5e5;
      border: 0;
      height: 13px;
      width: 13px;

      &.active {
        background: @brand-primary;
      }
    }
  }
}

.article-module {
  h3 {
    font-size: 17px;
  }
}

.custom-contact {
  background: @brand-primary;
  border-radius: 3px;
  color: @white;
  padding: 20px 10px;

  h4 {
    font-size: 12px;
  }

  .info-image {
    float: left;

    img {
      margin-bottom: 5px;
    }

    h4 {
      font-size: 12px;
      margin: 0;
    }
  }

  .contact-detail {
    overflow: hidden;
    padding-left: 10px;

    .fa {
      color: #f9a310;
      margin-right: 5px;
    }

    > p {
      position: relative;
      padding-left: 20px;

      a {
        color: @white;
        font-weight: 300;
      }

      .fa {
        position: absolute;
        left: 0;
        top: 0;
      }
    }
  }
}

.article-module {
  .koowa .mod_docman.mod_docman--documents .mod_docman_icons li {
    border: 0;
    padding: 0;
    margin-bottom: 10px!important;
    .clearfix();

    .koowa_header {
      padding-right: 15px;
      float: left;
      width: auto;

      a {
        color: #000;
        font-weight: bold;
      }
    }

    .module_document__info {
      color: #999999;
      position: absolute;
      right: 0;
      top: 0;
    }
  }

  .custom-nav {
    padding: 0;
    list-style: none;

    li {
      margin-bottom: 5px;

      a {
        font-size: 12px;
        color: #000;

        &:hover,&:focus,&:active {
          color: @brand-primary;
        }
      }
    }
  }
}