/*
 * OpenK Tecnologia em Sistemas LTDA
 * Av. Athayde de Deus Vieira, 69 - Tibery
 * CEP 38405-150 - Uberlandia/MG
 * +55 (34) 3238-2222 - comercial@openk.com.br

 * Author:AbraÃƒÂ¯Ã‚Â¿Ã‚Â½o P. M. R. B. Junior
 * E-mail [1]: abraao.junior@openk.com.br

 * ================================
   Base styles:opinionated defaults
   ================================
 */
html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #008c45;
    text-shadow: none;
    color: #fff;
}

::selection {
    background: #008c45;
    text-shadow: none;
    color: #fff;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio, canvas, iframe, img, svg, video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */
.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
* {
    box-sizing: border-box;
    transition: all .15s ease-out;
}

body {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    background-color: #006fb552;
    background-size: cover;
    background-position: center 0;
    background-repeat: no-repeat;
}

a:active {
    -webkit-filter: grayscale(1)
}

#login-panel {
    position: fixed;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background: #fff;
    text-align: center;
    opacity: 0;
    transform: translateX(10%);
    transition: all .7s ease-out;
    overflow-y: auto
}

#login-panel.show {
    opacity: 1;
    transform: none;
}

#login-panel .strip {
    width: 0;
    background: #008c45;
    opacity: .45;
    filter: alpha(opacity=45);
    right: 100%;
    top: 0;
    height: 100%;
    position: absolute;
    transition: all .7s ease-out;
    margin-left: -70px;
    transition-delay: .2s
}

#login-panel.show .strip {
    width: 70px
}

#login-panel img {
    max-width: 90%;
    transform: translateX(20px);
    opacity: 0;
    transition: all .7s ease-out;
    transition-delay: .3s;
}

#login-panel.show img {
    transform: none;
    opacity: 1;
}

#login-panel .login-content {
    width: 420px;
    padding: 80px 0 80px 80px;
    float: left;
}

#login-panel h2 {
    font-weight: 300;
    color: #ae252a;
    font-size: 2em;
    margin-bottom: 40px;
    margin-top: 30px;
    transform: translateX(20px);
    opacity: 0;
    transition: all .7s ease-out;
    transition-delay: .4s;
}

#login-panel.show h2 {
    transform: none;
    opacity: 1;
}

#login-panel a {
    color: #808080;
    font-size: 1.3em;
    text-decoration: none;
    display: block;
    margin-bottom: 60px;
    position: relative;
    opacity: 0;
    transition: all .7s ease-out;
    transition-delay: .6s;
    transform: translateX(20px);
}

#login-panel.show a {
    opacity: 1;
    transform: none;
}

#login-panel a:hover {
    color: #000;
}

#login-panel .btn-submit {
    width: 200px;
    margin: 0 auto;
    opacity: 0;
    transition: all .7s ease-out;
    transition-delay: .7s;
    transform: translateX(20px);
}

#login-panel.show .btn-submit {
    opacity: 1;
    transform: none;
}

#login-panel .form-control {
    opacity: 0;
    transition: all .7s ease-out;
    transition-delay: .5s;
    transform: translateX(20px);
}

#login-panel.show .form-control {
    opacity: 1;
    transform: none;
}

#modules-panel {
    text-align: center;
    display: block;
    clear: both;
    margin: 0 0 20px;
    align-items: center;
    width: 100%;
    justify-content: center;
}

#modules-panel > div {
    width: 255px;
    margin: 0 10px 130px;
    float: left;
    position: relative;
    z-index: 1;
}

#modules-panel .item .prefered {
    position: absolute;
    right: -6px;
    top: -10px;
    width: 32px;
    height: 32px;
    display: block;
    z-index: 20;
}

#modules-panel .item .prefered.mobile {
    display: none;
}

#modules-panel .item .set-prefered {
    display: none;
    position: absolute;
    bottom: -72px;
    left: 0;
    text-align: center;
    width: 100%;
    z-index: 30;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
}

#modules-panel .item .set-prefered:hover {
    text-decoration: underline;
}

#modules-panel .item:hover .set-prefered:not(.mobile) {
    display: block;
}

#modules-panel .item .prefered img {
    width: 100%;
    height: auto;
}

#modules-panel a.link {
    background: #fff;
    width: 255px;
    height: 255px;
    text-decoration: none;
    position: relative;
    z-index: 1;
    display: block;
    border-radius: 6px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

#modules-panel a.link img {
    margin: 60px 0;
    max-height: 135px;
}

/* dinamic background */
#modules-panel a.link > span.label {
    background: rgba(0, 140, 69, .7);
    display: table;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: -84px;
    font-weight: 500;
    padding: 0 25px;
    height: 90px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

#modules-panel a.link > span.label > span {
    display: block;
    font-size: 1.4em;
    color: #fff;
    vertical-align: middle;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    padding: 20px 0 0;
}

#modules-panel a.link:hover > span.label {
    background: rgba(0, 140, 69, .9);
}

#modules-panel a.link > span.hover {
    position: absolute;
    left: 0;
    top: 0;
    background: #008c45;
    opacity: 0;
    filter: alpha(opacity=0);
    width: 100%;
    height: 100%;
    display: table;
    color: #fff;
    font-size: 1.4em;
    padding: 0 30px;
    border-radius: 6px;
}

#modules-panel a.link:hover > span.hover {
    opacity: .9;
    filter: alpha(opacity=90);
}

#modules-panel a.link > span.hover > span {
    display: table-cell;
    vertical-align: middle;
}

#modules-panel a.link:hover > span.hover > span {
    transform: none;
}

#welcome {
    background: rgba(255, 255, 255, .9) center no-repeat;
    padding: 12px 20px 12px 20px;
    float: right;
    margin-bottom: 80px;
    color: #008c45;
    font-weight: 400;
    line-height: 35px;
    font-size: 1.2em;
    margin-right: 10px;
    border-radius: 4px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

#welcome:hover {
    background-color: #fff;
}

#welcome a {
    color: #008c45;
    font-size: 1.4em;
    text-decoration: none;
    float: right;
    margin-left: 80px;
}

#welcome a:hover {
    color: #000;
}

.container {
    width: 1100px;
    margin: 0 auto;
    padding: 40px 0 0;
}

#footer {
    background: #fff;
    float: left;
    width: 100%;
    padding: 0 0 20px;
}

#footer img {
    float: left;
    max-width: 150px;
    max-height: 100px;
}

#footer h3 {
    font-weight: 300;
    color: #ae252a;
    font-size: 2em;
    float: right;
    margin: 35px 20px 0;
}

.form-control {
    border-left: 0;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid #626262;
    width: 100%;
    font-size: 1.3em;
    padding: 5px 15px;
    margin-bottom: 20px;
}

.form-control:focus {
    outline: 0;
    border-bottom: 1px solid #626262;
}

.form-control:focus::-webkit-input-placeholder {
    color: #808080
}

.form-control:focus:-moz-placeholder {
    color: #808080
}

.form-control:focus::-moz-placeholder {
    color: #808080
}

.form-control:focus:-ms-input-placeholder {
    color: #808080
}

.form-control:focus::-webkit-input-placeholder {
    color: #000
}

.form-control:focus:-moz-placeholder {
    color: #000
}

.form-control:focus::-moz-placeholder {
    color: #000
}

.form-control:focus:-ms-input-placeholder {
    color: #000
}

@media only screen and (max-width: 800px) {
    #login-panel {
        width: 100%;
        position: static;
        float: left;
    }

    #login-panel .login-content {
        width: 100%;
        padding: 40px;
    }

    .container {
        width: 100%;
    }

    #modules-panel {
        display: block;
    }
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 1;
    }

    20% {
        transform: scale(25, 25);
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

.btn-submit {
    background: #ae252a;
    border: 0;
    display: block;
    text-align: center;
    font-weight: 400;
    color: #fff;
    font-size: 2em;
    padding: 15px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-submit:focus {
    outline: 0;
}

.btn-submit:after {
    content: ' ';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(0, 0, 0, .3);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn-submit:focus:not(:active):after {
    animation: ripple .5s ease-out;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */
/*
 * Hide visually and from screen readers
 */
.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */
.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap;
    /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */
.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.clearfix:before, .clearfix:after {
    content: " ";
    /* 1 */
    display: table;
    /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 1.25dppx), (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */
@media print {
    *, *:before, *:after {
        background: transparent !important;
        color: #000 !important;
        /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a, a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
    a[href^="#"]:after, a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }

    pre, blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */
    thead {
        display: table-header-group;
    }

    tr, img {
        page-break-inside: avoid;
    }

    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }

    h2, h3 {
        page-break-after: avoid;
    }
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px
}

.alert h4 {
    margin-top: 0;
    color: inherit
}

.alert .alert-link {
    font-weight: 700
}

.alert > p, .alert > ul {
    margin-bottom: 0
}

.alert > p + p {
    margin-top: 5px
}

.alert-dismissable, .alert-dismissible {
    padding-right: 35px
}

.alert-dismissable .close, .alert-dismissible .close {
    position: relative;
    top: -2px;
    right: -21px;
    color: inherit
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6
}

.alert-success hr {
    border-top-color: #c9e2b3
}

.alert-success .alert-link {
    color: #2b542c
}

.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1
}

.alert-info hr {
    border-top-color: #a6e1ec
}

.alert-info .alert-link {
    color: #245269
}

.alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc
}

.alert-warning hr {
    border-top-color: #f7e1b5
}

.alert-warning .alert-link {
    color: #66512c
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1
}

.alert-danger hr {
    border-top-color: #e4b9c0
}

.alert-danger .alert-link {
    color: #843534
}

.display-hide, .display-none {
    display: none
}

.hidden {
    display: none !important
}

.div-right {
    float: right;
    text-align: right;
}

.div-right a img {
    margin-top: 10%;
}

.version {
    font-size: 10px;
    margin-top: 50%;
    color: #828080;
}

.input-danger {
    outline: 0;
    border-bottom: 1px solid #ae252a;
}

.input-warning {
    outline: 0;
    border-bottom: 1px solid #856404;
}

.input-success {
    outline: 0;
    border-bottom: 1px solid #008c45;
}

.input-dafault {
    outline: 0;
    border-bottom: 1px solid #626262;
}

.alert-mensage {
    font-size: 11px;
}

.danger {
    color: #ae252a;
}

.warning {
    color: #856404;
}

.success {
    color: #008c45;
}

.dafault {
    color: #626262;
}

.mensage-password {
    font-size: 11px;
}

#progress {
    height: 10px;
    width: 100%;
}

#progress-bar {
    width: 0%;
    height: 50%;
    transition: width 500ms linear;
}

.progress-bar-invalid {
    background: #626262;
}

.progress-bar-danger {
    background: #d00;
}

.progress-bar-warning {
    background: #f50;
}

.progress-bar-success {
    background: #080;
}


@media screen and (max-width: 992px) {
    body > .container {
        padding: 20px 0;
    }

    #welcome {
        margin: 0 20px 40px;
        font-size: 14px;
        padding: 10px;
        float: none;
        line-height: 40px;
    }

    #welcome img {
        margin-right: 5px !important;
    }

    #modules-panel {
        padding: 0 20px;
    }

    #modules-panel > div {
        width: 100%;
        margin: 0 0 90px;
    }

    #modules-panel a.link img {
        margin: 20px 0;
    }

    #modules-panel a.link {
        height: 180px;
        width: 100%;
    }

    #modules-panel a.link > span.label {
        height: 75px;
        bottom: -70px;
    }

    #welcome a {
        margin-left: 10px;
        font-size: 13px;
        clear: both;
        font-weight: bold;
    }

    #footer {
        text-align: center;
    }

    #footer img {
        float: none;
        display: block;
        margin: 0 auto;
    }

    #footer .container {
        padding: 20px 0;
    }

    #footer .div-right {
        float: none;
        padding: 20px 0;
    }

    #footer .version {
        margin-top: 20px;
        text-align: center;
    }

    #modules-panel .item .set-prefered.mobile {
        display: block;
        bottom: -60px;
        opacity: 0.6;
    }

    #modules-panel a.link > span.label > span {
        padding-top: 10px;
    }

    #modules-panel .item:hover .set-prefered {
        opacity: 1;
    }

    #modules-panel .item:hover .set-prefered:not(.mobile) {
        opacity: 0;
        display: none;
    }

    #modules-panel .item .prefered.desktop {
        display: none;
    }

    #modules-panel .item .prefered.mobile {
        display: block;
    }
}