html,
body {
    height: 100%;
}

.margin-1rem {
    margin: 1rem;
}

.margin-top-1rem {
    margin-top: 1rem;
}

.margin-top-3rem {
    margin-top: 3rem;
}

.margin-bottom-1rem {
    margin-bottom: 1rem;
}

.no-padding-left {
    padding-left: 0 !important;
}

.no-padding-right {
    padding-right: 0 !important;
}

/******************** plupload ********************/

.plupload_wrapper {
    min-width: 320px;
}

.plupload_container {
    background: none;
    height: 100%;
}

.plupload_filelist {
    display: none;
}

.plupload_container .plupload_header {
    background: none;
    border: none;
}

.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {
    border:  none;
}

.plupload_message.ui-state-highlight p {
    background: #d0ffff;
    border: none;
}

.plupload_message.ui-state-error p {
    background: #eaa5a5;
    border: none;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
    background: #eaa5a5;
    border: none;
}

.plupload_container {
    border: none;
}

.plupload_content {
    overflow-y: visible;
}

.plupload_content,
.plupload_view_thumbs .plupload_content {
    top: 15px;
    margin: 0 auto;
    width: 300px;
}

@media (min-width:605px) {
    .plupload_content,
    .plupload_view_thumbs .plupload_content {
        margin: 0 auto;
        width: 605px;
    }
}

@media (min-width:910px) {
    .plupload_content,
    .plupload_view_thumbs .plupload_content {
        margin: 0 auto;
        width: 910px;
    }
}

@media (min-width:1215px) {
    .plupload_content,
    .plupload_view_thumbs .plupload_content {
        margin: 0 auto;
        width: 1215px;
    }
}

.plupload_view_thumbs .plupload_file {
    padding: 0;
    margin: 0;
}

.plupload_view_thumbs div.plupload_file_action {
    width: initial;
    right: 5px;
    top: 5px;
}

.btn-small {
    height: 20px;
    width: 20px;
    line-height: 24px;
}

.icon-small {
    font-size: 12px;
    line-height: 20px;
}

/******************* Loading *******************/

.centered {
    /*position: fixed;*/
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loading-modal {
    position: fixed;
    z-index: 1100;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, .8);
}

.loading-container {
    height: 50px;
    position: relative;
    width: 50px;
    border-radius: 100%;
}

/******************* Ribbon ********************/

.ribbon {
    position: absolute;
    left: -5px;
    top: -5px;
    z-index: 1;
    overflow: hidden;
    width: 75px;
    height: 75px;
    text-align: right;
}

.ribbon span {
    /*font-size: 10px;*/
    /*font-weight: bold;*/
    color: #FFF;
    /*text-transform: uppercase;*/
    text-align: center;
    text-shadow: 0 0 5px #444;
    line-height: 20px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    width: 100px;
    display: block;
    background: #e83b3f;
    /*background: linear-gradient(#F70505 0%, #8F0808 100%);*/
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 19px;
    left: -21px;
}

.ribbon span::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 100%;
    z-index: -1;
    border: 3px solid #8F0808;
    border-right-color: transparent;
    border-bottom-color: transparent;
}

.ribbon span::after {
    content: "";
    position: absolute;
    right: 0px;
    top: 100%;
    z-index: -1;
    border: 3px solid #8F0808;
    border-bottom-color: transparent;
    border-left-color: transparent;
}

/******************* Materialize ********************/

/* label underline focus color */
.input-field input[type=text]:focus {
    border-bottom: 1px solid rgb(1, 87, 155);
    box-shadow: 0 1px 0 0 rgb(2, 119, 189);
}

.input-field input[type=text]:focus + label {
    color: rgb(1, 87, 155);
}

.btn {
    overflow: hidden;
}
.btn:hover:before {
    opacity:1;
}

.btn:before {
    content: '';
    opacity: 0;
    background-color: rgba(255,255,255,0.1);
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    transition: opacity .2s;
    z-index: -1;
}
.collection {
    margin: 0
}

.collection .collection-item.avatar {
    padding-left: 20px;
    min-height: 0;
}

.collection .collection-item.avatar .secondary-content {
    top: 20px;
    right: 20px;
}

nav .brand-logo {
    font-size: 1.4rem;
}