﻿/*Custom*/
.pure-form-aligned .pure-control-group label {
    width: 12em;
}

.header {
    margin-bottom: 25px;
}

legend .action, td .action {
    float: right;
    text-decoration: none !important;
    color: #0078e7 !important;
}

input.ng-dirty.ng-invalid {
    border-color: red;
}

.back-link {
    position: fixed;
    display: block;
    top: 0;
    right: 0;
    background: #000;
    background: rgba(0,0,0,0.7);
    font-size: 10px;
    z-index: 10;
    width: 2em;
    height: auto;
    padding: 2.1em 1.6em;
}

.pure-menu-item.active {
    background: #222;
}

#menu .pure-menu-item div {
    color: #1f8cd5;
    border: none;
    padding: 1.4em 0 0.2em 0.6em;
    font-size: 110%;
}

.pure-table {
    width: 100%;
}

p.info, p span.info {
    font-size: 1em;
}

.selection-buttons, .volume-controls, .preset-buttons {
    text-align: center;
}

    .selection-buttons .pure-button, .volume-controls > div, .preset-buttons .preset-button {
        width: 100%;
        /*max-width: 450px;*/
        margin-top: 10px;
        margin-bottom: 10px;
    }

        .selection-buttons .pure-button.active {
            background: rgb(28, 184, 65);
        }


/* Presets */
.group:after {
    content: "";
    display: table;
    clear: both;
}

.preset-buttons .preset-button .pure-button {
    width: 82%;
    float: left;
}

.preset-buttons .preset-button .preset-information-button {
    width: 15%;
    float: right;
}

.preset-table {
    margin-top: 10px;
}

tr, td {
    text-align: left;
}



/* Settings */
h3 {
    width: 100%;
    padding: .3em 0;
    margin-top: .9em;
    margin-bottom: .7em;
    font-weight: 300;
    color: #333;
    font-size: 1.7em;
    text-align: center;
    /*border-bottom: 1px solid #e5e5e5;*/
}

h4 {
    width: 100%;
    padding: .3em 0;
    margin-top: .5em;
    margin-bottom: .5em;
    font-weight: 300;
    font-size: 1.1em;
}

.pure-form legend {
    font-size: 20px;
}

.pure-control-group {
    margin-bottom: 24px;
}

    .pure-control-group p.label, .pure-control-group label {
        margin: .25em 0;
    }

    .pure-control-group p.information {
        display: block;
        margin: .25em 0;
        padding: .5em 0;
        line-height: 18px;
        color: rgb(57, 57, 57);
        font-weight: 600;
        /*border: 1px solid #ccc;*/
    }

    .pure-control-group button, .pure-control-group button:hover, .pure-control-group button:focus {
        color: rgb(57, 57, 57);
        display: block;
        background-color: white;
        background-image: none;
        border: 1px solid #ccc;
        -webkit-box-shadow: none;
        -ms-box-shadow: none;
        box-shadow: none;
        -ms-border-radius: 0;
        border-radius: 0;
        margin: .25em 0;
        padding: .5em .6em;
    }

        .pure-control-group button:focus {
        }

        .pure-control-group button.active {
            border-color: rgb(0, 128, 218);
        }

.top-10 {
    margin-top: 10px;
}

.top-20 {
    margin-top: 20px;
}

.top-30 {
    margin-top: 30px;
}

.top-40 {
    margin-top: 40px;
}

.pure-form input[type=text], .pure-form input[type=password], .pure-form input[type=email],
.pure-form input[type=url], .pure-form input[type=date], .pure-form input[type=month],
.pure-form input[type=time], .pure-form input[type=datetime], .pure-form input[type=datetime-local],
.pure-form input[type=week], .pure-form input[type=number], .pure-form input[type=search],
.pure-form input[type=tel], .pure-form input[type=color], .pure-form select, .pure-form textarea {
    color: rgb(57, 57, 57);
    -webkit-box-shadow: none;
    -ms-box-shadow: none;
    box-shadow: none;
    -ms-border-radius: 0;
    border-radius: 0;
}

.passcode-message, .passcode-buttons {
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
}

.passcode-view {
    max-width: 150px;
    margin: 0 auto;
    text-align: center;
}

    .passcode-view .passcode-digit {
        height: 30px;
        font-size: 22px;
        margin-left: 10px;
        margin-right: 10px;
    }

.passcode-buttons .pure-button {
    font-size: 22px;
    margin-bottom: 15px;
    width: 70px;
}



/* XS */
@media screen and (max-width: 20.5em) {
    .passcode-buttons .pure-button {
        font-size: 16px;
        margin-bottom: 12px;
        width: 50px;
    }
}

/* SM */
@media screen and (min-width: 35.5em) {
}

/* MD */
@media screen and (min-width: 48em) {
    .selection-buttons .pure-button, .volume-controls > div, .preset-buttons .preset-button {
        width: 80%;
        display: inline-block;
    }

        .preset-buttons .preset-button .pure-button {
            width: 89%;
        }

        .preset-buttons .preset-button .preset-information-button {
            width: 9%;
        }
}

/* LG */
@media screen and (min-width: 64em) {
    .selection-buttons .pure-button, .volume-controls > div, .preset-buttons .preset-button {
        width: 80%;
        display: inline-block;
    }
}

/* XL */
@media screen and (min-width: 80em) {
    .selection-buttons .pure-button, .volume-controls > div, .preset-buttons .preset-button {
        width: 70%;
        display: inline-block;
    }
}

/* Volume controls */

.volume-controls > div > div {
    display: table;
    width: 100%;
}


.volume-icon {
    display: table-cell;
    width: 30px;
    line-height: 34px;
    padding: 0 4px 0 0;
    text-align: center;
    cursor: pointer;
}

rzslider {
    margin-top: 15px;
}

.volume-view {
    display: table-cell;
    width: auto;
    padding: 0 4px 0 4px;
    text-align: left;
}

    .volume-view .rz-bubble {
        -ms-opacity: 0 !important;
        opacity: 0 !important;
        display: none !important;
    }

.volume-icon > span {
    display: inline-block;
    height: 34px;
    vertical-align: middle;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
}


.volume-icon > span {
    text-align: center;
    font-size: 33px;
}


.volume-mute {
    display: table-cell;
    width: 70px;
    padding: 0 0 0 4px;
}

    .volume-mute > div {
        width: 100%;
    }


/* Spinner */
.spinner {
    margin: 200px auto;
    width: 50px;
    height: 40px;
    text-align: center;
    font-size: 10px;
}

    .spinner > div {
        background-color: rgb(0, 128, 218);
        height: 100%;
        width: 6px;
        display: inline-block;
        -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
        animation: sk-stretchdelay 1.2s infinite ease-in-out;
    }

    .spinner .rect2 {
        -webkit-animation-delay: -1.1s;
        animation-delay: -1.1s;
    }

    .spinner .rect3 {
        -webkit-animation-delay: -1.0s;
        animation-delay: -1.0s;
    }

    .spinner .rect4 {
        -webkit-animation-delay: -0.9s;
        animation-delay: -0.9s;
    }

    .spinner .rect5 {
        -webkit-animation-delay: -0.8s;
        animation-delay: -0.8s;
    }

@-webkit-keyframes sk-stretchdelay {
    0%, 40%, 100% {
        -webkit-transform: scaleY(0.4);
    }

    20% {
        -webkit-transform: scaleY(1.0);
    }
}

@keyframes sk-stretchdelay {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0);
    }
}

/* Alert box */
#alert-box {
    position: fixed;
    z-index: 6001;
    padding: 10px 50px;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    line-height: 1.6;
    min-height: 25px;
    overflow: hidden;
    color: black;
    -webkit-box-shadow: 0 0 5px black;
    -moz-box-shadow: 0 0 5px black;
    box-shadow: 0 0 5px black;
}

    #alert-box a {
        text-decoration: none !important;
        color: rgb(25, 69, 178) !important;
    }



    #alert-box.alert-error {
        background-color: rgb(243, 80, 80);
    }

    #alert-box.alert-success {
        background-color: rgb(79, 211, 36);
    }


    #alert-box #alert-close {
        color: black !important;
    }

#alert-close.hidden {
    display: none;
}

.cssanimations.csstransforms #note {
    -webkit-transform: translateY(-50px);
    -webkit-animation: slideDown 2.5s 1.0s 1 ease forwards;
    -moz-transform: translateY(-50px);
    -moz-animation: slideDown 2.5s 1.0s 1 ease forwards;
}

#alert-close {
    position: fixed;
    z-index: 6002;
    right: 10px;
    top: 10px;
    font-size: 19px;
    width: 30px;
    cursor: pointer;
}

.cssanimations.csstransforms #close {
    display: none;
}

@-webkit-keyframes slideDown {
    0%, 100% {
        -webkit-transform: translateY(-50px);
    }

    10%, 90% {
        -webkit-transform: translateY(0px);
    }
}

@-moz-keyframes slideDown {
    0%, 100% {
        -moz-transform: translateY(-50px);
    }

    10%, 90% {
        -moz-transform: translateY(0px);
    }
}
