﻿/* CSS support for Message Box service code, for use with family trees as generated by the SVG Family-Tree Generator (SVG-FTG) */
/* Author:	A.C.Proctor	18-Jan-2021	*/
/* Modified:	A.C.Proctor	8-Dec-2021	*/
/*		Improve wrapping of text	*/

#mb_hdr {		/* The title div for the dialog */
    font-weight: bold;
    text-align: center;
    background-color: #b1dae7;
    cursor: move;
    margin-bottom: 5px;
}

#mb_img {		/* Optional icon */
    max-width: 50px;
    max-height: 50px;
    margin: 20px;
    float: left;
}

#mb_body {		/* Body div for the dialog */
    text-align: left;
    margin-top: 20px;
    margin-bottom: 20px;
}

#mb_container {		/* Container div for all of the dialog */
    position: absolute;
    z-index: 80;
    background-color: #f1f1f1;
    border: thin solid darkgray;
    font-size: 20px;
    border-radius: 10px;
    text-align: right;	/* For buttons */
    padding: 10px;
    min-width: 25vw;
    max-width: 70vw;
}

#mb_buttons {
    clear: both;
}

button.mb-but {		/* Buttons in the dialog */
    border-style: solid;
    border-radius: 10px;
    border-color: darkgrey;
    width: 80px;
    height: 30px;
    background-color: violet;
    color: black;
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    margin-left: 10px;
    padding: 0;
}

#mb_screen {		/* Optional screen to obscure all else */
    opacity: 0.8;
    position: absolute;
    top: 0px;
    left: 0px;
    background: #FFF;
    width: 100vw;
    height: 100vh;
    z-index: 70;
}
