/* == LETS MODIFY SOME COLORS AND STYLE FOR THE DEMO == */

/* change the style of the first grid */

#grid .thumbnail-overlay > div.aligment > div.aligment {
    text-align: left; /* FOR HORIZONTAL ALIGN */
}

.media-boxes-drop-down {
    float: right;
    margin-left: 8px;
}


/* change the style of the second grid */
.white-popup .media-box-view-image a,
#grid2 .media-box-date, .white-popup .media-box-date {
    color: #28ac86;
}

.white-popup {
    position: relative;
    background: #FFF;
    padding: 20px;
    width: auto;
    max-width: 500px;
    margin: 20px auto;
}

#grid2 .thumbnail-overlay {
    padding: 10px 5px;
    background: white;
}

#filter2 li a.selected {
    background: #28ac86;
}

#grid2 .thumbnail-overlay > div.aligment > div.aligment {
    text-align: left; /* FOR HORIZONTAL ALIGN */
}

/* hide "no more entries button" */
.media-boxes-no-more-entries {
    display: none;
}

/* style of the footer of each media box */
.media-box-footer {
    padding: 15px 20px;
    font-size: 11px;
    color: #777;
}

/* thumbnail-overlay style */
.thumbnail-overlay {
    background: rgba(0, 0, 0, .6);
    padding: 10px 20px;
    color: #FFF;
}

.thumbnail-overlay .media-box-title {
    font-weight: 700 !important;
    color: #fff !important;
}

/* style of the content */
.media-box-content .media-box-title {
    font-weight: 100 !important;
    text-align: center;
}

/* Remove box shadow from the media boxes */
.media-box-container {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;

    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -o-box-shadow: none;
    -ms-box-shadow: none;
    box-shadow: none;
}

/* style of the html popup */
.white-popup {
    position: relative;
    background: #FFF;
    padding: 20px;
    width: auto;
    max-width: 500px;
    margin: 20px auto;
}

.loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url('/static/images/loader.gif') 50% 50% no-repeat rgb(249, 249, 249);
    opacity: 1;
    background-size: 430px auto !important;
}

.aboutus-box, .invention-box {
    color: #ffffff;
    height: 183px;
}

.aboutus-box .media-box-container, .invention-box .media-box-container{
      background: #000000;
      height: 100%
}

.category1 .media-box-content h1, .media-box-image h1 {
    font-size: 13px;
    padding: 10px;
    text-align: left !important;
    color: #fff;
    line-height: 20px;
    margin-bottom: 0;
}

.category1 .media-box-image p {
    padding: 10px;
    text-align: left !important;
    height: auto;
    overflow: hidden;
    padding-top: 0px;
    font-size: 12px;
    margin-bottom: 0px;
    padding-bottom: 10px;
}

.category1 .media-box-image a {
    padding-left: 10px;
    color: #FFF;
    font-size: 10px;
}

/*.media-box-content h1:after, .media-box-image h1:after {background: #ffffff}*/

#fade-quote-carousel6 .item {
    height: 310px;
}

.newhome-research {
    margin: 40px 0;
}

.research-title {
    text-align: center;
    text-transform: uppercase;
    font-size: 15px;
    margin: 0px 0px 20px 0;
    font-weight: 700;
    min-height: 40px;
}

.petrol-purple .research-title {
    color: #7c2a82;
    font-weight: 700;
}

.newhome-research .rch-img {
    width: 100%;
}

.water-blue .research-title {
    color: #00b4e5;
}

.env-green .research-title {
    color: #6ebf4b;
}

.energy-brown .research-title {
    color: #f07622;
}

.newhome-research .top-icon {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}

.newhome-research .rch-img {
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;

}

.newhome-research .rch-img:hover {
    box-shadow: 7px 14px 42px 3px rgba(0, 0, 0, 0.2);
    text-decoration: none;
        transform: scale(1.05);
}

@media (max-width: 768px) {
    .newhome-research .rch-img {
        width: 100%;
    }

    .newhome-research .col-sm-3 {
        margin-bottom: 30px;
    }

    .research-title {
        min-height: auto;
    }
    
    .front-page #grid .thumbnail-overlay{
        display: block !important;
    }
}

.newhome-research .research-text {width: 65% !important;}

.research-text {
    z-index: 1;
}



 /* change the style of the first grid */
    .grid .thumbnail-overlay{
        background: #fff;
        padding: 0 15px;
    }
    .grid .thumbnail-overlay>div.aligment>div.aligment {
        text-align: left; /* FOR HORIZONTAL ALIGN */
      }
      .media-boxes-drop-down{
          float: right;
          margin-left: 8px;
      }


    /* change the style of the second grid */
    .white-popup .media-box-view-image a,
    #grid2 .media-box-date, .white-popup .media-box-date{
        color: #28ac86;
    }
    .white-popup {
        position: relative;
        background: #FFF;
        padding: 20px;
        width: auto;
        max-width: 500px;
        margin: 20px auto;
    }
    #grid2 .thumbnail-overlay{
        padding: 10px 5px;
        background: white;
    }
      #filter2 li a.selected {
        background: #28ac86;
    }
    #grid2 .thumbnail-overlay>div.aligment>div.aligment {
        text-align: left; /* FOR HORIZONTAL ALIGN */
      }

    /* hide "no more entries button" */
    .media-boxes-no-more-entries{
        display: none;
    }

    /* style of the footer of each media box */
    .media-box-footer{
        padding: 15px 20px;
        font-size: 11px;
        color: #777;
    }

    .filters-container{
        text-align: center;
    }

    .media-grid .thumbnail-overlay .media-box-title {
        color: #273a8e !important;
        font-weight: 100;
        font-size: 18px;
        margin-bottom: 10px;
    }

    .media-grid .more a{
        color:  #273a8e !important;
        padding-left: 0px;
    }

    .media-grid .media-boxes-filter>li a.selected{
        background: #273a8e !important;
    }

    .media-grid .media-boxes-filter>li a{
        font-weight: 500;
        font-size: 14px;
        color: #bbbbbb;
    }

    .media-grid .media-boxes-filter>li{
        margin-right: 0px;
    }

    .media-grid .grid .thumbnail-overlay{
        background-color: #c9c9c9;
    }
/****new fixies***/
.loader {
 
    background: url('../images/logo.png') 50% 28% no-repeat rgb(249, 249, 249);
    background-size:300px 300px;
    background-position:center;
}
.footer .mm a:not(:first-of-type){
 border-inline-start:1px solid #fff; 

}
.cright{
    text-align: center;
    margin-top: 167px!important;

}
.petrol-purple .research-title ,.water-blue .research-title ,.env-green .research-title ,.energy-brown .research-title{
    color:rgba(68, 106, 128);
}
.flat-page h1, .flat-page .tabs-list > li.active, .flat-page a, .flat-page .program-item .details .sub-title, .flat-page .default-modal .title + .sub-title{
    color: #446a80;
}
.structure-page h1{
    color: #446a80;

}
#footer ,.layerbg{
    background: url('../images/K Block website footer-01.png');
    background-position:center ;
    background-repeat: no-repeat;
    background-size: cover;
    height: 217px;
}
.sidebar__header{
    color: #446a80;

}
.footer p{
    text-align: center;
    line-height: 2;
    width: 50%;
}

@media (max-width: 1200px){
    .footer p{
        width: 100%;
    }
}
.info-box .sub-title{
    color: #29aed3;
}
.collection__toggle:hover, .collection__toggle:focus {
    background:#446a80 ;}
    .collection__toggle{
        border: 1px solid #446a80;
    }
.publishers h1, h1.secondary{
    color: #446a80;
  
}
.listing-filter .filter-button-group button.active, .listing-filter .filter-button-group button:hover{
    background-color: #446a80;
   
}
.btn-default{
    background-color: #446a80;
 
}
a:hover, a:active, a:focus{
    color: #446a80;

}

.mm{
    margin-top: 165px;
}
.listing-filter .filter form .form-group label{
    color: #446a80;

}
b, strong ,.address-box li span{
    color: #446a80;
  
}
ul li::marker{
    color: #0059a0;
}
.collection__toggle:active, .collection__toggle.timeline--is-visible{
    background-color: #446a80;
}
.back-to-top ,h1 ,a ,.contact-page h1 ,.address-box h5{
    color: #446a80;

}
.blu-txt {
    color: #446a80!important;

}
.petroleum h1, .petroleum .tabs-list > li.active, .petroleum a, .petroleum .program-item .details .sub-title, .petroleum .default-modal .title + .sub-title{
    color: #446a80;
 
}
.newhome-research .top-icon{
    width:35px;
}
.energy h1, .energy .tabs-list > li.active, .energy a, .energy .program-item .details .sub-title, .energy .default-modal .title + .sub-title{
    color: #446a80;
 
}
.tabs-list > li.active , .water h1, .water .tabs-list > li.active, .water a, .water .program-item .details .sub-title, .water .default-modal .title + .sub-title{
    color: #446a80;

}
.footer{
    border: none;
}
.rr{
 
    margin-top:167px;
}
.footer a {
  padding: 0px 3px;}

@media (max-width:575px) {
  
    #footer ,.layerbg{
        background-image: url('../images/mobile-01.png')!important;
        height: 335px!important;
        background-position: initial!important;
     
    }
    
    .cright{
        margin-top:0!important;
        text-align: center;
    }
    
    .loader{
        background-size: 250px auto!important;
    }
    .logoin{
     text-align: center;
    }
    .menunew ul li a {
        padding: 0px 10px 10px 5px!important;
    }
    .mm{
        order: -1;
        margin-top: 0;
        text-align: center;

    }
   
    .footer p{
        line-height: 1.5;
        width: 100%;
    }
 
    
    .footer ul{
        font-size: 4px;
    }
    .social li a {
        padding: 0px 16px;
    }
    .cright, .footer a {
        font-size: 11px !important;
    }
    .rr{
        margin-top: 204px!important;
        margin-bottom: 14px;
        order: initial;

    }
    footer .row > div:not(:last-child){
        margin-bottom: 0;
    }

    .ss{
        order: -2;
        margin-top: 6px;
        text-align: center;

 
    }
    .row.ff {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column-reverse;}
    .footer ul li{
        display: inline-block!important;
    }
}
@media (min-width:576px) and (max-width:767px) {
    .mm{
        margin-top: 100px;

    }
    .footer ul{
        font-size: 4px;
    }
    .footer a {
        padding: 0px 0px;
    }
    #footer, .layerbg{
        background-size: cover;
        height: 141px;
        padding-top: 0!important;


    }
    .cright, .footer a {
        font-size: 10px !important;
    }
    .rr{
        margin-top: -18px;
        margin-bottom: 0px;
        float: right;
    }

        .footer p{
            line-height: 1.5;
            text-align: justify;
        }
        .cright{
            margin-top: 0!important;
        }
      
}
@media (min-width:992px) and (max-width:1200px) {
    .rr{
        margin-top: 167px;
    }
    .mm{
        margin-top: 165;
    }
}
@media (min-width:768px) and (max-width:991px){
    #footer, .layerbg{
        height: 100%!important;
    }
    .mm {
        margin-top: 165px!important;
    }
    .rr {
        margin-top: 167px;}
        .footer p {
            text-align: justify;
            }
}
@media (min-width:992px) and (max-width:1200px){
    #footer, .layerbg{
        height: 100%!important;
    }
    .footer p {
        text-align: justify;
        }
}
.media-grid .thumbnail-overlay .media-box-title ,.media-grid .more a ,.structure-head{
    color: #446a80!important;

}
.info-box:hover .desc{
    background-color:#446a80 ;
}
.default-modal .close-button ,.timeline__slider__thumb ,.info-row.second:before,.left-col:before ,.info-row.first .line
,.structure-head:after ,.info-row.third .info-box:after ,.info-row.fourth .info-box:after,.info-row.third .info-box:before,.info-row.fourth .info-box:before, .info-row.second .info-box:nth-child(2):before,.info-row.second .left-col .info-box:before{
    background-color:#446a80 ;

}
.collection__link:hover .collection-photo, .collection__link:focus .collection-photo {
    box-shadow: 0 0 0 5px #446a80 ;}
    .menunew ul li a:hover ,a.back-main:hover ,.crawl-control:hover{
        color: #446a80;

    }
    .listing-filter .filter form .dropdown-menu > li > a:hover, .listing-filter .filter form .dropdown-menu > li > a:focus{
        background-color:#446a80!important ;
  
    }
    .row.ff{
        margin-left: 0;
        margin-right: 0;
    }
    .loader {
        position: fixed;
        left: 50%;
        transform: translate(-50%, -50%);
        top: 50%;
        width: 100%;
        height: 100%;}
        .site-map h4 ,.site-map h1 ,.site-map .vertical-list a:hover ,.blu-txt{
            color: #446a80;

        }
        .footer a:hover{
            opacity: 0.8;
            color:#34B4FC !important
        }
        .member-info li:before ,.member-info li a{
            color: #446a80;
  
        }
        .menunew ul li a {
          padding: 0px 10px 0px 5px;}
          .search-box a:hover, .search-box a:focus{
            color: #446a80;

          }
          .input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group{
            background-color:#446a80 ;
  
          }
          .myload{
              width: 300px;
              height: auto;
          }
          p.category-label.energy{
            background-color:#446a80 ;

          }
          .project-details .proj-info ul li p.title{
            color: #446a80;
  
          }
          .btn-danger{
              border: none!important;
          }
          main[role="main"] {
            padding: 125px 0;}
            .member-info li ,.member-info h3{
                font-style: normal;
            }
            p.category-label.environment{
                background-color:#446a80 ;

            }
            .pr span{
                font-family: 'Foco'!important;
            }
            #kisr-services, #kisr-testimonials, #kisr-counters, #kisr-work, #kisr-contact, #kisr-about {
                padding: 0 0;
            }
            .back-to-top{
                bottom: 130px;
         
            }
              @media (min-width:1200px) {
                .mm {
                    margin-top: 135px!important;
                    display: flex;
                    flex-wrap: wrap;
                }
                .footer a{
                    width: 33%;
                }
                /* .footer .mm a:not(:first-of-type){
                    margin-bottom: 3px;
                } */
                .footer .mm a:nth-of-type(3)::after, .footer .mm a:nth-of-type(6)::after{
                    background-color: transparent!important;
                }
                .footer .mm a{
                    position: relative;
                    margin-bottom: 5px;
                }
                .footer .mm a:after{
                    position: absolute;
                    content: '';
                    display: block;
                    height: 100%;
                    width: 2px;
                    background-color: #fff;
                    top: 8px;
                    left: 82%;
                    transform: translate(-50%,-50%);
                }
                .footer .mm a:not(:first-of-type){
                    border-inline-start:1px solid transparent!important; 
                   
                   }
                  
              }

@media (max-width: 768px){
    :lang(ar)  .social li a {
        padding: 0;
    }

    .footer ul{
        width: 100%;
    }
}

.aboutus-box .media-box-container, .invention-box .media-box-container {
    background: #0064a8;
}

#kisr-testimonials{
    display: none !important;
}

.kisr-slider {
  direction: ltr;
}
.kisr-slider img {
  max-width: 100%;
  max-height: 500px;
  margin: 0 auto;
}
.kisr-slider video {
  width: 100%;
  -o-object-fit: fill;
     object-fit: fill;
}
@media (max-width: 575.98px) {
  .kisr-slider video {
    min-height: 250px;
  }
}
.kisr-slider .slick-next,
.kisr-slider .slick-prev {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #68a0c8;
  z-index: 1;
  transition: all 0.3s ease-in-out;
}
@media (max-width: 575.98px) {
  .kisr-slider .slick-next,
.kisr-slider .slick-prev {
    width: 25px;
    height: 25px;
  }
}
.kisr-slider .slick-next::before,
.kisr-slider .slick-prev::before {
  content: url("../images/arrow3.svg");
  opacity: 1;
  font-size: unset;
  position: unset;
}
.kisr-slider .slick-next:hover,
.kisr-slider .slick-prev:hover {
  opacity: 0.6;
}
.kisr-slider .slick-prev {
  left: -60px;
  transform: translate(0, -50%) scaleX(-1);
}
@media (max-width: 420px) {
  .kisr-slider .slick-prev {
    left: 0;
  }
}
html:lang(ar) .kisr-slider .slick-prev {
  right: -60px;
  left: unset;
  transform: none;
}
@media (max-width: 420px) {
  html:lang(ar) .kisr-slider .slick-prev {
    right: 0;
  }
}
.kisr-slider .slick-next {
  right: -60px;
}
@media (max-width: 420px) {
  .kisr-slider .slick-next {
    right: 0;
  }
}
html:lang(ar) .kisr-slider .slick-next {
  left: -60px;
  right: unset;
  transform: translate(0, -50%) scaleX(-1);
}
@media (max-width: 420px) {
  html:lang(ar) .kisr-slider .slick-next {
    left: 0;
  }
}

.kisr-slider-nav {
  margin-top: -6px;
  direction: ltr;
  /*transform: scaleX(-1);*/
  display: flex;
}

 html:lang(ar) .kisr-slider-nav {
 transform: scaleX(-1); 
}

 html:lang(ar) .kisr-slider-nav .item { 
 position: relative;
  transform: scaleX(-1); 
}
.kisr-slider-nav .item {
  /*position: relative;
  transform: scaleX(-1);*/
  width: 100%;
}
.kisr-slider-nav .item::after {
  content: "";
  width: 12px;
  height: 12px;
  background: white;
  position: absolute;
  top: -6px;
  left: 50%;
  margin-left: -6px;
  z-index: 100;
  transform: rotate(45deg);
  display: none;
  transition: all 0.3s ease-in-out;
}
.kisr-slider-nav .item.slick-current::after {
  display: block;
}
.kisr-slider-nav .item a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  padding: 10px;
  text-align: center;
  color: #fff;
  text-decoration: none;
}
@media (max-width: 575.98px) {
  .kisr-slider-nav .item a {
    font-size: 14px;
  }
}
.kisr-slider-nav .item5 {
  background-color: #68a0c8;
}
.kisr-slider-nav .item4 {
  background-color: #4e92c3;
}
.kisr-slider-nav .item3 {
  background-color: #3182b9;
}
.kisr-slider-nav .item2 {
  background-color: #1b74b0;
}
.kisr-slider-nav .item1 {
  background-color: #0162a7;
}

.kisr-slider .slick-next, .kisr-slider .slick-prev{
    display: none !important;
}

 :lang(en) .kisr-slider-nav .item{
      transform: initial;
 }

 :lang(en) .kisr-slider-nav{
    transform: initial;
 }