:focus {
    outline: none;
}

body{
    font-family: 'Lato', sans-serif;
    /*font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;*/
    overflow-x: hidden;
}
.block {

}

.block-edit-field,
.block-edit-field-multiple {
	font-size:18px;
	width:220px;
	color:#3e454c;
	background-color: white;
}

.block-edit-field-multiple {
	resize: both;
	min-height: 200px;
	min-width: 220px;
}

.block-edit-field-readonly {
	background-color: #999999;
}

.block-select {
	color: #636B6F;
	border-radius: 0px;
	background-color: white;
	outline:none;
	border:none;
}

.block-button {
	margin: 1px;
    padding: 5px;
	font-size:12px;
	background:#FFCC00;
	border:1px #FFCC00 solid;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

.block-button:hover {
    color: #ffffff;
}

.block-button-red{
	margin-top:1px;
	font-size:24px;
	height:40px;
	background:#C2282D;
	border:1px #FFCC00 solid;
	color:#4E5146;

}

.block-text {
	font-size: 18px;
	/*font-family: Franklin Gothic Medium Condensed;*/
	background-color: #e5e5e5;
	color: #2d3237;
}

.align-middle-parent {
	display: table;
}

.align-middle-child {
	display: table-cell;
	vertical-align: middle;
}

.error-text {
	color:#c1272d;
	font-weight:bold;
}

.block-row-gray{
	background: #CCCCCC;
}

.block-row-gray-light{
	background: #E5E5E5;
}

.block-row-white{
	background: #ffffff;
}

.block-row-save{
	background: #e6e6e6;
	border-bottom: #999999 1px solid;
	border-top: #999999 1px solid;
}

.display-none {
	display: none;
}
.cursor-pointer{
    cursor: pointer;
}

/* Form inputs now use standardized Bootstrap 5 styles from theme-variables.css */
/* Legacy width override for specific blocks */
.block input[type="text"],
.block select {
    width: 220px;
    text-overflow: ellipsis;
}

textarea{
    resize: none;
}

/*rewrite tabulator style*/
.tabulator .tabulator-header{
    /*background-color: #313c45;*/
    /* background-color: #75aae6; */
    background-color: #3e454c;
    color: #ffffff;
    height: 53px;
    font-size: 21px;
    font-family:Tahoma;
    font-weight:normal;
    text-transform: uppercase;
    width: 100%;
    vertical-align:middle;
	text-align:left;
	padding-top:5px;
}

.tabulator-cell {
    height: 40px;
    font-size: 18px;
    color: #3e454c;
}

.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title {
	padding-left:8px;
	font-weight: 700 !important;
}

/* More specific selector for dynamically rendered tables */
#company-list .tabulator-header .tabulator-col-title,
.tabulator-header .tabulator-col-title {
	font-weight: 700 !important;
}

/* Override theme system font-weight for bold table cells */
.tabulator-cell span[style*="font-weight:bold"],
.tabulator-cell span[style*="font-weight: bold"] {
	font-weight: 700 !important;
}

.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title:last-child {
    padding-left: 2px;
}

.tabulator .tabulator-tableHolder{
    background-color: #ececec;
    overflow-x: auto;
}

/* Prevent horizontal scrollbar from tabulator's inline min-width */
.tabulator-table {
    min-width: 100% !important;
}

.desc{
    color:#3e454c;
}
.asc{
    color:#ffcc00;
}

/* Tabulator sort arrow colors - override default to be visible on dark header */
.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-arrow {
    border-bottom-color: #ffffff !important;
}

.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-arrow.asc {
    border-bottom-color: #ffcc00 !important;
}

.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-arrow.desc {
    border-top-color: #ffffff !important;
}

.btn {
    padding: 4px 4px;
    border-radius: 0px;
    margin-left: 8px;
}

.block__select-span{
	font-size:16px;
	display: inline-block;
	width:220px;
	padding-left:3px;
	border: 1px #CBCBCB solid;
	color:#3e454c;
	background-color: white;
	background-image:url(/css/images/icon_arrow_down_small.png);
	background-position: right;
	background-repeat: no-repeat;
}

.media-icon__tooltip {
    /* border-bottom: 1px dotted #0077AA; */
    opacity: 1;
    white-space: nowrap;
    z-index: 999999;
}

.media-icon__tooltip::after {
    background: #6999CF;
    border-radius: 8px 8px 8px 0px;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
    color: #FFF;
    font-size: 18px;
    text-transform: none;
    content: attr(data-tooltip);
    margin-top: -30px;
    margin-left: 0px;
    opacity: 0;
    padding: 3px 7px;
    position: absolute;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    transition-delay: 0.5s;
    z-index: 999999;
    white-space: pre;
}

.media-icon__tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    z-index: 999999;
}

.btn__tooltip, .slide__tooltip {
	opacity: 1;
	white-space:nowrap;
	z-index:1;
}

.btn__tooltip::after {
	background: #6999CF;
	border-radius: 8px 8px 8px 8px;
	box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
	color: #FFF;
	text-transform: none;
	content: attr(data-tooltip); 
	margin-top: -30px;
	margin-left: -30px;
	opacity: 0; 
	padding: 3px 7px;
	position: absolute;
	visibility: hidden; 
	transition: all 0.3s ease-in-out; 
	transition-delay: 0.5s;
	z-index: 2;
}
		
.btn__tooltip:hover::after, .slide__tooltip:hover::after {
	opacity: 1; 
	visibility: visible;
}

div.btn__tooltip{
	z-index:1;
	position:absolute;
	margin-top:-20px;
	margin-left:27px;
}

.media-block-icon__tooltip::after {
    margin-left: -100px;
}

.slide-editor__tooltip {
    opacity: 1;
    white-space: nowrap;
}

.slide-editor__tooltip::after, .slide__tooltip::after {
    background: #6999CF;
    border-radius: 8px 8px 8px 8px;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
    color: #FFF;
    text-transform: none;
    content: attr(data-tooltip);
    margin-top: -20px;
    margin-left: -30px;
    opacity: 0;
    padding: 3px 7px;
    position: absolute;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    transition-delay: 0.5s;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
	z-index: 2;
}

.slide-editor__tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

.favorite__tooltip::after {
	margin-top: -35px;
	margin-left: 35px;
}

.tooltip__90::after {
	margin-left: -90px;
}
		
.tooltip__60::after {
	margin-left: -60px!important;
}

.tooltip__eye::after {
	margin-top: -24px;
	margin-left: -10px;
}

.tooltip__under::after {
    margin-top: 28px;
    margin-left: 35px;
}

.tooltip__dimension-toggle::after {
    margin-top: 0px;
    margin-left: 50px;
}

input.form-control {
	width: 100%;
	height: 36px !important;
	padding: 6px 12px;
	background-color: #fff;
	border: 1px solid #ccd0d2;
	border-radius: 4px;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	-webkit-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;
}

.btn__tooltip, .slide__tooltip, slide-editor__tooltip{
	z-index: 100 !important;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-left-center {
    justify-content: left;
    align-items: center;
    width: max-content;
    height: 100%;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

/* Loading... animation */
.modalLoader {
    position: relative;
    left: 50%;
    top: 50%;
    z-index: 99;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.icon-hover-yellow:hover {
    filter: brightness(0) saturate(100%) invert(89%) sepia(19%) saturate(7417%) hue-rotate(349deg) brightness(104%) contrast(98%);
}

/** yellow filter **/
.icon-active {
    filter: brightness(0) saturate(100%) invert(89%) sepia(19%) saturate(7417%) hue-rotate(349deg) brightness(104%) contrast(98%);
}

.icon-trash {
    content: url('/blocks/slide/images/trash.svg');
    height: 25px;
    width: auto;
}

.icon-btn-pencil {
    content: url('/blocks/slide/images/edit-mode-edit.svg');
}
.icon-btn-tag{
    content: url('/blocks/slide/images/edit-tag.png');
}

.icon-table-action {
    height: 25px;
    width: auto;
}

.ff-avenir {
    font-family: 'Avenir';
}

.icon-input-arrow {
    width: 8px;
    height: auto;
}

.icon-arrow-top {
    content: url('/blocks/content-context-locator/arrow-down.svg');
}

.icon-arrow-bottom {
    content: url('/blocks/content-context-locator/arrow-up.svg');
}

.caret {
    border: 0;
    content: url(/blocks/content-context-locator/arrow-down.svg);
    height: 6px;
    width: auto;
    margin-bottom: 1px;
}

.dropdown-toggle~.caret {
    margin-left: -17px;
}

.clear-btn-25 {
    padding: 0px;
    width: 25px;
    height: 25px;
    border: 0px solid black;
    border-radius: 3px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-origin: content-box;
    background-color: transparent;
    box-sizing: content-box;
    cursor: pointer;
}

.clear-btn {
    padding: 0px;
    border: 0px solid black;
    border-radius: 3px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-origin: content-box;
    background-color: transparent;
    box-sizing: content-box;
    cursor: pointer;
}

.table-filter-label {
    color: #2d3237;
    font-weight: 700;
}








/**** font faces ****/

@font-face {
    font-family: 'Avenir';
    src: local('Avenir Light'), local('Avenir-Light'),
        url('./fonts/Avenir-Light.woff2') format('woff2'),
        url('./fonts/Avenir-Light.woff') format('woff'),
        url('./fonts/Avenir-Light.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}




/***** short styles *****/



.ml10 {
    margin-left: 10px !important;
}

.mt20 {
    margin-top: 20px !important;
}

.ml4 {
    margin-left: 4px !important;
}

.clear-btn:focus {
    outline: -webkit-focus-ring-color auto 0px !important;
}

/*Restriction for Tag user*/
#tagOptions{
    width: 182px;
}
.tags{
    padding-left: 5px;
    width: 100%;
    font-weight: 500;
    margin-bottom: 0;
}
input#edit_tags{
    margin-left: 5px;
    margin-right: 5px;
    height: 25px !important;
    width: 172px;
    margin-bottom: 5px;
}
#tagModal{
    text-align: left;
}
#tags_container{
    padding-left: 10px;
}
.tags-textarea{
    width: 300px;
    overflow-y: scroll;
    margin-left: 0px;
    text-align: left;
}
#new_tag{
    padding-left: 10px;
    margin-left: 10px;
}
.tab_user_disabled{
    pointer-events: none;
    opacity: .3;
}
.tab_user_slide_disabled{
    pointer-events: none;
    opacity: .8;
}
/*end tag user*/
.mg-top-20{
    margin-top: 20px;
}
.pd-left-20{
    padding-left: 20px;
}
.pd-right-10{
    padding-right: 10px;
}



#tickerEdit {
    margin-left: auto;
    margin-right: 0;
    padding: 5px 12px;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    background: #FFCC00;
    border: 1px solid #FFCC00;
    border-radius: 3px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

#tickerEdit:hover {
    background: #e6b800;
    border-color: #e6b800;
}
