﻿.profile-detail-view h2 {
    color: #555;
    font-size: 17px;
    font-weight: bold;
    line-height: 50px;
    margin: 0;
    background-color: #f8f8f8;
    display: block;
    padding: 15px;
    border-bottom: 1px solid #e5eaee;
    font-family: 'Open Sans', sans-serif;
    white-space: nowrap;
}

    .profile-detail-view h2:before {
        color: #fff;
        background-color: #2d94f3;
        font-family: 'MyFont';
        width: 50px;
        font-size: 27px;
        height: 50px;
        line-height: 50px;
        display: block;
        text-align: center;
        float: left;
        margin-right: 20px;
        border-radius: 4px;
        font-weight: normal;
    }

.profile-edit-create-section {
    padding: 25px 0;
    min-height: 84px;
}

    .profile-edit-create-section label {
        font-size: 21px;
        font-weight: bold;
        margin-right: 10px;
		vertical-align: middle;
    }

    .profile-edit-create-section .editable-profile {
        margin-bottom: 30px;
    }

    .profile-edit-create-section .inactive-number-warning {
        border-radius: 3px;
        border: solid 1px #ffa500;
        background-color: #ffffff;
        padding: 11px 20px;
        margin-top: 30px;
    }

        .profile-edit-create-section .inactive-number-warning .mf-triangle-exclamation-mark:before {
            font-size: 26px;
            color: #ffa500;
            margin-right: 9px;
            font-family: 'myfont';
            vertical-align: middle;
        }

            .profile-edit-create-section .inactive-number-warning {
                font-family: 'Open Sans', sans-serif;
                font-size: 14px;
                line-height: 2;
            }

            .profile-edit-create-section .form-group {
                position: relative;
                border-right: 1px solid #e5eaee;
                padding: 0 20px 0 0;
                float: left;
            }

    .profile-edit-create-section .profile-edit-create-section-description .form-control {
        width: 300px;
    }

    .profile-edit-create-section .form-group:not(:last-of-type) {
        margin-right: 20px;
    }

    .profile-edit-create-section .form-group .alert {
        position: absolute;
        top: 100%;
        left: 0;
        margin-top: 5px;
        right: 20px;
        z-index: 999;
    }

	.call-container {
		border: 1px solid #e5eaee;
		border-radius: 3px;
		margin-bottom: 35px;
		display: inline-block;
		position: relative;
	}

		.call-container .profile-table .dropdown,
		.call-container .profile-table .dropdown .form-control {
			width: 100%;
		}

    .call-container .profile-table select {
        font-weight: normal;
        font-family: 'Myfont', 'Open Sans';
        width: 100%;
        min-width: 65px;
    }

    .call-container .profile-table > .profile-table-row .profile-table-cell-inner > .label {
        font-family: 'Myfont', 'Open Sans', sans-serif;
        line-height: 30px;
        display: inline-block;
        padding: 0 28px 0 10px;
        position: relative;
        max-width: 200px;
        text-overflow: ellipsis;
        overflow: hidden;
        vertical-align: middle;
        font-weight: normal;
    }

        .call-container .profile-table > .profile-table-row .profile-table-cell-inner > .label .mf-cancel {
            color: #d5d5d5;
            position: absolute;
            right: 8px;
            top: 8px;
            font-size: 13px;
            cursor: pointer;
        }

.outgoing-and-queue-section {
    display: inline-block;
}

.outgoing-and-queue-section .call-container {
    display: block;
}

.profile-detail-view .dropdown .form-control:not(.ui-select-search-hidden) {
    position: relative;
    min-height: 34px;
    padding-top: 3px;
    padding-bottom: 3px;
	height: auto;
}

    .profile-detail-view .dropdown .form-control.form-control-empty {
        cursor: default;
    }

    .profile-detail-view .dropdown .form-control:not(.form-control-empty),
    .profile-detail-view .dropdown .form-control:not(.ui-select-search-hidden) {
        padding-right: 15px;
    }

    .profile-detail-view .dropdown .form-control .label {
        position: relative;
        display: inline-block;
        text-align: left;
        font-family: 'Open Sans', sans-serif;
        padding: 0 25px 0 6px;
        margin-bottom: 3px;
        margin-top: 3px;
        max-height: 20px;
        line-height: 20px;
        white-space: normal;
    }

.profile-detail-view .dropdown .form-control[disabled] .label .mf-cancel {
    pointer-events: none;
}

    .profile-detail-view .profile-table .profile-table-row .profile-table-cell .dropdown .form-control .profile-table-cell-text-wrap.label {
        max-height: 20px;
        float: left;
        line-height: 20px;
        padding-left: 6px;
    }

    .profile-detail-view .profile-table .profile-table-row .profile-table-cell .profile-table-cell-text-wrap.label {
        max-height: 24px;
        font-weight: normal;
        display: inline-block;
        white-space: normal;
        vertical-align: middle;
        line-height: 24px;
        padding-left: 29px;
    }

        .profile-detail-view .profile-table .profile-table-row .profile-table-cell .dropdown .form-control .profile-table-cell-text-wrap.label:after {
            left: 25px;
        }

        .profile-detail-view .profile-table .profile-table-row .profile-table-cell .profile-table-cell-text-wrap.label:after {
            color: #fff;
            left: 10px;
            right: 20px;
        }

    .profile-detail-view .profile-table .profile-table-row .profile-table-cell .dropdown .form-control .profile-table-cell-text-wrap:not(.label) {
        max-height: 26px;
		line-height: 26px;
    }

    .profile-detail-view .profile-table .profile-table-row .profile-table-cell .dropdown .form-control .profile-table-cell-text-wrap ~ span {
        line-height: 26px;
    }
    .outgoing-and-queue-section > .call-container .ui-select-bootstrap .ui-select-match-text span {
        width: auto;
    }


.profile-detail-view .dropdown .form-control .no-device.profile-table-cell-text-wrap:after {
    left: 20px;
}

        .profile-detail-view .dropdown .form-control .label:not(:last-of-type) {
            margin-right: 10px;
        }

    .profile-detail-view .dropdown .form-control .no-device {
        display: block;
        margin-right: 15px;
        text-align: left;
        font-family: 'Open Sans', sans-serif;
        line-height: 26px;
    }


        .profile-detail-view .dropdown .form-control .no-device:before {
            font-family: 'MyFont';
            margin-right: 5px;
            line-height: 26px;
            display: inline-block;
            min-width: 15px;
            text-align: center;
            color: #555;
        }

    .profile-detail-view .dropdown .form-control .label:before {
        font-family: 'MyFont';
        min-width: 15px;
        text-align: center;
        display: inline-block;
        position: relative;
        top: 0;
        margin-right: 5px;
        color: #fff;
    }

    .profile-detail-view .dropdown .form-control .label:not(:first-of-type) {
        
    }

    .profile-detail-view .label .mf-cancel {
        color: #d5d5d5;
        position: absolute;
        right: 5px;
        top: 50%;
        font-size: 14px;
        cursor: pointer;
        margin-top: -7px;
    }

    .profile-detail-view .dropdown .form-control.dropdown-toggle .caret {
        position: absolute;
        top: 14px;
        right: 10px;
    }

    .profile-detail-view .dropdown .form-control.dropdown-toggle .dropdown-multiselect-placeholder {
        color: #c9c9c9;
        font-weight: normal;
        font-size: 13px;
        line-height: 26px;
    }

.profile-detail-view .dropdown .dropdown-menu {
    min-width: 100%;
}

    .profile-detail-view .dropdown .dropdown-menu > li:not(.no-device) + li.no-device {
        border-top: 1px solid #e8e8e8;
    }

    .profile-detail-view .dropdown .dropdown-menu > li > a {
        color: #555;
        font-family: 'Open Sans', sans-serif;
        padding: 10px 12px;
    }

.log-on-off-queue-section h2 {
    padding-right: 90px;
}

.log-on-off-queue-section .form-control.toggle {
    position: absolute;
    right: 15px;
    top: 23px;
}

.log-on-off-queue-section div[uib-dropdown] .btn {
    text-align: left;
}

.profile-table {
    display: table;
    border-collapse: collapse;
    padding-left: 0;
    list-style: none;
    margin: 0;
    width: 100%;
}

    .profile-table .profile-table-row {
        border-bottom: 1px dashed #e5eaee;
        border-top: 1px dashed #e5eaee;
        display: table-row;
    }

        .profile-table .profile-table-row:first-of-type {
            border-top: none;
        }

        .profile-table .profile-table-row:last-of-type {
            border-bottom: none;
        }

		.profile-table .profile-table-row .profile-table-cell {
			display: table-cell;
			font-weight: bold;
			padding-right: 15px;
		}

		.profile-table .profile-table-row > .profile-table-cell {
			padding-top: 13px;
			padding-bottom: 13px;
		}

			.profile-table .profile-table-row .profile-table-cell .profile-table-cell-text-wrap {
				max-height: 1.4em;
				overflow: hidden;
				position: relative;
				color: transparent;
			}

                .profile-table .profile-table-row .profile-table-cell .profile-table-cell-text-wrap:after {
                    content: attr(title);
                    position: absolute;
                    top: 0;
                    left: 0;
                    right: 0;
                    color: black;
                    white-space: nowrap;
                    overflow: hidden;
                }

             .profile-table .profile-table-row .profile-table-cell .profile-table-cell:last-of-type {
                padding-right: 0;
             }

            .profile-table .profile-table-row > .profile-table-cell:first-of-type {
                color: #2d94f3;
                padding-left: 15px;
            }
            
        .profile-table .profile-table-row .profile-table-cell[disabled] {
            opacity: 0.4;
            cursor: not-allowed;
        }
    
        .profile-table .profile-table-row .profile-table-cell[disabled] .profile-table-cell-text-wrap,
        .profile-table .profile-table-row .profile-table-cell[disabled] a {
            pointer-events: none;
        }

.profile-edit-create-section .dropdown .btn,
.profile-edit-create-section .dropdown-menu {
	font-size: 22px;
	text-align: center;
	line-height: 34px;
}

.profile-edit-create-section .dropdown .form-control.ui-select-toggle {
    width: 70px;
    padding: 0 0 0 10px;
}

.profile-edit-create-section .dropdown .ui-select-choices-row-inner {
	padding: 0;
	line-height: 40px;
}

.profile-edit-create-section .form-control.profile-icon .caret {
	float: right;
	margin-top: 14px;
}

.profile-edit-create-section .dropdown .dropdown-menu > li > a,
.profile-edit-create-section .form-control:not(.ui-select-search-hidden) {
    padding: 0 12px;
}

.log-on-off-queue-section .loading-icon {
    position: absolute;
    right: 15px;
    top: 23px;
}

@media (max-width: 1400px) {
    .profile-edit-create-section .form-group .form-control {
        width: auto;
        max-width: 150px;
    }
}