/*-pop-up-additiona-action-*/

/*fonts*/

@font-face {
    font-family: 'ubunturegular';
    src: url("../../../include/fonts/ubuntu-r-webfont.eot");
    src: url("../../../include/fonts/ubuntu-r-webfont.eot?#iefix") format("embedded-opentype"),
    url("../../../include/fonts/ubuntu-r-webfont.woff2") format("woff2"),
    url("../../../include/fonts/ubuntu-r-webfont.woff") format("woff"),
    url("../../../include/fonts/ubuntu-r-webfont.ttf") format("truetype");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 300;
    src: local('Ubuntu Light'),
    local('Ubuntu-Light'),
    url(../../../include/fonts/Ubuntu-L.ttf) format('truetype');
}

@font-face {
    font-family: 'Ubuntu';
    font-style: italic;
    font-weight: 300;
    src: local('Ubuntu Light Italic'),
    local('Ubuntu-LightItalic'),
    url(../../../include/fonts/Ubuntu-LI.ttf) format('truetype');
}

@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 400;
    src: local('Ubuntu Regular'),
    local('Ubuntu-Regular'),
    url(../../../include/fonts/Ubuntu-R.ttf) format('truetype');
}

@font-face {
    font-family: 'Ubuntu';
    font-style: italic;
    font-weight: 400;
    src: local('Ubuntu Regular Italic'),
    local('Ubuntu-RegularItalic'),
    url(../../../include/fonts/Ubuntu-RI.ttf) format('truetype');
}

@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 700;
    src: local('Ubuntu Bold'),
    local('Ubuntu-Bold'),
    url(../../../include/fonts/Ubuntu-B.ttf) format('truetype');
}

@font-face {
    font-family: 'Ubuntu';
    font-style: italic;
    font-weight: 700;
    src: local('Ubuntu Bold Italic'),
    local('Ubuntu-Bold-Italic'),
    url(../../../include/fonts/Ubuntu-BI.ttf) format('truetype');
}

body {
    margin: 0;
    padding-bottom: 10px;

    font-size: 13px;
    line-height: 1.42857143;
}

p {
    margin: 0;
    width: 100%;

    word-wrap: break-word;
}

/*flex-grid*/

.aa-popup__outer {
    display: flex;
    flex-wrap: wrap;
}

.aa-popup__outer--column {
    flex-wrap: nowrap;
    flex-direction: column;
}

.aa-popup__outer--v-top {
    align-items: flex-start;
}

.aa-popup__outer--v-middle {
    align-items: center;
}

.aa-popup__outer--v-bottom {
    align-items: flex-end;
}

.aa-popup__outer--h-space-between {
    justify-content: space-between;
    padding: 0 10px;
}

.aa-popup__outer--h-space-between .aa-popup {
    margin: 0;
}

.aa-popup__inline-block {
    display: flex;
    align-items: center;
}

.aa-popup__inline-wrap {
    flex-wrap: wrap;
}

.aa-popup {
    display: flex;
    flex-direction: column;
    width: 400px;
    margin: 0 auto;

    font-size: 13px;
}

.fluid {
    padding: 20px;
    width: calc(100% - 40px);
    min-width: 400px;
}

.aa-popup__title {
    margin-bottom: 20px;
    margin-top: 10px;

    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.aa-popup__row {
    width: 100%;
    display: flex;
    margin-bottom: 5px;
}

.aa-popup__key {
    width: calc(40% - 6px);
    padding-right: 6px;
    padding-top: 3px;
    display: flex;
    justify-content: flex-end;

    font-weight: bold;
    text-align: right;
}

.aa-popup__key::after {
    content: ":";
}

.aa-popup__key--required::before {
    content: "*";

    color: red;
}

.aa-popup__val {
    width: 60%;
    display: flex;
    align-items: flex-start;
}

.aa-popup__val p {
    margin-top: 5px;
}

.aa-popup__val > span {
    word-break: break-word;
}

.aa-popup__val span:not(.chosen-container span) {
    margin-top: 3px;
}

.aa-popup__val textarea {
    max-height: 400px;
}

.aa-popup__center {
    margin: 0 auto;
}

/*form-items*/

textarea,
input[type="text"],
select,
input[type="number"] {
    padding: 5px 6px;
    width: 100%;
    height: 30px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    background-color: #fff;
    box-sizing: border-box;
}

input[type="checkbox"] {
    margin: 0;
}

input[type="file"] {
    width: 100%;
}

textarea:hover,
input[type="text"]:hover,
select:hover {
    border-color: #ebb95b;
}

textarea:focus,
input[type="text"]:focus,
select:focus {
    background-color: #fff8d5;
    border-color: #ebb95b;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(245, 239, 61, .6);
}

textarea {
    resize: vertical;
    min-height: 4em;
}

.aa-popup .autocomplete {
    width: 100%;
    margin: 0 !important;
}

input.datepicker {
    width: 50%;
    margin-right: 4px;
}

input.datepicker + img {
    height: 15px;
    margin-top: 4px;

    cursor: pointer;
}

.ui-timepicker-div .ui_tpicker_second_label {
    float: left;
    display: inline-block;
    margin-top: 2px;
    margin-left: 4px;
    height: 14px;
}

.ui-timepicker-div .ui_tpicker_time_label {
    float: left;
    margin-left: 4px;
    height: 14px;
    margin-bottom: 5px;
}

.ui-timepicker-div .ui_tpicker_hour_label {
    float: left;
    display: inline-block;
    margin-left: 4px;
    height: 14px;
    margin-bottom: 5px;
}

.ui-timepicker-div .ui_tpicker_minute_label {
    float: left;
    display: inline-block;
    margin-left: 4px;
    height: 14px;
    margin-bottom: 5px;
}

.ui-timepicker-div .ui_tpicker_hour {
    height: 14px;
    margin-bottom: 5px;
}

.ui-timepicker-div .ui_tpicker_minute {
    height: 14px;
    margin-bottom: 5px;
}

.ui-timepicker-div .ui_tpicker_time {
    /*float:left;*/
    margin-left: 5.5em;
    height: 14px;
    margin-bottom: 5px;
}

.ui-timepicker-div .ui-slider.ui-slider-horizontal {
    width: 10.5em;
    height: 12px;
    margin-left: 2.3em;
}

.ui-timepicker-div dd {
    margin-left: 40px;
}

.ui_tpicker_minute,
.ui_tpicker_hour {
    padding-top: 4px;
}

.ui_tpicker_hour_label {
    padding-top: 2px;
}

.ui-datepicker-trigger {
    opacity: 0;
}

.ui-datepicker-trigger:hover,
.ui-datepicker-trigger:active,
.ui-datepicker-trigger:focus {
    opacity: 1;
}

input[type="text"].datepicker:focus + .ui-datepicker-trigger,
input[type="text"].datepicker:active + .ui-datepicker-trigger,
input[type="text"].datepicker:hover + .ui-datepicker-trigger {
    opacity: 1;
}

.button {
    padding: 5px 10px;
    width: 100px;

    font-size: 12px;
    color: #333;

    border: 1px solid #ccc;
    background-image: linear-gradient(rgb(255,255,255)0%,rgb(230,230,230)100%);
    outline: none;

    cursor: pointer;
}

.button:hover,
.button:focus,
.button:active {
    background-image: linear-gradient(to top, #dbdbdb 10%, #ededed 90%);
}

.button.button--big {
    width: 220px;
    padding: 6px;

    font-size: 16px;
    font-weight: bold;
}

.button.button--green {
    background-image: linear-gradient(to top, #77c21c, #9bd325);
    border-color: #578b04;
    box-shadow: inset 0 1px 0 0 #b8e02f;
    color: #fff;
}

.button.button--green:hover,
.button.button--green:active,
.button.button--green:focus {
    box-shadow: inset 0 1px 0 0 #b3d72d;
    background-image: linear-gradient(to top, #6ab119, #94c823);
}

input[type="text"].input-error,
textarea.input-error,
select.input-error {
    border-color: rgba(255, 0, 0, 0.51);
    background-color: rgba(255, 0, 0, 0.2);
}

input[type="text"].input-error:hover,
select.input-error:hover,
textarea.input-error:hover {
    border-color: rgba(255, 0, 0, 0.81);
}

input[type="text"].input-error:focus,
select.input-error:focus,
textarea.input-error:focus {
    border-color: rgba(255, 0, 0, 0.81);
    background-color: rgba(255, 0, 0, 0.35);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(245, 59, 73, 0.6);
}

input[type="text"].input-success,
select.input-success,
textarea.input-success {
    border-color: rgba(0, 128, 0, 0.51);
    background-color: rgba(0, 255, 0, 0.2);
}

input[type="text"].input-success:hover,
select.input-success:hover,
textarea.input-success:hover {
    border-color: rgba(0, 128, 0, 0.81);
}

input[type="text"].input-success:focus,
select.input-success:focus,
textarea.input-success:focus {
    border-color: rgba(0, 128, 0, 0.81);
    background-color: rgba(0, 255, 0, 0.35);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(110, 245, 91, 0.6);
}

/*multiple-checkbox*/

.multiple {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.multiple__row {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
}

.multiple__row--check-all {
    border-bottom: 1px solid gray;
}

.multiple__checkbox {
    width: 13px;
    height: 13px;
    margin-right: 4px;
}

.multiple__checkbox-val {
    width: calc(100% - 17px);
}

/*autocomplete*/

.autocomplete {
    position: relative;

    display: flex;
    align-items: center;
}

.autocomplete .preloader__block {
    top: 100%;
    position: absolute;
    z-index: 1000;

    width: calc(100% - 2px);
    display: flex;
    justify-content: center;
    height: 18px;

    border: 1px solid #767676 !important;
    background-color: #fff;
}

.preloader {
    position: absolute;
    left: 40px;
}

.autocomplete .lds-ellipsis div > div {
    top: 9px;
}

.autocomplete__btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.autocomplete__btn::before {
    content: "";

    display: block;
    width: 6px;
    height: 6px;

    background-color: #fff;
    background-image: url("../../../images/select_b.png");
    background-repeat: no-repeat;
}

.autocomplete__btn--bootstrap {
    width: 18px;
    height: 30px !important;

    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border: 1px solid #ccc;
    border-left: none;
    box-shadow: inset -1px 1px 1px rgba(0,0,0,.075);
    background-color: #fff;
    outline: none;
    box-sizing: border-box;
}

.autocomplete__input:focus {
    outline: none;
}

.autocomplete .autocomplete__input {
    height: 30px;

    border-radius: 0;
    background-color: #fff;
    box-sizing: border-box;
}

.autocomplete .autocomplete__input--bootstrap {
    padding: 5px 6px;
    width: calc(100% - 18px);

    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border: 1px solid #ccc;
    border-right: none;
    box-shadow: inset 1px 1px 1px rgba(0,0,0,.075);
}

.autocomplete:hover .autocomplete__input--bootstrap,
.autocomplete:hover .autocomplete__btn--bootstrap {
    border-color: #ebb95b;
}

.autocomplete__input--bootstrap:focus + .autocomplete__btn--bootstrap {
    background-color: #fff8d5;
    border-color: #ebb95b;
}

.autocomplete:focus {
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(245, 239, 61, .6);
}

.autocomplete__input--bootstrap:hover,
.autocomplete__btn--bootstrap:hover,
.autocomplete__input--bootstrap:focus,
.autocomplete__btn--bootstrap:focus {
    border-color: #ebb95b;
}

.autocomplete__input--bootstrap:focus,
.autocomplete__btn--bootstrap:focus {
    background-color: #fff8d5;
}

.autocomplete__additional-param {
    display: block;

    font-size: 10px;
}

.ui-menu-item-wrapper {
    padding: 0 6px !important;

    border: none;
}

.ui-menu-item-wrapper.ui-state-active {
    background-color: #1e90ff !important;
    border: none !important;
}

.ui-widget.ui-widget-content.ui-autocomplete {
    z-index: 1002;

    max-height: 300px;

    font-size: 13px;

    border-color: #767676 !important;
    overflow-x: hidden;
    overflow-y: visible;
}

.autocomplete__val {
    display: block;
}

.ui-menu .ui-state-active,
.ui-menu .ui-state-focus {
    margin: 0 !important;
}

/*table*/

.aa-popup__table {
    margin: 10px 0;
    display: table;
    width: 100%;

    border-collapse: collapse;
}

.aa-popup__table-row {
    display: table-row;
}

.aa-popup__table-cell {
    display: table-cell;
    padding: 5px;

    border: 1px solid #ccc;
}

.aa-popup__table-cell--v-middle {
    vertical-align: middle;
}

.aa-popup__table-cell--v-top {
    vertical-align: top;
}

.aa-popup__table-cell--v-bottom {
    vertical-align: bottom;
}

.aa-popup__table-caption {
    display: table-caption;
}

.aa-popup__param-required-star {
    margin: 0 2px;
    color: #f00;
    font-weight: 400;
    max-height: 15px;
}

/*setting*/

.bold {
    font-weight: bold;
}

.uppercase {
    text-transform: uppercase;
}

.lowercase {
    text-transform: lowercase;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.border {
    border: 1px solid #ccc;
}

.half-width {
    width: 50%;
}

.quarter-width {
    width: 25%;
}

.warning-txt {
    color: red;
}

.vertical-margin {
    margin-top: 10px;
    margin-bottom: 10px;
}

.hidden {
    display: none !important;
}

/*-------------------------*/

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

@keyframes lds-ellipsis3 {
    0%, 25% {
        left: 32px;
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    50% {
        left: 32px;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    75% {
        left: 100px;
    }
    100% {
        left: 168px;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}
@-webkit-keyframes lds-ellipsis3 {
    0%, 25% {
        left: 32px;
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    50% {
        left: 32px;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    75% {
        left: 100px;
    }
    100% {
        left: 168px;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}
@keyframes lds-ellipsis2 {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    25%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
}
@-webkit-keyframes lds-ellipsis2 {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    25%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
}
@keyframes lds-ellipsis {
    0% {
        left: 16px;
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    25% {
        left: 16px;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    50% {
        left: 50px;
    }
    75% {
        left: 84px;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    100% {
        left: 84px;
        -webkit-transform: scale(0);
        transform: scale(0);
    }
}
@-webkit-keyframes lds-ellipsis {
    0% {
        left: 16px;
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    25% {
        left: 16px;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    50% {
        left: 50px;
    }
    75% {
        left: 84px;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    100% {
        left: 84px;
        -webkit-transform: scale(0);
        transform: scale(0);
    }
}
.lds-ellipsis {
    position: relative;
}
.lds-ellipsis > div {
    position: absolute;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
}
.lds-ellipsis div > div {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f00;
    position: absolute;
    top: 46px;
    left: 32px;
    -webkit-animation: lds-ellipsis 1s cubic-bezier(0, 0.5, 0.5, 1) infinite forwards;
    animation: lds-ellipsis 1s cubic-bezier(0, 0.5, 0.5, 1) infinite forwards;
}
.lds-ellipsis div:nth-child(1) div {
    -webkit-animation: lds-ellipsis2 1s cubic-bezier(0, 0.5, 0.5, 1) infinite forwards;
    animation: lds-ellipsis2 1s cubic-bezier(0, 0.5, 0.5, 1) infinite forwards;
    background: #feda4e;
}
.lds-ellipsis div:nth-child(2) div {
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
    background: #feda4e;
}
.lds-ellipsis div:nth-child(3) div {
    -webkit-animation-delay: -0.25s;
    animation-delay: -0.25s;
    background: #feda4e;
}
.lds-ellipsis div:nth-child(4) div {
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
    background: #feda4e;
}
.lds-ellipsis div:nth-child(5) div {
    -webkit-animation: lds-ellipsis3 1s cubic-bezier(0, 0.5, 0.5, 1) infinite forwards;
    animation: lds-ellipsis3 1s cubic-bezier(0, 0.5, 0.5, 1) infinite forwards;
    background: #feda4e;
}
.lds-ellipsis {
    width: 100px !important;
    height: 100px !important;
    -webkit-transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
    transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
}
