/*
Theme Name: Ehime University
Theme URI: 
Author: COMOTEC
Author URI: http://comotec.ne.jp/
Description: No description
Version: 1.5
License: GNU General Public License v2 or later
License URI: http://comotec.ne.jp/
Tags: black, blue, gray, pink, purple, white, yellow, dark, light, two-columns, left-sidebar, fixed-layout, responsive-layout, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: ehimeuni

*/

/**
 * Table of Contents
 *
 * 1.0 - Reset
 * 2.0 - Genericons
 * 3.0 - Typography
 * 4.0 - Elements
 * 5.0 - Forms
 * 6.0 - Navigations
 *   6.1 - Links
 *   6.2 - Menus
 * 7.0 - Accessibility
 * 8.0 - Alignments
 * 9.0 - Clearings
 * 10.0 - Header
 * 11.0 - Widgets
 * 12.0 - Content
 *    12.1 - Posts and pages
 *    12.2 - Post Formats
 *    12.3 - Comments
 * 13.0 - Footer
 * 14.0 - Media
 *    14.1 - Captions
 *    14.2 - Galleries
 * 15.0 - Multisite
 * 16.0 - Media Queries
 *    16.1 - Mobile Large
 *    16.2 - Tablet Small
 *    16.3 - Tablet Large
 *    16.4 - Desktop Small
 *    16.5 - Desktop Medium
 *    16.6 - Desktop Large
 *    16.7 - Desktop X-Large
 * 17.0 - Print
 */

/**
 * 1.0 - Reset
 *
 * Resetting and rebuilding styles have been helped along thanks to the fine
 * work of Eric Meyer, Nicolas Gallagher, Jonathan Neal, and Blueprint.
 */
/*! normalize.css v1.0.0 | MIT License | git.io/normalize */
.category-news .segment-single-header-left {
  display: none;
}
.category-news .segment-single-header-right {
  width: 100%;
  padding-left: 90px;
}
.date-select {
  border: 1px solid #707070;
  padding: 5px 40px;
  border-radius: 30px;
  cursor: pointer;
}
.search-ses {
  padding: 15px 0;
  border-bottom: 1px solid #ccc;
}
.sSearchContainer_search02 {
  padding-top: 15px;
}
.search-box.according-single {
  border: 1px solid #707070;
  border-radius: 12px;
  padding: 16px 38px 14px;
  box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.16);
}
.search-box .page-single-title::after {
  content: "";
  background-color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-image: url(./assets/images/segment-management/icon-close-white.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 8px 12px;
  background-color: #0c0b3b;
  top: calc(50% - 19.5px);
  position: absolute;
  right: 15px;
  transform: rotate(45deg);
  transition: 0.5s;
}
.search-box .page-single-title.active::after {
  transform: rotate(90deg);
  transition: 0.5s;
}
.search-box .page-single-title {
  position: relative;
  cursor: pointer;
  padding-right: 60px;
  padding-left: 60px;
}
.search-box .page-single-title::before {
  content: "";
  width: 40px;
  height: 40px;

  background-image: url(./assets/images/segment-management/search.svg);
  background-repeat: no-repeat;
  background-position: center;

  top: calc(50% - 19.5px);
  position: absolute;
  left: 15px;
}

.search-box .search-ses label {
  margin-left: 0;
  margin-right: 13px;
}

.pagi ul.page-numbers {
  margin: 0px auto;
  display: block;
  text-align: center;
}
.pagi ul.page-numbers li {
  display: inline-block;
  margin: 0px 10px;
}
.next:after {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background-color: #c1c1c1;
  background-image: url(./assets/images/index/icon-arrow-right-white.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 8px 12px;
  content: "";
  top: -6px;
  position: absolute;
  right: -10px;
}
.prev:after {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background-color: #c1c1c1;
  background-image: url(./assets/images/index/icon-arrow-right-white.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 8px 12px;
  content: "";
  top: -6px;
  transform: rotate(180deg);
  position: absolute;
  left: -10px;
}
.pagi .prev {
  padding-left: 30px;
  position: relative;
}
.pagi .next {
  padding-right: 30px;
  position: relative;
}
.pagi {
  padding: 15px 5px;
  border-top: 1px solid #707070;
  border-bottom: 1px solid #707070;
}
.btn-more-single {
  width: fit-content;
  margin: 0 auto;
}
.search-box input[type="text"] {
  border: 1px solid #707070;
  border-radius: 30px;
  height: 43px;
  padding-left: 20px;
  margin-left: 40px;
}
.is-style-has-border {
  padding: 50px 80px;
  border: 1px solid #707070;
}

.segment-single-header.header-full .segment-single-header-right {
  width: 100%;
  padding-left: 90px;
}

/* phung custom site search*/
.sSearchContainer_pagelist {
  margin: 50px 0px;
}

.search-ses {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.search-ses label {
  display: flex;
  flex-direction: row-reverse;
  margin-left: 20px;
  align-items: baseline;
  border: 1px solid #707070;
  background: #f4f4f4;
  padding: 3px 20px 5px 12px;
  border-radius: 17px;
  margin-bottom: 13px;
}
.search-ses label input {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 1px solid #969696;
  border-radius: 4px;
  margin-right: 12px;
  position: relative;
  top: 3px;
}
.search-ses label.checked input:before {
  content: "";
  position: absolute;
  background-image: url("./assets/images/index/checked-v.svg");
  width: 16px;
  height: 12px;
  top: 50%;
  transform: translateY(-50%);
  left: 1px;
}

.search-ses {
  padding: 12.9px 0px;
}
.search-ses:first-child {
  border-top: 1px solid #ccc;
}
button.submit-search-postype {
  background: #1e1c6e;
  color: #fff;
  border: none;
  width: max-content;
  width: 207px;
  height: 41px;
  border-radius: 20px;
  margin: 0 auto;
  display: block;
  cursor: pointer;
  box-shadow: 0px 2px 0px 0px rgb(0 0 0 / 40%);
}
button.submit-search-postype:hover {
  position: relative;
  top: 2px;
  box-shadow: none;
}

.topicsMainList .page-numbers .current,
.pagination-wrapper .pagination .current,
.page-numbers .current {
  color: red;
}
.sSearchContainer ul.page-numbers {
  margin: 30px auto;
  display: block;
  text-align: center;
}
.sSearchContainer ul.page-numbers li {
  display: inline-block;
  margin: 0px 10px;
}
body.page:not(.page-template-page-home) .segment-single-header-left {
  display: none;
}
body.page:not(.page-template-page-home) .segment-single-header-right {
  width: 100%;
  padding-left: 90px;
}
body:not(.home).segment-top .tool-bar-header {
  display: block;
}
.site-search-content input[type="submit"] {
  padding: 5px 28px 5px 17px;
  font-size: 1.2rem;
  width: 152px;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-color: #efefef;
  border: none;
  font-size: 18px;
  height: 50px;
}
.site-search-content input[type="submit"]:hover {
  background-color: #0c0b3b;
  color: white;
}
.site-search-content input[type="text"] {
  border: 1px solid #707070;
  border-radius: 5px;
  height: 50px;
}

#calendar .tui-full-calendar-popup-detail .tui-full-calendar-popup-container {
  width: 100vw;
  max-width: 800px;
  padding-top: 60px;
  position: relative;
}
#calendar .tui-full-calendar-popup-detail .popup-header {
  position: absolute;
  top: 8px;
  width: calc(100% - 30px);
  display: flex;
  justify-content: space-between;
}
#calendar
  .tui-full-calendar-popup-detail
  .btn.btn-block-text.w-auto.btn-detail {
  position: absolute;
  right: 15px;
  bottom: 0;
  top: unset;
}
#calendar
  .tui-full-calendar-popup-detail
  .btn.btn-block-text.w-auto.btn-detail
  :hover {
  top: unset;
}
#calendar .tui-full-calendar-section-detail {
  height: 40px;
}

/* .ical_download {
  line-height: 50px !important;
  cursor: pointer;
} */

a.ical_download_all {
  width: fit-content;
  padding: 0px 16px 0px 11px;
  height: 39px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  background: #efefef;
  transition: all 0.2s ease-in-out;
  box-shadow: 0px 3px 0px -2px #9e9e9e;
  border-radius: 3px;
  padding-top: 3px;
  background-color: white;
  border: 1px solid #707070;
  text-decoration: none !important;
  position: relative;
  color: #4d4d4d !important;
  margin-left: auto;
}
a.ical_download_all svg {
  margin-right: 6.4px;
}
a.ical_download_all:hover {
  background-color: #1e1c6e;
  color: white !important;
}
a.ical_download_all:hover svg path {
  fill: #fff;
}

a.ical_download,
a.ical_download {
  width: fit-content;
  padding: 0px 5px;
  height: 39px;
  display: flex;
  width: 102px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  background: #f7f7f7;
  transition: all 0.2s ease-in-out;
  box-shadow: 0px 3px 0px -2px #9e9e9e;
  border-radius: 3px;
  border: 1px solid #707070;
  text-decoration: none;
  color: #4d4d4d;
  display: flex;
  align-items: center;
}
a.ical_download:hover {
  opacity: 0.6;
}
/* a.ical_download:hover svg path{
  fill: #fff;
} */
.popup-header .ical_download {
  margin-left: auto;
}
.event-item .text-box .ical_download svg {
  /*   margin: 0px 11px; */
}
.event-item .text-box .title a {
  display: block;
  font-size: 20px;
  margin-top: 16px;
  margin-bottom: 36px;
  color: #140e00;
}
.event-item .text-box-bottom .btn-block-text {
  padding: 0px 92px 0px 74px;
}
.event-item .text-box-bottom .info-event div svg {
  margin-right: 12px;
}
h3.title-list-event-month {
  background: #e9e9f5;
  padding: 25px 23px;
  margin-top: 80px;
  margin-bottom: 11px;
  font-size: 28px;
  font-weight: 700;
}
.home-link-row-3 .home-link-slide-item {
  padding: 0px 5px;
}

.home-link-row-3 .prev-arrow {
  left: -3%;
  width: 30px;
  height: 30px;
  background-color: white;
  border-radius: 50%;
  border: none;
  line-height: 1.2;
}
.home-link-row-3 .next-arrow {
  right: -3%;
  width: 30px;
  height: 30px;
  background-color: white;
  border-radius: 50%;
  border: none;
  transform: rotate(180deg);
  line-height: 1.2;
}

.home-link-row-3 .slide-arrow {
  position: absolute;
  top: 50%;
}

#banner .main-banner.right {
  width: 33.33%;
  right: 15px;
}
#banner .main-banner.left {
  width: 33.33%;
  left: 15px;
}
#banner .main-banner.center {
  width: 33.33%;
  left: 50%;
  transform: translateX(-50%);
}

.introduce-slider .box-blog .box-image {
  height: 230px;
  background-position: center;
  background-size: cover;
}

.content-post-type-sitemap .pagemenu-item.site-map-item a {
  padding-left: 6px;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid #c6c6c6;
  min-height: 50px;
  box-shadow: none;
  text-decoration: none;
}
.content-post-type-sitemap .pagemenu-item.site-map-item a:hover {
  background-color: transparent !important;
  text-decoration: underline;
  top: 0;
}
.site-map-item.pagemenu-item a:hover:after,
.site-map-item.pagemenu-item a.active:after {
  background-image: url(./assets/images/index/arrow-right.svg);
}

.content-post-type-sitemap .cat-title-post-type {
  display: block;
  font-size: 22px;
  font-weight: 700;
  border-left: 23px solid #ebebeb;
  padding: 20px 0px 20px 20px;
  margin: 40px 0px 25px 6px;
}

.news-slider .box-image {
  height: 245px;
  width: 100%;
}

.news-top a.btn.btn-more {
  max-width: max-content;
  margin: 0 auto;
}
.search-header > a {
  display: flex;
  justify-content: center;
  align-items: center;
}
.tabs-news-cat {
  flex-wrap: wrap;
}
.tabs-news-cat a {
  margin-right: 10px;
  margin-top: 2px;
  margin-bottom: 2px;
}
.iroha-item .image-box {
  height: 360px;
  background-size: cover;
}

html body .navfor input[type="range"]::-ms-track {
  -webkit-appearance: none;
  margin: 0;
  width: 100%;
  z-index: 1;
  position: relative;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}
html body .navfor input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  background-color: #eac926;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}
html body .navfor input[type="range"]::-ms-thumb {
  background: #eac926;
}

html body .navfor input[type="range"]::-moz-range-track {
  width: 100%;
  -webkit-appearance: none;
}

html body .navfor input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  -webkit-appearance: none;
}

html body .navfor input[type="range"]:focus::-webkit-slider-runnable-track {
  width: 100%;
  -webkit-appearance: none;
}

html body .navfor input[type="range"]::-ms-fill-upper {
  width: 100%;
  -webkit-appearance: none;
  background: rgba(110, 156, 71, 0.2);
}
html body .navfor input[type="range"]::-ms-fill-lower {
  width: 100%;
  -webkit-appearance: none;
  background: rgba(110, 156, 71, 0.2);
}

html body .navfor input[type="range"]:focus::-ms-fill-upper {
  width: 100%;
  -webkit-appearance: none;
  background: rgba(110, 156, 71, 0.2);
}
html body .navfor input[type="range"]:focus::-ms-fill-lower {
  width: 100%;
  -webkit-appearance: none;
  background: rgba(110, 156, 71, 0.2);
}
.post-type-archive-data_backnumber #start_date {
  -webkit-appearance: none;
  -moz-appearance: none;
  font-size: 16px;
  font-weight: 500;
  font-family: source-han-sans-japanese, sans-serif;
}
html .date-select {
  height: 43px;
}
.search-box input[type="text"][name="search"] {
  width: 100%;
  max-width: 316px;
  height: 43px;
}
.tui-full-calendar-popup-detail .tui-full-calendar-content {
  margin-top: 15px;
}
.tui-full-calendar-popup-detail .tui-full-calendar-schedule-title {
  font-size: 20px !important;
}
.search-ses .wrap-input-search {
  width: 100%;
}
.event-item.class-item {
  border-bottom: 1px solid #d8d8d8;
}
@media (max-width: 768px) {
  .event-item .text-box-head .tabs-news-cat {
    order: 1;
  }
  .event-item .text-box-head .ical_download {
    order: 2;
  }
  .event-item .text-box .title a {
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.5;
  }
  .event-item .text-box-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .event-item .text-box-bottom .btn-block-text {
    padding-left: 13px;
  }
}

.search-ses .toggle-pc {
  width: 100%;
}
.search-ses .toggle-cont {
  display: none;
}
.search-ses .toggle-hd {
  position: relative;
  cursor: pointer;
  padding-right: 60px;
}
.search-ses .toggle-cont-inner {
  display: flex !important;
  flex-wrap: wrap;
}
.search-ses .toggle-hd::after {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-image: url(./assets/images/segment-management/icon-close-white.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 8px 12px;
  background-color: #6a6a6a;
  top: calc(50% - 15px);
  position: absolute;
  right: 15px;
  transform: rotate(45deg);
  transition: 0.5s;
}
.search-ses .toggle-hd.active::after {
  transform: rotate(90deg);
  transition: 0.5s;
}
.search-ses.form-date,
.search-ses-date {
  flex-wrap: nowrap;
}
.search-ses.form-date span,
.search-ses-date span {
  word-break: keep-all;
}

.wpml-ls-legacy-list-horizontal.wpml-ls-statics-footer {
  margin-bottom: 0 !important;
  border-radius: 11px;
}

.wpml-ls-legacy-list-horizontal li {
  width: 100%;
  text-align: left;
}

.wpml-ls-legacy-list-horizontal a {
  text-align: left;
  margin: auto;
  color: #fff;
}
.rating-and-comment a {
  cursor: pointer;
}

.noti-translate.text-center {
  background: white;
  padding: 10px;
  color: black;
}
.single-page .block-fax.box-rounded{
  border-width: 5px;
  border-radius: 25px;
}