/**
 CSS for bar mode Notices
 */
.bar {
    position: static;
    width: 100%;
    margin-bottom: 2px !important;
    display: inline-block;
}

.bar-content h4 {
    clear: left;
    float: left;
    position: relative;
    text-align: center;
    padding: 0 5px;
}

.bar-content h4:after {
    content: "";
    position: absolute;
    z-index: 1;
}

.bar-content > div {
    display: block;
    line-height: 40px;
    position: relative;
}

.bar-content > div p {
    margin: 0;
    font-size: 1em;
}

.bar-content button {
    position: absolute;
    border: none;
    padding: 0 5px;
    font-family: 'Lato', Calibri, Arial, sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    display: block;
    margin: 0;
}

/* Sizes */
/* xLarge */
.bar.xLarge {
    height: 60px;
}

.bar.xLarge .bar-content > div {
    line-height: 60px;
}

.bar.xLarge .bar-content h4 {
    height: 60px;
    margin-right: 30px;
    line-height: 60px;
}

.bar.xLarge .bar-content h4::after {
    top: 15px;
    right: -30px;
    border: solid 15px transparent;
}

.bar.xLarge .bar-content button {
    top: 12.5px;
    right: 12.5px;
    border-radius: 20px;
    font-size: 1.4em;
    width: 35px;
    height: 35px;
    line-height: 35px;
}
/**
 * Titleless notice
 */
.bar.xLarge .bar-content >div:first-child{
    margin-left: 20px;
}

/* large*/
.bar.large {
    height: 50px;
}

.bar.large .bar-content > div {
    line-height: 50px;
}

.bar.large .bar-content h4 {
    height: 50px;
    margin-right: 25px;
    line-height: 50px;
}

.bar.large .bar-content h4::after {
    top: 12.5px;
    right: -25px;
    border: solid 12.5px transparent;
}

.bar.large .bar-content button {
    top: 10px;
    right: 10px;
    border-radius: 15px;
    font-size: 1.3em;
    width: 30px;
    height: 30px;
    line-height: 30px;
}

/**
 * Titleless notice
 */
.bar.large .bar-content >div:first-child{
    margin-left: 15px;
}

/* medium */
.bar.medium {
    height: 40px;
}

.bar.medium .bar-content > div {
    line-height: 40px;
}

.bar.medium .bar-content h4 {
    height: 40px;
    margin-right: 20px;
    line-height: 40px;
}

.bar.medium .bar-content h4::after {
    top: 10px;
    right: -20px;
    border: solid 10px transparent;
}

.bar.medium .bar-content button {
    top: 7.5px;
    right: 7.5px;
    border-radius: 15px;
    font-size: 1.1em;
    width: 25px;
    height: 25px;
    line-height: 25px;
}

/**
 * Titleless notice
 */
.bar.medium .bar-content >div:first-child{
    margin-left: 10px;
}

/* small */
.bar.small {
    height: 30px;
}

.bar.small .bar-content > div {
    line-height: 30px;
}

.bar.small .bar-content h4 {
    height: 30px;
    margin-right: 15px;
    line-height: 30px;
}

.bar.small .bar-content h4::after {
    top: 7.5px;
    right: -15px;
    border: solid 7.5px transparent;
}

.bar.small .bar-content button {
    top: 5px;
    right: 5px;
    border-radius: 15px;
    font-size: 1em;
    width: 20px;
    height: 20px;
    line-height: 20px;
}

/**
 * Titleless notice
 */
.bar.small .bar-content >div:first-child{
    margin-left: 5px;
}

/* End of Sizes */
/* Colors*/
/* White */
.bar.notice-white .bar-content {
    color: #000;
    background: #fff;
}

.bar.notice-white .bar-content {
    color: #000;
    background: #fff;
}

.bar.notice-white .bar-content h4 {
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 1);
    color: #fff;
}

.bar.notice-white .bar-content h4::after {
    border-left-color: rgba(0, 0, 0, 1);
}

.bar.notice-white .bar-content button {
    background: transparent;
    color: #000;
    box-shadow: 0 0 5px 0 #a4a4a4 inset;
}

.bar.notice-white .bar-content button:hover {
    background: #a4a4a4;
    color: #fff;
}

.bar.notice-white .bar-footer {
    color: #000;
    background: #fff;
}

.bar.notice-white .bar-footer button {
    background: #ebebeb;
    color: #333;
}

.bar.notice-white .bar-footer button:hover {
    background: #a4a4a4;
    color: #555;
}

/* End of White*/
/* Red */
.bar.notice-red .bar-content {
    color: #fff;
    background: #e74c3c;
}

.bar.notice-red .bar-content h4 {
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    background: #ffffff;
    color: #000;
}

.bar.notice-red .bar-content h4:after {
    border-left-color: #FFF;
}

.bar.notice-red .bar-content button {
    background: #c0392b;
    color: #fff;
    box-shadow: 0 0 5px 0 #fff inset;
}

.bar.notice-red .bar-content button:hover {
    background: #A5281B;
}

.bar.notice-red .bar-footer {
    color: #fff;
    background: #e74c3c;
}

/* End of Red */
/* Green */
.bar.notice-green .bar-content {
    color: #fff;
    background: #0dad50;
}

.bar.notice-green .bar-content h4 {
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    background: #ffffff;
    color: #000000;
}

.bar.notice-green .bar-content h4:after {
    border-left-color: #FFF;
}

.bar.notice-green .bar-content button {
    background: #0dad50;
    color: #fff;
    box-shadow: 0 0 5px 0 #fff inset;
}

.bar.notice-green .bar-content button:hover {
    background: #0a9042;
}

.bar.notice-green .bar-footer {
    color: #fff;
    background: #0dad50;
}

/* End of Green */
/* Blue */
.bar.notice-blue .bar-content {
    color: #fff;
    background: #2865fd;
}

.bar.notice-blue .bar-content h4 {
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    background: #fff;
    color: #000;
}

.bar.notice-blue .bar-content h4:after {
    border-left-color: #FFF;
}

.bar.notice-blue .bar-content button {
    background: #2865fd;
    color: #fff;
    box-shadow: 0 0 5px 0 #fff inset;
}

.bar.notice-blue .bar-content button:hover {
    background: #164dd6;
}

.bar.notice-blue .bar-footer {
    color: #fff;
    background: #2865fd;
}

/* End of Blue */
/* End of Colors */

#closeDialog.bar > div{
    text-align: center;
}
#closeDialog.bar .bar-footer button{
    margin: 5px;
    padding: 3px;
}