/* TYPE YOUR OWN CSS HERE */
/* Paste this into the Custom CSS Window */
#sub-nav {margin-top:0px;padding-top:25px;}
.main-nav a {font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: 20px;padding-bottom:10px;}
.main-nav li {margin: 0 20px 40px 0;}
img.emcare-cover {width: 60px;}
img.jbi-cover {width: 60px;}
li.mb p.no-mtb{display:none;}
.floatSnippet {
    background-color: #f7f7f7;
    margin-bottom: 10px;
    clear: both;
    border-radius: 6px;
    border: 1px solid #c1c1c1;}

.utdSnippet {
    background-image: url(https://ovidmd.ovid.com/_layouts/images/OvidMD/icon-type-uptodate_16.png);
    background-repeat: no-repeat;
    background-position: 3px 7px;}

.lpSnippet {
    background-image: url(https://demo.ovid.com/demo/images/LP-favicon.ico);
    background-repeat: no-repeat;
    background-position: 3px 7px;}

.laSnippet {background-image: url(https://demo.ovid.com/demo/images/LA-favicon.ico);
    background-repeat: no-repeat;
    background-position: 3px 7px;}

ol.results {float:left;}
ol.results li.feature-snippets>ul>li.feature-snippet:not(:last-child) {border-bottom: 0px;}
.itemContainer {float:left;width:305px;padding-left:50px;z-index:100}
.omdSnippets {width:100%;}
ol.omdSnippetsList {list-style-type: none;margin:0;padding:0;float:left;width:100%;}
li.feature-snippets > ul {list-style-type: none;vertical-align:top;margin:0;padding:0}
.feature-snippet-result-item * {white-space: pre-wrap;margin:5px 0 5px 0;}
.feature-snippet-item-link {font-size: 15px;    color: #0768a9;}
.feature-snippet-link-data {font-size:13px;}
.feature-snippet-more-data-link-cntr{font-size:15px;padding:0 8px 0 8px;}
.feature-snippet-title {
    background-color: #e7e7e7;
    margin-bottom: 0px;
    margin-top:0px;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 22px;
    font-weight: bold;
    clear: both;
    font-size: 14px;
    color: #3d3d3d;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;}
 
.feature-snippet-results {list-style-type: none;margin:0;padding:0 8px 0 8px;}
.tdkg {width:100%;}

@media only screen and (min-width: 1260px){
    .tdkg-title-group {width:100%;clear:both;float:left}
    .tdkg-title a {width:100%;clear:both;display:block;float:left;}
    .tdkgImageContainer {width:100%;clear:both;float:left;}
    .tdkg-title {flex-flow:column nowrap;}

.omdSnippets {
    width: 100%;
    display: inline-block;
    clear:both;
}
}
@media only screen and (max-width: 1259px){
.itemContainer {
    width: 100%;
    position:static;
    display: inline-block;
    padding-left:0;
}
.tdkg {
    width: 100%;
    display: inline-block;
    clear:both;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.omdSnippets {
    width: 100%;
    display: inline-block;
    clear:both;
}
.omdSnippetsList {width:100%;}
.results {display: block;}
}
.tdkg {position:static;margin-bottom:10px;}

@media only screen and (max-width: 1024px){
.toolbar {
    position: absolute;
    height: 0;
    right: 5%;
    overflow: visible;
    top: 130px;
    border: 0;
    z-index: 2;
}
.itemContainer {padding-left:0;}
}

/*a MODAL Starts  */

.modalDialog {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    opacity:0;
    -webkit-transition: opacity 300ms ease-in;
    -moz-transition: opacity 300ms ease-in;
    transition: opacity 300ms ease-in;
    pointer-events: none;
}
.modalDialog:target {
    opacity:1;
    pointer-events: auto;
}
.modalDialog > div {
    width: 80%;
    position: relative;
    font-size: 14px;
    margin: 2% auto;
    padding: 20px;
    border-radius: 4px;
    background: #fff;
    height: 80%;
    overflow-y: auto;
  }
.close {
    background: #DCDCDC;
    color: #FFFFFF;
    line-height: 25px;
    position: absolute;
    right: 12px;
    text-align: center;
    top: 10px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
}

.close a {
    color: white;
}
.close:hover {
    background: #99CC6D;
}
#links {
    font-weight: 400;
    font-size: 1.2em;
}

/*a MODAL Ends */

div.rss-feed h3 {display:none;}

/* FS headers update*/
h3.feature-snippet-title{
    visibility: hidden;
}

/* 電子ジャーナル利用上の注意のダイアログ表示 追加 2026.3.17 Start */
.ej-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
}

.ej-modal-content {
  background: #fff;
  padding: 20px;
  width: 90%;         /* 画面の90% */
  max-width: 500px;   /* 最大500px */
  margin: 12% auto;
  border-radius: 8px;
  text-align: center;
  font-size: clamp(14px, 2.5vw, 16px); /* フォントサイズを画面幅に応じて自動調整する*/
}

/* ボタン共通 */
.ej-buttons button {
  margin: 10px;
  padding: 10px 22px;
  width: 140px;
  height: 42px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #f7f7f7;
  color: #333;
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: 500;
}

/* ホバー時 */
.ej-buttons button:hover {
  background: #eaeaea;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

/* OKボタンのホバー */
.ej-buttons button.selected:hover {
  background: linear-gradient(135deg, #5aa0f2, #3f86c8);
}

/* キャンセルボタン（例：グレー系） */
.ej-buttons button.cancel {
  background: #f0f0f0;
  border: 1px solid #ccc;
}

.ej-buttons button.cancel:hover {
  background: #e0e0e0;
}

/* selected（選択済み） */
.ej-buttons button.selected {
  background: linear-gradient(135deg, #4a90e2, #357ab8); /* 背景を135度の青系グラデーションにする */
  color: #fff; /* 文字色を白にする */
  border: none;  /* ボーダー（枠線）を消す */
}
/* focus（フォーカスリング） */
.ej-buttons button:focus {
  outline: 5px solid #4a90e2;                 /* 太めの青リング */
  outline-offset: 5px;                        /* 少し外側に広げる */
  box-shadow: 0 0 18px rgba(74,144,226,0.75); /* ふわっと広がる青い光 */
  transform: scale(1.07);                     /* 少し大きくして存在感アップ */
  transition: all 0.25s ease;
}
/* 電子ジャーナル利用上の注意のダイアログ表示 追加 2026.3.17 End */