/*
    Angular-landing - Angular App Landing Page
    Author: Mahmudul Hasan Rafi - mhrafi.com
*/

/* 
# Globals
# Scroll Bar
# Home
  - Each section Component has it's own style file
  - Eg. app/views/home/header/header.component.scss
# Carousel
# Media Queries
*/

/*---- Globals -----*/
html {
    font-size: 16px;
}
html, body {
    width: 100%;
    height: 100%;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    min-height: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-weight: 400;
    font-size: .875rem;
    color: rgba(0,0,0,.87);
    line-height: 1.5;
    font-family: "Roboto",Helvetica Neue,sans-serif;
}
div {
    box-sizing: border-box;
}
.mat-card {
    font-size: .875rem;
}
img {
    max-width: 100%;
}
a, a:focus, a:hover {
    text-decoration: none;
}
a {
    color: inherit;
}
p {
    margin: 0 0 16px;
}
.h1, 
.h2, 
.h3, 
.h4, 
.h5, 
.h6, 
h1, 
h2, 
h3, 
h4, 
h5, 
h6 {
    margin-bottom: .5rem;
    font-weight: 400;
    line-height: 1.1;
    color: inherit;
}
.h1,
h1 {
    font-size: 2rem;
}
.h2, 
h2 {
    font-size: 1.75rem;
}
.h3, 
h3 {
    font-size: 1.5rem;
}
.h4, 
h4 {
    font-size: 1.25rem;
}
.h5, 
h5 {
    font-size: 1rem;
}
.h6, 
h6 {
    font-size: .875rem;
}
code {
    padding: 8px;
    background: rgba(0, 0, 0, .08);
}
/*---- Common -----*/
.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}
.bg-none {
    background: transparent !important;
}
.bg-white {
    background: #ffffff !important;
}
.m-0 {
    margin: 0 !important;
}
.m-1 {
    margin: 1rem !important;
}
.mt-1 {
    margin-top: 1rem !important;
}
.mt-0 {
    margin-top: 0 !important;
}
.mr-1 {
    margin-right: 1rem !important;
}
.mr-0 {
    margin-right: 0 !important;
}
.mb-1 {
    margin-bottom: 1rem !important;
}
.mb-0 {
    margin-bottom: 0 !important;
}
.ml-1 {
    margin-left: 1rem !important;
}
.ml-0 {
    margin-left: 0 !important;
}
.mb-05 {
    margin-bottom: .5rem !important;
}
.margin-333 {
    margin: .333333rem !important;
}
.pt-1 {
    padding-top: 1rem !important;
}
.pt-0 {
    padding-top: 0 !important;
}
.pr-1 {
    padding-right: 1rem !important;
}
.pr-0 {
    padding-right: 0 !important;
}
.pb-1 {
    padding-bottom: 1rem !important;
}
.pb-0 {
    padding-bottom: 0 !important;
}
.pl-1 {
    padding-left: 1rem !important;
}
.pl-0 {
    padding-left: 0 !important;
}
.p-0 {
    padding: 0 !important;
}
.p-1 {
    padding: 1rem !important;
}
.p-05 {
    padding: .5rem !important;
}

.height-100 {
    min-height: 100vh;
}
.fix {
    position: relative;
    overflow: hidden;
}
.mat-box-shadow {
    box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);
}

.light-gray {
    background: rgba(0, 0, 0, .024);
}
.light-mat-gray {
    background: rgba(0, 0, 0, .08);
}
.mat-blue {
    background: #247ba0;
    color: #FEFEFE;
}
.mat-red {
    background-color: #f44336!important;
    color: #fff!important;
}
.mat-indigo {
    background-color: #3f51b5 !important;
    color: #fff!important;
}
.mat-brown {
    background-color: #785548 !important;
    color: #FEFEFE;
}
.mat-teal {
    background-color: #009688!important;
    color: #fff!important;
}
.mat-purple {
    background-color: #9c27b0!important;
    color: hsla(0,0%,100%,.87)!important;
}

.fz-1 {
    font-size: 1rem !important;
}
.fz-2 {
    font-size: 2rem !important;
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
.font-light {
    font-weight: 300;
}
.font-normal {
    font-weight: normal !important;
}
.text-muted {
    color: rgba(0, 0, 0, .54) !important;
}
.text-muted-white {
    color: rgba(255, 255, 255, .54) !important;
}
.text-gray {
    color: rgba(0, 0, 0, .7) !important;
}
.text-sm {
    font-size: .813rem;
}
.list-item-active {
    border-left: 3px solid;
}
.material-icons.icon-sm {
    font-size: 18px !important;
    line-height: 18px !important;
    height: 18px;
    width: 18px;
}
.material-icons.icon-xs {
    font-size: 13px !important;
    line-height: 13px;
    height: 13px;
    width: 13px;
}

.mat-card.default {
    padding: 0;
}
.mat-card.default .mat-card-title {
    padding-top: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    line-height: 1;
    font-weight: 400;
}
.mat-card.default>:first-child {
    border-radius: 2px 2px 0 0;
}
.mat-card.default .mat-card-subtitle:first-child {
    padding-top: 1rem;
}
.mat-card.default .mat-card-subtitle {
    padding-left: 1rem;
    padding-right: 1rem;
    line-height: 1;
}
.mat-card.default .mat-card-content {
    padding: 1rem;
    margin-bottom: 0;
    position: relative;
}
.mat-card.default .mat-card-actions,
.mat-card.default .mat-card-actions:last-child {
    padding: .5rem;
    margin: 0;
}
.mat-card.default>:last-child {
    border-radius: 0 0 2px 2px;
}

.mat-card {
    margin: .333333rem;
    overflow: hidden;
}
.mat-card .mat-card-title .mat-divider, .mat-divider.full-width {
    margin-left: -24px;
    margin-right: -24px;
}

.mat-card.p-0 .mat-card-title .card-title-text {
    padding: 1rem 1.5rem;
}
.mat-card.p-0 .mat-card-title .card-title-text .card-control {
    height: 24px;
    width: 24px;
    line-height: 24px;
}
.mat-card.p-0 .mat-card-title .card-title-text .mat-card-subtitle {
    margin: 0;
}
.mat-card.p-0 .mat-card-title .mat-divider {
    margin-left: 0;
    margin-right: 0;
    border-top-color: rgba(0, 0, 0, 0.04);
}
.mat-card.p-0 .mat-card-image {
    margin: 0 0 1rem !important;
}
.mat-card.p-0 .mat-card-content {
    padding:  0 1.5rem 1.5rem;
}
.mat-button,
.mat-raised-button {
    font-weight: 400 !important;
}
[mat-lg-button] {
    padding: 0 32px !important;
    font-size: 18px;
    line-height: 56px !important;
}
.mat-icon-button[mat-sm-button] {
    height: 24px;
    width: 24px;
    line-height: 24px;
}

.mat-icon-button[mat-xs-button] {
    height: 20px;
    width: 20px;
    line-height: 20px;
}
.mat-icon-button[mat-xs-button] .mat-icon {
    font-size: 16px;
    line-height: 20px !important;
    height: 20px;
    width: 20px;
}
.mat-chip[mat-sm-chip] {
    padding: 4px 6px 4px 6px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    line-height: 12px !important;
    max-height: 20px;
    box-sizing: border-box;
}
.mat-icon-button.img-button img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}
.compact-list .mat-list-item {
    line-height: 1.1;
    transition: all .3s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.compact-list .mat-list-item:hover {
    background: rgba(0, 0, 0, .08);
    cursor: pointer;
}
.list-tasktype .tasktype-item {
    padding: 12px;
}
.list-tasktype .tasktype-item:hover {
    background: rgba(0, 0, 0, .08);
}
.list-tasktype .tasktype-item .tasktype-action {
    visibility: hidden;
}
.list-tasktype .tasktype-item:hover .tasktype-action {
    visibility: visible;
}
.doughnut-grid {
    border-radius: 2px;
    overflow: hidden;
}
.doughnut-grid .doughnut-grid-item {
    padding: 1rem;
}
.doughnut-grid .doughnut-grid-item p {
    margin: 0;
}
.doughnut-grid .doughnut-grid-item .chart {
    margin: 0 0 8px;
}


.toolbar-avatar {
    display: inline-block;
    position: relative;
    width: 40px;
    height: 40px;
    line-height: 24px;
}
.toolbar-avatar > img {
    width: 40px !important;
    border-radius: 50%;
}
.toolbar-avatar.md,
.toolbar-avatar.md > img {
    width: 48px !important;
    height: 48px;
}
.toolbar-avatar > .status-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    top: 25px;
    right: -2px;
    border: 2px solid #ffffff;
    background: #ccc;
}
.full-width {
    width: 100% !important;
}
.dnd-item {
    cursor: move;
    cursor: grab;
    cursor: -webkit-grab;
}
.icon-circle {
    color: rgb(255, 255, 255);
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.6rem;
    border-radius: 50%;
}
.mat-sidenav .mat-list-item:hover {
    background: rgba(0, 0, 0, .035) !important;
}


.text-small {
    font-size: .813rem;
}
.text-small .mat-icon {
    font-size: 1rem;
    vertical-align: sub;
    margin: 0 2px;
}
.mat-card-title {
    font-size: 1rem !important;
}
.icon-chip {
    font-size: 11px !important;
    padding: 4px 8px !important;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.icon-chip .mat-icon {
    font-size: 16px;
    height: 16px;
    width: 16px;
    margin-right: 4px;
}
.mat-chip:not(.mat-basic-chip) {
    display: inline-block;
    padding: 8px 12px 8px 12px;
    border-radius: 24px;
    font-size: 13px;
    line-height: 16px;
}
.ql-container .ql-editor {
    min-height: 200px;
}
.chart {
    display: block; 
    width: 100%;
}
.form-error-msg {
    color: #f44336;
    display: block;
    padding: 5px 0;
}
.accordion-handle {
    cursor: pointer;
}
.app-accordion {
    max-height: 200px;
    transition: max-height .3s ease;
}
.app-accordion.open {
    max-height: 1000px;
}
.app-accordion .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}
.app-accordion.open .accordion-content {
    max-height: 800px;
}
.app-accordion.open .hidden-on-open {
    display: none !important;
}
.app-accordion:not(.open) .show-on-open {
    display: none !important;
}

/*---- Loader ----*/
.app-loader,
.view-loader {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
}
.spinner {
    width: 40px;
    height: 40px;
    position: relative;
    margin: auto;
}
.double-bounce1, .double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
    animation: sk-bounce 2.0s infinite ease-in-out;
}
.double-bounce2 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}
.view-loader {
    display: block;
    padding-top: 160px;
    background: rgba(255, 255, 255, .3);
    z-index: 9999;
}
.view-loader * {
    margin: auto;
}

mat-list a[mat-list-item] .mat-list-item-content, 
mat-list mat-list-item .mat-list-item-content, 
mat-nav-list a[mat-list-item] .mat-list-item-content, 
mat-nav-list mat-list-item .mat-list-item-content,
[mat-menu-item],
.mat-option, 
body .mat-select-trigger {
    font-size: .875rem !important;
}

.app-error {
    text-align: center;
    width: 320px;
    max-width: 320px;
    margin: 0 auto;
}
.app-error .error-icon {
    height: 120px;
    width: 120px;
    font-size: 120px;
    float: left;
}
.app-error .error-text {
    float: right;
    width: 200px;
    max-width: 200px;
}
.app-error .error-title {
    font-size: 5rem;
    font-weight: 900;
    margin: 0;
}
.app-error .error-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
}
.app-error .error-actions {
    width: 100%;
    overflow: hidden;
    min-height: 54px;
    margin-top: 100px;
}

/*--- Scroll Bar ---*/
.ps__scrollbar-y-rail {
    z-index: 999;
}
.collapsed-menu .ps__scrollbar-y-rail {
    z-index: auto;
}

/*------- Home Common -------*/
@-webkit-keyframes sk-bounce {
    0%, 100% { -webkit-transform: scale(0.0) }
    50% { -webkit-transform: scale(1.0) }
}
@keyframes sk-bounce {
    0%, 100% { 
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    } 
    50% { 
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }
}
@-webkit-keyframes slideDown {
    0% { top: -60px }
    100% { top: 0px }
}
@keyframes slideDown {
    0% { top: -60px }
    100% { top: 0px }
}
.section-padding {
    padding: 80px 0;
}

.home-section {
    padding: 80px 0;
}
.home-section mat-card:hover {
    box-shadow: 0 10px 16px rgba(0, 0, 0, 0.2);
}

.section-header {
    margin: 0 0 2rem;
}
.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 16px;
}
.section-header p {
    font-size: 16px;
    max-width: 36rem;
    margin: 0;
}

.home-section-action {
    padding: 2.5rem 0 0;
}

[mat-card-icon] {
    font-size: 64px !important;
    height: 64px !important;
    width: 64px !important;
    transition: all .3s ease;
}
.home-fancy-card {
    border-top: 2px solid #212121;
    transition: all .3s ease;
}

.home-fancy-card:hover {
    border-top: 2px solid #3f51b5;
}
.home-fancy-card:hover [mat-card-icon] {
    color: #3f51b5;
}
.home-fancy-card .description {
    font-size: 15px;
    color: #616161;
}

/*------ Carousel -------*/
.ngucarousel {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}
.ngucarousel-inner {
    padding: 8px 0 18px;
}
.ngucarousel .carousel-left,
.ngucarousel .carousel-right {
    position: absolute;
    top: calc(50% - 28px);
    background: #ffffff !important;
    color: rgba(0, 0, 0, .87);
}
.ngucarousel .carousel-left {
    left: -20px;
}
.ngucarousel .carousel-right {
    right: -20px;
}
.button-export{
border-radius: 50%;
height: 35px;
width: 35px;
position: absolute;
padding: 5px;
margin-right: 30px;
}
.number-list{
    padding: 25px;
    height: 70px;
    font-size: 1.6rem;
    text-align: center;
    background-color: #e6de73;
    border-radius: 50%;
}
.text-list{
    text-align: center;
    font-weight: 900;
    margin-left: 5px;
}
.img-export{
    height: 30px;
    width: 30px;
    margin: auto;
}
.photo-patient{
    height: 120px;
    width: 120px;
    border-radius: 100%;
}
.name-patient{
    font-size: 1.7rem;
    color: #272741;
    text-transform: uppercase;
    font-family: 'Oswald ExtraLight',sans-serif !important;

}
.icon-detail{
    height: 30px;
}
.icon-detail-contact{
    height: 20px;
}
.detail-text{
    font-size: 1.1rem;
    font-family: 'Oswald ExtraLight',sans-serif !important;
margin-left: 10px;
line-height: 38px;
}
.li-detail{
    text-align: center;
}
.line{
    opacity: 0.4;
}
.header-title{
    font-size: 1.3rem;
    letter-spacing: 1px;
    margin-left: 15px;
    margin-top: 5px;
}
.header-div{
    display: flex;
    padding: 15px;
    background: #eeeded;
}

/*---- Media queries -----*/

@media (max-width: 767px) {
    .mat-card-title .mat-divider {
        margin-left: 0;
        margin-right: 0;
    }
    .cal-top-col {
        width: 100%;
    }
    .accordion-handle {
        flex-direction: column !important;
    }
    .app-error .error-icon {
        height: 100px;
        width: 100px;
        font-size: 100px;
    }
}