body {
    overflow-y: scroll !important;
}

main {
    width: 100%;
    overflow: hidden;
}

header h1 {
    margin-bottom: 0;
    font-weight: 900;
    font-family: 'Noto Sans JP', sans-serif;
}

.navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath stroke='rgba(0,0,0,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24' /%3E%3C/svg%3E");
}


footer, nav.navbar.navbar-expand-lg, .top #topics {
    color: #fff;
    background-image: linear-gradient(to right, rgb(23, 40, 139) 0% 50%, rgb(23, 40, 139) 50% 100% );
}

footer .container, nav.navbar.navbar-expand-lg .container, .top #topics .container {
    background-image: linear-gradient(115deg, rgb(23, 40, 139) 0 15px, rgb(23, 40, 139) 15px 30px, rgb(23, 40, 139) 30px 100% );
}

footer .footer-nav {
    text-align: right;
    margin: auto;
}

footer .footer-nav a {
    text-decoration: none;
    color: #ffffff;
}

footer .copyright {
    text-align: right;
    margin: auto;
    padding: 1em;
    background: rgb(23, 40, 139);
    font-size: 0.75em;
}

#search-form {
    max-width: 950px;
    margin: 3em auto 3em;
}

.top #search-form {
    margin: 0 auto 3em;
}

#search-form .container.pb-5.mb-5 {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.top dt{
  float: left;
}

.top dd{
  margin-left: 80px;
}

.navbar-dark a.nav-link {
    color: #fff;
}

input#inlineFormInputNameGroup,
select#inlineFormSelectPref,
#search-form .btn,
#detailsearch .col.flex-fill .btn {
    border-radius: 5px !important;
}

#search-form .btn-light {
    outline: 3px solid rgb(70, 113, 163) !important;
    outline-offset: -3px !important;
    background: #fff;
}

#search-form .text-end {
    display: none;
}

#detailsearch .bg-primary {
    background: transparent !important;
    text-align: left !important;
    color: #333;
    padding: 0 !important;
    font-size: 1em;
}

#detailsearch .col.flex-fill {
    padding: 3em;
    border: 1px solid #D8D8D8;
    border-radius: 5px;
    position: relative;
}

#detailsearch .col.flex-fill:before {
    content: "";
    display: block;
    width: 33px;
    height: 8px;
   /* background: url(http://104.46.228.0/univ202/content/images/simple/search-detail.svg) no-repeat;*/
    background-size: contain;
    background-position: center;
    position: absolute;
    top: -25px;
    left: 0;
    right: 0;
    margin: auto;
}

#category-list-simple .category button h3 {
    background: rgb(0, 175, 221);
}

#category-list-simple #category-1 button h3 {
    background: rgb(0, 175, 221);
}

#category-list-simple #category-2 h3 {
    background: rgb(23, 40, 139);
}

#category-list-simple #category-3 h3 {
    background: rgb(33, 190, 206);
}

#category-list-simple #category-4 h3 {
    background: #805940;
}

.page-link {
    color: #231815;
}

.table td, .table th {
    word-break: break-word;
    padding: 1em;
}

.table th {
    text-align: center;
}

.table-striped>tbody>tr:nth-of-type(odd)>* {
    color: #231815;
    --bs-table-accent-bg: #FFFFFF;
}

.table-striped>tbody>tr:nth-of-type(even)>* {
	color: #231815;
	--bs-table-accent-bg: #F1F1F1;
}

#table-search thead tr > th:nth-of-type(1),
#table-search tr > td > .table tr > th {
    width: 10%;
}

#table-search thead tr > th:nth-of-type(2),
#table-search tr > td > .table tr > td:nth-of-type(1) {
    width: 25%; 
}

#table-search thead tr > th:nth-of-type(3),
#table-search tr > td > .table tr > td:nth-of-type(2) {
    text-align: center;
    width: 15%; 
}

#table-search thead tr > th:nth-of-type(4),
#table-search tr > td > .table tr > td:nth-of-type(3) {
    width: 12.5%;
}

#table-search thead tr > th:nth-of-type(5),
#table-search tr > td > .table tr > td:nth-of-type(4) {
    width: 12.5%;
}

#table-search thead tr > th:nth-of-type(6),
#table-search tr > td > .table tr > td:nth-of-type(5) {
    width: 25%;
}

#table-search .collapse th,
#table-search .collapsing th {
    width: 10%;
}

#table-search tr > td > .table > tbody > tr {
    border-top: none;
    border-bottom: none;
}

#table-search tr > td > .table tr > th,
#table-search .collapse th,
#table-search .collapsing th {
    border: none;
}
#table-search tr > td > .table tr > td,
#table-search .collapse td,
#table-search .collapsing td {
    border-top: none;
    border-bottom: none;
    border-right:none;
}


@media (max-width: 767.98px) {
.table td, .table th {
    padding: 0.5em;
}

.page-item:nth-child(6) .page-link, .page-item:nth-child(7) .page-link, .page-item:nth-child(8) .page-link, .page-item:nth-child(9) .page-link {
display: none;
}

}

/**/

#seach-results .col>* {
 /*   background-color: #d2cfde;*/
    color: #333;
}

#seach-results .list-group,
#seach-results .list-group-item {
    background: none;
    color: #333;
}

.prof-name {
    font-size: 1.5rem;
}

.absolute-center {
    top: 36%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    width: 60% !important;
}

.custom-scrollbar {
    margin-right: .75em;
    scrollbar-width: thin;
    /*細さ*/
    scrollbar-color: #999999 #ffffff;
    /*つまみの色 軌道の色*/
    word-break: break-all;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 5px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background-color: #ffffff;
    border-radius: 100px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #999999;
    border-radius: 100px;
}

/*その他*/
.h4,
h4 {
    font-size: 1rem;
}

.card-title {
    color: #000;
}

.card-text {
    color: #333;
}

#details #category-list p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

@media (max-width: 767.98px) {
    #category-list h3 {
        font-size: 1.2em;
    }

    #category-list h4 {
        font-size: 1em;
    }

    #details #category-list p {
        font-size: calc(24 / 740 * 100vw);
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }
}

@media (min-width: 992px) {
    .form-label {
        color: #231815;
    }
}

@media (max-width: 767.98px) {
    .ms-n25 {
        margin-left: -16%;
    }
}

.youtube {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.youtube iframe {
    width: 100%;
    height: 100%;
}

.vsb-lab {
    display: none;
}

.topics-list {
    display: flex;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .topics-list>* {
        flex: 0 0 auto;
        width: 50%;
        max-width: 100%;
        padding-right: calc(var(--bs-gutter-x) * .5);
        padding-left: calc(var(--bs-gutter-x) * .5);
        margin-top: var(--bs-gutter-y);
    }
}

.topic-list dt {
    float: left;
}

.topic-list dd {
    margin-left: 7em;
}

#detailsearch h3,
#detailsearch-modal h3 {
    color: #fff;
}

.form .text-shadow-center {
    color: #333;
}

@media (max-width: 1399.98px) and (min-width: 768px) {
    .container-md.p-0.px-md-3 {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100%;
    }
}

.text-primary {
    color: #000 !important;
    text-shadow: none;
    font-weight: bold;
}

.style-department-tag {
    border: none;
    margin: 0px;
    padding: 0px;
    width: 100%;
    text-align: left;
}

.style-department-tag h3 {
    font-size: 1em;
    margin-bottom: 0px;
}

.child-block:hover > .dropdown-menu  {
      display: block;
}

.topic-link {
   color: #212529;
   text-decoration: none;
}

.toppic-block {
    max-height: 1000px;
    overflow-y: auto;
}

.bg-base-color {
   background-color: rgb(0, 175, 221) !important;
}

.btn-base-color {
   color: #fff;
   background-color: rgb(70, 113, 163);
   border-color: rgb(70, 113, 163);
}

.logo-size {
   height:60px;
}

.bg-color-pupop {
   background-color: rgb(0, 175, 221);
}

.bg-color-popup-title {
background-color: rgb(70, 113, 163);
}

.simple-link {
    text-decoration: none;
    color: rgb(56, 4, 238);
}

.researcher-img-size {
  /* height: 196px; */
}

.bg-primary {
    background-color: rgb(0, 175, 221) !important;
}

.tb-header {
   vertical-align: middle;
}

.style-table {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4; /* number of lines to show */
  line-clamp: 4; 
  -webkit-box-orient: vertical;
}

.style-profile {
   margin-top: 1rem;
  
}
.style-profile ul {
   padding: 0px;
}




/* ヒアリングシート_画面デザイン  START*/
 
 
.customer-style-1 {

   /* header-simple-templateのsnippetsで設定する */

   /* content/images/logo.png */

   /* 画像を content/images に置き、名前を logo.png に変更します  */

   /* favicon: headのchunksで設定する */

}
 
.customer-style-2 {

   /* (2, 8) 共有してファイル検索トップページに入る  */

}
 
.customer-style-3 {

   /*background-image: linear-gradient(115deg, #1e2e3d 15px, #1e2e3d 15px 30px, #1e2e3d 30px 100% ) !important;

   color: #fff !important;*/

}

/* (3-1) rd_t_settings tableで設定する */
 
.customer-style-4 {

   /* Default: no image

      add a image to : content/images/

      upload to resource Template Variables of TOP : TOP > insert > choose a image > save

      Elements > Manage Elements > Template Variables > main-image-simple > Template Access > [3] TOPテンプレート(国公立) > save  

  */

}
 
.customer-style-5 {

    background-color: #fff !important; 

  /* background-color: rgb(236,245,231) !important;*/
 
}

/* 5と同じ色  */

select{

   background-color: #fff !important;

}
 
.simp-template {

	color: #000000 !important;

}
 
.customer-style-6 {

    color: #fff;

    background-color: rgb(70, 113, 163) !important;

    border-color: rgb(70, 113, 163) !important;

}
 
.customer-style-6:hover {

    color: #fff;

    background-color: rgb(23, 40, 139)  !important;

    border-color: rgb(23, 40, 139)  !important;

}
 
.customer-style-6:active {

    box-shadow: 0 0 0 0.2rem rgb(23, 40, 139);

}
 
.customer-style-6:focus {

    box-shadow: 0 0 0 0.2rem rgb(23, 40, 139);

}
 
.customer-style-6:not(:disabled):not(.disabled):active:focus, .customer-style-6:not(:disabled):not(.disabled).active:focus, .show > .customer-style-6 .dropdown-toggle:focus {

   box-shadow: none;

}

/* (6-1, 6-2) toppage-simple-menuのsnippetsで設定する */
 
/*.customer-style-7 {

    text-align: right;

    margin: auto;

    padding: 1em;

    background: #323433 !important;

    font-size: 0.75em;

    color: #fff !important;

}*/
 
.customer-style-8 {

    /* (2, 8) 共有してファイル検索トップページに入る  */

}
 
.customer-style-9 {

   background: rgb(0, 175, 221) !important;

}
 
.customer-style-10 {

   background: rgb(23, 40, 139) !important;

}
 
.customer-style-11 {

   background: rgb(33, 190, 206) !important;

}
 
.base-color {

    color: #1e2e3d !important;

}

.customer-style-12 {

    background-color: rgb(0, 175, 221) !important;

    --bs-text-opacity: 1;

    color: rgba(var(--bs-white-rgb),var(--bs-text-opacity)) !important;

}
 
.item_level4 {

    margin-top: 5px;

    margin-bottom: 0px;

    background-color: #ffffff !important;

    --bs-text-opacity: 1;

    color: rgb(0 0 0) !important;

    /*padding: 5px;

    margin-left: -10px;*/

}
 
.popup-background {

   background-color: rgb(0, 175, 221) ;

}
 
.popup-title-background {

   background-color: rgb(70, 113, 163);

}
 
/* ヒアリングシート_画面デザイン  END*/

.navbar-light {
	padding: 0;
}
.navbar-brand {
	padding: 0;
}

.btn-top {
    width: 110px;
    bottom: 85px;
    right: 50px;
    display: none;
    position: fixed;
    z-index: 99;
    border: none;
    outline: none;
    cursor: pointer;
}