/* ツールチップの位置調整 */
.tooltip.top {
    margin-top: -4px;
}


/* マテリアルアイコンの送信中 */
.material-icons.rotate {
    -webkit-animation: spin 1.5s linear infinite;
    -moz-animation: spin 1.5s linear infinite;
    -ms-animation: spin 1.5s linear infinite;
    -o-animation: spin 1.5s linear infinite;
    animation: spin 1.5s linear infinite;
}
@-webkit-keyframes spin {
    0% {-webkit-transform: rotate(0deg);}
    100% {-webkit-transform: rotate(360deg);}
}
@-moz-keyframes spin {
    0% {-moz-transform: rotate(0deg);}
    100% {-moz-transform: rotate(360deg);}
}
@-ms-keyframes spin {
    0% {-ms-transform: rotate(0deg);}
    100% {-ms-transform: rotate(360deg);}
}
@-o-keyframes spin {
    0% {-o-transform: rotate(0deg);}
    100% {-o-transform: rotate(360deg);}
}
@keyframes spin {
    0% {transform: rotate(0deg);}
    100% {transform: rotate(360deg);}
}

/* マテリアルスイッチ */
.material-switch {
    margin-bottom: 10px;
}
.material-switch > input[type="checkbox"] {
    display: none;
}
.material-switch > label {
    cursor: pointer;
    height: 0px;
    position: relative;
    width: 40px;
}
.material-switch > label::before {
    background: rgb(0, 0, 0);
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    content: '';
    height: 16px;
    position:absolute;
    opacity: 0.3;
    transition: all 0.4s ease-in-out;
    width: 40px;
}
.material-switch > label::after {
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    content: '';
    height: 24px;
    left: -4px;
    position: absolute;
    top: -4px;
    transition: all 0.3s ease-in-out;
    width: 24px;
}
.material-switch > input[type="checkbox"]:checked + label::before {
    background: inherit;
    opacity: 0.5;
}
.material-switch > input[type="checkbox"]:checked + label::after {
    background: inherit;
    left: 20px;
}

/* ヘッダー */
.main-header .navbar-static-top {
    height: 50px;
}
.main-header .navbar .navbar-custom-menu .navbar-nav > li > a {
    padding-top: 12px;
    padding-bottom: none;
}
.main-header .navbar .navbar-custom-menu .nav .nav-item .nav-link {
    font-size: 1.2rem;
}
.main-header .navbar .navbar-custom-menu .nav .nav-item .nav-link .material-icons {
    font-size: 18px;
    position: relative;
    top: 4px;
    right: 3px;
}
/* ナビゲーションドロップダウン */
.navbar-nav > .notifications-menu > .dropdown-menu {
    width: 160px;
    padding: 0 0 0 0;
    margin: 0;
    top: 100%;
}
@media (max-width: 991px) {
    .navbar-custom-menu>.navbar-nav>li>.dropdown-menu {
        position: absolute;
        left: auto;
        right: 0;
        border: 1px solid #ddd;
        background: #fff;
    }
}
.navbar-nav > .notifications-menu > .dropdown-menu > li {
    position: relative;
}
.navbar-nav > .notifications-menu > .dropdown-menu > li.header {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    background-color: #ffffff;
    padding: 7px 10px;
    border-bottom: 1px solid #f4f4f4;
    color: #444444;
    font-size: 14px;
}
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu {
    max-height: 200px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: hidden;
}
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a {
    color: #444444;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 10px;
    font-size: 1.2rem;
}
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a:hover {
    background: #f4f4f4;
    text-decoration: none;
}
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a > .glyphicon,
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a > .fa,
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a > .ion {
    width: 20px;
}


/* サイドメニュー */
.main-sidebar .sidebar .sidebar-menu li > a > i {
    position: relative;
    right: 5px;
}
.main-sidebar .sidebar .sidebar-menu li > a > span {
    position: relative;
    top: -6px;
    left: 5px;
}


/* メインコンテンツ */
.content-wrapper a:hover {
    font-weight: bold;
}
.content-wrapper .content-header {
    padding-top: 5px;
}
.content-wrapper .content-header > h1 {
    font-size: 20px;
}
.content-wrapper .content-header h1 > i {
    font-size: 2.7rem;
    position: relative;
    top: 7px;
    margin-right: 3px;
}
.content-wrapper .content-header > h1.thumbnail-header {
    position: relative;
    top: 5px;
}
.content-wrapper .content-header > h1.thumbnail-header > span {
    position: relative;
    top: 2px;
}


/* ボタン関連 */
button.btn > i {
    font-size: 15px;
    position: relative;
    top: 2px;
    margin: 0 2px 0 -2px;
}
button.btn-green,
button.btn-green:focus {
    display: inline-block;
    padding: 7px 10px;
    color: #fff;
    border-radius: 4px;
    border: 1px solid #3fa097;
    background-color: #3fa097;
    margin-right: 2px;
    transition: 0.3s all ease-in-out 0s;
}
button.btn-green:hover {
    cursor: pointer;
    color: #3fa097;
    border-radius: 4px;
    background-color: #fff;
}
button.btn-gray,
button.btn-gray:focus {
    display: inline-block;
    padding: 7px 10px;
    color: #fff;
    border-radius: 4px;
    border: 1px solid #afafaf;
    background-color: #afafaf;
    margin-right: 2px;
    transition: 0.3s all ease-in-out 0s;
}
button.btn-gray:hover {
    cursor: pointer;
    color: #afafaf;
    border-radius: 4px;
    background-color: #fff;
}
button.btn-blue,
button.btn-blue:focus {
    display: inline-block;
    padding: 7px 10px;
    color: #fff;
    border-radius: 4px;
    border: 1px solid #3f71a0;
    background-color: #3f71a0;
    margin-right: 2px;
    transition: 0.3s all ease-in-out 0s;
}
button.btn-blue:hover {
    cursor: pointer;
    color: #3f71a0;
    border-radius: 4px;
    background-color: #fff;
}
button.btn-red,
button.btn-red:focus {
    display: inline-block;
    padding: 7px 10px;
    color: #fff;
    border-radius: 4px;
    border: 1px solid #c0392b;
    background-color: #c0392b;
    margin-right: 2px;
    transition: 0.3s all ease-in-out 0s;
}
button.btn-red:hover {
    cursor: pointer;
    color: #c0392b;
    border-radius: 4px;
    background-color: #fff;
}
button.btn-orange,
button.btn-orange:focus {
    display: inline-block;
    padding: 7px 10px;
    color: #fff;
    border-radius: 4px;
    border: 1px solid #e67e22;
    background-color: #e67e22;
    margin-right: 2px;
    transition: 0.3s all ease-in-out 0s;
}
button.btn-orange:hover {
    cursor: pointer;
    color: #e67e22;
    border-radius: 4px;
    background-color: #fff;
}


/* アクションボタン */
button.action-btn,
button.action-btn:focus {
    color: #3fa097;
    padding: 2px 5px;
    background: none;
    border: none;
    transition: 0.3s all ease-in-out 0s;
}
button.action-btn:hover {
    color: #fff;
    font-weight: bold;
    background-color: #3fa097;
}
button.action-btn > i {
    font-size: 2rem;
    position: relative;
    left: 2px;
}
button.space-btn {
    display: inline-block;
    width: 32px;
    cursor: default;
    border: none;
    background: none;
}

/* iCheck */
input[type="radio"].icheck {
    margin-right: 5px;
}
.icheck-label {
    margin: 5px 30px 0 10px;
    color: #333;
    font-weight: normal;
    cursor: pointer;
}


/* box関連 */
.box > .only-side-padding {
    padding: 0 10px;
}
.box > .box-header > .header-button {
    display: inline-block;
    padding: 4px 10px;
    color: #888;
    background-color: #eee;
    border-radius: 4px;
    margin-right: 2px;
    transition: 0.3s all ease-in-out 0s;
}
.box > .box-header > .header-button:hover {
    cursor: pointer;
    color: #555;
    background-color: #ddd;
}

.box > .box-header > .header-button > i {
    position: relative;
    top: 3px;
    font-size: 1.8rem;
    color: #888;
    margin-right: 2px;
}
.box > .box-header > .header-button-divider {
    /*border-left: 1px solid #ccc;*/
    height: 16px;
    margin: 8px 5px 0 10px;
}
.box > .box-header > .nav-search {
    margin: 0 5px;
    height: 30px;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    position: relative;
    top: -2px;

    /* ploaceholderにアイコンを使うため */
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* データが存在しない場合 */
.box > .box-body .no-contents {
    padding: 50px 15px;
    margin: 20px 0;
    border: 1px solid #3fa097;
    color: #3fa097;
    text-align: center;
}
.box > .box-body .no-contents > p {
    margin-bottom: 20px;
}
.box > .box-body .no-contents button {
    margin: 5px;
}


/* table関連 */
.table > thead > tr > th {
    height: 45px;
}
.table > tbody > tr:hover {
    background-color: #f9f9f9;
}
.table > tbody > tr > td {
    vertical-align: middle;
    min-height: 50px;
}




/* コンテンツ管理 */
.box.contents > .box-header > form {
    display: inline;
    position: relative;
    top: -3px;
}
form.directories__directory__form > .new-directory,
.box.contents > .box-body > .no-contents > form > .new-directory {
    height: 30px;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    position: relative;
    top: 1px;

    /* ploaceholderにアイコンを使うため */
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
form.directories__directory__form > .new-directory:focus,
.box.contents > .box-body > .no-contents > form > .new-directory:focus {
    outline: 0;
    border-color: #3C8DBC;
}
form.directories__directory__form > button,
.box.contents > .box-body > .no-contents > form > button {
    font-size: 12px;
    height: 30px;
}
.box.contents .directories {
    list-style: none;
    padding-left: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}
.box.contents .directories .directories__directory {
    margin: 5px 0;
    border-radius: 5px;
}
.box.contents .directories .directories__directory:hover,
.box.contents .directories .directories__directory:hover > a,
.box.contents .directories .directories__directory.active {
    color: #fff;
    font-weight: normal;
    background-color: #77ccc4;
    border-radius: 5px;
}
.box.contents .directories .directories__directory__name {
    display: inline-block;
    width: 70%;
    height: 23px;
    overflow: hidden;
    position: relative;
    top: 8px;
}
.box.contents .directories > .directories__directory .directories__directory__icon {
    position: relative;
    top: -4px;
    padding-left: 5px;
}
.box.contents .directories > .directories__directory > button {
    float: right;
    position: relative;
    top: 4px;
    color: #fff;
    margin-right: 4px;
    transition: 0.25s padding ease-in-out 0s;
}
.box.contents .directories > .directories__directory > button > i {
    position: relative;
    left: 1px;
}
.box.contents .directories > .directories__directory > button:hover {
    background-color: #3fa097;
}
.box.contents .content-area {
    border-left: 1px solid #eee;
}
.box.contents .contents__table .content-thumbnail {
    display: inline-block;
    width: 50px;
    height: 50px;
    margin-right: 2px;
    text-align: center;
}
.box.contents .contents__table .content-thumbnail > img {
    max-width: 49px;
    max-height: 49px;
}
.box .content-delete-modal {
    text-align: left;
}
.box .content-delete-modal img {
    width: 60%;
    margin-left: 20%;
    margin-bottom: 10px;
    border: 1px solid #ddd;
}
.btn-add-person {
    font-size: 11px;
    display: inline-block;
    padding: 3px 10px;
    color: #fff;
    border-radius: 4px;
    border: 1px solid #3fa097;
    background-color: #3fa097;
    position: relative;
    top: -5px;
    left: 5px;
    transition: 0.3s all ease-in-out 0s;
}
.btn-add-person > i {
    font-size: 11px;
    margin: 0 3px 0 -2px;
    position: relative;
    top: 1px;
}
.btn-add-person:hover {
    cursor: pointer;
    color: #3fa097;
    border-radius: 4px;
    background-color: #fff;
}
.add-user-form {
    display: none;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 20px;
}
.contents__upload-modal__upload-area {
    border: 1px dotted #3fa097;
    color: #3fa097;
    border-radius: 5px;
    text-align: center;
    padding: 25px 0;
    margin-bottom: 20px;
    cursor: pointer;
}
.contents__upload-modal__upload-area:hover {
    opacity: .6;
}
.contents__upload-modal__icon {
    display: block;
}
.label-primary {
    margin: 12px;
}

/* タブ関連 */
.nav-tabs-custom {
    background-color: transparent;
}
.nav-tabs-custom > .nav-tabs > li {
    margin-right: 1px;
    background-color: #f8f8f8;
    border-top-color: #ecf0f5;
}
.nav-tabs-custom > .nav-tabs > li.active,
.nav-tabs-custom > .nav-tabs > li:hover {
    border-top-color: #3fa097;
}
.nav-tabs-custom > .nav-tabs > li > a:hover {
    font-weight: normal;
    color: #444;
    background-color: #fff;
    opacity: 1;
}
.nav-tabs-custom > .tab-content {
    padding: 0;
}
.tab-content .box {
    border-top: none;
}


/* 顧客管理 */
.analytics-url-area {
    display: none;
    height: 150px;
}
.analytics-url-info {
    padding: 20px;
    border: 1px solid #3fa097;
    margin-bottom: 10px;
}


/* 資料共有サイト管理(編集) */
.page-edit .delete-btn {
    position: relative;
    top: 3px;
    left: -22px;
}
.page-edit .delete-btn > i {
    position: relative;
    top: 2px;
    left: 2px;
}

.page-edit .add-content-btn {
    display: inline-block;
    padding: 7px 10px;
    color: #fff;
    border-radius: 4px;
    border: 1px solid #3fa097;
    background-color: #3fa097;
    margin-right: 2px;
    transition: 0.3s all ease-in-out 0s;
}
.page-edit .add-content-btn > i {
    font-size: 14px;
    position: relative;
    top: 1px;
}
.page-edit .add-content-btn:hover {
    cursor: pointer;
    color: #3fa097;
    border-radius: 4px;
    background-color: #fff;
}
.page-edit .add-part {
    width: 100%;
    background: none;
    padding: 15px;
    border: 2px dashed #3fa097;
    color: #3fa097;
    margin-bottom: 20px;
    transition: 0.3s all ease-in-out 0s;
}
.page-edit .add-part:hover {
    color: #fff;
    background: #3fa097;
}
.page-edit .add-part > i {
    font-size: 15px;
    position: relative;
    top: 2px;
}
.page-edit .uri-area > .domain {
    display: inline;
    float: left;
    margin: 0 3px 0 15px;
}
.page-edit .uri-area > .uri {
    width: 120px;
    display: inline;
    float: left;
    position: relative;
    top: -6px;
}
