/**
 * MAS Header CSS
 *
 * Member Avatar & Status [MAS]. An extension for the phpBB Forum Software package.
 *
 * @copyright (c) 2018-forever, Dark❶ [dark1]
 * @license GNU General Public License, version 2 (GPL-2.0-only)
 *
 */

/* Display as Inline-Block */
.mas-wrap, .mas-avatar, .mas-username, .mas-wrap-status, .mas-status-dot {
	display: inline-block !important;
}

/* Vertical Align */
.mas-wrap, .mas-avatar, .mas-wrap-status {
	vertical-align: middle;
	margin-top: -1px;
	
	   
}


.mas-username {
    vertical-align: initial;
    margin-top: 0px !important;
}



/* ACP Hr */
.acp-mas-hr {
	border-top: 2px solid #888;
	margin: 5px 0px 0px 0px;
	padding: 5px 0px 0px 0px;
}

/* ACP Avatar Div Wrapper */
.acp-mas-avatar-div-wrapper {
	overflow: auto;
	max-height: 300px;
	max-width: 300px;
}

/* Avatar Div */
.mas-avatar {
	width: 50px;
	height: 50px;
        /*	margin: 1px; */
	position: relative;
}

/* ACP Avatar Div */
.acp-mas-avatar-div-wrapper .mas-avatar {
	display: inline-block !important;
	vertical-align: middle;
}

/* Avatar in ViewOnLine */
.section-viewonline .mas-avatar, .section-viewforum .mas-avatar, .section-viewtopic .mas-avatar, .section-index .mas-avatar, .section-posting .mas-avatar, .section-ucp .mas-avatar, .section-mcp .mas-avatar {
	width: 20px;
	height: 20px;
}

/* Avatar Img */
.mas-avatar img {
	display: block !important;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;
	margin: auto;
	border-radius: 50%;
	height: 20px;
/*	background: #ffffff; */
    
}

/* Avatar Img in Wrap */
.mas-wrap .mas-avatar img {
	position: absolute;
	top: -1px;
	bottom: 0;
	left: 0;
	right: 0;
}

/* ACP Avatar Img in Wrap */
.acp-mas-avatar-div-wrapper .mas-avatar img {
	vertical-align: middle;
	background-position: 0px 0px, 3px 3px;
	background-size: 6px 6px;
	background-image: linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%, #eee 100%), linear-gradient(45deg, #eee 25%, white 25%, white 75%, #eee 75%, #eee 100%);
}

/* Status Dot */
.mas-status-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: #000000;
	margin: 0px 3px 5px 3px;
}

/* ACP Status Dot */
.acp-mas-avatar-div-wrapper .mas-status-dot {
	display: inline-block;
}

/* Status Dot After */
.mas-status-dot:after {
	content: "";
	display: block;
	text-align: center;
	opacity: 1;
	background-color: #000000;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	-webkit-animation: mas-status-pulse 2s linear infinite normal;
	-moz-animation: mas-status-pulse 2s linear infinite normal;
	animation: mas-status-pulse 2s linear infinite normal;
}

/* Status Dot Online */
.mas-status-online .mas-status-dot {
	background-color: #00FF00;
}

/* Status Dot After Online */
.mas-status-online .mas-status-dot:after {
	background-color: #00FF00;
	-webkit-animation: mas-status-pulse 1s linear infinite reverse;
	-moz-animation: mas-status-pulse 1s linear infinite reverse;
	animation: mas-status-pulse 1s linear infinite reverse;
}

/* Status Dot Pulse Animation webkit */
@-webkit-keyframes mas-status-pulse {
	000% { transform: scale(3); opacity: 0; }
	075% { transform: scale(1); opacity: 0.75; }
	100% { transform: scale(0); opacity: 1; }
}

/* Status Dot Pulse Animation moz */
@-moz-keyframes mas-status-pulse {
	000% { transform: scale(3); opacity: 0; }
	075% { transform: scale(1); opacity: 0.75; }
	100% { transform: scale(0); opacity: 1; }
}

/* Status Dot Pulse Animation */
@keyframes mas-status-pulse {
	000% { transform: scale(3); opacity: 0; }
	075% { transform: scale(1); opacity: 0.75; }
	100% { transform: scale(0); opacity: 1; }
}




@media (max-width: 700px) { 
.mas-wrap, .mas-avatar, .mas-username, .mas-wrap-status {
	vertical-align: text-top;
	margin-top: -1px;
}


.mas-wrap, .mas-avatar4, .mas-username, .mas-wrap-status {
	vertical-align: text-top;
	margin-top: -1px;
}


}

@media (max-width: 700px) {





.mas-username1 {
    vertical-align: text-top;
    margin-top: -1px !important;
    display: inline-block !important;
}

.mas-username2 {
    vertical-align: text-top;
    margin-top: 2px !important;
    display: inline-block !important;
}


.mas-username3 {
    vertical-align: middle;
    margin-top: -1px !important;
    display: inline-block !important;
}

.mas-username5 {
    vertical-align: text-top;
    margin-top: 1px !important;
    display: inline-block !important;
    margin-bottom: 5px !important;
                                        /*top: 2.8% !important;*/
                                        /*position: absolute !important;*/
                                        /*margin-left: 3px !important;*/
}

.mas-avatar3 {
    vertical-align: middle;
    margin-top: 0px !important;
        position: relative;
        display: inline-block !important;
}

.mas-avatar3 img {
    display: block !important;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    margin: auto;
    border-radius: 50%;
    height: 19px;
    /* background: #ffffff; */
}


.mas-avatar4 {
    vertical-align: text-top !important;
    margin-top: -1px !important;
        position: relative;
        display: inline-block !important;
        padding-top: 1px;
}

.mas-avatar4 img {
    display: block !important;
                           /*width: auto;*/
    max-width: 100%;
    height: auto;
    max-height: 100%;
    margin: auto;
    border-radius: 50%;
    height: 19px;
    /* background: #ffffff; */
}





}


.mas-username25 {
    vertical-align: inherit;
    margin-top: -2px !important;
    display: inline-block !important;
}

.mas-username1 {
    vertical-align: inherit;
    margin-top: -1.5px ;
    display: inline-block !important;
}

.mas-username2 {
    vertical-align: text-top;
    margin-top: 1px ;
    display: inline-block !important;
}

.mas-username3 {
    vertical-align: middle;
    margin-top: 1px;
    display: inline-block !important;
}

.mas-username5 {
                                 /*vertical-align: middle;*/
                                 margin-top: 2px;
    /*margin-top: -1px ;*/
    display: inline-block !important;
                               margin-left: -1px;
}

.mas-avatar3 {
    vertical-align: middle;
    margin-top: 2px;
        position: relative;
        display: inline-block !important;
}

.mas-avatar3 img {
    display: block !important;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    margin: auto;
    border-radius: 50%;
    height: 20px;
    /* background: #ffffff; */
    margin-top: -1px;
}


.mas-avatar4 {
    vertical-align: middle;
    margin-top: 0px;
        position: relative;
        display: inline-block !important;
}

.mas-avatar4 img {
    display: block !important;
                                 /*width: auto;*/
    max-width: 100%;
    height: auto;
    max-height: 100%;
    margin: auto;
    border-radius: 50%;
    height: 19px;
    /* background: #ffffff; */
}
