/***************************************
/* Company: Quadrimind Sistemas Ltda.
/* File: apps.css
/* Authot: Guilherme Etz
/* Date: 2015 - 09 - 03
/* Description: apps.html -> apps page style
***************************************/


/* === Global settings START === */

body {
    margin: 0;
}


/* Disable ugly boxes around images in IE10 */

a img {
    border: 0px;
}

::-moz-selection {
    background-color: #6ab344;
    color: #fff;
}

::selection {
    background-color: #6ab344;
    color: #fff;
}

.qm-search-box .mdl-textfield__input {
    color: rgba(0, 0, 0, 0.87);
}

.qm-header .mdl-menu__container {
    z-index: 50;
    margin: 0 !important;
}

.mdl-textfield--expandable {
    width: auto;
}


/* round button (expand) */

.qm-fab {
    position: absolute;
    right: 20%;
    bottom: -26px;
    z-index: 3;
    background: #FF9933 !important;
    /* orange */
    color: #F2F2F2 !important;
}


/* === Global settings START === */


/* === Header START === */

.qm-title {
    left: -60px;
}

.qm-mobile-title {
    display: none !important;
}

.qm-logo-image {
    height: 36px;
    width: 180px;
}

.qm-header {
    overflow: visible;
    background-color: white;
}

.qm-header .material-icons {
    color: #767777 !important;
}

.qm-header .mdl-layout__drawer-button {
    background: transparent;
    color: #767777;
}

.qm-header .mdl-navigation__link {
    color: #757575;
    font-weight: 700;
    font-size: 14px;
}

.qm-navigation-container {
    /* Simple hack to make the overflow happen to the left instead... */
    direction: rtl;
    -webkit-box-ordinal-group: 2;
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
    width: 500px;
    -webkit-transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.qm-navigation {
    /* ... and now make sure the content is actually LTR */
    direction: ltr;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    width: 800px;
}

.qm-search-box.is-focused ~ .qm-navigation-container {
    opacity: 0;
    width: 100px;
}

.qm-navigation .mdl-navigation__link {
    display: inline-block;
    height: 60px;
    line-height: 68px;
    background-color: transparent !important;
    border-bottom: 4px solid transparent;
}

.qm-navigation .mdl-navigation__link:hover {
    border-bottom: 4px solid #FF9933;
}

.qm-navigation .mdl-navigation__link.selected {
    border-bottom: 4px solid #FF9933;
}

.qm-drawer .mdl-navigation__link.selected {
    /* background-color: #E0E0E0;    */
    border-left: 4px solid #FF9933;
}

.qm-more-button {
    -webkit-box-ordinal-group: 4;
    -webkit-order: 3;
    -ms-flex-order: 3;
    order: 3;
}

.mdl-layout__drawer-button {
    /*used to hide left drawer on PCs*/
    display: none;
}

.qm-drawer {
    border-right: none;
}

.qm-drawer-separator {
    height: 1px;
    background-color: #dcdcdc;
    margin: 8px 0;
}

.qm-drawer .mdl-navigation__link.mdl-navigation__link {
    font-size: 14px;
    color: #757575;
}

.qm-drawer span.mdl-navigation__link.mdl-navigation__link {
    color: #FF9933;
}

.qm-drawer .mdl-layout-title {
    position: relative;
    background: #FF9933;
    height: 120px;
}

.qm-drawer .qm-logo-image {
    position: absolute;
    bottom: 16px;
}


/* === Header END === */


/* === Content START === */

.qm-font {
    font-family: 'And Black', 'Helvetica', 'Arial', sans-serif;
    line-height: 1;
    color: #767777;
    font-weight: 300;
}

.qm-company-banner {
    position: relative;
    background: url('qm-company-banner.jpg') center top no-repeat;
    background-color: #E0E0E0;
    background-size: cover;
    height: 550px;
}

.qm-company-band {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    background-color: #F3F3F3;
}

.qm-company-band-text {
    max-width: 800px;
    margin-left: 10%;
    padding: 16px;
    text-align: left;
}

.qm-company-title {
    position: relative;
    width: 100%;
    background-color: #F3F3F3;
}

.qm-company-title-text {
    max-width: 800px;
    margin-left: 10%;
    padding: 16px;
    text-align: left;
}

.qm-company-content {
    max-width: 800px;
    margin-left: 10%;
    padding: 24px;
    text-align: left;
}

.qm-link {
    text-decoration: none;
    color: #FF9933 !important;
}

.qm-link:hover {
    color: #808080 !important;
}

.qm-link .material-icons {
    position: relative;
    top: 6px;
}

.qm-alt-link {
    text-decoration: none;
    color: #FF9933 !important;
    font-size: 16px;
}

.qm-alt-link:hover {
    color: #FFFFFF !important;
}

.qm-alt-link .material-icons {
    position: relative;
    top: 6px;
}

.qm-menu-link {
    text-decoration: none;
    color: #000000 !important;
}


/* === Content END === */


/* === Footer START === */

.qm-footer {
    background-color: #fafafa;
    position: relative;
}

.qm-footer a:hover {
    color: #FF9933;
}

.qm-footer .mdl-mini-footer--right-section a {
    color: inherit;
}

.qm-footer .mdl-mega-footer--top-section::after {
    border-bottom: none;
}

.qm-footer .mdl-mega-footer--middle-section::after {
    border-bottom: none;
}

.qm-footer .mdl-mega-footer--bottom-section {
    position: relative;
}

.qm-footer .mdl-mega-footer--bottom-section a {
    margin-right: 2em;
}

.qm-footer .mdl-mega-footer--right-section a .material-icons {
    position: relative;
    top: 6px;
}

.qm-footer .mdl-mini-footer--right-section a .material-icons {
    position: relative;
    top: 6px;
}

.qm-footer .mdl-mini-footer--right-section a:hover {
    color: #FF9933;
}


/* === Footer END === */


/* === MOBILE LAYOUT === */


/* Phones */

@media (max-width: 340px) {
    .qm-navigation-container {
        display: none;
    }
    .qm-title {
        display: none !important;
    }
    .qm-mobile-title {
        display: block !important;
        position: absolute;
        left: calc(50% - 90px);
        top: 12px;
        -webkit-transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .mdl-layout__drawer-button {
        /* used to display the left dre=awer again */
        display: block;
    }
    .qm-fab {
        display: none;
    }
    .qm-company-banner {
        height: 200px;
    }
    .qm-company-band-text {
        margin-left: 5%;
        padding: 2px;
    }
    .qm-company-slogan {
        font-size: 20px;
        margin: 0px;
        padding: 0px;
    }
    .qm-company-sub-slogan {
        display: none;
        font-size: 14px;
        margin: 0px;
        padding: 0px;
    }
    .qm-company-title-text {
        margin-left: 5%;
        padding: 2px;
    }
    .qm-company-content {
        margin-left: 5%;
        margin-right: 5%;
        padding: 2px;
        text-align: left;
    }
    .qm-section-title {
        font-size: 24px;
    }
    .qm-footer .mdl-mega-footer--bottom-section {
        display: none;
    }
}


/* Tablets */

@media (max-width: 1024px) and (min-width: 340px) {
    .qm-navigation-container {
        display: none;
    }
    .qm-title {
        display: none !important;
    }
    .qm-mobile-title {
        display: block !important;
        position: absolute;
        left: calc(50% - 90px);
        top: 12px;
        -webkit-transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .mdl-layout__drawer-button {
        /* used to display the left dre=awer again */
        display: block;
    }
    .qm-fab {
        display: none;
    }
    .qm-company-banner {
        height: 300px;
    }
    .qm-company-band-text {
        margin-left: 5%;
        padding: 2px;
    }
    .qm-company-slogan {
        font-size: 32px;
        margin: 0px;
        padding: 0px;
    }
    .qm-company-sub-slogan {
        font-size: 24px;
        margin: 0px;
        padding: 0px;
    }
    .qm-company-title-text {
        margin-left: 5%;
        padding: 2px;
    }
    .qm-company-content {
        margin-left: 5%;
        margin-right: 5%;
        padding: 2px;
        text-align: left;
    }
    .qm-section-title {
        font-size: 24px;
    }
    .qm-footer .mdl-mega-footer--bottom-section {
        display: none;
    }
}