﻿/*
 * 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;
}

[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;
}