/* Edit profile form */
#af-wrapper .edit-profile {
}
#af-wrapper .edit-profile fieldset {
	border: none;
	margin: 0px;
	padding: 0px;
}
#af-wrapper .edit-profile legend {
	font-size: 20px;
	font-weight: bold;
	margin: 0px;
	padding: 0px 0px 10px 0px;
}
#af-wrapper .edit-profile p {
    display: flex;
	width: 100%;
	margin: 0px;
	padding: 0px;
}
#af-wrapper .edit-profile label {
	display: inline-block;
	width: 220px;
	font-size: 13px;
}
#af-wrapper .edit-profile input, #af-wrapper .edit-profile select,  #af-wrapper .edit-profile textarea, #af-wrapper .edit-profile span {
	background-color: transparent;
	display: inline-block;
	font-size: 1em;
	margin-bottom: 15px;
	padding: 0.1em;
	width: 100%;
	max-width: 450px;
}
#af-wrapper .edit-profile input:focus, #af-wrapper .edit-profile textarea:focus {
    outline: none;
    border-bottom: 1px solid rgba(0, 0, 0, .2);
}
#af-wrapper .edit-profile input, #af-wrapper .edit-profile select {
	border: 0px;
	border-bottom: 1px solid rgba(0, 0, 0, .1);
	border-radius: 0px;
	padding: 5px;
	padding-left: 10px;
}
#af-wrapper .edit-profile input[type=checkbox] {
    border: 1px solid rgba(0, 0, 0, .1);
	margin-bottom: 15px;
	box-shadow: none;
	width: 10px;
}
#af-wrapper .edit-profile input[type=checkbox]:focus {
    outline: none;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, .2);
}
#af-wrapper .edit-profile input[type=checkbox]:checked:before {
    margin: 2px -1px;
    left: 0px;
    top: 0px;
}
#af-wrapper .edit-profile input[type=file] {
	border-bottom: none;
	padding: 0px;
}
#af-wrapper .edit-profile textarea {
	border: 1px solid rgba(0, 0, 0, .1);
	border-radius: 0px;
	height: 80px;
	padding: 10px;
}
#af-wrapper .edit-profile button {
	height: 40px;
    width: 180px;
	border: 1px solid rgba(0, 0, 0, .1);
	border-radius: 1px;
	color: #222222;
	background-color: #fff!important;
	padding: 0px;
	float: left;
	margin: 15px 0px;
	margin-right: 10px;
	font-size: 11px;
}
#af-wrapper .edit-profile button img {
    margin-left: auto;
    margin-right: auto;
}
#af-wrapper .edit-profile button:focus {
    outline:none;
    border: 1px solid rgba(0, 0, 0, .2);
}
#af-wrapper #form-submit-text {
    margin: 0px;
}
#af-wrapper .edit-profile .profile-signature-info, #af-wrapper .edit-profile .profile-signature-info code {
	font-size: 12px;
}
#af-wrapper .edit-profile .profile-signature-info code {
	background-color: rgba(0, 0, 0, 0.1);
	padding: 5px;
}
#af-wrapper .edit-profile .submit {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}
#af-wrapper .edit-profile .success-message, #af-wrapper .edit-profile .error-message {
    width: auto;
	font-size: smaller;
}
#af-wrapper .edit-profile .success-message {
    color: #65ad65;
}
#af-wrapper .edit-profile .error-message {
    color: #d67b6b;
}
/* Login, Reset password and register form */
#affu-form {
	position: absolute;
    left: 50%;
	display: none;
}
#affu-form .form-container {
    position: relative;
    width: 400px;
    background-color: #fbfbfb;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 5px!important;
    padding: 20px;
    left: -50%;
    box-shadow: 0px 0px 20px 2px rgba(0, 0, 0, 0.1);
	z-index: 9999;
}
#affu-form .form-field {
    width: 100%;
    margin-bottom: 15px;
}
#affu-form .form-field p {
    margin-bottom: 5px;
}
#affu-form .form-icon {
    width: 29px;
    height: 40px;
    position: absolute;
    background-color: rgba(0, 0, 0, .1);
    padding: 9.5px;
    border-radius: 5px 0px 0px 5px!important;
}
#affu-form .form-input {
    margin-left: 29px;
}
#affu-form .form-input input {
    width: 100%;
	height: 40px;
	border-radius: 0px 5px 5px 0px!important;
	font: normal;
	font-size: 14px;
}
#affu-form .form-input input:focus {
    outline: none;
    border-color: rgba(0, 0, 0, .1);
}
#affu-form button {
    height: 40px;
    width: 100%;
	border: 1px solid rgba(0, 0, 0, .1);
	border-radius: 5px;
	color: #222222;
	background-color: #fff!important;
	padding: 0px;
	font-size: 11px;
}
#affu-form button:hover, #affu-form button:focus {
	color: #222222;
	background-color: #fff;
	outline: none;
}
#affu-form button:active {
    border: 2px solid rgba(0, 0, 0, .05);
}
#affu-form button img {
    margin-left: auto;
    margin-right: auto;
}
#affu-form .form-checkbox input[type=checkbox] {
    border: 1px solid rgba(0, 0, 0, .1);
	margin-bottom: 15px;
	box-shadow: none;
	margin: 0px 5px 5px 0px;
	border-radius: 3px;
}
#affu-form .form-checkbox input[type=checkbox]:focus {
    outline: none;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, .2);
}
#affu-form .form-checkbox input[type=checkbox]:checked:before {
    margin: 2px -1px;
    left: 0px;
    top: 0px;
}
#affu-form label {
    font-size: 13px;
    margin: 0px;
    padding: 0px;
}
#affu-form .form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#affu-form .form-link {
    float: right;
	cursor: pointer;
}
#affu-form .error-message p{
	width: 100%;
	text-align: center;
    color: red;
}
#affu-form .success-message p{
	width: 100%;
	text-align: center;
}
#affu-form .resend-confirmation {
    font-size: smaller!important;
    cursor: pointer;
}
#affu-form .recaptcha-info {
	width: 100%;
	margin: 40px 0px -20px 0px;
	font-size: smaller;
	text-align: center;
	color: rgba(0, 0, 0, .4);
}
#affu-form .recaptcha-info a {
    color: rgba(0, 0, 0, .6);;
}
#affu-form a {
    text-transform: none;
    font-size: 13px;
    text-decoration: none;
}
@media screen and (max-width: 782px) {
    #affu-form {
        position: static;
        box-shadow: none;
    }
    #affu-form .form-container {
        position: static;
        box-shadow: none;
        width: 100%;
    }
}
/* Notifications */
#affu-notifications {
    display: flex;
    align-items: center;
    float: right;
    position: relative;
    margin: 0px;
    padding: 0px 14px;
    height: 44px;
    box-sizing: border-box;
}
#affu-notifications .icon {
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}
#affu-notifications .badge {
    position: absolute;
    background-color: #fa3e3e;
    border-radius: 2px;
    color: white;
    padding: 0px 4px;
    font-size: 10px;
    top: 4px;
    right: 6px;
    box-shadow: -1px 1px 4px 1px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}
#affu-notifications .popover {
    display: none;
    position: absolute;
    width: 400px;
    max-height: 500px;
    top: 50px;
    right: -2px;
    background-color: #fff;
    border: none;
	border-radius: 7px;
    box-shadow: -2px 2px 10px 2px rgba(0, 0, 0, .05);
    z-index: 999;
}
#affu-notifications .popover .items {
    max-height: 450px;
    width: 100%;
    border: 1px solid #ededed;
    border-bottom: none;
    border-radius: 5px 5px 0px 0px;
}
#affu-notifications .popover .actions {
    display: flex;
	height: 30px;
    width: 100%;
	border: 1px solid #ededed;
	border-radius: 0px 0px 5px 5px;
}
#affu-notifications .popover .actions button {
    height: 100%;
    width: 50%;
    margin: 0px;
    padding: 0px;
	background-color: rgba(0, 0, 0,.04);
    color: rgba(0, 0, 0, .8);
    font-size: 13px;
    text-transform: none;
	text-decoration: none;
    font-weight: normal;
	border-radius: 0px;
}
#affu-notifications .popover .actions button:last-child {
	border-left: 1px solid rgba(0,0,0,.1);
}
#affu-notifications .popover .actions button:hover {
    background-color: rgba(0, 0, 0,.02);
}
#affu-notifications .popover .actions button:focus {
    outline: none;
}
#affu-notifications .popover .actions button img {
    margin-left: auto;
    margin-right: auto;
}
#affu-notifications .popover .items {
    max-height: 450px;
    width: 100%;
    overflow: auto;
}
#affu-notifications .popover .items::-webkit-scrollbar {
    width: 6px!important;
}
#affu-notifications .popover .items::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .3);
    border-radius: 5px;
}
#affu-notifications .popover .items::-webkit-scrollbar-track {
    -webkit-box-shadow: none!important;
    background-color: #fff;
}
#affu-notifications .popover .items .ajax-loader img {
    margin: 10px auto;
}
#affu-notifications .popover .items .item {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, .05);
	border-bottom: 0px;
    cursor: pointer;
	position: relative;
}
#affu-notifications .popover .items .item:hover {
    background-color: rgba(0, 0, 0, .01);
}
#affu-notifications .popover .items .item:last-child {
    border: 1px solid rgba(0, 0, 0, .05);
}
#affu-notifications .popover .items .item-unread {
    background-color: rgba(37, 109, 179, .05);
}
#affu-notifications .popover .items .item a {
    padding: 0px!important;
}
#affu-notifications .popover .items .item .link {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}
#affu-notifications .popover .items .item .avatar {
    width: 40px;
    height: 40px;
}
#affu-notifications .popover .items .item .avatar img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}
#affu-notifications .popover .items .item .message {
    color: rgba(0, 0, 0, .8);
    margin: 0px 10px;
    font-size: 12px;
    width: 270px;
}
#affu-notifications .popover .items .item .message .displayname {
    font-weight: bold;
}
#affu-notifications .popover .items .item .time {
    font-size: 10px;
    width: 50px;
    text-align: right;
    color: rgba(0, 0, 0, .2);
}
#affu-notifications .popover .items .no-items {
    display: none;
	text-align: center;
    font-size: 14px;
    padding: 5px 0px;
}
@media screen and (max-width: 782px) {
    #affu-notifications {
        flex-wrap: wrap;
        float: left;
        width: 100%;
    }
    #affu-notifications .badge {
        left: 30px;
        width: 14px;
    }
    #affu-notifications .popover {
        width: 100%;
        top: 40px;
    }
    #affu-notifications .popover .items .item {
        flex-wrap: wrap;
    }
    #affu-notifications .popover .items .item .message {
        margin: 10px 0px 0px 0px;
        order: 3;
        flex: 1 0 100%;
    }
    #affu-notifications .popover .items .item .avatar {
        flex: 0 0 50%;
    }
    #affu-notifications .popover .items .item .time {
        flex: 0 0 50%;
    }
}
/* MESSAGES */
#affu-messages {
    display: flex;
    align-items: center;
    float: right;
    position: relative;
    margin: 0px;
    padding: 0px 14px;
    height: 44px;
    box-sizing: border-box;
}
#affu-messages .icon {
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}
#affu-messages .badge {
    position: absolute;
    background-color: #fa3e3e;
    border-radius: 2px;
    color: white;
    padding: 0px 4px;
    font-size: 10px;
    top: 4px;
    right: 6px;
    box-shadow: -1px 1px 4px 1px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}
#affu-messages .popover {
    display: none;
    position: absolute;
    width: 400px;
    max-height: 500px;
    top: 50px;
    right: -2px;
    background-color: #fff;
    border: none;
	border-radius: 7px;
    box-shadow: -2px 2px 10px 2px rgba(0, 0, 0, .05);
    z-index: 999;
}
#affu-messages .popover .items {
    max-height: 450px;
    width: 100%;
    border: 1px solid #ededed;
    border-bottom: none;
    border-radius: 5px 5px 0px 0px;
}
#affu-messages .popover .actions {
    display: flex;
	height: 30px;
    width: 100%;
	border: 1px solid #ededed;
	border-radius: 0px 0px 5px 5px;
}
#affu-messages .popover .actions button {
    height: 100%;
    width: 50%;
    margin: 0px;
    padding: 0px;
	background-color: rgba(0, 0, 0,.04);
    color: rgba(0, 0, 0, .8);
    font-size: 13px;
    text-transform: none;
	text-decoration: none;
    font-weight: normal;
}
#affu-messages .popover .actions button:last-child {
	border-left: 1px solid rgba(0,0,0,.1);
}
#affu-messages .popover .actions button:hover {
    background-color: rgba(0, 0, 0,.02);
}
#affu-messages .popover .actions button:focus {
    outline: none;
}
#affu-messages .popover .actions button img {
    margin-left: auto;
    margin-right: auto;
}
#affu-messages .popover .items {
    max-height: 450px;
    width: 100%;
    overflow: auto;
}
#affu-messages .popover .items::-webkit-scrollbar {
    width: 6px!important;
}
#affu-messages .popover .items::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .3);
    border-radius: 5px;
}
#affu-messages .popover .items::-webkit-scrollbar-track {
    -webkit-box-shadow: none !important;
    background-color: #fff;
}
#affu-messages .popover .items .ajax-loader {
	display: none;
}
#affu-messages .popover .items .ajax-loader img {
    margin: 10px auto;
}
#affu-messages .popover .items .item {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, .05);
	border-bottom: 0px;
    cursor: pointer;
	position: relative;
}
#affu-messages .popover .items .item:hover {
    background-color: rgba(0, 0, 0, .01);
}
#affu-messages .popover .items .item:last-child {
    border: 1px solid rgba(0, 0, 0, .05);
}
#affu-messages .popover .items .item-unread {
    background-color: rgba(37, 109, 179, .05);
}
#affu-messages .popover .items .item .avatar {
    width: 40px;
    height: 40px;
}
#affu-messages .popover .items .item .avatar img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}
#affu-messages .popover .items .item .message {
    display: flex;
    flex-direction: column;
    color: rgba(0, 0, 0, .8);
    margin: 0px 10px;
    font-size: 12px;
    width: 270px;
}
#affu-messages .popover .items .item .message i {
    font-size: 10px;
    color: rgba(0, 0, 0, .3);
}
#affu-messages .popover .items .item .message .displayname {
    font-weight: bold;
    width: 100%;
}
#affu-messages .popover .items .item .time {
    font-size: 10px;
    width: 50px;
    text-align: right;
    color: rgba(0, 0, 0, .2);
}
#affu-messages .popover .items .no-items {
    display: none;
	text-align: center;
    font-size: 14px;
    padding: 5px 0px;
}
@media screen and (max-width: 782px) {
    #affu-messages {
        flex-wrap: wrap;
        float: left;
        width: 100%;
    }
    #affu-messages .badge {
        left: 30px;
        width: 14px;
    }
    #affu-messages .popover {
        width: 100%;
        top: 40px;
    }
    #affu-messages .popover .items .item {
        flex-wrap: wrap;
    }
    #affu-messages .popover .items .item .message {
        margin: 10px 0px 0px 0px;
        order: 3;
        flex: 1 0 100%;
    }
    #affu-messages .popover .items .item .avatar {
        flex: 0 0 50%;
    }
    #affu-messages .popover .items .item .time {
        flex: 0 0 50%;
    }
}