/*Login Layout*/


/*Login Layout*/
body, html {
    overflow-x: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
}

#login-thumb {
    height: 150px;
}

#login-screen {
    background-color: #fff9ed;
}

.auth-header {
    margin-bottom: 20px;
}

.custom-form-header {
    font-family: Impact, Charcoal, sans-serif;
    font-size: 29px;
    letter-spacing: 0.2px;
    word-spacing: -3.4px;
    color: #000000;
    font-weight: 700;
    text-decoration: none;
    font-style: normal;
    font-variant: small-caps;
    text-transform: none;
}

.auth-box {
    background-color: #ff89cd;
    border-radius: 10px;
    padding: 7%;
    margin-top: 5%;
    margin-bottom: 5%;
    box-shadow: 0 0 10px #e1e5d4, 0 0 20px black, 0 0 10px #e50055;
}

#custom-button {
    width: 130px;
    color: #fff;
    margin: 10px;
}

#custom-button:hover {
    transition: 0.5s ease-in-out;
    background-color: #ec3345;
    box-shadow: 0 0 10px white, 0 0 10px #E50055, 0 0 20px #E50055;
    font-weight: bold;
}

span.required {
    color: red;
}

.error-message {
    font-size: 80%;
    color: #dc3545;
    display: none;
}

.error-input {
    border: 1px solid #dc3545;
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border-radius: .25rem;
    transition: border .15s ease-in-out, box-shadow .15s ease-in-out;
}

.correct-input {
    border: 1px solid #28a745;
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border-radius: .25rem;
    transition: border .15s ease-in-out, box-shadow .15s ease-in-out;
}

#radio-groups {
    border: 2px dotted #fff;
    padding: 3%;
    border-radius: 10px;
}

.custom-label {
    font-weight: bold;
}

.page-header {
    color: #E50055;
    padding: 0 10px;
}


/*-- 2020/08/28 Tarek button disabled design start--*/

.btn-outline-secondary:disabled {
    background: #6c757d;
    border-color: #6c757d;
}


/*-- 2020/08/28 Tarek button disabled design finish--*/


/*-- 2020/10/20 Tarek 日付background white start --*/

.form-control[readonly] {
    background-color: white !important;
}


/*-- 2020/10/20 Tarek 日付background white finish--*/


/*
.custom-btn:hover{
border-color: #dc3545
background-color: ;
}*/


/*finish Login Layout*/


/*student menu Layout*/

.navbar {
    background-image: linear-gradient(to right, #ff71b9, #f9bedb);
}
main {
    flex-grow: 1;
}
.navbar-footer {
    width: 100%;
    padding: 10px 0;
    text-align: center;
    background-image: linear-gradient(to right, #ff71b9, #f9bedb);
    margin-top: 50px;
    box-sizing: border-box;
    font-size: 0.8em;
    z-index: 9999;
}
.footer-link {
    text-decoration: none;
    color: inherit;
}
.footer-link:hover {
    color: #E50055;
    text-decoration: none;
}

.logo-image {
    height: 65px;
}

@media only screen and (min-width: 769px) {
    .dropdown:hover>.dropdown-menu {
        display: block;
    }
    .dropdown>.dropdown-toggle:active {
        pointer-events: none;
    }
    .logo-image {
        margin-left: 55px;
    }
}

.dropdown-menu {
    margin-top: 0px!important;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #E50055 !important;
}

.navbar-light .navbar-nav .nav-link.active {
    color: #E50055 !important;
}

.dropdown .dropdown-menu a:hover {
    background-color: #EF4F6F;
    color: #fff;
    border-color: #fff;
}


/*

*/

.navbar-nav .nav-item {
    padding-left: 18px;
}


/*finish student menu Layout*/


/*student-lesson-lp-starts*/

#lesson-search {
    width: 170px;
    color: #fff;
    /*margin-top:10px ;*/
}

#lesson-search:hover {
    transition: 0.5s ease-in-out;
    background-color: #ec3345;
    box-shadow: 0 0 10px white, 0 0 10px #E50055, 0 0 20px #E50055;
    font-weight: bold;
}


/*student-lesson-lp-ends*/


/*signup-user-role-and-notification-starts*/

.user-role-container {
    margin-top: 10px;
}

#line-button,
#fb-button {
    pointer-events: none;
    border: 2px solid #ffe5aa;
    border-radius: 8px;
}

#line-button:hover {
    border: 2px solid #00b900;
    border-radius: 8px;
}

#fb-button:hover {
    border: 2px solid #1877f2;
    border-radius: 8px;
}


/*.lesson-table rafi{*/


/*    background-color: #fff3cd;*/


/*}*/

.lesson-table.table-bordered {
    border: 1px solid #fff;
    /*margin-top:20px;*/
}

.lesson-table.table-bordered>thead>tr>th {
    border: 1px solid #fefaba;
}

.lesson-table.table-bordered>tbody>tr>td {
    border: 1px solid #fefaba;
}

.lesson-table.table-bordered>tbody>tr>th {
    border: 1px solid #fefaba;
}

.lesson-table.table-bordered>tbody>tr:hover {
    background: #fefcd4;
}


/*.lesson-table end rafi{*/


/*signup-user-role-and-notification-ends*/

.custom-table-header {
    background: #fefab7;
}

.vertical-table thead {
    background: #fefab7;
    font-size: 18px;
}

.vertical-table tbody {
    background: white;
}

.vertical-table thead {
    background: #fefab7;
    text-align: center;
}

.vertical-table>tbody>tr>td {
    border: 1px dotted black;
    text-align: center;
}

.vertical-table>tbody>tr>th {
    border: 1px dotted black;
    text-align: center;
}

.vertical-table>tbody>tr:hover {
    background: #fefcd4;
}

.clickable-row {
    cursor: pointer;
}

.form-control::placeholder,
.form-control select option:first-child {
    color: gray;
    opacity: 0.7;
    font-size: 13px;
}


/*News*/

.single {
    padding: 10px 5px;
    margin-top: 20px;
    text-align: center;
    background: #fcfcfc;
    border: 1px solid #f0f0f0;
}

.single h3.side-title {
    margin: 0;
    margin-bottom: 1px;
    padding: 0;
    font-size: 20px;
    color: #333;
    text-transform: uppercase;
}

.single h3.side-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #E50055;
    margin: 6px auto;
}

.head {
    font-weight: bold;
}


/*News*/

#custom-rounded-button {
    width: 130px;
    border-radius: 20px;
    color: rgb(0, 0, 0);
    margin: 10px;
}

#custom-rounded-button:hover {
    transition: 0.5s ease-in-out;
    background-color: #ec3345;
    box-shadow: 0 0 10px white, 0 0 10px #E50055, 0 0 20px #E50055;
    color: rgb(251, 251, 251);
    font-weight: bold;
}


/* Program Details */

pre {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
}


/* 戻る button css */

.custom-btn-div a {
    display: block;
    border-radius: 20px;
    height: 40px;
    margin: 0 auto;
    text-align: center;
    cursor: pointer;
}

.custom-btn-div input[type=submit] {
    display: block;
    border-radius: 20px;
    height: 40px;
    margin: 0 auto;
    text-align: center;
    cursor: pointer;
}

.page-item.active .page-link {
    background-color: #dc3545;
    border-color: #dc3545;
}

.page-link {
    color: #dc3545;
}

.page-link:hover {
    color: #dc3545;
}


/*Card half width*/

.pc_half_width {
    max-width: 50%;
    margin: auto;
}


/*------Program & Lesson detail picture  PC height 200px SP height 120px------*/

.profile-picture-part {
    position: relative;
    padding: 5px;
    margin: 0 auto;
    width: 100%;
    height: 200px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}


/*modal css */


/* Responsive CSS  (iPhone 6/7/8 base) a_honey@21.sun.co.jp */


/* Example:  @media screen and (max-width: 1080px) */


/* iPhone 6, 7, 8 ----------- */

@media only screen and (max-device-width: 375px) {
    /*------Common Use--------*/
    #search-btn {
        margin-top: 10px;
    }
    .navbar {
        width: 100%;
    }
    /*Card half width to full*/
    .pc_half_width {
        max-width: 100%;
    }
    /*Admin Menu Start*/
    /*------School Screen------*/
    #add-btn {
        position: absolute;
        left: 60px;
        top: -20px;
        z-index: 9999;
        margin-bottom: 5px;
    }
    #school-div {
        margin-top: 10px;
        padding-top: 20px;
    }
    /* #location-btn {
    margin-bottom : 5px;
  } */
    #nav-bar {
        width: 100%;
    }
    /* #location-modal-content {
    width:70% !important;
    margin-left: 58px !important;
  } */
    /*------Dashboard Screen------*/
    #dashboard-tbl thead tr th {
        vertical-align: middle;
        padding-top: 0px;
    }
    /*------Event Screen------*/
    #event-tbl thead tr th {
        vertical-align: middle;
    }
    #event-tbl {
        font-size: 12px;
    }
    /*------Program,Program/all Screen------*/
    #program-tbl thead tr th {
        vertical-align: middle;
    }
    /*------Program & Lesson detail picture  PC height 200px SP height 120px------*/
    .profile-picture-part {
        height: 120px !important;
    }
    /* #program-btn {
    margin-bottom : 5px;
  } */
    /*Student Menu Start*/
    /*------Account Screen------*/
    #edit-btn {
        margin-right: 30px !important;
        height: 40px;
        width: 80px;
    }
    #back-btn {
        height: 40px;
        width: 80px;
    }
    /*------Reserve-History Screen------*/
    #full-search-input {
        width: 300px;
        float: clear;
        margin-bottom: 10px;
    }
    #calendar-icon {
        clear: both;
    }
    #calendar-txt {
        margin: 0 auto;
    }
    /*------Enquiry Screen------*/
    #contact-button {
        margin: 30px 0px !important;
    }
    /*Student Menu End*/
    /*Teacher Menu Start*/
    /*------Program Screen------*/
    .page-header {
        font-size: 20px;
    }
    #teacher-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 999;
        padding: 7px;
    }
    #teacher-back-btn {
        height: 40px;
    }
    #teacher-edit-btn {
        display: block;
        border-radius: 20px;
        height: 40px;
        margin: 0 auto;
        text-align: center;
        cursor: pointer;
    }
    /*------Update Password Screen------*/
    #update-pwd-back-btn {
        height: 40px;
        width: 80px;
    }
    #update-pwd-change-btn {
        width: 80px !important;
    }
    /*Teacher Menu End*/
    /*Calendar Screen*/
    #calendar-div {
        width: 90%;
    }
    /*-------Src/View Start---------*/
    /*Payment History Screen*/
    #payment-history-tbl thead tr th {
        vertical-align: middle !important;
    }
    /*Password Forgot Screen*/
    #pwd-forgot-header {
        font-size: 22px;
    }
    /*-------Src/View End---------*/
}


/* iPads (portrait and landscape) ----------- */

@media only screen and (max-device-width: 768px) {
    /*Student Menu  End*/
    /*View Start*/
    /*Calendar Screen*/
    #filter-icon {
        font-size: 20px !important;
    }
    /*Password Forgot Screen*/
    #pwd-forgot-header {
        font-size: 18px;
    }
    /*View End*/
    /*Card half width to full*/
    .pc_half_width {
        max-width: 100%;
    }
}


/*2020/10/20 Saiful Start*/

.profile-picture-part .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    background: grey;
}

.profile-picture-part img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    padding: 7px;
}

.profile-picture-part .upload-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 999;
    color: #e50055;
    width: 30px;
    height: 30px;
    background: #FFFFFF;
    text-align: center;
    border-radius: 15px;
    cursor: pointer;
}

.profile-picture-part .upload-btn:hover {
    color: #FFFFFF;
    background: #e50055;
}

.profile-picture-part .delete-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 999;
    color: #e50055;
    width: 30px;
    height: 30px;
    background: #FFFFFF;
    text-align: center;
    border-radius: 15px;
    cursor: pointer;
}

.profile-picture-part .delete-btn:hover {
    color: #FFFFFF;
    background: #e50055;
}


/*2020/10/20 Saiful End*/

.btn-outline-secondary:focus {
    box-shadow: none !important;
}

.form-control:focus {
    box-shadow: none !important;
    border-color: #ced4da !important;
}

input[type=text]:disabled {
    background: #e9ecef;
}

.error-div {
    border: 1px solid red !important;
}


/*Saiful Start*/

.card-footer {
    background: unset !important;
}

.card-body a {
    text-decoration: none !important;
    color: #000000 ;
}

.calendar-card .card-body a{
    color: #ffffff !important;
}

.card {
    margin-bottom: 1rem;
}

.card-body {
    padding: 0.5rem 1.25rem;
}

/*.card-body:hover {
    background-color: #fefcd4 !important;
}*/

.card-body p {
    margin: 0.5rem 0 !important;
}

.card-body .row i {
    color: #E50055;
    padding-top: 4px;
}

.card-body .row data {
    display: inline-flex;
    margin-left: 0.5rem;
    width: 90%;
}

.card-body .title {
    font-size: 1.1rem;
}

.card-body .switch i {
    display: inline-flex;
    vertical-align: top;
    padding-top: 3px;
    color: #E50055;
}

.card-body .switch .custom-switch {
    width: 30px;
    display: inline-flex;
    margin-left: 0.3rem;
}


/* .card .btn{margin-right:0.5rem !important;} */

.card {
    margin-left: 0.1rem;
    margin-right: 0.1rem;
}

.dialog {
    margin-bottom: 10px;
}

.can {
    float: right;
    margin-right: 8px;
}

.del {
    float: right;
}

.disabled-card {
    background-color: #ECF0F1;
}


/*Saiful End*/


/* j_hawker 2020/01/14 */

.card-footer .btn-fill-width {
    width: -webkit-fill-available;
}

#tooltip {
    text-align: center;
    color: #fff;
    background: #111;
    position: absolute;
    z-index: 100;
    padding: 10px 15px;
    pointer-events: none;
    border-radius: 5px;
}

#tooltip:after
/* triangle decoration */

{
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #111;
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    margin-left: -10px;
}

#tooltip.top:after {
    border-top-color: transparent;
    border-bottom: 10px solid #111;
    top: -20px;
    bottom: auto;
}

#tooltip.left:after {
    left: 10px;
    margin: 0;
}

#tooltip.right:after {
    right: 10px;
    left: auto;
    margin: 0;
}

.text-black {
    color: #000000;
}

.modal {
    text-align: center;
    padding-right: 0px !important;
}

.modal:before {
    display: inline-block;
    vertical-align: middle;
    content: " ";
    height: 100%;
}

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

@media (min-width: 576px) {
    .modal-dialog {
        width: 400px !important;
    }
}


/*Sagar adds new*/

.profile-picture-area {
    width: 100%;
    text-align: center;
}

.profile-picture-area .profile-picture {
    border: 1px solid gainsboro;
    padding: 5px;
    width: 100%;
    height: auto;
}

.profile-picture-area .btn-upload-add,
.profile-picture-area .btn-upload-delete {
    font-size: 0.8rem;
    color: #E50055;
}


/*Lallu gullu*/

.card-chat {
    width: 400px;
    border: 1px dotted #E50055;
    border-radius: 15px
}

.adiv {
    background: #E50055;
    border-radius: 15px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    font-size: 12px;
    /*height: 46px*/
}

.chat {
    border: 1px solid greenyellow;
    background: #E2FFE8;
    font-size: 16px;
    border-radius: 20px
}

.chat-reply {
    border: 1px solid #E50055;
    background-color: #FABDDB;
    font-size: 16px;
    border-radius: 20px;
    float: right;
}

.chat-reply span {
    font-size: 16px;
}

.chat-ans textarea::placeholder {
    color: grey;
    font-size: 12px;
}

.myvideo img {
    border-radius: 20px
}

.dot {
    font-weight: bold
}

.chat-img {
    height: 30px;
    width: 30px;
    border-radius: 50%;
}

.program-thumb {
    background: #F7E7DE;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    margin-bottom: 1rem;
    overflow-x: auto;
}

.program-thumb img {
    object-fit: contain;
    height: 175px;
    margin: 0px -5px;
}

@media only screen and (max-width: 600px) {
  .program-thumb img {       
        height: 100px;
   }
}

.profile-picture-area .profile-picture {
    border: 1px solid gainsboro;
    padding: 5px;
    width: 100%;
    height: auto;
}

.lesson_check {
    display: none;
}

.lesson_check+label:before {
    content: "\f14a";
    color: #28a745;
}

.lesson_check:checked+label:before {
    content: "\f410";
    color: #E50055;
}

.modal-dialog-area {
    overflow-y: initial !important
}

.modal-body-area {
    max-height: 70vh;
    overflow-y: auto;
}

.invalid {
    background-color: #D0D0D0;
}

li a.program_cell_lesson:hover {
    color: #E50055;
}

.every-day {
    color: #E50055;
    font-weight: bold;
}

a.disabled{
    background-color: grey;
    pointer-events: none;
}

/* LINE未連携警告 */
.line-link-warning {
    max-width: 900px;
    margin: 25px auto 10px;
    padding: 18px 20px;
    border: 2px solid #dc3545;
    border-radius: 6px;
    background-color: #fff5f5;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}

.line-link-warning-text {
    margin-bottom: 12px;
}

.line-link-warning-button {
    display: inline-block;
    padding: 8px 20px;
    background-color: #dc3545;
    color: #fff !important;
    border-radius: 4px;
    text-decoration: none !important;
}

.line-link-warning-button:hover {
    color: #fff !important;
    text-decoration: none !important;
}

@media only screen and (max-width: 768px) {
    .line-link-warning {
        margin: 15px;
        padding: 15px;
        font-size: 16px;
    }

    .line-link-warning-button {
        display: block;
        width: 100%;
        margin-top: 10px;
    }
}