/**
 * 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%;
  }
}

/* Comments Form */
.comments-area{
	border: 1px solid #c2c2c2;
    background-color: #fff;
    -moz-box-shadow: 0 1px 4px rgba(0,0,0,0.25);
    -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.25);
    box-shadow: 0 1px 4px rgba(0,0,0,0.25);
    margin-bottom: 16px;
    margin-bottom: 1rem;
    padding-bottom: 16px;
    padding-bottom: 1rem;
	}
.comments-header{
	border-bottom: 1px solid #c2c2c2;
    margin-bottom: 16px;
    margin-bottom: 1rem;
    padding-top: 11px;
    padding-top: .7rem;
    padding-right: 11px;
    padding-right: .7rem;
    padding-bottom: 11px;
    padding-bottom: .7rem;
    padding-left: 11px;
    padding-left: .7rem;
	}
	.comment-list{
		padding-right: 11px;
    padding-right: .7rem;
    padding-left: 11px;
    padding-left: .7rem;
	list-style: none;
	margin-top: 10px;
    margin-top: 0.625rem;
    margin-bottom: 10px;
    margin-bottom: 0.625rem;
	}
	.comment-list>li:first-child {
    border-top: none;
    padding-top: none;
}
.comment-list li {
    overflow: hidden;
    padding-top: .84375em;
    padding-bottom: .84375em;
}
.comment-list>li {
    border-top: 1px dashed #c1c1c1;
    padding: 0;
    margin: 16px 0;
    margin: 1rem 0;
}
.comment-list .children .comment-body {
    border-left: 1px solid #dbdbdb;
    margin-top: 1.18125em;
    margin-left: 14px;
    margin-left: .85rem;
    padding-left: 11px;
    padding-left: .7rem;
}
.children .comment-body {
    border-left: 1px solid #d8d8d8;
    padding-left: 16px;
    padding-left: 1rem;
    margin-left: -24px;
    margin-left: -1.5rem;
}
.comments-wrapper {
    padding-right: 11px;
    padding-right: .7rem;
    padding-left: 11px;
    padding-left: .7rem;
}
#respond {
    border-top: 1px solid #adadad;
    padding-top: .84375em;
    padding-top: 16px;
    padding-top: 1rem;
    padding-left: 16px;
    padding-left: 1rem;
    padding-right: 16px;
    padding-right: 1rem;
    margin-top: 16px;
    margin-top: 1rem;
    margin-left: 11px;
    margin-left: .7rem;
    margin-right: 11px;
    margin-right: .7rem;
}
#respond #submit {
    display: inline-block;
    border: 1px solid #105f00;
    padding: .81em 1.25em .63em;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    vertical-align: middle;
    background-color: #178800;
    color: #fff !important;
    cursor: pointer;
    font-family: "GandhiSansBold",Arial;
    outline: none;
    -webkit-appearance: none;
    -moz-background-clip: padding;
    -o-background-clip: padding-box;
    -webkit-background-clip: padding;
    background-clip: padding-box;
    font-size: 15px;
    font-size: .9375rem;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiP…B3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2dyYWQpIiAvPjwvc3ZnPiA=);
    background-size: 100%;
    background-image: -webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, #168100),color-stop(45.12%, #157a00),color-stop(49.19%, #157e00),color-stop(100%, #178800));
    background-image: -moz-linear-gradient(bottom, #168100 0%,#157a00 45.12%,#157e00 49.19%,#178800 100%);
    background-image: -webkit-linear-gradient(bottom, #168100 0%,#157a00 45.12%,#157e00 49.19%,#178800 100%);
    background-image: linear-gradient(to top, #168100 0%,#157a00 45.12%,#157e00 49.19%,#178800 100%);
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -moz-box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3),0 1px 3px rgba(0,0,0,0.06);
    -webkit-box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3), 0 1px 3px rgba(0,0,0,0.06);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3), 0 1px 3px rgba(0,0,0,0.06);
    text-shadow: rgba(0,0,0,0.7) 0 -1px 0;
    border: 1px solid #178700 !important;
    -moz-border-radius: .66667;
    -webkit-border-radius: .66667;
    border-radius: .66667;
    -moz-background-clip: padding;
    -o-background-clip: padding-box;
    -webkit-background-clip: padding;
    background-clip: padding-box;
    background-color: #178700;
    -moz-box-shadow: 0 2px 2px rgba(0,0,0,0.06),inset 0 0 0 1px rgba(255,255,255,0.45);
    -webkit-box-shadow: 0 2px 2px rgba(0,0,0,0.06), inset 0 0 0 1px rgba(255,255,255,0.45);
    box-shadow: 0 2px 2px rgba(0,0,0,0.06), inset 0 0 0 1px rgba(255,255,255,0.45);
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiP…B3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2dyYWQpIiAvPjwvc3ZnPiA=);
    background-size: 100%;
    background-image: -webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, #158100),color-stop(50.76%, #178700),color-stop(54.25%, #238d0d),color-stop(100%, #238d0d));
    background-image: -moz-linear-gradient(bottom, #158100 0%,#178700 50.76%,#238d0d 54.25%,#238d0d 100%);
    background-image: -webkit-linear-gradient(bottom, #158100 0%,#178700 50.76%,#238d0d 54.25%,#238d0d 100%);
    background-image: linear-gradient(to top, #158100 0%,#178700 50.76%,#238d0d 54.25%,#238d0d 100%);
    text-shadow: 0 -1px 0 rgba(0,0,0,0.4);
}

.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;
}

.page-footer__credits .aus-tech-network {
	max-width: inherit !important;
	display: flex;
	justify-content: center;
	align-content: center;
}

a.logo-item {
	flex: 1;
	padding: 20px;
	border-bottom: none;
	align-items: center;
    justify-content: center;
    display: flex;
}

@media only screen and (max-width:800px) {
	.aus-tech-network,
	.indigenous-welcome {
		width: 100% !important;
	}
}