.portfolio-header {
  position: relative;
  background-image: url(images/header-bg.jpg);
}

.portfolio-header .mdl-layout__header-row {
  padding: 0;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.material-icons {
    margin-right: 0.5em;
    vertical-align: middle;
}

.mdl-spinner {
  width: 64px !important;
  height: 64px !important;
  position: fixed;
   z-index: 999;
   height: 2em;
   width: 2em;
   overflow: visible;
   margin: auto;
   top: 0;
   left: 0;
   bottom: 0;
   right: 0;
 }

.mdl-spinner__circle {
  border-width: 6px !important;
}

a {
  color: #008DD2;
  text-decoration: none;
}

a:hover {
  color: #00344d;
    text-decoration: underline;
/*  color: #008DD2;*/
/*  background: #e6f7ff;*/
/*    height: 100%;*/
}

/* .mdl-navigation__link:hover {
  background: #00344d;
    border-bottom: 2em;
    border-bottom-color: rgb(179, 204, 204);
} */
.mdl-card__title-text {
    color: #00344d;
    font-weight: 500;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

.mdl-card__title h2 {
/*    color: #e6f7ff;*/
    color: #00344d;
    margin-bottom: 1em;
    font-weight: 500;
}


.mdl-card__subtitle-text.a {
      color: #00344d;
/*      color: rgb(179, 204, 204);*/
  text-decoration: none;
}

.mdl-chip {
    background-color: #eee;
    color: #607d8b;
    height: 22px;
    line-height: 22px;
}

.section--center.a {
    text-decoration: none
}
.section--center.a:hover {
    text-decoration: none
}
.mdl-card__subtitle-text.a:hover {
    color: #e6f7ff;
/*    color: rgb(96,125,139);*/
  text-decoration: underline;
}

.mdl-layout__header-row .mdl-navigation__link a {
    color: #008DD2;
}

.mdl-layout__header-row .mdl-navigation__link a:hover {
    color: #00344d;
    background: rgb(96,125,139);
}


.mdl-button--accent.mdl-button--accent{
  color:rgb(96,125,139);
}

.mdl-card__subtitle-text {
  color: rgb(179, 204, 204);
}

.mdl-layout__title {
  font-size: 14px;
  text-align: center;
  font-weight: 300;
}

.is-compact .mdl-layout__title span {
  display: none;
}

.portfolio-logo-row {
  min-height: 200px;
}

.is-compact .portfolio-logo-row {
  min-height: auto;
}

.portfolio-logo {
  background: url(images/logo.png) 50% no-repeat;
  background-size: cover;
  height: 150px;
  width: 150px;
  margin: auto auto 10px;
}

.is-compact .portfolio-logo {
  height: 50px;
  width: 50px;
  margin-top: 7px;
}

.portfolio-navigation-row {
  background-color: rgba(0, 0, 0, 0.08);
  text-transform: uppercase;
  height: 45px;
}

.portfolio-navigation-row  .mdl-navigation {
  text-align: center;
  /* max-width: 900px; */
  width: 100%;
}

.portfolio-navigation-row .mdl-navigation__link {
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  line-height: 42px;
}

.portfolio-header .mdl-layout__drawer-button {
    background-color: rgba(197, 197, 197, 0.44);
}

.portfolio-navigation-row .is-active {
  position: relative;
  font-weight: bold;
}

.portfolio-navigation-row .is-active:after {
  content: "";
  width: 70%;
  height: 2px;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: rgb(255,64,129);
  left: 15%;
}

.portfolio-card .mdl-card__title {
  padding-bottom: 0;
}

.portfolio-blog-card-full-bg {
  background: url(images/example-blog03.jpg) center / cover;
}

.portfolio-blog-card-event-bg {
  background: url(images/example-blog05.jpg) center / cover;
}

.portfolio-blog-card-strip-bg {
  background: url(images/example-blog06.jpg) center / cover;
}

.portfolio-blog-card-compact .mdl-card__title {
  padding-bottom: 0;
}

.portfolio-blog-card-bg > .mdl-card__actions {
  height: 52px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.2);
}


img.article-image {
     width: 100%;
     height: auto;
}

img.article-logo {
/*  background: rgb(102, 153, 153);*/
  width: 100%;
  height: auto;
    padding-bottom: 10px;
    padding-top: 10px;
    padding-top: 10px;
    margin-right: 10px;
}

.logo {
  background-color: white;
    width:120px;
    text-align: center;
}

.portfolio-card .mdl-card__title h2 {
  text-align: center;
}
.logo2 {
  background-color: white;
    margin: auto;
    height:200px;
}

.logo2 img {
  max-width: 400px;
    max-height: 200px;
}
.portfolio-max-width {
  max-width: 900px;
  margin: auto;
}

.portfolio-copy {
  max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.mdl-data-table  {
border: 0px;
    border-bottom: 1px solid rgba(0,0,0,.12);
    padding-bottom: 0px;
    padding-top: 0px;
}
.mdl-data-table th {
    height: auto;
    font-size: 16px;
    padding-right: 0px;
    padding-top: 10px;
    padding-bottom: 0px;
}
.mdl-data-table th:last-of-type {
    padding-right: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
}
.mdl-data-table th:first-of-type {
    padding-left: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
}

.mdl-card-header {
    min-height: 0px;

}

.no-padding {
  padding: 0;
}

.no-left-padding{
  padding-left: 0;
}

.no-bottom-padding {
  padding-bottom: 0;
}

.padding-top {
  padding: 10px 0 0;
}

.portfolio-share-btn {
  position: relative;
  float: right;
  top: -4px;
}


/*
.mdl-card__actions.mdl-card--border {
    bottom: 0px;
    position: absolute;
}
*/

.demo-card-event > .mdl-card__actions {
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    box-sizing: border-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.portfolio-contact .mdl-textfield {
  width: 100%;
}

.portfolio-contact form {
  max-width: 550px;
  margin: auto;
}

/* footer {
  background-image: url(../images/footer.png);
    background-repeat: repeat
 background-size: cover;
} */



/* from file */

.demo-layout-waterfall .mdl-layout__header-row .mdl-navigation__link:last-of-type  {
  padding-right: 0;
}

.mdl-spinner{
  margin: auto;
}

#user-pic {
  display: inline-block;
  background-image: url('/images/profile_placeholder.png');
  background-repeat: no-repeat;
  width: 40px;
  height: 40px;
  background-size: 40px;
  border-radius: 20px;
}


.mdl-card {
  min-height: 200px;
  /* float: left; */
  margin: 1rem;
  /* position: relative; */

  margin-left: auto;
  margin-right: auto;
  /* background: linear-gradient(white, #f9f9f9); */
  justify-content: space-between;
  /* padding: 10px; */
  /* display: flex;
  flex-direction: row; */
  /* top: 22px;
  width: 100%;
  right: 0; */
  /* margin-top: 10px; */
  /* justify-content: flex-end; */
  /* margin-bottom: 10px; */
}
/* .mdl-card:hover {
  box-shadow: 0 1px 1px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12), 0 5px 5px -3px rgba(0, 0, 0, .2);
} */

/* .demo-card-wide.mdl-card {
  width: 512px;
} */
.demo-card-wide > .mdl-card__title {
  color: #fff;
  height: 250px;
  background: url('images/about-header.jpg') center / cover;
}
.demo-card-wide > .mdl-card__menu {
  color: #fff;
}
.mdl-card:hover {
  box-shadow: 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12), 0 5px 5px -3px rgba(0, 0, 0, .2);
}

.mdl-card-summary .mdl-card__supporting-text{
  height: 350px;
  /* margin: 1rem; */
}
.mdl-card-summary .mdl-card__media{
  height: 150px;
  background-color: white;
    margin: auto;
    height:200px;}
}

.mdl-card-summary .mdl-card__media img {
max-width: 400px;
  max-height: 200px;
}

.demo-card-square.mdl-card {
    width: 320px;
    height: 320px;
    float: left;
    margin: 1rem;
    position: relative;
  }

  .demo-card-square.mdl-card:hover {
    box-shadow: 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12), 0 5px 5px -3px rgba(0, 0, 0, .2);
  }

  @media (max-width: 479px)
  .mdl-cell {
      margin: 8px;
      width: calc(100% - 5px);
  }

@media screen and (max-width: 610px) {
  /* header {
    height: 80px;
    padding-bottom: 80px !important;
  } */

}
.mdl-textfield__label:after {
  background-color: #0288D1;
}
/* .mdl-textfield--floating-label.is-focused .mdl-textfield__label {
  color: #0288D1;
} */
.mdl-button .material-icons {
  bottom: 0px;
  /* margin-right: 5px; */
}
