html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}
body {
  padding-top: 70px;
}
article {
  height: auto;
  margin-bottom: 1.5rem;
  font-size: 100%;
  color: #333;
  background: #fff;
  border: 1px #ccc solid;
  box-shadow: 0 2px 3px 0 #ddd;
  -moz-box-shadow: 0 2px 3px 0 #ddd;
  -webkit-box-shadow: 0 2px 3px 0 #ddd;
  padding: 20px;
}
a:hover,
a:focus {
  text-decoration: none;
}

/*
 * Wordpress
 * --------------------------------------------------
 */
.entry-title:not(.p-archive-title):before,
.widget-title:not(.p-archive-title):before {
    display: inline-block;
    width: 4px;
    content: "\0000a0";
    margin-right: 7px;
    border-style: solid;
    border-width: 1px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background-color: #004896;
    border-color: #004896;
}
.entry-summary {
  margin-top: 10px;
  margin-left: 10px;
}
.nav-link {
  color: #176e96;
}
.widget label,
.widget input {
  width: auto;
  max-width: 100%;
}
.widget_search .form-control {
  margin-bottom: 5px;
}
.widget_search .btn {
  width: 100%;
}
.bbp-form p:nth-of-type(2),
.bbp-form p:nth-of-type(3) {
  display: none;
}
[id="footer"] {
  background: #f2f2f2;
  border-top: 1px solid #e4e4e4;
  line-height: 40px;
  text-align: center;
}

/*
 * bbpress
 * --------------------------------------------------
 */
[id="bbpress-forums"] .bbp-template-notice.info,
.home .bbp-template-notice.info {
  display: none;
}
.home .bbp-topic-form {
  display: none;
}
.p-topic-list .btn {
  width: 100%;
}
.p-topic-list > a:link,
.p-topic-list > a:visited {
  color: #007bff;
}
.p-topic-list > a:hover,
.p-topic-list > a:focus {
  color: #fff;
}
#wp-bbp_topic_content-editor-tools .switch-html,
#wp-bbp_reply_content-editor-tools .switch-html {
  display: none;
}
.bbp-form input {
  max-width: 100%;
}
@media screen and (max-width: 767px) {
  .bbp-pagination-count {
    float: none;
  }
  .bbp-pagination-links {
    float: none;
    display: flex;
  }
  .bbp-pagination-links a {
    height: 50px;
    line-height: 50px;
    text-align: center;
    flex: 1 1 0;
  }
}

/*
 * Off Canvas
 * --------------------------------------------------
 */
@media screen and (max-width: 767px) {
  .row-offcanvas {
    position: relative;
    -webkit-transition: all .25s ease-out;
         -o-transition: all .25s ease-out;
            transition: all .25s ease-out;
  }

  .row-offcanvas-right {
    right: 0;
  }

  .row-offcanvas-left {
    left: 0;
  }

  .row-offcanvas-right
  .sidebar-offcanvas {
    right: -100%; /* 12 columns */
  }

  .row-offcanvas-right.active
  .sidebar-offcanvas {
    right: -50%; /* 6 columns */
  }

  .row-offcanvas-left
  .sidebar-offcanvas {
    left: -100%; /* 12 columns */
  }

  .row-offcanvas-left.active
  .sidebar-offcanvas {
    left: -50%; /* 6 columns */
  }

  .row-offcanvas-right.active {
    right: 50%; /* 6 columns */
  }

  .row-offcanvas-left.active {
    left: 50%; /* 6 columns */
  }

  .sidebar-offcanvas {
    position: absolute;
    top: 0;
    width: 50%; /* 6 columns */
  }
}
/*
 * Bootstrap
 * --------------------------------------------------
 */
.navbar-light .navbar-brand {
  color: #004896;
  opacity: 0.9;
}
.navbar-toggler-right {
  position: absolute;
  top: .5rem;
  right: 1rem;
}
input.form-control {
  padding: .5rem .75rem;
}
.btn-outline-secondary:visited {
  color: #868e96;
}
.btn-outline-secondary:hover {
  color: #fff;
}

/*
 * Project
 * --------------------------------------------------
 */
.p-navbar {
  background-color: #fff;
  opacity: 0.8;
  transition: opacity 0.3s ease-in-out;
  -webkit-transition: opacity 0.3s ease-in-out;
  -moz-transition: opacity 0.3s ease-in-out;
}
.p-navbar:hover {
  opacity: 1;
}
.p-site-name {
  font-size: 1.2rem;
}
.home .p-archive-list  {
  display: none;
}
.p-archive-list .p-archive-search {
  margin-bottom: 20px;
}
@media screen and (max-width: 720px) {
  .form-inline .p-form-control,
  .p-searchsubmit {
    width: 100%;
  }
  .p-searchsubmit {
    margin-top: 10px;
  }
}
.p-page-title {
  margin-bottom: 30px;
}
.p-archive-title {
  margin-bottom: 5px;
}
.p-archive-search {
  margin-bottom: 30px;
}
.p-front-title:after {
    display: block;
    height: 2px;
    width: 30px;
    content: "\0000a0";
    margin-top: 5px;
    background-color: #004896;
}
.p-archive-list-item {
  background-color: #fff;
  border-top: 1px solid #f1f1f1;
  box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.05);
  clear: both;
  margin: 0 0 10px;
  overflow: hidden;
  border-radius: 4px 0 0 4px;
}
.p-archive-list-item a {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-box-lines:single;
  -moz-box-lines:single;
  -webkit-flex-wrap:nowrap;
  -moz-flex-wrap:nowrap;
  -ms-flex-wrap:none;
  flex-wrap:nowrap;
  -webkit-align-items: center;
  align-items: center;
}
.p-archive-list-item time {
  height: 40px;
  line-height: 40px;
  font-weight: bold;
  margin: 0;
  padding: 0;
  text-align: center;
  width: 75px;
}
.p-archive-list-item span {
  padding: 0 10px;
  line-height: 40px;
  height: 40px;
  flex: 1;
}
.p-archive-list-item span small {
  height: auto;
  display: inline-block;
  color: #333;
  font-weight: normal;
}
.p-archive-list-item__green time {
  background-color: #bfde81;
  color: #608e23;
}
.p-archive-list-item__yellow time {
  background-color: #faebb3;
  color: #937f2a;
}
.p-archive-list-item__red time {
  background-color: #ee908e;
  color: #9e3f3c;
}
.p-archive-list-item__gray time {
  background-color: #f3f3f3;
  color: #666;
}
.p-archive-list-item__green a:hover time {
  opacity: 0.9;
}
.p-archive-list-item__yellow a:hover time {
  opacity: 0.9;
}
.p-archive-list-item__red a:hover time {
  opacity: 0.9;
}
.p-archive-list-item__gray a:hover time {
  opacity: 0.9;
}
.p-archive-list-item__green a:hover span {
  background-color: #d8ebb3;
}
.p-archive-list-item__yellow a:hover span {
  background-color: #fdf8e3;
}
.p-archive-list-item__red a:hover span {
  background-color: #f9dddd;
}
.p-archive-list-item__gray a:hover span {
  background-color: #f9f9f9;
}
.p-archive-link .btn{
  width: 100%;
}
.p-site-info a {
  color: #666;
}

