@import url("../../css/fontawesome/css/all.min.css");
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

h1 {
    color: var(--theme-color);
    width: 100%;
    text-align: center;
}

.hyperlink {
    color: var(--theme-color);
    text-decoration: none;
    margin-top: 14px;
    cursor: pointer;
}

    .hyperlink:hover {
        color: orange;
    }

    
.avatar {
    border-radius: 50%;
    border: 4px solid var(--theme-color);
    vertical-align: middle;
}

.avatar-small {
    width: 40px;
    height: 40px;
}

.persons-initials {
    width: 30px;
    height: 26px;
    border: 4px solid var(--theme-color);
    border-radius: 15px;
    text-align: center;
    line-height: 40px;
    font-size: 19px;
    font-weight: bold;
}

.input-error {
    border: 1px solid red;
}

/*------------------------- SLIDE SWITH -----------------------------*/

.switch {
    height: 0;
    width: 0;
    visibility: hidden;
}

.switchLabel {
    cursor: pointer;
    text-indent: -9999px;
    width: 40px;
    height: 20px;
    background: white;
    display: inline-block;
    border-radius: 10px;
    position: relative;
    border: 1px solid var(--theme-color);
    margin-left: -8px;
    flex-basis: 40px;
    flex-grow: 0;
    flex-shrink: 0;
}

    .switchLabel:after {
        content: '';
        position: absolute;
        top: 1px;
        left: 1px;
        width: 20px;
        height: 18px;
        background-color: var(--error-color);
        border-radius: 10px;
        transition: 0.3s;
    }

.switch:checked + .switchLabel {
    background-color: var(--theme-light);
}

    .switch:checked + .switchLabel:after {
        left: calc(100% - 2px);
        transform: translateX(-100%);
        background-color: var(--ok-color);
    }  

/*------------------------- FILE ICONS -----------------------------*/
#attachmentsContainer {
    background-color: white;
    margin-top: -1px;
}

.file-name {
    position:absolute;
    bottom:0;
    width:100%;
    padding: 0 4px;
		 /* this will allow the text to be truncated in the div */
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.fileImage {
	width              : 80px;
	height             : 80px;
	object-fit         : scale-down;
}

.fileIcon {
	position           : relative;
	display            : inline-block;
	text-align         : center;
	cursor             : pointer;
	font-size          : 12px;
	width              : 100px;
	height             : 100px;
		 /* this will allow the text to be truncated in the div */
	white-space        : nowrap;
	overflow           : hidden;
	text-overflow      : ellipsis;
}