/* *****************   POPOVERS   **************** */

div.popover_overlay
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -5;
    display: none;
    opacity: 0;
    transition: opacity 0.15s;
	transition-delay: 0;
    -webkit-transition: opacity 0.15s;
	-webkit-transition-delay: 0;
}


div.popover
{
    position: absolute;

    transform-origin: 50% 100%;
    transform: scale(0);
    transition: transform 0.3s, opacity 0.3s;
	transition-delay: 0;
	opacity: 0;
	
    -webkit-transform-origin: 50% 100%;
    -webkit-transform: scale(0);
    -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
	-webkit-transition-delay: 0;
}

div.popover.open
{
	transform: scale(1);
	-webkit-transform: scale(1);
	opacity: 1;
}

div.popover.upside_down
{
    transform-origin: 50% 0%;
    -webkit-transform-origin: 50% 0%;
}





div.popover div.bubble
{
    position: absolute;
    top: 0; left: 0;
    -webkit-border-radius: 10px;
       -moz-border-radius: 10px;
            border-radius: 10px;
    background: white;
    width: 100%;
}

div.popover.upside_down div.bubble
{
    top: 16px;
}

div.popover div.corner
{
    position: absolute;
    left: 50%;
    margin-left: -17.5px;
    width: 35px;
    height: 16px;
    background: url(/images/popover_corner.svg);
    bottom: 0px;
}

div.popover.upside_down div.corner
{
    top: 0px;
    transform: rotate(180deg);
}


div.popover_close
{
    
    position: absolute;
    left: 6px;
    top: 6px;
    background: url(/images/popover_close.svg);
    width: 11px;
    height: 11px;
}

div.popover_close:hover
{
    background: url(/images/popover_close_hover.svg);
    cursor: pointer;
}


div.popover div.bubble
{
    height: 130px;
    text-align: center;
}

div.popover p.email_error
{
    font-size: 14px;
    text-align: left;
    position: relative; 
    left: 31px;
    top: 0px;
    display: none;
    margin: 0 !important;
    padding: 0;
    color: rgb(240,37,71) !important;
}

div.popover
{
    width: 460px;
    height: 146px;
    background: none;    
}

div.popover p
{
    color: #8D949F !important;
    font-family: "Avenir Next Medium";
    margin: 0 !important;
}

div.popover *
{
    line-height: 30px;
}

div.popover .popover_page2 p.header
{
    margin-top: 24px !important;
    font-size: 30px;
}

div.popover p.header
{
    line-height: 30px;
    font-size: 14px;
    margin: 8px 0 8px 0 !important;
    padding: 0;
}

div.popover input[type=email]
{
    color: rgb(115, 115, 115);
    -webkit-border-radius: 6px 6px 6px 6px;
       -moz-border-radius: 6px 6px 6px 6px;
            border-radius: 6px 6px 6px 6px;
    border: 1px solid rgb(214, 214, 214);
    background: none;
    width: 274px;
    height: 39px;
    font-size: 16px;
    padding-left: 7px;
    margin: 0 !important;
}

div.popover input[type=submit]
{
    cursor: pointer;
    margin: 0 0 0 10px;
    color: rgb(115, 115, 115);
    border: 1px solid rgb(65, 188, 87);
    -webkit-border-radius: 6px 6px 6px 6px;
       -moz-border-radius: 6px 6px 6px 6px;
            border-radius: 6px 6px 6px 6px;
    background: rgb(65, 188, 87);
    font-family: "Avenir Next Demi";
    color: white;
    width: 100px;
    height: 39px;
    font-size: 16px;
    position: relative;
}

div.popover input[type=submit]:hover
{
    opacity: 0.7;
}

div.popover_page1
{
    display: block;
    padding: 10px 0;
}


div.popover_page2
{
    display: none;
    padding: 0 20px;
}

div.popover div.bubble div.popover_page2 p.note
{
    margin: 20px 0 0 0 !important;  
    padding: 0;
    font-size: 12px;
}

div.popover_page2 p a
{
    color: rgb(33, 163, 228);
    transition: color 0.08s ease-in-out 0s;
    font-size: 12px;
}

div.popover_page2 p a:hover
{
    color: rgb(110, 207, 255);
}

div.popover_page2 ul
{
    text-align: center;
    display: block;
    margin: 0 auto;
    padding: 0;
    width: 400px;
}

div.popover_page2 ul li
{
    font-family: "Avenir Next Medium";
    color: #101114;
    font-size: 12px;
    line-height: 16px !important;
    margin-bottom: 0;
    list-style: none;
    line-height: 30px;
}


section.why div.popover
{
    left: 120px;
}


