html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}

html, body {
    /*height: 100%;*/
    background-color: oldlace;
    font-family: 'Times New Roman', Times, serif;
    font-size: 14px;
}



/* ----- GENERAL FORMATTING STYLES ----- */


/* ----- Text ----- */

h1 {
    font-size: 1.5rem;
}
h2 {
    font-size: 1.3rem;
}
h3 {
    font-size: 1.2rem;
}
h4 {
    font-size: 1.1rem;
}
h1, h2, h3, h4 {
    margin: 1rem;
    font-family: Cambria, Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
    color: darkslategray;
    text-decoration: none;
}

.item-label {
	font-weight: normal;
}
.general-caption {
	color: black;
	font-size: 14px;
}

/* ------- Aligning text ------- */
.align-left {
	text-align: left;
}
.align-center {
	text-align: center;
}
.align-right {
	text-align: right;
}

/* ----- Tables ----- */

.general-table {
    margin-top: 0;
}
	.general-table th {
		/*background-color: rgb(102, 120, 128);*/
		background-color: rgb(168, 169, 170);
		color: oldlace;
		font-weight: bold;
	}
    .general-table td {
        border-bottom: thin dotted gray;
    }
        .general-table td input, table td select {
            height: 25px;
            width: 100%;
        }

.interactive-table tr:hover {
	background-color: mistyrose;
	/*background-color: lemonchiffon;*/
}

/* ----- DIV blocks ----- */

/* top level div */
.main-div {
    margin: 0 1em;
}
/* child div with data elements */
.nested-pnl-div {
    margin: 1em 0;
    width: 100%;
}
/* child div with service button elements */
.nested-serv-div {
    margin: 2em 0;
}

/* hor flex container */
.hor-flex-container {
	display: flex;
	flex-direction: row;
}
    /*.hor-flex-container div {
        margin-right: 1em;
        align-self: center;
    }*/

.btn-container div {
	margin-right: 1em;
	align-self: center;
}

/* pop up window */
.pop-up-wnd {
    position: absolute;
    margin-top: 10em;
    margin-left: 10em;
    background-color: lightgray;
    border-radius: 5px;
}
.pop-up-wnd div {
    margin: 1em;
}

/* ----- UNORDERED LIST AS A MENU ----- */

.menu-list {
    display: flex;
    list-style-type: none;
}
ul.menu-list li {
    font-size: 1rem;
    display: block;
    margin-left: 3rem;
}
    ul.menu-list li a {
        font-family: Calibri, Arial, 'Arial Narrow', sans-serif;
        color: black;
    }
        ul.menu-list li a:hover {
            color: gray;
        }
    ul.menu-list .mi-inactive {
        border-bottom: none
        /*background-color: beige;*/
    }
    ul.menu-list .mi-active {
        /*background-color: bisque;*/
        border-bottom: 1px solid;
    }

/* ----- Unordered list as a selector ----- */

ul.selector-list {
    display: flex;
    list-style-type: none;
    padding-left: 0;
}

    ul.selector-list li {
        margin-left: 2em;
        margin-right: 0.5em;
    }

    ul.selector-list .first-li {
        margin-left: 0;
    }

/* ----- Selectors ----- */

.date-list {
    width: 10em;
    height: 30px;
}
.date-selector {
    width: 120px;
    height: 25px;
}
.apl-selector {
    width: 10em;
    height: 25px;
}
label {
    margin: 0;
    padding: 0;
}

/* ----- Buttons  ----- */

.btn-plain {
    width: 10em;
    min-height: 30px;
    background: lightblue;
    border-radius: 5px;
    border: solid 1px gray;
}
    .btn-plain:hover {
        color: white;
        background-color: cornflowerblue;
    }
    .btn-plain:focus {
        background-color: cadetblue;
    }


/* ----- Ordinary links ----- */

a {
    text-decoration: none /*!important*/;
    outline: none /*!important*/;
}
    a:link {
        color: blue;
        text-decoration: none;
    }
    a:visited {
        color: blue;
    }
    a:hover {
        color: red;
    }

/* ----- Links as buttons ----- */

.link-as-btn, .link-as-btn-inline {
	width: 10em;
	background: linear-gradient(to bottom, rgb(238, 232, 213), rgb(196, 186, 155));
	border: solid thin gray;
	border-radius: 10px;
	font-family: 'Global Sans Serif';
	text-align: center;
	color: darkblue;
}
.link-as-btn {
	display: block;
	padding: 3px 0;
	/*padding: 5px 0;*/
}
.link-as-btn-inline {
	display: inline-block;
	margin: 5px;
	padding: 3px;
	/*padding: 5px 15px;*/
}
    a.link-as-btn:link, a.link-as-btn-inline:link {
        color: darkblue;
    }
    a.link-as-btn:visited, a.link-as-btn-inline:visited {
        color: darkblue;
    }
    a.link-as-btn:hover, a.link-as-btn-inline:hover {
        color: red;
        background: linear-gradient(to bottom, rgb(221, 215, 195), rgb(177, 168, 140));
    }


/* ----- Links as selectors -----
   ----- it's assumed using flex container ----- */
.link-as-selector, .link-as-active-selector {
    display: inline-block;
    width: 12em;
    color: darkblue;
    border: solid thin gray;
    border-radius: 5px;
    font-family: 'Global Sans Serif';
    text-align: center;
    margin: 2px;
    padding: 2px 5px;
}
.link-as-selector {
	/*background-color: beige;*/
	background-color: whitesmoke;
}
.link-as-active-selector {
	background-color: blanchedalmond;
}

.date-input {
    width: 10em;
    height: 30px;
}

/* ----- PAGE INDEX SELECTORS ----- */
.page-index-selector {
	margin-right: 0.5em;
}
a.page-index-selected {
	border-bottom: 1px solid;
}

/* ----- LEFT NAVIGATION PANEL ----- */


#left-nav-bar {
	position: fixed;
	top: 0;
	left: 0;
	width: 8rem;
	border-width: 1px;
	border-right-style: outset;
	font-family: 'Courier New', sans-serif;
	font-size: 110%;
	font-weight: bold;
	/*background-color: antiquewhite;*/
	background-color: linen;
	height: 100%;
}

    #left-nav-bar a {
        display: block;
        width: 65%;
        margin-top: 2.5rem;
        padding: 0.5em 0;
        margin-left: auto;
        margin-right: auto;
        border: solid thin gray;
        border-radius: 3px;
        text-decoration: none;
        outline: none;
        text-align: center;
    }
        #left-nav-bar a:link {
            color: navy;
        }
        #left-nav-bar a:visited {
            color: navy;
        }
        #left-nav-bar a:hover {
            background-color: blanchedalmond;
        }


/* ----- MAIN BODY ----- */


#main-body {
    padding-left: 8rem;
    height: 100%;
    width: 100%;
}


/* ----- LOGIN PAGE ----- */


#login-block {
    margin-top: 10rem;
    margin-left: auto;
    margin-right: auto;
    width: 500px;
    vertical-align: middle;
    border-radius: 10px;
    background: linear-gradient(135deg, ghostwhite, oldlace);
    padding: 2rem;
}


/* ----- ADMIN PAGE ----- */


/* ----- SERVICE PAGE ----- */

#analyst-srv-block {
	margin-top: 1rem;
	display: grid;
}

#asb-watched-companies {
	grid-row: 1 / 2;
	grid-column: 1 / 2;
}


/* ----- Watched companies ----- */

#watched-cmpn-block table {
	width: 100%;
}

#watched-cmpn-block th:nth-of-type(1), #watched-cmpn-block td:nth-of-type(1) {
	width: 20%;
}

#watched-cmpn-block th:nth-of-type(2), #watched-cmpn-block td:nth-of-type(2) {
	width: 15%;
}

#watched-cmpn-block th:nth-of-type(3), #watched-cmpn-block td:nth-of-type(3) {
	width: 15%;
}

#watched-cmpn-block th:nth-of-type(4), #watched-cmpn-block td:nth-of-type(4) {
	width: 15%;
}

#watched-cmpn-block th:nth-of-type(5), #watched-cmpn-block td:nth-of-type(5) {
	width: 15%;
}

#watched-cmpn-block th:nth-of-type(6), #watched-cmpn-block td:nth-of-type(6) {
	width: 15%;
}

#watched-cmpn-block th:nth-of-type(7), #watched-cmpn-block td:nth-of-type(7) {
	width: 15%;
}


/* ----- Time series list ----- */

#time-series-selectors-block table {
	width: 100%;
}

#time-series-selectors-block th:nth-of-type(1), #time-series-selectors-block td:nth-of-type(1) {
	width: 5%;
}

#time-series-selectors-block th:nth-of-type(2), #time-series-selectors-block td:nth-of-type(2) {
	width: 10%;
}

#time-series-selectors-block th:nth-of-type(3), #time-series-selectors-block td:nth-of-type(3) {
	width: 30%;
}

#time-series-selectors-block th:nth-of-type(4), #time-series-selectors-block td:nth-of-type(4) {
	width: 30%;
}

#time-series-selectors-block th:nth-of-type(5), #time-series-selectors-block td:nth-of-type(5) {
	width: 25%;
}

#time-series-block table {
	width: 100%;
}

#time-series-block th:nth-of-type(1), #time-series-block td:nth-of-type(1) {
	width: 5%;
}

#time-series-block th:nth-of-type(2), #time-series-block td:nth-of-type(2) {
	width: 10%;
}

#time-series-block th:nth-of-type(3), #time-series-block td:nth-of-type(3) {
	width: 30%;
}

#time-series-block th:nth-of-type(4), #time-series-block td:nth-of-type(4) {
	width: 30%;
}

#time-series-block th:nth-of-type(5), #time-series-block td:nth-of-type(5) {
	width: 25%;
}

#time-series-block input[type="text"] {
	width: 30em;
}


/* ----- Managing time series values ----- */

.tsr-data-block table, .tsr-series-block table {
	width: 100%;
}

.tsr-data-block {
	width: 60%;
}

	.tsr-data-block th:nth-of-type(1), .tsr-data-block td:nth-of-type(1) {
		width: 20%;
	}

	.tsr-data-block td:nth-of-type(1) {
		color: gray;
	}

	.tsr-data-block th:nth-of-type(2), .tsr-data-block td:nth-of-type(2) {
		width: 20%;
	}

	.tsr-data-block th:nth-of-type(3), .tsr-data-block td:nth-of-type(3) {
		width: 20%;
	}

	.tsr-data-block th:nth-of-type(4), .tsr-data-block td:nth-of-type(4) {
		width: 20%;
	}

	.tsr-data-block th:nth-of-type(5), .tsr-data-block td:nth-of-type(5) {
		width: 20%;
	}

.tsr-series-block {
	width: 40%;
}

	.tsr-series-block th:nth-of-type(1), .tsr-series-block td:nth-of-type(1) {
		width: 25%;
	}

	.tsr-series-block th:nth-of-type(2), .tsr-series-block td:nth-of-type(2) {
		width: 25%;
	}

	.tsr-series-block th:nth-of-type(3), .tsr-series-block td:nth-of-type(3) {
		width: 25%;
	}

	.tsr-series-block th:nth-of-type(4), .tsr-series-block td:nth-of-type(4) {
		width: 25%;
	}

	.tsr-data-block input[type="submit"], .tsr-series-block input[type="submit"] {
		width: 7em;
	}

#new-tsr-value-block input[type="text"] {
	width: 100%;
}


/* ----- IRP QUESTIONNAIRE PAGE ----- */

#irp-qtnlist-filter-div {
	width: 15em;
	margin-left: auto;
}
	/* questionnaire list table */
	#irp-qtnlist-table th:nth-of-type(1) {
		width: 15em;
	}
	#irp-qtnlist-table th:nth-of-type(2) {
		width: 10em;
	}
	#irp-qtnlist-table th:nth-of-type(3) {
		width: 12em;
	}
	#irp-qtnlist-table th:nth-of-type(4) {
		width: 7em;
	}
	#irp-qtnlist-table th:nth-of-type(5) {
		width: 25em;
	}

	/* IRP questionnaire parameters page */
	#irp-qtnre-params-div input[type=text] {
		width: 300px;
		height: 25px;
	}

	/* IRP question group parameters page */
	#irp-qtn-gr-params-div input[type=text] {
		width: 500px;
		height: 25px;
	}

	/* IRP question parameters page */
	#irp-qtn-params-div textarea {
		width: 700px;
		height: 100px;
	}
	#irp-qtn-params-div input[type=text] {
		width: 100px;
		height: 25px;
	}

	/* IRP answer parameters page */
	#irp-answ-params-div textarea {
		width: 700px;
		height: 100px;
	}
	#irp-answ-params-div input[type=text] {
		width: 100px;
		height: 25px;
	}


/* IRP questionnaire structure page - service div */
#irp-qtn-structure-serv-div {
	width: 15em;
	margin-top: 4em;
	margin-left: auto;
}

	/* questionnare structure table */
	#irp-qtn-structure-table th:nth-of-type(1) {
		width: 50px;
	}
	#irp-qtn-structure-table th:nth-of-type(2) {
		width: 50px;
	}
	#irp-qtn-structure-table th:nth-of-type(3) {
		width: 700px;
	}
	#irp-qtn-structure-table th:nth-of-type(4) {
		width: 100px;
	}
	#irp-qtn-structure-table th:nth-of-type(5) {
		width: 100px;
	}
	#irp-qtn-structure-table th:nth-of-type(6) {
		width: 300px;
	}

.irp-qtn-gr-row {
	background-color: burlywood;
	font-weight: bold;
}
.irp-answ-row {
	color: gray;
	font-style: italic;
}

/* ----- IRP profiles ----- */
#irp-prof-lst-serv-div {
	width: 15em;
	margin-top: 5em;
	margin-left: auto;
}

#irp-prof-lst-table th:nth-of-type(1) {
	width: 250px;
}
#irp-prof-lst-table th:nth-of-type(2) {
	width: 150px;
	text-align: center;
}
#irp-prof-lst-table th:nth-of-type(3) {
	width: 150px;
	text-align: center;
}
#irp-prof-lst-table th:nth-of-type(4) {
	width: 300px;
}


#irp-prof-params-div input[type=text] {
	width: 25em;
}


#irp-prof-struct-serv-div {
	width: 200px;
	margin-left: auto;
	margin-top: 5em;
}

#irp-prof-struct-tbl th:nth-of-type(1) {
	width: 100px;
}
#irp-prof-struct-tbl th:nth-of-type(2) {
	width: 100px;
}
#irp-prof-struct-tbl th:nth-of-type(3) {
	width: 150px;
}
#irp-prof-struct-tbl th:nth-of-type(4) {
	width: 700px;
}
#irp-prof-struct-tbl th:nth-of-type(5) {
	width: 200px;
}


#irp-prof-scor-params-div input[type=text] {
	width: 200px;
}
#irp-prof-scor-params-div textarea {
	width: 700px;
	height: 100px;
}


#irp-qtnre-pass th:nth-of-type(1) {
	width: 35em;
}
#irp-qtnre-pass th:nth-of-type(2) {
	width: 10em;
}


/* ----- USER SUMMARY PAGE ----- */


#user-menu {
	margin-left: auto;
	margin-right: 3em;
	margin-top: 1em;
}

#user-headpiece {
	position: absolute;
	left:9em;
	top: 0.5em;
	right: 0.5em;
	bottom: 0.5em;
	padding: 2em;
	background-color: cornsilk;
	opacity: 0.9;
}
#user-headpiece-desc-div {
	padding: 5em;
	font-size: 14pt;
	width: 80%;
}
#user-headpiece-serv-div {
	margin-top: 5em;
}


#RiskProfile {
	width: 30rem;
	margin: 0 1rem;
}

#User-IRP-Profiles {
	display: flex;
	flex-flow: row nowrap;
	margin-bottom: 1em;
}

.User-IRP-Profile {
	flex: 0 0 8em;
	padding: 0.25em 0;
	font-weight: bold;
	text-align: center;
}

.User-IRP-Profile-Inactive {
	background-color: lightgray;
	color: gray;
}

.User-IRP-Profile-Active {
	background-color: lightgreen;
}


#Financial-Position {
	margin: 1rem;
}

#InvestGoals {
	margin: 1rem;
}


/* ----- COMPANY LIST PAGE ----- */


#comp-lst-filter {
    position: fixed;
    top: 6rem;
    right: 0;
    width: 30rem;
    padding: 1rem;
}
	#comp-lst-filter select, #comp-lst-filter input[type=text] {
		width: 100%;
		height: 2.3em;
	}
	#comp-lst-filter .comp-lst-pagination select {
		width: 5em;
		height: 2.3em;
		margin-right: 1em;
	}


#comp-lst-header {
	position: fixed;
	top: 0;
	left: 9rem;
	right: 32rem;
	padding-bottom: 1rem;
	z-index: 2;
	opacity: 1;
	background-color: oldlace;
}

#comp-lst-data {
    margin: 3.5rem 32rem 0 1rem;
    z-index: 1;
}

#comp-lst-header table, #comp-lst-data table {
    width: 100%;
    table-layout: fixed;
    text-align: left;
}
.comp-lst th {
    padding: 5px;
}
.comp-lst td {
    padding: 3px 5px;
}
.comp-lst th:nth-of-type(1),
.comp-lst td:nth-of-type(1) {
    width: 30%;
    text-align: left;
}
.comp-lst th:nth-of-type(2),
.comp-lst td:nth-of-type(2) {
    width: 20%;
    text-align: left;
}
.comp-lst th:nth-of-type(3),
.comp-lst td:nth-of-type(3) {
    width: 30%;
    text-align: left;
}
.comp-lst th:nth-of-type(4),
.comp-lst td:nth-of-type(4) {
    width: 20%;
    text-align: left;
}


/* ----- EDITING COMPANY PAGE ----- */


#edit-cmpn-div {
	display: grid;
	grid-template-rows: repeat(11, auto);
	grid-template-columns: 30% 30% 40%;
	grid-row-gap: 1em;
	grid-column-gap: 1em;
}

#edt-cmpn-header-div {
	grid-row: 1 / 2;
	grid-column: 1 / 2;
}
#edt-cmpn-name-div {
	grid-row: 2 / 3;
	grid-column: 1 / 2;
}
#edt-cmpn-alias-div {
	grid-row: 2 / 3;
	grid-column: 2 / 3;
}
#edt-cmpn-country-div {
	grid-row: 3 / 4;
	grid-column: 1 / 2;
}
#edt-cmpn-industry-div {
	grid-row: 3 / 4;
	grid-column: 2 / 3;
}
#edt-cmpn-headquarter-div {
	grid-row: 4 / 5;
	grid-column: 1 / 3;
}
#edt-cmpn-index-div {
	grid-row: 5 / 6;
	grid-column: 1 / 2;
}
#edt-cmpn-url-div {
	grid-row: 5 / 6;
	grid-column: 2 / 3;
}
#edt-cmpn-ceo-div {
	grid-row: 6 / 7;
	grid-column: 1 / 2;
}
#edt-cmpn-chair-div {
	grid-row: 6 / 7;
	grid-column: 2 / 3;
}
#edt-cmpn-desc-div {
	grid-row: 7 / 8;
	grid-column: 1 / 3;
}
#edt-cmpn-common-shares-div {
	grid-row: 8 / 9;
	grid-column: 1 / 2;
}
#edt-cmpn-common-shares-ff-div {
	grid-row: 8 / 9;
	grid-column: 2 / 3;
}
#edt-cmpn-preferred-shares-div {
	grid-row: 9 / 10;
	grid-column: 1 / 2;
}
#edt-cmpn-btns {
	grid-row: 10 / 11;
	grid-column: 1 / 2;
}


#edit-cmpn-div input, #edit-cmpn-div a {
	width: 120px;
}
#edit-cmpn-div .data-input {
    width: 100%;
    height: 30px;
}
#edit-cmpn-div textarea.data-input {
    width: 100%;
    height: 15em;
}


/* ----- COMPANY PAGE HEADER ----- */


#cmpn-header {
    position: fixed;
    top: 0;
    left: 130px;
    height: 3em;
    right: 10px;
    /*padding-bottom: 20px;*/
    z-index: 2;
    opacity: 1;
    background-color: oldlace;
}

#cmpn-top-line {
    width: 100%;
    margin-top: 5px;
    align-items: baseline;
}

    #cmpn-top-line .cmpn-info {
        padding: 2px 20px;
        background-color: lightgray;
        font-weight: bold;
    }

    #cmpn-top-line .cmpn-short-list {
        margin: 0 70px;
    }

/*
    #cmpn-top-line .cmpn-adm-rep {
        padding: 0 30px;
        background-color: gold;
    }
*/
    #cmpn-menu {
        margin-left: auto;
        margin-right: 50px;
    }


/* ----- COMPANY GENERAL PAGE ----- */


#cmpn-gen-info {
    position: fixed;
    left: 8rem;
    top: 3em;
    right: 1em;
    bottom: 1em;
    display: grid;
    grid-template-rows: auto max-content;
    grid-template-columns: 30% 30% 40%;
    /*grid-row-gap: 1em;
    grid-column-gap: 1em;*/
}
#cmpn-gi-desc {
    grid-row: 1 / 2;
    grid-column: 1 / 3;
    margin-left: 2em;
    line-height: 1.5em;
	font-size: 1.1em;
}
	#cmpn-gi-desc p {
		text-align: justify;
	}
	#cmpn-gi-desc table {
		width: 100%;
	}
	#cmpn-gi-desc td {
		padding: 0.1em 1em;
	}

#cmpn-gi-news {
    grid-row: 1 / 2;
    grid-column: 3 / 4;
}
#cmpn-gi-rep {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
}
#cmpn-gi-rt {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
}
#cmpn-gi-val {
    grid-row: 2 / 3;
    grid-column: 3 / 4;
}


#cmpn-gi-rep table {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}
#cmpn-gi-rep table th {
    text-align: right;
}
#cmpn-gi-rep table td:nth-of-type(1) {
    width: 40%;
}
#cmpn-gi-rep table td:nth-of-type(2) {
    width: 20%;
    text-align: right;
}
#cmpn-gi-rep table td:nth-of-type(3) {
    width: 20%;
    text-align: right;
}
#cmpn-gi-rep table td:nth-of-type(4) {
    width: 20%;
    text-align: right;
}

#cmpn-gi-rt table {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

    #cmpn-gi-rt table th {
        text-align: right;
    }

    #cmpn-gi-rt table td:nth-of-type(1) {
        width: 40%;
    }

    #cmpn-gi-rt table td:nth-of-type(2) {
        width: 20%;
        text-align: right;
    }

    #cmpn-gi-rt table td:nth-of-type(3) {
        width: 20%;
        text-align: right;
    }

    #cmpn-gi-rt table td:nth-of-type(4) {
        width: 20%;
        text-align: right;
    }


#cmpn-gi-val table {
	width: 100%
}
	#cmpn-gi-val table th {
		background-color: burlywood;
	}
	#cmpn-gi-val table td:nth-of-type(1) {
		width: 30%;
	}
	#cmpn-gi-val table td:nth-of-type(2) {
		width: 20%;
		text-align: right;
		padding-right: 2em;
	}
	#cmpn-gi-val table td:nth-of-type(3) {
		width: 30%;
	}
	#cmpn-gi-val table td:nth-of-type(4) {
		width: 20%;
		text-align: right;
		padding-right: 2em;
	}


/* ----- GENERAL REPORTING / RATIOS PAGES SETTINGS ----- */


.cmpn-st-selector {
	position: fixed;
	top: 3em;
	left: 130px;
	height: 6em;
	right: 10px;
	z-index: 2;
	opacity: 1;
	background-color: oldlace;
}

    .cmpn-st-selector div {
        margin-bottom: 1em;
    }

    .cmpn-st-selector table {
        width: 100%;
    }

        .cmpn-st-selector table th {
            padding: 5px;
            border: thin dashed black;
            font-weight: bold;
            text-align: center;
        }

        .cmpn-st-selector table select {
            width: 100%;
            height: 25px;
        }

div.cmpn-st-data {
    margin: 9em 10px 0 20px;
    z-index: 1;
    
}

div.cmpn-st-data table {
    width: 100%; 
}

    div.cmpn-st-data table tr {
        border-bottom: thin dotted gray;
    }


/* ----- COMPANY REPORTING PAGE ----- */


table.cmpn-rep-table th:nth-of-type(1), table.cmpn-rep-table td:nth-of-type(1) {
    width: 5%;
}
table.cmpn-rep-table th:nth-of-type(2), table.cmpn-rep-table td:nth-of-type(2) {
    width: 5%;
}
table.cmpn-rep-table th:nth-of-type(3), table.cmpn-rep-table td:nth-of-type(3) {
    width: 40%;
}
table.cmpn-rep-table th:nth-of-type(4), table.cmpn-rep-table td:nth-of-type(4) {
    width: 10%;
}
table.cmpn-rep-table th:nth-of-type(5), table.cmpn-rep-table td:nth-of-type(5) {
    width: 10%;
}
table.cmpn-rep-table th:nth-of-type(6), table.cmpn-rep-table td:nth-of-type(6) {
    width: 10%;
}
table.cmpn-rep-table th:nth-of-type(7), table.cmpn-rep-table td:nth-of-type(7) {
    width: 10%;
}
table.cmpn-rep-table th:nth-of-type(8), table.cmpn-rep-table td:nth-of-type(8) {
    width: 10%;
}

.rep-line-1 {
    color: black;
    font-weight: bold;
}
.rep-line-2 {
    font-weight: normal;
}
.rep-line-3 {
	color: gray;
    font-style: normal;
}
.rep-line-4 {
	color: darkolivegreen;
	font-style: italic;
}


/* ----- COMPANY RATIOS PAGE ----- */


table.cmpn-rt-table th:nth-of-type(1), table.cmpn-rt-table td:nth-of-type(1) {
    width: 10%;
}

table.cmpn-rt-table th:nth-of-type(2), table.cmpn-rt-table td:nth-of-type(2) {
    width: 40%;
}

table.cmpn-rt-table th:nth-of-type(3), table.cmpn-rt-table td:nth-of-type(3) {
    width: 10%;
}

table.cmpn-rt-table th:nth-of-type(4), table.cmpn-rt-table td:nth-of-type(4) {
    width: 10%;
}

table.cmpn-rt-table th:nth-of-type(5), table.cmpn-rt-table td:nth-of-type(5) {
    width: 10%;
}

table.cmpn-rt-table th:nth-of-type(6), table.cmpn-rt-table td:nth-of-type(6) {
    width: 10%;
}

table.cmpn-rt-table th:nth-of-type(7), table.cmpn-rt-table td:nth-of-type(7) {
    width: 10%;
}



/* ----- MANAGING REPORTING PAGE ----- */


#cmpn-mng-rep {
    display: grid;
    grid-template-rows: auto auto auto;
    grid-template-columns: max-content auto;
    grid-row-gap: 5em;
    grid-column-gap: 5em;
    margin-left: 2em;
    margin-right: 2em;
}

#cmpn-mng-rep-new {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
}

#cmpn-mng-rep-upload {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
}

#cmpn-mng-rep-serv {
    grid-row: 3 / 4;
    grid-column: 1 / 2;
}

#cmpn-mng-rep-list {
    grid-row: 1 / 4;
    grid-column: 2 / 3;
}


#cmpn-mng-rep .data-block {
    margin-top: 1.5em;
}
#cmpn-mng-rep .service-block {
    margin-top: 2em;
}


#cmpn-mng-rep .date-input{
    width: 10em;
}
#cmpn-mng-rep .text-input {
    width: 15em;
}
#cmpn-mng-rep .btn-plain {
    width: 10em;
}
#cmpn-mng-rep .link-as-btn {
    width: 10em;
}


#cmpn-mng-rep-list table{
    width: 100%;
}
#cmpn-mng-rep-list table th, #cmpn-mng-rep-list table td {
    text-align: center;
}
#cmpn-mng-rep-list table th:nth-of-type(1) {
width: 15%;
}
#cmpn-mng-rep-list table th:nth-of-type(2) {
    width: 15%;
}
#cmpn-mng-rep-list table th:nth-of-type(3) {
    width: 15%;
}
#cmpn-mng-rep-list table th:nth-of-type(4) {
    width: 15%;
}
#cmpn-mng-rep-list table th:nth-of-type(5) {
    width: 15%;
}
#cmpn-mng-rep-list table th:nth-of-type(6) {
    width: 15%;
}
#cmpn-mng-rep-list table th:nth-of-type(7) {
    width: 10%;
}

#cmpn-mng-rep-list table .view-rep {
    width: 45%;
}
#cmpn-mng-rep-list table .del-rep {
    width: 45%;
}

#edt-fin-statement-block{
	margin-left: 50px;
	margin-top: 25px;
}

#edt-fin-statement-block input {
	height: 27px;
	width: 15em;
}
#edt-fin-statement-block .date-input {
    height: 27px;
    width: 10em;
}
#edt-fin-statement-block select {
    height: 25px;
    width: 7em;
}
#edt-fin-statement-block input[type=checkbox] {
	height: 20px;
	width: 20px;
}


/* ----- MANAGING ACCOUNTING PLANS ----- */


#cmpn-mng-ap {
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: max-content auto;
    grid-row-gap: 5em;
    grid-column-gap: 5em;
    margin-left: 2em;
    margin-right: 2em;
}
#cmpn-mng-ap-upload {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
}
#cmpn-mng-ap-service {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
}
#cmpn-mng-ap-list {
    grid-row: 1 / 3;
    grid-column: 2 / 3;
}


#cmpn-mng-ap .data-block {
    margin-top: 1.5em;
}

#cmpn-mng-ap .service-block {
    margin-top: 2em;
}


#cmpn-mng-ap .date-input {
    height: 25px;
    width: 15em;
}

#cmpn-mng-ap .text-input {
    width: 15em;
}

#cmpn-mng-ap .btn-plain {
    width: 10em;
}

#cmpn-mng-ap .link-as-btn {
    width: 10em;
}


#cmpn-mng-ap-list table {
    width: 100%;
}

#cmpn-mng-ap-list table th, #cmpn-mng-ap-list table td {
    text-align: center;
}

#cmpn-mng-ap-list table th:nth-of-type(1) {
    width: 15%;
}

#cmpn-mng-ap-list table th:nth-of-type(2) {
    width: 15%;
}

#cmpn-mng-ap-list table th:nth-of-type(3) {
    width: 10%;
}

#cmpn-mng-ap-list table th:nth-of-type(4) {
    width: 30%;
}

#cmpn-mng-ap-list table th:nth-of-type(5) {
    width: 30%;
}

#cmpn-mng-ap-list table .del-acc-plan {
    width: 30%;
}
#cmpn-mng-ap-list table .view-acc-plan {
    width: 30%;
}


/* ----- MANAGING RATIOS ----- */


/* ----- Ratios list ----- */

#edited-ratio-list {
    width: 100%;
}
    #edited-ratio-list th:nth-of-type(1) {
        width: 10%;
    }
    #edited-ratio-list th:nth-of-type(2) {
        width: 20%;
    }
    #edited-ratio-list th:nth-of-type(3) {
        width: 10%;
    }
    #edited-ratio-list th:nth-of-type(4) {
        width: 30%;
    }
    #edited-ratio-list th:nth-of-type(5) {
        width: 10%;
    }
    #edited-ratio-list th:nth-of-type(6) {
        width: 20%;
    }

.hide-ratio-0 {
    color: black;
}
.hide-ratio-1 {
    color: gray;
}

/* ----- Ratio formulas list ----- */

#ratio-formula-list {
    width: 100%;
}
    #ratio-formula-list th:nth-of-type(1) {
        width: 7%;
    }
    #ratio-formula-list th:nth-of-type(2) {
        width: 7%;
    }
    #ratio-formula-list th:nth-of-type(3) {
        width: 7%;
    }
    #ratio-formula-list th:nth-of-type(4) {
        width: 7%;
    }
    #ratio-formula-list th:nth-of-type(5) {
        width: 7%;
    }
    #ratio-formula-list th:nth-of-type(6) {
        width: 5%;
    }
    #ratio-formula-list th:nth-of-type(7) {
        width: 30%;
    }
    #ratio-formula-list th:nth-of-type(8) {
        width: 20%;
    }
    #ratio-formula-list th:nth-of-type(9) {
        width: 10%;
    }

    #ratio-formula-list input, #ratio-formula-list a {
        width: 5em;
    }

/* ----- Edit ratio formula ----- */

#ratio-formula-text {
    width: 100%;
    height: 7em;
}

/* ----- Ratio Value list ----- */

#ratio-value-list {
    width: 100%;
}
    #ratio-value-list th:nth-of-type(1) {
        width: 10%;
    }
    #ratio-value-list th:nth-of-type(2) {
        width: 10%;
    }
    #ratio-value-list th:nth-of-type(3) {
        width: 40%;
    }
    #ratio-value-list th:nth-of-type(4) {
        width: 25%;
    }
    #ratio-value-list th:nth-of-type(5) {
        width: 15%;
    }

    #ratio-value-list input {
        width: 7em;
    }


/* ----- MANAGING VALUATION MODELS ----- */


/* ----- Editing templates / models / scenarios list ----- */

#val-tmpls-list {
    width: 100%;
}

#val-tmpls-list th:nth-of-type(1) {
    width: 10%;
}
#val-tmpls-list th:nth-of-type(2) {
    width: 10%;
}
#val-tmpls-list th:nth-of-type(3) {
    width: 20%;
}
#val-tmpls-list th:nth-of-type(4) {
    width: 10%;
}
#val-tmpls-list th:nth-of-type(5) {
    width: 50%;
}

#val-tmpls-list .link-as-btn-inline {
    width: 25%;
}

#val-tmpls-list input {
    width: 20%;
    color: red;
}

	/* model row in the list */
	#val-tmpls-list .edit-val-model {
		background-color: antiquewhite;
		/*background-color: gainsboro;*/
	}
	/* scenario row in the list */
	#val-tmpls-list .edit-val-scenario {
		background-color: blanchedalmond;
		/*background-color: aliceblue;*/
	}


/* ----- Editing valuation template ----- */

#val-tmpl-itm-wnd input {
    width: 400px;
}
#val-tmpl-itm-wnd table input {
    width: 197px;
}


.val-tmpl-cpt-block {
    margin: 1em 2em;
}
    .val-tmpl-cpt-block h4 {
        color: slategray;
    }

.val-tmpl-itm-block {
    margin: 1em 2em 1em 7em;
}

.val-tmpl-st-itms {
    width: 100%;
}
    .val-tmpl-st-itms th:nth-of-type(1), .val-tmpl-st-itms td:nth-of-type(1) {
        width: 5%;
    }
    .val-tmpl-st-itms th:nth-of-type(2), .val-tmpl-st-itms td:nth-of-type(2) {
        width: 20%;
    }
    .val-tmpl-st-itms th:nth-of-type(3), .val-tmpl-st-itms td:nth-of-type(3) {
        width: 30%;
    }
    .val-tmpl-st-itms td:nth-of-type(3) {
        color: teal;
    }
    .val-tmpl-st-itms th:nth-of-type(4), .val-tmpl-st-itms td:nth-of-type(4) {
        width: 30%;
    }
    .val-tmpl-st-itms td:nth-of-type(4) {
        color: teal;
    }
    .val-tmpl-st-itms th:nth-of-type(5), .val-tmpl-st-itms td:nth-of-type(5) {
        width: 15%;
    }


/* ----- Editing valuation model ----- */

#val-mdl-fml-wnd input[type=text] {
    width: 400px;
}

#val-mdl-fml-wnd table input {
    width: 197px;
}

.val-mdl-cpt-block {
    margin: 1em 2em;
}
    .val-mdl-cpt-block h4 {
        color: slategray;
    }

.val-mdl-itm-block {
    margin: 1em 2em 1em 7em;
}

.val-mdl-st-itms {
    width: 100%;
}
    .val-mdl-st-itms th:nth-of-type(1), .val-mdl-st-itms td:nth-of-type(1) {
        width: 5%;
    }
    .val-mdl-st-itms th:nth-of-type(2), .val-mdl-st-itms td:nth-of-type(2) {
        width: 20%;
    }
    .val-mdl-st-itms th:nth-of-type(3), .val-mdl-st-itms td:nth-of-type(3) {
        width: 15%;
    }
    .val-mdl-st-itms th:nth-of-type(4), .val-mdl-st-itms td:nth-of-type(4) {
        width: 30%;
    }
    .val-mdl-st-itms th:nth-of-type(5), .val-mdl-st-itms td:nth-of-type(5) {
        width: 30%;
    }

/*
        .about{
        max-width: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    */


/* ----- Editing valuation scenario structure ----- */

#vsst-caption-block {
	position: fixed;
	top: 0;
	left: 8rem;
	right: 0;
	display: flex;
	z-index: 2;
	opacity: 1;
	background-color: linen;
}
#vsst-mdl-bs-selector-block{
	margin-left: auto;
}
#vsst-mdl-bs-selector-block a {
	margin-top: 7px;
}

.vsst-data-wrapper {
	display: grid;
	grid-template-rows: auto max-content;
	grid-template-columns: 25% 75%;
}

#vsst-title-block {
	position: fixed;
	top: 3em;
	left: 9rem;
	right: 0;
	padding-bottom: 0.5em;
	z-index: 2;
	opacity: 1;
	background-color: oldlace;
}

#vsst-caption-block {
    grid-row: 1 / 2;
    grid-column: 1/ 3;
}
#vsst-caption-block h4 {
    color: slategray;
}

#vsst-tbl-itm-head-block {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
}

#vsst-tbl-dt-head-block {
	grid-row: 2 / 3;
	grid-column: 2 / 3;
}


#vsst-itm-capt-block {
	grid-row: 1 / 2;
	grid-column: 1 / 3;
}
#vsst-itm-names-block {
	grid-row: 2 / 3;
	grid-column: 1 / 2;
}
#vsst-itm-values-block {
	grid-row: 2 / 3;
	grid-column: 2 / 3;
}

#vsst-fct-capt-block {
	grid-row: 3 / 4;
	grid-column: 1 / 3;
}
#vsst-fct-names-block {
	grid-row: 4 / 5;
	grid-column: 1 / 2;
}
#vsst-fct-values-block {
	grid-row: 4 / 5;
	grid-column: 2 / 3;
}

#vsst-cnst-capt-block {
	grid-row: 5 / 6;
	grid-column: 1 / 3;
}

#vsst-cnst-names-block {
	grid-row: 6 / 7;
	grid-column: 1 / 2;
}
#vsst-cnst-values-block {
	grid-row: 6 / 7;
	grid-column: 2 / 3;
}



.vsst-names {
	width: 100%;
}

.vsst-names th:nth-of-type(1), .vsst-names td:nth-of-type(1) {
    width: 10%;
}
.vsst-names th:nth-of-type(2), .vsst-names td:nth-of-type(2) {
    width: 90%;
}
	.vsst-names td {
		white-space: nowrap
	}

#vsst-content-block {
	margin-top: 5em;
	margin-bottom: 60px;
	z-index: 1;
}

.vsst-values {
	width: 100%;
}
.vsst-values th {
    text-align: center;
    width: 14%;
}
.vsst-values td {
    text-align: right;
    width: 14%;
}

#vsst-fct-ts-div {
	position: fixed;
	top: 10em;
	left: 10em;
}


#vsst-fct-ts-sel-div select{
	width: 15em;
	height: 1.5em;
}

/* window for entering scenario constant value*/
#vsst-cnst-val-div {
	position: fixed;
	top: 10em;
	left: 10em;
}


/* service div with calculation buttons */
#vsst-calc-div {
	position: fixed;
	left: 8rem;
	bottom: 0;
	right: 0;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	z-index: 2;
	opacity: 1;
	background-color: linen;
}
/* running calculation div */
#vsst-calc-run-div {
	padding-left: 5em;
	/*width: 100em;*/
}
	#vsst-calc-run-div input[type=text] {
		width: 3em;
		margin: 0 0.5em;
	}
	#vsst-calc-run-div input[type=submit] {
		margin-left: 10em;
	}
/* back link div */
#vsst-calc-back-div {
	margin-left: auto;
}











.block-input-float {
    display: block;
    height: 2.3rem;
    width: 100%;
}

/* ------- Ширина полей ------- */
.width-50 {
    width: 50px;
}
.width-100 {
    width: 100px;
}
.width-150 {
    width: 150px;
}
.width-200 {
    width: 200px;
}
.width-250 {
    width: 250px;
}
.width-300 {
    width: 300px;
}
.width-400 {
    width: 400px;
}
.width-500 {
    width: 500px;
}
.width-700 {
    width: 700px;
}
.width-1000 {
    width: 1000px;
}

.width-100p {
    width: 100%;
}
.width-70p {
    width: 70%
}
.width-10p {
    width: 10%;
}
.width-20p {
    width:  20%;
}
.width-30p {
    width: 30%;
}


.height-25 {
    height: 25px;
}

.height-50 {
    height: 50px;
}
.height-100 {
    height: 100px;
}
