/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 50px;
  margin: 0;
  border: 0;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #434a54;
}

/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}

@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 50px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
  }
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}

.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}

.nav-sidebar > .active > a {
  color: #fff;
  background-color: #428bca;
}

/*
 * Main content
 */

.main {
  padding: 20px;
}

@media (min-width: 768px) {
  /*.main {
        padding-right: 40px;
        padding-left: 40px;
    }*/
}

.main .page-header {
  margin-top: 0;
}

/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}

.placeholders h4 {
  margin-bottom: 0;
}

.placeholder {
  margin-bottom: 20px;
}

.placeholder img {
  display: inline-block;
  border-radius: 50%;
}

.navbar {
  background: #36a9e1;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  border: none;
}

.navbar-inverse .navbar-nav > li > a,
.navbar-inverse .navbar-brand {
  color: #fff;
}

.navbar-inverse .navbar-nav > li > a:hover {
  background: #1e8fc6;
}

#sidebar-left {
  background: #262a33;
  padding: 0 10px 10px !important;
}

#sidebar-left .nav-tabs {
  border: none;
  background: #383e4b;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  -webkit-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.2);
}

#sidebar-left a {
  color: #fff;
  padding: 8px 30px;
  display: block;
  transition: all 0.3s linear;
}

#sidebar-left a .glyphicon,
#sidebar-left a .fa {
  margin-right: 10px;
}

#sidebar-left li.active a,
#sidebar-left li a:hover,
#sidebar-left li a:focus,
#sidebar-left li a:active,
#sidebar-left .nav .open > a,
#sidebar-left .nav .open > a:hover,
#sidebar-left .nav .open > a:focus {
  background: #2d323d;
  border-color: #2d323d;
  outline: none;
}

#sidebar-left .divider {
  margin: 10px 0;
}

#sidebar-left .dropdown-menu li a,
#sidebar-left .dropdown-menu li.active a {
  color: #000;
  padding-left: 20px;
  padding-right: 20px;
  background: #fff;
}

#sidebar-left .dropdown-menu {
  border-radius: 5px;
  margin-left: 30px;
  -webkit-box-shadow: 0px 5px 5px 0px rgba(50, 50, 50, 0.75);
  -moz-box-shadow: 0px 5px 5px 0px rgba(50, 50, 50, 0.75);
  box-shadow: 0px 5px 5px 0px rgba(50, 50, 50, 0.75);
}

#sidebar-left .dropdown-menu::before {
  position: absolute;
  top: -6px;
  left: 10px;
  display: inline-block;
  border-right: 6px solid transparent;
  border-bottom: 6px solid white;
  border-left: 6px solid transparent;
  content: '';
}

#sidebar-left .dropdown-menu li a:hover {
  color: #fff;
  background: #36a9e1;
}

body {
  background: #f5f5f5;
}

.panel {
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  -webkit-box-shadow: 0 1px 0 1px #e4e6eb;
  -moz-box-shadow: 0 1px 0 1px #e4e6eb;
  box-shadow: 0 1px 0 1px #e4e6eb;
  border: none;
}

.panel > .panel-heading {
  color: white;
  font-size: 16px;
  overflow: hidden;
  -webkit-border-radius: 2px 2px 0 0;
  -moz-border-radius: 2px 2px 0 0;
  border-radius: 2px 2px 0 0;
  border: none;
}

.panel-primary > .panel-heading,
.panel-primary .panel-heading .glyphicon {
  background: #dfdfdf;
  color: #333;
}

.panel-default > .panel-heading,
.panel-default .panel-heading .glyphicon {
  background: #36a9e1;
}

.panel-danger > .panel-heading,
.panel-danger .panel-heading .glyphicon {
  background: #ff5454;
}

.panel-warning > .panel-heading,
.panel-warning .panel-heading .glyphicon {
  background: #fabb3d;
}

.panel-info > .panel-heading {
}

.panel-success > .panel-heading,
.panel-success .panel-heading .glyphicon {
  background: #78cd51;
}

.panel-default > .panel-body {
  border: none;
}

.panel .panel-heading {
  position: relative;
}

.panel .panel-heading .glyphicon {
  color: white;
  padding: 12px 0 13px;
  width: 45px;
  display: inline-block;
  text-align: center;
  margin: -11px 10px -10px -15px;
  border-top-left-radius: 4px;
}

.panel-default .panel-heading .glyphicon {
  background: #1e8fc6;
}

.panel-danger .panel-heading .glyphicon {
  background: #d94747;
}

.panel-warning .panel-heading .glyphicon {
  background: #e0a837;
}

.panel-success .panel-heading .glyphicon {
  background: #75aa51;
}

.panel-warning .bg-amber .glyphicon {
  background: #d96b00;
}

.panel .panel-heading .pull-right .glyphicon {
  border-top-left-radius: 0px;
}

.panel-danger .panel-heading > .glyphicon {
  background: #d94747;
}

.panel .panel-heading .pull-right {
  margin-right: -14px;
}

.panel .panel-heading .pull-right .glyphicon {
  margin-right: 0px;
  margin-left: 3px;
  color: #c2e0f2;
}

.panel-footer {
  /*background: #1e8fc6;
    color:#fff;*/
}

.panel > div.table > .table {
  margin-bottom: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.panel .panel-body > .table {
  margin-bottom: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.panel div.pagination {
  margin: 0;
}

.panel .pagination {
  margin-top: 0;
  margin-bottom: 0;
}

.panel .summary {
  text-align: right;
  padding: 5px 0;
}

.panel .panel-title {
  font-size: 20px;
  line-height: 1.1;
}

.panel .panel-title span.glyphicon {
  font-size: 16px;
  line-height: 1.428571429;
  padding: 10px 0 10px;
}

#auth-controller {
  background: #383e4b;
  color: #383e4b;
  border: 0;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  margin: 0;
  padding: 0;
}

#loginform {
  width: 300px;
  padding: 20px;
  margin: 100px auto;
  background: #fff;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  box-shadow: 0px 1px 15px 0px rgba(10, 10, 10, 0.75);
}

#loginform h1 {
  margin-top: 0;
  text-align: center;
}

#loginform h3 {
}

#loginform input[type='email'],
#loginform input[type='password'] {
  width: 255px;
  margin: 5px auto;
}

#loginform .radio label,
#loginform .checkbox label {
  margin: 20px 0 25px;
  display: block;
}

svg > text:last-child {
  display: none;
}

/* Fix for table search boxes*/
.table input:not([type='checkbox']) {
  width: 100%;
}

/*
#main-wrapper {
    max-width:100%;
    margin-left:0;
}
*/

/* Fix form actions */

.form-actions button {
  margin-right: 10px;
}

@media (max-width: 768px) {
  .form-actions button {
    margin-right: 0px;
  }

  .form-actions .btn,
  .form-actions a {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
}

.panel-user-flag {
  font-size: 32px;
}

.panel-user-flag .panel-user-flag-text {
  line-height: 0.8em;
}

.panel-user-flag .panel-user-flag-text div {
  margin-bottom: 10px;
}

.panel-user-flag small {
  font-size: 18px;
  color: #999;
  line-height: 0;
}

.panel-user-flag .glyphicon {
  color: #fff;
  font-size: 32px;
  padding: 15px;
  margin-right: 10px;
}

.panel-user-flag .small {
}

.panel-user-analysis {
  cursor: pointer;
  border-radius: 0;
}

.panel-user-analysis .panel-heading {
  border-radius: 0;
}

#home-circles .placeholder > h4,
#home-circles .placeholder span {
  text-align: center;
  display: block;
}

#home-circles .img-circle {
  width: 200px;
  height: 200px;
  text-align: center;
  margin: 0 auto;
  color: #fff;
}

#home-circles .circle-text {
  font-size: 40px;
  line-height: 5em;
}

.bg-amber {
  background: #ff7e00 !important;
}

.grid-view .table .button-column {
  min-width: 80px;
}

.table .button-column a {
  margin-left: 5px;
}

.table .button-column a:first-child {
  margin-left: 0px;
}

/*
@media all and (max-width: 992px) and (min-width: 768px) {   
    #sidebar-left {
        width: 8.33333333%;
        min-width: 70px;
    }

    #content {
        width: 91.66666667%;
        margin-left: 8.33333333%;
    }

    #sidebar-left > ul > li > a {
        font-size:0px;      
        text-align:center;
    }

    #sidebar-left > ul > li > a > span {
        font-size:22px;      
    }
}
*/

#topmenu .top-nav-main span.glyphicon {
  display: none;
}

#scrolltop a {
  font-size: 16px;
  display: block;
  width: 40px;
  height: 40px;
  text-align: center;
  background: #000;
  color: #fff;
  border-radius: 40px;
  padding-top: 9px;

  position: fixed;
  right: 15px;
  bottom: 15px;
  opacity: 0.3;
}

.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
  background-color: #1e8fc6;
}

.navbar-inverse .navbar-toggle {
  border-color: #1e8fc6;
}

.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
  color: #fff;
  background-color: #1e8fc6;
}

.navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
  color: #fff;
}

.navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover {
  color: #ddd;
}

.navbar-collapse {
  max-height: 360px;
}

.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
  color: #fff;
  background-color: #1e8fc6;
}

.navbar-inverse .navbar-collapse,
.navbar-inverse .navbar-form {
  border-color: #1e8fc6;
}

@media (min-width: 768px) and (max-width: 992px) {
  #home-circles .img-circle {
    width: 150px;
    height: 150px;
  }

  #home-circles .img-circle p {
    line-height: 5em;
    font-size: 30px;
  }

  #home-circles h4 {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  #home-circles .img-circle {
    width: 80px;
    height: 80px;
  }

  #home-circles .img-circle p {
    line-height: 4.5em;
    font-size: 18px;
  }

  #home-circles h4 {
    font-size: 14px;
  }

  .main {
    padding: 10px;
  }
}

/* 767 + 229*/
@media (max-width: 996px) {
  .table-responsive {
    width: 100%;
    margin-bottom: 15px;
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    border: 1px solid #ddd;
  }
}

#topmenu .navbar-brand {
  background: url('../images/canapii_COSI_logo.png') 4px 5px no-repeat;
  color: transparent;
  width: 108px;
}

.dashboard #topmenu .navbar-brand {
  background: url('../images/canapii_COSI_logo-dashboard.png') 10px 5px no-repeat;
  color: transparent;
  width: 255px;
}

#progress {
  padding-left: 0;
  width: 200px;
  position: relative;
  background: transparent;
  margin-bottom: 30px;
  list-style: none;
}

#progress li {
  margin: 0 0 0 20px;
  display: inline-block;
  background: transparent;
  z-index: 1;
  border-radius: 30px;
  border: 5px solid #ddd;
}

#progress li span {
  display: block;
  border-radius: 30px;
  width: 24px;
  height: 23px;
  text-align: center;
  padding-top: 1px;
  z-index: 10;
  position: relative;
  background: #fff;
  color: #ddd;
}

#progress li span.active {
  border: 1px solid #f6bb42;
  background: #f6bb42;
  color: #fff;
}

#progress li:before {
  position: absolute;
  content: '';
  z-index: 0;
  width: 100%;
  height: 7px;
  background: #ddd;
  left: -2px;
  top: 50%;
  padding: 0 2px;
  margin-top: -3px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

#progress li span.done {
  background-color: #66a61a;
  color: #fff;
}

#topmenu {
  -webkit-box-shadow: 0px 0px 1px 0px rgba(50, 50, 50, 0.75);
  -moz-box-shadow: 0px 0px 1px 0px rgba(50, 50, 50, 0.75);
  box-shadow: 0px 0px 1px 0px rgba(50, 50, 50, 0.75);
}

.filters .filter-container input,
.filters .filter-container select {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out 0.15s,
    box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.filters .filter-container select {
  padding-left: 0;
}

.dashboard #topmenu {
  background: #ed9c28;
}

.dashboard #topmenu .navbar-toggle,
.dashboard #topmenu .navbar-collapse,
.dashboard #topmenu .navbar-form {
  border-color: #c98522;
}

.dashboard #topmenu .navbar-toggle:hover,
.dashboard #topmenu .navbar-toggle:focus,
.dashboard #topmenu .navbar-nav > li > a:hover {
  background: #c98522;
}

.yiiLog {
  background-color: #fff;
  margin-bottom: 50px;
  border: 1px solid #e0e0e0;
}

.yiiLog tr td,
.yiiLog tr th {
  padding: 5px;
  font-size: 12px;
}

.yiiLog tr td {
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  border-bottom: 1px solid #e0e0e0;
}

@media (min-width: 768px) {
  .yiiLog {
    margin-left: 26%;
    width: 73%;
  }
}

@media (min-width: 992px) {
  .yiiLog {
    margin-left: 17.66666667%;
    width: 81.33333333%;
  }
}

.due-inquiry td {
  background-color: #f2dede;
}

@media (max-width: 768px) {
  .panel .pagination > li > a,
  .panel .pagination > li > span {
    padding: 4px 10px 5px;
  }
}

#front-latest-activities {
  position: relative;
  margin-bottom: 0;
}

#front-latest-activities .has-photo {
  padding-left: 56px;
}

#front-latest-activities .photo {
  position: absolute;
  width: 40px;
  height: 40px;
  margin-top: 0px;
  margin-left: -48px;
  background-size: cover;
  background-position: 50% 50%;
}

.table-detail tr th {
  min-width: 20%;
}

.table-detail tr td {
  width: 80%;
}

.detail-number {
  width: 128px;
}

.filters .text-right input[type='text'] {
  text-align: right;
}

#profile-drop-down {
  background-color: #fff;
  color: #000;
  border-radius: 5px;
}

#profile-drop-down::before {
  position: absolute;
  top: -6px;
  right: 10px;
  display: inline-block;
  border-right: 6px solid transparent;
  border-bottom: 6px solid white;
  border-left: 6px solid transparent;
  content: '';
}

#profile-drop-down a {
  padding: 10px 30px 10px 20px;
  color: #333;
}

#profile-drop-down a:hover {
  color: #333;
}

#profile-drop-down a .glyphicon {
  margin-right: 10px;
}

.profile-photo {
  width: 30px;
  height: 30px;
  display: block;
  float: left;
  background-size: cover;
  background-position: 50% 50%;
  margin-top: -5px;
}

.grid-view-loading {
  opacity: 0.5;
}

.grid-view .table th > .sort-link {
  color: #428bca;
}

.grid-view .table th > .sort-link.desc .caret {
  border-top-color: #428bca;
}

.grid-view .table th > .sort-link.asc .caret {
  border-bottom-color: #428bca;
}

.grid-view .table tr.selected td {
  background: #f3f3ff;
}

.border-right div {
  border-right: 1px solid #eee;
}

.border-right div:last-child {
  border-right: none;
}

.panel .view-detail tr:first-child td,
.panel .view-detail tr:first-child th:first-child {
  border-top: none;
}

/** COSI tooltip **/
#cosi-tooltip {
  position: absolute;
  display: none;

  background-color: #fff;

  border: 1px solid rgba(0, 0, 0, 0.2);

  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

#cosi-tooltip:before,
#cosi-tooltip:after {
  content: ' ';
  height: 0;
  position: absolute;
  width: 0;
  border: 9px solid transparent; /* arrow size */
}

#cosi-tooltip:before {
  border-bottom-color: #fff; /* arrow color */

  /* positioning */
  position: absolute;
  top: -18px;
  left: 10px;
  z-index: 2;
}

#cosi-tooltip:after {
  border-bottom-color: #333; /* arrow color */

  /* positioning */
  position: absolute;
  top: -18px;
  left: 10px;
  z-index: 1;
}

#cosi-tooltip.bottom-arrow:before,
#cosi-tooltip.bottom-arrow:after {
  content: ' ';
  height: 0;
  position: absolute;
  width: 0;
  border: 9px solid transparent; /* arrow size */
}

#cosi-tooltip.bottom-arrow:before {
  border-top-color: #fff; /* arrow color */

  /* positioning */
  position: absolute;
  top: 100%;
  left: 10px;
  z-index: 2;
}

#cosi-tooltip.bottom-arrow:after {
  border-top-color: #333; /* arrow color */

  /* positioning */
  position: absolute;
  top: 100%;
  left: 10px;
  z-index: 1;
}

/** nav serach */
#navbar-search {
  opacity: 0.5;
}

#navbar-search .dropdown-menu {
  border-radius: 0;
  padding: 0;
}

#navbar-search .dropdown-menu li a {
  padding-left: 10px;
  padding-right: 10px;
}

#navbar-search .dropdown-menu li a span {
  margin-right: 5px;
}

#navbar-search input {
  box-shadow: none;
  border: none;
  outline: none;
  height: 32px;
}

#navbar-search input::-webkit-input-placeholder {
  /* WebKit browsers */
  color: #aaa;
}

#navbar-search input:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: #aaa;
  opacity: 1;
}

#navbar-search input::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: #aaa;
  opacity: 1;
}

#navbar-search input:-ms-input-placeholder {
  /* Internet Explorer 10+ */
  color: #aaa;
}

#navbar-search .input-group-btn,
#navbar-search .input-group-btn button {
  box-shadow: none;
  border: none;
}

#navbar-search .input-group-btn button {
  border-top-left-radius: 17px;
  border-bottom-left-radius: 17px;
}

#navbar-search input {
  border-top-right-radius: 17px;
  border-bottom-right-radius: 17px;
}

#navbar-search .input-group-btn button .text-muted {
  color: #ccc;
}

#search-result {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

#search-result-list {
  margin-bottom: 0;
}

#search-result-list li a {
  display: block;
  padding: 3px 10px;
  text-decoration: none;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#search-result-list li a:hover {
  background-color: #eee;
}

#search-result-list li a span.glyphicon {
  margin-right: 5px;
}

#search-result-list.list-ajax,
#search-result-list.list-ajax .list-group-item:first-child,
#search-result-list.list-ajax .list-group-item:last-child {
  border-radius: 0 !important;
}

#search-result-list.list-ajax {
  margin: 0;
  border: none;
}

#search-result-list h4 {
  font-weight: normal;
  font-size: 16px;
}

#search-result-list .list-group-item .glyphicon {
  margin-right: 5px;
}

.list-group-item *:first-child {
  margin-top: 0;
}

.list-group-item *:last-child {
  margin-bottom: 0;
}

.panel .panel-heading {
  overflow: visible;
}

.panel .panel-heading .panel-options {
}

.panel .panel-heading .panel-options a.dropdown-toggle {
  padding-bottom: 10px;
  display: inline-block;
}

.panel .panel-heading .panel-options > a.glyphicon {
}

.panel .panel-options.open .dropdown-toggle {
  box-shadow: none;
}

.fancybox-inner .panel {
  margin-bottom: 0;
  border-radius: 10px;
}

#content > .breadcrumb {
  background-color: #ebebeb;
  margin-left: -20px;
  margin-right: -20px;
  margin-top: -20px;
}

#content > .breadcrumb > .active {
  color: #777;
}

.gb-profile {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: 50% 50%;
}

.note_reply {
  position: relative;
  background: #f5f5f5;
  overflow: visible;
}

.note_reply:after {
  bottom: 100%;
  left: 20px;
  border: solid transparent;
  content: ' ';
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(245, 245, 245, 0);
  border-bottom-color: #f5f5f5;
  border-width: 10px;
  margin-left: -10px;
}

body.dashboard .main {
  padding-left: 0;
  padding-right: 0;
}

body.dashboard .yiiLog {
  margin-left: 0;
  width: 100%;
}

.dashboard-footer {
  background: #006690;
  color: #eee;
  padding: 10px;
}

.panel > .grid-view > .row {
  padding: 10px 15px 5px;
}

.panel > .grid-view > .row .col-md-6:last-child {
  padding-top: 5px;
}

#back-to-cosi a {
  background: #1e8fc6;
  color: #fff;
  text-decoration: none;
  padding: 5px 5px 10px;
  display: block;
  width: 160px;
  border-top-left-radius: 0.5em;
  border-top-right-radius: 0.5em;
  text-align: center;
  position: fixed;
  transform: rotate(-90deg);
  right: -65px;
  top: 50%;
}

.dashboard a {
  color: #c99242;
}

.dashboard a.btn {
  color: #fff;
}

.dashboard a.btn-link {
  color: #c99242;
}

.dashboard a.btn-default {
  color: #333;
}

.dashboard a:hover,
.dashboard a:focus {
  color: #966a2a;
}

@media (max-width: 992px) {
  .grid-view .row .col-md-6,
  .grid-view .row .col-md-6 .summary {
    text-align: center;
  }

  .panel .table-responsive > .row,
  .panel .table-responsive > .row > .col-md-6 {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }
}

.panel > .grid-view th,
.panel > .grid-view .filters td {
  background: #f0f3f5;
}

.grid-view {
  font-size: 14px;
}

#content.loading {
  opacity: 0.5;
}

.panel-body .form-actions {
  margin: 15px -15px -15px;
  padding: 10px 15px;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}

a.external:after {
  margin-left: 5px;
  content: '\f08e';
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: translate(0, 0);
  font-size: 11px;
}

#campaign-controller a.external:after {
  margin-left: 0px;
  content: '';
}

.table > thead > tr > th {
  border-bottom: none;
}

.table > tbody > tr:first-child > td {
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-weight: 700;
}

@media (max-width: 768px) {
  #topmenu .navbar-brand {
    width: 108px;
    left: 50%;
    position: absolute;
    margin-left: -64px;
  }
}

#xs-search-link {
  margin-top: 2px;
  padding: 9px 10px;
  color: #fff;
  position: absolute;
  font-size: 18px;
}

.navbar-inverse .navbar-toggle {
  border: none;
}

#sidebar-left .badge {
  position: absolute;
  top: 8px;
  right: 30px;
}

/**
 * alert
 * --------------------------------------------------
 */
.alert h4 {
  margin-bottom: 10px;
  font-weight: bold;
}

.alert-dismissable .close {
  color: black;
}

.alert-info {
  background-color: #7cd1ef;
  border: #4fc1e9;
}

.alert-warning {
  background-color: #ffdd87;
  border: #ffce54;
}

.alert-danger {
  background-color: #f2838f;
  border: #ed5565;
}

.alert-success {
  background-color: #b9df90;
  border: #a0d468;
}

.alert .alert-link {
  text-decoration: underline;
  cursor: pointer;
  filter: alpha(opacity=65);
  opacity: 0.65;
}

.alert .alert-link:hover,
.alert .alert-link:focus {
  filter: alpha(opacity=45);
  opacity: 0.45;
}

.alert .btn-link,
.alert .btn-link:hover,
.alert .btn-link:focus {
  color: black;
  filter: alpha(opacity=65);
  opacity: 0.65;
}

.alert .btn-link:focus,
.alert .btn-link:hover {
  text-decoration: none;
  filter: alpha(opacity=40);
  opacity: 0.4;
}

.wizard {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 20px;
  margin-bottom: 20px;
  vertical-align: middle;
}

.wizard li {
  display: inline-block;
  margin-right: 20px;
  font-size: 22px;
  color: #aaa;
}

.wizard li span {
  font-size: 28px;
}

.wizard li.active {
  color: #333;
}

.wizard li:after {
  content: '\f061';
  font: normal normal normal 18px/1 FontAwesome;
  padding-left: 22px;
}

.wizard li:last-child:after {
  content: '';
}

/**
 * breadcrumb
 * --------------------------------------------------
 */
.breadcrumb {
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 0;
}

@media (max-width: 768px) {
  .breadcrumb {
    padding-top: 15px;
  }
}

/**
 * dropdown with icons
 * --------------------------------------------------
 */
.dropdown-menu-icons > li > a {
  padding-left: 40px;
}

.dropdown-menu-icons > li > a > i {
  position: absolute;
  margin-left: -25px;
  margin-top: 3px;
}

.form-action-hover.form-action,
.form-action-hover.form-actions {
  padding: 15px 20px 20px 20px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.2);
  position: fixed;
  bottom: -5px;
  left: 50%;
  opacity: 1;
  background: #f5f5f5;
}

.form-action-hover.form-actions .btn {
  display: inline-block;
  width: auto;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .form-action-hover.form-actions button {
    margin-right: 10px;
  }

  .form-action-hover.form-actions button:last-child {
    margin-right: 0px;
  }
}

.with-nav-tabs .panel-heading {
  padding: 5px 5px 0 5px;
}

.panel-tabs .nav > li > a {
  color: #fff;
}

.panel-tabs .nav > li.active > a {
  color: #555;
}

.panel-tabs li > a:hover {
  color: black;
}

#tab-findmentions-body {
  padding: 8px;
}

.btn-findmentions.external:after {
  content: '';
  margin-left: 0;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: '';
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #8cbf53;
}

input:focus + .slider {
  /*box-shadow: 0 0 1px #428bca;*/
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.curve_data_table td {
  width: 50%;
}

/** Margins **/

.m-0 {
  margin: 0 !important;
}

.mt-0,
.my-0 {
  margin-top: 0 !important;
}

.mr-0,
.mx-0 {
  margin-right: 0 !important;
}

.mb-0,
.my-0 {
  margin-bottom: 0 !important;
}

.ml-0,
.mx-0 {
  margin-left: 0 !important;
}

.m-1 {
  margin: 0.25rem !important;
}

.mt-1,
.my-1 {
  margin-top: 0.25rem !important;
}

.mr-1,
.mx-1 {
  margin-right: 0.25rem !important;
}

.mb-1,
.my-1 {
  margin-bottom: 0.25rem !important;
}

.ml-1,
.mx-1 {
  margin-left: 0.25rem !important;
}

.m-2 {
  margin: 0.5rem !important;
}

.mt-2,
.my-2 {
  margin-top: 0.5rem !important;
}

.mr-2,
.mx-2 {
  margin-right: 0.5rem !important;
}

.mb-2,
.my-2 {
  margin-bottom: 0.5rem !important;
}

.ml-2,
.mx-2 {
  margin-left: 0.5rem !important;
}

.m-3 {
  margin: 1rem !important;
}

.mt-3,
.my-3 {
  margin-top: 1rem !important;
}

.mr-3,
.mx-3 {
  margin-right: 1rem !important;
}

.mb-3,
.my-3 {
  margin-bottom: 1rem !important;
}

.ml-3,
.mx-3 {
  margin-left: 1rem !important;
}

.m-4 {
  margin: 1.5rem !important;
}

.mt-4,
.my-4 {
  margin-top: 1.5rem !important;
}

.mr-4,
.mx-4 {
  margin-right: 1.5rem !important;
}

.mb-4,
.my-4 {
  margin-bottom: 1.5rem !important;
}

.ml-4,
.mx-4 {
  margin-left: 1.5rem !important;
}

.m-5 {
  margin: 3rem !important;
}

.mt-5,
.my-5 {
  margin-top: 3rem !important;
}

.mr-5,
.mx-5 {
  margin-right: 3rem !important;
}

.mb-5,
.my-5 {
  margin-bottom: 3rem !important;
}

.ml-5,
.mx-5 {
  margin-left: 3rem !important;
}

.p-0 {
  padding: 0 !important;
}

.pt-0,
.py-0 {
  padding-top: 0 !important;
}

.pr-0,
.px-0 {
  padding-right: 0 !important;
}

.pb-0,
.py-0 {
  padding-bottom: 0 !important;
}

.pl-0,
.px-0 {
  padding-left: 0 !important;
}

.p-1 {
  padding: 0.25rem !important;
}

.pt-1,
.py-1 {
  padding-top: 0.25rem !important;
}

.pr-1,
.px-1 {
  padding-right: 0.25rem !important;
}

.pb-1,
.py-1 {
  padding-bottom: 0.25rem !important;
}

.pl-1,
.px-1 {
  padding-left: 0.25rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.pt-2,
.py-2 {
  padding-top: 0.5rem !important;
}

.pr-2,
.px-2 {
  padding-right: 0.5rem !important;
}

.pb-2,
.py-2 {
  padding-bottom: 0.5rem !important;
}

.pl-2,
.px-2 {
  padding-left: 0.5rem !important;
}

.p-3 {
  padding: 1rem !important;
}

.pt-3,
.py-3 {
  padding-top: 1rem !important;
}

.pr-3,
.px-3 {
  padding-right: 1rem !important;
}

.pb-3,
.py-3 {
  padding-bottom: 1rem !important;
}

.pl-3,
.px-3 {
  padding-left: 1rem !important;
}

.p-4 {
  padding: 1.5rem !important;
}

.pt-4,
.py-4 {
  padding-top: 1.5rem !important;
}

.pr-4,
.px-4 {
  padding-right: 1.5rem !important;
}

.pb-4,
.py-4 {
  padding-bottom: 1.5rem !important;
}

.pl-4,
.px-4 {
  padding-left: 1.5rem !important;
}

.p-5 {
  padding: 3rem !important;
}

.pt-5,
.py-5 {
  padding-top: 3rem !important;
}

.pr-5,
.px-5 {
  padding-right: 3rem !important;
}

.pb-5,
.py-5 {
  padding-bottom: 3rem !important;
}

.pl-5,
.px-5 {
  padding-left: 3rem !important;
}

.div-component-list {
  .btn-add-component {
    margin-top: -10px;
    float: right;
  }
}

.modal-header .close-component {
  margin-top: -18px;
}

#addComponentModal {
  .modal-dialog {
    margin-top: 20%;
    width: 800px;
  }
}

.tbl-component-list-container {
  height: 350px;
  overflow-y: auto;
  position: relative;

  .thead-fixed {
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: #fff;
  }
}
