﻿@font-face {
    font-family: 'iranSansFarsiNum';
    src: url('fonts/farsiNum/eot/IRANSansWeb(FaNum).eot') format('embedded-opentype'), url('fonts/farsiNum/ttf/IRANSansWeb(FaNum).ttf') format('truetype'), url('fonts/farsiNum/woff/IRANSansWeb(FaNum).woff') format('woff'), url('fonts/farsiNum/woff2/IRANSansWeb(FaNum).woff2') format('woff2');
}

body {
    font-family: "iranSansFarsiNum", Tahoma, sans-serif;
}

/*
    select pay getway
*/
.pay-getways {
    display: flex;
    flex-wrap: wrap;
}

    .pay-getways .pay-item {
        width: 150px;
        height: 150px;
    }

        .pay-getways .pay-item label {
            border: 1px #999999 solid;
            border-radius: 5px;
            cursor: pointer;
            margin: 5px;
        }

        .pay-getways .pay-item input[type=radio]:checked ~ label {
            background: #03dac6;
        }

        .pay-getways .pay-item img {
            max-width: 100%;
            max-height: 100%;
        }

        .pay-getways .pay-item input[type=radio] {
            display: none;
        }

/**
    end of select pay getway
*/
/*
    header
*/
.topnavbar {
    background-color: #ffffff;
    background: #ffffff;
}

.navbar-header {
    background-color: #244a82 !important;
}

.topnavbar .navbar-nav > li > a, .topnavbar .navbar-nav > .open > a {
    color: #000000;
}

nav.sidebar {
    background: #244a82;
}

.sidebar > .nav > li > a {
    background: #009688 !important;
    color: #ffffff !important;
}

    .sidebar > .nav > li > a em {
        color: #ffffff !important;
    }

.sidebar > .nav > li.active {
    border-right-color: #ffffff;
}
/*
    button
*/
.btn-default:not([disabled]) {
    background-color: #009688 !important;
    color: #fff !important;
}

.btn-grey {
    background-color: #f2f3f4 !important;
    color: #201e1e !important;
}

.md-input {
    font: inherit;
}
/*
    table Payment
*/
#table-bill {
    border: 2px #383737 solid;
    width: 100%;
    line-height: 3;
}

    #table-bill thead {
        background-color: #e8e8e8;
    }

    #table-bill th, #table-bill td {
        padding: 2px 5px;
        border: 1px #929292 solid;
    }

.pay-logo {
    width: 120px;
}


.alarmDiv {
    background-color: rgb(245,245,245);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

    .alarmDiv .backLink {
        color: rgb(3,155,229);
        text-decoration: none;
        cursor: pointer;
    }

.alert-blue {
    background: #244a82;
    color: #fff;
    text-align: center;
    padding: 20px;
}



.gifCard {
    background: url(img/ribbon.jpg) no-repeat;
    width: 340px;
    height: 180px;
    background-size: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #008074;
    font-weight: bold;
    font-size: 20px;
    min-width: 340px;
    position: relative;
}

    .gifCard span {
        position: absolute;
        top: 56%;
    }

/*-------------------------------------------------------------------------------*/
#table-bill-new {
    width: 100%;
    line-height: 3;
}

    #table-bill-new tbody {
        border-left: 1px #383737 solid;
        border-right: 1px #383737 solid;
    }

    #table-bill-new thead {
        background-color: #f5f5f5 !important;
    }

        #table-bill-new thead:nth-child(1), #table-bill-new thead:nth-child(3), #table-bill-new thead:nth-child(5) {
            line-height: 2;
        }

    #table-bill-new th, #table-bill-new td {
        text-align: center;
        padding: 2px 5px;
        border: 1px #2f2f2f solid;
    }

    #table-bill-new tbody:nth-child(2) td, #table-bill-new tbody:nth-child(4) td {
        text-align: right;
        border: none;
        line-height: 2;
    }

    #table-bill-new tr.footer td {
        text-align: right;
    }

    #table-bill-new .row-header {
        transform: rotate(90deg);
        display: block;
        margin: 15px 0px;
    }

/*-------------------------------------------------------------------------*/
#factorInfo {
    width: 100%;
    max-width: 1400px;
}

#pay-confirm-dialog {
    width: 530px;
}

#factorInfo md-dialog-content {
    padding: 10px;
}

#pay-confirm-dialog md-dialog-content {
    padding: 20px;
}

#factorInfo md-dialog-actions, #pay-confirm-dialog md-dialog-actions {
    border-top: 1px #e0e0e0 solid;
}

#factor-footer {
    border-top: 1px #383737 dashed;
    min-height: 80px;
    margin-top: 50px;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.factor-no-border {
    border-right-color: transparent !important;
    border-bottom-color: transparent !important;
}

#pay-confirm-dialog .md-toolbar-tools {
    background-color: #244a82 !important;
}

.dark-blue-fg {
    color: #244a82 !important;
}

/*----------------------------------------------------------------*/
/*
whirl.css - http://jh3y.github.io/-cs-spinner
Licensed under the MIT license

Jhey Tompkins (c) 2014.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
/* whirl base styling */
.whirl {
    position: relative;
}

    .whirl:before {
        content: "";
        z-index: 1;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: #999999;
        opacity: 0.6;
    }

    .whirl:after {
        z-index: 2;
        content: "";
        height: 40px;
        width: 40px;
        position: absolute;
        top: 50%;
        left: 50%;
        margin: -20px 0 0 -20px;
        -webkit-transition: all .75s ease 0s;
        transition: all .75s ease 0s;
        border-radius: 100%;
        border-top: 4px solid #555555;
        -webkit-animation: standard .75s infinite linear;
        animation: standard .75s infinite linear;
        -webkit-transform-origin: center;
        -ms-transform-origin: center;
        transform-origin: center;
    }

    .whirl.no-overlay:before {
        content: none;
        display: none;
    }
/* whirl standard rotation animation used for duo, double-up etc. */
@-webkit-keyframes standard {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes standard {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
/*whirl bar follow - a simple strafing bar animation that follows itself*/
.whirl.bar.follow:after {
    -webkit-animation: bar-follow 1s infinite linear;
    animation: bar-follow 1s infinite linear;
}

@-webkit-keyframes bar-follow {
    0% {
        -webkit-box-shadow: inset 40px 0px 0px rgba(0, 0, 0, 0.5);
        box-shadow: inset 40px 0px 0px rgba(0, 0, 0, 0.5);
    }

    100% {
        -webkit-box-shadow: inset -40px 0px 0px rgba(0, 0, 0, 0.5);
        box-shadow: inset -40px 0px 0px rgba(0, 0, 0, 0.5);
    }
}

@keyframes bar-follow {
    0% {
        -webkit-box-shadow: inset 40px 0px 0px rgba(0, 0, 0, 0.5);
        box-shadow: inset 40px 0px 0px rgba(0, 0, 0, 0.5);
    }

    100% {
        -webkit-box-shadow: inset -40px 0px 0px rgba(0, 0, 0, 0.5);
        box-shadow: inset -40px 0px 0px rgba(0, 0, 0, 0.5);
    }
}
/*whirl bar - a simple strafing bar animation*/
.whirl.bar:after {
    height: 20px;
    width: 40px;
    border-radius: 0;
    border: none;
    -webkit-animation: bar 1s infinite linear;
    animation: bar 1s infinite linear;
}

@-webkit-keyframes bar {
    from {
        -webkit-box-shadow: inset 0px 0px 0px rgba(0, 0, 0, 0.5);
        box-shadow: inset 0px 0px 0px rgba(0, 0, 0, 0.5);
    }

    to {
        -webkit-box-shadow: inset 80px 0px 0px rgba(0, 0, 0, 0.5);
        box-shadow: inset 80px 0px 0px rgba(0, 0, 0, 0.5);
    }
}

@keyframes bar {
    from {
        -webkit-box-shadow: inset 0px 0px 0px rgba(0, 0, 0, 0.5);
        box-shadow: inset 0px 0px 0px rgba(0, 0, 0, 0.5);
    }

    to {
        -webkit-box-shadow: inset 80px 0px 0px rgba(0, 0, 0, 0.5);
        box-shadow: inset 80px 0px 0px rgba(0, 0, 0, 0.5);
    }
}
/* whirl blade spinner.
experimental spinner that tries to create a blade effect.*/
.whirl.blade:after {
    height: 20px;
    width: 20px;
    margin: -10px 0 0 10px;
    border-right: 4px solid transparent;
    border-top: 4px solid transparent;
    border-left: 4px solid transparent;
    border-bottom: 4px solid #e74c3c;
    opacity: 1;
    -webkit-transform-origin: left;
    -ms-transform-origin: left;
    transform-origin: left;
}
/*whirl double up - a doubling up standard animation spinner*/
.whirl.double-up:after {
    border-right: 4px solid #e74c3c;
    border-top: 4px double #e74c3c;
    border-left: 4px double #e74c3c;
    border-bottom: 4px double #e74c3c;
}
/*whirl duo - a dual colored standard animated spinner*/
.whirl.duo:after {
    border-right: 4px solid #333333;
    border-left: 4px solid #333333;
    border-top: 4px solid #f1c40f;
    border-bottom: 4px solid #f1c40f;
}
/* whirl helicopter spinner.*/
.whirl.helicopter:after {
    height: 10px;
    width: 40px;
    margin: -10px 0 0 -20px;
    border: none;
    border-radius: 0;
    opacity: 1;
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
    background-color: #8e44ad;
}
/*whirl line back and forth grow - a simple strafing line animation that goes back and forth and grows in the middle*/
.whirl.line.back-and-forth.grow:after {
    -webkit-animation: line-back-and-forth 1s infinite linear, line-back-and-forth-grow 1s infinite linear;
    animation: line-back-and-forth 1s infinite linear, line-back-and-forth-grow 1s infinite linear;
}

@-webkit-keyframes line-back-and-forth-grow {
    0% {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
    }

    25% {
        -webkit-transform: scaleY(2);
        transform: scaleY(2);
    }

    50% {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
    }

    75% {
        -webkit-transform: scaleY(2);
        transform: scaleY(2);
    }

    100% {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
    }
}

@keyframes line-back-and-forth-grow {
    0% {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
    }

    25% {
        -webkit-transform: scaleY(2);
        transform: scaleY(2);
    }

    50% {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
    }

    75% {
        -webkit-transform: scaleY(2);
        transform: scaleY(2);
    }

    100% {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
    }
}
/*whirl line back and forth - a simple strafing line animation that goes back and forth*/
.whirl.line.back-and-forth:after {
    -webkit-animation: line-back-and-forth 1s infinite linear;
    animation: line-back-and-forth 1s infinite linear;
}

@-webkit-keyframes line-back-and-forth {
    0% {
        width: 10px;
    }

    50% {
        width: 50px;
    }

    100% {
        width: 10px;
    }
}

@keyframes line-back-and-forth {
    0% {
        width: 10px;
    }

    50% {
        width: 50px;
    }

    100% {
        width: 10px;
    }
}
/*whirl line grow - a simple strafing line animation that grows in the middle*/
.whirl.line.grow:after {
    -webkit-animation: line 0.75s infinite linear, line-grow 0.75s infinite linear;
    animation: line 0.75s infinite linear, line-grow 0.75s infinite linear;
}

@-webkit-keyframes line-grow {
    0% {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
    }

    50% {
        -webkit-transform: scaleY(2);
        transform: scaleY(2);
    }

    100% {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
    }
}

@keyframes line-grow {
    0% {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
    }

    50% {
        -webkit-transform: scaleY(2);
        transform: scaleY(2);
    }

    100% {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
    }
}
/*whirl line - a simple strafing line animation*/
.whirl.line:after {
    height: 20px;
    border-radius: 0;
    border: none;
    -webkit-box-shadow: inset -10px 0px 0px rgba(0, 0, 0, 0.5);
    box-shadow: inset -10px 0px 0px rgba(0, 0, 0, 0.5);
    -webkit-animation: line .75s infinite linear;
    animation: line .75s infinite linear;
}

@-webkit-keyframes line {
    from {
        width: 10px;
    }

    to {
        width: 50px;
    }
}

@keyframes line {
    from {
        width: 10px;
    }

    to {
        width: 50px;
    }
}
/* whirl ringed spinner.
a spinner with a static ring and no overlay.*/
.whirl.ringed:after {
    border-right: 4px solid #e74c3c;
    border-top: 4px solid #2ecc71;
    border-left: 4px solid #2ecc71;
    border-bottom: 4px solid #2ecc71;
    opacity: 1;
}
/* whirl shadow oval left - makes use of box shadowing effects
in addition to offsetting the width and the height to angle the shadow*/
.whirl.shadow.oval.left:after,
.whirl.shadow.oval:after {
    -webkit-animation: spin-shadow 0.25s infinite linear;
    animation: spin-shadow 0.25s infinite linear;
    border: none;
    border-radius: 40% 100%;
}

@-webkit-keyframes spin-shadow {
    0% {
        -webkit-box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.5);
        box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.5);
    }

    25% {
        -webkit-box-shadow: inset -5px 5px 5px rgba(0, 0, 0, 0.5);
        box-shadow: inset -5px 5px 5px rgba(0, 0, 0, 0.5);
    }

    50% {
        -webkit-box-shadow: inset -5px -5px 5px rgba(0, 0, 0, 0.5);
        box-shadow: inset -5px -5px 5px rgba(0, 0, 0, 0.5);
    }

    100% {
        -webkit-box-shadow: inset 5px -5px 5px rgba(0, 0, 0, 0.5);
        box-shadow: inset 5px -5px 5px rgba(0, 0, 0, 0.5);
    }
}

@keyframes spin-shadow {
    0% {
        -webkit-box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.5);
        box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.5);
    }

    25% {
        -webkit-box-shadow: inset -5px 5px 5px rgba(0, 0, 0, 0.5);
        box-shadow: inset -5px 5px 5px rgba(0, 0, 0, 0.5);
    }

    50% {
        -webkit-box-shadow: inset -5px -5px 5px rgba(0, 0, 0, 0.5);
        box-shadow: inset -5px -5px 5px rgba(0, 0, 0, 0.5);
    }

    100% {
        -webkit-box-shadow: inset 5px -5px 5px rgba(0, 0, 0, 0.5);
        box-shadow: inset 5px -5px 5px rgba(0, 0, 0, 0.5);
    }
}
/* whirl shadow oval right - makes use of box shadowing effects
in addition to offsetting the width and the height to angle the shadow*/
.whirl.shadow.oval.right:after {
    -webkit-animation: spin-shadow 0.25s infinite linear;
    animation: spin-shadow 0.25s infinite linear;
    border: none;
    border-radius: 100% 40%;
}

@keyframes spin-shadow {
    0% {
        -webkit-box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.5);
        box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.5);
    }

    25% {
        -webkit-box-shadow: inset -5px 5px 5px rgba(0, 0, 0, 0.5);
        box-shadow: inset -5px 5px 5px rgba(0, 0, 0, 0.5);
    }

    50% {
        -webkit-box-shadow: inset -5px -5px 5px rgba(0, 0, 0, 0.5);
        box-shadow: inset -5px -5px 5px rgba(0, 0, 0, 0.5);
    }

    100% {
        -webkit-box-shadow: inset 5px -5px 5px rgba(0, 0, 0, 0.5);
        box-shadow: inset 5px -5px 5px rgba(0, 0, 0, 0.5);
    }
}
/* whirl shadow - makes use of box shadowing effects */
.whirl.shadow:after {
    -webkit-animation: spin-shadow 0.25s infinite linear;
    animation: spin-shadow 0.25s infinite linear;
    border-radius: 100%;
    border: none;
}

@keyframes spin-shadow {
    0% {
        -webkit-box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.5);
        box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.5);
    }

    25% {
        -webkit-box-shadow: inset -5px 5px 5px rgba(0, 0, 0, 0.5);
        box-shadow: inset -5px 5px 5px rgba(0, 0, 0, 0.5);
    }

    50% {
        -webkit-box-shadow: inset -5px -5px 5px rgba(0, 0, 0, 0.5);
        box-shadow: inset -5px -5px 5px rgba(0, 0, 0, 0.5);
    }

    100% {
        -webkit-box-shadow: inset 5px -5px 5px rgba(0, 0, 0, 0.5);
        box-shadow: inset 5px -5px 5px rgba(0, 0, 0, 0.5);
    }
}
/*whirl spherical horizontal spinner*/
.whirl.sphere.horizontal:after,
.whirl.sphere:after {
    border-radius: 100%;
    -webkit-animation: sphere .5s infinite;
    animation: sphere .5s infinite;
    border: none;
    height: 40px;
}

@-webkit-keyframes sphere {
    from {
        -webkit-box-shadow: inset 45px 0px 10px rgba(0, 0, 0, 0.5);
        box-shadow: inset 45px 0px 10px rgba(0, 0, 0, 0.5);
    }

    to {
        -webkit-box-shadow: inset -45px 0px 10px rgba(0, 0, 0, 0.5);
        box-shadow: inset -45px 0px 10px rgba(0, 0, 0, 0.5);
    }
}

@keyframes sphere {
    from {
        -webkit-box-shadow: inset 45px 0px 10px rgba(0, 0, 0, 0.5);
        box-shadow: inset 45px 0px 10px rgba(0, 0, 0, 0.5);
    }

    to {
        -webkit-box-shadow: inset -45px 0px 10px rgba(0, 0, 0, 0.5);
        box-shadow: inset -45px 0px 10px rgba(0, 0, 0, 0.5);
    }
}
/*whirl spherical vertical spinner*/
.whirl.sphere.vertical:after {
    border-radius: 100%;
    -webkit-animation: sphere-v 0.5s infinite;
    animation: sphere-v 0.5s infinite;
    border: none;
    height: 40px;
}

@-webkit-keyframes sphere-v {
    from {
        -webkit-box-shadow: inset 0px 45px 10px rgba(0, 0, 0, 0.5);
        box-shadow: inset 0px 45px 10px rgba(0, 0, 0, 0.5);
    }

    to {
        -webkit-box-shadow: inset 0px -45px 10px rgba(0, 0, 0, 0.5);
        box-shadow: inset 0px -45px 10px rgba(0, 0, 0, 0.5);
    }
}

@keyframes sphere-v {
    from {
        -webkit-box-shadow: inset 0px 45px 10px rgba(0, 0, 0, 0.5);
        box-shadow: inset 0px 45px 10px rgba(0, 0, 0, 0.5);
    }

    to {
        -webkit-box-shadow: inset 0px -45px 10px rgba(0, 0, 0, 0.5);
        box-shadow: inset 0px -45px 10px rgba(0, 0, 0, 0.5);
    }
}
/* whirl traditional spinner.
Makes use of standard animation spin and minimally extends core.*/
.whirl.traditional:after {
    border-right: 4px solid #777777;
    border-top: 4px solid #777777;
    border-left: 4px solid #999999;
    border-bottom: 4px solid #bbbbbb;
}


/* Add New Color.*/
.fg-cyan-800 {
    color: #00838F !important;
}

.fg-red {
    color: #720101 !important;
}

.wrapper {
    overflow: visible;
}

/* Add New CSS for Payment*/
.pay-header {
    background-color: #00838F;
    color: rgb(245,245,245);
    height: 120px;
    background-image: url('img/header-bg.png');
    text-align: center;
    margin: -20px -20px 20px;
}

.sabak-suspend {
    position: absolute;
    width: 180px;
    left: 6%;
    top: 0;
}

.pay-noty {
    color: #ae0119;
    padding: 10px;
}



md-card {
    box-sizing: border-box;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    margin: 8px;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.12);
}

    md-card md-card-header {
        padding: 16px;
        display: -webkit-box;
        display: -webkit-flex;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        flex-direction: row;
    }

        md-card md-card-header:first-child md-card-avatar {
            margin-right: 12px;
        }

[dir=rtl] md-card md-card-header:first-child md-card-avatar {
    margin-right: auto;
    margin-left: 12px;
}

md-card md-card-header:last-child md-card-avatar {
    margin-left: 12px;
}

[dir=rtl] md-card md-card-header:last-child md-card-avatar {
    margin-left: auto;
    margin-right: 12px;
}

md-card md-card-header md-card-avatar {
    width: 40px;
    height: 40px;
}

    md-card md-card-header md-card-avatar .md-user-avatar,
    md-card md-card-header md-card-avatar md-icon {
        border-radius: 50%;
    }

    md-card md-card-header md-card-avatar md-icon {
        padding: 8px;
    }

    md-card md-card-header md-card-avatar + md-card-header-text {
        max-height: 40px;
    }

        md-card md-card-header md-card-avatar + md-card-header-text .md-title {
            font-size: 14px;
        }

md-card md-card-header md-card-header-text {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
}

    md-card md-card-header md-card-header-text .md-subhead {
        font-size: 14px;
    }

md-card > img,
md-card > md-card-header img,
md-card md-card-title-media img {
    box-sizing: border-box;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    width: 100%;
    height: auto;
}

md-card md-card-title {
    padding: 24px 16px 16px;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    flex-direction: row;
}

    md-card md-card-title + md-card-content {
        padding-top: 0;
    }

    md-card md-card-title md-card-title-text {
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        flex: 1;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        flex-direction: column;
        display: -webkit-box;
        display: -webkit-flex;
        display: flex;
    }

        md-card md-card-title md-card-title-text .md-subhead {
            padding-top: 0;
            font-size: 14px;
        }

        md-card md-card-title md-card-title-text:only-child .md-subhead {
            padding-top: 12px;
        }

    md-card md-card-title md-card-title-media {
        margin-top: -8px;
    }

        md-card md-card-title md-card-title-media .md-media-sm {
            height: 80px;
            width: 80px;
        }

        md-card md-card-title md-card-title-media .md-media-md {
            height: 112px;
            width: 112px;
        }

        md-card md-card-title md-card-title-media .md-media-lg {
            height: 152px;
            width: 152px;
        }

md-card md-card-content {
    display: block;
    padding: 16px;
}

    md-card md-card-content > p:first-child {
        margin-top: 0;
    }

    md-card md-card-content > p:last-child {
        margin-bottom: 0;
    }

    md-card md-card-content .md-media-xl {
        height: 240px;
        width: 240px;
    }

md-card .md-actions, md-card md-card-actions {
    margin: 8px;
}

    md-card .md-actions.layout-column .md-button:not(.md-icon-button), md-card md-card-actions.layout-column .md-button:not(.md-icon-button) {
        margin: 2px 0;
    }

        md-card .md-actions.layout-column .md-button:not(.md-icon-button):first-of-type, md-card md-card-actions.layout-column .md-button:not(.md-icon-button):first-of-type {
            margin-top: 0;
        }

        md-card .md-actions.layout-column .md-button:not(.md-icon-button):last-of-type, md-card md-card-actions.layout-column .md-button:not(.md-icon-button):last-of-type {
            margin-bottom: 0;
        }

    md-card .md-actions.layout-column .md-button.md-icon-button, md-card md-card-actions.layout-column .md-button.md-icon-button {
        margin-top: 6px;
        margin-bottom: 6px;
    }

    md-card .md-actions md-card-icon-actions, md-card md-card-actions md-card-icon-actions {
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        flex: 1;
        -webkit-box-pack: start;
        -webkit-justify-content: flex-start;
        justify-content: flex-start;
        display: -webkit-box;
        display: -webkit-flex;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        flex-direction: row;
    }

    md-card .md-actions:not(.layout-column) .md-button:not(.md-icon-button), md-card md-card-actions:not(.layout-column) .md-button:not(.md-icon-button) {
        margin: 0 4px;
    }

        md-card .md-actions:not(.layout-column) .md-button:not(.md-icon-button):first-of-type, md-card md-card-actions:not(.layout-column) .md-button:not(.md-icon-button):first-of-type {
            margin-left: 0;
        }

[dir=rtl] md-card .md-actions:not(.layout-column) .md-button:not(.md-icon-button):first-of-type, [dir=rtl] md-card md-card-actions:not(.layout-column) .md-button:not(.md-icon-button):first-of-type {
    margin-left: auto;
    margin-right: 0;
}

md-card .md-actions:not(.layout-column) .md-button:not(.md-icon-button):last-of-type, md-card md-card-actions:not(.layout-column) .md-button:not(.md-icon-button):last-of-type {
    margin-right: 0;
}

[dir=rtl] md-card .md-actions:not(.layout-column) .md-button:not(.md-icon-button):last-of-type, [dir=rtl] md-card md-card-actions:not(.layout-column) .md-button:not(.md-icon-button):last-of-type {
    margin-right: auto;
    margin-left: 0;
}

md-card .md-actions:not(.layout-column) .md-button.md-icon-button, md-card md-card-actions:not(.layout-column) .md-button.md-icon-button {
    margin-left: 6px;
    margin-right: 6px;
}

    md-card .md-actions:not(.layout-column) .md-button.md-icon-button:first-of-type, md-card md-card-actions:not(.layout-column) .md-button.md-icon-button:first-of-type {
        margin-left: 12px;
    }

[dir=rtl] md-card .md-actions:not(.layout-column) .md-button.md-icon-button:first-of-type, [dir=rtl] md-card md-card-actions:not(.layout-column) .md-button.md-icon-button:first-of-type {
    margin-left: auto;
    margin-right: 12px;
}

md-card .md-actions:not(.layout-column) .md-button.md-icon-button:last-of-type, md-card md-card-actions:not(.layout-column) .md-button.md-icon-button:last-of-type {
    margin-right: 12px;
}

[dir=rtl] md-card .md-actions:not(.layout-column) .md-button.md-icon-button:last-of-type, [dir=rtl] md-card md-card-actions:not(.layout-column) .md-button.md-icon-button:last-of-type {
    margin-right: auto;
    margin-left: 12px;
}

md-card .md-actions:not(.layout-column) .md-button + md-card-icon-actions, md-card md-card-actions:not(.layout-column) .md-button + md-card-icon-actions {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    flex-direction: row;
}

md-card md-card-footer {
    margin-top: auto;
    padding: 16px;
}
/*ssKC*/
.ngdialog *, .ngdialog :after, .ngdialog :before {
    font-family: inherit !important;
}
