.profile .innerprofile {
    position: relative; 
	left: 50%;
	transform: translateX(-50%);
}
.text-center {
margin-top: -0.5em;
}
.profile .tools.sidetools {
    padding-top: 1.3em;
    font-size: 120%;
}
.profile .tools ol {
    list-style: none;
    margin: 0;
    padding-left: 0;
}
.profile .tools.sidetools li {
    margin-bottom: .8em;
}
.profile .tools a {
    color: #6e4100;  
    position: relative;
}   
/*.profile.onmars:not(.online) .tools.sidetools li.greetings {
    display: none;
}*/
.profile.request_match .tools li.match a, .profile.match .tools li.match a {
    opacity: 0.6;
    cursor: default;
}
.profile.pending_match .tools li.pending_match a {
    color: #c19d67;
}

.profile.rejected_match .tools li.rejected_match {
    opacity: 0.6;
    cursor: default;
}
.profile.h .tools li.myrejected_match a {
    color: #6e4100;
}

/* Colors for stacked icons */

.block_col {
    color: #6e4100;
}
.chat_col {
    color: #c19d67;
}
.request_match_col {
    opacity: 0.6;
    cursor: default;
}
.pending_match_col {
    color: #c19d67;
}
.rejected_match_col {
    opacity: 0.6;
    cursor: default;
}
.myrejected_match_col {
    color: #6e4100;
}
.sales_col {
    color: #6e4100;
}
.door_col {
    color: #6e4100;
}
.mars_col {
    color: #E55302;
}

.profile .undoactions {
    position: absolute;
    top: 75px;
    right: 0;
    left: 0;
}
.profile .undoactions a {
    background-color: #6e4100;
    color: #fff;
    padding: .2em 2em;
}
.profile .tools a.disabled {
    cursor: not-allowed;
    opacity: .5;
}
.profilename {
    font-weight: 600;
    font-size: 1.2em; 	
	margin: -10px 0px 10px 0px;
	display: inline-block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 80%;
 }
.profilename.gender-1 {
    color: #2196f3;
}
.profilename.gender-2 {
    color: #f54e96;
}
.profilename.gender-3 {
    color: #ED9420;
}
.profileinfo span {
    margin: 0 .5em;	
} 
.profilelightbox .row.profile-information > div > div {
    margin-bottom: .5em;
}
.profilelightbox .row.profile-information .profileinfo {
    font-weight: 500;
}
.profilelightbox .profilename {
	max-width: none;
	overflow: visible;
}


/* Thumbnail XS  */
@media only screen and (max-width: 567px) {

body {
    overflow-x: hidden;
    width: 100%;
}
html{
       overflow-x: hidden;
    }

.profileimage.hasimage .imageholder, .profile .imageholder {
    height: 148px;
    width: 148px;
    background-size: contain; 
	margin: 0px !important;
	padding: 0px !important;
	border: none !important;
	border-radius: 5px 5px 0 0; 
}

.profile .ibox-content {
  padding: 0px 0px 10px 0px;
  margin: 5px auto 5px 0px;
  width: 150px;
  background-color: #fff;
  color: inherit;
  border-color: #666;
  border-image: none;
  border-radius: 5px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  border: 1px solid #e0e0e0;
}

}

 
/* Thumbnail S */
 
@media only screen and (max-width: 767px) {

body {
    overflow-x: hidden;
    width: 100%;
}
html{
       overflow-x: hidden;
}
.profileimage.hasimage .imageholder, .profile .imageholder {
    height: 165px;
    width: 165px;
    background-size: contain;  
	margin: 0px !important;
	padding: 0px !important;
	border: none !important;	
	border-radius: 5px 5px 0 0; 
}

.profile .ibox-content {
  padding: 0px 0px 10px 0px;
  margin: 5px auto 5px 0px;
  width: 167px;
  background-color: #fff;
  color: inherit;
  border-color: #666;
  border-image: none;
  border-radius: 5px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  border: 1px solid #cccccc;
}


}  

 /* Thumbnail 200px for larger screens  */

 @media only screen and (min-width: 768px) {
 .profileimage.hasimage .imageholder, .profile .imageholder {
    height: 200px;
    width: 200px;  
    background-size: contain;
	margin: 0px !important;
	padding: 0px !important;
	border: none !important;
	border-radius: 5px 5px 0 0; 
}

 
.profile .ibox-content {
  background-color: #fff;
  color: inherit;
  padding: 0px 0px 10px 0px;
  margin: 10px 0;
  border-color: #666;
  border-image: none;
  border-radius: 5px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #cccccc;
  width: 202px;
}

} 

