/* Reset */

h1, h2, h3, h4, h5, h6, body, input, ul, p {
    margin: 0;
    padding: 0;
    border: 0;
}

*,
*:before,
*:after,
.border-box {
    box-sizing: border-box;
}

*:before,
*:after {
    content: ' ';
}

a {
    text-decoration: none;
    color: #666;
}

/* Base */

body {
    background: #FFF;
    color: #000;
    font-family: 'Arial', sans-serif;
}

img {
    object-fit: contain;
}

.preferences-dashboard {
    width: 930px;
    margin: 1px auto;
    padding: 0 10px;
}

.preferences-dashboard .logo {
    width: 180px;
    height: 100px;
    /*background: url("../image/logo-sams.svg") no-repeat 0 0 / 100% auto;*/
    text-indent: -9999em;
    display: inline-block;
    margin: 10px 40px 0 45px;
}

.preferences-dashboard .panel {
    background: #FFF;
    padding: 20px 50px;

    max-width: 940px;
    width: 100%;
    margin: 0 auto 50px;
}

.preferences-dashboard .panel h2 {
    font-size: 20px;
    margin-bottom: 20px;
}

.preferences-dashboard .panel .title {
    color: #18569B;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
}

.preferences-dashboard .panel .sub-title {
    font-size: 15px;
    font-weight: lighter;
    margin-bottom: 0px;
}

.preferences-dashboard .panel .sub-title strong {
    color: #18569B;
}

.preferences-dashboard .message {
    color: #6b8818;
    font-size: 14px;
    padding: 12px 12px 12px 45px;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.preferences-dashboard .message.success {
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAMCAMAAABYzB2OAAAAV1BMVEUAAABriBdriBdriBdriBdriBdriBdriBdriBdriBdriBdriBdriBdriBdriBdriBdriBdriBdriBdriBdriBdriBdriBdriBdriBdriBdriBdriBdriBeWGuXfAAAAHHRSTlMA0BoO+vIvBuTjxremR0Mj69e+n5mXh3ZlVTsrzrzYBgAAAGNJREFUCNddjlcSgCAMREO3gr3u/c+pIg7C+8nmZXYmlOGYzszRgaVml+hdYlagEn9hZqAxd+Bj8KIGFp8qMP5MziC392gVypNIl1AtBXQBZVuFIjz0VaSvR8QA1IISTDOZuF3EVAQqsV1MnAAAAABJRU5ErkJggg==) 15px center no-repeat #d6e5ad;
}

.preferences-dashboard .message.error {
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAMAAABhq6zVAAAANlBMVEUAAAC8CzK8CzK8CzK8CzK8CzK8CzK8CzK8CzK8CzK8CzK8CzK8CzK8CzK8CzK8CzK8CzK8CzIoUS7wAAAAEXRSTlMApg0FoZ0I9LGuq0+1U15aWVJRsYAAAABZSURBVAjXNU1RFoAwCEI3W61Wef/LBtvLHxABgTM2cLZ6k7c0bsWyPYjMtIJKOOBGqJIup0Hi4poQ31Xzn3qZnQopTpt31YWMDpO4qg1vo7SeDmB0n9E48QFpgQSmlwc1EgAAAABJRU5ErkJggg==) 15px center no-repeat #f85c7f;
    color: #FFF;
}

.preferences-dashboard .panel .options {
    list-style: none;
    margin-bottom: 30px;
}

.preferences-dashboard .panel .options li {
    display: block;
    width: 100%;
    border-bottom: 1px solid #eaeaea;
    font-size: 15px;
    padding: 13px 0;
    line-height: 1;
    position: relative;
}

.preferences-dashboard .panel .options li.not-allowed::before {
    background: black;
    width: 100%;
    height: 100%;
    position: absolute;
    content: ' ';
    background: #FFF;
    opacity: 0.7;
    left: 0;
    top: 0;
    cursor: not-allowed;
    z-index: 10;
}

.preferences-dashboard .panel .options li label {
    cursor: pointer;

}

.cancel-options li label {
    cursor: pointer;
    display: block;
    height: 25px;
}

.preferences-dashboard .panel .options li label input {
    float: left;
}

.preferences-dashboard .panel .options li label span {
    margin-top: 5px;
    margin-left: 10px;
    float: left;
}

.preferences-dashboard .panel .options li.opt-all {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
}

.wraper-button {
    float: right;
    width: 100%;
    height: 100px;
    clear: both;
    background: #FFF;
    text-align: center;
}

.preferences-dashboard .panel .wrap-btn {
    display: inline-block;
    margin-left: 10px;
    text-align: right;
}

.preferences-dashboard .panel .btn-save,
.preferences-dashboard .panel .btn-cancel {
    /*background: #18569B;*/
    background: #1e5bc6;
    border-radius: 100px;
    font-size: 14px;
    color: #FFF;
    line-height: 1;
    padding: 15px 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    cursor: pointer;
}

.preferences-dashboard .panel .btn-cancel {
    background: #666;
}

.preferences-dashboard .panel .btn-save:hover,
.preferences-dashboard .panel .btn-cancel:hover {
    /*background: #FFC24C;*/
    background: #009bdb;
}

.preferences-dashboard .copyright {
    /*position: relative;*/
    text-align: center;
    padding: 0 15px;
    font-size: 12px;
    margin-top: 140px;
    /*margin-bottom: 100px;*/
}

.preferences-dashboard .copyright a {
    text-decoration: underline;
}

.onoffswitch {
    position: relative;
    width: 40px;
    float: right;
    position: relative;
    top: -5px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.onoffswitch-checkbox {
    display: none;
}

.onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    height: 25px;
    padding: 0;
    border-radius: 22px;
    background-color: #e5e7ea;
    transition: background-color 0.3s ease-in;
}

.onoffswitch-label:before {
    content: "";
    display: block;
    width: 23px;
    height: 23px;
    margin: 0px;
    background: #FFFFFF;
    position: absolute;
    top: 1px;
    bottom: 0;
    right: 17px;
    border-radius: 100%;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in 0s;
}

.onoffswitch-checkbox:checked + .onoffswitch-label {
    background-color: green;
}

.onoffswitch-checkbox:checked + .onoffswitch-label, .onoffswitch-checkbox:checked + .onoffswitch-label:before {
    border-color: green;
}

.onoffswitch-checkbox:checked + .onoffswitch-label:before {
    right: 0px;
}

.radio {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
    border: 4px solid #ccc;
    border-top-color: #bbb;
    border-left-color: #bbb;
    background: #fff;
    width: 25px;
    height: 25px;
    border-radius: 50%;
}

.radio:checked {
    border: 10px solid #18569B;
}

.no-padding {
    padding: 0;
}

@media only screen and (max-width: 640px) {
    .preferences-dashboard {
        width: 100%;
    }

    .preferences-dashboard .logo {
        display: block;
        margin: 0 auto;
    }

    .preferences-dashboard .panel {
        padding: 15px;
    }

    .preferences-dashboard .panel .btn-save {
        padding-left: 10px;
        padding-right: 10px;
        display: inline-block;
        text-align: center;
        float: none;
    }

    .wraper-button {
        float: none;
        text-align: center;
    }

    .preferences-dashboard .panel .wrap-btn {
        width: 100%;
        text-align: center;
    }

    .preferences-dashboard .panel .btn-save {
        padding-left: 30px;
        padding-right: 30px;
    }

    .preferences-dashboard .panel .options li {
        font-size: 11px;
    }
}

.outros-desc {
    display: none;
}

#msg_erro {
    display: none;
}

#msg_erro_outros {
    display: none;
}

.alerta {
    padding: 25px;
    border: 1px solid gray;
    border-radius: 3px;
    margin: 10px;
    font-size: 18px;
}

.error {
    border-color: #e8273b;
    color: #FFF;
    background-color: #ed5565;
}

.sucesso {
    border-color: #87c940;
    color: #FFF;
    background-color: #a0d468;
}

.atencao {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.info {
    border-color: #2f80e7;
    color: #FFF;
    background-color: #5d9cec;
}