/**
 * This is the main application stylesheet. It should include or import all
 * stylesheets used throughout the application as this is the only stylesheet in
 * the Grunt configuration that is automatically processed.
 */


/**
 * First, we include the Twitter Bootstrap LESS files. Only the ones used in the
 * project should be imported as the rest are just wasting space.
 */

@import '../../vendor/bootstrap/less/bootstrap.less';


/**
 * This is our main variables file. We must include it last so we can overwrite any variable
 * definitions in our imported stylesheets.
 */

@import 'variables.less';


/**
 * Typography
 */

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto Regular'), local('Roboto-Regular'), url(fonts/Roboto-Regular.woff) format('woff');
}

code, pre, .pre {
  padding: 5px;
  margin: 10px 0;
  background-color: #EFEFEF;
  border: 1px solid #DADADA;
  border-radius: 3px;
}

code {
  padding: 0 3px;
}

pre {
  margin: 10px 0;
  padding: 5px;
}

.page-header {
  margin-top: 60px;

  &:first-child {
    margin-top: 20px;
  }
}

h2 {
  margin: 20px 0;
  color: #666;
}


/**
 * Navigation
 */

.navbar {
  margin-top: 20px;
  
  small {
    font-size: 60%;
  }
}


/**
 * Footer
 */

.footer {
  margin-top: 80px;

  .footer-inner {
    padding: 40px 0;
    border-top: 1px solid #DDD;
  }

  .social {
    float: right;
    margin: 0;
    list-style: none;

    li {
      float: left;
      margin-left: 20px;

      a, a:visited {
        color: @gray-light;
        text-decoration: none;
        font-size: 40px;
        .transition( 250ms ease-in-out );

        &:hover {
          color: @gray;
        }
      }
    }
  }
}

/**
 * New Styles created by Xavier Robert
 */

.width25 {
    width: 25%;
    min-width: 225px;
}
/* Risk colors */
    /*risk1*/
    .list-group-item-risk1 {
      color: #3c763d;
      background-color: #dff0d8;
    }
    a.list-group-item-risk1 {
      color: #3c763d;
    }
    a.list-group-item-risk1 .list-group-item-heading {
      color: inherit;
    }
    .progress-bar-risk1 {
      background-color: #5cb85c;
    }

    /*risk2*/
    .list-group-item-risk2 {
        color: #8a6d3b;
        background-color: #fcf8e3;
    }
    a.list-group-item-risk2 {
        color: #8a6d3b;
    }
    a.list-group-item-risk2 .list-group-item-heading {
        color: inherit;
    }
    .progress-bar-risk2 {
      background-color: #f0ad4e;
    }

    /*risk3*/
    .list-group-item-risk3 {
      color: #9a593f;
      background-color: #f7ebe1;
    }
    a.list-group-item-risk3 {
      color: #9a593f;
    }
    a.list-group-item-risk3 .list-group-item-heading {
      color: inherit;
    }
    .progress-bar-risk3 {
      background-color: #e5804f;
    }

    /*risk4*/
    .list-group-item-risk4 {
        color: #a94442;
        background-color: #f2dede;
      }
      a.list-group-item-risk4 {
        color: #a94442;
      }
      a.list-group-item-risk4 .list-group-item-heading {
        color: inherit;
      }
    .progress-bar-risk4 {
      background-color: #d9534f;
    }

/**
 * Now that all app-wide styles have been applied, we can load the styles for
 * all the submodules and components we are using. 
 *
 * TODO: In a later version of this boilerplate, I'd like to automate this.
 */

@import '../app/home/home.less';
@import '../app/footer/footer.less';
@import '../app/header/header.less';


