/*
Popr 2.0.0
Copyright (c) 2015 Tipue
Popr is released under the MIT License
http://www.tipue.com/popr
https://github.com/foo123/Popr2
*/

.popr2,
.popr
{
    cursor: pointer;
}
.popr2 a,
.popr a
{
    color: #333;
    text-decoration: none;
    border: 0;
}
.popr_container
{
    position: absolute;
    display: block;
    overflow: visible;
    z-index: 1000;
    border-width: 1px;
    border-color: #aaa;
    border-style: solid;
    background-color: #fff;
    color: #333;
    padding: 5px 4px;
    border-radius: 4px;
    box-shadow: 2px 2px 10px -2px rgba(0,0,0,0.5);
}
.popr_container
{
    opacity: 0;
    -webkit-transition: opacity 0.2s ease-out 0.05s;
    -moz-transition: opacity 0.2s ease-out 0.05s;
    -ms-transition: opacity 0.2s ease-out 0.05s;
    -o-transition: opacity 0.2s ease-out 0.05s;
    transition: opacity 0.2s ease-out 0.05s;
}
.popr_container.popr_visible
{
    opacity: 1;
    -webkit-transition: opacity 0.15s ease-out 0.05s;
    -moz-transition: opacity 0.15s ease-out 0.05s;
    -ms-transition: opacity 0.15s ease-out 0.05s;
    -o-transition: opacity 0.15s ease-out 0.05s;
    transition: opacity 0.15s ease-out 0.05s;
}
.popr_container:after,
.popr_container:before
{
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    z-index: 5;
}
.popr_container_bottom:not(.popr_container_left):not(.popr_container_right):after
{
    bottom: 100%; left: 50%;
    border-color: rgba(255, 255, 255, 0);
    border-bottom-color: #fff;
    border-width: 6px;
    margin-left: -6px;
}
.popr_container_bottom:not(.popr_container_left):not(.popr_container_right):before
{
    bottom: 100%; left: 50%;
    border-color: rgba(119, 119, 119, 0);
    border-bottom-color: #777;
    border-width: 7px;
    margin-left: -7px;
}
.popr_container_top:not(.popr_container_left):not(.popr_container_right):after
{
    top: 100%; left: 50%;
    border-color: rgba(255, 255, 255, 0);
    border-top-color: #fff;
    border-width: 6px;
    margin-left: -6px;
}
.popr_container_top:not(.popr_container_left):not(.popr_container_right):before
{
    top: 100%; left: 50%;
    border-color: rgba(119, 119, 119, 0);
    border-top-color: #777;
    border-width: 7px;
    margin-left: -7px;
}
.popr_container_top.popr_container_left:after,
.popr_container_bottom.popr_container_left:after,
.popr_container_left:after
{
    left: 100%; top: 50%;
    border-color: rgba(255, 255, 255, 0);
    border-left-color: #fff;
    border-width: 6px;
    margin-top: -6px;
}
.popr_container_top.popr_container_left:before,
.popr_container_bottom.popr_container_left:before,
.popr_container_left:before
{
    left: 100%; top: 50%;
    border-color: rgba(119, 119, 119, 0);
    border-left-color: #777;
    border-width: 7px;
    margin-top: -7px;
}
.popr_container_top.popr_container_right:after,
.popr_container_bottom.popr_container_right:after,
.popr_container_right:after
{
    right: 100%; top: 50%;
    border-color: rgba(255, 255, 255, 0);
    border-right-color: #fff;
    border-width: 6px;
    margin-top: -6px;
}
.popr_container_top.popr_container_right:before,
.popr_container_bottom.popr_container_right:before,
.popr_container_right:before
{
    right: 100%; top: 50%;
    border-color: rgba(119, 119, 119, 0);
    border-right-color: #777;
    border-width: 7px;
    margin-top: -7px;
}
.popr_container_bottom.popr_container_left:after,
.popr_container_bottom.popr_container_left:before
{
    top: 8px;
}
.popr_container_bottom.popr_container_right:after,
.popr_container_bottom.popr_container_right:before
{
    top: 8px;
}
.popr_container_top.popr_container_left:after,
.popr_container_top.popr_container_left:before
{
    top: auto; bottom: 8px;
}
.popr_container_top.popr_container_right:after,
.popr_container_top.popr_container_right:before
{
    top: auto; bottom: 8px;
}
.popr_container_bottom
{
    margin-top: 10px;
}
.popr_container_top
{
    margin-top: -10px;
}
.popr_container_bottom.popr_container_left
{
    margin-top: -24px;
    margin-left: -8px;
}
.popr_container_top.popr_container_left
{
    margin-top: 24px;
    margin-left: -8px;
}
.popr_container_bottom.popr_container_right
{
    margin-top: -24px;
    margin-left: 8px;
}
.popr_container_top.popr_container_right
{
    margin-top: 24px;
    margin-left: 8px;
}
.popr-box
{
    display: none !important;
}
.popr_content
{
    position: relative;
    display: block;
    padding: 7px 0;
    margin: 0;
    font: 300 14px/1.7 'Helvetica Neue', Helvetica, Arial, sans-serif;
    max-height: 200px;
    overflow-y: auto;
}
.popr_content > button,
.popr_content > label,
.popr_content > a,
.popr_content > .popr-item
{
    text-decoration: none;
    color: inherit;
    padding: 4px 20px;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    position: relative;
    display: block;
}
.popr_content > button.selected,
.popr_content > button.active,
.popr_content > label.selected,
.popr_content > label.active,
.popr_content > a.selected,
.popr_content > a.active,
.popr_content > .popr-item.selected,
.popr_content > .popr-item.active
{
    background-color: #dcdcdc;
    color: #333;
}
.popr_content > button:focus,
.popr_content > button:active,
.popr_content > button:hover,
.popr_content > label:focus,
.popr_content > label:active,
.popr_content > label:hover,
.popr_content > a:focus,
.popr_content > a:active,
.popr_content > a:hover,
.popr_content > .popr-item:focus,
.popr_content > .popr-item:active,
.popr_content > .popr-item:hover
{
    outline: none;
    text-decoration: none;
    background-color: #1190d1;
    color: #fff;
}
