/* Style sheet for Linked Commercial services */

* 
{
    box-sizing: border-box;
}

.hide-desktop
{display:none}

.clearboth
{
    clear:both;
}

body
{
    font-family: 'Noto Sans', sans-serif;
    margin:0;
    font-size: 16px;
}

.logo img
{
    width: 100%;
}

floatright
{
    float:right;
}

hr
{
    border: 1px solid #c7221c;
    margin: 0% 10%;
}

.informationbar .icon
{
    display: none;
}

.clearboth
{
    clear:both;
    display:table;
    content: "";
}

.topnavbar
{
    width: 100%;
    height: 65px;
    margin: auto;
    padding:auto;
    background-color: white;
    opacity: 0.9;
    display: inline-block;
    padding-top: 20px;
    
}

.informationbar
{
    width: 100%;
    padding: 0% 10%;
}

.informationbar a
{
    text-decoration: none;
    color: #424242;
    margin: 0px 15px;
}

.informationbar a img
{
    width: 25%;
    float: right;
}

.imageslideshow
{
    width: 100%;
    position: relative;
}

.imageslideshow img
{
    width: 100%;
    height: auto;
}

.textonimage
{
    position: absolute;
    top: 0px;
    left: 10%;
    color: #fff;
    background-color: #691c1a;
    padding: 2%;
    opacity: 0.85;
}

/* style for the heading text on each page */
.heading-container
{
  top: 10; 
    right: 10;
  background: rgb(0, 0, 0); 
  background: rgba(0, 0, 0, 0.5); /* Black background with 0.5 opacity */
  color: white;
  width: 80%;
  padding: 30px;   
}

.heading-container h1
{
    font-size: 80px;
    color: white;
}

.heading-container p
{
    font-size: 30px;
}


.mainsection
{
    width: 100%;
    padding: 0% 10%;
}

.mainsection a
{
    text-decoration: none;
}

.maintext
{
    width:65%;
    float: left;
    
}

.maintext p, .maintext h2, .maintext h3, .maintext h4
{
    font-size: 1em;
    color: black;
}

.maintext a
{
    text-decoration: underline;
}


.stats
{
    display: block;
    margin: auto;
    float: left;
    
}

.stats_project
{
    width: 50%;
    display: block;
    margin: auto;
}

.stats_project img
{
    display: inline;
    width: 32%;
}

.stats img
{
    width: 150px;
}

h1
{
    text-transform: uppercase;
    color: #812522;
    font-size: 0.8em;
    font-weight: bold;
}

h3{
    color: #8e3030;
}

h4
{
    font-size: 1em;
    
}

h5
{
    color: #8e3030;
    font-size: 1.1em;
}

/* partnerships on the about us page */

.partnerships
{
    width: 90%;
    display: block;
    margin: auto;
}

.partnerships img
{
    margin: 10px 50px 30px 50px;
    float: left;
}

.partnerships p
{
    padding-top: 10px;
}

/*profiles on the about us page */

.profiles
{
    background-color: #f5f3ef;
    position: absolute;
	right:3%;
    width: 30%;
    margin-top: 30px;
    
}

.profiles img
{
    margin: auto;
    display: block;
    border-radius: 50%;
}

.profiles p
{
    padding: 15px;
    
}

/* associate profiles */

.associates h4
{
    text-align: center;
    padding: 10px 150px;
}
.associates-profiles
{
    width: 24.99%;
    float: left;
    text-align: left;
    padding: 20px;
}

.associates-profiles img
{
    width: 100%;
    border-radius: 50%;
    padding: 20px;
}

/* expand the bio's for the associate profiles */
.container {
    padding: 0 16px;
    position:relative;
    font-size: 12px;
    max-height: 380px;
    overflow: hidden;
}

.container .read-more{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    text-align: center;
    margin:0;
    padding: 30px 0;
    background-image: linear-gradient(to bottom, transparent, white);
    background-image: -moz-linear-gradient(top, transparent, white);
    background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, transparent),color-stop(1, white)); /* Chrome and Safari */
}


.container::after {
    content: "";
    clear:both;
    display:block;
    
}

.container::after, .row2::after {
    content: "";
    clear:both;
    display:block;
    
}
/*button used for overflow of text*/
.moreButton {
   border-top: 2px solid black;
   background: #8e3030;
   background: -webkit-gradient(linear, left top, left bottom, from(#c7221c), to(#8e3030));
   background: -moz-linear-gradient(top, #c7221c, #8e3030);
   padding: 10px 15px;
   -webkit-border-radius: 8px;
   -moz-border-radius: 8px;
   border-radius: 8px;
   
   
   /* overboard shadows for Opera (and why spec version listed first) */
   box-shadow: rgba(0,0,0,1) 0 1px 0, rgba(0,0,0,90) 0 0 10px, rgba(0,0,0,90) 0 0 20px, rgba(0,0,0,90) 0 0 30px;
   
   -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
   -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
   
   text-shadow: rgba(0,0,0,.4) 0 1px 0;
   color: white;
   font-size: 14px;
   text-decoration: none;
   vertical-align: middle;
}
.moreButton:hover {
   border-top-color: #8e3030;
   background: #8e3030;
   color: #ccc;
}
.moreButton:active {
   border-top-color: #8e3030;
   background: #8e3030;
}


/*===== areas covered box =====*/

#areas-covered{
    background-color: #f5f3ef;
    position: absolute;
	right:10%;
    width: 25%;
}

.globe{
    float: left;
    margin: 5% 5% 0 8%;
}

.title{
    font-size: 1.5em;
    margin-left: 3%;
}

.list{
    list-style-image: url("img/bullet.png");
    margin-top: 9%;
    margin-left: 5%;
}

#areas-covered li, #areas-covered-mobile li{
    line-height: 3em;
    margin-top: 2%;
}

/*===== stats =====*/

.exampleProjects{
	text-align: center;
	padding-top: 1px;
	padding-bottom: 1px;
     background-color: #dceaed;
}

#stats{
    background-color: #dceaed;
    overflow: hidden;
    top: 0;
}

#statImg{
    float: left;
    position: relative;
}

#stat1{
    width: 29%;
    padding-top: 8%;
    position: absolute;
    bottom: 0;
}

#stat2{
    width: 40%;
    padding-top: 12%;
    float: right;
}

.circles{
    margin-top: 6%;
    width: 77.5%;
	margin-left:11.25%;
    position: absolute;
	overflow:hidden;
}
.circle{
	width: 150px;
	height: 150px;
	border-radius: 75px;
	text-align: center;	
}

.pink{
	float:left;
	background-color: #ec6d88;	
}

.blue{
	position:absolute;
	left:50%;
	margin-left:-75px;
	background-color: #4787c8;	
}

.green{
	float:right;
	background-color: #61af52;
}

.circle h2{
	color: #fff;
	font-size: 2em;	
	margin-top: 10%;
	margin-bottom: 0;
}

.circle p{
	font-size: 1.1em;
	color: #fff;
	margin-top: 33%;
	text-align: center;
}

.green p{
	margin-top: 40%;
}

.circles img{
    width: 23%;
    float: left;
    padding-right: 1%;
    display: inline;
    margin-bottom: 3%;
}

/* sidebar */
#sidebar{
	width: 30%;
	float: left;
	background-color: #f5f3ef;
}

#sidebar p{
	text-align: center;
	padding-top: 3%;
	font-size: 1.3em;
	margin-bottom: 0;
}

#sidebar ul{
	padding: 0 0 10% 40px;
	overflow: hidden;
}

#sidebar ul li{
	list-style-type: none;
	margin-top: 5%;
}

#sidebar ul li a{
	text-decoration: none;
	color: #8e3030;
    cursor: pointer;
}



/* projects - line 98 */

.project-container
{
    width: 100%;
    padding: 0% 10%;
    overflow: auto;
    height: auto;
}

.project{
    width: 30%;
    float: left;
}
	.img-holder {
		position:relative;
	}
	.img-holder img {
		position:relative;
        display:block;
	}
	img.imgOverlay {
		width:100%;
		opacity: 0;
		position:absolute;
		top:0;
		left:0;
		z-index:10;
	}

.img-holder{
	background: rgba(0,0,0,0.5);		
}

.img-holder:hover .imgOverlay
{
    opacity: 0.8;
}

.prImg {
    width: 100%;
}

#projects{
    border-bottom: 2px solid #e1e1e1;
    width: 100%;
}

.read{
    float: left;
    color: #8e3030;
    width: 100%;
}

.more-arrow{
    margin-left: 2%;
    margin-bottom: -3%;
    cursor: pointer;
}

/* popup box*/

.popup-box{
	display: none;
	width: 50%;
	max-height: 80%;
	overflow-y: auto;
	background-color: #fff;
	border: solid 5px #e05651;
    position: fixed;
    z-index: 10;
    top: 10%;
    left: 25%;
}

.popup-content{
	width: 90%;
	margin: 5%;
    position: relative;
}

.popup-content ul{
	margin: 0;
}

.indent
{
    margin-left: 40px;
    list-style-type: circle;
}

.b-close{
	margin-right: 1%;
	margin-top: 1%;
	background-image: url('img/b-close.jpg'); 
	width: 30px;
	height: 30px;
    float:right;
}


.b-close:hover,
.b-close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

footer
{
    width: 100%;
    height: auto;
    background-color: #313639;
    color: white;
    padding: 10px 0px;
    text-align: center;
    border-bottom: 3px solid #c7221c;
    overflow: auto;
}

.footer-section
{
    width: 33.3%;
    float: left;
    padding: 30px 10px 10px 10px;
}

.footer-section a
{
    text-decoration: none;
    line-height: 40px;
}

footer a
{
    color: white;
    text-decoration: none;
    line-height: 30px;
}


/* social media buttons */

.fa
{
    margin: 10px 0px;
    width: 38px;
    border-radius: 50%;
    display: inline;
    padding: 1px 8px;
    text-decoration: none;
    color:#003366;
    font-size: 20px;
    background-color: white;
}

.fa:hover
{
    opacity: 0.7;
}

.fa-facebook {
    background: #3B5998;
    color: black;
}

.fa-twitter {
    background: #55ACEE;
    color: white;
}

.fa-linkedin
{
    background: #007bb5;
    color: white;
}

.fa-envelope-o
{
    background: #c7221c;
    color: white;
}

.fa-phone
{
    background-color: black;
    color:white;
}

@media (max-width: 1024px) 
{
    hr
    {
        margin: 0%;
    }
    
    .topnavbar, .informationbar
    {
        padding: auto;
    }
    
    .mainsection
    {
        padding: 2%;
    }
    
    .maintext
    {
        width: 68%;
    }
    
    #areas-covered{
    background-color: #f5f3ef;
    position: absolute;
	right:2%;
    width: 25%;
}
}

@media (max-width: 800px) {
  .informationbar a{display: none;}
  .informationbar a.icon {
    float: left;
    display: block;
  }

.informationbar a
    {
        font-size: 16px;
    }
    
.topnavbar, .informationbar
    {width: 100%;}
    
}

@media (max-width: 800px) {
  .informationbar.responsive {position: relative;}
  .informationbar.responsive a.icon {
    position:absolute;
    left: 0;
    top: 0;
  }
    .informationbar.responsive a {
    float: none;
    display:block;
    text-align: center;
    padding: 4px;
      
  }
    
/* partnerships on the about us page */

.partnerships
{
    width: 100%;
    display: block;
    margin: auto;
}

.partnerships img
{
    margin: 10px;
    padding: 10px;
    float: none;
    display: block;
    margin: auto;
}

.partnerships p
{
    clear: both;
    height: 420px;
    text-align: center;
    transform: translate(0px);
    padding: 20px;
}
    
    .footer-section /*change the footer width for ipad */
    {
        width: 100%;
    }

}
    
    
    
    
@media (max-width: 650px){
    
    .hide-desktop
    {display:block;}
    
    .hide-desktop img
    {
        margin: 5px auto;
        display: block;
    }
    
    hr
    {margin:0%;}
    
    .imageslideshow img
{
    width: 100%;
    height: 200px;
}
    
    .mainsection
{
    width: 100%;
    padding: 2%;
}

.maintext
{
    width:100%;
    float: none;
    
}
    
.stats_project
    {
        width: 100%;
    }
    
.stats_project img
    {
        width: 32%;
    }
    
    .stats img 
{
    width: 30.999%;
}
    
    .centre
    {
        text-align: center;
    }
    
    .associates-profiles
{
    width: 100%;
    }
    
    .associates h4
    {
        padding: 0px;
        margin: 10 0px;
        width: 100%;
    }
    
    .associates img
    {
        width: 70%;
        display: block;
        margin: auto;
    }
    
    
    .project{
    width: 100%;
    float: none;
    height: auto;
    overflow: auto;
}
    
  /*mobile version of areas covered*/  
    #areas-covered-mobile{
    background-color: #f5f3ef;
    display: block;
    position:relative;
    margin: auto;
    width: auto;
}
    
    #globe{
    float: left;
    margin: 5% 5% 0 8%;
}

#title{
    font-size: 1.5em;
    margin-left: 3%;
    padding-top: 8%
}

.list{
    list-style-image: url("img/bullet.png");
    margin-top: 11%;
    margin-left: 5%;
}

#areas-covered-mobile li{
    line-height: 3em;
    margin-top: 2%;
}
    
    /* sidebar mobile version */
#sidebar{
	width: 100%;
    }
    
    .hide-mobile
    {display:none;}
    
    .popup-box{
	left: 10%;
	width: 80%;
    }
}
