﻿/************ TEEXMA COMPONENTS **************/
/*** PopupInterface ***/
.popupInterface {
    background: white;
}
.popupInterface .modalScreen {
    position: fixed;
    z-index: -10;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(20,20,50,0.2);
    display: none;
}
.mainContainerPopup {
    width: 100%;
    background: #fff;
    background-color: #fafafa;
}

.contentPopup {
    position: relative;
    overflow: auto;
	display: block;
	background: #fff;
	margin: 0;
	width: 100%;
	height: Calc(100% - 40px);
    background-color: #fafafa;
}

.layoutPopup {
    position: absolute;
    top: 12px;
    width: 100%;
    height: Calc(100% - 40px);
    background:url(/resources/theme/img/gif/progress.gif) no-repeat center center;
}

.btnsContainerPopup {
    border-top: 1px solid #A4BED4;
    background: linear-gradient(45deg,rgba(0,105,180,1), rgba(0,105,180,.9));
    height: 40px;
    text-align: center;
    position: relative;
    top: 5px !important;
    border-radius: 0px !important;
    padding-right: 10px !important;
}

.btnActionsPopup {
	display: inline-block;
	float: right;
	margin-right: 10px;
	margin-top: 8px !important;
	padding: 5px 10px !important;
	height: 25px;
	cursor: pointer;
	background: #f8f8f8;
	border: 1px solid #c6c6c6;
	color: #444;
	font-family: Tahoma;
	font-size: 12px;
}

[class^="icon-"]:before, [class*=" icon-"]:before {
	font-family: 'icomoon' !important;
    margin-right: 5px;
    line-height: 1;
}

.icon-close:before {
	content: "\ea0f";
}
.icon-key:before {
	content: "\e98d";
}
.icon-switch:before {
	content: "\e9b6";
}
.icon-save:before {
	content: "\e962";
}
.icon-check:before {
	content: "\ea10";
}

.icon-enlarge:before {
    content: "\e989";
}

.icon-shrink:before {
    content: "\e98a";
}
.icon-checkmark:before {
	content: "\ea10";
}
.icon-plus:before {
	content: "\ea0a";
}
.icon-pushpin:before {
	content: "\e946";
}
.icon-pencil:before {
	content: "\e905";
}

/*** Accordion ***/
.accItem {
    /*border-bottom: 1px solid lightgray;*/
}
.accItemActive {
    color: #0069b4;
    font-weight: bold;
}
.accItemLabel {
    padding: 6px;
    cursor: pointer;
    border: 1px solid #dfdfdf;
}
.accItemLabel:hover {
    background: #bbf2ff !important;
}
.accItemLabel .accLabelWithIcon {
    margin-left: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    width: Calc(100% - 50px);
    vertical-align: middle;
}
.accItemArrow {
    
}
.accItemContentArea {
    height: 223px;
    display: none;
    border-top: 1px solid lightgray;
    background:white;
}

.buttonAccItem {
    float:right;

}

/** Fix Dhtmlx */
div.dhx_popup_dhx_skyblue div.dhx_popup_area {
    border-radius: 4px !important;
}


/**************************** Preview URL *****************************/

.clPreviewURLMainContainer {
    display: grid;
    border: 1px solid lightgrey;
    border-radius: 6px;
    max-width: 500px;
}
.clPreviewURLTextContainer {
    display: grid;
    max-width: 500px;
}
.clPreviewURLImgContainer {
    background-color: lightgray;
    height: 200px;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}
.clPreviewURLTextContainer {
    padding: 6px;
    border: none;
    word-break: break-all;
}
.clPreviewURLVideoContainer {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
.clPreviewURLVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.clPreviewURLTitleSpan {
    font-weight: bold;
    margin-bottom: 6px;
}
.clPreviewURLDescriptionSpan {
    word-wrap: break-word;
}
.clPreviewURLProgressDiv {
    display: grid;
}
.clPreviewURLProgressLayout {
    justify-self: center;
    align-self: center;
}
/************ compact mode preview ************/

.clPreviewURLMainContainerCompact {
    display: -webkit-box;
    display: -ms-inline-flexbox;
    width: 300px;
    height: 45px;
    border: 1px solid lightgrey;
    border-radius: 6px;
    background-color: white;
    -webkit-transition: background-color 0.2s linear;
    -moz-transition: background-color 0.2s linear;
    -o-transition: background-color 0.2s linear;
    -ms-transition: background-color 0.2s linear;
    transition: background-color 0.2s linear;
}
.clPreviewURLMainContainerCompact:hover {
    background-color: rgba(0,105,180,.2);
}
.clPreviewURLImgContainerCompact {
    background-color: lightgray;
    width: 15%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}
.clPreviewURLTextContainerCompact {
    display: grid;
    width: Calc(85% - 12px);
    height: Calc(100% - 6px);
    margin: 3px;
    overflow: hidden;
}
.clPreviewURLTitleSpanCompact {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.clPreviewURLDescriptionSpanCompact {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}