﻿#body
{
	width:100%;
	height:auto;
	margin-right: auto;
    margin-left: auto;
	margin-top: 20px;
}

#contentbox
{
	display:block;
	float:right;
	/*width:70%;*/
	width:75%;
	height:auto;
	margin-top: 15px !important;
	padding-right: 0px;
}
#contentbox2
{
	display:block;
	float:right;
	width:70%;
	height:100%;
	margin-top:52px;
}



.teamitem
{
	height:300px;
	margin: 40px 0% 20px 4.3%;
	width:29%;
	    background-repeat: no-repeat;
		background-position: center center;
    background-size: cover;
	float: left;
    display: block;
	position:relative;
}




.absolutetitledes:hover

{
	background-color:rgba(255, 255, 255, 0.6) !important
}
.teamitem:hover
{
	/*background-color:rgba(0,0,0,0.3);*/
}

.teamitem a, .teamitem p
{
	color:white;
	margin-left:5px;
}
#teamlist
{
	width: 100%;
    display: block;
    height: auto;
    float: right;
	margin-right: -7%;
	margin-top:0px;
	/*padding-right:6%;*/
}

.shortdescription p:first-child
{
	text-transform:capitalize;
	font-size:15px;
}

.shortdescription a
{
	color:orange;
}

#teamitem
{
	
	width: 100%;
    display: block;
    height: auto;
    float: right;
	margin-top:15px;
}

.absolutetitledes
{
	position:absolute;
	display:none;
	background-color:rgba(255, 255, 255, 0.6) !important;
	visibility:visible !important;

}
.absolutetitledes .title
{
	display:none;
	color:black;
	
}
.absolutetitledes .title span
{
	/*text-decoration:none !important;*/
}


/*#teamlist a:nth-child(3n+2) li {
    margin: 30px 6.5% 20px 6.5%;
}*/
#teamlist a:nth-child(3n+3) li 
{
	/*margin: 30px 6.5% 20px 6.5%;*/
}


#teamlist .teamitem
{
	    /*margin: 30px 0% 20px 0%;*/
		margin: 40px 3% 0px 0%;
}

#teamlistdescription
{
	display:block;
	position:relative;
	float:right;
	width:93%;
	margin-top:60px;
	    font-family: grind !important;
}

.shortdescription
{
    font-size: 14px;
    font-family: grind;
    letter-spacing: 0.5px;
    
    margin-bottom: 80px;

}

.teamdescription
{
	display:none;
}


.mobileteam
{
	
	float:left;
	    margin: 20px 0% 20px 5% !important;
    width: 45%;
}


@media only screen and (max-width: 1530px) {

	#teamlist
	{
		    margin-right: -6%;
			width: 99%;
	}

}

@media only screen and (max-width: 1400px) {
	#teamlist {
		margin-right: 0%;

	}
	#teamlistdescription
	{
		float:left;
	}
}

@media only screen and (max-width: 1400px) {


	#contentbox {
		width: 100%;
		    padding-left: 7% !important;
	}
}
@media (max-width:1440px) and (min-width:769px) {

	#body {
		/* padding: 30px 6% 30px 1%; */
		padding: 0px 25px 0px 25px;
	}
}

@media only screen and (max-width: 1000px) {

	#teamlist
	{
		    padding-right: 0px;
	}
	#contentbox
	{
		    width: 100%;
	}

	.teamitem {
    margin: 20px 1.75% 20px 1.75% !important;
    width: 46.5%;
}


	.absolutetitledes .title
	{
		    font-size: 14px;
	}
	
}
@media only screen and (max-width: 769px) {
	#teamlist
	{
	    width: 97%;
    float: initial;
    margin: auto;
	}
	#contentbox
	{
		    padding-left: 0% !important;
	}
	#teamlistdescription
	{
		    width: 96%;
			float: inherit;
			margin: auto;
	}
}
@media only screen and (max-width: 650px) {
	#contentbox
	{
		width:100%;
	}
	.teamitem 
	{
		/*margin: 20px 5% 20px 0% !important;*/
		/*width: 45%;*/
	}
	#teamlist a:nth-child(2n) li
	{
		/* margin: 20px 0% 20px 0% !important;*/
	}
		#teamlist a:nth-child(2n+2) li {
    /*margin: 20px 0% 20px 0% !important;*/
}

}

@media only screen and (max-width: 550px) {
	.teamitem
	{
		/*    margin: 20px 0% 20px 0% !important;*/
   /* width: 100%;*/
	}


	.mobileteam 
	{
		width: 100%;
		    /*margin: 20px 0% 20px 0% !important;*/

	}


	
}