/* ng-animate fade */
.nga-fade.ng-enter {
    transition: 0.5s linear all;
    opacity: 0;
}

.nga-fade.ng-enter.ng-enter-active {
    opacity: 1;
}

.nga-fade.ng-hide {
    opacity: 0;
}

.nga-fade.ng-hide-add,
.nga-fade.ng-hide-remove {
    transition: 0.3s linear all;
}

md-input-container .md-errors-spacer {
    min-height: 0;
}

.login-bg {
    background: url(../img/pexels-gabriela-palai-395196.jpeg) no-repeat bottom center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.login-bg2 {
    background: url(../img/dealer-bg.jpg) no-repeat bottom center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.login-logo {
    max-width: 100px;
    display: block;
    margin: 10px auto;
}

.md-sidenav-left {
    max-width: 270px;
}
.md-sidenav-left .nav-header img {
    width: 100px;
    margin: 20px auto 0;
    display: block;
}
.md-sidenav-left .nav-header small {
    display: block;
    text-align: center;
    margin-bottom: 10px;
    color: rgba(0, 0, 0, .3);
}
.md-sidenav-left .top-right-pos {
    position: absolute;
    top: 12px;
    right: 0;
}

md-list-item.active {
    background-color: rgba(0, 0, 0, .2);
}

.md-toggle-icon {
    display: block;
    margin-left: auto;
    speak: none;
    vertical-align: middle;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    transition: -webkit-transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}

.md-toggle-icon.toggled {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
}

.md-accordian-button {
    outline: none;
    position: relative;
    padding: 0 16px;
    min-height: 48px;
    cursor: pointer;
}

.md-sub-list {
    transition: max-height 0.3s ease-in;
    overflow: hidden;
    padding: 0;
}

.md-sub-list.toggled {
    max-height: 0 !important;
    transition: max-height 0.3s ease-out;
}

.md-sub-list .md-button {
    padding-left: 32px !important;
}

.md-input-container-no-error {
    margin: 0;
}

.md-input-container-no-error .md-errors-spacer {
    display: none;
}

.alert {
    background: rgb(255, 119, 109) !important;
    color: rgb(255, 255, 255) !important;
}

fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.icon-inline {
    vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    /* font-family: 'Kanit', sans-serif; */
}

#main-loading {
    margin-bottom: -5px !important;
    z-index: 2;
}

.mt-0 {
    margin-top: 0!important;
}
.mb-20 {
    margin-bottom: 20px!important;
}
.my-0 {
    margin-top: 0!important;
    margin-bottom: 0!important;
}
.my-10 {
    margin-top: 10px!important;
    margin-bottom: 10px!important;
}

.text-right {
    text-align: right!important;
}

.graphheight{
 height: 140vh;
}

.textright{
    text-align: right !important;
}

.textcenter{
    text-align:center !important;
}

.textnowrap{
    white-space: nowrap!important;
}
.text-blue {
    color: #51c9f4;
}
.text-red {
    color: red;
}

.like-label {
    color: #757575;
    margin: 6px 0;
}
.quill-container {
    margin-bottom: 30px;
}

.coupon-image {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 50%;
}
.coupon-image md-icon {
    width: 100px;
    height: 100px;
    font-size: 100px;
}
.coupon-image img {
    width: 100px;
    height: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}
.table th {
    text-align: start;
    padding: 16px;
    border-bottom: 1px solid #bbb;
}
.table td {
    border-bottom: 1px solid #eee;
    padding: 16px;
    vertical-align: top;
}
.table.v-middle td {
    vertical-align: middle;
}
.table td ol {
    margin: 0;
    padding: 0;
}
.table tr.glv2 td {
    background-color: #f5f5f5;
    font-weight: bold;
}
.table tr.glv1 td {
    background-color: #ddd!important;
    font-weight: bold;
}
.table tr.glv0 td {
    background-color: #ccc!important;
    font-weight: bold;
}


.coupon-photo {
    width: 140px;
    height: 100px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 3px;
}
.coupon-photo md-icon {
    width: 100px;
    height: 100px;
    font-size: 100px;
}
.coupon-photo img {
    width: 140px;
    height: auto;
}


.avatar-container {
    text-align: center;
    padding: 20px;
}
.icon-avatar {
    font-size: 100px;
    width: 100px;
    height: 100px;
    color: #bbb;
}

._md-datepicker-floating-label>md-datepicker .md-datepicker-button {
    margin-left: -10px;
}
._md-datepicker-floating-label._md-datepicker-has-calendar-icon>label:not(.md-no-float):not(.md-container-ignore) {
    right: 32px;
}


.bg-pink {
    background-color: #f49ac1;
}
.bg-blue {
    background-color: #40c8f4;
}
.bg-purple {
    background-color: #707ebd;
}
.progressbar-container {
    position: relative;
    margin: 17px 17px 0;
    height: 30px;
}
.progressbar {
    position: absolute;
    top: 0;
    left: 0;
    text-align: right;
    padding: 10px 20px;
    font-size: 20px;
    color: #fff;
    box-sizing: border-box;
}

.video-wrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.video-wrapper iframe, .video-wrapper video, .document-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.document-wrapper {
    position: relative;
	padding-bottom: 100%;
	padding-top: 25px;
	height: 0;
}

.md-checked md-card {
    background-color: #c4eafc;
}

.wline-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Number of lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 960px) {
    md-dialog.md-dialog-fullscreen {
        min-height: 100%;
        min-width: calc(100% - 270px);
        border-radius: 0;
        margin-left: 270px;
    }
    .avatar-container {
        padding: 20px 20px 20px 0;
        border-right: 1px solid #ccc;
        margin-right: 20px;
    }
}

@media print {
   .print-none {
       display: none;
   }
}
