body,
md-content {
    background-color: #f5f5f5 !important;
}

body.loginBG{
    background: url('../images/admin_bg.jpg')no-repeat center center;
    background-size: cover;
}

body.loginBG md-content{
    background-color: transparent !important;
}

md-content{
    max-height: 100%;
    overflow-y: auto;
}

.fullScreen{
    width: 100vw;
    height: 100vh;
}

.sideNavHeight{
    height: calc(100vh - 64px);
}

/*helpers*/
.truncate {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hyphenate {
    -ms-word-break: break-all;
    word-break: break-all;

    /*Non standard for webkit*/
    word-break: break-word;

    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}
.removePaddingTop{
    padding-top: 0;
}
.removePaddingBottom{
    padding-bottom: 0;
}
.removePaddingLeft{
    padding-left: 0;
}
.removePaddingRight{
    padding-right: 0;
}
.removeMargin{
    margin: 0;
}
.removeMarginTop{
    margin-top: 0;
}
.removeMarginBottom{
    margin-bottom: 0;
}
.removeMarginLeft{
    margin-left: 0;
}
.removeMarginRight{
    margin-right: 0;
}
.marginTopNBottom{
    margin-top: 10px;
    margin-bottom: 10px;
}
.smMarginTopNBottom{
    margin-top: 2px;
    margin-bottom: 2px;
}
.right{
    float: right;
}
.left{
    float: left;
}
.forcePointer{
    cursor: pointer;
}

.center-align{
    text-align: center;
}

md-list-item.active .md-button{
    background-color: rgba(158, 158, 158, 0.2);
}

.starringWrapper{
    width: 165px;
}

/*** Tables ***/
table {
    border-collapse: collapse;
    border-spacing: 0;
}

table, th, td {
    border: none;
}

table {
    width: 100%;
    display: table;
    table-layout: fixed;
}

table.smallFont{
    font-size: 0.71rem;
}
table.bordered > thead > tr, table.bordered > tbody > tr {
    border-bottom: 1px solid #d0d0d0 !important;
}
table.striped > tbody > tr:nth-child(odd) {
    background-color: #f2f2f2;
}
table.striped > tbody > tr > td {
    border-radius: 0px;
}
table.highlight > tbody > tr {
    -webkit-transition: background-color .25s ease;
    transition: background-color .25s ease;
}
table.highlight > tbody > tr:hover {
    background-color: #f2f2f2;
}
table.centered thead tr th, table.centered tbody tr td {
    text-align: center;
}

thead {
    border-bottom: 1px solid #d0d0d0;
}

td, th {
    padding: 15px 5px;
    display: table-cell;
    text-align: left;
    vertical-align: middle;
    border-radius: 2px;
}

@media only screen and (max-width: 992px) {
    table.responsive-table {
        width: 100%;
        border-collapse: collapse;
        border-spacing: 0;
        display: block;
        position: relative;
        /* sort out borders */
    }
    table.responsive-table th,
    table.responsive-table td {
        margin: 0;
        vertical-align: top;
    }
    table.responsive-table th {
        text-align: left;
    }
    table.responsive-table thead {
        display: block;
        float: left;
    }
    table.responsive-table thead tr {
        display: block;
        padding: 0 10px 0 0;
    }
    table.responsive-table thead tr th::before {
        content: "\00a0";
    }
    table.responsive-table tbody {
        display: block;
        width: auto;
        position: relative;
        overflow-x: auto;
        white-space: nowrap;
    }
    table.responsive-table tbody tr {
        display: inline-block;
        vertical-align: top;
    }
    table.responsive-table th {
        display: block;
        text-align: right;
    }
    table.responsive-table td {
        display: block;
        min-height: 1.25em;
        text-align: left;
    }
    table.responsive-table tr {
        padding: 0 10px;
    }
    table.responsive-table thead {
        border: 0;
        border-right: 1px solid #d0d0d0;
    }
    table.responsive-table.bordered th {
        border-bottom: 0;
        border-left: 0;
    }
    table.responsive-table.bordered td {
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
    }
    table.responsive-table.bordered tr {
        border: 0;
    }
    table.responsive-table.bordered tbody tr {
        border-right: 1px solid #d0d0d0;
    }
}

/*pagination*/
ul.pagination{
    padding: 0;
    float: right;
}

.pagination li {
    display: inline-block;
    font-size: 1.2rem;
    padding: 0 10px;
    line-height: 30px;
    border-radius: 2px;
    text-align: center;
}
.pagination li a {
    color: #444;
    text-decoration: none;
}
.pagination li.active a {
    color: #fff;
}
.pagination li.active {
    background-color: #3F51B5;
}
.pagination li.disabled a {
    cursor: default;
    color: #999;
}
.pagination li i {
    font-size: 2.2rem;
    vertical-align: middle;
}
.pagination li.pages ul li {
    display: inline-block;
    float: none;
}

@media only screen and (max-width: 992px) {
    .pagination {
        width: 100%;
    }
    .pagination li.prev,
    .pagination li.next {
        width: 10%;
    }
    .pagination li.pages {
        width: 80%;
        overflow: hidden;
        white-space: nowrap;
    }
}

/*content*/
md-icon.userAvatar{
    width: 144px;
    height: 144px;
    display: block;
}
/*animattion*/
.allowTransition {
    -webkit-transition: all;
    -o-transition: all;
    transition: all;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s; }

.rotate180 {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
    -webkit-transition: all;
    -o-transition: all;
    transition: all;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s; }