/**
 * Theme Name:   Curtin Site 2015
 * Theme URI:    http: //www.curtin.edu.au/
 * Author:       Curtin University
 * Author URI:   http: //www.curtin.edu.au
 * Description:  WordPress Theme for Curtin Sites
 * Version:      1.1
 */

/* Add 'is-active' style if the site navigation has 'is-expanded' class */
.site-navi .site-navi__layout li.is-current a,
.site-navi .site-navi__layout li.is-current-ancestor a {
  border-bottom: 4px solid #f2b500;
}

/* Overwrite sub navigation styles */
.sub-navi__layout > li > ul > li.has-subnav.is-active > ul {
  background: #fff;
  display: block;
}

/* Post date */
.article-pubdate {
  font-weight: bold;
  font-size: 14px;
  font-size: 0.875rem
}

article.list__item:first-of-type {
  margin-top: 0;
  padding-top: 0;
}

/* Browse Happy styles */
.browsehappy {
  background: #95000c;
  color: #fff;
  padding: 10px;
  margin: 0;
  width: 100%;
}

.browsehappy a {
  color: #fff;
}

/* Stackable Table */
@media only screen and (max-width: 1023px) {
  .stackable {
    width: 100%;
  }

  .stackable thead {
    display: none;
  }

  .stackable tbody,
  .stackable tr,
  .stackable tr > th,
  .stackable tr > td {
    width: auto;
    display: block;
  }

  .stackable table thead th {
    border-bottom: none;
  }

  .stackable tr > th,
  .stackable tr > td {
    padding-top: 3px !important;
    padding-bottom: 3px !important;
  }

  .stackable tr > td:first-child {
    font-weight: bold;
  }

  .stackable tr > td:last-child,
  .stackable tr > th:last-child {
    padding-bottom: 15px !important;
  }

  .stackable tr > td:first-child,
  .stackable tr > th:first-child {
    padding-top: 15px !important;
  }
}


/* Expandable Table */
.js-table-expandable .button {
  display: none;
  padding: 5px 8px;
}

@media only screen and (min-width: 1024px) {

  .js-table-expandable {
    position: relative;
    margin-right: 0;
    transition: all .2s ease-in;
  }

  .js-table-expandable.is-expand {
    margin-right: -52% !important;
    z-index: 10 !important;
    transition: all .2s ease-in;
  }

  .js-table-expandable .button {
    display: block;
    float: right;
    margin-bottom: -3px;
  }

  .js-table-expandable .button i {
    font-size: 10px;
    margin-top: -2px;
  }

  .js-table-expandable.is-expand table {
    box-shadow: 0 2px 3px rgba(0,0,0,0.1);
  }

  .secondary-content {
    opacity: 1;
    transition: all .1s ease-in;
  }

  .secondary-content.is-overlay {
    opacity: 0.3;
    transition: all .2s ease-in;
  }
}


/* Contact Form 7 */
span.wpcf7-not-valid-tip {
  color: #95000c;
  font-size: 16px;
  display: block;
}

/* Error message */
.wpcf7-validation-errors {
  border: 1px solid #95000c !important;
  background-color: #faf6e8 !important;
  color: #95000c;
  margin: 16px 0 !important;
  padding: 16px !important;
}

.wpcf7-validation-errors::before {
  content: "\f118";
  margin-right: 10px;
  float: left;
  font-size: 23px;
  color: #95000c;
  font-family: "icon-curtin";
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  font-weight: normal;
  font-style: normal;
  speak: none;
  text-decoration: inherit;
  text-transform: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Successful message */
.wpcf7-mail-sent-ok {
  border: 1px solid #178800 !important;
  background-color: #faf6e8 !important;
  color: #262626;
  margin: 16px 0 !important;
  padding: 16px !important;
}

.wpcf7-mail-sent-ok::before {
  content: "\f10a";
  margin-right: 10px;
  float: left;
  font-size: 23px;
  color: #178800;
  font-family: "icon-curtin";
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  font-weight: normal;
  font-style: normal;
  speak: none;
  text-decoration: inherit;
  text-transform: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Stackable Table */
@media only screen and (min-width: 1024px) {
  .staff-list td {
    width: 50%;
  }
}

.aus-tech-network {
	max-width: 22.25em !important;
	display: flex;
	align-items: center;
}
.aus-tech-network a {
	flex: 1;
	margin: 0 0.5rem;
	border-bottom: 0 !important;
}