@charset "utf-8";

/*----------------------------------------------------------------------------*/
/* Refactor                                                                   */
/*----------------------------------------------------------------------------*/
@media (min-width:768px) {
    body {
        margin-right: auto;
        margin-left: auto;
        /*min-width: 1427px;*/
        max-width: 1527px;
        background-color: #f9fafc;
    }

    /* overwrite */
    .main-sidebar {
        left: initial;
    }
}

.skin-green-light .main-sidebar {
    border-right: initial;
}

.required:after {
    content: " 【必須】";
    color: #dd4b39;
}

.form-field {
    margin-bottom: 0px;
}

/*----------------------------------------------------------------------------*/
/* overwrite bootstrap                                                        */
/*----------------------------------------------------------------------------*/

@media (max-width:767px) {
    .form-group {
        margin-bottom: 0px;
    }
}

.form-group.has-error label {
     color: inherit;
}

.alert {
    margin-bottom: 0px;
}

.box.box-no-border {
    border-top: 0px;
    margin-bottom: 0px;
    box-shadow: none;
}
.btn-group-lg>.btn, .btn-lg {
    padding: 6px 12px;
}

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
    padding: 4px;
}

.btn-default.active, .btn-default:active, .open>.dropdown-toggle.btn-default {
    color: #333;
    background-color: #c4c4c4;
    border-color: #adadad;
}

.content-wrapper,
.right-side,
.main-footer {
    margin-left: 280px;
}
@media (max-width: 767px) {
    .content-wrapper,
    .right-side,
    .main-footer {
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .sidebar-open .content-wrapper,
    .sidebar-open .right-side,
    .sidebar-open .main-footer {
        -webkit-transform: translate(280px, 0);
        -ms-transform: translate(280px, 0);
        -o-transform: translate(280px, 0);
        transform: translate(280px, 0);
    }
}

.main-header .navbar {
    margin-left: 280px;
}

.main-header .logo {
    width: 280px;
}
@media (max-width: 767px) {
    .main-header .logo,
    .main-header .navbar {
        width: 100%;
        float: none;
    }
    .main-header .navbar {
        margin: 0;
    }
    .main-header .navbar-custom-menu {
        float: right;
    }
}

.main-sidebar,
.left-side {
    width: 280px;
}

@media (max-width: 767px) {
    .main-sidebar,
    .left-side {
        -webkit-transform: translate(-280px, 0);
        -ms-transform: translate(-280px, 0);
        -o-transform: translate(-280px, 0);
        transform: translate(-280px, 0);
    }
}

@media (min-width: 768px) {
    .sidebar-collapse .main-sidebar,
    .sidebar-collapse .left-side {
        -webkit-transform: translate(-280px, 0);
        -ms-transform: translate(-280px, 0);
        -o-transform: translate(-280px, 0);
        transform: translate(-280px, 0);
    }
}

.control-sidebar-bg,
.control-sidebar {
    right: -280px;
    width: 280px;
}

@media (min-width: 768px) {
    .control-sidebar-open .content-wrapper,
    .control-sidebar-open .right-side,
    .control-sidebar-open .main-footer {
        margin-right: 280px;
    }
}
/*----------------------------------------------------------------------------*/
/* form                                                                       */
/*----------------------------------------------------------------------------*/

/* 必須 */
/*.form-field > .field-key label > span {
    color: #dd4b39;
}*/

/*----------------------------------------------------------------------------*/
/* file                                                                       */
/*----------------------------------------------------------------------------*/
.file-preview {
    padding: 0px;
    width: 200px;
    height: 200px;
    background-position: center center;
    background-repeat: no-repeat;
}
.file-preview__horizontal{
    width: 100%;
    background-size: cover;
}
.file-preview img {
    width: 200px;
    height: 200px;
    /*max-width: 300px;*/
    /*max-height: 300px;*/
}
.file-preview__horizontal img{
    width: 100%;
}

@media (max-width:767px){
    .file-select {
        padding-top: 10px;
    }
}

.file-preview-ope {
    display: inline;
    display: none;
}
.file-preview-ope .file-preview-menu {
    position: absolute;
    top: 0px;
}

/*----------------------------------------------------------------------------*/
/* etc                                                                        */
/*----------------------------------------------------------------------------*/
/* 注意書き */
.info-block {
    display: block;
    margin-top: 5px;
    margin-bottom: 5px;
    color: #737373;
}

/* 一覧 */

.do-not-show {
    background-color: #CECECE;
    color: #777777;
}

.out-of-term {
    background-color: #E0FFFF;
    color: #777777;
}

/*----------------------------------------------------------------------------*/
/* tree                                                                       */
/*----------------------------------------------------------------------------*/
.affiliation-node {
    background: #cbeede;
}
