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

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

.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: 100px;
}

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

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

.sci-logo {
    background: url(../image/sci_logo.png) 50% no-repeat;
    background-size:contain;
    position:absolute;
    left:80px;
    top:0px;
    height:100px;
    width:85px;
    z-index:3;
    display:block;
}

.is-compact .sci-logo {
    background: none;
    display: none;

}

.rti-logo {
    background: url(../image/rti_logo.png) 50% no-repeat;
    background-size:contain;
    position:absolute;
    right:80px;
    top:10px;
    height:80px;
    width:45px;
    z-index:3;
    display:block;
}

.is-compact .rti-logo {
    background: none;
    display: none;
}

.is-compact .portfolio-logo {
    height: 70px;
    width: 350px;
    margin-top: 10px;
}

.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: 1200px;
    width: 100%;
}

.portfolio-navigation-row .mdl-navigation__link {
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    line-height: 42px;
    color:rgb(66,66,66);
}

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


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


.demo-main {
}

.demo-container {
    max-width: 1600px;
    width: calc(100% - 16px);
    margin: 0 auto;
}

.demo-content {
    border-radius: 2px;
    padding: 80px 56px;
    margin-bottom: 80px;
}





/*start loader*/
#cover-spin {
    position:fixed;
    width:100%;
    left:0;right:0;top:0;bottom:0;
    background-color: rgba(255,255,255,0.7);
    z-index:9999;
    display:block;
}

@-webkit-keyframes spin {
    from {-webkit-transform:rotate(0deg);}
    to {-webkit-transform:rotate(360deg);}
}

@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}

#cover-spin::after {
    content:'';
    display:block;
    position:absolute;
    left:48%;top:40%;
    width:40px;height:40px;
    border-style:solid;
    border-color:#e53935;
    border-top-color:transparent;
    border-width: 4px;
    border-radius:50%;
    -webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;
}
/*end loader*/

.help-block{
    color: #00acc1;
}

.error-block{
    color: #dd0000;
}


body {
    background-image: url("../image/header-bg2.jpg");
}

.md-fab-bottom-right{
    position: fixed !important;
}


@media (max-width:629px) {
    .rti-logo, .sci-logo {
        display: none;
    }
    .portfolio-logo {
        background: url(../image/banner.png) 50% no-repeat;
        background-size: cover;
        height: 63px;
        width: 350px;
        margin: 10px auto 10px;
    }
}
