* {
    margin: 0;
    padding: 0;
}

html, body{
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    /* overflow: auto;*/
}

table, tr, td {
    border-spacing: 0;
}

body {
    background:#000;
    color: #000;
    font: 14px Helvetica,Arial,Verdana, sans-serif;
}

a, img {
    border:none;
}

legend {
    color:#777;
    text-shadow:1px 1px 0px #fff;
}

.data_table_preloader{
    /*content: 'Зачейкте, йде завантаження данних...';*/
}

.data_table{
    display: none;
}

.data_table a, .table a, table a, .fancybox-inner a, a.link{
    color: #000;
}

.data_table a:hover, .table a:hover, .fancybox-inner a:hover, a.link:hover{
    color: #424242;
}

.tabs-nav li a:hover{
    color: #ccc;
}

.data_table a:visited, .table a:visited  {
    color: #333;
}

p{
    margin: 0.5em auto;
}

#wrapper{
    background:#fff;
    margin: 0px;
    padding: 0px;
    min-height: 100%;
    min-width:1024px;
    margin-bottom: -40px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: #f9f9f9;
}

* html #wrapper {
    height: 100%;
}


#header{
    background: #4297d7;
    height: 180px;
}

#content{
    padding:10px 0;

}

.foot_clear{
    clear: both;
    height: 40px;
    background: none;
}

#footer{
    bottom: 0;
    padding: 10px 0;
    height: 20px;
    margin-top: -40px;
    margin-bottom: 0;
    text-align: center;
    position: relative;
    z-index: 2;
    color: #666;
    background: #000;
    font: 12px Verdana,sans-serif;
    font-weight: bold;
    min-width: 1024px;
}

h1{
    text-align: center;
}

#show_authors,  #show_authors:visited, #show_authors:link{
    color: #ccc;
    text-decoration: none;
    font-weight:100;
}

#authors, .schedule_block{
    display: none;
}

.subject_teacher, .teacher_reward{
    text-align: center;
}

.info_window, .success_window, .warning_window, .error_window {
    border: 1px solid;
    margin: 10px 0px;
    padding: 10px 10px 10px 15px;
    font-size: 80%;
    font-family: Verdana, Geneva, sans-serif;
    vertical-align: middle;
    min-height: 50px;
    min-width: 100px;
    width: 100%
}
.error_window {
    border:1px solid;
    color:#D8000C;
    background-color:#FFBABA;
}

.success_window {
    border:1px solid;
    color:#4F8A10;
    background-color:#DFF2BF;
}

.info_window {
    border: 1px solid;
    /*color: #000;*/
    color: #26A8E0;
    background-color: #EFFAFF;
}
.warning_window {
    border:1px solid;
    color: #9F6000;
    background-color: #FEEFB3;
}

.dialog_icon{
    width: 40px;
    text-align: center;
}

.dialog_icon, .dialog_msg{
    vertical-align: middle !important;
}

.big_checkbox{
    width: 24px;
    height: 24px;
}

input[type="submit"], input[type="button"], .button {
    color: #fff !important;
    min-width: 10px; /*120px;*/
    padding: 4px 20px;
    border: 0;
    text-decoration: none;
    font-weight: normal;
    font-size: 10pt;
    margin: 0 2px;
    text-align: center;
    display: inline-block;
}

input[type="button"],
input[type="submit"],
.button
{
    min-width: 100px;
    box-sizing: border-box;
}

input[type="text"], input[type="date"], input[type="number"], input[type="time"], input[type="datetime-local"], input[type="password"], input[type="email"], input[type="search"], select, textarea {
    min-height: 26px;
    margin: 2px 0 2px 0;
    padding-left: 5px;
    border: 1px solid #ddd;
    /*box-sizing: border-box;*/
}

select{
    min-height: 26px;
    margin: 2px 0 2px 0;
}

input:focus, select:focus, textarea:focus, button:focus{
    /*outline: 2px solid #4297d7;*/
    outline: none;
}

input[type="submit"], input[type="button"], .button{
    background: #4297d7;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
.clicked_btn{
    border: 1px solid rgba(255,255,255,0.1) !important;
    box-shadow: inset 0 1px 0 rgba(0,0,0,0.2) !important;
}

input[type="submit"]:hover, input[type="button"]:hover{
    cursor: pointer;
    background: #54a8e8;
}

.file_btn{
    margin: 0 !important;
    width:150px !important;
    max-width: 150px !important;
}


.right_fieldset{
    border: 0;
}



/*.right_fieldset:disabled a, .right_fieldset[disabled] a,*/
.right_fieldset:disabled .toggle , .right_fieldset[disabled] .toggle{
    pointer-events: none;
    cursor: default;
}

.right_fieldset:disabled :required, .right_fieldset:disabled input[required], .right_fieldset:disabled select[required], .right_fieldset:disabled textarea[required]{
    border-color: #ddd;
}

.right_fieldset:disabled .button, .right_fieldset[disabled] .button{
    background: #ccc !important;
}

.right_fieldset:disabled .button:hover, .right_fieldset[disabled] .button:hover{
    background: #cfcfcf !important;
}

/* Disabled button fix */
input[disabled], input:disabled,
select[disabled], select:disabled,
textarea[disabled], textarea:disabled,
input[readonly],
select[readonly],
textarea[readonly]
{
    background: #f9f9f9 !important;
}
input[disabled]:hover, input:disabled:hover,
select[disabled]:hover, select:disabled:hover,
textarea[disabled]:hover, textarea:disabled:hover,
input[readonly]:hover,
select[readonly]:hover,
textarea[readonly]:hover
{
    background: #fafafa !important;
}

fieldset:disabled .button, fieldset[disabled] .button, .disabled .button,
input[type="submit"][disabled], input[type="submit"]:disabled,
input[type="button"][disabled], input[type="button"]:disabled,
button[disabled], button:disabled,
.button.disabled{
    background: #ccc !important;
    pointer-events: none;
}

input[type="submit"][disabled]:hover, input[type="submit"]:disabled:hover,
input[type="button"][disabled]:hover, input[type="button"]:disabled:hover,
button[disabled]:hover, button:disabled:hover,
.button.disabled:hover{
    background: #cfcfcf !important;
}

:required, input[required], select[required], textarea[required]{
    border-left: 1px solid #f66;
}

/*select:disabled,
input[type="text"]:disabled,
input[type="password"]:disabled {
	background: #f9f9f9 !important;
}*/

.red{
    background: #cd0a0a !important;
}

.red:hover{
    background: #d13131 !important;
}

.grey{
    background: #444 !important;
}

.grey:hover{
    background: #666 !important;
}

.light_grey{
    background: #c4c4c4 !important;
}

.light_grey:hover{
    background: #ccc !important;
}

.green{
    background: #9c0 !important;
}

.green:hover{
    background: #ad0 !important;
}

.blue{
    background: #4297d7 !important;
}

.blue:hover{
    background: #54a8e8 !important;
}

.fancybox-inner p[align="right"]{
    margin-top: 30px;
}

input.xxlarge,textarea.xxlarge, span.xxlarge {
    width:403px;
}

select.xxlarge {
    width:410px;
}

input.xlarge,textarea.xlarge, span.xlarge {
    width:350px;
}

select.xlarge {
    width:356px;
}

textarea.large,input.large,span.large{
    width:300px;
}

select.large {
    width:306px;
}

textarea.medium,input.medium,span.medium {
    width:250px;
}

select.medium {
    width:257px;
}

input.small,textarea.small,span.small {
    width:150px;
}

select.small {
    width:157px;
}

input.xsmall, textarea.xsmall,span.xsmall {
    width:100px;
}

select.xsmall {
    width:108px;
}

input.xxsmall, textarea.xxsmall,span.xxsmall{
    width:50px;
}

select.xxsmall{
    width:57px;
}

fieldset{
    margin: 2px;
    padding: 5px;
    border: 1px solid #ddd;
}

.toggle{
    /*  display: block;*/
    cursor: pointer;
    border-bottom: 1px dashed black;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;

    -o-user-select: none;
    user-select: none;
}

.toggle[disabled], .toggle.disabled{
    pointer-events:none;
    cursor: auto;
}

#module_params{
    min-height: 350px;
}

.order_add, .order_sub{
    float: right;
}

/*
* Start Navigation
*/
.navigation{
    width: 100%;
    display: block;
    background: inherit;
    font: 12px Verdana,sans-serif;
}

#main_tabs{
    background: #000;
    text-align: center;
}

.tabs_bg{
    background: inherit;
}

.tabs{
    /*padding: 0 10px;*/
    display: block;
    float: none;

}
.tabs-nav{
    width: 100%;
    margin: 0;
    padding: 0;
    padding-top: 5px;
    list-style: none;
    display: block;
    border-bottom: 1px solid black;
}
.tabs-nav li{
    display: inline-block;
    background: #424242;
    border-bottom: 0;
    margin: 0;
    margin-left:3px;
    margin-right:3px;
    padding: 7px;
    width: 100px;
    cursor: pointer;
    text-align: center;
}
.tabs-nav li a{
    border-bottom: none;
    text-decoration: none;
    padding-bottom: 0;
    border-bottom: 0;
    color: #ccc;
}
.tabs-nav li:hover, .tabs-nav li:visited{
    background:  #666;
}
.tabs-nav li.current{
    border: 1px solid black;
    border-bottom: 1px solid #f9f9f9;
    background: inherit;
    padding-bottom: 7px;
    margin-bottom: -1px;
    margin-left: 2px;
    margin-right: 2px;
}



.tabs-nav li.current a{
    color: #000;
}

#main_tabs .tabs-nav{
    border-bottom: none;
    min-width: 1024px;
    width: 100%;
    text-align: left;
    margin-left: 180px;
}

#main_tabs .tabs-nav li.current{
    border: none;
    background: #4297d7;
    padding-bottom: 7px;

    margin-left:3px;
    margin-right:3px;
}

#main_tabs .tabs-nav li.current a{
    color: #fff;
}

.tab_box{
    padding: 10px 0;
    float: left;
    width: 100%;
    text-align: left;
    display: none;
}

#main_tabs .tab_box{
    position: relative;
    top: 15px;
    left: 60px;
    width: 800px;
    height: 100px;
}

.tab_box:first-child{
    display: block;
}

#main_tabs .tab_box a, #main_tabs .tab_box a:visited{
    color: #fff;
    border-bottom: none;
    text-decoration: none;
    display:inline-block;
    height: 20px;
    width: 180px;
    padding-left: 20px;
}


.schedule th{
    text-align: center;
}

#schedule_on_fac_tabs .tabs-nav li{
    background: #4297d7;
}

#schedule_on_fac_tabs .tabs-nav li:hover{
    background: #60B1EE;
}

#schedule_on_fac_tabs .tabs-nav li a{
    color: #fff;
}

#schedule_on_fac_tabs .tabs-nav li.current{
    background: inherit;
    /*border-bottom-color: #fff;*/
}

#schedule_on_fac_tabs .tabs-nav li.current a{
    color: inherit;

}

#prev_week,
#next_week,
#prev_day,
#next_day{
    min-width:40px;
}

/*
* End Navigation
*/

/*Start DataTable*/
.paging_two_button .ui-button {
    float: left;
    cursor: pointer;
    * cursor: hand;
}

.paging_full_numbers .ui-button {
    padding: 2px 6px;
    margin: 0;
    cursor: pointer;
    * cursor: hand;
    color: #333 !important;
}

.dataTables_paginate .ui-button {
    margin-right: -0.1em !important;
}

.paging_full_numbers {
    width: 450px !important;
}

.dataTables_wrapper .ui-toolbar {
    padding: 5px;
}

.dataTables_paginate {
    width: auto;
}

.dataTables_tabs {
    padding-top: 3px;
}

table.display thead th {
    padding: 3px 0px 3px 10px;
    cursor: pointer;
    * cursor: hand;
}

div.dataTables_wrapper .ui-widget-header {
    font-weight: normal;

}


/*
 * Sort arrow icon positioning
 */
table.display thead th div.DataTables_sort_wrapper {
    position: relative;
    padding-right: 20px;
}

table.display thead th div.DataTables_sort_wrapper span {
    position: absolute;
    top: 50%;
    margin-top: -8px;
    right: 0;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables features
 */

.dataTables_wrapper {
    position: relative;
    clear: both;
    /* border: 1px solid #c5dbec;*/
}

.dataTables_processing {
    position: absolute;
    top: 0px;
    left: 50%;
    width: 250px;
    margin-left: -125px;
    border: 1px solid #ddd;
    text-align: center;
    color: #999;
    font-size: 11px;
    padding: 2px 0;
}

.dataTables_length {
    width: 40%;
    float: left;
}

.dataTables_filter {
    width: 50%;
    float: right;
    text-align: right;
}

.dataTables_tabs {
    width: 50%;
    float: left;
}

.dataTables_paginate {
    float: right;
    text-align: right;
}



/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables display
 */
table.display {
    margin: 0 auto;
    width: 100%;
    clear: both;
    border-collapse: collapse;
}

table.display tfoot th {
    padding: 3px 0px 3px 10px;
    font-weight: bold;
    font-weight: normal;
}

table.display tr.heading2 td {
    border-bottom: 1px solid #aaa;
}

table.display td {
    padding: 3px 10px;
}

table.display td.center {
    text-align: center;
}



/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables sorting
 */
/*
.sorting {

    background: url('../img/sort_both.png') no-repeat center right;
}

.sorting_asc {
    background: url('../img/sort_asc.png') no-repeat center right;
}

.sorting_desc {
    background: url('../img/sort_desc.png') no-repeat center right;
}



.sorting_asc_disabled {
    background: url('../img/sort_asc_disabled.png') no-repeat center right;
}

.sorting_desc_disabled {
    background: url('../img/sort_desc_disabled.png') no-repeat center right;
}

*/


/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables row classes
 */
table.display tr.odd.gradeA {
    background-color: #ddffdd;
}

table.display tr.even.gradeA {
    background-color: #eeffee;
}




table.display tr.odd.gradeA {
    background-color: #ddffdd;
}

table.display tr.even.gradeA {
    background-color: #eeffee;
}

table.display tr.odd.gradeC {
    background-color: #ddddff;
}

table.display tr.even.gradeC {
    background-color: #eeeeff;
}

table.display tr.odd.gradeX {
    background-color: #ffdddd;
}

table.display tr.even.gradeX {
    background-color: #ffeeee;
}

table.display tr.odd.gradeU {
    background-color: #ddd;
}

table.display tr.even.gradeU {
    background-color: #eee;
}


.table tbody tr:nth-child(even) td {
    background-color: rgba(0, 0, 255, 0.1);
}

.table tbody tr:nth-child(odd) td {
    background-color: rgba(255, 255, 255, 0.1);
    /*background-color:#f9f9f9;*/
}

.table.no_odd_even tbody tr:nth-child(even) td,
.table.no_odd_even tbody tr:nth-child(odd) td {
    background-color: inherit !important;
    /*background-color:#f9f9f9;*/
}

.table.border tbody td{
    border: 1px solid #ddd;
    border-collapse: collapse;
}

.fancybox-inner table td{
    vertical-align: top;
}

.sel {
    background:#4297d7 !important;
    color:#fff;
}

.sel a{
    color:#fff;
}



.curr_day{
    background-color: rgba(128, 128, 128, 0.1);
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Misc
 */
.dataTables_scroll {
    clear: both;
}

.dataTables_scrollBody {
    -webkit-overflow-scrolling: touch;
}

.dataTables_wrapper .top, .dataTables_wrapper  .bottom {
    padding: 15px;
    background-color: #F5F5F5;
    border: 1px solid #CCCCCC;
}

.top .dataTables_tabs {
    float: none;
}

.clear {
    clear: both;
}

.dataTables_empty {
    text-align: center;
}

/*tfoot input {
    margin: 0.5em 0;
    /!*width: 100%;*!/
    color: #444;
}

tfoot input.search_init {
    color: #999;
}*/

td.group {
    background-color: #d1cfd0;
    border-bottom: 2px solid #A19B9E;
    border-top: 2px solid #A19B9E;
}

td.details {
    background-color: #d1cfd0;
    border: 2px solid #A19B9E;
}


.example_alt_pagination div.dataTables_tabs {
    width: 40%;
}

.paging_full_numbers a.paginate_button,
.paging_full_numbers a.paginate_active {
    border: 1px solid #aaa;
    padding: 2px 5px;
    margin: 0 3px;
    cursor: pointer;
    *cursor: hand;
    color: #333 !important;
}

.paging_full_numbers a.paginate_button {
    background-color: #ddd;
}

.paging_full_numbers a.paginate_button:hover {
    background-color: #ccc;
    text-decoration: none !important;
}

.paging_full_numbers a.paginate_active {
    background-color: #99B3FF;
}

table.display tr.even.row_selected td {
    background-color: #B0BED9;
}

table.display tr.odd.row_selected td {
    background-color: #9FAFD1;
}

.ex_highlight #example tbody tr.even:hover, #example tbody tr.even td.highlighted {
    background-color: #ECFFB3;
}

.ex_highlight #example tbody tr.odd:hover, #example tbody tr.odd td.highlighted {
    background-color: #E6FF99;
}

.dataTables_wrapper .fg-toolbar { font-size: 0.8em }
#theme_links span { float: left; padding: 2px 10px; }
.data_table tbody {
    border-left: 1px solid #AAA;
    border-right: 1px solid #AAA;
}
.data_table{
    border-spacing: 0;
}

/*.data_table thead th:first-child { border-left: 1px solid #AAA; }
.data_table thead th:last-child { border-right: 1px solid #AAA; }*/

.dataTables_wrapper .ui-corner-tr,
.dataTables_wrapper .ui-corner-tl,
.dataTables_wrapper .ui-corner-br,
.dataTables_wrapper .ui-corner-bl{
    border-radius: 0 ;
}
/*End DataTable*/

.ajax_form{
    /* min-width: 800px;
     text-align: left;*/
}



#teacher_tabs .tab_box{
    width: 960px;

}

#teacher_tabs table{
    margin: 0 auto;
}

#teacher_tabs textarea{
    height: 75px;
}
.add_button, .del_button{
    width: auto;
}

.del_button{

}

.show_details td{
    border: 1px solid black;
}

.empty_field{
    background: pink;
}
.snowflake{
    font-weight: bold;
    color: red;
}

.table {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
    margin: 0 auto;
    border: 1px solid #c5dbec;
}

.table td, .dataTable td{
    padding-left: 5px;
    padding-top: 5px;
    vertical-align: middle;
    height: 18px;
}

.award_templates_table td{
    vertical-align: top !important;
}

.table th{
    height: 32px;
    border: 1px solid #c5dbec;
    border-collapse: collapse;
    background: #dfeffc;
    font-weight: bold;
    color: #2e6e9e;
}

.hdr {
    height: 32px !important;
    border: 1px solid #4297d7;
    border-bottom: none;
    border-collapse: collapse;
    background: #4297d7;
    color: #fff;
    font-weight: bold;
    text-align: right;
    vertical-align: middle !important;
}

.inline {
    padding-left: 12px;
}

.w2 {
    line-height: 8px;
    text-align: center;
    padding: 1px 5px;
    margin: 0 1px;
}

.group_button{
    display: block;
    /*min-width: 40px !important;*/
    /*width: 40px;*/
    float: left;
    text-align: center;
}


.sp1 {background: #fc6}
.sp2 {background: #f66}
.sp3 { background: #3c3}
.sp4 {background: #3cf}
.sp5 {background: #c9f}
.sp6 {background: #ccc}
.sp7{background: #33F}

.color_1{background: #67b7dc}
.color_2{background: #fdd400}
.color_3{background: #84b761}
.color_4{background: #cc4748}
.color_5{background: #cd82ad}
.color_6{background: #2f4074}
.color_7{background: #448e4d}
.color_8{background: #b7b83f}
.color_9{background: #b9783f}
.color_10{background: #b93e3d}
.color_11{background: #913167}


#edit_group_form .tab_box{
    width: 600px;
    height: 360px;
}

#edit_group_form .tab_box > fieldset > div{
    width:600px;
    height:200px;
    overflow:auto;
}

#edit_group_form .tab_box .sem_limits{
    width:180px;
    float: left;
    min-height:180px;
}

#edit_group_form .tab_box .sem_exams{
    width: 385px;
    float: left;
    height: 180px;
    overflow-y: auto;
}

#edit_group_form .tab_box .select_paragraph{
    margin: 0.2em auto;
}


.sem_exams .multi_select_block {
    height: auto;
}

.del_select_paragraph, .add_select_paragraph,
select + .button
{
    min-width: 55px !important;
}

.event_legend_elem > span{
    border-radius: 8px;
    width: 16px;
    height: 16px;
    display: inline-block;
}

.event_legend_elem, .event_legend_elem:link, .event_legend_elem:active{
    text-decoration: none;
    color: white;
}

.event_legend_elem.dis{
    opacity: 0.5;
}

.bold{
    font-weight: bold;
}



.w2 a, .w2 a:hover {
    color: #fff;
    font-size: 8pt;
    cursor: default;
}

i.note a, i.note a:visited {
    color: #ccc;
    font-style: italic;
    font-size: 12px;
}

.messagebox{
    position:absolute;
    width:100px;
    margin-left:30px;
    border:1px solid #c93;
    background:#ffc;
    padding:3px;
    font-size: 10pt;
}
.messageboxok{
    position:absolute;
    width:auto;
    margin-left:30px;
    border:1px solid #349534;
    background:#C9FFCA;
    padding:3px;
    font-weight:bold;
    color:#008000;
    font-size: 10pt;
}
.messageboxerror{
    position:absolute;
    width:auto;
    margin-left:30px;
    border:1px solid #CC0000;
    background:#F7CBCA;
    padding:3px;
    font-weight:bold;
    color:#CC0000;
    font-size: 10pt;
}
.subjects_reading{
    float:none;
}

.del_workforce, .add_workforce, .del_reward, .add_reward{
    display: inline-block;
    min-width: 20px;
}

.schedule{
    font-size: 80%;
    page-break-after: always;
}

.schedule th.lesson{
    min-width: 32px;

}

.schedule td.lesson > *{
    margin: 0 auto;
}

.schedule td.lesson a{
    display: block;
    /* max-width: 18px;*/
    width: 100%;
    text-align: center;
    text-decoration: none;
}

.schedule td.lesson .button{
    min-width: 8px;
    padding: 5px;
}

.schedule td{
    padding: 0;
}

.schedule td.subject{
    width: 90px;
    padding-left: 10px !important;
}

#schedule_navigation{
    cursor: pointer;
    display: inline-block;
    border-top: 1px solid #ccc;
    height: 27px;
    line-height: 26px;
    width: 150px;
    margin-top: 6px;
}

.group_filter{
    color:white !important;
    padding-left: 4px;
}

.group_filter:hover{
    text-decoration: none !important;
}

.checked_group{
    text-decoration: none !important;
}

.checked_lesson{
    background: #4297d7;
    color: #fff !important;
}

.room_filter span{
    display: none;
}

.checked_department{
    text-decoration: none !important;
    color: #424242;
}

.display_none{
    display:none !important;
    /*visibility: hidden;*/
}

.display_block{
    display:block !important;
}

.no_padding{
    padding: 0 !important;
}

.no_border{
    border: none;
}

.stroked{
    text-decoration: line-through !important;
    opacity: 0.5;
}

.shifted{
    font-weight: bold;
}

.selected_option, option[selected]{
    background: #ddd;
}

.new_cell{
    background-color: #ffffc0 !important;
}

.free_rooms{
    border-collapse: separate;
}

.free_rooms td{
    padding-left: 70px;
}

.home_page_stat{
    margin: 20px 100px 20px 175px;
    height: 30px;
    color: #B9B9B9;
    font: 9px Verdana,sans-serif;
    word-wrap: break-word;
    text-transform: uppercase;
    float: none;
}

.home_page_stat div{
    width: 200px;
    display: block;
    float: left;
    margin: 0 8px;
}

.home_page_stat a, .home_page_stat a:hover, .home_page_stat a:visited{
    font-weight: bold;
    color: #b1d8ff;
    text-decoration: none;
}

.rs, .gr, .bl {width:16px;height:16px;text-align:center;vertical-align:middle;	}
.rs {background:#ffcc66;}
.bl {background:#99ccff;}
.gr {background:#ccff99;}
.ex td, .col{padding:2px;}
.al{text-align:center;}th{padding:0 5px;}

/*
    GALLERY
*/
.styles_img{
    text-decoration: none;
    color: inherit;
    margin: 8px;
    display: inline-block;
    background: white;
    padding: 3px;
    line-height: 0;
    box-shadow: 0px 0px 8px #AAA;
    transition: -webkit-box-shadow 0.1s ease-out;
}
.styles_img:hover{
    box-shadow: 0px 0px 16px #000;
}


.drag_img{
    cursor: pointer;
}

.result{
    display: none;
}

.edit_jcrop{
    display: none;
    text-align: center;
}
#change_file{
    display: none;
}
.no_js{
    text-align: center;
    color: red;
    font-weight: bold;
}
#watermark{
    position: relative;
    z-index: 5;
    text-align:left;
    display:none;
}
#time{
    color: red;
    font-weight: bold;
}
.check_img{
    width:100%;
    height:100%;
    margin:0;
}
.gallary{
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    margin: 8px;
    display: inline-block;
    background: white;
    border: 4px solid white;
    line-height: 0;
    border-radius: 4px 4px;
    box-shadow: 0px 0px 8px #AAA;
    transition: -webkit-box-shadow 0.1s ease-out;
    max-height: 120px;
    overflow: hidden;
}
.gallary:hover{
    box-shadow: 0px 0px 16px #000;
}
.gallery img{
    /*height: 120px;*/
}

.cat_name{
    background: none;
    width: 90%;
    border: 1px solid black;
    font: 12pt inhert;
}


.upload_step{
    margin: 10px auto;
    padding:10px;
    background:#FFF;
    overflow: hidden;
    text-align: center;
    font-weight: bold;
}
.upload_step div{
    font-size: 11pt;
    border: 1px solid #CCC;
    padding: 4px;
    border-radius: 4px;
    margin-right:8px;
    display: inline;
}
.upload_step a{
    text-decoration:none;
    color: #009;
}

/*
    END_GALLERY
*/

/*
    START CALENDAR
*/
.event_calendar{
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
    border: 1px solid #c5dbec;
}

.event_calendar .curr_day{
    color: #5c9ccc !important;
    /*border-bottom: 1px solid #5c9ccc;
     padding-bottom: 2px;*/
    background: none;
}

.event_calendar th{
    height: 32px;
    border: 1px solid #c5dbec;
    border-collapse: collapse;
    background: #dfeffc;
    font-weight: bold;
    color: #2e6e9e;
}

.event_calendar th a, .event_calendar th a:visited{
    font-weight: bold;
    color: #2e6e9e;
    text-decoration: none;
}

.event_calendar tbody td{
    border-collapse: collapse;
    border: 1px solid #c5dbec;
    border-collapse: collapse;
    height: 80px;
    padding: 5px;
    vertical-align: top;
}

.event_calendar .button{
    font-size: 90%;
}

.event_calendar .fill{
    background: #dfeffc;
}

.event_calendar .day_label{
    text-align: right;
    vertical-align: top;

}

.event_calendar .day_label a{
    text-decoration: none;
    font-weight: bold;
    color: black;
}

.event_button{
    display: block;
    margin: 2px;
}

/*
    END CALENDAR
*/

.book_periodic_calendar_wrapper{
    width: 1210px;
    margin: 0 auto;
}

.book_periodic_table{
    float: left;
    width: 400px;
    margin: 1px;
    border: 1px solid #c5dbec;
    border-collapse: collapse;
}


.book_periodic_table th{
    height: 32px;
    border: 1px solid #c5dbec;

    background: #dfeffc;
    font-weight: bold;
    color: #2e6e9e;
}

.book_periodic_table  td{
    border-collapse: collapse;
    border: 1px solid #c5dbec;
    border-collapse: collapse;
    height: 40px;
    padding: 5px;
    vertical-align: top;
}

.book_periodic_table .fill{
    background: #dfeffc;
    cursor: default;
}

.book_periodic_table .day_label{
    text-align: center;
    vertical-align: middle;

}

.book_periodic_table .day_label a{
    display: block;
    padding: 11px;
    text-decoration: none;
    font-weight: bold;
    color: black;
    vertical-align: bottom;
}

.article_form table{
    margin: 0 auto;
}

.article_form table td{
    padding: 0 5px;
    vertical-align: top;
}

#prev_preview{
    background-image: url('../img/paper.png');
    background-position: 100% 100%;
    background-repeat: no-repeat;
    display: inline-block;
    padding-bottom: 14px;
    padding-left: 8px;
    padding-right: 14px;
    padding-top: 8px;

    vertical-align: top;
    width: 120px;
    height: 120px;
    margin-top: 7px;
}


#prev_preview img{
    height: 120px;
    width: 120px;
}

#config_tabs tr td:first-child {
    width:200px;
    vertical-align:top;
}

#config_tabs td{
    height: 30px;
}

table td{
    height: 30px;
    /*vertical-align: top;*/
}

.default_table td{
    height: auto;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}

#tab_hotkeys>div{

}

kbd{
    height: 30px;
    display: inline-block;
}

kbd span{
    color: #fff !important;
    min-width: 10px;
    padding: 4px 8px;
    border: 0;
    text-decoration: none;
    font-weight: normal;
    font-size: 10pt;
    text-align: center;
    display: inline-block;
    background: #c4c4c4 !important;
    margin:2px;
    border-radius: 2px;
}

/*
    TOOLTIP START
*/
.ui-tooltip, .arrow:after {
    background:rgba(0,0,0,0.7);
    border: 1px solid rgba(127,127,127,0.5);
    font: 12px Helvetica,Arial,Verdana, sans-serif;
}
.ui-tooltip {
    padding: 5px;
    color: white;
}
/* .arrow {
   width: 70px;
   height: 16px;
   overflow: hidden;
   position: absolute;
   left: 50%;
   margin-left: -35px;
   bottom: -16px;
 }
 .arrow.top {
   top: -16px;
   bottom: auto;
 }
 .arrow.left {
   left: 20%;
 }
 .arrow:after {
   content: "";
   position: absolute;
   left: 20px;
   top: -20px;
   width: 25px;
   height: 25px;
   -webkit-transform: rotate(45deg);
   -ms-transform: rotate(45deg);
   transform: rotate(45deg);
 }
 .arrow.top:after {
   bottom: -20px;
   top: auto;
 }*/
/*
    TOOLTIP END
*/

#questionnaire_static{
    width: auto;
    margin:40px 180px;
}

#questionnaire_static > div{
    margin: 10px 0;
}

#questionnaire_static legend{
    font-size: 20px;
    min-height: 23px;
}

.questionset {counter-reset: item;}
.questionset li {display: block;}
.questionset li:before {content: counter(item) ". "; counter-increment: item; font-weight: bold; display: inline-block; min-width: 30px}

.questionset > *{
    padding: 10px 0;
    margin: 0;
    border: 1px dashed transparent;
}

.questionset > *:hover{
    border: 1px dotted grey;
    background: #f9f9f9;
}

.optionset {counter-reset: item;}
.optionset li {display: block;}
.optionset li:before {content: counter(item) ". "; counter-increment: item; font-weight: bold; display: inline-block; min-width: 30px}

.optionset > *{
    padding: 5px 0;
    margin: 0;
    border: 1px dashed transparent;
}

.optionset > *:hover{
    border: 1px dotted grey;
    background: #f9f9f9;
}



.multi_select_block{
    height: 340px;
    overflow-y: auto;
}

#nav_elements_table td{
    padding-top: 5px;
    padding-left: 5px;
    height: 30px;
}

.archived{
    opacity: 0.5;
}

.r90 > div{
    transform: rotate(270deg);
}

. width_40{
    width:40px;
}

#curriculum_subjects_table_wrapper,
.static_table_wrapper{
    width: 100%;
    overflow: auto;
}

.curriculum_subjects_table, .curriculum_subjects_table_summary{
    border-spacing: 0;
    border-collapse: collapse;
    margin: 0 auto;
}

.curriculum_subjects_table_summary{
    /* width:29.7cm;*/
}

.curriculum_subjects_table th, .curriculum_subjects_table td,
.curriculum_subjects_table_summary th, .curriculum_subjects_table_summary th{
    vertical-align: middle;
    /*border: 1px solid #ddd;*/
    border-collapse: collapse;
    padding: 0;
}

.curriculum_subjects_table th,
.curriculum_subjects_table_summary th,
.curriculum_subjects_table_summary td
{
    border: 1px solid #ddd;
}

.curriculum_subjects_table td{
    border-bottom: 1px solid #ddd;
    height: 30px;
}

.curriculum_subjects_table th,
.curriculum_subjects_table th{
    /* height:20px;*/
}

.curriculum_subjects_table thead td, .curriculum_subjects_table thead th{
    text-align: center;
    font-size:12px;
}


.curriculum_subjects_table .department{
    font-size: 80%;
    display: block;
    max-height: 25px;
    overflow: hidden;
}

.curriculum_subjects_table thead th{
    /* background: #f0f0f0;*/
}

.curriculum_subjects_table tfoot tr{
    background: #f9f9f9;
}

.curriculum_subjects_table tfoot th{
    text-align: left;
    height: 30px;
}

.curriculum_subjects_table .tbody_foot, .curriculum_subjects_table .tbody_foot.light,
.curriculum_subjects_table_summary .tbody_foot, .curriculum_subjects_table_summary .tbody_foot.light{
    background: #bbb;
    height: 30px;
}

.curriculum_subjects_table .tbody_foot.middle,
.curriculum_subjects_table_summary .tbody_foot.middle{
    background: #999;
}

.curriculum_subjects_table .tbody_foot.dark,
.curriculum_subjects_table_summary .tbody_foot.dark{
    background: #666;
}

.curriculum_subjects_table .tbody_foot th,
.curriculum_subjects_table_summary .tbody_foot th{
    text-align: right;
}

.curriculum_subjects_table_summary tbody td > span,
.curriculum_subjects_table_summary tfoot th > span,
.curriculum_subjects_table_summary .tbody_foot th > span{
    padding: 0 5px;
}

.curriculum_subjects_table_summary tbody td{
    text-align: right;
}

.curriculum_subjects_table_summary tfoot th{
    text-align: center;
}

.curriculum_subjects_table_summary .tbody_foot{
    text-align: right;
}

.curriculum_subjects_table_summary tfoot td,
.curriculum_subjects_table_summary tfoot th{
    height: 30px;
}


.text_align_left{
    text-align: left !important;
}

.text_align_right{
    text-align: right !important;
}

.text_align_center{
    text-align: center !important;
}

.change_curriculum_subject_table_column_color>th{
    cursor: pointer;
}

.change_curriculum_subject_table_column_color .color_block{
    display: none;
    margin: 0 auto;
}

.change_curriculum_subject_table_column_color .color_block input{
    width: 18px;
    height: 18px;
    margin: 0;
}

.change_curriculum_subject_table_column_color button{
    width: 20px;
    height: 20px;
    margin: 0;
}

.curriculum_subjects_table .xxsmall,
.curriculum_subjects_table_summary .xxsmall{
    width:35px;
}

.curriculum_subjects_table input, .curriculum_subjects_table select,  .curriculum_subjects_table option,
.curriculum_subjects_table_summary input, .curriculum_subjects_table_summary select,  .curriculum_subjects_table_summary option{
    font-size:12px;
}

.curriculum_subjects_table .cycle,
.curriculum_subjects_table_summary .cycle{
    font-style: italic;
    height: 30px;
}

.curriculum_subjects_table .group,
.curriculum_subjects_table_summary .group{
    height: 30px;
}


.work_graphic_table{
    table-layout: fixed;
    font-size:12px;
}

.work_graphic_table .avoidBreak{
    margin: 0 !important;
}

.work_graphic_table .work_week_number{
    background:rgba(255, 255, 0, 0.4);
}

.work_graphic_table .exams_sem_first{
    background:#ffffff;
}

.work_graphic_table .exams_sem_second{
    background:#4297d7;
}

.work_graphic_table .week_num_sem_first{
    background:#ffff99 !important;
}

.work_graphic_table .week_num_sem_second{
    background:#bfb6fd !important;
}

.work_graphic_table tbody td{
    border: 1px solid #c5dbec;
    padding: 5px 5px 0 5px;
}

.work_graphic_table tbody tr:nth-child(even) td {
    background-color: inherit;
}

.work_graphic_table tbody tr:nth-child(odd) td {
    background-color: inherit;
    /*background-color:#f9f9f9;*/
}

.work_graphic_table tbody{
    border: 2px solid #c5dbec;
}

.work_graphic_table.aim tbody tr:hover{
    outline: 1px solid #4297d7;
}

.work_graphic_table.aim .first_semester:hover:after,
.work_graphic_table.aim .second_semester:hover:after
{
    width: 33px;
}

.work_graphic_table.aim .first_semester:hover:after,
.work_graphic_table.aim .second_semester:hover:after
{
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: -1;

    border: 1px solid #4297d7;
}

.work_graphic_table .change_work_week_type_toggle{
    text-align: center;
    height: 32px;
    border-bottom: none;
    line-height: 33px;
}

.teaching_load_table{
    font-size: 11px;
}

.teaching_load_table .xsmall{
    width: 80px;
}

.teaching_load_table .fake_select{
    min-height:26px;
    height:26px;
    font-size: 12px;
    box-sizing: border-box;
}

.teaching_load_table .small.fake_select{
    width: 157px;
}

.teaching_load_table th{
    padding: 0;
}

.teaching_load_table tbody td{
    height:30px;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 5px;
}

.teaching_load_table tbody tr{
    border-left: 5px solid transparent;
    border-right: 3px solid transparent;
}

.teaching_load_table .changed{
    padding-left: 0;
    border-left: 5px solid #4297d7;
    border-right: 3px solid #4297d7;
}

.teaching_load_table .changed_record input,
.teaching_load_table .changed_record textarea,
.teaching_load_table .changed_record select{
    transition-duration: 0.8s;
    transition-property: all;
    transition-timing-function: ease;
//  background: rgba(0,128,0,0.5);
    background: #DFF2BF;

}


.call_minicalculator{
    background-color: rgba(0, 0, 64, 0.1);
}

.need_to_fill{
    border-color: #4297d7 !important;
}

.teaching_load_table .xxsmall{
    width:40px;
}

.teaching_load_table input, .teaching_load_table select,  .teaching_load_table option{
    font-size:12px;
}

.fake_select{
    /*height: 26px;*/
    /*margin: 2px 0 2px 0;*/
    padding-left: 9px !important;
    /*border: 1px solid #ddd;*/

    /*display: block;*/
    /*font-size: 12px;*/
    line-height: 26px;

    cursor: default;

    /*background: #fff;*/

    /*box-sizing: border-box;*/

    /*overflow: hidden;*/
    /*word-wrap: break-word;*/
}

.teaching_load_table .instance_row{
    display: none;
}

#minicalculator table td{
    vertical-align: middle;
}

/*#minicalculator table td,
#minicalculator table th{
    border: 1px solid #ccc;
    border-collapse: collapse;
}*/

@page {
    size: landscape;
    margin: 0 auto;
    marks: cross;
}

@media print{
    html, body{
        width: 29.7cm;
        height: 21cm;
        overflow: visible;
        padding: 0;
        background: white;
        /*margin: 0 auto;*/
        quotes: "\00ab" "\00bb";

    }

    #wrapper{
        background: #fff;
    }

    #header, .tabs-nav, .plus, .ui-widget-header, .hdr, #footer, .DataTables_sort_icon, .shifted, .info_window, .no_print, .print_media_display_none{
        display: none !important;
    }

    .print_media_display_block{
        display: block !important;
    }

    .curriculum_subjects_table{
        border:1px solid #ccc;
        border-collapse: collapse;
        font-family: "Times New Roman";
    }

    .curriculum_subjects_table td, .curriculum_subjects_table th{
        border:1px solid #000;
        border-collapse: collapse;
    }

    .curriculum_subjects_table input, .curriculum_subjects_table select,  .curriculum_subjects_table option,
    .curriculum_subjects_table input:disabled, .curriculum_subjects_table select:disabled,
    .curriculum_subjects_table input[disabled], .curriculum_subjects_table select[disabled]
    {
        /*display:none;*/
        background: inherit !important;
        border: none;
        padding: 0;
    }

    .curriculum_subjects_table input{
        text-align: center;
    }

    .work_graphic_table tbody td{
        border-color:#000;
    }

    .print_media_no_width{
        width: 0;
        padding:0 !important;
        border: 0 !important;
    }

    .print_media_no_width > */*, .curriculum_subjects_table td:nth-child(2) > **/{
        display: none;
    }

    .print_media_no_right_border, .curriculum_subjects_table td:nth-child(1){
        border-right: 0 !important;
    }


    .foot_clear{
        height: auto;
    }

    .page_break{
        display: block; page-break-before: always;
    }

    .stroked{
        text-decoration: none !important;
    }

    .dataTables_wrapper, .table{
        border: 1pt solid grey;
        width: 100%;
        padding: 0;
        /* font-size: 0.7em;*/
    }

    .data_table th, .table th{
        background: #DDD;
        border: 1pt solid grey;
        color: black;
    }

    .data_table td, .table td{
        border: 1pt solid grey;

    }

    .data_table tr, .table tr{
        page-break-inside: avoid;
    }

    table.dataTable td.sorting_1{
        background: inherit !important;
    }

    a{
        text-decoration: none;
    }

    .schedule .subject{
        font-weight: bold;
        width: 70px;
    }

    .schedule .lesson{
        min-width: 24px;
    }

    .schedule, .page_break{
        page-break-after: always;
    }

    .avoidBreak{
        page-break-inside: avoid !important;
        margin: 4px 0 4px 0 !important;  /* to keep the page break from cutting too close to the text in the div */
    }

}


/*max*/
img.student_left{
    float:left;
    width:130px;
    margin-right:10px;
}

.main_lib_table{


    border-spacing: 0;
}
.lib_reader_inf{
    margin-top:20px;
    height:150px;
}
.main_lib_table td{
    padding-left:10px;
}


.main_lib_table tr:nth-child(2n) {
    background: #f0f0f0;
}
.main_lib_table tr:nth-child(1) {
    background: #D3D6FF; /*666*/
}


.lib_inf td{
    padding-left:10px;
}
.lib_inf tr:nth-child(2n) {
    background: #f0f0f0;
}
.lib_inf tr:nth-child(1) {
    background: #D3D6FF; /*666*/
}


.bar_code_list{
    width:210mm;
    /*height: 299mm; */
    padding: 1px;
    padding-left:14px;
}

.bar_code_list img{
    padding:5.5px;
    padding-left:9px;
    padding-right:9px;
}

@media print{
    #header,#footer  { display: none; }

}
@media screen{
    .bar_code_list{display: block;}
}

.card{
    position: absolute;
    height:7.5cm;
    width:12.5cm;
    border:solid 1px black;
    font-size: 18px;
    line-height: 1.5;
    padding-left:10px;
    padding-right:10px;
}

.card_circle{
    position: absolute;
    left: 6cm;
    top:6.7cm;
    border-radius: 15px;
    width:20px;
    height:20px;
    background-color: black;
}

.student_info{
    width: 150px;
    height:170px;
    padding: 5px;
    float: left;
    text-align: center;
}

.sortable{
    cursor: move;
}

.disabled .sortable, :disabled .sortable, [disabled] .sortable{
    cursor: default;
}

.student_sync_table input[type="text"], .student_sync_table input[type="text"][readonly] {
    background: none !important;
    border: none;
    width: 100%;
    height: 100%;
}

.student_sync_table tbody tr:nth-child(even) td {
    background-color: inherit;
}

.student_sync_table tbody tr:nth-child(odd) td {
    background-color: inherit;
    /*background-color:#f9f9f9;*/
}
.s_toggle{
    display: none !important;
}