﻿/* MDL Drawer Right*/

#notif {
    right: 0px;
    color: rgb(255,255,255);
    background-color: inherit;
    line-height: 54px;
    display: block;
    position: absolute;
    height: 48px;
    width: 48px;
    border: 0;
    flex-shrink: 0;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    font-size: 26px;
    line-height: 40px;
    margin: 8px 0px;
    top: 0;
    color: rgb(255,255,255);
    z-index: 9999;
}

.mdl-layout__drawer-right {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    width: 240px;
    height: 100%;
    max-height: 100%;
    position: absolute;
    top: 0;
    right: -1px;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
    box-sizing: border-box;
    border-right: 1px solid #e0e0e0;
    background-color: #666 !important;
    -webkit-transform: translateX(250px);
    -ms-transform: translateX(250px);
    transform: translateX(250px);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    will-change: transform;
    -webkit-transition-duration: .2s;
    transition-duration: .2s;
    -webkit-transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    -webkit-transition-property: -webkit-transform;
    transition-property: transform;
    color: #424242;
    overflow: visible;
    overflow-y: auto;
    z-index: 5;
}

.mdl-layout__drawer-right .mdl-navigation {
    background-color: #666;
    color: #000;
    padding-top:0px;
}

.right-active {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}

.mdl-layout__obfuscator-right {
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 4;
    visibility: hidden;
    -webkit-transition-property: background-color;
    transition-property: background-color;
    -webkit-transition-duration: .2s;
    transition-duration: .2s;
    -webkit-transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-timing-function: cubic-bezier(.4,0,.2,1);
}

.mdl-layout__drawer-right.right-active ~ .mdl-layout__obfuscator-right {
    background-color: rgba(0,0,0,.5);
    visibility: visible;
}

.mdl-layout__drawer-right > .mdl-layout-title {
    line-height: 56px;
    padding: 16px;
    background-color: #333333;
    color: #ddd;
}


    .mdl-layout__drawer-right > * {
        -webkit-flex-shrink: 0;
        -ms-flex-negative: 0;
        flex-shrink: 0;
    }

.mdl-layout__drawer-right  .mdl-layout__title,
.mdl-layout__drawer-right  .mdl-layout-title {
    line-height: 64px;
    padding-left: 40px;
    display: block;
    position: relative;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.02em;
    font-weight: 400;
    box-sizing: border-box;
    padding: 16px !important;
    background-color: #333333 !important;
    color: #ddd !important;
}

.mdl-layout__drawer-right .mdl-navigation .mdl-navigation__link:hover {
    background-color: #555555 !important;
}


@media screen and (max-width: 1024px) {
    .mdl-layout__drawer-right > .mdl-layout__title,
    .mdl-layout__drawer-right > .mdl-layout-title {
        line-height: 56px;
        padding-left: 16px;
    }
}

.mdl-layout__drawer-right .mdl-navigation {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    padding-top: 16px;
    background-color: #666;
}

    .mdl-layout__drawer-right .mdl-navigation .mdl-navigation__link {
        display: block;
        -webkit-flex-shrink: 0;
        -ms-flex-negative: 0;
        flex-shrink: 0;
        padding: 16px 40px;
        margin: 0;
        color: #eeeeee;
    }

@media screen and (max-width: 1024px) {
    .mdl-layout__drawer-right .mdl-navigation .mdl-navigation__link {
        padding: 16px 16px;
    }
}

.mdl-layout__drawer-right .mdl-navigation .mdl-navigation__link:hover {
    background-color: rgb(224,224,224);
}

.mdl-layout__drawer-right .mdl-navigation .mdl-navigation__link--current {
    background-color: rgb(224,224,224);
    color: rgb(0,0,0);
}
