﻿/*Buttons*/
/*Loaders*/
@-moz-keyframes rotate {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes rotate {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes rotate {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.ui-loader-dark,
.ui-loader-light {
    margin-top: 3px;
    -webkit-transform-origin: 50% 50%;
    -moz-transform-origin: 50% 50%;
    -o-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-animation: rotate 1s linear infinite;
    -moz-animation: rotate 1s linear infinite;
    animation: rotate 1s linear infinite;
}

.ui-loader-dark {
    background: url('../../images/shared/spinner.png') no-repeat;
    width: 20px;
    height: 20px;
}

.ui-loader-dark.big {
    background: url('../../images/shared/spinner-big.png') no-repeat;
    width: 44px;
    height: 44px;
}

.ui-loader-light {
    background: url('../../images/shared/spinner_white.png') no-repeat;
    width: 20px;
    height: 20px;
}

/*Light button*/
.ui-btn-light {
    height: 38px;
    border: 1px solid #5774e7;
    background-color: #f4f5fc;
    border-radius: 4px;
    color: #5774e7;
    font-size: 14px;
    font-family: GlowSemibold;
    letter-spacing: -0.2px;
    text-align: center;
    outline: none;
}

    .ui-btn-light:hover {
        background-color: #dde3fa;
        cursor: pointer;
    }

    .ui-btn-light[disabled] {
        opacity: 0.4;
        cursor: default;
    }

    .ui-btn-light:hover[disabled] {
        background-color: #f4f5fc;
    }
    /*Remove cross icon in IE*/
    .ui-btn-light::-ms-clear {
        display: none;
    }

/*Dark button*/
.ui-btn-dark {
    border: 1px solid #5774e7;
    height: 38px;
    background-color: #5774e7;
    border-radius: 4px;
    color: #ffffff;
    font-size: 14px;
    font-family: GlowBold;
    letter-spacing: -0.2px;
    text-align: center;
    outline: none;
}

    .ui-btn-dark:hover {
        background-color: #4659bf;
        cursor: pointer;
    }

    .ui-btn-dark[disabled] {
        opacity: 0.4;
        cursor: default;
    }

    .ui-btn-dark:hover[disabled] {
        background-color: #5774e7;
    }
    /*Remove cross icon in IE*/
    .ui-btn-dark::-ms-clear {
        display: none;
    }

/*Text button with icon (like change password) or link*/
.ui-btn-link {
    font-family: GlowRegular;
    font-size: 13px;
    line-height: 0.77;
    color: #5774e7;
}

    .ui-btn-link:hover {
        cursor: pointer;
        text-decoration: underline;
        color: #5774e7;
    }

    .ui-btn-link[disabled] {
        opacity: 0.4;
        cursor: default;
    }

        .ui-btn-link[disabled]:hover {
            text-decoration: none;
        }
    /*Remove cross icon in IE*/
    .ui-btn-link::-ms-clear {
        display: none;
    }

/*Text button*/
.ui-btn-text {
    font-family: GlowSemibold;
    font-size: 12px;
    color: #5774e7;
}

    .ui-btn-text:hover {
        cursor: pointer;
        color: #4659bf;
    }

    .ui-btn-text[disabled] {
        opacity: 0.4;
        cursor: default;
    }
    /*Remove cross icon in IE*/
    .ui-btn-text::-ms-clear {
        display: none;
    }

/*Grey button without borders*/
.ui-btn-grey {
    background: none;
    border: 0;
    color: #808080;
    width: inherit;
    padding: 0;
    font-family: GlowSemibold;
    font-size: 14px;
    outline: none;
}

    .ui-btn-grey:hover {
        background-color: initial;
        color: #4A4A4A;
    }

    .ui-btn-grey[disabled] {
        background-color: initial;
        color: #808080;
        opacity: 0.4;
    }
    /*Remove cross icon in IE*/
    .ui-btn-grey::-ms-clear {
        display: none;
    }

/*Checkbox*/
.ui-checkbox {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    border: solid 1px #b6b6b6;
    border-radius: 1px;
    display: inline-block;
    background: #fff;
}

    .ui-checkbox.checked {
        background-image: url('../../images/shared/check.svg');
        background-position: center center;
        background-repeat: no-repeat;
    }

    .ui-checkbox.severalChecked {
        background-image: url('../../images/shared/severalChecked.png');
        background-position: center center;
        background-repeat: no-repeat;
    }

    .ui-checkbox:hover {
        border: solid 1px #5774e7;
        cursor: pointer;
    }

    .ui-checkbox[disabled] {
        opacity: 0.4;
        cursor: default;
    }

        .ui-checkbox[disabled]:hover {
            border: solid 1px #b6b6b6;
        }

.ui-radiobutton {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    border: solid 1px #b6b6b6;
    border-radius: 100%;
    display: inline-block;
    vertical-align: middle;
}

    .ui-radiobutton.checked {
        background-image: url('../../images/shared/radioCheck.svg');
        background-position: center center;
        background-repeat: no-repeat;
    }

        .ui-radiobutton.checked:hover {
            background-image: url('../../images/shared/radioCheck-hovered.svg');
        }

    .ui-radiobutton:hover {
        border: solid 1px #5774e7;
        cursor: pointer;
    }

    .ui-radiobutton[disabled] {
        opacity: 0.4;
        cursor: default;
        background: none;
    }

        .ui-radiobutton[disabled]:hover {
            border: solid 1px #b6b6b6;
            cursor: default;
            background: none;
        }

.ui-radiobutton-label {
    display: inline-block;
    /*opacity: 0.4;*/
    font-family: GlowRegular;
    font-size: 14px;
    color: #4a4a4a;
    cursor: pointer;
    line-height: 17px;
    vertical-align: text-bottom;
}

    .ui-radiobutton-label.checked {
        opacity: 1;
    }
/*input*/
.ui-input {
    border: 0;
    outline: none;
    box-shadow: none !important;
    border-bottom: 1px solid #efefef;
    border-radius: initial;
    font-family: GlowSemiBold;
    font-size: 14px;
    cursor: text;
}

    .ui-input:focus {
        border-bottom: 1px solid #5774e7;
    }

    .ui-input.ng-dirty.ng-invalid-required {
        border-bottom: 1px solid #ec4a43;
    }

    .ui-input[disabled] {
        opacity: 0.4;
        cursor: default;
        background-color: transparent;
    }

/* Chrome/Opera/Safari */
input.ui-input::-webkit-input-placeholder {
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    letter-spacing: normal;
    font-family: GlowRegular;
    font-size: 14px;
    color: #b6b6b6;
    text-transform: none;
}
/* Firefox 19+ */
input.ui-input::-moz-placeholder {
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    letter-spacing: normal;
    font-family: GlowRegular;
    font-size: 14px;
    color: #b6b6b6;
    text-transform: none;
}
/* IE 10+ */
/* IE11 needs the !important flag */
input.ui-input:-ms-input-placeholder {
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    letter-spacing: normal;
    font-family: GlowRegular;
    font-size: 14px;
    color: #b6b6b6 !important;
    text-transform: none;
}
/* Firefox 18- */
input.ui-input::-moz-placeholder {
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    letter-spacing: normal;
    font-family: GlowRegular;
    font-size: 14px;
    color: #b6b6b6;
    text-transform: none;
}
/*input form searching*/
.ui-input-search {
    border-radius: 4px;
    font-family: GlowRegular;
    font-size: 14px;
    cursor: text;
    border: solid 1px #dcdcdc;
    height: 28px;
    background: url(../../images/shared/search_button.svg) no-repeat scroll 7px 5px white;
    padding-left: 29px;
    outline: none;
    color: #4a4a4a;
}

    .ui-input-search:focus {
        border: solid 1px #5774e7;
        background: url(../../images/shared/search_button_blue.svg) no-repeat scroll 7px 5px white;
    }

    .ui-input-search::-webkit-input-placeholder { /* Chrome/Opera/Safari */
        font-size: 13px;
        color: #b6b6b6;
        font-family: GlowRegular;
    }

    .ui-input-search::-moz-placeholder { /* Firefox 19+ */
        font-size: 13px;
        color: #b6b6b6;
        font-family: GlowRegular;
    }

    .ui-input-search:-ms-input-placeholder { /* IE 10+ */
        font-size: 13px;
        /* IE11 needs the !important flag */
        color: #b6b6b6 !important;
        font-family: GlowRegular;
    }

    .ui-input-search:-moz-placeholder { /* Firefox 18- */
        font-size: 13px;
        color: #b6b6b6;
        font-family: GlowRegular;
    }
    /*Remove cross icon in IE*/
    .ui-input-search::-ms-clear {
        display: none;
    }

.ui-input-search-close {
    background: url('../../images/resourceManagement/greyCross.svg') no-repeat;
    right: 10px;
    position: absolute;
    width: 10px;
    height: 10px;
}
/*input*/
.ui-input-bordered {
    font-family: GlowRegular;
    font-size: 14px;
    cursor: text;
    height: 28px;
    border-radius: 4px;
    background-color: #ffffff;
    border: solid 1px #dcdcdc;
    color: #4a4a4a;
}

    .ui-input-bordered:focus {
        border: 1px solid #5774e7;
        outline: none;
    }

    .ui-input-bordered.ng-dirty.ng-invalid-required,
    .ui-input-bordered.invalid {
        border: 1px solid #ec4a43;
    }

    .ui-input-bordered[disabled] {
        border-color: #F1F1F1;
        cursor: default;
    }

/* Chrome/Opera/Safari */
input.ui-input-bordered::-webkit-input-placeholder {
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    letter-spacing: normal;
    font-family: GlowRegular;
    font-size: 13px;
    color: #b6b6b6;
}
/* Firefox 19+ */
input.ui-input-bordered::-moz-placeholder {
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    letter-spacing: normal;
    font-family: GlowRegular;
    font-size: 13px;
    color: #b6b6b6;
}
/* IE 10+ */
input.ui-input-bordered:-ms-input-placeholder {
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    letter-spacing: normal;
    font-family: GlowRegular;
    font-size: 13px;
    /* IE11 needs the !important flag */
    color: #b6b6b6 !important;
}
/* Firefox 18- */
input.ui-input-bordered::-moz-placeholder {
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    letter-spacing: normal;
    font-family: GlowRegular;
    font-size: 13px;
    color: #b6b6b6;
}

/*Style of the element while dragging*/
.ui-dragging-area {
    border: solid 1px #cbcbcb;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.21);
    background-color: #ffffff;
    border-radius: 4px;
}

/*Style for toggle button*/
.ui-toggle {
    vertical-align: middle;
    background-color: rgba(236, 74, 67, 0.05);
    border: solid 1px #dcdcdc;
    position: relative;
    display: inline-flex;
    align-items: center;
    box-sizing: content-box;
    overflow: visible;
    width: 22px;
    height: 14px;
    padding: 0;
    margin: 0;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s ease-out all;
    -webkit-transition: 0.3s ease-out all;
    top: -1px;
    flex-flow: row;
}



    .ui-toggle small {
        --size: 14px;
        background: #fff;
        border: solid 1px #b6b6b6;
        border-radius: 100%;
        width: var(--size);
        height: var(--size);
        position: absolute;
        left: 0;
        transform: translateX(0%);
        transition: 0.3s ease-out all;
        -webkit-transition: 0.3s ease-out all;
    }

    .ui-toggle.disabled {
        opacity: 0.4;
        pointer-events: none;
    }

    .ui-toggle.checked {
        background: radial-gradient(66.35% 62.5% at 44.23% 50%, rgba(87, 116, 231, 0.2) 44.24%, rgba(87, 116, 231, 0.4) 79.17%);
        border: 1px solid #8197ED;
    }

        .ui-toggle.checked small {
            border: 1px solid #5774E7;
            left: calc(100% - var(--size));
        }

        .ui-toggle:hover,
        .ui-toggle.checked:hover {
            border-color: #5774E7;
        }

.resize-handle {
	position: absolute;
	background-color: transparent;
	width: 1px;
	border: 10px solid rgba(0, 0, 0, 0);
    cursor: ew-resize;
}

.resize-handle-northwest{
	top: -10px;
	left: -10px;
}

.resize-handle-northeast {
	top: -10px;
	right: -10px;
}

.resize-handle-southwest {
	bottom: -10px;
	left: -10px;
}

.resize-handle-southeast {
	bottom: -10px;
	right: -10px;
}


.resize-handle-north {
	top: -10px;
	left: calc(50% - 4px);
}

.resize-handle-east {
	top: 5px;
	height: calc(100% - 10px);

	right: -10px;
}

.resize-handle-south {
	bottom: -4px;
	left: calc(50% - 4px);
}

.resize-handle-west {
	top: calc(50% - 4px);
	left: -10px;
}
