.chat-notification{position:fixed;margin-top: 10px;top: 10px;right: 0px;background: white;width: 300px;height: 70px;z-index:999999999;opacity: 1;-webkit-transition: opacity .5s ease-out, right .5s ease-out, transform .5s ease-out;-moz-transition: opacity .5s ease-out, right .5s ease-out, transform .5s ease-out;-ms-transition: opacity .5s ease-out, right .5s ease-out, transform .5s ease-out;-o-transition: opacity .5s ease-out, right .5s ease-out, transform .5s ease-out;transition: opacity .5s ease-out, right .5s ease-out, transform .5s ease-out;cursor: pointer;border-left: 5px solid #f15356;-webkit-transition-delay: .5s;-moz-transition-delay: .5s;-ms-transition-delay: .5s;-o-transition-delay: .5s;transition-delay: .5s;animation: upperRemoveNotifOut;animation-duration: 1s;animation-fill-mode: forwards;animation-delay: 30s !important; }
.chat-notification.no-transition{-webkit-transition: none 0s !important;-moz-transition: none 0s !important;-ms-transition: none 0s !important;-o-transition: none 0s !important;transition: none 0s !important;}
.chat-notification .dismiss{position:absolute;left: -15px;top: -11px;z-index: 99999;opacity: 0;-webkit-transition: opacity .5s ease-out;-moz-transition: opacity .5s ease-out;-ms-transition: opacity .5s ease-out;-o-transition: opacity .5s ease-out;transition: opacity .5s ease-out;-webkit-border-radius: 100%;-moz-border-radius: 100%;-ms-border-radius: 100%;border-radius: 100%;border: 3px solid white;color: white; background: #333;}
.chat-notification:hover .dismiss{opacity: 1;}
.chat-notification .dismiss .fa-close{display: table-cell;vertical-align: middle;font-size: .8em;width: 20px;height: 20px;top:-1px;}
.chat-notification .pic{position:relative;float:left;width: 70px;height:70px;padding:10px;display:inline-block;/* object-fit: cover; */}
.chat-notification .pic img{object-fit: cover; width: 100%; height: 100%;}
.chat-notification .wrapper{display: block;height: 50px;width: 205px;float: right;margin: 10px 20px 10px 0px;overflow: hidden;}
.chat-notification .wrapper .from{font-size: .7em;display: table-row;opacity: .7;}
.chat-notification .container{position:relative;display: table;/* width: 145px; */height:50px;float:right;text-align:left;vertical-align: middle;padding: 0 !important; color: black; }
.chat-notification .container p{padding: 0 !important;display: table-cell;vertical-align:middle;font-size: 0.7em;line-height: 1.3em;}

.chat-notification.not-shown{right: -300px;opacity: 0;}

.chat-notification:not(.upperRemoveNotifImmediately):hover{ animation: none !important;opacity: 1 !important;right: 0px !important; }
.upperRemoveNotif:not(:hover){ animation: upperRemoveNotif; animation-duration: 1s; animation-fill-mode: forwards; animation-delay: 0s !important; }
.upperRemoveNotifImmediately,
.chat-notification.general_notif.upperRemoveNotifImmediately,
.chat-notification.event_starting_notif.upperRemoveNotifImmediately{ animation-delay: 0s !important; animation: upperRemoveNotifOut; animation-duration: 1s; animation-fill-mode: forwards; }


/* 2020 - event starting notifs .event_starting_notif */
.chat-notification.event_starting_notif{ height: auto !important; }
.chat-notification.event_starting_notif .wrapper { margin: 10px; width: 275px; height: auto; }
.chat-notification.event_starting_notif .wrapper .container{ display: inline-block; height: auto; }
.chat-notification.event_starting_notif .wrapper .container .subject{ font-size: 1em; line-height: 1.2em; }
.chat-notification.event_starting_notif .wrapper .container img{ max-width: 100%; margin: .5em 0}
/* 2020 - event starting notifs .event_starting_notif */


/* 2020 - animate top to rearrange the notifs in case one of them gets removed by the user or not. */
.chat-notification.not-read:not(.upperRemoveNotif):not(.not-shown){ -webkit-transition: opacity .5s ease-out, right .5s ease-out, transform .5s ease-out, top .5s ease-out;-moz-transition: opacity .5s ease-out, right .5s ease-out, transform .5s ease-out, top .5s ease-out;-ms-transition: opacity .5s ease-out, right .5s ease-out, transform .5s ease-out, top .5s ease-out;-o-transition: opacity .5s ease-out, right .5s ease-out, transform .5s ease-out, top .5s ease-out;transition: opacity .5s ease-out, right .5s ease-out, transform .5s ease-out, top .5s ease-out; }


/* 2019 - general notifs */
.chat-notification.general_notif,
.chat-notification.event_starting_notif{ animation: none; }

li.area-reservada>ul>li.menu-chat>a:after, li.area-reservada>ul>li.menu-notifications>a:after{ min-width: 12px; height:20px; background: #fac90d;color: white !important; display: inline-block; margin: 0 !important; padding: 0 3px !important; position: absolute; top: 13px;right: 10px; font-family: inherit;font-weight:500;font-size:1em;text-align:center;line-height:20px;border-radius:8px;}

@keyframes upperRemoveNotif {
	from {
		opacity:0;
		right: -300px;
	}
	to {
		opacity:1;
		right: 0px;
	}
}
@keyframes upperRemoveNotifOut {
	from {
		opacity:1;
		right: 0px;
	}
	to {
		opacity:0;
		right: -300px;
	}
}

/* 2019 */
#wp-admin-bar-updates{display: none;}
/* follows */
.add_follow_bearer{ display: flex; font-family: Rubik; text-transform: uppercase; font-weight: 700;font-size: 14px; color: #f4ede3; letter-spacing: .5px; margin-top: -5px; }
.add_follow_col.follows{ flex-grow: 1; text-align: right; margin-top: -5px !important; cursor: pointer; }
.add_follow_col.follows > div { display: inline-block; }
.add_follow_col.follows i{display: inline !important; margin-left: 1em; color: #fac90d !important; }

/* notifs listing */
.notifs_listing{display: flex; flex-wrap: wrap; }
.notifs_listing .notif{ position: relative; width: 30%; min-width: 300px; max-width: 33%; flex-grow: 1; padding: 10px; }

.notifs_listing .notif.unread:before{
	content: "NEW";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 50px 50px 0;
    border-color: transparent #E7B028 transparent transparent;
    text-indent: 22px;
    color: white;
    pointer-events: none;
    z-index: 9;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.notifs_listing .notif .notif_wrapper, .notifs_listing .notif .notif_wrapper *{cursor: pointer;}
.notifs_listing .notif .notif_wrapper{
	position: relative;
	border-radius: 5px;
	padding: 0 1.3em;
	background: rgba(255,255,255,.85);
}


.notifs_listing .notif .notif_wrapper .target{display: inline-block; padding: 0; color: white; font-size: 0.5em;font-weight: 600;line-height: 2em;position: absolute;left: 0;top: 0;bottom: 0;-webkit-writing-mode: vertical-rl;writing-mode: vertical-rl;-webkit-transform: rotate(180deg);-moz-transform: rotate(180deg);transform: rotate(180deg);text-align: center;text-transform: uppercase; }
.notifs_listing .notif .notif_wrapper .target[data-type="everyone"]{ background: #0C6494; }
.notifs_listing .notif .notif_wrapper .target[data-type="delegate"]{ background: #159A4B; }
.notifs_listing .notif .notif_wrapper .target[data-type="event"]{ background: #E7B028; }

.notifs_listing .notif .notif_wrapper .rightside{margin-left: 10px !important;height: 100px;display: table;}

.notifs_listing .notif .notif_wrapper .subject{
	font-size: 0.95em;
    height: 60px;
    line-height: 1.4em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    max-height: 2.6em;
    margin-top: 15px;
    color: #2f373c;
    letter-spacing: -0.3px;
    font-weight: 500;
}
.notifs_listing .notif .notif_wrapper span.received{display: block;font-size: .5em;line-height: 1em;margin: 1.5em 0 0;opacity: 0.6;color:black;}


/* modals from codepen https://codepen.io/tobiasdev/pen/XjXgkA */
.notifs-modal,
.notifs-modal-box { z-index: 80085; }
.notifs-modal-sandbox {position: fixed;width: 100%;height: 100%;top: 0;left: 0;background: transparent; }
.notifs-modal {display: block; position: fixed;width: 100%;height: 100%;left: 0;top: 0;background: rgb(0,0,0);background: rgba(0,0,0,.8);overflow: auto;}
.notifs-modal-box {position: relative;width: 80%;max-width: 920px;margin: 100px auto;animation-name: notifs-modalbox;animation-duration: .4s;animation-timing-function: cubic-bezier(0,0,.3,1.6);}
.notifs-modal-header {padding: 20px 40px;background: #00a064;color: #ffffff;}
.notifs-modal-header, .notifs-modal-header *{color: white !important;}
.notifs-modal-body {display: inline-block;width: 100%;background: #fff;padding: 60px 40px;color: #404a46;}
.notifs-modal-content img{max-width: 100%;xfloat: left;padding-right: 1em; padding-top: .7em; padding-bottom: .7em;display: block; margin: 0 auto;}

/* Close Button */
.close-modal {text-align: right;cursor: pointer;float: right;}

/* Animation */
@-webkit-keyframes notifs-modalbox {0% {top: -250px; opacity: 0;}100% {top: 0; opacity: 1;}}
@keyframes notifs-modalbox {0% {top: -250px; opacity: 0;}100% {top: 0; opacity: 1;}}


/*  resets e logins e afins  */
@font-face{font-family:Rubik;src:url('../../../themes/salient/css/fonts/OpenSans-Regular-webfont.eot');src:url('../../../themes/salient/css/fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'), url('../../../themes/salient/css/fonts/OpenSans-Regular-webfont.woff') format('woff'), url('../../../themes/salient/css/fonts/OpenSans-Regular-webfont.ttf') format('truetype'), url('../../../themes/salient/css/fonts/OpenSans-Regular-webfont.svg#OpenSansRegular') format('svg'); font-weight:400; font-style:normal;}

body.login.wp-core-ui{ background: #eaeaea !important; background-image: url(../../../themes/upper-child/images/logo-linhas-opacidade2.png) !important;
    background-position: center !important;
    background-attachment: fixed;
	font-family: 'Rubik', 'Arial',sans-serif; font-size: 16px;
}
body.login.wp-core-ui #login h1 a{background-image: url(https://millisboa.com/mil/wp-content/uploads/2018/12/LOGOMIL-2019.png);background-size: contain; width: 100%; height: 100px;}
body.login.wp-core-ui p#nav, p#backtoblog{display:none;}
body.login.wp-core-ui p.submit input{background-color: #333; box-shadow: none; text-shadow: none;
    border: none !important;
    color: #fff;
    cursor: pointer;
    transition: all 0.45s cubic-bezier(0.25,1,0.33,1);
    -moz-transition: all 0.45s cubic-bezier(0.25,1,0.33,1);
    -webkit-transition: all 0.45s cubic-bezier(0.25,1,0.33,1);
    -o-transition: all 0.45s cubic-bezier(0.25,1,0.33,1);
    width: auto;
    font-size: 12px;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -o-border-radius: 2px; text-transform: uppercase; letter-spacing: 1px;}

body.login.wp-core-ui p.submit input:hover{background-color: #e9b100;}

body.login.wp-core-ui p.message{border-left-color: #e9b100 !important;}
body.login.wp-core-ui label{display:block;margin-bottom:1em;}
body.login.wp-core-ui input#user_login{margin-top:10px;}

