/*
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 : 29-Dec-2015, 08:38:07
    Author     : Mansaf Jafran
*/



::-webkit-scrollbar {  
    width: 5px;  
    height: 5px;  
}  
::-webkit-scrollbar-track {  
    background-color: #ccc;  
    border-left: 1px solid #fff;  
}  
::-webkit-scrollbar-thumb {  
    background-color:#2059a8;  
}  
::-webkit-scrollbar-thumb:hover {  
    background-color: #fff;  
}   


@import 'config';

body {     
    background: #fff;  
    max-width: 2000px;
    font-family: $font_2;
    font-size: 14px;
    overflow-x: hidden;
    *{
        /*border: 1px solid red;*/
    }
}
html,body{
    /*min-width: 1141px;*/
}

.hide{
    display: none;
}

p{
    line-height: 25px;
}

.left{
    float: left;
}

.abs-left{
    left: 0;
}

.right{
    float: right;
}
.abs-right{
    right: 0;
}

.rtl{
    direction: rtl;
}

.clear:after{
    clear: both;
    display: block;
    content: ' ';
}

.p-relative{
    position: relative;
}
.p-absolute{
    position: absolute;
}

.v-center{
    top: 50%;
    transform: translateY(-50%);
}
.h-center{
    left: 50%;
    transform: translateX(-50%);
}
.v-h-center{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.clear-float{
    display: block;
    clear: both;
    height: 1px;
}

br.minus{
    margin-bottom: -20px;
    display: block;
    content: '';
}

.wrapper{
    width: $wrapper_width;
    margin: 0 auto;
    position: relative;
}

.title-b{
    display: block;
}

.margin-zero{
    margin: 0 !important;
}
.margin-top-zero{
    margin-top: 0 !important;
}
.margin-bottom-zero{
    margin-bottom: 0 !important;
}

br{
    &.px-10{
        content: " ";
        display: block;
        margin: 10px 0 0;
        line-height:10px;
    }
    &.px-20{
        content: " ";
        display: block;
        margin: 20px 0 0;
        line-height:20px;
    }
    &.px-30{
        content: " ";
        display: block;
        margin: 30px 0 0;
        line-height:30px;
    }
    &.px-40{
        content: " ";
        display: block;
        margin: 40px 0 0;
        line-height:40px;
    }
    &.px-50{
        content: " ";
        display: block;
        margin: 50px 0 0;
        line-height:50px;
    }
    &.px-60{
        content: " ";
        display: block;
        margin: 60px 0 0;
        line-height:60px;
    }
    &.px-70{
        content: " ";
        display: block;
        margin: 70px 0 0;
        line-height:70px;
    }
    &.px-80{
        content: " ";
        display: block;
        margin: 80px 0 0;
        line-height:80px;
    }
    &.px-90{
        content: " ";
        display: block;
        margin: 90px 0 0;
        line-height:90px;
    }
    &.px-100{
        content: " ";
        display: block;
        margin: 100px 0 0;
        line-height:100px;
    }
    &.px-10-minus{
        content: " ";
        display: block;
        margin: -10px 0 0;
        line-height:0px;
    }
    &.px-20-minus{
        content: " ";
        display: block;
        margin: -20px 0 0;
        line-height:0px;
    }
    &.px-30-minus{
        content: " ";
        display: block;
        margin: -30px 0 0;
        line-height:0px;
    }
    &.px-40-minus{
        content: " ";
        display: block;
        margin: -40px 0 0;
        line-height:0px;
    }
    &.px-50-minus{
        content: " ";
        display: block;
        margin: -50px 0 0;
        line-height:0px;
    }
    &.px-60-minus{
        content: " ";
        display: block;
        margin: -60px 0 0;
        line-height:0px;
    }
}

.common-readmore{

}

.common-title{
    padding: 20px;
    font-weight: bold;
    font-size: 25px;
    margin-top: 50px;
    margin-bottom: 30px;
    text-align:right;
    color: #fff;
    padding-left : 80px;
    &.title-1{
        background: #00a9ce url(../img/news/title-1-bg.png) no-repeat 20px center;
        background-size: 38px;
    }
    &.title-2{
        background: #6f5091 url(../img/news/title-2-bg.png) no-repeat 20px center;
        background-size: 48px;
    }
}

header{
    margin-top: 50px;
    margin-bottom: 50px; 
    position: relative;
    height: 83px;
    .logo{
        display: block;
    }
    .back{
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 20px;
        line-height: 20px;
        text-transform: uppercase;
        font-weight: bold;
        padding-right: 78px;
        width: 200px;
        text-align: right;
        background: url(../img/news/news-close.png) no-repeat right center;
        height: 64px;
        span{
            position: absolute;
            right:76px;
            top:50%;
            transform: translateY(-50%);
        }
    }
}


.readmore{
    display: inline-block;
    font-size: 16px;
    line-height: 16px;
    padding: 8px 20px;
    font-weight: bold;
    color: #fff;
    background: #1947ba;
    margin-top: 5px;
    text-transform: uppercase;
    &:hover{
        opacity: .7;
    }
}

.blks{
    margin-right: -20px;
    .blk{
        float : right;
        width: calc(100% - 20px);
        margin-right: 20px;
        margin-bottom: 20px;
        position:relative;
        .img{
            width: 100%;
            img{               
                display: block;
                width: 100%;
                min-height: 100%;
            }
        }
        &.half{
            width: calc((100% / 2) - 20px);
            .text {                
                padding: 80px 30px 30px;
                .title{
                    font-size: 14px;
                }
                .readmore{                    
                    font-size: 14px;
                }
            }
        }
    }
    &.type-1{
        .text{
            position: absolute;
            right: 0;
            bottom: 0;
            width: 100%;
            padding: 100px 30px 50px;
            text-align: right;
            color: #fff;
            z-index: 2;
            /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+99&0+1,0.9+34 */
            background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 1%, rgba(0,0,0,0.9) 34%, rgba(0,0,0,0.9) 99%); /* FF3.6-15 */
            background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 1%,rgba(0,0,0,0.9) 34%,rgba(0,0,0,0.9) 99%); /* Chrome10-25,Safari5.1-6 */
            background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 1%,rgba(0,0,0,0.9) 34%,rgba(0,0,0,0.9) 99%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#e6000000',GradientType=0 ); /* IE6-9 */
            .title{
                font-family: $font_2;
                display: block;
                font-size: 20px;
                font-weight: bold;
                margin-bottom: 20px;
                padding-top: 20px;
                position:relative;
                &:before{
                    content: ' ';
                    position: absolute;
                    right: 0;
                    top: 0px;
                    width: 100px;
                    border-bottom: 2px solid #1947ba;
                }
            }
        }
    }
    &.type-2{
        .blk{
            margin-bottom: 30px;
            padding-bottom: 30px;
            margin-right:0px;
            &:before{
                content: '';
                position: absolute;
                bottom: 1px;
                width: 100%;
                right: 20px;
                border-bottom: 2px dotted #ccc;
            }
            .img, .text{
                float: right;
                width: calc(50% - 20px);  
                margin-right:20px;
                img{
                }
            }
            .text{
                height: 288px;
                text-align: right;
                position: relative;
                .inner{
                    position: absolute;
                    width: 100%;
                    top: 50%;
                    transform: translateY(-50%);
                }
                .title{
                    position: relative;
                    padding-top: 20px;
                    font-family: $font_2;
                    display: block;
                    font-size: 20px;
                    font-weight: bold;
                    margin-bottom: 20px;
                    &:before{
                        content: ' ';
                        position: absolute;
                        right: 0;
                        top: 0px;
                        width: 100px;
                        border-bottom: 2px solid #1947ba;
                    }
                }
            }
            &:last-child:before{
                display: none;
            }
        }
    }
    &.blks-2{
        .blk .text {
            .title:before{
                border-bottom: 2px solid #00a9ce;
            }
            .readmore{
                background: #00a9ce;
            }
        }
    }
    &.blks-3{
        .blk .text {
            .title:before{
                border-bottom: 2px solid #6f5091;
            }
            .readmore{
                background: #6f5091;
            }
        }
    }
}

#single-page{
    .main-img{
        width: 100%;
        margin-bottom: 30px;
    }
    .text{
        font-size: 18px;
        margin-bottom: 50px;
        .title{
            position: relative;
            font-size: 30px;
            font-weight: bold;
            padding-bottom: 12px;
            margin-bottom: 20px;
            &:after{
                content: ' ' ;
                position: absolute;
                bottom: 0;
                right: 0;
                border-bottom: 2px solid #1947ba;
                width: 100px;
            }
        }
        &.arabic{
            text-align: right;
            .title{                
                line-height: 35px;
            }
        }
        &.english{
            .title{
                line-height: 30px;
                &:after{
                    left: 0;
                    right: auto;
                }
            }
        }
    }
}



























