body{
    background-color: #F0F0F0;
}

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

.mdl-layout__container {
    position: absolute;
    width: 100%;
    height: 100%;
}

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

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

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

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

.mdl-layout__title {
    font-size: 16px;
    text-align: center;
    font-weight: 400;

}

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

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

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

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

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

.portfolio-navigation-row .is-active:after {
    content: "";
    width: 70%;
    height: 2px;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #5c2d91;
    left: 15%;
}

.portfolio-max-width {
    max-width: 900px;
    margin: auto;
}

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

.is-compact .portfolio-logo-row {
    min-height: auto;
    padding-top:20px;
}

.mdl-card__media{
    background-color: #5c2d91;
}

.mdl-button--accent.mdl-button--accent, a{
    text-decoration: none;
    color: #007acc;
}

li.widget{
    list-style-type: none;
    width: 100%;
}

li.widget .mdl-card{
    min-height: auto;
    padding: 10px;
}


.mdl-layout__title .mdl-layout__title{
    color: #000000 !important;
}

#mc_embed_signup .button {
    background-color: #71a747 !important;
    font-size: 19px !important;
    height: 40px !important;
    line-height: 40px !important;
}

#mc_embed_signup input.email{
    height: 40px !important;
    line-height: 40px !important;
}

.mdl-grid.portfolio-copy{
    padding: 8px 16px !important;
}

.related-links{
    margin-bottom: 50px;
}

.dnw-testimonial-image{
    text-align: center;
}

.mdl-grid.no-padding{
    padding: 0;
}

h2{
    font-size: 30px;
    margin: 12px 0 6px 0;
    line-height: 40px;
    padding-left: 6px;
}

.newsletter-latest{
    min-height: auto !important;
    padding: 8px 8px;
    flex-direction: row;
    box-sizing: border-box;
    margin:8px;
}

.frm_forms.frm_style_formidable-style.with_frm_style{
    width: 100%;
}

.mdl-grid .newsletter-latest:nth-child(2n + 1){
    background-color: #f4f4f4 !important;
}

.testimonial-text{
    font-size: 18px;
    line-height:22px;
    padding-bottom: 0;
} 

.is-compact .portfolio-logo img{
    display: none;
} 

.testimonials img{
    max-width: 100px;
}

.page-card{
    padding: 8px !important;
	min-height:300px;
}

.sub_count{
    width: 100%;
    font-size: 150%;
    text-align: center;
    padding-top: 5px;
}

.navigation.pagination h2{
    display: none;
}

.navigation.pagination{
    padding: 35px 15px;
    text-align: center;
    width: 100%;
}

.navigation.pagination a, .navigation.pagination .current{
    font-size: 120%;
    border: 1px solid #5c2d91;
    padding: 5px 10px;
}

.navigation.pagination a:hover{
    background-color: #c0b2d3;
}

.navigation.pagination .current{
    background-color: #5c2d91;
    color: #ffffff;
}

.navigation.pagination .prev, .navigation.pagination .next{
    border: none;
}

.article-image{
    width: 100%;
}

.fb-like-wrap{
    min-height: 56px;
}

.single-area .mdl-card__media{
    background-color: #ffffff;
    text-align: center;
}

.single-area .mdl-card__media .article-image{
    max-height: 400px;
    width: auto;
}

@media (min-width: 769px) {
	li.widget #mce-EMAIL{
		width: calc(100% - 150px) !important;
	}
}

@media (max-width: 924px) {
  .fb-like-wrap{
	overflow: hidden;
  }
}

@media (max-width: 768px) {
  li.widget #mce-EMAIL{
	width: 100% !important;
  }
}

#collect-chat-launcher-container .collect-chat-launcher{
background: #5c2d91 !important;
}