html{
    font-size: 62.5%;
}
@-ms-viewport
{
    width: auto;
    initial-scale: 1;
}
@viewport
{
    width: device-width;
    initial-scale: 1;
}
/*loading*/
.loading-overlay{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
}
.overlay{
    background-color: rgba(255,255,255,1);
}

.loader,
.loader:after {
    border-radius: 50%;
    width: 12em;
    height: 12em;
}
.loader {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
    font-size: 10px;
    text-indent: -9999em;
    border-top: 1.1em solid rgba(0,128,255, 0.2);
    border-right: 1.1em solid rgba(0,128,255, 0.2);
    border-bottom: 1.1em solid rgba(0,128,255, 0.2);
    border-left: 1.1em solid #0080ff;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}
@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/*modal dialog*/
.modal-dialog-error p {
    color: red;
}
.modal-dialog-error h4 {
    color: red;
}

/*scrollbar*/
::-webkit-scrollbar {
    background: #717171;
    width: 8px;
    height: 12px;
}
::scrollbar{
    background: #717171;
    width: 8px;
    height: 12px;
}
::-webkit-scrollbar-thumb {
    background: #294D89;
    border-radius: 10px;
}

/* common */
.pointer {
    cursor: pointer;
}
.dispnone {
    display: none !important;
}
.visiblenone {
    visibility : hidden;
}
.bordernone {
    border: none !important;
}
.hovernone {
    background-color: transparent !important;
}
.overflow-v{
    overflow: visible !important;
}
.overflow-none{
    overflow: hidden !important;
}

/* effect */
.fadeout{
    animation: fadeout 0.2s ease-out 0s both;
}
.fadein{
    animation: fadein 0.2s ease-out 0s both;
}
.slideon{
    animation: slideon 0.5s ease 0s;
}
.slideout{
    animation: slideout 0.5s ease 0s forwards;
}
@keyframes fadein {
    from {opacity: 0;} to {opacity: 1;}
}
@keyframes fadeout {
    from {opacity: 1;} to {opacity: 0;}
}
@keyframes slideon{
    0%{
        transform: translateX(80px);
        opacity: 0;
    }
    100%{
        transform: translateX(0px);
        opacity: 1;
    }
}
@keyframes slideout{
    0%{
        transform: translateX(0px);
        opacity: 1;
    }
    100%{
        transform: translateX(-80px);
        opacity: 0;
        display: none;
    }
}

/* デフォルトは */
/* 右上開始　右寄せ */
.dispflex{
    display: flex;
    align-items: flex-start;
    flex-flow: row-reverse wrap;
    align-content: flex-start;
    justify-content: flex-start;
}
.dispflex-side{
    display: flex;
    align-items: flex-start;
    flex-flow: row-reverse nowrap;
    align-content: flex-start;
    justify-content: flex-start;
}

.container-fluid{
    padding-right: 0;
    padding-left: 0;
}
div[class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}
div.row {
    margin-left: 0;
    margin-right: 0;
}

/* validate */
input.error {
    border: 1px solid red;
}
label.error {
    color: red;
}

.multi-col{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
    flex-wrap: wrap;
}
.flex-1{
    flex: 1;
}
.is-empty{
    height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.disabled{
    opacity: 0.5;
}
.disabled:hover{
    cursor: not-allowed;
}

/* メッセージウィンドウ（自動消去） */
.autohide{
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    width: 370px;
    margin-left: auto;
    margin-right: auto;
    height: 50px;
    background-color: #FEFEFE;
    border-radius: 5px;
    box-shadow: 10px 10px 10px rgba(0,0,0,0.4);
    animation: fadeout 1s ease-out 1s both;
}
.autohide p {
    line-height: 50px;
    text-align: center;
    font-size: 1.5rem;
}