/*************/
/*  SPECIAL  */
/*************/

::selection {
    background-color: #E13300;
    color: white;
}

::-moz-selection {
    background-color: #E13300;
    color: white;
}

/***************/
/*  BASE-TAGS  */
/***************/

body {
    background-color: #666;
    margin: 0.1em;
    font: 13px/20px normal Helvetica, Arial, sans-serif;
    letter-spacing: 0.1em;
    color: #ccc;
}
body.warn {
    animation: redWarn 3s linear infinite;
}

a {
    color: #0066cc;
    background-color: transparent;
    font-weight: normal;
}

h1 {
    color: #f3cf00;
    background-color: transparent;
    border-bottom: 1px solid #D0D0D0;
    font-size: 19px;
    font-weight: normal;
    margin: 0 0 14px 0;
    padding: 14px 15px 10px 15px;
}

code {
    font-family: Consolas, Monaco, Courier New, Courier, monospace;
    font-size: 12px;
    background-color: #f9f9f9;
    border: 1px solid #D0D0D0;
    color: #002166;
    display: block;
    margin: 14px 0 14px 0;
    padding: 12px 10px 12px 10px;
}

form {
    margin: 0;
    padding: 0;
}

p.footer {
    position: absolute;
    display: block;
    width: 99%;
    bottom: 0.5vh;
    text-align: right;
    border-top: 1px solid #D0D0D0;
    line-height: 2vh;
    padding: 0.1em 10px 0 10px;
    margin: 10px 0 0 0;
    height: 2vh;
    font-size: 1.5vh;
}
p.footer .warn{
    animation: blinker 1s linear infinite;
    color: gold;
}
p.footer .alert {
    color: #E13300;
    animation: blinker 1s linear infinite;
}
p.footer .online {
    color: #0066cc;
}
p.footer .standby {
    color: #c96e22;
}
p.footer .offline {
    color: #E13300;
}

*[title] {
    cursor: help;
}

/****************/
/*  ANIMATIONS  */
/****************/

@keyframes blinker {
    50% {
        opacity: 0.5;
    }
}

@keyframes statusShow {
    0% {
        margin-top: -10vh;
    }
    10% {
        margin-top: 0;
    }
    13% {
        margin-top: -1vh;
    }
    80% {
        margin-top: -1vh;
    }
    100% {
        margin-top: -10vh;
    }
}

@keyframes clipMe {
    0%, 100% {
        clip: rect(0px, 220px, 2px, 0px);
    }
    25% {
        clip: rect(0px, 2px, 220px, 0px);
    }
    50% {
        clip: rect(218px, 220px, 220px, 0px);
    }
    75% {
        clip: rect(0px, 220px, 220px, 218px);
    }
}

@keyframes clipMeEv {
    0%, 100% {
        clip: rect(0vh, 100vh, 1vh, 0vh);
    }
    25% {
        clip: rect(0vh, 1vh, 100vh, 0vh);
    }
    50% {
        clip: rect(100vh, 100vh, 100vh, 0vh);
    }
    75% {
        clip: rect(0vh, 100vh, 100vh, 99vh);
    }
}

@keyframes blinkMeEv {
    0%, 100% {
        border-color: #c96e22;
    }
    50% {
        border-color: #1E90FF;
    }
}

@keyframes showMeEv {
    0%, 100% {
        opacity: 0;
        z-index: -1;
    }
    1% {
        z-index: 900;
    }
    10% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    99% {
        z-index: 900;
    }
}

@keyframes rotateMe {
    0% {
        background-size: 70% 70%;
    }
    21% {
        opacity: 1;
    }
    25% {
        background-size: 0.25% 70%;
    }
    29% {
        opacity: 0.7;
    }
    50% {
        background-size: 70% 70%;
    }
    71% {
        opacity: 0.7;
    }
    75% {
        background-size: 0.25% 70%;
    }
    79% {
        opacity: 1;
    }
}
@keyframes redWarn {
    0%, 100% {
        background-color: #300;
    }
    50% {
        background-color: #933;
    }
}
@keyframes dialogGlow {
    0%, 100% {box-shadow: -0.2vh -0.2vh 0.5vh 0.1vh rgba(55, 168, 255, 0.5);}
    50% {box-shadow: -0.2vh -0.2vh 1vh 0.1vh rgba(55, 168, 255, 0.75);}
}
@keyframes dialogInnerGlow {
    0%, 100% {box-shadow: 0.2vh 0.2vh 0.75vh 0.25vh rgba(0, 0, 0, 0.5);}
    50% {box-shadow: 0.2vh 0.2vh 1.5vh 0.25vh rgba(0, 0, 0, 0.75);}
}

/**************/
/*   LAYOUT   */
/**************/

#body {
    padding: 2vh 1vh 0 1vh;
    overflow-y: auto;
    display: block;
    height: 82.5vh;
    position: relative;
    z-index: 300;
}

#container {
    position: relative;
    background-color: #000;
    box-shadow: 0.25vh 0.25vh 0.75vh 0.25vh rgba(0, 0, 0, 0.75);
    border-radius: 0.5em;
    overflow: hidden;
}

#container_outer {
    margin: 1vh 1vw;
    box-shadow: -0.25vh -0.25vh 0.5vh 0.125vh rgba(240, 130, 169, 0.5);
    border-radius: 0.5em;
}

#container_inner {
    padding-bottom: 3vh;
    overflow: hidden;
    min-height: 94.5vh;
    border-radius: 0.5em;
}

#head {
    position: relative;
    padding: 1vh 0 1vh 12vh;
    height: 7vh;
    max-height: 200px;
    background: url("/logo.png") no-repeat;
    background-size: contain;
    background-position: 1vh 0;
    background-color: #196450;
    box-shadow: 0 0.5vh 0.5vh 0.25vh rgba(10, 10, 10, 0.5);
    z-index: 1000;
}

#head h1 {
    border: 0;
    margin: 2.6vh 0 0;
    padding: 0;
    font-size: 2.25em;

}

/*************/
/*   TABLE   */
/*************/

#container,
#container table {
   /* border: 1px dotted #999;*/
    border-collapse: collapse;
    background-color: #222 !important;
    box-shadow: none;
}

#container th, #container td {
    padding: 0.25em 0.5em;
    border: 2px solid #ff2752;
    color: #eee;
    font-size: 1.5em;
    line-height: 2em;
    background-color: #222 !important;
    vertical-align: middle;
}
#container th {
    color: #ff2752;
    background-color: #f3cf00 !important;
}

#container td.action {
    text-align: center;
}
#container .absage td {
    font-size: 1.2em;
    color: #999;
    background-image: linear-gradient(-45deg, rgba(255, 55, 55, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 55, 55, 0.2) 50%, rgba(255, 55, 55, 0.2) 75%, transparent 75%, transparent) !important;
    background-size: 25px 25px !important;
    /*background: #00AAEE !important;*/
}
#container .absage:hover td {
    color: #bbb;
    background-image: linear-gradient(-45deg, rgba(255, 55, 55, 0.1) 25%, transparent 25%, transparent 50%, rgba(255, 55, 55, 0.1) 50%, rgba(255, 55, 55, 0.1) 75%, transparent 75%, transparent) !important;

}
#container .unbekannt td {
    font-size: 1.2em;
    color: #999;
    background-size: 25px 25px !important;
    background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent) !important;
    /*background: #00AAEE !important;*/
}
#container .unbekannt:hover td {
    color: #bbb;
    background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.1) 75%, transparent 75%, transparent) !important;

}
#container .unbekannt td {
    font-size: 1em;
}
#container .unbekannt.arrived td {
    color: #282;
}
#container .absage td {
    font-size: 1em;
}
#container .absage.arrived td {
    color: #282;
}
#container .arrived td {
    font-size: 1.2em;
}
#container .unbekannt.arrived td {
    color: #282;
    background-image: none !important;
    background: #222 !important;
}
#container .arrived td.action {
    font-size: 1em;
}
#container .arrived td.action a {
    font-size: 0.75em;
}
#container #log.arrived td.action {
    font-size: 1.5em;
}

#container tr:hover td {
    /*background-color: #c96e22 !important;*/
    color: #0066cc;
}

#container tr:hover td a {
    color: #0066cc;
    border-color: #0066cc;
}


.hide_unbekannt #container .unbekannt {
    display: none;
}
.hide_absage #container .absage {
    display: none;
}
.hide_unbekannt #container .unbekannt.arrived {
    display: block;
}
.hide_absage #container .absage.arrived {
    display: block;
}
.hide_arrived #container .absage.arrived,
.hide_arrived #container .teilnahme.arrived,
.hide_arrived #container .unbekannt.arrived {
    display: none;
}

.options li {
    display: inline-block;
}

.options .show_unknown {
     display: none;
 }
.options .hide_unknown {
    display: inline-block;
}
.hide_unbekannt .options .show_unknown {
    display: inline-block;
}
.hide_unbekannt .options .hide_unknown {
    display: none;
}

.options .show_absage {
    display: none;
}
.options .hide_absage {
    display: inline-block;
}
.hide_absage .options .show_absage {
    display: inline-block;
}
.hide_absage .options .hide_absage {
    display: none;
}

.options .show_arrived {
    display: none;
}
.options .hide_arrived {
    display: inline-block;
}
.hide_arrived .options .show_arrived {
    display: inline-block;
}
.hide_arrived .options .hide_arrived {
    display: none;
}

table.filtering tbody tr {
    display: none;
}
table.filtering tbody tr.found {
    display: table-row;
}

#tblopt {
    position: absolute;
    top: 0.5em;
    left: 30vw;
    display: none;
    background-color: rgba(0,0,0,0.3);
    border-radius: 0.5em;
    padding: 0.25em 0.5em 0.05em 0.5em;
}
.is_logged_in #tblopt {
    display: block;
}

#tblopt input {
    height: 1.1em;
    width: 12em;
    font-size: 1.7em;
    padding: 0.2em 0.5em;
    border-radius: 0.25em;
}

#tblopt ul {
    margin: 0.25em 0;
    padding: 0;
}
#tblopt ul a {
    text-shadow: 0 0 1px #000;
}

/**************/
/*  MISSIONS  */
/**************/

#container #missions .due {
    background-color: crimson;
    color: white;
}

#container #missions .verysoon {
    background-color: darkorange;
    font-weight: bold;
    color: #f00;
    animation: blinker 1s linear infinite;
}

#container #missions .soon {
    background-color: orange;
    color: white;
}

#container #missions .soon td {
    color: orange;
}

#container #missions .upcoming {
    background-color: gold;
}

#container #missions .notfar {
    background-color: darkseagreen;
}

#container #missions .far {
    background-color: greenyellow;
}

#container #missions .cpos td {
    font-weight: bold;
}

#container #missions .cst td {
    color: dodgerblue;
}
#container #missions .wing td {
    background-color: #5ecdff;
    color: #000;
}
#container #missions .wing.cst td {
    color: #fff;
}
#container #missions .MissionCompleted td {
    opacity: 0.6;
    color: #666;
    font-size: 0.85em;
    font-weight: normal;
}
#container #missions .MissionCompleted .set_inactive {
    display: none;
}

#container #missions tr td {
    background-color: #ccc;
}
#container #missions_places tr td {
    background-color: #ccc;
}

#container #missions em {
    font-weight: normal !important;
    font-style: normal;
    font-size: 0.8em;
    float: right;
}

.actionbutton {
    float: right;
    text-decoration: none;
    display: inline-block;
    width: 1em;
    height: 1em;
    color: #fff;
    background-color: dodgerblue;
    text-align: center;
    line-height: 1.05em;
    font-size: 0.8em;
    font-weight: bold;
}

.actionbutton:hover {
    background: #c96e22;
}

/***************/
/*   CLASSES   */
/***************/

.clickable {
    cursor: pointer;
}

.shidden pre {
    display: none;
}

/*.shidden:hover pre, */
.shidden.show pre {
    display: block;
}

.refresh {
    display: inline;
    font-size: 0.5em;
}


/**************/
/*    TABS    */
/**************/

.tabs {
    position: absolute;
    top: 1vh;
    right: 1vh;
    display: block;
    margin: 0;
    padding: 0;
}

.tabs li {
    display: inline-block;
    margin-left: 1vh;
}

.tabs li a {
    display: inline-block;
    font-size: 1.5em;
    padding: 0.5em 1em;
    text-decoration: none;
    color: #f082a9;
    border: 2px solid #f082a9;
    border-radius: 0.6em;
}

.tabs li a:hover {
    color: #f3cf00;
    border: 2px solid #f3cf00;
    background-color: #e7005e;
    box-shadow: 0 0 0.7vh 0.2vh rgba(55, 168, 255, 0.5);
}

.tabs li a:active {
    color: #f3cf00;
    border: 2px solid #f3cf00;
    background-color: #e7005e;
    box-shadow: 0 0 0.75vh 0.25vh rgba(255, 255, 255, 0.5);
}

.tabs .sel a {
    color: #f3cf00;
    border: 2px solid #f3cf00;
}

.tabs .sel a:hover {
}

/**************/
/*   DIALOG   */
/**************/

.dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0 -50% 0 0;
    transform: translate(-50%, -50%);
    border-radius: 1em;
    box-shadow: -0.2vh -0.2vh 0.5vh 0.1vh rgba(55, 168, 255, 0.5);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.6s;
}

.dialog.show {
    z-index: 777;
    opacity: 1;
    transition: opacity 0.6s;
    animation: dialogGlow 3s ease-in-out 100;
}

.dialog_inner {
    border: 2px solid #c96e22;
    border-radius: 1em;
    padding: 2vh 2vh;
    box-shadow: 0.2vh 0.2vh 0.75vh 0.25vh rgba(0, 0, 0, 0.5);
}
.show .dialog_inner {
    animation: dialogInnerGlow 3s ease-in-out 100;
}

.dialog input {
    margin-top: 0.5em;
    margin-bottom: 0.75em;
    font-size: 1.5em;
    padding: 0.3em 0.5em;
    border: 0;
    background: #111;
    color: #0066cc;
    letter-spacing: 0.1em;
}

.dialog label {
    color: #c96e22;
    margin-top: 0.75em;
    margin-bottom: 0.5em;
    font-size: 1.5em;
    letter-spacing: 0.1em;
}


/**************/
/*   BUTTON   */
/**************/

.button,
.dialog .button {
    display: inline-block;
    font-size: 1.5em;
    padding: 0.25em 0.5em;
    text-decoration: none;
    color: #f082a9;
    background-color: #333;
    border: 2px solid #f082a9;
    border-radius: 0.5em;
    margin-bottom: 0.25em;
    cursor: pointer;
}

#container .button:focus,
#container .button:hover,
#container .button.sel:focus,
#container .button.sel:hover,
#container .dialog .button:focus,
#container .dialog .button:hover {
    color: #f3cf00;
    border: 2px solid #f3cf00;
    background-color: #e7005e;
    box-shadow: 0 0 0.7vh 0.2vh rgba(55, 168, 255, 0.5);
}

.button.sel,
.button.sel {
    color: #c96e22;
    border: 2px solid #0055aa;
    background-color: #333;
    box-shadow: 0 0 0.7vh 0.2vh rgba(55, 168, 255, 0.5);
}

.button:active,
.dialog .button:active {
    color: #ccc;
    border: 2px solid #0066cc;
    background-color: #c96e22;
    box-shadow: 0 0 0.75vh 0.25vh rgba(255, 255, 255, 0.5);
}

/******************/
/* STATUS-MESSAGE */
/******************/

.status_message {
    position: absolute;
    margin-top: -10vh;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, 0);
    max-width: 80vw;

    background-color: #222;
    border: 2px solid #0066cc;
    border-top: 0;
    box-shadow: 0 0.2vh 0.75vh 0.25vh rgba(0, 0, 0, 0.75);
    border-bottom-left-radius: 1em;
    border-bottom-right-radius: 1em;
    padding: 2.0vh 1.5vh 1.5vh 1.5vh;
    z-index: 999;
}

.status_message.show {
    animation: statusShow 6s ease-out 1;
}

.status_message li {
    list-style-type: none;
    border-bottom: 1px dotted #333;
}

/**************/
/* FLAG-TABLE */
/**************/

table .yes {
    background-color: darkgreen;
}

table .no {
    background-color: darkred;
}

table .no.invers {
    background-color: darkgreen;
}

table .yes.invers {
    background-color: darkred;
}

table .on {
    background-color: darkcyan;
}

table .off {
    background-color: #888800;
}

table .off.invers {
    background-color: darkcyan;
}

table .on.invers {
    background-color: #888800;
}

table .deployed {
    background-color: dodgerblue;
}

table .retraced {
    background-color: darkblue;
}

table .up {
    background-color: dodgerblue;
}

table .down {
    background-color: darkred;
}

table .down.invers {
    background-color: dodgerblue;
}

table .up.invers {
    background-color: darkred;
}

table.noff .retraced ,
table.noff .retraced .invers,
table.noff .no,
table.noff .no.invers,
table.noff .off,
table.noff .off.invers {
    background-color: transparent;
}


.missions th {color: #333;}
body table.tablesorter, body table.tablesorter thead tr th {
    font-size: 1em;
}
.csys, .edcom {cursor: pointer}


    /***************/
/*  DEBUGGING  */
/***************/

#codeigniter_profiler {
    padding: 2em 0;
}

#codeigniter_profiler fieldset {
    display: none;
}

#codeigniter_profiler:hover fieldset {
    display: block;
}

#debug_str #debug_str_inner {
    display: none;
}

#debug_str:hover #debug_str_inner {
    display: block;
}

/****************/
/* TOOLS-OVERLAY */
/****************/

#tools {
    display: block;
    position: absolute;
    z-index: -1;
    height: 86vh;
    width: 91vw;
    padding: 5vh 3vw 0 3vw;
    background-color: rgba(5, 5, 5, 0.85);
    opacity: 0;
    transition: opacity 0.6s;
    border-bottom-left-radius: 0.5em;
    border-bottom-right-radius: 0.5em;
    margin-top: -92vh;
}

#tools.active {
    display: block;
    z-index: 888;
    opacity: 1;;
    margin-top: 0;
    transition: opacity 0.6s;
}

#tools hr {
    margin: 1.5em 0;
}

/****************/
/* WAIT-OVERLAY */
/****************/

#wait {
    display: block;
    position: absolute;
    z-index: -1;
    height: 86vh;
    width: 100%;
    background-color: rgba(5, 5, 5, 0.75);
    opacity: 0;
    transition: opacity 0.6s;
}

#wait.active {
    display: block;
    z-index: 900;
    opacity: 0.95;
    transition: opacity 0.6s;
    transition-delay: 0.35s;
    cursor: wait;
}

#wait .bb, #wait .bb::before, #wait .bb::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#wait .bb {
    width: 200px;
    height: 200px;
    margin: auto;
    background: url("/logo.png") no-repeat center rgba(0, 0, 0, 1);
    background-size: 70% 70%;
    color: dodgerblue;
    box-shadow: inset 0 0 0 2px #c96e22;
    /*&:hover {
        &::after,
        &::before {
          background-color: rgba(#f00, .3);
        }
      }*/
}
#wait.active .bb {
    animation: rotateMe 4s ease-in-out infinite;
}

#wait .bb::before, #wait .bb::after {
    content: '';
    z-index: -1;
    margin: -5%;
    box-shadow: inset 0 0 0 3px;
}
#wait.active .bb::before, #wait.active .bb::after {
    animation: clipMe 8s linear infinite;
}

#wait.active .bb::before {
    animation-delay: -4s;
}

#wait *,
#wait *::before,
#wait *::after {
    box-sizing: border-box;
}

/*****************/
/* EVENT-OVERLAY */
/*****************/

#event {
    display: block;
    position: absolute;
    z-index: -1;
    background-color: rgba(5, 5, 5, 0.75);
    opacity: 0;
    height: 50vh;
    width: 50vh;
    transition: opacity 0.6s;
    left: 49vw;
    margin: 20vh 0 0 -25vh;
    box-shadow: -0.3vh -0.3vh 0.5vh 0.1vh rgba(55, 168, 255, 0.5);
    border-radius: 1vh;
}
#event_inner {
    display: block;
    height: 50vh;
    width: 50vh;
    border-radius: 1vh;
    box-shadow: 0.3vh 0.3vh 0.5vh 0.1vh rgba(5, 5, 5, 0.75);
    border: 0.25vh solid #c96e22;
}
.active #event_inner {
    animation: blinkMeEv 2s ease-in-out 4;
}

#event.active {
    display: block;
    /*z-index: 900;
    opacity: 0.95;
    transition: opacity 0.6s;*/
    cursor: wait;
    animation: showMeEv 8s linear 1;
}
#event h2 {
    position: absolute;
    top: 0.25em;
    text-align: center;
    width: 100%;
    color: dodgerblue;
    font-size: 2em;
}
#event p {
    position: absolute;
    bottom: 1em;
    text-align: center;
    width: 100%;
    color: dodgerblue;
    font-weight: bold;
}
#event.active p {
    animation: blinker 1s linear infinite;
}
#event .bb, #event .bb::before, #event .bb::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#event .bb {
    width: 30vh;
    height: 30vh;
    margin: auto;
    background: url("/logo.png") no-repeat center rgba(0, 0, 0, 1);
    background-size: 70% 70%;
    color: dodgerblue;
    box-shadow: inset 0 0 0 2px #c96e22;
    /*&:hover {
        &::after,
        &::before {
          background-color: rgba(#f00, .3);
        }
      }*/
}
#event.active .bb {
    animation: rotateMe 4s ease-in-out 1;
}

#event .bb::before, #event .bb::after {
    content: '';
    z-index: -1;
    margin: -5%;
    box-shadow: inset 0 0 0 3px;
}
#event.active .bb::before, #event.active .bb::after {
    animation: clipMeEv 8s ease-in-out 1;
}

#event.active .bb::before {
    animation-delay: -4s;
}

#event *,
#event *::before,
#event *::after {
    box-sizing: border-box;
}


/***********************/
/* SMALL EVENT-OVERLAY */
/***********************/

#small_event {
    display: block;
    position: absolute;
    z-index: -1;
    background-color: rgba(5, 5, 5, 0.75);
    opacity: 0;
    height: 16vh;
    width: 55vh;
    transition: opacity 0.6s;
    left: 49vw;
    margin: 20vh 0 0 -27vh;
    box-shadow: -0.3vh -0.3vh 0.5vh 0.1vh rgba(55, 168, 255, 0.5);
    border-radius: 1vh;
}
#small_event_inner {
    display: block;
    height: 16vh;
    width: 55vh;
    border-radius: 1vh;
    box-shadow: 0.3vh 0.3vh 0.5vh 0.1vh rgba(5, 5, 5, 0.75);
    border: 0.25vh solid #c96e22;
}
.active #small_event_inner {
    animation: blinkMeEv 2s ease-in-out 4;
}

#small_event.active {
    display: block;
    /*z-index: 900;
    opacity: 0.95;
    transition: opacity 0.6s;*/
    cursor: wait;
    animation: showMeEv 8s linear 1;
}
#small_event h2 {
    position: absolute;
    top: 0.25em;
    right: 1vh;
    text-align: center;
    width: 38vh;
    color: dodgerblue;
    font-size: 2em;
    margin: 2vh 0 1vh 0;
    line-height: 1.2em;
}
#small_event p {
    position: absolute;
    bottom: 1em;
    text-align: center;
    right: 1vh;
    width: 38vh;
    color: dodgerblue;
    font-weight: bold;
    margin: 1vh 0 0.75vh 0;
    line-height: 1.5em;
}
#small_event.active p {
    animation: blinker 1s linear infinite;
}
#small_event .bb, #small_event .bb::before, #small_event .bb::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#small_event .bb {
    width: 12vh;
    height: 12vh;
    margin: auto 2vh;
    background: url("/logo.png") no-repeat center rgba(0, 0, 0, 1);
    background-size: 70% 70%;
    color: dodgerblue;
    box-shadow: inset 0 0 0 2px #c96e22;
    /*&:hover {
        &::after,
        &::before {
          background-color: rgba(#f00, .3);
        }
      }*/
}
#small_event.active .bb {
    animation: rotateMe 4s ease-in-out 1;
}

#small_event .bb::before, #small_event .bb::after {
    content: '';
    z-index: -1;
    margin: -5%;
    box-shadow: inset 0 0 0 3px;
}
#small_event.active .bb::before, #small_event.active .bb::after {
    animation: clipMeEv 8s ease-in-out 1;
}

#small_event.active .bb::before {
    animation-delay: -4s;
}

#small_event *,
#small_event *::before,
#small_event *::after {
    box-sizing: border-box;
}

