:root {
	--mand-input-color: #f13b3b;
    --main-color: #f6a646;
    --light-main-color: #fffcf8;
    --brown-color: #532e00;
    --red-color: #6b0000;
	--index-gradient_from: #c47e28;
	--index-gradient_to: #814e10;    
    --input-gray: #f3f3f3;
    --main-gray: #eeeeee;
    --sepearator-gray: #dcdcdc;
    --placeholder-gray: #c9c8c8;
    --border-gray: #d3d3d3;
    --dark-gray: #3b3939;
    --main-blue: #b1dae6;
    --separator-blue: #96c8d7;
    --font-color: #FFF;
    --black-text: #212121;
}

@font-face {
    font-family: 'Avenir';
    src: url('../fonts/Linotype - Avenir Next LT Pro Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Avenir';
    src: url('../fonts/Linotype - Avenir Next LT Pro Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir';
    src: url('../fonts/Linotype - Avenir Next LT Pro Heavy.ttf') format('truetype');
    font-weight: bolder;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir';
    src: url('../fonts/Linotype - Avenir Next LT Pro Bold Italic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Avenir';
    src: url('../fonts/Linotype - Avenir Next LT Pro.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AvenirDemi';
    src: url('../fonts/Linotype - Avenir Next LT Pro Demi.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AvenirDemi';
    src: url('../fonts/Linotype - Avenir Next LT Pro Demi Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'AvenirBolder';
    src: url('../fonts/Linotype - Avenir Next LT Pro Heavy.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Avenir';
    color: var(--font-color);
    font-size: 12pt;
}

html {
    min-height: 100%;
    display: flex;
}

body {
    flex: 1;
}

#waitModalCont, #waitModalCont_fixed, .waitInControl {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    background-color: rgba(0,0,0,0.6);
    background-image: url("../images/wait.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50px;
}

.waitInControl {
    position: absolute;
}

.foxModalTitlebar {
	height: 3vw;	
    background-color: var(--main-color);
}

.foxModalTitle p {
	margin: auto 0.5vw;
	font-size: 0.8vw;
    font-family: 'AvenirDemi';
    color: var(--brown-color);
}

.foxModalClose {
	flex: 0 0 1.5vw;
	height: 1.5vw;
	margin: auto 1vw auto 1vw;
}

.foxModalIconColumn {
	height: 3vw;
	margin: 1vw 0;
}

.foxModalText {
	font-size: 0.8vw;
	padding: 0 1vw 1vw 1vw;
    font-family: 'Avenir';
    color: var(--black-text);
}

.foxModalButtCont {
	display: flex;
	flex-direction: row;
	padding: 0 0 1.5vw 0;
	justify-content: center;
}

.foxModalButt {
	padding: 0 2vw;
	margin: 0 0.3vw;
	min-width: 10vw;
	background-image: linear-gradient(70deg, var(--index-gradient_from), var(--index-gradient_to));
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
    border-radius: 4px;
}

.foxModalButt:hover {
	background-image: linear-gradient(70deg, var(--index-gradient_to), var(--index-gradient_from));    
}

.foxModalButt p {
    font-family: 'AvenirDemi';
    color: #fff;
    white-space: nowrap;
    font-size: 1.5vmin;
    font-weight: normal;
}

.mobile_checkbox_checkbox {
	border-radius: 3px;
	-webkit-border-radius: 3px;
	border: 1px solid var(--border-gray);
	height: 1.5vw;
	width: 1.5vw;
	flex: 0 0 1.5vw;
}

.mobile_checkbox_checkbox:hover {
	border: 1px solid var(--border-gray);
	background-color: var(--border-gray);
}

.mobile_checkbox_checkbox:active {
	flex: 0 0 1.5vw;
	height: 1.5vw;
	border: 1px solid var(--border-gray);
	background-color: var(--border-gray);
}

.mobile_checkbox_checked_cont {
	border: none;
}

.mobile_checkbox_img_checked {
	border-radius: 3px;
}

.mobile_checkbox_text {
	white-space: nowrap;
	color: var(--black-text);
	padding: 0.2vw 0 0 0;
	font-size: 11pt;
    font-family: 'Avenir';
    font-weight: normal;
}

.FC_day_cont, .FC_cal_button, .FC_button, .FC_clock_min_cont, .FC_clock_hr_cont {
    font-family: 'Avenir';
    font-size: 1.5vmin;
    font-weight: normal;
    color: var(--font-color);
}

.FC_cal_button, .FC_clock_hr_cont {
    background-color: var(--light-main-color);
    color: #212121;
}

.FC_button, .FC_sel_date_cal_button {
	background-image: linear-gradient(70deg, var(--index-gradient_from), var(--index-gradient_to));
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	font-family: AvenirDemi; 
	font-size: 10pt;
    border: none;
    color: #fff;
}

.FC_clock_min_cont {
    background-color: var(--main-color);
    color: #fff;
}

.FC_today_cal_button {
    background-color: var(--main-color);
    color: #fff;
}

#FC_cal_days_cont {
    background-color: var(--main-color);
    border: none;
}

#FC_month_sel_cont {
    background-color: var(--main-color);
}

.FC_day_cont {
    color: #212121;    
}

.FC_button:hover, .FC_sel_date_cal_button:hover {
	background-image: linear-gradient(70deg, var(--index-gradient_to), var(--index-gradient_from));    
    color: #fff;
}

.FC_clock_min_cont {
    color: #fff;
    font-size: 1.1vmin;
}

.FC_clock_hr_cont {
    font-size: 1.1vmin;
}

#FC_time_marks_cont, #FC_calendar_target {
    border-color: #c47e28;
}

.FAC_main_cont {
    background-color: #ffc783;
    border: solid 1px var(--brown-color);
    border-radius: 4px;
}

.FAC_cal_button {
	background-image: linear-gradient(70deg, var(--index-gradient_from), var(--index-gradient_to));
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	font-family: AvenirDemi; 
	font-size: 10pt;
    border: none;
    color: #fff;
    cursor: pointer;
}

.FAC_no_actions {
    font-size: 11pt;
}

.FAC_action_title {
    font-size: 11pt;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.FAC_move_button:hover, .FAC_cal_button:hover {
	background-image: linear-gradient(70deg, var(--index-gradient_to), var(--index-gradient_from));    
}

.FAC_cal_button:hover {
	background-image: linear-gradient(70deg, var(--index-gradient_to), var(--index-gradient_from));    
}

.FAC_cur_date {
    background-image: linear-gradient(70deg, #902797, #710678);
    color: #ffff;
}

.FAC_cur_date:hover {
    background-image: linear-gradient(70deg, #710678, #902797);
    color: #ffff;
}

.FAC_action_date {
    background-image: linear-gradient(70deg, #804ed5, #320088);
}

.FAC_action_date:hover {
    background-image: linear-gradient(70deg, #320088, #804ed5);
}

.FAC_action_date_required {
    background-image: linear-gradient(70deg, #bb0505, #7a0404);
}

.FAC_action_date_required:hover {
    background-image: linear-gradient(70deg, #7a0404, #bb0505);
}

.FAC_action_date_done {
    background-image: linear-gradient(70deg, #27a83a, #007f13);
}

.FAC_action_date_done:hover {
    background-image: linear-gradient(70deg, #007f13, #27a83a);
}

.FAC_action_date_blocked {
    background-image: linear-gradient(70deg, #0f0f0f, #000000);
    color: #969696;
}

.FAC_action_date_blocked:hover {
    background-image: linear-gradient(70deg, #000000, #0f0f0f);
}

.FAC_sel_date {
    background-image: linear-gradient(70deg, #c7daff, #79a5fb);
    color: #212121;
}

.FAC_sel_date:hover {
    background-image: linear-gradient(70deg, #79a5fb, #c7daff);
}

.FAC_move_button {
	background-image: linear-gradient(70deg, var(--index-gradient_from), var(--index-gradient_to));
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	font-family: AvenirDemi; 
	font-size: 10pt;
    color: #fff;
    padding: 0.4vh 0.2vw 0.3vh 0.2vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 3vh;
    height: 3vh;
    flex: 0 0 3vh;
    cursor: pointer;
}

.FAC_action_type_homework {
    color: #440ea2;
}

.FAC_action_type_lesson {
    color: #7e0578;
}

.FAC_action_type_block {
    color: #646464;
}

.pointer {
	cursor: pointer;
}

.hidden {
    display: none !important;
    visibility: hidden !important;
}

.flex_column_cont {
    display: flex;
    flex-direction: column;
}

.flex_row_cont {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.flex_row_noalign_cont {
    display: flex;
    flex-direction: row;
}

.flex_row_top_cont {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.flex_filler {
    flex: 1;
}

.flex_spacer {
    width: 0.3vw;
    height: 0.5vh;
    flex-grow: 0;
    flex-shrink: 0;
}

.flex_middle_spacer {
    width: 0.6vw;
    height: 1vh;
    flex-grow: 0;
    flex-shrink: 0;
}

.flex_big_spacer {
    width: 0.9vw;
    height: 1.5vh;
    flex-grow: 0;
    flex-shrink: 0;
}

.flex_centered_wrap {
    flex-wrap: wrap; 
    justify-content: center;
}

.nowrap_text {
    white-space: nowrap;
}

.button, .ff_button, .table_button {
	height: 5vmin;
	margin: 0;
	background-image: linear-gradient(70deg, var(--index-gradient_from), var(--index-gradient_to));
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	flex-direction: row;
	align-items: center;
	position: relative;
	user-select: none;
	-webkit-user-select: none;
    cursor: pointer;
    border-radius: 4px;
}

.table_button {
    height: unset;
    padding: 3px 5px;
}

.button:hover, .ff_button:hover, .table_button:hover {
	background-image: linear-gradient(70deg, var(--index-gradient_to), var(--index-gradient_from));    
}

.button_active_bck, .ff_button_active_bck {
	display: none;
	visibility: hidden;
	background-color: #fff;
	position: absolute;
	top: 2px;
	left: 2px;
	bottom: 2px;
	right: 2px;
	z-index: 1;
    border-radius: 4px;
}

.button:active .button_active_bck, .ff_button:active .ff_button_active_bck, .table_button:active .button_active_bck {
	display: block;
	visibility: visible;
}

.button_text, .ff_button_text {
	color: #fff;
	padding: 0.3vh 0 0 0;
	text-align: center;
	flex: 1 100%;
	font-size: 10pt;
	letter-spacing: 1vmin;
	font-family: AvenirDemi; 
	user-select: none;
	-webkit-user-select: none;
	z-index: 2;
	margin: 0 4vmin;
}

.table_button .button_text {
    padding: 0;
}

.button:active .button_text, .ff_button:active .ff_button_text, .table_button:active .button_text {
	color: var(--red-color);
}

.icon_butt, .icon_butt_small {
	height: 5vmin;
	width: 5vmin;
	margin: 0;
	background-image: linear-gradient(70deg, var(--index-gradient_from), var(--index-gradient_to));
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	flex-direction: row;
    flex-shrink: 0;
	align-items: center;
    justify-content: center;
	user-select: none;
	-webkit-user-select: none;
    cursor: pointer;
    border-radius: 4px;
    position: relative;
}

.icon_button_selected {
	background-image: linear-gradient(70deg, #bb0505, #7a0404);
}

.icon_butt_small {
	height: 3vmin;
	width: 3vmin;
}

.icon_butt_img {
    width: 2.5vmin;
    height: 2.5vmin;
	user-select: none;
	-webkit-user-select: none;
}

.icon_butt_small .icon_butt_img {
    width: 1.5vmin;
    height: 1.5vmin;
}

.icon_butt:hover, .icon_butt_small:hover {
	background-image: linear-gradient(70deg, var(--index-gradient_to), var(--index-gradient_from));    
}

.icon_button_selected:hover {
	background-image: linear-gradient(70deg, #7a0404, #bb0505);
}

.icon_butt:active .icon_butt_img, .icon_butt_small:active .icon_butt_img{
    width: 1.5vmin;
    height: 1.5vmin;
}

.icon_butt_marker {
    position: absolute;
    bottom: -0.5vmin;
    right: -0.5vmin;
    width: 2vmin;
    height: 2vmin;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #b60000;
    color: #fff;
    font-size: 8pt;
}

.main_page_container {
    background-color: #ffbe6e;
    min-height: 100%;
    position: relative;
}

.main_cont {
    margin: 10px 20px;
}

.page_info_cont {
    padding: 1vmin;
}

.page_middle_img {
    width: 100%;
    height: auto;
}

.top_bar_title, .top_bar_title_link, .top_bar_title_sep {
    color: var(--brown-color);
    font-size: 16pt;
    white-space: nowrap;
    font-family: AvenirDemi;
}

.top_bar_title_sep {
    margin: 0 1vw;
    width: 2vmin;
    height: 2vmin;
}

.top_bar_title_link {
    cursor: pointer;
}

.top_bar_title_link:hover {
    text-decoration: underline;
}

.top_bar_link {
    color: var(--brown-color);
    padding: 0 2vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
    white-space: nowrap;
}

.top_bar_link:hover {
    text-decoration: underline;
}

.top_bar_link:active {
    text-decoration: underline;
    color: var(--red-color);
}

.indialog_link {
    color: var(--brown-color);
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
    white-space: nowrap;
    font-size: 11pt;
}

.indialog_link:hover {
    text-decoration: underline;
}

.indialog_link:active {
    text-decoration: underline;
    color: var(--red-color);
}

.modal_bck {
    background-color: rgba(0,0,0,0.6);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.dialog_cont {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff9f1;
    border-radius: 5px;
    border: solid 2px var(--brown-color);
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.dialog_title {
    font-family: 'AvenirDemi';
    font-size: 13pt;
    color: var(--black-text);
    text-decoration: underline;
    margin: 0 0 1vh 0;
}

.dialog_close_icon {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 3vmin;
    height: 3vmin;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: 2vmin;
    font-family: 'AvenirDemi';
    background-color: var(--brown-color);
    color: #fff;
    border-radius: 3px;
    padding: 0.3vmin 0 0 0;
    cursor: pointer;
}

.dialog_controls_row {
    margin: 1vh 0 0 0;
}

.input_head, .input_head_mand, .input_head_inline, .input_head_inline_mand, .info_text_head, .info_text {
    font-family: 'AvenirDemi';
    padding: 0.3vh 0 0 0;
    white-space: nowrap;
    font-weight: normal;
    font-size: 11pt;
    color: var(--black-text);
}

.input_head, .input_head_mand {
    margin: 0 0 0.5vmin 0;
}

.input_head_mand:before, .input_head_inline_mand:before {
	content: '*';
	color: var(--mand-input-color);
	margin: 0 0.2vw 0 0;
} 

.input_head_inline, .input_head_inline_mand {
    padding: 0 1vw 0 0;
}

.info_text_head {
    font-family: 'Avenir';
}

.info_text {
    margin-left: 0.5vw;
}

.first_column_head {
    min-width: 100px;
    flex-shrink: 0;
}

.input, .textarea, .multiselect {
    display: block;
    border: solid 1px var(--border-gray);
    border-radius: 3px;
    outline: 0;
    flex-shrink: 0;
    padding: 0.5vh 0.3vw;
    font-family: 'Avenir';
    font-size: 11pt;
    font-weight: normal;
    color: var(--black-text);
}

.input::placeholder, textarea::placeholder {
    color: #cdcdcd;
    font-family: 'Avenir';
    font-size: 11pt;
    font-weight: normal;
}

.input_text_val {
    font-family: 'Avenir';
    font-size: 11pt;
    font-weight: normal;
    color: var(--black-text);
    padding: 0.5vh 0.3vw;
}

.dialog_val {
    font-size: 11pt;
    color: var(--black-text);
    white-space: nowrap;
}

.textarea {
    height: 10vh;
    resize: none;
    padding: 0.3vh 0.2vw;
}

.multiselect option {
    padding: 0.3vh 0.2vw;    
}

.checkbox {
	display: flex;
	flex-direction: row;
	align-items: center;
	flex-grow: 0;
	flex-shrink: 0;
}

.radiobox
{
	display: flex;
	flex-direction: column;
    margin: 1vh 0 0 0;
}

.dialog_section_title_cont {
    margin: 0 0 1vh 0;
}

.dashboard_section_title {
    color: var(--black-text);
    font-family: 'Avenir';
    text-decoration: underline;
    font-size: 14pt;
    white-space: nowrap;
}

.dashboard_subsection_title {
    color: var(--black-text);
    font-family: 'AvenirDemi';
    font-size: 12pt;
    white-space: nowrap;
}

.dashboard_section_cont {
    border: solid 1px #fff;
    background-color: rgba(255,255,255,0.3);
    border-radius: 4px;
    padding: 2vmin;
    position: relative;
}

.inputs_grp_cont {
    border: solid 1px var(--brown-color);
    border-radius: 4px;
    padding: 1vmin;
    position: relative;
}

.dashboard_section_ctrl_cont {
    background-color: rgba(255,255,255,0.5);
    margin: 0 0 1vmin 0;
    padding: 0.5vmin 2vmin;
}

.dashboard_section_margin_cont {
    margin-left: 20px; 
    margin-right: 20px; 
}

.page_info {
    margin: 5vh 0 0 3vw;
}

.dashboard_section_info {
    color: var(--black-text);
    font-style: italic;
    font-size: 12pt;
}

.dashboard_nav_nbrs_cont {
    padding: 0 1vw;
    white-space: nowrap;
    color: var(--black-text)
}

.dashboard_table_row, .dashboard_table_row_noclick {
    background-color: #e5b272;
    min-height: 4vh;
    color: var(--black-text);
    font-size: 12pt;
    position: relative;
}

.dashboard_table_row {
    cursor: pointer;
}

.dashboard_table_row:hover {
    background-color: var(--index-gradient_to);
    color: #fff;
}

.dashboard_table_row:hover td{
    color: #fff;
}

.dashboard_table_odd_row {
    background-color: #e9c191;
}

.hl_cell {
    color: #b10000;
    font-family: 'AvenirDemi';
    font-size: 13pt;
}

.profile_cont .input {
    width: 12vw;
}

.group_ctrls_cont {
    margin: 11pt 0 0 0;
}

.dash_separator {
    color: #212121;
    margin: 0 0.5vw;
}

.foxChat_own_msg_text_cont {
    background-color: var(--index-gradient_to);
}

.vertSpacerRight {
    margin-right: 0.3vw;
}

.vertSpacerLeft {
    margin-left: 0.3vw;
}

.horizSpacerTop {
    margin-top: 0.4vh;
}

.horizSpacerBotom {
    margin-bottom: 0.4vh;
}

.fb_icon_butt {
	background-image: linear-gradient(70deg, var(--index-gradient_from), var(--index-gradient_to));
}

.fb_icon_button_selected {
	background-image: linear-gradient(70deg, #bb0505, #7a0404);
}

.fb_icon_butt:hover {
	background-image: linear-gradient(70deg, var(--index-gradient_to), var(--index-gradient_from));    
}

.fb_icon_button_selected:hover {
	background-image: linear-gradient(70deg, #7a0404, #bb0505);
}

.lesson_type_cell {
    flex: 1 1;
    padding: 0 1vw;
    white-space: nowrap;
}

.lesson_date_cell {
    flex: 1 1;
    padding: 0 1vw;
    white-space: nowrap;
}

.lesson_lang_cell {
    flex: 1 1;
    padding: 0 1vw;
}

.lesson_nme_cell {
    flex: 2 2;
    padding: 0 1vw;
    white-space: nowrap;
}

.hw_title_cell {
    flex: 3 3;
    padding: 0 1vw;
    text-align: left;
}

.hw_student_cell {
    flex: 2 2;
    padding: 0 1vw;
    text-align: left;
}

.hw_status_cell {
    flex: 1 1;
    padding: 0 1vw;
    text-align: left;
}

.hw_eval_cell {
    flex: 1 1;
    padding: 0 1vw;
    text-align: left;
}

.titled_section {
    padding-top: 6vmin;
}


.ff_nofiles {
    color: var(--brown-color);
}

a .ff_fle_nme {
    color: var(--brown-color);
}

a .ff_fle_orig_nme {
    color: var(--brown-color);
}

.ff_icon_butt {
	background-image: linear-gradient(70deg, var(--index-gradient_from), var(--index-gradient_to));
}

.ff_icon_butt:hover {
	background-image: linear-gradient(70deg, var(--index-gradient_to), var(--index-gradient_from));    
}

.ff_border_top {
	border-top: solid 1px var(--brown-color);
}

.editor_text {
    background-color: #fff;
    border: solid 1px #212121;
    padding: 5px;
    color: #212121;
    margin-top: 5px;
}

.editor_cont {
    height: 30vh;    
}

.table th {
    text-align:center;
    color: #fff;
    background-color: var(--brown-color);
    padding: 10px;
    font-weight: normal;
}

.table td {
    padding: 5px;
    color: var(--black-text);
}

.rate_list {
    min-height: 155pt;
    flex: 1;
    width: 350pt !important;
    font-size: 11pt;
    font-family: 'Courier New', Courier, monospace;
}

.rate_rate {
    width: 200pt !important;
}

.rate_price {
    width: unset !important;
}

.main_solo_cont {
    margin: 10px 20px;
}

.number_cell {
    text-align: right;
}

.center_cell {
    text-align: center;
}

.trans_dt_cell {
    width: 110pt;
    white-space: nowrap;
    font-size: 11pt;
    margin: 0 5px 0 10px;
}

.trans_amt_cell {
    width: 60pt;
    font-size: 11pt;
    text-align: right;
    margin: 0 5px;
}

.trans_inbound_cell {
    color: #00963c;
}

.trans_outbound_cell {
    color: #960000;
}

.trans_type_cell {
    width: 100pt;
    font-size: 11pt;
    margin: 0 5px;
}

.trans_dsc_cell {
    flex: 1;
    font-size: 11pt;
    margin: 0 5px;
}