/* ---------------------------------------------------
    BASE STYLE
----------------------------------------------------- */
body {
    font-family: 'Poppins', sans-serif;
/*    background: #fafafa;*/
    word-break: break-word;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ---------------------------------------------------
    HEADER STYLE
----------------------------------------------------- */
/* ---------------------------------------------------
    HEADER STYLE
----------------------------------------------------- */
header {
    display: flex;
    align-items: center;
    width: 100%;
    height: 80px;
    border-bottom: 1px solid #c8ced3;
}

header .header-title {
    display: inline-flex;
    color: #009944;
    font-size: 17.5px;
}

header .headerTitle {
    width: 100%;
    height: 40px;
    line-height: 40px;
    background-color: var(--main-theme-color);
    color:white;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

header.navbar-light .navbar-toggler {
    font-size: 17.5px;
    border: 1px solid transparent;
}

header .dropdown-header {
    padding: 8px 20px;
    background: #e4e7ea;
    border-bottom: 1px solid #c8ced3;
    display: block;
    margin-bottom: 0;
    font-size: 0.765625rem;
    color: #73818f;
    white-space: nowrap;
}

header .dropdown-toggle::after{
    position: static;
    display: inline-block;
}

header .dropdown-menu {
    padding-top: 0;
}


/* ---------------------------------------------------
    BREADCRUMB STYLE
----------------------------------------------------- */
.breadcrumb,
.breadcrumb a {
    color: #20a8d8;
    border-radius: 0;
}

.breadcrumb {
    flex-wrap: nowrap;
    overflow-x: scroll;
    -ms-overflow-style: none;    /* IE, Edge 対応 */
    scrollbar-width: none;       /* Firefox 対応 */
}
.breadcrumb::-webkit-scrollbar {  /* Chrome, Safari 対応 */
        display:none;
}

.breadcrumb li {
    flex: 0 0 auto;
}

/* ---------------------------------------------------
    WRAPPER STYLE
----------------------------------------------------- */
.wrapper {
    position: absolute;
    /*margin-top: calc(80px + 32px);*/
    width: 100%;
    align-items: stretch;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
#sidebar {
    width: 200px;
    position: fixed;
    margin-left: -250px;
/*
    top: 0;
    left: 0;
*/
    height: calc(100vh - 80px);
    height: calc(var(--vh, 1vh) * 100 - 80px);
    z-index: 1999;
    background: var(--main-theme-color);
    color: white;
    transition: all 0.3s;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: var(--main-theme-color);
}

#sidebar #question-list{
    overflow-y: auto;
    flex: 1;
    background-color: #f0f3f5;
}

#sidebar.active {
    margin-left: 0;
}

#sidebar ul.components {
    padding: 0;
    margin-bottom: 0;
}

#sidebar ul p {
    color: #25724C;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
#sidebar ul li a span.no {
    font-size: 1.1em;
}

#sidebar ul li a:hover {
    color: #009945;
    background: #fff;
}

#sidebar ul li.active > a,
#sidebar ul li.active > a[aria-expanded="true"] {
    color: #25724C;
    background: #EBF5E9;
}
ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #EBF5E9;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
#content {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: calc(100vh - 80px - 32px);
    min-height: calc(calc(var(--vh, 1vh) * 100) - 80px - 32px);
    padding: 30px 8px 0 8px;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
}

#content-main {
    flex: 1 0 auto;
}

/* ---------------------------------------------------
    OVERLAY STYLE
----------------------------------------------------- */
.overlay {
    display: none;
    position: fixed;
    /* full screen */
    width: 100vw;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    /* transparent black */
    background: rgba(0, 0, 0, 0.7);
    /* middle layer, i.e. appears below the sidebar */
    z-index: 998;
    opacity: 0;
    /* animate the transition */
    transition: all 0.5s ease-in-out;
}
/* display .overlay when it has the .active class */
.overlay.active {
    display: block;
    opacity: 1;
}

/* ---------------------------------------------------
    FOOTER STYLE
----------------------------------------------------- */
#content-footer {
    flex: 0 0 auto;
    margin-left: -8px;
    margin-right: -8px;
    padding-left: 8px;
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #f0f3f5;
    font-size: 0.8em;
    align-items: center;
}
@media (max-width: 767px) {
    #content-footer {
        margin-left: -8px;
        margin-right: -8px;
        padding-left: 8px;
        padding-top: 5px;
        padding-bottom: 5px;
        line-height: 1.1em
    }
}

/* ---------------------------------------------------
    BADGE OUTLINED STYLE
----------------------------------------------------- */
.badge.badge-outlined {
  display: inline-block;
  font-size: 0.7em;
  font-weight: 600;
  padding: 4px 6px;
  border: 1px solid transparent;
  min-width: 0.9em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: top;
}

.badge.badge-outlined {
  background-color: transparent
}

.badge.badge-outlined.badge-default {
  border-color: #B0BEC5;
  color: #B0BEC5
}

.badge.badge-outlined.badge-primary {
  border-color: #2196F3;
  color: #2196F3
}

.badge.badge-outlined.badge-secondary {
  border-color: #323a45;
  color: #323a45
}

.badge.badge-outlined.badge-success {
  border-color: #64DD17;
  color: #64DD17
}

.badge.badge-outlined.badge-warning {
  border-color: #FFD600;
  color: #FFD600
}

.badge.badge-outlined.badge-info {
  border-color: #29B6F6;
  color: #29B6F6
}

.badge.badge-outlined.badge-danger {
  border-color: #ef1c1c;
  color: #ef1c1c
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 767px) {
    .dropdown-toggle.mx-down-none-icon::after{
        display: none;
    }
}

#breadcrumb {
    max-height: 48px;
}
ol.breadcrumb{
    margin-bottom: 0;
}

/* ---------------------------------------------------
    CUSTOM CLASS STYLE
----------------------------------------------------- */
.w-1em {
    width: 1em;
}
.w-2em {
    width: 2em;
}
.w-3em {
    width: 3em;
}
.w-4em {
    width: 4em;
}
.w-5em {
    width: 5em;
}
@media (min-width: 768px) {
    .w-md-100 {
        width: 100% !important;
    }
}

@media (min-width: 576px) {
    .w-sm-1em {
        width: 1em !important;
    }

    .w-sm-2em {
        width: 2em !important;
    }

    .w-sm-3em {
        width: 3em !important;
    }

    .w-sm-4em {
        width: 4em !important;
    }

    .w-sm-5em {
        width: 5em !important;
    }

    .w-sm-6em {
        width: 6em !important;
    }

    .w-sm-7em {
        width: 7em !important;
    }

    .w-sm-8em {
        width: 8em !important;
    }
    .w-sm-9em {
        width: 9em !important;
    }
    .w-sm-10em {
        width: 10em !important;
    }
    .w-sm-11em {
        width: 11em !important;
    }

    .w-sm-12em {
        width: 12em !important;
    }

    .w-sm-13em {
        width: 13em !important;
    }

    .w-sm-14em {
        width: 14em !important;
    }

    .w-sm-15em {
        width: 15em !important;
    }

    .w-sm-16em {
        width: 16em !important;
    }

    .w-sm-17em {
        width: 17em !important;
    }

    .w-sm-18em {
        width: 18em !important;
    }
    .w-sm-19em {
        width: 19em !important;
    }
    .w-sm-20em {
        width: 20em !important;
    }
}


.border-style-none {
    border-style: none;
}
.border-style-solid {
    border-style: solid;
}
.border-style-dashed {
    border-style: dashed;
}
.border-style-dotted {
    border-style: dotted;
}
.round-button
{
  width: 2em;
  height: 2em;
  text-decoration: none;
  display: inline-block;
  outline: none;
  cursor: pointer;
  border-style: none;
  color: white;
  background-color: lightpink;
  border-radius: 100%;
  overflow: none;
  text-align: center;
  font-weight: bold;
  font-size: 0.75em;
}

.round-button:active{
  background-color: pink;
}
.round-button:hover{
  background-color: pink;
}

.round-button-gray
{
  width: 2em;
  height: 2em;
  text-decoration: none;
  display: inline-block;
  outline: none;
  cursor: pointer;
  border-style: none;
  color: white;
  background-color: darkgray;
  border-radius: 100%;
  overflow: none;
  text-align: center;
  font-size: 0.75em;
  font-weight: bold;
}

.round-button-gray:active{
  background-color: gray;
}
.round-button-gray:hover{
  background-color: gray;
}

.modal {z-index: 9999 !important;}
.modal-backdrop {z-index: 9998 !important;}

.no-wrap {
    display: inline-block; /* インラインブロック化 */
    text-indent: 0;
    font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif; /*指定しない場合、FireFoxで最初も文字が小くなってしまう*/
}