/***************************************
/* 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-search-box {
    -webkit-box-ordinal-group: 3;
    -webkit-order: 2;
    -ms-flex-order: 2;
    order: 2;
    margin-left: 16px;
    margin-right: 16px;
}

.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-banner {
    position: relative;
    height: 700px;
    width: auto;
    background-color: #F3F3F3;
    background: url('../images/qm-banner.jpg') center 30% no-repeat;
    background-size: cover;
}

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

.qm-slogan {
    font-size: 60px;
    padding-top: 80px;
}

.qm-sub-slogan {
    font-size: 40px;
    padding-top: 16px;
}

.qm-main-apps-section {
    position: relative;
    padding-top: 60px;
    padding-bottom: 10px;
}

.qm-icons-list {
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow-x: auto;
}

.qm-icons {
    cursor: pointer;
    display: inline-block;
    text-align: center;
    width: 128px;
    margin: 50px;
}

.qm-icons .qm-icons-image {
    width: 100%;
    z-index: 1;
}

.qm-icons .qm-icons-title {
    display: block;
    z-index: 2;
    padding-top: 10px;
}

.qm-b2b-section {
    position: relative;
    background: url('../images/projects.png') center top no-repeat;
    background-color: #E0E0E0;
    background-size: cover;
    height: 800px;
}

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

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

.qm-b2b-band-text p {
    padding-top: 8px;
}

.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;
}

.qm-apps-list {
    padding: 20px 0;
    height: auto;
    background: #F0F0F0;
    margin-left: auto;
    margin-right: auto;
}

.qm-apps-list .qm-section-title {
    margin-left: 12px;
    padding-bottom: 24px;
}

.qm-card-container .mdl-card__media {
    overflow: hidden;
    background: transparent;
}

.qm-card-container .mdl-card__media img {
    width: 100%;
}

.qm-card-container .mdl-card__title {
    background: transparent;
    height: auto;
}

.qm-card-container .mdl-card__title-text {
    color: black;
    height: auto;
}

.qm-card-container .mdl-card__supporting-text {
    height: auto;
    color: black;
    padding-bottom: 48px;
    padding-top: 0px;
}

.qm-card-container .mdl-card__actions {
    position: absolute;
    bottom: 0;
}

.qm-card-container .mdl-card__actions a {
    border-top: none;
    line-height: 24px;
    font-size: 14px;
    padding: 0px 2px 0px 2px;
}

/* === 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);
    }
    .qm-search-box.is-focused ~ .qm-mobile-title {
        opacity: 0;
    }
    .qm-search-box.is-focused {
        width: calc(100% - 48px);
    }
    .qm-search-box .mdl-textfield__expandable-holder {
        width: 100%;
    }
    .mdl-layout__drawer-button {
        /* used to display the left dre=awer again */
        display: block;
    }
    .qm-banner {
        height: 400px;
    }
    .qm-slogan {
        font-size: 26px;
        margin: 0 16px;
        padding-top: 24px;
    }
    .qm-sub-slogan {
        font-size: 16px;
        margin: 0 16px;
        padding-top: 8px;
    }
    .qm-create-character {
        padding-top: 200px;
        font-size: 16px;
    }
    .qm-create-character img {
        height: 12px;
    }
    .qm-fab {
        display: none;
    }
    .qm-main-apps-section {
        position: relative;
        padding-top: 30px;
        padding-bottom: 5px;
    }
    .qm-main-apps-section .title {
        font-size: 20px;
    }
    .qm-icons-list {
        text-align: center;
        white-space: normal;
        width: 100%;
        overflow-x: auto;
    }
    .qm-icons {
        cursor: pointer;
        display: inline-block;
        text-align: center;
        width: 64px;
        margin: 12px;
    }
    .qm-icons .qm-icons-image {
        width: 100%;
        z-index: 1;
    }
    .qm-icons .qm-icons-title {
        display: block;
        text-align: center;
        font-size: 12px;
        z-index: 2;
        padding-top: 5px;
    }
    .qm-b2b-section {
        height: 300px;
    }
    .qm-b2b-band-text {
        margin-left: 5%;
        padding: 2px;
    }
    .qm-b2b-slogan {
        font-size: 20px;
        margin: 0px;
        padding: 0px;
    }
    .qm-b2b-sub-slogan {
        display: none;
        font-size: 12px;
        margin: 0px;
        padding: 0px;
    }
    .qm-b2b-band-text p {
        padding-top: 4px;
    }
    .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);
    }
    .qm-search-box.is-focused ~ .qm-mobile-title {
        opacity: 0;
    }
    .qm-search-box.is-focused {
        width: calc(100% - 48px);
    }
    .qm-search-box .mdl-textfield__expandable-holder {
        width: 100%;
    }
    .mdl-layout__drawer-button {
        /* used to display the left dre=awer again */
        display: block;
    }
    .qm-banner {
        height: 300px;
    }
    .qm-slogan {
        font-size: 32px;
        margin: 0 16px;
        padding-top: 24px;
    }
    .qm-sub-slogan {
        font-size: 20px;
        margin: 0 16px;
        padding-top: 8px;
    }
    .qm-create-character {
        padding-top: 200px;
        font-size: 16px;
    }
    .qm-create-character img {
        height: 12px;
    }
    .qm-fab {
        display: none;
    }
    .qm-main-apps-section {
        position: relative;
        padding-top: 30px;
        padding-bottom: 5px;
    }
    .qm-main-apps-section .title {
        font-size: 26px;
    }
    .qm-icons-list {
        text-align: center;
        white-space: normal;
        width: 100%;
        overflow-x: auto;
    }
    .qm-icons {
        cursor: pointer;
        display: inline-block;
        text-align: center;
        width: 96px;
        margin: 24px;
    }
    .qm-icons .qm-icons-image {
        width: 100%;
        z-index: 1;
    }
    .qm-icons .qm-icons-title {
        display: block;
        text-align: center;
        font-size: 14px;
        z-index: 2;
        padding-top: 5px;
    }
    .qm-b2b-section {
        height: 400px;
    }
    .qm-b2b-band-text {
        margin-left: 5%;
        padding: 2px;
    }
    .qm-b2b-slogan {
        font-size: 24px;
        margin: 0px;
        padding: 0px;
    }
    .qm-b2b-sub-slogan {
        font-size: 16px;
        margin: 0px;
        padding: 0px;
    }
    .qm-b2b-band-text p {
        padding-top: 8px;
    }
    .qm-section-title {
        font-size: 24px;
    }
    .qm-footer .mdl-mega-footer--bottom-section {
        display: none;
    }
}