* {
    box-sizing: border-box;
}

html{
	/* background-color: #efefef; */
	direction: rtl;
	height: 100%;
}

body{
	font:14px/1.5  'Assistant', Arial, Helvetica, sans-serif;
	margin:0;
	direction: rtl;
	background-color: #fff;
	color: #101010;
	height: 100%;
}

header{
    box-sizing: border-box;
	text-align: center;
    width: 100%;
	height: 72px;
    padding: 5px 10px;
    /* background-color: #3484B3; */
    background-color: #F2F2F2;
    /* overflow: hidden; */
	display: block;
    position: fixed;
    left: 0px;
    right: 0px;
    top: 0px;
    z-index: 99;
    -webkit-transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
    -o-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
}

header h1{
    float: left;
	font: normal 24px/1.5 'Assistant', sans-serif;
	color: #fff;
    margin: 0;
}

/*header a{
    color:#fff;
    float: right;
    text-decoration: none;
    display: inline-block;
    padding: 13px 50px;
    border-radius: 3px;
    font: bold 14px/1 'Assistant', sans-serif;
    text-transform: uppercase;
    background-color: #F05283;
}*/

header a{
    color: #101010;
    /* float: right; */
    text-decoration: none;
    outline: none;
	margin: 0;
}

footer {
	height: 20px;
}

.footer {
	text-align: center;
    font-size: 8px;
	line-height: 8px;
	width: 100%;
	margin: 0 auto;
	height: 20px;
}

footer span:first-child {
	font-size: 10px;
}

/* ---------- main ---------- */

#main {
	min-height: 100%;
	height: auto !important; 
	height: 100%; 
	margin: 0px auto -20px;
	padding-top: 85px;
	padding-bottom: 30px;
}

/* ---------- main ---------- */

/* ---------- content ---------- */

.main-content{
	/* background-color: #F2F2F2; */
	display: block;
    left: 0px;
    right: 0px;
    padding: 0 10px;
    /* padding-top: 85px; */
	margin-bottom: 20px;
}

.main-content a{
    color:#fff;
    text-decoration: none;
    display: inline-block;
    padding: 7px 30px;
    border-radius: 3px;
    font: bold 14px/1 'Assistant', sans-serif;
    text-transform: uppercase;
    background-color: #3484B3;
}

.main-content .top-panel{
	display: block;
	min-height: 30px;
    direction: ltr;
	padding: 0 10px;
}

.main-content .filter-panel{
	display: block;
	min-height: 100px;
	padding: 5px 10px;
}

.main-content .table-panel{
	display: block;
	min-height: 100px;
	padding: 5px 10px;
	background-color: #fff;
}

.main-content .filter-panel .select2-container{
	margin-top: 10px;
}

.main-content .filter-panel .center .select2-container{
	text-align: center;
}

.main-content .filter-panel .select2-selection{
	/* background-color: #f2f2f2; */
    border-color: #7b7b7b;
    color: #101010;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 15px;
}

table.dataTable tbody tr td:last-child span {
	margin: 0 2px;
}

table.dataTable thead th, table.dataTable thead td {
    padding: 8px 10px;
}

ul.navigation {
    list-style: none;
    border-bottom: 1px solid #EAEAEA;
    background-color: #FFF;
    padding: 20px;
    margin-top: 0;
    text-align: center;
    margin-bottom: 75px;
}

ul.navigation a{
    text-decoration: none;
    color: #FFF;
    text-align: left;
    background-color: #BCB8C2;
    padding: 10px 16px;
    border-radius: 2px;
    opacity: 0.8;
    font-size: 16px;
    display: inline-block;
    margin: 4px;
    line-height: 1;
    outline: none;

    transition: 0.2s ease;
}

ul.navigation li a.active{
    background-color: #F05283;
    pointer-events: none;
}

ul.navigation li a:hover {
    opacity: 1;
}


ul.navigation li{
    display: inline-block;
}


@media (max-width: 1000px) {


    header h1{
        float: none;
    }

    header a{
        margin-top: 25px;
        float: none;
    }

}

/* Styling the buttons for showing the dialogs. You can ignore and remove these styles */

.menu-toggle{
    text-align: center;
    display: block;
    box-sizing: border-box;
    background-color: #9480E6;
    box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font: bold 20px  'Assistant', sans-serif;
    color: #ffffff;
    max-width: 330px;
    padding: 18px 0;
    margin: 20px auto;
    z-index: 1;
    border-radius: 3px;
}

.menu-toggle:first-of-type{
    margin-top:10%;
}

.menu-toggle:hover{
    opacity:0.96;
}

.menu-toggle:active{
    position:relative;
    bottom:-1px;
}

/* ----------------- */

.three-states-switch {
	float: left;
	width: 33.333333%;
	text-align: center;
	border: 1px solid #7b7b7b;
	height: 33px;
	line-height: 30px;
	padding: 0;
	cursor: pointer;
}

.three-states-switch.right {
	border-radius: 0 5px 5px 0;
}

.three-states-switch.left {
	border-radius: 5px 0 0 5px; 
}

.three-states-switch.active {
	background-color: #3272b5;
    border-color: #7b7b7b;
    color: #ffffff;
    font-weight: bold;
}

table.dataTable.dtr-column>tbody>tr>td.control:before, 
table.dataTable.dtr-column>tbody>tr>th.control:before {
	font-size: 20px;
    font-family: 'Font Awesome\ 5 Free';
    content: "\f101";
    font-weight: 900;
	background: none;
    box-shadow: none;
    border-radius: 0;
	display: inline;
	border: none;
	position: initial;
	color: #101010;
	margin: 0px;
}

table.dataTable.dtr-column>tbody>tr.parent td.control:before, 
table.dataTable.dtr-column>tbody>tr.parent th.control:before {
	content: "\f103";
	background: none;
}

table.dataTable.dtr-column>tbody>tr:not(.child)>td:last-child {
	text-align: center;
	padding-bottom: 2px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 27px;
}

/* ---------- add content - start ---------- */
.add-content{
	display: none;
	background-color: #fff;
    left: 0px;
    right: 0px;
	/* min-height: 480px; */
	/* padding-top: 85px; */
	/* margin-bottom: 20px; */
}

.add-content>div:not(#tfilotType):not(#shiurimType) {
	margin: 0 auto;
	text-align: center;
	display: flex;
    justify-content: center;
}

.type-btn {
	width: 110px;
    height: 40px;
    border: 1px solid #3484B3;
    display: inline-block;
    text-align: center;
    line-height: 34px;
    font-size: 24px;
    color: #3484B3;
    margin: 0 5px;
	background-color: #fff;
}

/* .type-btn.active { */
	/* color: #fff; */
	/* background-color: #3484B3; */
/* } */

.type-btn.tfilot-type {
    border: 1px solid #3484B3;
    color: #3484B3;
}

.type-btn.tfilot-type.active {
	color: #fff;
	/* background-color: #4787c5; */
	background-color: #3484B3;
}

.type-btn.shiurim-type {
    border: 1px solid #449d44;
    color: #449d44;
}

.type-btn.shiurim-type.active {
	color: #fff;
	background-color: #449d44;
}

.select2-results a {
	padding: 6px;
    height: 20px;
    display: inline-table;
    text-decoration: none;
    color: #000;
    font-weight: bold;
	width: 100%;
}

.add-content .select2-container{
	text-align: right;
}

.add-content a{
    color:#fff;
    text-decoration: none;
    display: inline-block;
    padding: 7px 30px;
    border-radius: 3px;
    font: bold 14px/1 'Assistant', sans-serif;
    text-transform: uppercase;
    background-color: #757575;
}
/* ---------- add content - end ---------- */

.modal {
	text-align: center;
}

.modal:before {
	display: inline-block;
	vertical-align: middle;
	content: " ";
	/* height: 100%; */
}

.modal-dialog {
	display: inline-block;
	text-align: right;
	vertical-align: bottom;
}

.modal-title {
    font-weight: 800;
}

h5, .h5 {
    font-size: 18px;
}

.radio.rtl {
	padding-left: 0px; 
	padding-right: 20px;
}

.radio.rtl label {
	padding-left: 0px;
	padding-right: 0px;
}

.radio.rtl label::before {
	left: auto;
	right: -3px;
	margin-left: 0;
	margin-right: -17px;
}

.radio.rtl label::after {
	left: auto;
	right: 0;
	margin-left: 0px;
	margin-right: -17px;
	padding-left: 0px;
	padding-right: 3px;
}

.radio.rtl input[type="radio"]{
	margin-left: 0px;
}

.radio-inline.rtl + .radio-inline.rtl {
    margin-top: 0;
    margin-right: 10px;
	margin-left: 0;
}

.form-control {
	height: 27px;
    padding: 0px 12px;
}

.has-error .select2-selection,
.has-error.checkbox label::before {
  border-color: #a94442 !important;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075) !important;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075) !important;
  outline: 0;
  border-color: #843534;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483 !important;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483 !important;
}

/* .has-error .select2-selection:focus { */
  /* border-color: #843534; */
  /* -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483 !important; */
  /* box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483 !important; */
/* } */

.btn-info {
	background-color: #31b0d5 !important;
    border-color: #269abc !important;
}