
#NewsHomePage, #NewsCategoryPage {

    margin-bottom:15px;
}
.news-blocks .thumbnail {

  overflow: hidden;
}
.news-blocks .caption h4 {

  line-height: 1.3;
  margin-top: 0;
}
.news-blocks .caption p {
  display: none;
  color: #5e5e5e;
}

.news-blocks .caption h4, .news-blocks .caption p {
	text-align: Right;
}
.news-blocks .thumbnail time {

  font-size: 90%;
  color: #969696;
  padding-right: 10px;
  padding-left: 10px;
  display: none;
}

/*******************************************************/
/******************* Clients *************************/
.client-thumbnail {
	box-shadow: 0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12);
	display: block;
	margin-bottom: 20px;
}
.client-thumbnail:hover {
	box-shadow: 0 3px 3px -2px rgba(0,0,0,.3),
				0 3px 8px 0 rgba(0,0,0,.18),
				0 1px 10px 0 rgba(0,0,0,.17);
}
.client-thumbnail h4 {
    display: none;
}
/*****************************************************/
/*************** Services Pages **********************/
.service-page .main-image {

}
/*********** Service blocks in services page and at any page (from saudicatring) **********************/
section.service-block {
    padding-top: 2em;
    padding-bottom: 4em;

    background-color: white;
}
section.service-block .h1 {
    font-weight: 300;
    margin-bottom: 1em;
    display: block;
}
.col-service {
    margin-bottom: 30px;

}
.page .bg-shark {
    background: #2a2a30;
    fill: #2a2a30;
}
.justify-content-sm-center {
    justify-content: center !important;
}
.thumbnail-terry { 
    overflow: hidden;
    position: relative;
    display: block;

    border-radius: 10px;
}
.thumbnail-terry > a { 
    display: block;
    height: 100%;
}
.thumbnail-terry > a::before {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border-radius: 0;
    background: #000;
    opacity: 0;
    transition: 0.35s all ease;
    z-index: 2;
}
.thumbnail-terry img { 
    width: 100%;
    height: auto;
    transition: .35s;
    will-change: transform;
}
.thumbnail-terry figcaption {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 25px 0 0;
    background: transparent;
    -webkit-transform: translateY(45px);
    transform: translateY(45px);

    width: 100%;
    text-transform: none;
    vertical-align: middle;

    backface-visibility: hidden;
    border-radius: 0;
    transition: 0.35s all ease;
    will-change: transform;
}
.thumbnail-terry figcaption .figcaption-caption {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 25px;
}
.thumbnail-terry figcaption .figcaption-caption h4 {
    color: #fff;
    overflow: hidden;
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 16px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}
.thumbnail-terry .thumbnail-terry-btn-wrap {
    position: relative;
    width: 100%;
    transition: .3s all ease;
    text-align: right !important;
}
.thumbnail-terry .thumbnail-terry-btn-wrap::before {
    content: '';
    position: absolute;
    bottom: -59px;
    left: -10px;
    width: 2000px;
    height: 600%;
    background: #337ab7;
    opacity: 0;
    transform: translateY(65%);
    transition: .3s all ease;
}

.thumbnail-terry .btn.btn-thumbnail-terry.btn-primary {
    background: transparent;
    border-color: transparent;
}
.btn-thumbnail-terry {
    
    position: relative;
    top: 17px;
    right: -15px;

    margin-bottom: 23px;
    margin-right: 21px;
    padding: 0;

    opacity: 0;
    -webkit-transform: translateY(100%) scale(0.8);
    transform: translateY(100%) scale(0.8);
}

.btn-thumbnail-terry i {
    float: right;
    padding-left: 10px;
    font-size: 20px;
    line-height: 22px;
    vertical-align: middle;
    transition: 0s;
}
/*** hover effect ****/
.thumbnail-terry:hover a::before, .thumbnail-terry:focus a::before {
    opacity: 0.25;
}
.thumbnail-terry:hover figcaption, .thumbnail-terry:focus figcaption {
    opacity: 1;
    -webkit-transform: translateY(-10%) scale(1);
    transform: translateY(-10%) scale(1);
}
.thumbnail-terry:hover .thumbnail-terry-btn-wrap, .thumbnail-terry:focus .thumbnail-terry-btn-wrap {
    transform: translateY(30%); 
}
.thumbnail-terry:hover .btn, .thumbnail-terry:focus .btn {
    opacity: 1;
    -webkit-transform: translateY(0) scale(1);
    transform: translateY(0) scale(1);
}

.thumbnail-terry:hover .thumbnail-terry-btn-wrap::before, .thumbnail-terry:focus .thumbnail-terry-btn-wrap::before {
    opacity: 1;
    transform: rotate(-12.3deg);
}
/******************************************************/
/************* Projects page ************************/

.col-project {
    margin-bottom: 30px;
}

.project-block {

    -webkit-box-shadow: -2px 4px 5px rgba(25, 13, 15, 0.17);
    -moz-box-shadow: -2px 4px 5px rgba(25, 13, 15, 0.17);
    box-shadow: -2px 4px 5px rgba(25, 13, 15, 0.17);
    -webkit-transition: .5s all;
    -moz-transition: .5s all;
    transition: .5s all;
}
.project-block:hover {
    box-shadow: -2px 4px 30px rgba(25, 13, 15, 0.38);
}

figure.project-figure {
    position: relative;
    background-color: white;
}
figure.project-figure div.contain-img {
    max-height: 215px;
    overflow: hidden;
}

figure.project-figure img {

    width: 100%;
    -webkit-transition: all 0.7s ease-in-out;
    -moz-transition: all 0.7s ease-in-out;
    -o-transition: all 0.7s ease-in-out;
    -ms-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;

}
figure.project-figure:hover img {

    -webkit-transform: scale(1.3);
    -ms-transform: scale(1.3);
    -o-transform: scale(1.3);
    transform: scale(1.3);
}
figure.project-figure figcaption {
    padding: 2em 1.5em;
    text-align: center;
}
.project-figure figcaption h3 {
    
    margin: 0;
    font-size: 21px;
    padding:0 0 .8em 0;
    display: block;
    color: #292929;

    line-height: 25px;
    height: 50px;
    overflow: hidden;

}
.project-figure figcaption p {
    
    display: none;
    margin: 0;
    line-height: 25px;
    height: 75px;
    font-size: 15px;
    color: #777;
    overflow: hidden;
}
/******************************************************************************************************************/
#NewsCategoryPage .thumbnail-terry figcaption .figcaption-caption h4 {
	white-space: normal !important;
}

.service-modal .modal-content {
	background-color: #1e304b;
	color: white;

	-webkit-box-shadow: 0 0 12px rgba(255,255,255,0.6);
    box-shadow: 0 0 12px rgba(255,255,255,0.6);
}

.service-modal .modal-content .modal-body {
	text-align: justify;
	text-justify: distribute;
}

.service-modal .close {
	color: white;
	border: 1px solid white;
	padding: 3px 7px;
	border-radius: 5px;
	filter: alpha(opacity=40);
	opacity: 0.4;
}
.service-modal .close:hover, .service-modal .close:focus {

	filter: alpha(opacity=70);
	opacity: 0.7;
}
.service-modal .modal-content img {
	max-width:100% !important;
	width: auto !important;
	height: auto !important;
	max-height: auto !important;
	border-radius: 10px !important;
}

/************* News pages ************************/

.col-news {
    margin-bottom: 30px;
}

.news-block {

    -webkit-box-shadow: -2px 4px 5px rgba(25, 13, 15, 0.17);
    -moz-box-shadow: -2px 4px 5px rgba(25, 13, 15, 0.17);
    box-shadow: -2px 4px 5px rgba(25, 13, 15, 0.17);
    -webkit-transition: .5s all;
    -moz-transition: .5s all;
    transition: .5s all;
}
.news-block time {
  font-size: 13px;
  text-align: start;
  display: none;
}
.news-block:hover {
    box-shadow: -2px 4px 30px rgba(25, 13, 15, 0.38);
}

figure.news-figure {
    position: relative;
    background-color: white;
}
figure.news-figure div.contain-img {
    max-height: 300px;
    overflow: hidden;
}

figure.news-figure img {

    width: 100%;
    -webkit-transition: all 0.7s ease-in-out;
    -moz-transition: all 0.7s ease-in-out;
    -o-transition: all 0.7s ease-in-out;
    -ms-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;

}
figure.news-figure:hover img {

    -webkit-transform: scale(1.3);
    -ms-transform: scale(1.3);
    -o-transform: scale(1.3);
    transform: scale(1.3);
}
figure.news-figure figcaption {
    padding: 1em 1.5em;
    text-align: start;
}
.news-figure figcaption h3 {
    text-align: center;
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    padding:0 0 .8em 0;
    display: block;
    color: #292929;

    line-height: 25px;
    height: 50px;
    overflow: hidden;

}
.news-figure figcaption p {
    
    margin: 0;
    line-height: 25px;
    font-size: 15px;
    color: #777;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}
/******* Category Page ***************/
.news-attend-info h4 {
    position: relative;
    line-height: 30px;
    color: #333333;
    font-size: 20px;
    font-weight: 600 ;
    height: 60px;
}
.news-head h4 p {
    font-weight: 300;
    font-size: 13px;
}
.news-attend {
    background-color: #fff;
    box-shadow: 0 0 10px 0 rgba(41,61,88,.1);
    transition: 0.3s ease-in-out;
    margin-bottom: 20px;
}
.news-attend:hover {
    box-shadow: 0 10px 20px -15px #535353;
}
.news-attend-info {
    padding:20px 30px 30px 30px;
}
.news-attend-img {
    overflow: hidden;
}
.news-attend-img a img {
    transform: scale(1);
    transition: 0.5s ease-in-out;
    padding-bottom: 0 !important;
}

.news-attend-img a:hover img {
    opacity: 0.7;
}

/*****************************************************/
@media (min-width: 1400px) {
    .news-attend {
        margin-left: 25px;
        margin-right: 25px;
    }
}
@media (min-width: 1200px) {

    .news-blocks .caption {
      /*height: 200px;*/
      overflow: hidden;
    }
    .news-blocks .caption h4 {
      height: 75px;
      overflow: hidden;
      line-height: 25px;
    }
    .news-blocks .caption p.brief {
      height: 93px;
      overflow: hidden;
    }
}
@media (min-width:992px ) and (max-width: 1199px) {
  
    .news-blocks .caption {
      /*height: 200px;*/
      overflow: hidden;
    }
    .news-blocks .caption h4 {
      height: 75px;
      overflow: hidden;
      line-height: 25px;
    }
    .news-blocks .caption p.brief {
      height: 93px;
      overflow: hidden;
    }
}
@media (min-width: 768px) and (max-width: 991px) {

    .news-blocks .caption {
      /*height: 200px;*/
      overflow: hidden;
    }
    .news-blocks .caption h4 {
      height: 75px;
      overflow: hidden;
      line-height: 25px;
    }
    .news-blocks .caption p.brief {
      height: 93px;
      overflow: hidden;
    }
}


@media (max-width: 767px) {
    
    .news-attend {
        margin-left: 25px;
        margin-right: 25px;
    }

    .news-blocks .caption {
      /*height: 185px;*/
      overflow: hidden;
    }
    .news-blocks .caption h4 {
      /*height: 47px;*/
      overflow: hidden;
    }
    .news-blocks .caption p.brief {
      /*height: 95px;*/
      overflow: hidden;
      margin-bottom: 0;
    }

}
/**************** News *********************/
div.NewsDiv{
	clear:both;
	margin:0 0 10px 0;
	overflow:hidden;
}
div.NewsDiv img{
	float:Right;
	border:silver 1px solid;
	margin:0 4px 4px 4px;
	width:120px;
	height:100px;
}
div.NewsDiv .Brief{
	margin:4px 0 0 0;
}

div.NewsDiv .Title a,div.NewsDiv .Title a:hover{

	font-weight:bold;
	text-decoration:none;
}
div.NewsDiv .Date, #NewsPage .Date{
	/*font-size:80%;
	color:gray;
	font-style:italic;*/
	
	font-size:85%;
	padding-left: 15px;
	padding-right: 15px;
	display: none;
	
}
#NewsPage h4 {
    text-align:center;
}
#NewsPage .Date{
	/*float:Right;*/
}

#NewsPage .Dash{
	font-size:85%;
	float:Right;
	color:#666;
	margin:4px 5px 0 5px;
}
#NewsPage .CommentsLink{
	font-size:85%;
	float:Right;
}
#NewsPage .Clear{
	clear:both;
}

div.NewsDiv .Split {
	clear:both
}
div.NewsSplit
{
    border-top:dashed 1px silver;
    margin-bottom:10px;
    clear:both;
}
.FloatEnd
{
    clear:both;
}
.NewHead
{
    font-size: 22px;
    font-weight: 700;
    line-height: 30px;
    margin:0 0 15px 0;
    padding:0;
    /*text-align:center;*/
    text-transform: capitalize;
    color: #000;
    text-align: center;

}
#NewsPage .LargeThumbnail img, #NewsPage img {
	
	max-width: 100%;
    width: auto !important;
    height: auto !important;
	margin-right: auto;
	margin-left: auto;
	display: block;
    border:1px solid silver;
}
/***********************************/
div.NewsCommentSplit, div.CommentsSplit{
	width:auto;
	height:1px;
	background:silver;
	margin:8px 0 8px 0;
	display: none;
}
div.CommentsSplit{
	height:2px;
	font-size:1px;
	line-height:1px;
}	

#NewsPage .CommentsHead{
	display: none;
}

#NewsPage .CommentsHead a{
	font-weight:bold;
	text-decoration:none;
	color:silver;
}

div.NewsComment{
	margin:0 0 3px 0;
}

div.NewsComment a.avatar{
	display:block;
	text-decoration:none;
	border:silver 1px solid;
	float:left;
	margin:0 5px 5px 0;
}
div.NewsComment a.avatar img{
	border:none;
}

div.NewsComment .Title{
	font-weight:bold;
	color:#32679e;
}
div.NewsComment .Date{
	margin:4px 0 0 0;
	color:#666;
	font-size:85%;
	float:Right !important;
}
div.NewsComment .Dash{
	float:Right;
	margin:4px 5px 0 5px;
}
div.NewsComment .By{
	font-size:85%;
	float:Right;
	margin:4px 0 0 0;
	color:gray;
}
div.NewsComment .By span{
	font-weight:bold
}
div.NewsComment .Content{
	
	margin:5px 10px 0 10px;
	padding:0 5px 0 5px;;
	border-Right:silver 2px solid;
}
/*------------------ Comment box */
#cmbox{
	text-align:center;
	overflow:hidden;
	margin:20px;
	display:none;
}
/* ------------------ Like/Login Box */
#cmbox .heading{
	margin:10px 0 10px 0;
	font-size:110%
}

#cmlogin, #cmlike{
	border:#CCCCCC 1px solid;
	background:#F2F2F2;
	background:#FCFCFC url(../comment-bg.jpg) no-repeat center center;
	width:480px;
	height:120px;
}
/* ------------------ Like Box */
#cmlike .LikeFirst{
	text-align:center;
}
#cmlike iframe{
	width:48px !important;
	overflow:hidden;
}
#cmlike .LikeFirst span{
	display:block;
	margin:0 auto;
	width:52px;
	background:#fff;
	border:#ccc 1px solid;
	padding:2px;
}
/****************************** Comment Form */
#cmfrm{
	border:#d1e4ff 1px solid;
	background:#fafcff;
	padding:5px;
	width:490px;
	margin:0 auto 10px auto;
}
#cmfrm a.MyAvatar{
	text-decoration:none;
	border:silver 1px solid;
	display:block;
	float:left;
}
#cmfrm a.MyAvatar img{
	border:none;
}
#cmfrm table{
	margin:5px 0 5px 5px;
	width:400px;
}
#cmfrm .Submit{
	text-align:right;
	font-size:11px;
}
#cmfrm .ToFB{
	line-height:25px;
	height:25px;
}
#cmfrm .Title input
{
	width:100%;
}
#cmfrm .Content textarea
{
	width:100%;
	height:88px !important;
}
#cmfrm .LabelOnField label{
	padding:1px 2px;
}

#cmmsg{
	
}
#cmmsg .Information{
	display:block;
	background:#FDFFE4;
	border:#E6E8CF 1px solid;
	color:#26469B;
	padding:4px;
	margin:4px 0 4px 0;
}
#cmmsg .Failure{
	display:block;
	background:#FDFFE4;
	border:#E6E8CF 1px solid;
	color:red;
	padding:4px;
	margin:4px 0 4px 0;
}

.FBButton {
	background: #637bad;
	border:#29447E 1px solid;
	color:white;
	margin:0 3px 0 3px;
}


/****************************** RSS */
#FeedsPage .inLinkTarget{
	font-weight:bold;
	text-decoration:none;
	color:#333
}
#FeedsPage div.Side{
	width:200px;
	float:left;
	margin:0 10px 10px 0;
}

#FeedsPage .RSSFeeds,
#FeedsPage .Readers{
	margin:0 0 10px 0;
}
#FeedsPage .RSSFeeds UL, #FeedsPage .Readers UL{
	list-style-type:none;
	padding:0;
	margin:0;
}
#FeedsPage .RSSFeeds Li,#FeedsPage .Readers Li{
	list-style-type:none;
	margin:0 0 4px 0;
}

#FeedsPage .RSSFeeds a{
	display:block;
	text-decoration:none;
	padding:3px 20px 3px 3px;
	font-weight:bold;
	background:#F3E0EB url('../rss.gif') no-repeat right center;
}
#FeedsPage .RSSFeeds a:hover{
	background-color:#F3EEF1;
}

#FeedsPage .Readers h4{
	font-size:100%;
	color:#666;
	margin:6px 0 6px 0;
}

#FeedsPage .Readers a{
	display:block;
	text-decoration:none;
	padding:3px;
	background:#EFF7FD;
	direction:ltr;
}
#FeedsPage .Readers a:hover{
	background-color:#FFF;
}
/**** Custom worksheet css ******/
.worksheet-block {

    margin-left: 30px;
    margin-right: 30px;
    transition: .5s all;
}


figure.worksheet-figure {
    position: relative;
    background-color: white;
}
figure.worksheet-figure div.worksheet-img {
    overflow: hidden;
}
figure.worksheet-figure figcaption {
    padding: 1em 1.5em;
    text-align: start;
}
.worksheet-figure figcaption h3 {
    text-align: center;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    padding:0 0 .8em 0;
    display: block;
    color: #292929;

    line-height: 25px;
    height: 50px;
    overflow: hidden;

}

.worksheet-image {
    max-width: 380px;
}