@import url(http://fonts.googleapis.com/earlyaccess/opensanshebrew.css);
@import url(almoni/font.css);
@import url(bebas/font.css);



body {
    background: #ececec;
}

* {
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
}

#nav-bar {
    position: fixed;
    width: 100%;
    height: 80px;
    background: #779ecf;
    z-index: 6;
}

#logo {
    display: inline-block;
    float: left;
    color: #fff;
    font-family: 'Bebas';
    font-size: 20px;
    padding: 16px;
}

#logo h1 {
    font-weight: normal;
}

#menu-icon {
    padding: 30px 25px;
    background: #688bb6;
    width: 30px;
    cursor: pointer;
    display: inline-block;
    display: none;
}

#top-link {
    display: inline-block;
    vertical-align: top;
}

.top-link {
    display: inline-block;
}

.top-link a {
    display: block;
    background: #779ECF;
    padding: 28.5px;
    font-size: 22px;
    font-family: 'Almoni';
    color: #FFF;
    transition: all 0.3s;
}

.top-link a:hover {
    background: #688BB6;
}

#side-bar {
    position: fixed;
    width: 80px;
    height: 100%;
    top: 0;
    background: #fff;
    transition: all 0.3s;
    overflow-x: hidden;
    z-index: 4;
}

.side-image, .side-image-white {
    width: 30px;
    padding: 25px;
    display: inline-block;
    position: absolute;
    opacity: 1;
    transition: all 0.3s;
}

.side-text {
    display: inline-block;
    font-family: 'Open Sans Hebrew';
    color: #3d516a;
    font-size: 18px;
    padding: 28px 0;
    margin-right: 105px;
    transition: all 0.3s;
    position: relative;
}

.open-side-bar {
    width: 350px !important;
}

.side-image-white {
    opacity: 0;
    box-shadow: inset 1px 0 #779ECF;
}

.side-link {
    height: 79px;
    width: 300px;
    display: block;
    border-top: 1px solid #dbdbdb;
    transition: all 0.3s;
}

#side-bar::before {
    content: "";
    width: 1px;
    position: absolute;
    height: 100%;
    right: 79px;
    background: #DBDBDB;
    top: 0;
}

.side-link:hover > .side-image, .side-link.important > .side-image {
    opacity: 0;
}

.side-link:hover > .side-image-white, .side-link.important > .side-image-white {
    opacity: 1;
}

.side-link:hover,.side-link.important {
    background: #688BB6;
}

.side-bar {
    position: relative;
}

.side-link:hover > .side-text, .side-link.important > .side-text {
    color: #fff;
}

#side-bar:hover {
    width: 300px;
}

#content {
    text-align: center;
    padding-top: 150px;
    padding-bottom: 200px;
    width: 100%;
    max-width: 1024px;
    margin: auto;
    padding-top: 150px;
    margin: 0;
    margin-right: 80px;
    padding-bottom: 250px;
}

#bottom {
    max-width: 1024px !important;
    margin: auto;
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    direction: ltr;
}

.move-button {
    background: #3D516A;
    display: inline-block;
    color: #fff;
    padding: 20px 50px;
    font-size: 20px;
    font-family: 'Almoni';
    border-radius: 200px;
}

#prev-button {
    float: right;
}

#loader {
    padding-top: 25px;
    direction: rtl;
    text-align: center;
}

#loader-line {
    width: 80%;
    background: #fff;
    height: 25px;
    border-radius: 50px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    overflow: hidden;
}

#loader-parts {
    display: inline-block;
    vertical-align: middle;
    font-family: 'Open Sans Hebrew';
    color: #3D516A;
    font-size: 18px;
    padding-right: 20px;
}

#color {
    position: absolute;
    background: #779ECF;
    height: 100%;
    right: 0;
    transition: all 600ms 0.3s;
}

#prev-button {
    opacity: 0.8;
}

#header {
    color: #3D516A;
    font-family: 'Almoni';
    font-size: 36px;
    padding: 10px;
}

#text {
    color: #688BB6;
    font-family: 'Open Sans Hebrew';
    font-size: 18px;
    padding: 10px;
}

#wrap {
    position: relative;
}

.width-33.set-color {
    width: 33% !important;
}

.width-33 {
    width: 0;
}

.width-66.set-color {
    width: 66% !important;
}

.width-66 {
    width: 33%;
}

.width-100.set-color {
    width: 100% !important;
}

.width-100 {
    width: 66%;
}

.text {
    padding: 20px;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    font-family: 'Open Sans Hebrew';
    max-width: 720px;
    width: 80%;
    margin-top: 25px;
    color: #3D516A;
    font-weight: bold;
}

#else-new {
    margin-top: 25px;
}

.or-new {
    font-size: 20px;
    font-family: 'Open Sans Hebrew';
    color: #688BB6;
}

#fake-select, #fake-select-select {
    margin-top: 10px;
}

#select-box, #select-box-select {
    width: 440px;
    background: #fff;
    padding: 20px;
    display: BLOCK;
    font-size: 18px;
    margin: auto;
    border-radius: 10px;
    font-family: 'Open Sans Hebrew';
    font-weight: bold;
    position: relative;
    color: #3D516A;
    text-align: right;
    cursor: pointer;
    max-width: 80%;
}

#select-box::after, #select-box-select::after {
    content: "";
    width: 0;
    height:0;
    border-top: 10px solid #3D516A;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    position: absolute;
    left: 25px;
    top: 30px;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
    transition: all 0.3s;
}

.select-box, .select-box-select {
    width: 440px;
    max-width: 100%;
    background: #fafafa;
    padding: 20px;
    display: BLOCK;
    font-size: 18px;
    margin: auto;
    margin-top: 2px;
    border-radius: 10px;
    font-family: 'Open Sans Hebrew';
    font-weight: bold;
    position: relative;
    color: #3D516A;
    cursor: pointer;
    opacity: 1;
    transition: all 0.3s;
}

#fake-select.opend #select-box::after {
    -webkit-transform: rotate(180deg);
            transform: rotate(180deg);
}

#fake-select-select.opend #select-box-select::after {
    -webkit-transform: rotate(180deg);
            transform: rotate(180deg);
}

#fake-select-box, #fake-select-box-select {
    overflow: hidden;
    overflow-y: scroll;
    height: 0;
    transition: all 0.3s;
    z-index: 1;
    width: 480px;
    margin: auto;
    max-width: 90%;
}

#fake-select-box::-webkit-scrollbar, #fake-select-box-select::-webkit-scrollbar, .select-div::-webkit-scrollbar,#side-bar::-webkit-scrollbar{
    width: 5px;
    background-color: transparent;
}

#fake-select-box::-webkit-scrollbar-thumb, #fake-select-box-select::-webkit-scrollbar-thumb, .select-div::-webkit-scrollbar-thumb,#side-bar::-webkit-scrollbar-thumb{
    width: 5px;
    background-color: #688BB6;
    cursor: pointer;
    border-radius: 20px;
}

#fake-select.opend #fake-select-box, #fake-select-select.opend #fake-select-box-select {
    height: 200px;
}

.select-box:hover, .select-box-select:hover {
    opacity: 0.7;
}

.select-box.selected, .select-box-select.selected {
    background: #3D516A;
    color: #fff;
    opacity: 1 !important;
}

.fake-option {
    border-radius: 50%;
    width: 250px;
    height: 250px;
    display: inline-block;
    background: #fff;
    overflow: hidden;
    text-align: center;
    border: 5px solid #fff;
    position: relative;
    margin: 25px 10px;
    opacity: 0.7;
    cursor: pointer;
    transition: all 0.3s;
}

.fake-image {
    width: 200px;
    position: relative;
    top: 25px;
}

.fake-header {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    font-family: 'Almoni';
    color: #fff;
    background: #779ECF;
    font-size: 20px;
    padding: 15px 0px;
}

.select-all-audience {
    display: block;
    padding: 15px 30px;
    background: #fff;
    color: #3D516A;
    border-radius: 10px;
    width: 100px;
    font-size: 18px;
    font-family: 'Open Sans Hebrew';
    font-weight: bold;
    margin: auto;
    cursor: pointer;
    transition: all 0.3s;
}

.select-all-audience.selected {
    background: #3D516A;
    color: #fff;
}

.fake-option.selected {
    border-color: #779ECF;
    opacity: 1;
}

#result {
    display: none;
    margin: auto;
    margin-top: 50px;
    position: relative;
    width: 0;
    background: #688BB6;
    height: 0;
    transition: all 0.3s;
    overflow: hidden;
}

#result.on {
    display: table;
}

#result span {
    position: absolute;
    font-family: 'Open Sans Hebrew';
    font-size: 18px;
    left: 10px;
    bottom: 10px;
    margin: auto;
    text-align: center;
    color: #fff;
}

#black-bg {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    z-index: 6;
}

#pop-box {
    position: absolute;
    top: -100%;
    z-index: 7;
    left: 0;
    right: 0;
    width: 480px;
    margin: auto;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    direction: ltr;
    transition: all 0.3s
}

#pop-box.on {top: 30%;}

#top-pop-box {
    background: #779ECF;
    display: block;
}

.header-pop-box {
    padding: 20px;
    display: block;
    font-family: 'Open Sans Hebrew';
    font-weight: bold;
    font-size: 22px;
    text-align: center;
    color: #fff;
}

#close-pop {
    display: inline-block;
    position: absolute;
    top: 28px;
    left: 28px;
    cursor: pointer;
}

#pop-textarea {
    width: 80%;
    border: none;
    height: 200px;
    direction: ltr;
    resize: none;
    font-size: 18px;
    overflow: hidden;
    display: inline-block;
    margin: 10px 0 10px 10px;
}

#copy-pop {
    font-size: 20px;
    position: absolute;
    top: 50%;
    font-family: 'Open Sans Hebrew';
    font-weight: bold;
    color: #688BB6;
    padding: 0 10px;
    cursor: pointer;
}

.select-header {
    background: #fff;
    padding: 20px;
    display: BLOCK;
    font-size: 18px;
    margin: auto;
    font-family: 'Open Sans Hebrew';
    font-weight: bold;
    position: relative;
    color: #3D516A;
    text-align: right;
    cursor: pointer;
}

.select-header::after {
    content: "";
    width: 0;
    height: 0;
    border-top: 8px solid #3D516A;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    position: absolute;
    left: 25px;
    top: 30px;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    transition: all 0.3s;
}
#top-select-div > div {
    display: inline-block;
    vertical-align: top;
    transition: all 0.3s;
}

.index-page {
    padding-top: 90px !important;
    margin: 0 !important;
    margin-right: 80px !important;
    padding-bottom: 10px !important;
}

#select-date {
    margin-right: 10px;
}

.select-div {
    overflow: hidden;
    overflow-y: scroll;
    height: 0;
    transition: all 0.3s;
    z-index: 1;
    width: 100%;
    /* margin: auto; */
}

.select-tab {
    width: 100%;
    background: #fafafa;
    padding: 20px 0;
    display: BLOCK;
    font-size: 18px;
    margin: auto;
    margin-top: 2px;
    font-family: 'Open Sans Hebrew';
    font-weight: bold;
    position: relative;
    color: #3D516A;
    cursor: pointer;
    opacity: 1;
    transition: all 0.3s;
}

.select-projects {
    text-indent: 20px;
}

.select-box-date {
    text-align: center;
}

#fake-select-box-date.opend {
    height: 330px;
}

.side-bar:first-child {
    margin-top: 80px;
}

#fake-select-projects.opend {
    height: 200px;
}

.chart {
    display: inline-block;
    vertical-align: top;
    background: #fff;
    margin-top: 10px;
    position: relative;
    height: 280px;
    transition: all 0.3s;
}

.chart:nth-child(2),.chart:nth-child(3) {
    margin-right: 10px;
    margin-left: 10px;
}

.chart:nth-child(3) {
    margin-right: 0;
}

.chart-name {
    position: absolute;
    font-family: 'Open Sans Hebrew';
    padding: 10px;
    color: #779ECF;
}

#ads {
    margin-top: 25px;
}

.ad {
    display: inline-block;
    background: #fff;
    overflow: hidden;
    transition: all 0.3s;
}

.ad:nth-child(4n),.ad:nth-child(3n) {
    margin: 0 10px;
}

.ad:nth-child(4n) {
    margin-right: 0;
}

.ad-name {
    display: block;
    padding: 20px 0;
    font-family: 'Almoni';
    color: #fff;
    background: #688BB6;
    font-size: 24px;
}

.ad-chart-div {
    position: relative;
    height: 250px;
    width: 300%;
    right: 0;
    text-align: right;
    transition: all 0.3s;
}

.ad-chart-name-div {
    position: relative;
    background: #92B1D8;
}

.ad-chart-name {
    width: 33%;
    display: inline-block;
    font-family: 'Open Sans Hebrew';
    font-weight: bold;
    padding: 20px 0;
    background: #92B1D8;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.ad-chart-name.active {
    background: #779ECF !important;
}

.new-project {
    position: fixed;
    z-index: 5;
    bottom: 40px;
    right: 40px;
    background: #3D516A;
    color: #fff;
    padding: 11px 26px;
    font-size: 50px;
    border-radius: 50%;
    /* box-shadow: 0 5px 10px -5px #000; */
}

.ad-chart-name:hover {
    background: #87A5CC;
}

.select-tab.selected {
    background: #3D516A;
    color: #fff;
}

.c-datepicker__header-day {
    background: #688BB6 !important;
}

.c-datepicker__header-date {
    background: #779ECF !important;
}

.u-hover-ball-effect:hover:before, .c-datepicker__day-body:hover:before, .c-datepicker__clock__num:hover:before, .c-datepicker__clock__am-pm-toggle label:hover:before {
    background: #779ECF !important;
}

#extra-link {
    height: 0;
    overflow: hidden;
}

.side-bar:last-child .side-link, .side-bar.extra:hover > .side-link {
    border-bottom: 1px solid #dbdbdb;
}

.extra-link {
    padding: 15px 25px;
    font-family: 'Open Sans Hebrew';
    display: block;
    margin-right: 80px;
    color: #333;
    border-top: 1px solid #dbdbdb;
    transition: all 0.3s;
}

.extra-link:first-child {
    border-top: none;
}

.extra-link:hover {
    background: #779ECF;
    color: #fff;
}

.side-bar.extra .side-text::before {
    content: "";
    position: absolute;
    display: block;
    background: url(../images/icons/more-w.png) no-repeat;
    height: 30px;
    width: 30px;
    top: 30px;
    left: -30px;
    background-size: 25px;
    opacity: 0;
    transition: all 0.3s;
}
.side-bar.extra:hover .side-text::before {
    opacity: 1;
}
.side-bar.extra:hover .side-text::after {
    opacity: 0;
}
.side-bar.extra .side-text::after {
    content: "";
    position: absolute;
    display: block;
    background: url(../images/icons/more.png) no-repeat;
    height: 30px;
    width: 30px;
    top: 30px;
    left: -30px;
    background-size: 25px;
    opacity: 1;
    transition: all 0.3s;
}

.side-bar.extra:hover #extra-link {
    height: auto;
}

.ad-chart {
    width: 33.33333333333%;
    height: 100%;
    display: inline-block;
}

@media screen and (max-width: 1200px){
    #menu-icon {
        display: block;
    }

    #top-link {
        width: 450px;
        height: 0;
        overflow: hidden;
    }

    .top-link {
        display: block;
        text-align: center;
    }

    #top-link.opend {
        height: auto;
        max-width: 100%;
    }
    
    .chart:nth-child(2), .chart:nth-child(3) {
        margin-left: 0;
    }

    .chart:nth-child(3) {
        margin-left: 10px;
    }

    .ad:nth-child(4n), .ad:nth-child(3n) {
        margin: 0;
    }

    .ad:nth-child(2n) {
        margin-left: 10px;
    }
}
@media screen and (max-width: 768px){
    #select-date {
        margin: 0;
        margin-top: 10px;
    }

    .chart {
        margin: 0 !important;
        margin-top: 10px !important;
    }

    .ad {
        margin: 0 !important;
        margin-top: 10px !important;
    }
    #side-bar {
        right: -100%;
    }

    .index-page {
        margin-right: 10px !important;
    }
    
    #content {
        margin: auto;
    }
    
    .new-project {
        bottom: 130px;
    }

    #side-bar-open {
        position: fixed;
        bottom: 40px;
        right: 40px;
        background: #688BB6;
        color: #fff;
        border-radius: 50%;
        display: block !important;
        cursor: pointer;
        z-index: 5;
    }
    #side-bar-open img {
        width: 30px;
        padding: 28.5px 25px;
    }
    .select-box, .select-box-select {
        width: 90%;
    }
}
@media screen and (max-width: 1024px){
    #bottom {
        margin-right: 90px;
        margin-left: 10px;
    }
}

#side-bar.opend {
    right: 0 !important;
}

#side-bar-open.move,.new-project.move{
    right: 100px;
}

#content.menu-opend {
    margin-right: 80px !important;
}