﻿/* Notice: This source file was originally developed by Automatik IT, to make development of new projects more efficient, internally and externally for various clients.
* The functionality in this file is provided in source form instead of as a binary (NuGet Package etc.) to allow clients of Automatik IT to make changes on their own.
* Clients of Automatik IT have the right to modify this file and have ownership of the changes they make.
* Exclusive ownership of the original source file is not granted, as it's used in various projects for the sake of efficiency.
*/


/* AUTOMATIK IT POPOVER */


.PopOverControlButton {
    position: relative;
    cursor: pointer;
    color: rgba(0,0,0,.72) !important;

    padding-left: 5px;
	
	display: inline-flex;        /* so children can be centered */
	align-items: center;
	justify-content: center;
	padding: 0;                  /* remove extra anchor padding unless wanted */
	margin-left: .25rem;         /* small gap if you prefer */
	line-height: 1;              /* important for icon fonts */
	vertical-align: middle;      /* safe fallback */
	text-decoration: none;       /* optional */
}

.WindowControl header > h4 > .PopOverControlButton {
	font-size: 0.8em;            /* match icon scale to text (optional) */
}

.PopOverControlButton > .Icon {
    font-size: 18px !important;
    padding-left: 0 !important;
    vertical-align: bottom;
}


    .PopOverControlButton > svg {
        fill: #3b678c;
        stroke: #3b678c;
        vertical-align: middle;
    }

.PopOverControlWindow {
    position: absolute;
	top: -55px;
    padding: 12px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    background-clip: padding-box;
    border-radius: 3px;
    white-space: nowrap;
    font-weight: normal;
    color: #FFF;
    /*
    margin-left: 28px;
  
    margin-top: -8px;  */
    font-size: 18px;
/*
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
*/
    box-shadow: 0 10px 14px rgb(0 0 0 / 12%);
    background-color: rgba(4,171,237, 1);
    color: #FFF;
    z-index: 110;
}




/* Arrow */
.PopOverControlWindow::after{
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translate(-50%, 0);
	width: 0;
	border-top: 11px solid rgba(4,171,237, 1);
	border-left: 11px solid transparent;
	border-right: 11px solid transparent;
	z-index: 110;
}



/* Get clipped without it */
.Parameter .PopOverControlWindow {
	left: -40px;
}

.Parameter .PopOverControlWindow::after {
	left: 50px;
}

.Parameter .PopOverControlButton {
	/*
	border-bottom: solid 1px rgba(0, 0, 0, .2);
	*/
	line-height: 1;
	font-size: 18px;
	padding: 2px 6px 2px 0;
	margin-left: 0;
}
	

.Parameter .PopOverControlButton .Icon {
    border: none;
}
	

.ReadOnlyDateTimeControl label + .TooltipButton,
.TextAreaWithMultiUploadControl label + .TooltipButton,
.MultiUploadControl label + .TooltipButton,
.MultiSelectControl label + .TooltipButton,
.TextAreaControl label + .TooltipButton,
.ReadOnlyTextBoxControl label + .TooltipButton,
.SelectControl label + .TooltipButton,
.CheckboxControl label + .TooltipButton,
.NullableCheckboxControl label + .TooltipButton {
    border-bottom: none;
}

