﻿/*@font-face {
    font-family: MyFont;
    src: url('fonts/DroidKufi-Regular.ttf');
}*/

/*@font-face {
    font-family: MyFont;
    src: url('../fonts/shahd-bold.ttf') format('truetype');
}*/
@font-face {
    font-family: MyFont;
    src: url('../fonts/jazeera.ttf') format('truetype');
}

* {
    direction: rtl;
}

.conticon {
    left: 0;
    position: fixed;
    top: 75%;
    margin-top: -242px;
    z-index:9999;
}

.social-icon {
    /*box-sizing:border-box;*/
    margin: 5px;
    outline: 2px solid white;
    border-radius: 10px;
    z-index: 9999;
}

#fb a:hover,
#tw a:hover,
#yt a:hover {
    width: 1.5em;
    border-radius: 4px;
}

.myFooter {
    background-color: #5cb85c;
    padding: 10px;
    font-family: MyFont;
    text-align: center;
    margin-top: 0px;
    margin-bottom: 0px;
    position: absolute;
    left: 0px;
    right: 0px;
    border-radius: 2px;
}

body {
    padding-top: 100px;
    padding-bottom: 20px;
    font-family: MyFont;
    /*font-family: 'vip-hakm-bold';*/
    background-color: #f6f6f6;
}
.navbar-inverse {
    font-family: MyFont;
    /*font-family: 'neckar';*/
    color: #000000;
    background-color: #ffffff;
    font-size: 18px;
    border-bottom: 3px solid #286430;
    vertical-align: bottom;
    line-height: 1;
}
.navbar-brand {
    background-image: url('../Images/ku-logo.png');
    background-size:contain;
    background-repeat: no-repeat;
    /*background-size: 80px;*/
    width: 200px;
    height: 75px;
    min-height: 20px;
    min-width: 20px;
    display: block;
    padding: 2px;
    background-color: #fff;
    margin-left: 20px;
    border-radius: 1px;
    margin-top: 2px;
}

.navbar-inverse .navbar-nav > li > a {
    position:relative;
    color: #000;
    font-size: 19px;
    /*margin-right: 20px;*/
    background-color: #ffffff;
    margin-bottom:0px;
    line-height:60px;
    vertical-align:bottom;
}
.navbar-inverse .navbar-nav > ul > a:hover,
.navbar-inverse .navbar-nav > ul > a:focus,
.navbar-inverse .navbar-nav > ul > a:active {
    border-bottom: 2px solid #000;
    background-color: #286430;
    color: white;
    border-radius: 6px 6px 0px 0px;
    color: #000;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus,
.navbar-inverse .navbar-nav > .open > a:active {
    border-bottom: 2px solid #000;
    background-color: #286430;
    border-radius: 6px 6px 0px 0px;
    color: white;
}
/*.navbar-inverse .navbar-nav > li > a:active{
    border-bottom:2px solid #000;
    background-color:#286430;
    border-radius: 6px 6px 0px 0px;
}*/
.dropdown-menu {
    color: #000; 
        background-color: #286430;
 
    font-size: 16px;
    /*color: white;*/
}

.dropdown-menu li a {
    
    color: white;
    line-height:2;
}
/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 16px;
    line-height: 2.5rem;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select {
    max-width: 280px;
}

textarea {
    width:600px;
    max-width: 80%;
}

#myCarousel .carousel-control .left {
    padding-left:0%;
}

.loginBox{
    /*position:center;*/
    top:50%;
    right:50%;
    /*transform:translate(-50%,-50%);*/
    width:400px;
    background:#fff;
    padding:40px;
    box-sizing:border-box;
    border:1px solid rgba(0,0,0,.1);
    box-shadow:0 5px 10px rgba(0,0,0,.2);
    border-radius:5px;
    margin:auto;
}
.loginBox h2{
    margin:0 0 40px;
    padding:0;
}
.loginBox input{
    padding:10px 0;
    margin-bottom:30px;
    width:100%;
    box-sizing:border-box;
    box-shadow:none;
    outline:none;
    border:none;
    border-bottom:2px solid #999;
    direction:rtl;
}
.loginBox input[type="submit"]{
    border-bottom:none;
    background-color:#286430;
    font-size:20px;
    font-weight:bold;
}
.loginBox form div{
    position:relative;
}
.loginBox form div label{
    position:absolute;
    top:10px;
    right:0;
    color:#999;
    transition:.5s;
    pointer-events:none;
}
.loginBox input:focus ~ label,
.loginBox input:valid ~ label {
    top:-12px;
}
    .loginBox input:focus,
    .loginBox input:valid {
        border-bottom: 2px solid #286430;
    }

.nav-stack {
    background-color: #286430;
}

    .nav-pills > li > a
    {
        color:black;
    }
.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
    background-color: #286430;
    color: white;
}
.left{
    right:85%;
    position:absolute;
}

.commentEditor {
    text-align: right;
    color: #000000;
    background-color: #ffffff;
    padding: 15px;
    margin-bottom: 30px;
    box-sizing: border-box;
    border: 1px solid rgba(0,0,0,.1);
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.commentName {
    font-style: italic;
}

.commentSaid {
    font-size: 18px;
    color: black;
    padding: 3px;
    margin: 3px;
    background-size: 10px;
}

.commentBody {
    margin: 5px;
}

.commentTime {
    font-style: italic;
    text-align: left;
    font-size: 10px;
}

.commentControlPanal {
}

#commentPrompt {
    margin: 0 40px 40px;
    padding: 0;
    font-size: 20px;
    font-weight: bold;
}
#commentNamePrompt {
}

#commentEmailPrompt {
}

#commentBodyInput {
}

#commentSubmitInput {
    font-weight: bold;
    padding: 3px;
}

nav ul li:hover > ul {
    display: block;
}

.dropdown-menu > li{
    line-height:2
}
#map {
    height: 180px;
    width: 100%;
}


/*New Work*/
.blog-card {
    display: flex;
    flex-direction: column;
    margin: 1rem auto;
    box-shadow: 0 3px 7px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.6%;
    background: #fff;
    line-height: 1.4;
    font-family: sans-serif;
    border-radius: 5px;
    overflow: hidden;
    z-index: 0;
}

.blog-card a {
    color: inherit;
}

    .blog-card a:hover {
        color: #5ad67d;
    }

.blog-card:hover .photo {
    -webkit-transform: scale(1.3) rotate(3deg);
    transform: scale(1.3) rotate(3deg);
}

.blog-card .meta {
    position: relative;
    z-index: 0;
    height: 200px;
}

.blog-card .photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    transition: -webkit-transform .2s;
    transition: transform .2s;
    transition: transform .2s, -webkit-transform .2s;
}

.blog-card .details,
.blog-card .details ul {
    margin: auto;
    padding: 0;
    list-style: none;
}

.blog-card .details {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -100%;
    margin: auto;
    transition: left .2s;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px;
    width: 100%;
    font-size: .9rem;
}

    .blog-card .details a {
        -webkit-text-decoration: dotted underline;
        text-decoration: dotted underline;
    }

    .blog-card .details ul li {
        display: inline-block;
    }

    .blog-card .details .author:before {
        font-family: FontAwesome;
        margin-right: 10px;
        content: "\f007";
    }

    .blog-card .details .date:before {
        font-family: FontAwesome;
        margin-right: 10px;
        content: "\f133";
    }

    .blog-card .details .tags ul:before {
        font-family: FontAwesome;
        content: "\f02b";
        margin-right: 10px;
    }

    .blog-card .details .tags li {
        margin-right: 2px;
    }

        .blog-card .details .tags li:first-child {
            margin-left: -4px;
        }

.blog-card .description {
    padding: 1rem;
    background: #fff;
    position: relative;
    z-index: 1;
}

    .blog-card .description h1,
    .blog-card .description h2 {
        font-family: Poppins, sans-serif;
    }

    .blog-card .description h1 {
        line-height: 1;
        margin: 0;
        font-size: 1.7rem;
    }

    .blog-card .description h2 {
        font-size: 1rem;
        font-weight: 300;
        text-transform: uppercase;
        color: #a2a2a2;
        margin-top: 5px;
    }

    .blog-card .description .read-more {
        text-align: right;
    }

        .blog-card .description .read-more a {
            color: #5ad67d;
            display: inline-block;
            position: relative;
        }

            .blog-card .description .read-more a:after {
                content: "\f061";
                font-family: FontAwesome;
                margin-left: -10px;
                opacity: 0;
                vertical-align: middle;
                transition: margin .3s, opacity .3s;
            }

            .blog-card .description .read-more a:hover:after {
                margin-left: 5px;
                opacity: 1;
            }

.blog-card p {
    position: relative;
    margin: 1rem 0 0;
}

    .blog-card p:first-of-type {
        margin-top: 1.25rem;
    }

        .blog-card p:first-of-type:before {
            content: "";
            position: absolute;
            height: 5px;
            background: #5ad67d;
            width: 35px;
            top: -0.75rem;
            border-radius: 3px;
        }

.blog-card:hover .details {
    left: 0%;
}

@media (min-width: 640px) {
    .blog-card {
        flex-direction: row;
        max-width: 1000px;
    }

        .blog-card .meta {
            flex-basis: 40%;
            height: auto;
        }

        .blog-card .description {
            flex-basis: 60%;
        }

            .blog-card .description:before {
                -webkit-transform: skewX(-3deg);
                transform: skewX(-3deg);
                content: "";
                background: #fff;
                width: 30px;
                position: absolute;
                left: -10px;
                top: 0;
                bottom: 0;
                z-index: -1;
            }

        .blog-card.alt {
            flex-direction: row-reverse;
        }

            .blog-card.alt .description:before {
                left: inherit;
                right: -10px;
                -webkit-transform: skew(3deg);
                transform: skew(3deg);
            }

            .blog-card.alt .details {
                padding-left: 25px;
            }
}

