@charset "utf-8";
/* ****色設定**** */

.page-header{
    background-color: #00507e;
    min-height: unset;
}


.siteFooter {
    border-top: 3px solid #00507e;
}

.bg-primary{
    color: #fff;
    background-color: #00507e !important;
}

.badge-primary {
    color: #fff;
    background-color: #00507e;
}

.btn-primary{
    background-color: #00507e;
    border-color: #00507e;
    outline: none !important;
}
.btn-primary:hover{
    background-color: #8f212a !important;
    border-color: #8f212a !important;
}
.btn-primary:active{
    background-color: #8f212a  !important;
    border-color: #8f212a !important;
    -webkit-box-shadow: 0 0 0 0.2rem rgba(174, 41, 51,.5) !important;
    box-shadow: 0 0 0 0.2rem rgba(174, 41, 51,.5) !important;
}
.btn-primary:focus{
    background-color: #8f212a !important;
    border-color: #8f212a !important;
    -webkit-box-shadow: 0 0 0 0.2rem rgba(174, 41, 51,.5) !important;
    box-shadow: 0 0 0 0.2rem rgba(174, 41, 51,.5) !important;
}

.btn-primary:active:focus{
    background-color: #8f212a !important;
    border-color: #8f212a !important;
    -webkit-box-shadow: 0 0 0 0.2rem rgba(174, 41, 51,.5) !important;
    box-shadow: 0 0 0 0.2rem rgba(174, 41, 51,.5) !important;
}

.btn-primary:active:focus{
    background-color: #8f212a !important;
    border-color: #8f212a !important;
    -webkit-box-shadow: 0 0 0 0.2rem rgba(174, 41, 51,.5) !important;
    box-shadow: 0 0 0 0.2rem rgba(174, 41, 51,.5) !important;
}

.btn-primary:disabled{
    background-color: #8f212a !important;
    border-color: #8f212a !important;
}

.btn-primary:active:focus{
    background-color: #8f212a !important;
    border-color: #8f212a !important;
    -webkit-box-shadow: 0 0 0 0.2rem rgba(174, 41, 51,.5) !important;
    box-shadow: 0 0 0 0.2rem rgba(174, 41, 51,.5) !important;
    opacity: 0.5 ;
}

.text-primary{
    color: #00507e !important;
}
a.text-primary:hover{
    color: #8f212a !important;
}
.text-primary:focus{
    color: #00507e !important;
}
.text-primary:active{
    color: #00507e !important;
}

.table-primary{
    background-color: #ebe8d8 !important;
}
.table-primary tbody+tbody, .table-primary td, .table-primary th, .table-primary thead th {
    border-color: #a99f6a;
}

.table-bordered td, .table-bordered th {
    border-color: #a99f6a;
    border-bottom: 1px solid #a99f6a !important;
}

table hr{
    border-top: 1px solid #a99f6a !important;
}

.custom-control-input:checked~.answer-subject-label{
    font-weight: bold;
    text-decoration: underline double;
}

.custom-control-input:checked~.answer-subject-label::before{
    background-color: #00507e;
    border-color: #00507e;
    transition: 0s;
}

.alert-info{
    background-color: #E8E7E2;
    border-color: #867b69;
    color: #600;
}

.bg-info{
    background-color: #E8E7E2 !important;
    color: #600 !important;
}

.result-flex{
    display: flex;
    flex-flow: row-reverse;
}
.result-info {
    width: 60%;
    margin: auto;
    margin-left: .5rem;
}
.result-score {
    width: 40%;
    margin: auto;
}
.result-border {
    padding: 1rem;
    border: 1px solid #a99f6a !important;
    border-radius: .25rem;
}

.site-body {
    padding-top: 0;

}

.ltg-slide picture img {
    min-height: 80%;

}

.swiper-container{
    height: 15em !important;
}
@media screen and (max-width: 991px) {
    .swiper-container {
        margin-bottom: -4rem !important;
	}
}
@media screen and (max-width: 440px) {
	.swiper-container {
        margin-bottom: -7rem !important;
	}
    .ltg-slide-text-set {
        top: 38%;
    }
}

.ltg-slide-text-title{
    font-weight: bold;
    font-size: 1.75rem !important;

}

.subSection-title, h3 {
    font-size: 1.2em;
    font-weight: bold;
}

h3:after, .subSection-title:after {
    border-bottom-color: #00507e !important;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
    background-color: #00507e;
    border-color: #00507e;
}


.btn-ghost{
    color: #00507e !important;
    font-size: 1.2em !important;
    font-weight: bold !important;
    background-color: #f8f9fa !important;
    border: 4px solid #000 !important;
    border-radius: 0 !important;
    padding-left: 1em !important;
    padding-right: 1em !important;
}
.btn-ghost:hover{
    background-color: #000 !important;
    color: #fff !important;
}
.prBlock_title{
    color: #000 !important;
    font-size: 1.5em !important;
    font-weight: bold !important;
}
.prBlock_icon_outer {
    border: 4px solid #000 !important;
    background-color: white !important;
    width: 150px !important;
    height: 150px !important;
    border-radius: 10% !important;
}
.prBlock{
    padding-top: 2em !important;
    transition: .3s !important;
}
.prBlock i{
    font-size: 4em !important;
}
.prBlock:hover {
    background-color: #000 !important;
}
.prBlock:hover h1{
    color: #fff !important;
}

.navbar-header{
    padding: 0.4em 0 !important;
}
.midashi {
    position: relative;
    display: inline-block;
    padding: 0 45px;
    font-size: 2.2em;
    letter-spacing: 0.4em;
	text-indent: 0.4em;
}
.midashi:before, .midashi:after {
    content: '';
    position: absolute;
    top: calc(50% - 5px);
    display: inline-block;
    width: 45px;
    height: 5px;
    background-color: black;
}
.midashi:before {
    left:0;
}
.midashi:after {
    right: 0;
}
.sub-section--col--two .midashi{
    font-size: 1.6em;
    letter-spacing: 0.2em;
	text-indent: 0.2em;
}
.sub-section .midashi:before, .sub-section .midashi:after {
    top: calc(50% - 2px);
}

.search-tag-area {
    font-size: 1.2em;
    border-radius: 0;
    border: 4px solid #000;
    min-height: 2.5em;
    text-align: left;
}
.search-tag-area > .ui-autocomplete-input {
    border: none;
    text-align: left;
    margin: 0.25em 0.75rem;
    padding: 0;
}
.search-tag-area > .ui-autocomplete-input:focus-visible {
    outline: none !important;
}
.tagify-container > span.no_url {
    display: inline-block;
	background-color: #00507e;
    color: white;
	font-weight: bold;
	cursor: pointer;
    margin: 0.5em 0.5em 0em 0.5em;
    padding: 0 0.5em;
    border-radius: 5px;
}
.tagify-container > span.no_url > a {
    color: white;
	font-weight: bold;
	cursor: pointer;
    margin-left: 0.5em;
}
.tagRemoveButton:hover {
    opacity: 0.8;
    text-decoration: none;
}

#search-form .form-control:focus{
    box-shadow: 0 0 0 0.2rem rgb(82 88 93 / 50%) !important;
}
.pass-text:focus{
    box-shadow: 0 0 0 0.2rem rgb(82 88 93 / 50%) !important;
}

.search-text , .pass-text{
    font-size: 1.2em !important;
    border-radius: 0 !important;
    border: 4px solid #000 !important;
    height: 2.5em !important;
}
.search-select{
    max-width: 500px !important;
    font-size: 1.2em !important;
    border-radius: 0 !important;
    border: 4px solid #000 !important;
    height: 2.5em !important;
}
.search-course{
    max-width: 300px !important;
}
.search-grade{
    max-width: 300px !important;
}
.btn-dark{
    font-size: 1.5em !important;
    border-radius: 0 !important;
}
.btn-sm.btn-dark{
    font-size: 1em !important;
    border-radius: 0 !important;
}
.btn-outline-dark{
    border-radius: 0 !important;
    border: 2px solid #343a40 !important;
}

.vk_posts{
    display: block !important;
}

.post-list .vk_post_title.media-title{
    /* border: 4px solid black; */
    background: rgba(0,0,0,.05);
    font-size: 1.2em;
    margin: -16px -8px 16px -8px;
    font-weight:bold;
    box-shadow: 0 2px 3px rgba(0,0,0,.22);
    background-image:
    linear-gradient(90deg, rgba(0,0,0,.01) 0%, rgba(0,0,0,.01) 50%, #efefef 0%, #efefef 100%), linear-gradient(180deg, rgba(237, 119, 128, 0) 0%, rgba(237, 119, 128, 0) 95%, #000 100%);
    background-size: 12px 100%,100% 2.43rem;
    line-height: 2.44rem;
    padding-top: 2em;
    padding-bottom: 1.9em;

}
.post-list .vk_post_title.media-title::before {
    position: absolute;
    content: "";
    top: 10px;
    width: 20%;
    height: 32px;
    opacity: 0.1;
    margin: -40px auto 10px -32px;
    background: #000;
    transform: rotate(-3deg);
    left: 10px;
    right: 10px;
}
.post-list .vk_post_title.media-title::after {
    position: absolute;
    content: "";
    top: 10px;
    width: 20%;
    height: 32px;
    opacity: 0.1;
    margin: -40px -32px 10px auto;
    background: #000;
    transform: rotate(8deg);
    left: 10px;
    right: 10px;
  }

.post-list .vk_post.media {
    border-bottom: unset;
    margin-top: 2em;
    margin-bottom: 1em;
}
.post-list.vk_posts-mainSection .vk_post.media {
    border-bottom: 4px solid black;
    margin-top: 3em;
    margin-bottom: 4em;
}

.vk_post-btn-display.media .vk_post_body{
    padding-bottom: 0;
}
.vk_posts-mainSection .vk_post-btn-display.media .vk_post_body{
    padding-bottom: 45px;
}


.vk_posts-mainSection .vk_post-col-sm-12.media:first-child {
    border-top: unset;
}

.vk_post_taxonomy_title, .vk_post_taxonomy_terms{
    font-size: 1rem;
}

.page-header-title, h1.page-header-title{
    font-size: 1.5rem;
}

.question-text::before{
    font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f10d";
    position: absolute;
    top: -0.6rem;
    left: -0.2rem;
}
.question-text::after{
    font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f10e";
    position: absolute;
    bottom: 1.2rem;
    right: -0.2rem;
}

.question-post-before::before{
    font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f10d";
    position: absolute;
    top: -0.6rem;
    left: -0.2rem;
}
.question-post-after{
    display: block;
    line-height: 0;
}
.question-post-after::after{
    font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f10e";
    position: absolute;
    text-align: right;
    display: block;
    position: relative;
    bottom: 2.4rem;
    right: -0.2rem;
    font-size: 1.2rem;
}

.answer-body{
    font-size: 1.1rem;
}

.reaction_buttons{
    font-size: 1rem !important;
    text-align: center !important;
}
.reaction_buttons ul{
    padding-left: 0 !important;
}
div.reaction_buttons li.reaction_button{
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    cursor: pointer !important;
}
div.reaction_buttons li.reaction_button:hover {
    border: 1px solid black !important;
    background: black !important;
    color: white !important;
    font-weight: bold;
}
.reaction_button.voted{
    border: 1px solid black !important;
    background: black !important;
    color: white !important;
    font-weight: bold !important;
}

.site-body-container.container{
    max-width: 960px !important;
    padding-left: 0;
    padding-right: 0;
}

.post-password-form input[type="submit"]{
    padding: 0.2rem 1.6rem;
    font-size: 1rem;
}

@media screen and (min-width: 1200px) {
    article{
        padding-right: 0 !important;
    }
    .main-section.main-section--col--two{
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .site-body-container.container{
        max-width: 1140px !important;
    }
}

@media screen and (min-width: 992px) {
    article{
        padding-right: 20px;
    }
    .main-section.main-section--col--two{
        padding-right: 30px;
    }
}

@media screen and (max-width: 991px) {
    article{
        margin-top: 40px;
        margin-right: -15px !important;
        margin-left: -15px !important;
    }
    .main-section.main-section--col--two{
        padding-right: 10px !important;
        padding-left: 10px !important;
    }
}

@media screen and (max-width: 767px) {
    .result-flex {
        display: block;
    }
    .result-flex .result-info {
        width: 100%;
        margin: 0 auto;
    }
    .result-flex .result-score {
        width: 100%;
        margin: 0 auto;
    }
    .slide-text-title{
        font-size: 2em !important;
    }
    .carousel-item{
        height: 180px !important;
    }

    .navbar-header{
        padding: 1em 0 !important;
    }
}