/*!
 * Copyright (c) 2013-2015 Sierra Wireless and others.
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * and Eclipse Distribution License v1.0 which accompany this distribution.
 *
 * The Eclipse Public License is available at
 *    http://www.eclipse.org/legal/epl-v10.html
 * and the Eclipse Distribution License is available at
 *    http://www.eclipse.org/org/documents/edl-v10.html.
 *
 * Contributors:
 *     Sierra Wireless - initial API and implementation
 */
.clearfix:before, .container:before, .container-fluid:before, .navbar:before, .navbar-header:before,
.nav:before, .navbar-collapse:before, .modal-footer:before {
    content: initial;
    display: table;
}

.container {
    /*max-width: 980px;*/

}

#container-view {
    margin-bottom: 250px;
    padding-left: 70px;
    transition: all .4s ease 0s;
    height: 100%
}

code {
    color: #ef022c;
}

.navbar-default .navbar-brand, .navbar-default .navbar-brand:focus {
    color: #ef022c;
    /*font-size: 24px;*/
}

.navbar-default .navbar-brand:hover {
    color: #f5042c;
}

.navbar {
    text-transform: uppercase;
    font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
    background: #17315a;
    margin-bottom: 0px;
}

.navbar-brand {
    padding: 15px;
}

.navbar-default {
    background-color: #17315a;
    border-color: #0c1c37;
    border-bottom-width: 1px;
}

.navbar div a {
    /*height: 60px;*/

}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    background-color: #17315a;
}

li.navlink > a:focus {
    outline: 0px none;
    text-decoration: underline;
}

#security-navlink.active > a, #security-navlink > a:hover, #security-navlink > a:focus {
    color: #ef022c;
}

.navbar-default .navbar-nav > li > a {
    line-height: 35px;
    text-align: center;
    letter-spacing: 1px;
    /*width: 150px; */
    color: #F7FAFA;
}

.navbar-default .navbar-nav > li > a:hover {
    /*color: #979797;*/

}

.navbar-default #client-navlink.active > a, .navbar-default #client-navlink > a:hover,
.navbar-default #client-navlink > a:focus {
    color: #F7FAFA;
}

.navbar-default #client-navlink.active > li > a, .navbar-default #client-navlink > li > a,
.navbar-default #client-navlink > li > a {
    color: #F7FAFA;
}

.navbar-default #client-navlink.active > li > a, .navbar-default #client-navlink > li > a:hover,
.navbar-default #client-navlink > li > a:focus {
    color: #F7FAFA;
}

/*#client-navlink{*/
/*color: #cccfde;*/
/*}*/
.navbar-default #change-theme.active > a, .navbar-default #change-theme > a:hover,
.navbar-default #change-theme > a:focus {
    color: #F7FAFA;
}

.navbar-default #change-theme.active > li > a, .navbar-default #change-theme > li > a,
.navbar-default #change-theme > li > a {
    color: #F7FAFA;
}

.navbar-default #change-theme.active > li > a, .navbar-default #change-theme > li > a:hover,
.navbar-default #change-theme > li > a:focus {
    color: #F7FAFA;
}

.breadcrumb {
    border: 1px solid;
    border-color: #DDD;
}

/* Object level */
.object {
    margin-bottom: 5px;
}

.object-name {
    font-size: 18px;
    color: #25A79C;
}

/* Object instance level */
.instance-name {
    font-size: 16px;
    padding-left: 30px;
}

/* Resource level */
.resource-name {
    padding-left: 50px;
}

.resource-value {
    font-weight: bold;
}

.resource-value-supposed {
    color: #AAAAAA;
}

/* Security info */
.security-table {
    margin-top: 20px;
}

/* add cursor on table row */
table.table-href > tbody {
    cursor: pointer;
}

/* define minimum size for dropdown menu content format*/
.dropdown-menu-contentformat {
    min-width: 75px;
}

/* remove dotted line for abbreviation */
abbr[title] {
    border-bottom: none;
}

.panel-heading {
    cursor: pointer;
}

/**
 * HACK for modal  see : http://stackoverflow.com/questions/17726641/bootstrap-how-to-disable-vertical-scrollbar
 * Maybe we should try to move modal to top level position in our document : http://getbootstrap.com/javascript/#modals
 */
body.modal-open, .modal-open .navbar-fixed-top, .modal-open .navbar-fixed-bottom {
    margin-right: 0;
    overflow-y: auto;
}

/**
 * HACK to disable modal animation : http://stackoverflow.com/questions/18873428/turn-off-animation-modal-angular-ui
 */
.modal.fade {
    opacity: 1;
}

.modal.fade .modal-dialog, .modal.in .modal-dialog {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
}

/* CoAP logs styles */
.coaplogs {
    position: fixed;
    right: 0px;
    left: 0px;
    bottom: 0px;
    width: 100%;
    z-index: 2;
    max-height: 250px;
    padding: 0px;
}

.coaplogs-button {
    margin-bottom: 10px;
    margin-left: -20px;
}

.coaplogs-panel {
    background-color: #F5F5F5;
    border: 1px solid;
    border-color: #DDD;
    padding-right: 20px;
    padding-left: 20px;
}

.coaplogs-header {
    table-layout: fixed;
    margin-bottom: 0px;
    padding-right: 20px;
}

.coaplogs-table {
    height: 180px;
    overflow-y: auto;
    font-size: 12px;
}

.coaplogs-table > table {
    table-layout: fixed;
}

.coaplogs-table > table > tbody > tr > td {
    padding: 0px 0px 0px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.form-signin {
    padding: 30px;
    max-width: 400px;
    width: 100% !important;
    background-color: #fafcfc;
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.22);
    overflow: hidden;;
}

.form-signin input {
    height: 44px;
    font-size: 16px;
    width: 100%;
    margin-bottom: 10px;
    -webkit-appearance: none;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-top: 1px solid #c0c0c0;
    padding: 0 8px;
    box-sizing: border-box;
}

.form-signin button {
    height: 44px;
    font-size: 16px;
    width: 100%;
    margin-bottom: 10px;
    -webkit-appearance: none;
    /*background: #fff;*/
    border: 1px solid #d9d9d9;
    border-top: 1px solid #c0c0c0;
    padding: 0 8px;
    box-sizing: border-box;
}

li#client-navlink {
    /*padding-bottom: 15px;*/
    /*padding-top: 15px;*/
    text-transform: none;
    font-size: 12px;
    color: #cccfde;
}

.row {
    margin-left: 0px;
    margin-right: 0px;
}

#wrapper {
    /*padding-left: 70px;*/
    transition: all .4s ease 0s;
    height: 100%
}

#sidebar-wrapper {
    margin-left: -250px;
    /*left: 70px;*/
    width: 250px;
    background: #17315a;
    position: fixed;
    height: 100%;
    z-index: 10000;
    transition: all .4s ease 0s;
}

.sidebar-nav {
    display: block;
    float: left;
    width: 250px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-content-wrapper {
    padding-left: 50px;
    width: 100%;
    height: auto;
}

#wrapper.active {
    padding-left: 250px;
}

#wrapper.active #sidebar-wrapper {
    left: 250px;
}

#wrapper.active #sidebar-wrapper .main_icon {
    content: url("../img/arrow-left.png");
    width: 32px;
    height: 65px;
    float: right;
}

#sidebar_menu li a, .sidebar-nav li a {
    color: #cccfde;
    display: inline-block;
    float: left;
    text-decoration: none;
    width: 250px;
    background: #17315a;
    /*border-top: 1px solid #373737;*/
    /*border-bottom: 1px solid #1A1A1A;*/
    -webkit-transition: background .5s;
    -moz-transition: background .5s;
    -o-transition: background .5s;
    -ms-transition: background .5s;
    transition: background .5s;
    white-space: pre-wrap; /* CSS3 */
    white-space: -moz-pre-wrap; /* Firefox */
    white-space: -pre-wrap; /* Opera <7 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word;
    border-left: 4px solid #17315a;
    border-bottom: 1px solid #0c1c37;
    /*border-top: 1px solid #ffffff;*/
}

#modules-side-title{
    width : 218px; !important;
}

.sidebar_name {
    padding-top: 25px;
    color: #fff;
    opacity: .7;
}

.sidebar-nav li {
    line-height: 40px;
    text-indent: 20px;
}

.sidebar-nav li a {
    color: #cccfde;
    display: block;
    text-decoration: none;
}

.sidebar-nav li a:hover {
    /*color: #fff;*/
    /*background: rgba(255,255,255,0.2);*/
    border-left: 4px solid #ef022c;
    background-color: #132748;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
    text-decoration: none;
}

.sidebar-nav li a.active, .sidebar-nav li a:active, .sidebar-nav li a:focus {
    border-left: 4px solid #ef022c;
    background-color: #132748;
    text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
    height: 65px;
    line-height: 65px;
    font-size: 18px;
}

.sidebar-nav > .sidebar-brand a {
    color: #94031d;
}

.sidebar-nav > .sidebar-brand a:hover {
    color: #b0031f;
    background: none;
}

.main_icon {
    content: url("../img/arrow-right.png");
    float: right;
    /*margin-top: -1px;*/
    margin-right: -32px;
    width: 32px;
    height: 65px;
    cursor: pointer;
}

.sub_icon {
    float: right;
    padding-right: 65px;
    padding-top: 10px;
}

.content-header {
    height: 65px;
    line-height: 65px;
}

.content-header h1 {
    margin: 0;
    margin-left: 20px;
    line-height: 65px;
    display: inline-block;
}

@media ( max-width: 767px) {
    #wrapper {
        padding-left: 0px;
        transition: all .4s ease 0s;
    }

    #wrapper.active {
        padding-left: 250px;
    }
}

.sidebar-nav li.sub-menu a {
    background: #0c1c37;
    border-bottom: 1px solid #17315a;
    /* border-bottom: 0px; */
    font-size: 13px;
    color: #B1B4C2;
    border-left: 4px solid #0c1c37;
}

.sidebar-nav li.sub-menu a:hover {
    border-left: 4px solid #0a182f;
    background-color: #0a182f;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
    text-decoration: none;
}

.sidebar-nav li.sub-menu li.active, .sidebar-nav li.sub-menu li:active,
.sidebar-nav li.sub-menu li:focus {
    border-left: 4px solid #0a182f;
    background-color: #17315a;
    text-decoration: none;
}

.sidebar-nav ul .glyphicon:before, .sidebar-nav li .glyphicon:before {
    color: #cccfde;
}

.glyphicon {
    position: relative;
    top: 1px;
    display: inline-block;
    font-size: 11px;
    font-style: normal;
    line-height: inherit;
    padding-right: 8px;
    float: right;
}

.glyphicon.glyphicon-th {
    position: relative;
    display: inline-block;
    font-size: 20px;
    font-style: normal;
    line-height: inherit;
    padding-right: 8px;
    float: left;
}

.backbuttonDiv {
    padding: 7px;
    margin: 5px;
    float: left;
}

.glyphicon.glyphicon-arrow-left {
    position: relative;
    display: inline-block;
    font-size: 20px;
    font-style: normal;
    line-height: inherit;
    padding-right: 8px;
    float: left;
    color: #b0031f;
}

.glyphicon.glyphicon-remove {
    color: #b0031f;
}

.sidebar-nav ul .glyphicon:after, .sidebar-nav li .glyphicon:after {
    clear: both;
}

li.sub-menu {
    line-height: 28px;
    text-indent: 30px;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    font-family: "Calibri", Calibri, Arial, sans-serif !important;
    margin-bottom: 60px;
    background: #fafcfc;
    color: #0a0c19;
}

#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    background-color: #17315a;
    padding-top: 10px;
}

.text-muted {
    color: #ffffff;
}

a {
    color: #ef022c;
}

.embed-responsive {
    position: relative;
    display: block;
    height: 0;
    padding: 0;
}

.embed-responsive .embed-responsive-item, .embed-responsive iframe,
.embed-responsive embed, .embed-responsive object, .embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    border: 0;
    max-width: 800px;
    max-height: 450px;
    height: 450px;
}

.embed-responsive-16by9 {
    width: 90%;
    max-width: 800px;
    max-height: 450px;
}

.embed-responsive-4by3 {
    padding-bottom: 75%;
}

.nav-pills > li {
    background-color: #17315a;
    color: #cccfde;
    margin-top: 5px;
    margin-left: 5px;
    float: left;
}

.nav-pills > li > a, .nav-pills > li > a:hover, .nav-pills > li > a:focus {
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.nav-pills > li + li {
    margin-left: 3px;
}

.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
    border: 2px #17315a;
    color: #17315a;
    background-color: #cccfde;
}

#dynamicContent {
    height: 80vh;
    overflow: auto;
    width: 98%;
    margin-top: 15px;
}

@media ( max-height: 707px) {
    #dynamicContent {
        height: 60vh;
    }
}

@media (min-width: 768px) {
    .main-grid {
        float: left;
        width: 33.33333333%;
    }
}

.main-grid {
    position: relative;
    min-height: 60px;
    padding: 5px;
    color: #cccfde;
    background-color: #17315a;
    border-color: #17315a;
    margin: 5px;
    display: block;
    float: left;
    text-align: -webkit-center;
    cursor: pointer;
}
.main-grid-wrapper {
    height: 90%;
    width: 90%;
    display: table-cell;
    vertical-align: middle;
    float: left;
}

.main-grid:hover, .main-grid:focus{
    border: 2px #17315a;
    color: #17315a;
    background-color: #cccfde;
}

.main-fill {
	height: 100%;
}

/*.main-grid > .list-group-item {*/
    /*color: #cccfde;*/
    /*background: #17315a;*/
    /*border-color: #17315a;*/
/*}*/

/*.main-grid .list-group-item {*/
    /*color: #cccfde;*/
    /*background-color: #17315a;*/
    /*border-color: #17315a;*/
/*}*/

/*.main-grid .list-group-item :hover,*/
/*.main-grid a.list-group-item:focus {*/
    /*color: #17315a;*/
    /*border-color: #17315a;*/
/*}*/