/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
    Created on : Jul 30, 2020, 11:23:48 PM
    Author     : Chen Raz <chen@tilnet.co.il>
*/

header#header .current-home-menu-item a {
    color: initial;
    font-weight: initial;
    border-bottom: 0;
}

header#header .current-menu-item.external a {
    color: #a2213a;
    border-bottom: 2px solid #a2213a;
    font-weight: 700;
}

@font-face {
    font-family: "BebasNeue";
    src: url("fonts/bebas_neue/BebasNeue Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: "BebasNeue";
    src: url("fonts/bebas_neue/BebasNeue Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
}

.section-content .container {
    background-color: #eaeaea;
    color: #64686c;
    margin-top: 100px;
}
.section-content h2 {
    font-size: 28px;
    padding-top: 36px;
    margin-bottom: 18px;
}
.section-content .container>p {
    font-size: 16px;
    line-height: 1.5;
}
.section-content .container>p:last-of-type {
    margin-bottom: 36px;
}
#video-categoris-wrapper {
    background: #ffffff;
    font-size: 16px;
    line-height: 1.5;
    overflow: hidden;
}
#video-categoris {
    transition-duration: 800ms;
    transition-property: trtansform, flex-basis, opacity, padding, max-height;
    transition-timing-function: linear;
}
#col-list {
    overflow: hidden;
    transition: inherit;
}
.video-list-title {
    font-size: 28px;
    font-weight: bold;
    display: block;
    margin-top: 30px;
}
h3.video-term-title {
    color: #a12d3d;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: BebasNeue;
    font-weight: 700;
    margin-bottom: 0;
    margin-top: 18px;
}
ul.tilnet-videos {
    padding-left: 24px;
    list-style: none;
    margin-top: 0;
}
li.video-post {
    text-indent: -16px;
    margin-bottom: 6px;
}
li.video-post:before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background-image: url('img/Rectangle.svg');
    background-repeat: no-repeat;
}
li.video-post a.active-video,
li.video-post a:hover {
    font-weight: bold;
    text-decoration: underline;
}
a.video-link {
    color: #64686c;
}
.video-content.hidden {
    display: none;
}
#player-wrapper {
    height: 0;
    overflow: hidden;
    padding-bottom: 56.27572%;
    position: relative;
    transition: inherit;
}
iframe#player {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: 400ms opacity;
    opacity: 1;
}
#video-categoris.panel-prepare-toggling iframe#player {
    opacity: 0;
}
.video-col {
    position: relative;
    transition: inherit;
}
#player-col {
    background-color: #333333;
    background: linear-gradient(to right, #0f0f0f, #333333 16px, #333333);
}

#video-player-wrapper {

    padding: 48px 30px;
    position: relative;
    transition: inherit;
}
span.video-sep {
    display: block;
    transition: inherit;
    width: 100%;
    position: relative;
    height: 40px;
    background: linear-gradient(to bottom, #4e161d, #a12d3d 20px, #a12d3d);
    cursor: pointer;
}
span.video-sep:before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 14px;
    background-image: url('img/dblArrow.png');
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    left: 12px;
}

span.minimize-player {
    font-size: 0;
    width: 18px;
    height: 18px;
    background-image: url('img/close.png');
    display: inline-block;
    position: absolute;
    top: 15px;
    right: 30px;
    opacity: 1;
    cursor: pointer;
    transition:  800ms opacity linear;
}
#video-categoris.panel-open span.minimize-player{
    opacity: 0;
}
.grid-item-container {
    height: 100%;
    padding-bottom: 82px;
    position: relative;
    overflow: hidden;
    transition: inherit;
}


#active-video-content {
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 80px;
    opacity: 0;
    transition: opacity, background linear 200ms;
    background: linear-gradient(to right, #0f0f0f, #333333 16px, #333333);
}

.panel-close #active-video-content {
    opacity: 1;
    background: #ffffff;
}

#active-video-content h2 {
    color: #a12d3d;
    font-weight: bold;
    font-size: 30px;
    font-family:BebasNeue;
}
#active-video-content  a.download-video-pdf {
    background-image: url('img/pdf-icon.svg');
    background-repeat: no-repeat;
    background-size: 24px;
    font-size: 20px;
    padding-left: 30px;
    background-position: 0;
    font-family: BebasNeue;
    font-weight: bold;
    opacity: 50%;
}
#case-report-link {
    background-image: url('img/Case_Report_Button.png');
    background-size: 100%;
    background-repeat: no-repeat;
    /*display: inline-block;*/
	display: none;
    width: 130px;
    height: 35px;
    margin-top: 18px;
    line-height: 35px;
    text-align: center;
    text-shadow: -1px -1px #5a5a5a;
    color: #ffffff;
    font-size: 20px;
}

@media (min-width: 992px) {

    .section-content .container {
        max-width: initial;
    }
    #video-categoris,
    .section-content .container>p,
    .section-content .container>h2 {
        max-width: 1090px;
        margin-left: auto;
        margin-right: auto;
    }

    h2 {
        font-size: 36px;
    }

    #video-categoris {
        display: flex;
    }

    #col-list {
        transition: inherit;
        flex-basis: 36%;
        overflow: hidden;
        position: relative;
        transform: translateX(-12px);
    }
    #col-list:before {
        content: '';
        width: 12px;
        height: 100%;
        display: inline-block;
        background: linear-gradient(to left, #adacac, #e1e0e0 4px, white);
        position: absolute;
    }
    #col-list .grid-item-container {
        width: 383px;
        padding-left: 36px;
        padding-right: 24px;
        box-sizing: border-box;
    }
    span.video-sep {
        background: linear-gradient(to right, #4e161d, #a12d3d);
        flex-basis: 4%;
        height: initial;
    }
    #player-col {
        flex-basis: 60%;
    }
    #video-player-wrapper {
        padding: 100px 30px;
        transition: inherit;
    }
    #video-categoris.panel-open span.video-sep:before {
       transform: rotate(180deg);
    }
    #video-categoris.panel-close #col-list {
        opacity: 0;
        flex-basis: 0;
        width: 0;
    }
    #video-categoris.panel-close  span.video-sep {

    }
    #video-categoris.panel-close #player-col {
        flex-basis: 96%;
    }
    #video-categoris.panel-close #video-player-wrapper {
        padding-top: 48px;
        padding-bottom: 48px;
    }
    h3.video-term-title {
        font-size: 30px;
    }
    #case-report-link {
        width: 160px;
        height: 43px;
        line-height: 43px;
        position: absolute;
        bottom: 12px;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (min-width: 1138px) {
    .section-content .container>p,
    .section-content .container>h2 {
        padding-right: 270px;
        box-sizing: border-box;
    }
}

@media (max-width: 991px) {
    #video-categoris-wrapper {
        margin-left: -24px;
        margin-right: -24px;
    }
    #col-list {
        padding-left: 24px;
        padding-right: 24px;
    }
    #video-categoris.panel-close #col-list {
        max-height: 0;
    }
    #video-categoris span.video-sep:before {
        left: 50%;
    }
    #video-categoris.panel-open span.video-sep:before {
        transform: rotate(270deg) translateY(-50%) translateX(25%);
    }
    #video-categoris.panel-close span.video-sep:before {
        transform: rotate(90deg) translateY(50%) translateX(-25%);
    }
    #col-list .grid-item-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .video-list-title {
        grid-column: 1/3;
    }
}
