/*
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 : 20-Nov-2021, 16:49:47
    Author     : Jafran Mjm
*/

@import 'config';

/*body:after{
    content: ' ';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: calc(100%);
    background: #f0f0f0;
    z-index: -1;
}*/

.content-sidebar {
    &.single-full {
        margin-top: -321px;
    }
    .content-sidebar-inner-container {
        position: relative;
    }
    margin-top: -202px;
    &.single-full .sidebar {
        margin-top: 20px;
    }
    .content {
        .inner {
            background: #fff;
            padding: 35px 41px 34px;
            margin-top: 20.5px;
            p:first-child {
                margin-top: 0;
            }
            p:last-child {
                margin-bottom: 0;
            }
            .social {
                margin-top: 48px;
                border-bottom: 3px solid #001c43;
                span {
                    font-size: 15px;
                    float: left;
                    color: #001c43;
                    font-weight: 500;
                    margin-bottom: 6px;
                }
                .social-inner {
                    float: right;
                    margin-bottom: 2.5px;
                }
                a {
                    height: 16px;
                    margin-left: 14px;
                    display: inline-block;
                    vertical-align: bottom;
                    margin-bottom: -1px;
                    &.share {
                        width: 18px;
                        background: url(../img/single-share.png) no-repeat center bottom;
                    }
                    &.email {
                        margin-left: 15px;
                        width: 18px;
                        background: url(../img/single-email.png) no-repeat center bottom;
                    }
                    &.fb {
                        width: 10px;
                        background: url(../img/single-fb.png) no-repeat center bottom;
                        margin-left: 14px;
                    }
                    &.twt {
                        width: 20px;
                        background: url(../img/single-twt.png) no-repeat center bottom;
                    }
                    &.linkedin {
                        width: 16px;
                        background: url(../img/single-linkedin.png) no-repeat center bottom;
                    }
                }
            }
        }
        ul li {
            padding: 8px 0 5px 28px;
            margin-bottom: 10px;
            background: url(../img/ul-li.png) no-repeat left 5px;
            background-size: 24px;
        }
        em {
            font-style: italic;
        }
    }
}

.banner {
    background: $clr_3;
    color: #fff;
    padding: 40.5px 0 281.5px;
    position: relative;
    &.single-full{
        padding: 40.5px 0 405px;
    }
    &:before {
        content: ' ';
        height: calc(100% - 82px);
        width: calc(((100% - 1141px) / 2) + 382px - 43px);
        position: absolute;
        right: 41px;
        top: 41px;
        background: url(../img/single-banner-bg.png) no-repeat left top;
    }
    .text {
        position: relative;
        .inner {
            padding-right: 50px;
            width: 100%;
            .cat {
                font-size: 16px;
                background: #164b91;
                padding: 12px 36.5px 11.5px 35.5px;
                display: inline-block;
            }
            h5 {
                margin: 71px 0 3px;
                font-weight: 800;
                font-size: 40px;
            }
            .sub-title {
                display: block;
                line-height: 26px;
                font-size: 24px;
                margin-bottom: 32px;
            }
            .author,
            .date {
                display: block;
            }
            .author {
                margin-bottom: 1.5px;
            }
            .date {
                font-size: 12px;
            }
        }
    }
    .img {
        img {
            width: 100%;
        }
    }
}

.wp-block-column {
    position: relative;
}

.full-img {
    margin-top: 33.5px;
    margin-bottom: 32px;
    img {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
}

.caption {
    display: block;
    color: #4d4d4d;
    margin-top: 7px;
    font-size: 11px;
    b {
        text-transform: uppercase;
    }
}

.content-sidebar.single-full .content .inner {
    margin-top: 21.5px;
}

.quote {
    // position: absolute;
    left: 0;
    top: 50%;
    // transform: translateY(-50%);
    margin-right: 4px;
    padding-top: 15px;
    padding-bottom: 25px;
    font-family: 'Museo Slab 900';
    font-size: 26px;
    line-height: 26px;
    b {
        font-family: 'Museo Slab 100';
    }
    strong {
        font-family: 'Museo Slab 100';
    }
    .quote-start,
    .quote-end {
        display: inline-block;
        width: 41px;
        height: 31px;
    }
    .quote-start {
        margin-right: 18px;
        background: url(../img/quote-left.png) no-repeat left top;
        background-size: 41px 31px;
    }
    .quote-end {
        margin-left: 15px;
        margin-bottom: -18px;
        background: url(../img/quote-right.png) no-repeat right top;
        background-size: 41px 31px;
    }
}

.box-out-blk {
    .box-out {
        float: right;
        width: 50%;
        margin-top: 6px;
        margin-left: 14px;
        margin-bottom: 14px;
        padding: 21px;
        background: #f2f2f2;
        .img {
            margin-bottom: 16px;
            img {
                width: 100%;
                display: block;
            }
        }
        h5 {
            font-size: 23px;
            line-height: 23px;
            font-family: 'Museo Slab 700';
            margin-bottom: 2px;
        }
        p {
            display: inline-block;
            font-family: 'Museo Slab 300';
            margin-top: 16px !important;
            margin-bottom: 0 !important;
        }
        .extra {
            display: none;
        }
        span.read {
            cursor: pointer;
            font-family: 'Museo Slab 500';
            color: #3e82fd;
            text-decoration: underline;
            &:hover {
                text-decoration: none;
            }
        }
    }
}

.box-out {
    float: right;
    width: 50%;
    margin-top: 6px;
    margin-left: 14px;
    margin-bottom: 14px;
    padding: 21px;
    padding-bottom: 16px;
    background: #f2f2f2;
    .img {
        margin-bottom: 16px;
        img {
            width: 100%;
            display: block;
        }
    }
    h5 {
        font-size: 23px;
        line-height: 23px;
        font-family: 'Museo Slab 700';
        margin-bottom: 2px;
    }
    p {
        display: inline-block;
        font-family: 'Museo Slab 300';
        margin-top: 10px !important;
        margin-bottom: 0 !important;
    }
    .extra {
        display: none;
    }
    span.read {
        cursor: pointer;
        font-family: 'Museo Slab 500';
        color: #3e82fd;
        text-decoration: underline;
        &:hover {
            text-decoration: none;
        }
    }
}

.single-video {
    background: #000;
    position: relative;
    // margin-bottom: 7px;
    display: inline-block;
    img {
        width: 100%;
        opacity: 0.5;
        display: block;
        @include delay(.2s);
    }
    .play {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translateX(-50%) translateY(-50%);
        padding-top: 57px;
        color: #fff;
        text-transform: uppercase;
        background: url(../img/single-post-video-play.png) no-repeat center top;
    }
    &:hover {
        img {
            opacity: 0.8;
        }
        .play {
            transform: translateX(-50%) translateY(-50%) scale(.9);
        }
    }
}

.end {
    font-family: 'Wingdings';
    position: relative;
    top: 1px;
    left: 1px;
}


/* Popup container - can be anything you want */

.popup {
    position: relative;
    display: inline-block;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/* The actual popup */

.popup .popuptext {
    visibility: hidden;
    width: 160px;
    background-color: #00203e;
    color: #fff !important;
    text-align: center;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -80px;
}


/* Popup arrow */

.popup .popuptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #00203e transparent transparent transparent;
}


/* Toggle this class - hide and show the popup */

.popup .show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
}

.popup .show-copy {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
}


/* Add animation (fade in the popup) */

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.wp-block-columns {
    margin-top: 1.75em;
}