.wrapper{
    &:after{
        display: table;
        clear: both;
        content: " ";
    }

    &.wrapper-full-page{
        height: auto;
        min-height: 100vh;

        .footer{
          position: absolute;
          bottom: 0;
          width: 100%;

          a{
            color: $white-color;
          }
        }
    }
}

.login-page .footer .copyright,
.login-page .footer a{
  color: $white-color;
}


.page-header{

    &:after,
    &:before{
        display: block;
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 2;
    }

    &:before{
        background-color: rgba(0,0,0,.5);
    }

    &[filter-color="purple"],
    &[filter-color="primary"]{
        &:after{
            @include linear-gradient(rgba($purple-100,.56), rgba($purple-300,.95));

        }
        @include lock-page-input-color($brand-primary);

    }
    &[filter-color="blue"],
    &[filter-color="info"]{
        &:after{
            @include linear-gradient(rgba($cyan-100,.56), rgba($cyan-300,.95));
        }
        @include lock-page-input-color($brand-info);
    }
    &[filter-color="green"],
    &[filter-color="success"]{
        &:after{
            @include linear-gradient(rgba($green-200,.56), rgba($green-400,.95));
        }
        @include lock-page-input-color($brand-success);
    }
    &[filter-color="orange"],
    &[filter-color="warning"]{
        &:after{
            @include linear-gradient(rgba($orange-100,.56), rgba($orange-300,.95));
        }
        @include lock-page-input-color($brand-warning);
    }

    &[filter-color="red"],
    &[filter-color="danger"]{
        &:after{
            @include linear-gradient(rgba($red-200,.56), rgba($red-400,.95));
        }
        @include lock-page-input-color($brand-danger);
    }
    &[filter-color="rose"]{
        &:after{
            @include linear-gradient(rgba($pink-100,.56), rgba($pink-300,.95));
        }
        @include lock-page-input-color($brand-rose);
    }

    &[data-image]:after{
        opacity: .8;
    }

    > .content,
    > .footer{
        position: relative;
        z-index: 4;
    }

    > .content{
        min-height: calc(100vh - 80px);
    }

    .full-page-background{
        position: absolute;
        z-index: 1;
        height: 100%;
        width: 100%;
        display: block;
        top: 0;
        left: 0;
        background-size: cover;
        background-position: center center;

    }

    .footer nav > ul a:not(.btn),
    .footer,
    .footer .copyright a{
        color: $white-color;
    }

}

.clear-filter{
    &:before{
        display: none;
    }
}

.login-page,
.lock-page{
    > .content{
        padding-top: 18vh;
    }
}

.login-page{
  .md-card-login {
    max-width: 340px;
    margin: 0 auto;
    @include transform-translate-y(0);
    @extend .animation-transition-general;

    &.md-card-hidden{
      opacity: 0;
      @include transform-translate-y(-60px);
    }

    .md-card-header {
      margin-top: -40px;
      margin-bottom: 20px;
    }

    .social-line .btn {
      margin-left: 5px;
      margin-right: 5px;
    }

    &.md-card-hidden{
        opacity: 0;
        @include transform-translate-y(-60px);
    }
  }

  &.page-header > .container {
    padding: 0;
  }
}

.lock-page {

    .md-card-profile {
        width: 240px;
        margin: 60px auto 0;
        color: #FFFFFF;
        left: 0;
        right: 0;
        display: block;

        @include transform-translate-y(0);
        @extend .animation-transition-general;

        &.md-card-hidden {
            opacity: 0;
            @include transform-translate-y(-60px);
        }

        .md-field{
          margin-top: 15px;
          margin-bottom: 10px;
        }

        .md-card-header{
          margin: 0;
        }

        .md-card-avatar {
            max-width: 90px;
            max-height: 90px;
            margin-top: -45px;
        }

        .md-card-actions {
            border:none;
            padding-top: 0;
            padding: .9375rem 1.875rem;
            margin: 0;
            justify-content: center;
        }

    }
}


.register-page{
    .md-card-signup{
        border-radius: $border-radius-base * 2;
        @include shadow-16dp();
        margin-bottom: 100px;
        padding: 40px 0px;
        margin-top: 15vh;
        max-width: 920px;
        margin-left: auto;
        margin-right: auto;

        .info{
            padding: 0px;

            .info-title{
                color: #3C4858;
                margin: 30px 0 15px;
            }
        }

        .md-checkbox{
          margin-top: 20px;
          margin-bottom: 0;

          .checkbox-material{
              padding-right: 20px;
          }
          a {
            color: $brand-primary;
            }
        }

        .md-card-content{
          .button-container{
            text-align: center;
          }
        }


        .info-horizontal{

            .icon{
                float: left;
                margin-top: 24px;
                margin-right: 10px;

                i{
                    font-size: 2.6em !important;
                    width: auto;
                    height: auto;
                    color: inherit;
                }

                &.icon-primary{
                    color: $brand-primary;
                }
                &.icon-info{
                    color: $brand-info;
                }
                &.icon-success{
                    color: $brand-success;
                }
                &.icon-warning{
                    color: $brand-warning;
                }
                &.icon-danger{
                    color: $brand-danger;
                }
                &.icon-rose{
                    color: $brand-rose;
                }
            }
        }
    }

    .container{
        position: relative;
        z-index: 3;
    }

    .form-check {
        label {
            margin-left: 27px;
        }
        .form-check-label{
            padding-left: 34px;
        }

    }

}

.pricing-page{
  padding: 120px 0;

    .title{
        color: $white-color;
        margin-top: 5vh;
    }

    .section-space{
        display: block;
        height: 70px;
    }

    .card-plain{
        .icon i,
        .card-title{
            color: $white-color;
        }
    }

    .description{
        color: $white-color;
    }
    &.full-page:before {
        background-color: rgba(0, 0, 0, 0.65);
    }
}

.off-canvas-sidebar {
  .navbar-toggler .navbar-toggler-icon{
    background-color: $white-color !important;
  }

  .navbar-collapse {
    .nav {
        > li > a,
        > li > a:hover{
            color: $white-color;
            margin: 0 15px;
        }

        > li > a:focus,
        > li > a:hover{
            background: rgba(200, 200, 200, 0.2);
        }
    }
    &:after {
      background-color: #282828;
    }
  }
}

.offline-doc {
  .navbar .navbar-nav {
    .nav-item .nav-link {
      color: $white-color;
    }
  }
}

@media screen and (max-width: 991px){
  .off-canvas-sidebar {
    .page-header {
      > .container {
        padding-top: 70px;
        padding-bottom: 200px;
      }
    }
  }
}

.social-line{
    padding: $padding-general-x 0;
}
