#agnia_screen {
    font-family: Verdana, sans-serif;
}

div#agnia_screen_block
{
    position: fixed;
    top: 0;
    left: 0;
    background-color: #444;
    opacity: 0.6;
    height: 100%;
    width: 100%;
}

div#agnia_screen_parent
{
    position: fixed;
    top: 0;
    left: 0;
    background-color: transparent;
    height: 100%;
    width: 100%;
}

div#agnia_screen
{
    background-color: #BBB;
    min-height: 100px;
    width: 50%;
    opacity: 1;
    min-width: 350px;
    margin: auto;
    margin-top: 35px;
}

div#agnia_screen div#agnia_screen_close
{
    float: right;
    margin: 15px;
    color: white;
    cursor: pointer;
}

div#agnia_screen div#agnia_screen_content
{
    padding: 20px;
    background: #333;
    color: white;
}

div#agnia_screen div#agnia_screen_content .agnia_screen_logo {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    text-align: center;
    border-bottom: 1px solid rgb(153,153,153);
}
    
div#agnia_screen div#agnia_screen_content > h1 {
    text-align: center;
    font-size: 1.5em;
    border: none;
}

p.agnia_error
{
    color: #440000;
}

#agnia_screen_content #permissions {
    margin-bottom: 40px;
    padding-left: 20px;
    list-style: none;
    font-size: 16px;
}

#agnia_screen_content #permissions > li {
    margin: 10px 0;
}

#agnia_screen_content #permissions ul {
    margin: 10px 0;
    font-size: 0.95rem;
}

#agnia_screen_content #permissions ul > li {
    margin: 5px 0;
}

#agnia_screen_content ul#permissions > li.error label {
    color: #ec4040;
}

#agnia_screen_content ul#permissions a {
    color: #06d6a0;
    font-size: 0.8em;
    text-decoration: underline;
}


#agnia_screen div#agnia_screen_content h1 {
    padding-bottom: 10px;
    border-bottom: 1px solid #999;
}

#agnia_screen div#agnia_screen_content button {
    padding: 10px 15px;
    font-size: 16px;
    color: #fbfbfb;
    text-transform: uppercase;
    background: #06d6a0;
    border: none;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

#agnia_screen div#agnia_screen_content #reject {
    background: transparent;
    color: #fd6f4d;
}

#agnia_screen div#agnia_screen_content button:hover,
#agnia_screen div#agnia_screen_content button:focus {
    cursor: pointer;
    background-color: #04a479;
}

#agnia_screen div#agnia_screen_content #permissions li > label {
    padding-right: 10px;
}

#agnia_screen div#agnia_screen_content #permissions li  > .permission_details {
    display: none;
    max-height: 100px;
    box-sizing: border-box;
    margin-top: 10px;
    padding: 10px;
    font-size: 0.8em;
    line-height: 1.4;
    overflow-y: scroll;
    opacity: 0.7;
    border: 1px solid #ffffff2b;
    background: #4b4b4b;
}

#agnia_screen div#agnia_screen_content #permissions li  > .permission_details a {
    color: #06d6a0;
}

#agnia_screen_parent div#timer-block {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #FFF;
    opacity:0.5;
}

#agnia_screen_parent div#timer {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: transparent;
}

#agnia_screen_parent div#timer-content {
    background-color: #333;
    font-color: larger;
    color: #FFF;
    padding: 20px;
    min-height: 200px;
    /*width: 25%;*/
    min-width: 350px;
    margin: auto;
    margin-top: 100px;

    width: 50%;
    height: 54%;
    margin: 30px 0 0 25%;
    font-size: 1.4em;
    line-height: 2;
    text-align: center;
} 

#agnia_screen_parent div#timer-content .logo-wrapper  {
    margin-bottom: 20%;
    padding-bottom: 20px;
    border-bottom: 1px solid #5f5f5f;
}

#agnia_screen_parent div#timer-content .timer-content-inner  {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#agnia_screen_parent div#timer-content .timer-content-inner > .loader {
    display: block;
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
}

#agnia_screen_parent div#timer-content .timer-content-inner > .loader::after {
    content: " ";
    display: block;
    width: 50px;
    height: 50px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid #06d6a0;
    border-color: #06d6a0 transparent #06d6a0 transparent;
    animation: spin-loader 1.2s linear infinite;
}

@keyframes spin-loader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.agnia-selector {
    width: 330px !important; 
    height: 356px !important;
    color: white;
    background-color: #446 !important; 
}

.agnia-selector h4 {
    padding-bottom: 10px;
    padding-left: 40px;
    border-bottom: 1px solid #666;
    opacity: 0.5;
}

.agnia-selector dd {
    padding-top: 10px;
}

.agnia-selector dd:hover {
    cursor: pointer;
}

form input[data-agnia-key] {
    position: relative;
    background: #fff url(chrome-extension://__MSG_@@extension_id__/icons/icon96.png) no-repeat 96% 50% !important; 
    background-size: auto 60% !important;
}

form input[data-agnia-key][readonly] {
    background-color: #BBB !important; 
}

form input[data-agnia-key]:hover {
	cursor: pointer;
}

