/*
 * COPYRIGHT INFORMATION - DO NOT REMOVE
 *
 * Copyright (c) LinuxMagic Inc. 2016-2018 All Rights Reserved
 *
 * This file contains Original Code as created by LinuxMagic Inc.
 *
 * The Original Code is distributed on an 'AS IS' basis,
 * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND LINUXMAGIC
 * HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY
 * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET
 * ENJOYMENT OR NON-INFRINGEMENT.
 *
 * Do NOT download, distribute, use or alter this software or file in any
 * way without express written permission from LinuxMagic Inc. or its parent
 * company Wizard Tower TechnoServices signed by an authorized company officer.
 *
 * Author(s): HsuanWei <hsuanwei@linuxmagic.com>
 *
 * $Id$
 */

/*
@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-BoldItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Bold.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-ExtraBoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-ExtraBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
*/

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}


@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-SemiboldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Semibold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

body {
    font-size: 16px;
}

body .glyph {
    font-size: 22px;
}

div, p, label, blockquote {
    font-size: 100%;
    font-weight: inherit;
}

/* html body */
html, body {
    height:100%;
}

/* outmost div acts as body */
div.main {
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* wrap everything in but not footer */
div.main div.wrap {
    min-height: 90%;
    min-height: calc(100% - 80px);
    height: auto;
    margin: 0 auto;
    position: relative;
}

/* bootstrap container */
.container {
    width: 100%;
    margin: 0;
}

.input-group-btn {
    font-size: inherit;
}

.input-group-btn > .btn + .btn {
    margin-left: -1px;
}

.form-control {
    padding: 6px 12px;
}

/* notification */
#notification-area {                                                                                     
    word-wrap: break-word;                                                                               
    width: 350px;
    max-width: 60%;                                                                                      
    position: fixed;                                                                                     
    top: 20px;                                                                                           
    right: 0;                                                                                            
    left: 0;                                                                                             
    margin-right: auto;                                                                                  
    margin-left: auto;                                                                                   
    z-index: 9999;                                                                                      
}          

.copyright {
    font-size: 80%;
}

/* footer */
footer {
    min-height: 10%;
}
/* footer style */
.footer{
    padding-top: 10px;
    padding-bottom: 10px;
}

div.footer-fix-fixed {
    margin-top: 80px;
}

footer.fixed {
    position: fixed; /* Set the navbar to fixed position */
    bottom: 0; /* Position the navbar at the top of the page */
    width: inherit;
    z-index: 999;
}

/* navigation bar */
.navbar {
    margin: 0;
    font-size: 100%;

}
.navbar .navbar-right {
    margin-right: 0;
}

.dropdown-menu {
    font-size: inherit;
}

.btn-sm {
    padding: 3px 4px;
    line-height: 22px;
}

.btn .glyph {
    font-size: 22px;
    top: 1px;
}

.pull-right .btn-sm {
    line-height: 18px;
    padding: 6px 7px;
}

.pull-right .dropdown-toggle {
    line-height: 22px;
    padding: 3px 4px;
}

#select-mailbox .btn-sm {
    line-height: 22px;
    padding: 3px 4px;
}

.btn-sm, .btn-group-sm > .btn {
    font-size: 80%;
}

.navbar .dropdown-menu > li > a, .navbar .dropdown-menu > li > a:focus {
    font-size: 100%;
}

.navbar-right.nav > li > a {
    padding: 10px 10px;
}

.form-control {
    font-size: 80%;
}

/* App Groups Page */
.app-groups-btn {
    height: 175px;
}

.app-groups-btn .glyph {
    font-size: 30px;
}
/* Apps Page */
.app-img {
    background-position: center 20px;
    background-repeat: no-repeat;
    background-size: 100px auto;
    border: 2px solid #ccc;
    display: inline-block;
    height: 140px;
    text-align: center;
    vertical-align: bottom;
    width: 140px;
}
.app-img:hover, .app-img:active {
     background-color: #EEE;
}

.app-img > span {
    display: inline-block;
    margin-top: 97px;
}

/* Login page */
.form-signin {
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}

.form-signin .form-signin-heading, .form-signin .checkbox {
    margin-bottom: 10px;
}

.form-signin .checkbox {
    font-weight: normal;
}

.form-signin .form-control {
    position: relative;
    height: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
         font-size: 16px;
}

.form-signin .form-control:focus {
    z-index: 2;
}

.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* Notification */
.alert > ul {
    list-style: outside none none;
    padding-left: 0;
}

/* pagination */
.pagination > li > span, .pagination > li > span {
    margin-left: -1px;
}

.pagination {
    background: none;
    border: none;
}

.pagination > li > span, .pagination > li > span:hover {
    border-right: 1px solid #ddd;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

.pagination > li:first-child > span, .pagination > li:first-child > span:hover, .pagination > li:first-child > span:focus {
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.limit-selector {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: 1px solid #ddd;
    box-shadow: none;
}

#loading-wrapper {
    background: rgba(0, 0, 0, 0.5) none repeat scroll 0 0;
    display: block;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    text-align: center;
    width: 100%;
    z-index: 1000;
    display: none;
}

#img-loader {
    margin-top: 300px;
}

#tool-bar .col-lg-12 #details-back-btn {
    z-index: 1;
    top: 0px;
    left: 15px;
    background-color: #e7e7e7;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 1px solid #cccccc;
    position: absolute;
    color: #333333;
}
#tool-bar .col-lg-12 #details-back-btn:hover {
    background-color: #cacaca;
}

/* responsive css */
@media(max-width:767px){
    /* resize main container */
    /* height align */
    .xs-height-align-wrap {
        display: flex;
    }
    /* navbar*/
    .navbar-collapse li.dropdown ul.dropdown-menu li ul.dropdown-menu li a {
        padding-left: 40px;
    }
    .navbar-toggle {
        color: WHITE;
    }
}
@media(min-width:768px){
    /* resize main container */
    /* height align */
    .xs-height-align-wrap,
    .sm-height-align-wrap {
        display: flex;
    }
    #new-message {
        width: 86%;
    }
    .navbar .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }
}
@media(min-width:992px){
    /* resize main container */
    /* height align */
    .xs-height-align-wrap,
    .sm-height-align-wrap,
    .md-height-align-wrap {
        display: flex;
    }
    #new-message {
        width: 76%;
    }
}
@media(min-width:1200px){
    /* height align */
    .xs-height-align-wrap,
    .sm-height-align-wrap,
    .md-height-align-wrap,
    .lg-height-align-wrap {
        display: flex;
    }
    #new-message {
        width: 66%;
    }
}
