﻿/*
 * Toggle Switch
 */
.toggle-switch {
    display: inline-block;
    vertical-align: top;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .toggle-switch .ts-label {
        display: inline-block;
        margin: 0 20px 0 0;
        vertical-align: top;
        -webkit-transition: color 0.56s cubic-bezier(0.4, 0, 0.2, 1);
        transition: color 0.56s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .toggle-switch .ts-helper {
        display: inline-block;
        position: relative;
        width: 40px;
        height: 16px;
        border-radius: 8px;
        background: rgba(0, 0, 0, 0.26);
        -webkit-transition: background 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        transition: background 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        vertical-align: middle;
        cursor: pointer;
    }

        .toggle-switch .ts-helper:before {
            content: '';
            position: absolute;
            top: -4px;
            left: -4px;
            width: 24px;
            height: 24px;
            background: #fafafa;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
            border-radius: 50%;
            webkit-transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1), background 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
            transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1), background 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        }

    .toggle-switch:not(.disabled) .ts-helper:active:before {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28), 0 0 0 20px rgba(128, 128, 128, 0.1);
    }

    .toggle-switch input {
        position: absolute;
        z-index: 1;
        width: 46px;
        margin: 0 0 0 -4px;
        height: 24px;
        opacity: 0;
        filter: alpha(opacity=0);
        cursor: pointer;
    }

        .toggle-switch input:checked ~ .ts-helper:before {
            left: 20px;
        }

    .toggle-switch:not([data-ts-color]) input:not(:disabled):checked ~ .ts-helper {
        background: rgba(0, 150, 136, 0.5);
    }

        .toggle-switch:not([data-ts-color]) input:not(:disabled):checked ~ .ts-helper:before {
            background: #009688;
        }

        .toggle-switch:not([data-ts-color]) input:not(:disabled):checked ~ .ts-helper:active:before {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28), 0 0 0 20px rgba(0, 150, 136, 0.2);
        }

    .toggle-switch.disabled {
        opacity: 0.6;
        filter: alpha(opacity=60);
    }

    .toggle-switch > input[readonly] {
        opacity: 0;
        filter: alpha(opacity=0);
    }

        .toggle-switch > input[readonly] ~ .ts-helper {
            opacity: 0.6;
            filter: alpha(opacity=60);
        }

    .toggle-switch[data-ts-color="red"] input:not(:disabled):checked ~ .ts-helper {
        background: rgba(244, 67, 54, 0.5);
    }

        .toggle-switch[data-ts-color="red"] input:not(:disabled):checked ~ .ts-helper:before {
            background: #f44336;
        }

        .toggle-switch[data-ts-color="red"] input:not(:disabled):checked ~ .ts-helper:active:before {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28), 0 0 0 20px rgba(244, 67, 54, 0.2);
        }

    .toggle-switch[data-ts-color="blue"] input:not(:disabled):checked ~ .ts-helper {
        background: rgba(33, 150, 243, 0.5);
    }

        .toggle-switch[data-ts-color="blue"] input:not(:disabled):checked ~ .ts-helper:before {
            background: #2196f3;
        }

        .toggle-switch[data-ts-color="blue"] input:not(:disabled):checked ~ .ts-helper:active:before {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28), 0 0 0 20px rgba(33, 150, 243, 0.2);
        }

    .toggle-switch[data-ts-color="amber"] input:not(:disabled):checked ~ .ts-helper {
        background: rgba(255, 193, 7, 0.5);
    }

        .toggle-switch[data-ts-color="amber"] input:not(:disabled):checked ~ .ts-helper:before {
            background: #ffc107;
        }

        .toggle-switch[data-ts-color="amber"] input:not(:disabled):checked ~ .ts-helper:active:before {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28), 0 0 0 20px rgba(255, 193, 7, 0.2);
        }

    .toggle-switch[data-ts-color="purple"] input:not(:disabled):checked ~ .ts-helper {
        background: rgba(156, 39, 176, 0.5);
    }

        .toggle-switch[data-ts-color="purple"] input:not(:disabled):checked ~ .ts-helper:before {
            background: #9c27b0;
        }

        .toggle-switch[data-ts-color="purple"] input:not(:disabled):checked ~ .ts-helper:active:before {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28), 0 0 0 20px rgba(156, 39, 176, 0.2);
        }

    .toggle-switch[data-ts-color="pink"] input:not(:disabled):checked ~ .ts-helper {
        background: rgba(233, 30, 99, 0.5);
    }

        .toggle-switch[data-ts-color="pink"] input:not(:disabled):checked ~ .ts-helper:before {
            background: #e91e63;
        }

        .toggle-switch[data-ts-color="pink"] input:not(:disabled):checked ~ .ts-helper:active:before {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28), 0 0 0 20px rgba(233, 30, 99, 0.2);
        }

    .toggle-switch[data-ts-color="lime"] input:not(:disabled):checked ~ .ts-helper {
        background: rgba(205, 220, 57, 0.5);
    }

        .toggle-switch[data-ts-color="lime"] input:not(:disabled):checked ~ .ts-helper:before {
            background: #cddc39;
        }

        .toggle-switch[data-ts-color="lime"] input:not(:disabled):checked ~ .ts-helper:active:before {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28), 0 0 0 20px rgba(205, 220, 57, 0.2);
        }

    .toggle-switch[data-ts-color="cyan"] input:not(:disabled):checked ~ .ts-helper {
        background: rgba(0, 188, 212, 0.5);
    }

        .toggle-switch[data-ts-color="cyan"] input:not(:disabled):checked ~ .ts-helper:before {
            background: #00bcd4;
        }

        .toggle-switch[data-ts-color="cyan"] input:not(:disabled):checked ~ .ts-helper:active:before {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28), 0 0 0 20px rgba(0, 188, 212, 0.2);
        }

    .toggle-switch[data-ts-color="green"] input:not(:disabled):checked ~ .ts-helper {
        background: rgba(76, 175, 80, 0.5);
    }

        .toggle-switch[data-ts-color="green"] input:not(:disabled):checked ~ .ts-helper:before {
            background: #4caf50;
        }

        .toggle-switch[data-ts-color="green"] input:not(:disabled):checked ~ .ts-helper:active:before {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28), 0 0 0 20px rgba(76, 175, 80, 0.2);
        }

/* Full Width Layout */
@media (min-width: 1200px) {
    #toggle-width .toggle-switch input:checked ~ .ts-helper {
        background: rgba(0, 0, 0, 0.26);
    }

        #toggle-width .toggle-switch input:checked ~ .ts-helper:before {
            left: 18px;
            background: #fff;
        }
}

.btn-ico-text > i {
    padding-right: 5px;
}

.link-ico-text > i {
    padding-right: 5px;
}

/* LINK com ícone */
a > .fa + span {
    margin-left: 5px;
}

a > .glyphicon + span {
    margin-left: 5px;
}

button + button {
    margin-left: 5px;
}

a + a {
    margin-left: 5px;
}

.pld-fieldbutton {
    text-align: center;
    /*Inicio - Add por Fabio em 30/03/2016 para resolver o problema do botão de "Buscar CEP"*/
    padding-left: 0;
    /*Fim    - Add por Fabio em 30/03/2016 para resolver o problema do botão de "Buscar CEP"*/
}

    .pld-fieldbutton > label {
        display: block;
        color: transparent;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

.pld-required::before {
    content: "* ";
}

/* Alinhamentos padrões */
.pld-horizontal-align-left {
    text-align: left;
}

.pld-horizontal-align-right {
    text-align: right;
}

.pld-horizontal-align-center {
    text-align: center;
}

/* Margem básica para página quando não tiver o menu */
.pld-page-no-menu {
    margin-left: 5%;
    margin-right: 5%;
}

@media (max-width:767px) {
    .pld-page-no-menu {
        margin-left: 1%;
        margin-right: 1%;
    }
}

.pld-page-no-menu {
    background: #fff;
}

.pld-page-no-menu-logo {
    font-size: 35px;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 300;
}

    .pld-page-no-menu-logo a {
        color: #444;
    }

.pld-page-no-menu .pld-panel {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
}

div[data-component="pld-radiobuttonlist"] > .pld-input-label {
    display: block;
}

div[data-component="pld-checkboxlist"] > .pld-input-label {
    display: block;
}

div[data-component="pld-radiobuttonlist"] > label:not(.pld-input-label) {
    margin-right: 20px;
}

div[data-component="pld-checkboxlist"] > label:not(.pld-input-label) {
    margin-right: 20px;
}

div[data-component="pld-checkboxsingle"] > label:not(.pld-input-label) {
    margin-left: 10px;
}

[data-component='pld-radiobuttonlist'] > label:not(.pld-input-label) > div {
    margin-right: 5px;
}

[data-component='pld-checkboxlist'] > label:not(.pld-input-label) > div {
    margin-right: 5px;
}

.select2-container {
    width: 100% !important;
}

.pld-input-textarea {
    width: 100% !important;
    display: block;
}

.pld-notransition {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}

.pld-highlight {
    font-weight: bold;
}

.pld-page-loading {
    opacity: 0.5;
    background: #000;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 1051;
    display: flex;
    align-items: center;
    justify-content: center;

}

a.disabled {
    pointer-events: none;
    cursor: default;
    color: #dddddd !important;
}


.pld-input-label-required {
    color: red;
    margin-left: 2px;
    font-size: medium;
    float: right;
    position: absolute;
    margin-top: -2px;
}

.help-block > span
{
    position:absolute;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
}

.cssload-container {
    margin: 0 auto;
    display: contents;
}

.cssload-container *, .cssload-container *:before, .cssload-container *:after {
    box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.cssload-container {
    margin: 21px auto;
    position: relative;
    width: 42px;
    height: 42px;
}

    .cssload-container > div {
        float: left;
        background: rgb(255,255,255);
        height: 100%;
        width: 2px;
        margin-right: 0px;
        display: inline-block;
    }

.cssload-container {
    position: relative;
    width: 42px;
    height: 42px;
}

    .cssload-container > div {
        background: transparent;
        border: 3px solid transparent;
        border-color: rgb(138,138,138) transparent;
        border-radius: 100%;
        -o-border-radius: 100%;
        -ms-border-radius: 100%;
        -webkit-border-radius: 100%;
        -moz-border-radius: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate"("-50%, -50%")";
        -o-transform: translate"("-50%, -50%")";
        -ms-transform: translate"("-50%, -50%")";
        -webkit-transform: translate"("-50%, -50%")";
        -moz-transform: translate"("-50%, -50%")";
        transform: translate(-50%, -50%) rotate(0);
        -o-transform: translate(-50%, -50%) rotate(0);
        -ms-transform: translate(-50%, -50%) rotate(0);
        -webkit-transform: translate(-50%, -50%) rotate(0);
        -moz-transform: translate(-50%, -50%) rotate(0);
        animation: cssload-wave 2.3s infinite ease-in-out;
        -o-animation: cssload-wave 2.3s infinite ease-in-out;
        -ms-animation: cssload-wave 2.3s infinite ease-in-out;
        -webkit-animation: cssload-wave 2.3s infinite ease-in-out;
        -moz-animation: cssload-wave 2.3s infinite ease-in-out;
    }

    .cssload-container .cssload-shaft1 {
        animation-delay: 0.12s;
        -o-animation-delay: 0.12s;
        -ms-animation-delay: 0.12s;
        -webkit-animation-delay: 0.12s;
        -moz-animation-delay: 0.12s;
        width: 8px;
        height: 8px;
    }

    .cssload-container .cssload-shaft2 {
        animation-delay: 0.23s;
        -o-animation-delay: 0.23s;
        -ms-animation-delay: 0.23s;
        -webkit-animation-delay: 0.23s;
        -moz-animation-delay: 0.23s;
        width: 11px;
        height: 11px;
    }

    .cssload-container .cssload-shaft3 {
        animation-delay: 0.35s;
        -o-animation-delay: 0.35s;
        -ms-animation-delay: 0.35s;
        -webkit-animation-delay: 0.35s;
        -moz-animation-delay: 0.35s;
        width: 15px;
        height: 15px;
    }

    .cssload-container .cssload-shaft4 {
        animation-delay: 0.46s;
        -o-animation-delay: 0.46s;
        -ms-animation-delay: 0.46s;
        -webkit-animation-delay: 0.46s;
        -moz-animation-delay: 0.46s;
        width: 19px;
        height: 19px;
    }

    .cssload-container .cssload-shaft5 {
        animation-delay: 0.58s;
        -o-animation-delay: 0.58s;
        -ms-animation-delay: 0.58s;
        -webkit-animation-delay: 0.58s;
        -moz-animation-delay: 0.58s;
        width: 23px;
        height: 23px;
    }

    .cssload-container .cssload-shaft6 {
        animation-delay: 0.69s;
        -o-animation-delay: 0.69s;
        -ms-animation-delay: 0.69s;
        -webkit-animation-delay: 0.69s;
        -moz-animation-delay: 0.69s;
        width: 28px;
        height: 28px;
    }

    .cssload-container .cssload-shaft7 {
        animation-delay: 0.81s;
        -o-animation-delay: 0.81s;
        -ms-animation-delay: 0.81s;
        -webkit-animation-delay: 0.81s;
        -moz-animation-delay: 0.81s;
        width: 32px;
        height: 32px;
    }

    .cssload-container .cssload-shaft8 {
        animation-delay: 0.92s;
        -o-animation-delay: 0.92s;
        -ms-animation-delay: 0.92s;
        -webkit-animation-delay: 0.92s;
        -moz-animation-delay: 0.92s;
        width: 34px;
        height: 34px;
    }

    .cssload-container .cssload-shaft9 {
        animation-delay: 1.04s;
        -o-animation-delay: 1.04s;
        -ms-animation-delay: 1.04s;
        -webkit-animation-delay: 1.04s;
        -moz-animation-delay: 1.04s;
        width: 36px;
        height: 36px;
    }

    .cssload-container .cssload-shaft10 {
        animation-delay: 1.15s;
        -o-animation-delay: 1.15s;
        -ms-animation-delay: 1.15s;
        -webkit-animation-delay: 1.15s;
        -moz-animation-delay: 1.15s;
        width: 38px;
        height: 38px;
    }



@keyframes cssload-wave {
    50% {
        transform: translate(-50%, -50%) rotate(360deg);
        border-color: rgb(255,255,255) transparent;
    }
}

@-o-keyframes cssload-wave {
    50% {
        -o-transform: translate(-50%, -50%) rotate(360deg);
        border-color: rgb(255,255,255) transparent;
    }
}

@-ms-keyframes cssload-wave {
    50% {
        -ms-transform: translate(-50%, -50%) rotate(360deg);
        border-color: rgb(255,255,255) transparent;
    }
}

@-webkit-keyframes cssload-wave {
    50% {
        -webkit-transform: translate(-50%, -50%) rotate(360deg);
        border-color: rgb(255,255,255) transparent;
    }
}

@-moz-keyframes cssload-wave {
    50% {
        -moz-transform: translate(-50%, -50%) rotate(360deg);
        border-color: rgb(255,255,255) transparent;
    }
}







/* Loading novo */
.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-ellipsis div {
        position: absolute;
        top: 33px;
        width: 13px;
        height: 13px;
        border-radius: 50%;
        background: #fff;
        animation-timing-function: cubic-bezier(0, 1, 1, 0);
    }

        .lds-ellipsis div:nth-child(1) {
            left: 8px;
            animation: lds-ellipsis1 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(2) {
            left: 8px;
            animation: lds-ellipsis2 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(3) {
            left: 32px;
            animation: lds-ellipsis2 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(4) {
            left: 56px;
            animation: lds-ellipsis3 0.6s infinite;
        }

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}




.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-ring div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 64px;
        height: 64px;
        margin: 8px;
        border: 8px solid #fff;
        border-radius: 50%;
        animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: #fff transparent transparent transparent;
    }

        .lds-ring div:nth-child(1) {
            animation-delay: -0.45s;
        }

        .lds-ring div:nth-child(2) {
            animation-delay: -0.3s;
        }

        .lds-ring div:nth-child(3) {
            animation-delay: -0.15s;
        }

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* FIX para o datepicker que não está abrindo */
.bootstrap-datetimepicker-widget {
    display: block;
}