/* here you can put your own css to customize and override the theme */
.header .navbar-brand {
    display: inline-block;
    margin-top: -1px;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    width: 400px;
}
.navbar-brand {
    float: left;
    padding: 5px 5px;
    font-size: 18px;
    line-height: 20px;
}














.page-sidebar2 {
  background-color: #3d3d3d;
}
ul.page-sidebar2-menu > li > a {
  border-top: 1px solid #5c5c5c !important;
  color: #ffffff !important;
}
ul.page-sidebar2-menu > li:last-child > a {
  border-bottom: 1px solid transparent !important;
}
ul.page-sidebar2-menu > li a i {
  color: #575757;
}
ul.page-sidebar2-menu > li.open > a,
ul.page-sidebar2-menu > li > a:hover,
ul.page-sidebar2-menu > li:hover > a {
  background: #303030;
}
ul.page-sidebar2-menu > li.active > a {
  background: #27a9e3 !important;
  border-top-color: transparent !important;
  color: #ffffff;
}
ul.page-sidebar2-menu > li.active > a i {
  color: #ffffff;
}
ul.page-sidebar2-menu > li > ul.sub-menu > li:first-child > a {
  border-top: 0px !important;
}
ul.page-sidebar2-menu > li > ul.sub-menu > li.active > a,
ul.page-sidebar2-menu > li > ul.sub-menu > li > a:hover {
  color: #ffffff !important;
  background: #575757 !important;
}
ul.page-sidebar2-menu > li > ul.sub-menu > li > a:hover {
  background: #575757 !important;
}
/* 3rd level sub menu */
ul.page-sidebar2-menu > li > ul.sub-menu li > ul.sub-menu > li.active > a,
ul.page-sidebar2-menu > li > ul.sub-menu li > ul.sub-menu > li > a:hover,
ul.page-sidebar2-menu > li > ul.sub-menu li.open > a {
  color: #ffffff !important;
  background: #575757 !important;
}
/* font color for all sub menu links*/
ul.page-sidebar2-menu li > ul.sub-menu > li > a {
  color: #56565b;
  font-weight: bold;
}
/* menu arrows */
ul.page-sidebar2-menu > li > a .arrow:before,
ul.page-sidebar2-menu > li > a .arrow.open:before {
  color: #7d7d7d !important;
}
ul.page-sidebar2-menu > li > ul.sub-menu a .arrow:before,
ul.page-sidebar2-menu > li > ul.sub-menu a .arrow.open:before {
  color: #707070 !important;
}
ul.page-sidebar2-menu > li > a > .arrow.open:before {
  color: #8a8a8a !important;
}
ul.page-sidebar2-menu > li.active > a .arrow:before,
ul.page-sidebar2-menu > li.active > a .arrow.open:before {
  color: #ffffff !important;
}
/* sidebar2 search */
.page-sidebar2 .sidebar2-search input {
  background-color: #242424 !important;
  color: #7d7d7d;
}
.page-sidebar2 .sidebar2-search input::-webkit-input-placeholder {
  color: #7d7d7d !important;
}
.page-sidebar2 .sidebar2-search input:-moz-placeholder {
  color: #7d7d7d !important;
}
.page-sidebar2 .sidebar2-search input:-ms-input-placeholder {
  color: #7d7d7d !important;
}
.page-sidebar2 .sidebar2-search input {
  background-color: #3d3d3d !important;
  color: #bfbfbf !important;
}
.page-sidebar2 .sidebar2-search .input-box {
  border-bottom: 1px solid #7d7d7d !important;
}
.page-sidebar2 .sidebar2-search .submit {
  background-image: url(../../img/search-icon.png);
}
/***
sidebar2 toggler
***/
.sidebar2-toggler {
  background-image: url(../../img/sidebar-toggler.jpg);
  background-color: #242424;
}
/* search box bg color on expanded */
.page-sidebar2-closed .page-sidebar2 .sidebar2-search.open .form-container {
  background-color: #3d3d3d !important;
}
.page-sidebar2-closed .page-sidebar2 .sidebar2-search.open .form-container .remove {
  background-image: url("../../img/sidebar-search-close.png");
}
/* sub menu bg color on hover menu item */
.page-sidebar2-closed ul.page-sidebar2-menu > li:hover .sub-menu {
  background-color: #3d3d3d;
}

.col-xs-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.col-xs-5ths {
    width: 20%;
    float: left;
}

@media (min-width: 768px) {
    .col-sm-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 992px) {
    .col-md-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 1200px) {
    .col-lg-5ths {
        width: 20%;
        float: left;
    }
}

.col-xs-6ths,
.col-sm-6ths,
.col-md-6ths,
.col-lg-6ths {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}

.col-xs-6ths {
    width: 17%;
    float: left;
}

@media (min-width: 768px) {
    .col-sm-6ths {
        width: 16.5%;
        float: left;
    }
}

@media (min-width: 992px) {
    .col-md-6ths {
        width: 16.5%;
        float: left;
    }
}

@media (min-width: 1200px) {
    .col-lg-6ths {
        width: 16.5%;
        float: left;
    }
}
.imessage {
  background-color: #fff;
  border: 1px solid #e5e5ea;
  border-radius: 0.25rem !important;
  display: flex;
  flex-direction: column;
  /*font-family: "SanFrancisco";*/
  font-size: 1.25rem;
  margin: 0 auto 1rem;
  max-width: 600px;
  padding: 0.5rem 1.5rem;
}

.imessage p {
  border-radius: 1.15rem !important;
  line-height: 1.25;
  max-width: 100%;
  padding: 0.5rem .875rem;
  position: relative;
  word-wrap: break-word;
}

.imessage p::before,
.imessage p::after {
  bottom: -0.1rem;
  content: "";
  height: 1rem;
  position: absolute;
}

p.from-me {
  align-self: flex-end;
  background-color: #248bf5;
  color: #fff; 
}

p.from-me::before {
  border-bottom-left-radius: 0.8rem 0.7rem;
  border-right: 1rem solid #248bf5;
  right: -0.35rem;
  transform: translate(0, -0.1rem);
}

p.from-me::after {
  background-color: #fff;
  border-bottom-left-radius: 0.5rem;
  right: -40px;
  transform:translate(-30px, -2px);
  width: 10px;
}

p[class^="from-"] {
  margin: 0.5rem 0;
  width: fit-content;
}

p.from-me ~ p.from-me {
  margin: 0.25rem 0 0;
}

p.from-me ~ p.from-me:not(:last-child) {
  margin: 0.25rem 0 0;
}

p.from-me ~ p.from-me:last-child {
  margin-bottom: 0.5rem;
}

p.from-them {
  align-items: flex-start;
  background-color: #e5e5ea;
  color: #000;
}

p.from-them:before {
  border-bottom-right-radius: 0.8rem 0.7rem;
  border-left: 1rem solid #e5e5ea;
  left: -0.35rem;
  transform: translate(0, -0.1rem);
}

p.from-them::after {
  background-color: #fff;
  border-bottom-right-radius: 0.5rem;
  left: 20px;
  transform: translate(-30px, -2px);
  width: 10px;
}

p[class^="from-"].emoji {
  background: none;
  font-size: 2.5rem;
}

p[class^="from-"].emoji::before {
  content: none;
}

.no-tail::before {
  display: none;
}

.margin-b_none {
  margin-bottom: 0 !important;
}

.margin-b_one {
  margin-bottom: 1rem !important;
}

.margin-t_one {
  margin-top: 1rem !important;
}