/*
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-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: #00a9ce;
        background-size: 38px;
    }
    &.title-2{
        /*background: #6f5091 url(../img/news/title-2-bg.png) no-repeat 20px center;*/
        background: #6f5091;
        background-size: 48px;
    }
/*    &.title-3{
        background: #00a9ce url(../img/news/title-3-bg.png) no-repeat calc(100% - 20px) center;
        background-size: 40px;
    }
    &.title-4{
        background: #6f5091 url(../img/news/title-4-bg.png) no-repeat calc(100% - 20px) center;
        background-size: 40px;
    }
    &.title-5{
        background: #6f5091 url(../img/news/title-5-bg.png) no-repeat calc(100% - 20px) center;
        background-size: 40px;
    }*/
    &.english{
        padding-left : 20px;
        padding-right : 80px;
        text-align: left;
    }
}

header{
    margin-top: 25px;
    margin-bottom: 80px;
    position: relative;
    height: 118px;
    .wrapper{
        border-bottom: 1px solid #e8e8e8;
        padding-bottom: 30px;
    }
    .logo{
        display: block;
        width: 500px;
    }
}

header .back , .footer .back{
    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%);
    }
}
header .back{
    position: absolute;
    right: 0;
    top: 40%;
    transform: translateY(-50%);
}
.footer .back{
    float: right;
}



.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;
    }
}

.mobile-placeholder{
    display: none;
}

.tabs{
    margin-left: - 10px;
    a{
        float: left;
        display: block;
        margin-left: 10px;
        width: calc((100% / 4) - 10px);
        background: #d1d1d1;
        position: relative;
        padding-top: 20px;
        padding-bottom: 10px;
        font-weight: bold;
        font-size: 20px;
        line-height: 20px;
        text-transform: uppercase;
        text-align: center;
        cursor:pointer; 
        &.active{
            background: #183382;      
            color: #fff;   
            &:after{
                content: ' ';
                position: absolute;
                left: 50%;
                transform: translateX(-50%);
                bottom: -9px;
                width: 0;
                height: 0;
                border-style: solid;
                border-width: 10px 10px 0 10px;
                border-color: #183382 transparent transparent transparent;
            }
        }
    }    
    .more {
        float: left;
        display: block;
        margin-left: 10px;
        width: calc((100% / 4) - 10px);
        position:relative;
        .pc-placeholder{
            background: #d1d1d1;
            position: relative;
            padding-top: 10px;
            padding-bottom: 10px;
            font-weight: bold;
            font-size: 20px;
            line-height: 20px;
            text-transform: uppercase;
            text-align: center;
            cursor:pointer; 
            &.active{
                background: #183382;      
                color: #fff;   
            }
        }
        .sub-tabs{
            display: none;
            position:absolute;
            left: 0;
            top: calc(100% - 10px);
            padding-top: 10px;
            z-index: 1;
            a{
                margin-left: 0;
                width: calc(100%);
                padding: 10px 20px 8px;
                text-align: left;
                background: #ebebeb;
                font-size: 20px;
                border-bottom: 1px solid #646464;
                &:after{
                    display: none;
                }
                &.active{
                    background: #2452d7;
                }
            }
        }
        &:hover .sub-tabs{
            display: block;
        }
    }
    &.mobile{
        display: none;
        position: absolute;
        width: 100%;
        text-align: left;
        z-index: 5;
        a{
            width: calc(100% - 40px);
            padding: 10px 20px 2px;
            text-align: left;
            background: #ebebeb;
            font-size: 20px;
            border-bottom: 1px solid #646464;
            &:after{
                display: none;
            }
            &.active{
                background: #9d9d9d;
            }
        }
    }
}

.blks{
    margin-right: -20px;
    .blk{
        float : right;
        width: calc(100% - 20px);
        margin-right: 20px;
        margin-bottom: 20px;
        position:relative;
        .img{
            width: 100%;
            overflow: hidden;
            border: 1px solid #e5e5e5;
            img{               
                display: block; 
                width: 100%;
                min-height: 100%;
            }
        }
        &.half{
            width: calc((100% / 2) - 20px);
            .text {                
                padding-top: 30px ;
                .title{
                    font-size: 14px;
                }
                .readmore{                    
                    font-size: 14px;
                }
            }
        }
    }
    &.type-1{
        .text{
            position: relative;
            right: 0;
            bottom: 0;
            width: 100%;
            padding-top: 30px;
            margin-bottom: 30px;
            z-index: 2;
            span{
                font-family: $font_2;
                display: block;
                font-size: 20px;
                font-weight: bold;
                padding-top: 20px;
                position:relative;
                &.arabic{                    
                    text-align: right;                    
                    direction: rtl;
                    &:before{
                        content: ' ';
                        position: absolute;
                        right: 0;
                        top: 0px;
                        width: 100px;
                        border-bottom: 2px solid #1947ba;
                    }
                }
                .readmore{
                    margin-top: 20px;
                    text-align: right;
                }
            }
        }
    }
    &.type-2{
        .blk{
            margin-bottom: 30px;
            padding-bottom: 30px;
            margin-right:0px;
            width: calc(100% - 20px);
            &:before{
                content: '';
                position: absolute;
                bottom: 1px;
                width: calc(100% - 20px);
                right: 20px;
                border-bottom: 2px dotted #ccc;
            }
            .img, .text{
                float: right;
                width: calc(50% - 20px);  
                margin-right:20px;
                img{
                }
            }
            .text{
                height: 288px;
                position: relative;
                .inner{
                    position: absolute;
                    width: 100%;
                    top: 50%;
                    transform: translateY(-50%);
                }
                span{
                    position: relative;
                    padding-top: 20px;
                    font-family: $font_2;
                    display: block;
                    font-size: 20px;
                    font-weight: bold;
                    &.arabic{
                        text-align: right;                        
                        direction: rtl;
                        &:before{
                            content: ' ';
                            position: absolute;
                            right: 0;
                            top: 0px;
                            width: 100px;
                            border-bottom: 2px solid #1947ba;
                        }
                    }
                }
                .readmore{
                    float: right;
                    margin-top: 20px;
                    &.eng{
                        float: left;
                    }
                }

            }
            &:last-child:before{
                display: none;
            }
        }
    }
    &.blks-1{
        .blk .text {
            .title.arabic:before{
                border-bottom: 2px solid #00a9ce;
            }
            .readmore{
                background: #00a9ce;
            }
        }
    }
    &.blks-2{
        .blk .text {
            .title.arabic: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;
            }
        }
        .title-2{
            font-size: 18px;
            font-weight: bold;
        }
        &.arabic{
            text-align: right;            
            direction: rtl;
            .title{                
                line-height: 35px;
            }
        }
        &.english{
            .title{
                line-height: 30px;
                &:after{
                    left: 0;
                    right: auto;
                }
            }
        }
    }
}

#previous-news{
    display: inline-block;
    margin: 0 auto;
    position: relative;    
    @include h-center;
    padding: 15px 30px;
    padding-left: 60px;
    background: #183382 url(../img/load-news.png) no-repeat 20px center;
    background-size: 25px;
    color: #fff;
    font-size: 20px;    
    line-height: 20px;
    font-weight: bold;
    margin-bottom: 50px;
    &:hover{
        opacity: .8;
    }
}

.previous-news{
    display: none;
}



























