﻿.home {
    direction: rtl;
    padding-right: 40px;
    height: 100%;
}

    .home .date {
        line-height: 40px;
        font-size: 13px;
    }

    .home .page {
        width: 100%;
        display: inline-block;
        vertical-align: top;
        height: 100%;
    }

        .home .page .last-programs {
            padding: 0 5px;
        }

        .home .page .last-programs-height {
            height: calc(100% - 316px);
            margin-top: 5px;
        }

            .home .page .last-programs-height .tab-content {
                height: calc(100% - 30px);
            }

            .home .page .last-programs-height .tab-content .tab-pane {
                height: 100%;
            }

            .home .page .last-programs-height .tab-content .tab-pane > div {
                height: 100%;
                background-color: #fff;
            }

            .home .page .last-programs-height .tab-content .tab-pane > div:not(.no-scroll) {
                overflow-y: auto;
                overflow-x: hidden;
            }

            .home .page .last-programs-height .nav > li > a {
                padding: 7px 15px;
            }

    .home .left {
        width: 100%;
        display: inline-block;
        vertical-align: top;
        padding-right: 15px;
        padding-top: 5px;
    }

        .home .left .favorites {
            width: 100%;
        }

        .home .left .order {
            display: none;
            width: 100%;
            margin-top: 40px;
        }

        .home .left .panel-group {
            max-height: 370px;
            overflow-y: hidden;
        }

    .home .order .ad {
        width: 100%;
        background-color: white;
        height: 300px;
        position: relative;
    }

        .home .order .ad .bottom {
            width: 100%;
            background-color: #f5f5fa;
            height: 50px;
            position: absolute;
            bottom: 0;
        }

    .home .favorites > div {
        margin-left: 20px;
        width: 260px;
        margin: 0 auto;
    }

    .home .favorites .group {
        position: relative;
    }

    .home .favorites .item {
        height: 120px;
        width: 50%;
        display: inline-block;
        vertical-align: middle;
    }

        .home .favorites .item .icon {
            height: 80px;
            width: 100%;
            position: relative;
        }

        .home .favorites .item img {
            vertical-align: middle;
            position: absolute;
            bottom: 20px;
            left: 44px;
        }


        .home .favorites .item .text {
            height: 40px;
            width: 100%;
            text-align: center;
            font-size: 13px;
        }

    .home .favorites .seperator {
        position: absolute;
        width: 1px;
        top: 15px;
        height: 30px;
        background-color: #cacad4;
        margin: 0 auto;
        display: inline-block;
        vertical-align: middle;
        z-index: 1;
    }

    .home .page > .metrics {
        margin-bottom: 25px;
    }

    .home .page .metrics.item .frame {
        /*min-height: 200px;*/
        padding-bottom: 20px;
        overflow: hidden;
    }

        .home .page .metrics.item .frame .widget-item {
            width: 100%;
            display: inline-block;
            vertical-align: middle;
            height: 100%;
            overflow: hidden;
        }

            .home .page .metrics.item .frame .widget-item .inner-widget {
                margin-top: 10px;
                margin-bottom: 10px;
                padding-right: 10px;
                padding-left: 10px;
                border-left: 1px solid rgba(192, 192, 192, 0.23);
                border-right: 1px solid rgba(192, 192, 192, 0.23);
            }

        .home .page .metrics.item .frame widget-item:first-child .inner-widget {
            border: none;
        }

        .home .page .metrics.item .frame widget-item:last-child .inner-widget {
            border: none;
        }

        .home .page .metrics.item .frame .widget-item .inner-widget .widget-options {
            width: 100%;
            position: relative;
        }

        .home .page .metrics.item .frame .widget-item .inner-widget .data {
            width: 100%;
        }

            .home .page .metrics.item .frame .widget-item .inner-widget .data .text {
                font-size: 60px;
                text-align: center;
            }

        .home .page .metrics.item .frame .widget-item .inner-widget .chart-icons {
            text-align: center;
            margin: 0 100px;
        }

            .home .page .metrics.item .frame .widget-item .inner-widget .chart-icons img {
                margin: 0 auto;
            }

        .home .page .metrics.item .frame .widget-item .inner-widget .widget-chart {
            width: 80%;
            margin: 0 auto;
        }

        .home .page .metrics.item .frame .widget-item .inner-widget .precent {
            position: absolute;
            left: 0;
            font-size: 22px;
            font-weight: normal;
        }

            .home .page .metrics.item .frame .widget-item .inner-widget .precent::before {
                content: "%";
                position: absolute;
                top: -5px;
                right: -10px;
                font-size: 10px;
            }

    .home .page .item {
        margin-top: 15px;
    }

        .home .page .item:first-child {
            margin-top: 0;
        }

    .home .item .item-title {
        color: #7f7f82;
        font-size: 16px;
        margin-bottom: 2px;
        padding-right: 5px;
    }

    .home .item .recent .row-item {
        border-bottom: 1px solid silver;
        height: 45px;
        line-height: 30px;
        cursor: pointer;
    }

        .home .item .recent .row-item:hover {
            background-color: #eef6ff;
        }

    .home .item .recent:last-child {
        border: none;
    }

    .home .page .item .recent .row-item > div,
    .home .page .item .recent .row-item > a {
        display: inline-block;
        vertical-align: middle;
    }

    .home .page .item .recent .row-item > a {
        width: calc(100% - 45px);
        padding: 7px 10px 7px 0;
        color: rgb(51, 51, 51);
    }

    .home .page .item .recent .row-item a .title,
    .home .page .item .recent .row-item a .category,
    .home .page .item .recent .row-item a .savename {
        overflow: hidden;
        vertical-align: middle;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .home .page .item .recent .row-item a .title {
        display: inline-block;
        width: 45%;
        font-size: .9em;
    }

    .home .page .item .recent .row-item a .category,
    .home .page .item .recent .row-item a .savename {
        display: inline-block;
        font-size: .7em;
        color: black;
    }

    .home .page .item .recent .row-item a .category {
        min-width: 100px;
    }

    .home .page .item .recent .row-item a .savename {
        float:left;
    }

    .home .page .item .recent .row-item a .category .fa,
    .home .page .item .recent .row-item a .category .far,
    .home .page .item .recent .row-item a .category .fas,
    .home .page .item .recent .row-item a .category .mk {
        display: inline-block;
        text-align: center;
        margin-left: 20px;
        margin-right: 5px;
        color: #393939;
        vertical-align: middle;
    }

    .home .page .item .recent .row-item a .category {
        font-size: 1.2em;
    }

        .home .page .item .recent .row-item a .category .icon {
            width: 32px;
            height: 32px;
        }

    .home .page .item .recent .row-item .menu {
        width: 45px;
        direction: rtl;
        float: left;
        padding: 10px 0 10px 15px;
    }

/* ltr */
body.ltr .home {
    padding-left: 40px;
    padding-right: 0;
    direction: ltr;
}

    body.ltr .home .left {
        padding-right: 20px;
        padding-left: 15px;
    }

    body.ltr .home .favorites > div {
        margin-right: 20px;
    }

    body.ltr .home .favorites .item img {
        right: 44px;
    }

    body.ltr .home .page .metrics.item .frame {
        padding-right: 20px;
    }



        body.ltr .home .page .metrics.item .frame .widget .inner-widget .precent {
            left: auto;
            right: 0;
        }



    body.ltr .home .page .item .recent .row-item .title .icon {
        margin-right: 20px;
    }

.home .dropdown-menu.pull-left {
    margin-left: 25px;
}



.favorite-list .item-box .image:hover img {
    transform: scale(1.2);
}

.favorite-list .item-box .image img {
    transition: transform .2s linear;
}

.home .widget {
    width: 100%;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom: none;
}

.home .widget-header {
    /*background-color: rgba(17, 141, 207, 0.78);
    padding: 10px;*/
}

.home .widget-body {
    /*padding: 10px;*/
    background-color: rgba(255, 255, 255, 0.72);
}


.home .fc button {
    height: 1.5em;
    padding: 0 .2em;
    font-size: .9em;
}

.home .fc-toolbar .fc-left h2 {
    font-size: 1.1em;
}

.home .fc-basic-view .fc-body .fc-row {
    min-height: 3em;
}

.home .fc-toolbar .fc-state-active, .home .fc-toolbar .ui-state-active {
    z-index: 1;
}

.home .widget .widget-rss .tab-content {
    min-height: 260px;
}

.home .widget .widget-rss .nav-tabs > li > a {
    font-size: .8em;
}

.home .dashboard .dashboard-item-wrapper {
    height: 260px;
    padding: 15px 15px;
}

.home .dashboard .dashboard-item {
    padding-left: 7px;
    padding-right: 7px;
}

    .home .dashboard .dashboard-item .indicators {
        line-height: 10px;
    }

        .home .dashboard .dashboard-item .indicators .pull-left {
            margin-left: 20px;
        }

        .home .dashboard .dashboard-item .indicators .pull-right {
            margin-right: 10px;
            /*width: 70px;*/
        }

        .home .dashboard .dashboard-item .indicators .fa {
            font-size: 3.2em;
            padding-right: 5%;
            width: 60px;
        }

            .home .dashboard .dashboard-item .indicators .fa.fa-file {
                color: #AFD037;
            }

            .home .dashboard .dashboard-item .indicators .fa.fa-user {
                color: #118dcf;
            }

        .home .dashboard .dashboard-item .indicators h1 {
            font-size: 1.8em;
            margin: 0;
            padding: 0;
            font-weight: bold;
            line-height: 27px;
        }

        .home .dashboard .dashboard-item .indicators h2 {
            margin: 0;
            line-height: normal;
            font-size: 1.3em;
        }

    .home .dashboard .dashboard-item .dashboard-item-wrapper {
        background-color: white;
    }

        .home .dashboard .dashboard-item .dashboard-item-wrapper.indicators {
            background-color: transparent;
            padding: 0;
        }

            .home .dashboard .dashboard-item .dashboard-item-wrapper.indicators > div {
                padding-top: 15px;
                background-color: white;
                padding-bottom: 23px;
                height: 120px;
            }

                .home .dashboard .dashboard-item .dashboard-item-wrapper.indicators > div.customers-item {
                    margin-bottom: 21px;
                    border-bottom: 4px solid #118dcf;
                }

                    .home .dashboard .dashboard-item .dashboard-item-wrapper.indicators > div.customers-item > div, .home .dashboard .dashboard-item .dashboard-item-wrapper.indicators > div.reports-item > div {
                        position: relative;
                        top: 50%;
                        transform: translateY(-50%);
                        text-align: right;
                        padding-right: 10px;
                    }

                .home .dashboard .dashboard-item .dashboard-item-wrapper.indicators > div.reports-item {
                    border-bottom: 4px solid #AFD037;
                }

        .home .dashboard .dashboard-item .dashboard-item-wrapper .divider {
            background-color: transparent;
            padding: 0 5px;
            height: 0px;
            margin: 30px 0;
        }

            .home .dashboard .dashboard-item .dashboard-item-wrapper .divider:after {
                content: "";
                height: 1px;
                width: 100%;
                border: 1px dashed black;
                display: block;
            }

    .home .dashboard .dashboard-item h1.dashboard-item-header {
        margin: 0;
        margin-top: 5px;
        font-size: 1.5em;
        /*margin-right: 25px;*/
        font-weight: bold;
    }

    .home .dashboard .dashboard-item.indexes table {
        font-size: .9em;
        margin: 0;
    }

        .home .dashboard .dashboard-item.indexes table tr {
            cursor: pointer;
        }

            .home .dashboard .dashboard-item.indexes table tr:hover {
                background-color: rgba(193, 193, 193, 0.13);
            }

        .home .dashboard .dashboard-item.indexes table td {
            border-top-style: dashed !important;
            border-width: 1px !important;
        }

    .home .dashboard .dashboard-item.indexes tr.active td {
        background-color: #118dcf;
        color: white;
    }

    .home .dashboard .dashboard-item.indexes table tr.active td .fa {
        color: white;
    }


    .home .dashboard .dashboard-item.indexes table td:last-child {
        padding-left: 5px;
    }

    .home .dashboard .dashboard-item.indexes table td {
        line-height: 46px;
        padding: 0px 5px 0px 0;
    }

        .home .dashboard .dashboard-item.indexes table td span.precent:after {
            content: '%';
        }

        .home .dashboard .dashboard-item.indexes table td .fa {
            font-size: 1.5em;
            line-height: 45px;
        }

            .home .dashboard .dashboard-item.indexes table td .fa.fa-caret-up {
                color: #ACC73A;
            }

            .home .dashboard .dashboard-item.indexes table td .fa.fa-caret-down {
                color: #DC0D37;
            }

.home .index-chart-wrapper {
    width: 95%;
    position: relative;
}

    .home .index-chart-wrapper > a {
        position: absolute;
        top: -20px;
        left: 5px;
        font-size: .8em;
        text-decoration: underline;
    }

.home .rss-notifications .panel-default > .panel-heading {
    background-color: #118dcf;
    color: white;
    padding: 0;
}

    .home .rss-notifications .panel-default > .panel-heading a {
        display: block;
        padding: 5px 15px;
        line-height: 25px;
    }

        .home .rss-notifications .panel-default > .panel-heading a .status-arrow {
            font-size: 1.4em;
        }

.home .fc-toolbar {
    text-align: center;
    margin-bottom: 0;
    background-color: #118dcf;
    padding: 7px 10px;
    color: white;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.home .fc-state-default {
    border: none;
    box-shadow: none;
    background-image: none;
    background-color: transparent;
    text-shadow: none;
    color: white;
}

.home .fc button.fc-today-button {
    padding: 0 10px;
    color: white;
}

.home .calendar {
    margin-bottom: 20px;
}

    .home .calendar .widget-body {
        padding: 0;
        border-radius: 4px;
        box-shadow: 0 1px 1px rgba(0,0,0,.05);
    }

    .home .calendar .holiday, .home .calendar .conference-event {
        text-align: center;
        cursor: pointer;
    }

        .home .calendar .conference-event i {
            color: #AFD037;
            font-size: 1.6em;
        }

        .home .calendar .holiday i {
            color: #118dcf;
            font-size: 1.6em;
        }

    .home .calendar .g-event {
        font-size: .8em;
        display: block;
        max-width: 60px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        direction: rtl;
    }

.home .fc-view-container {
    padding: 10px;
}

.home .fc-toolbar .fc-left h2 {
    font-size: 1em;
    line-height: 27px;
}

.home .fc-view > table {
    font-weight: normal;
    text-shadow: none;
}

.home .fc-unthemed .fc-today, .home .fc-unthemed .fc-today .fc-day-grid-event {
    background-color: transparent;
    color: black;
}

.home .fc-rtl .fc-basic-view .fc-day-number.fc-today {
    background-color: #e2e2e2;
    font-weight: 100;
}

.home .fc-rtl .fc-basic-view .fc-day-number {
    font-size: .9em;
}

.home .fc-day-header {
    /*font-family: 'Arial';*/
    font-size: .9em;
    padding: 2px;
}

.home a.hebdate {
    background-color: #FFF;
    border-color: #FFF;
    color: #999;
}

.home .hebdate .fc-content .fc-title {
    font-size: .7em;
    font-family: 'Alef Hebrew','SBL Hebrew',David,serif;
}


.home-page .qtip-holidays {
    background-color: #118dcf;
    border-color: #118dcf;
    color: white;
    line-height: normal;
    font-size: .8em;
}

    .home-page .qtip-holidays .qtip-content {
        direction: rtl;
        text-align: right;
    }

        .home-page .qtip-holidays .qtip-content a:hover {
            text-decoration: underline;
        }

        .home-page .qtip-holidays .qtip-content a {
            color: white;
        }

.home-page .qtip-conference {
    background-color: white;
    border-color: silver;
    color: #464646;
    padding: 0;
    line-height: normal;
    font-size: .7em;
}

.home-page .qtip-conference {
    /*font-family: Arial;*/
}

    .home-page .qtip-conference .qtip-titlebar {
        padding: 5px 4px;
        background-color: #118dcf;
        text-align: right;
        color: white;
        font-weight: normal;
    }

    .home-page .qtip-conference > div span {
        margin-right: 10px;
    }

        .home-page .qtip-conference > div span.registration:hover {
            background-color: #b0d038;
        }

        .home-page .qtip-conference > div span.registration {
            color: black;
            cursor: pointer;
            text-align: center;
            display: block;
            margin: 10px 0;
            font-weight: normal;
            border: 1px solid #a2c131;
            background-color: #bcde3d;
            border-radius: 5px;
            padding: 5px;
        }

            .home-page .qtip-conference > div span.registration a {
                color: black;
                display: block;
                text-decoration: none;
            }


    .home-page .qtip-conference .qtip-content {
        direction: rtl;
        text-align: right;
    }

        .home-page .qtip-conference .qtip-content label {
            font-weight: normal;
            width: 60px;
        }

    .home-page .qtip-conference i.fa-map-marker {
        font-size: 1.4em;
        margin-right: 10px;
        color: #AFD037;
    }

    .home-page .qtip-conference .qtip-content a {
        color: white;
    }


.home-page .page .nav-tabs .nav-item:not(.active) a {
    background-color: #f9f9f9;
    color: #555;
    border-radius: 0;
    border-color: #ddd;
    border-bottom: none;
}

.home-page .cat-grid {
    padding: 10px;
    height: 100%;
    width: 100%;
}

    .home-page .cat-grid .cat-square {
        float:right;
        position: relative;
        width: 30%;
        padding-bottom: 10%;
        margin:1.3% 1.66%;
        overflow:hidden;
        border: 1px solid #118dcf;
        border-radius: 3px;
    }

        .home-page .cat-grid .cat-square:hover {
            background-color: #118dcf;
        }

        .home-page .cat-grid .cat-square:hover .cat-content .cat-table .cat-table-cell i,
        .home-page .cat-grid .cat-square:hover .cat-content .cat-table .cat-table-cell span {
            color: white;
        }

        .home-page .cat-grid .cat-square .cat-content {
            position:absolute;
            height:80%; /* = 100% - 2*10% padding */
            width:90%; /* = 100% - 2*5% padding */
            padding: 10% 5%;
        }

        .home-page .cat-grid .cat-square .cat-content .cat-table {
            display:table;
            height:100%;
            width:100%;
            text-align: center;
        }

        .home-page .cat-grid .cat-square .cat-content .cat-table .cat-table-cell {
            display:table-cell;
            vertical-align:middle;
            height:100%;
            width:100%;
        }

        .home-page .cat-grid .cat-square .cat-content .cat-table .cat-table-cell span,
        .home-page .cat-grid .cat-square .cat-content .cat-table .cat-table-cell i {
            transition: all 0.2s linear;
            color: #118dcf;
            vertical-align: middle;
        }

        .home-page .cat-grid .cat-square .cat-content .cat-table .cat-table-cell span {
            font-size: 24px;
        }

        .home-page .cat-grid .cat-square .cat-content .cat-table .cat-table-cell i {
            font-size: 30px;
            padding-left: 3px;
        }

        .home-page .cat-grid .marketing-popover {
            min-width: 300px;
        }

        .home-page .cat-grid .marketing-popover.extra-width {
            min-width: 400px;
        }

            .home-page .cat-grid .marketing-popover .title {
                font-size: 18px;
                margin-bottom: 5px;
            }

            .home-page .cat-grid .marketing-popover ul {
                padding-right: 20px;
                list-style-type: decimal;
                font-size: 14px;
            }

                .home-page .cat-grid .marketing-popover ul li {
                    padding-bottom: 3px;
                }

@media (max-width: 1700px) {
    .home .dashboard .dashboard-item .indicators .fa {
        font-size: 2em;
        padding-top: 16px;
        width: 40px;
    }
}

@media (max-width: 1650px) {
    .home .dashboard .dashboard-item.indexes table {
        font-size: .8em;
    }
}

@media (max-width: 1500px) {
    .home .dashboard .dashboard-item .indicators .fa {
        width: 30px;
    }
    
    .home .page .last-programs-height {
        height: calc(100% - 185px);
    }

    .home .page .last-programs-height .tab-content {
        height: 100%;
    }

    .home-page .cat-grid .cat-square .cat-content .cat-table .cat-table-cell span {
        font-size: 22px;
    }

    .home-page .cat-grid .cat-square .cat-content .cat-table .cat-table-cell i {
        font-size: 28px;
    }
}

@media (max-width: 1300px) {
    .home .dashboard .dashboard-item .indicators .pull-right {
        margin-right: 5px;
    }

    .home .dashboard .dashboard-item .indicators .fa {
        padding-top: 5px;
    }

    .home .dashboard .dashboard-item .indicators h1, .home .dashboard .dashboard-item .indicators h2 {
        font-size: 1.3em;
    }

    .home-page .cat-grid .cat-square .cat-content .cat-table .cat-table-cell span {
        font-size: 18px;
    }

    .home-page .cat-grid .cat-square .cat-content .cat-table .cat-table-cell i {
        font-size: 22px;
    }
}



@media (max-width: 1024px) {
    .home .dashboard .dashboard-item.indexes table td {
    }
}

@media (max-width: 900px) {
    .home .dashboard .dashboard-item .dashboard-item-wrapper.indicators > div {
        font-size: 1em;
    }
}

@media (max-width: 1400px) {
    .home .chart-table {
        display: none;
    }

    .home .index-table {
        width: 100%;
    }

    .home .dashboard .dashboard-item.indexes table td {
        line-height: 32px;
    }

        .home .dashboard .dashboard-item.indexes table td .fa {
            line-height: 35px;
        }
}

@media (max-width: 1500px) {
    .home .dashboard .dashboard-item .dashboard-item-wrapper.indicators > div {
        font-size: .8em;
        height: 90px;
    }

    .home .dashboard .dashboard-item-wrapper {
        height: 200px;
    }

    .home .dashboard .dashboard-item h1.dashboard-item-header {
        font-size: 1.3em !important;
    }

    body .home .pie-chart ul li {
        line-height: 25px;
        width: 130px;
    }

    .home .dashboard .dashboard-item.indexes table td:first-child {
        padding-right: 10px;
    }

    .home .dashboard .dashboard-item.indexes table td {
        line-height: normal;
        padding: 4px 0 4px 0;
    }

        .home .dashboard .dashboard-item.indexes table td .fa {
            line-height: normal;
        }

    .home .dashboard .dashboard-item.indexes table tr {
        font-size: .9em;
    }
}

.home .panel-body {
    padding: 5px;
}
