/*
transform: rotate(-90deg);
right: 0px;
transform-origin: right bottom;
*/




#eap-cm-tab{
    display:inline-block;
    position: fixed;

    font-size: 18px;
    line-height: 30px;
    font-family: 'Lato';
    color: #FFFFFF;
    padding:3px 10px;
    background: #868a8b;;
    cursor: pointer;
    z-index: 9999;
    

    
            border-radius: 0 0 4px 4px;

        right: 0px;
        top:75%;
        -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        transform: rotate(90deg);
        -webkit-transform-origin: right top;
        -ms-transform-origin: right top;
                transform-origin: right top;

    
}




#eap-cm-overlay{
    display:  none;
    position:fixed;
    background-color: rgba(0,0,0,.8);
    background-attachment: fixed;
    z-index: 9999;
    width:100%;
    height:100%;
}

#eap-cm{
    display:none;
    position:fixed;
    width:400px;
    max-width:400px;
    height:auto;
    z-index:10000;

    /*margin-left:75%;*/

    
    /*left:calc( 50% - 400px/2 );*/
    border-radius: 7px;
    background-color: #FFFFFF;
    border: 6px solid #E6E7E8;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.5);
    padding:20px;
                right:0px;
        bottom:calc(100% - 75%  - 150px );
    
}
#eap-cm input,#eap-cm textarea{

    width:100%;
    border: 1px solid rgba(51, 51, 51, 0.1);
    color: rgba(51, 51, 51, 0.7);
    line-height: 40px;
    font-size: 16px;
    background: #FFFFFF;
    margin:10px 0;
}
#eap-cm input#eap-fname,
#eap-cm input#eap-lname{

width:calc( 50% - 5px );
    
}
#eap-cm input#eap-lname{
    margin-left: 10px;
}

#eap-cm input:focus,#eap-cm textarea:focus{

    border: 1px solid rgba(51, 51, 51, 0.5);
    color: rgba(51, 51, 51, 0.7);
    line-height: 40px;
    font-size: 16px;
    background: #FFFFFF;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
}

#eap-cm .eap-cm-photo{
    position:absolute;
    width:150px;
    height:150px;
    background-image: url('');

    border: 2px solid #E6E7E8;
    border-radius: 50%;
    left: calc( 50% - 75px );
    top:-81px;
    background-position: center;
    background-size: cover;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.7);
}

#eap-cm .eap-cm-close{
    display: inline-block;
    position: absolute;
    right:10px;
    top:0;
    color:#000000;
    opacity: .5;
    cursor: pointer;
    width:15px;
    height:15px;
}
#eap-cm .eap-cm-close:hover{
    opacity:1;
}

#eap-cm .eap-cm-header{
    margin-bottom: 10px;
    line-height: 1.3em;
    color:#000000;
    font-family: "Lato",sans-serif;
    font-weight: 900;
    font-size: 36px;
   /* margin:0px 0 10px;*/
    text-align:center;
    /*
    margin-top:67px;;
    */
}

#eap-cm .eap-cm-text{
    color:rgba(0,0,0,.3);
    font-family: "Lato",sans-serif;
    font-weight: 400;
    font-size: 16px;
    text-align:center;
    margin-bottom: 10px;
}
#eap-cm .eap-cm-hr{
    margin:20px auto;
    width:49%;
    background-color:#ccc;
    height:1px;
}

#eap-cm .eap-cm-button-wrap{
    display: inline-block;
    position: relative;
    left:50%;
}
#eap-cm .eapcm-button{
    overflow: hidden;
    position: relative;
    z-index: 1;
    font-family: "Lato",sans-serif;
    text-decoration: none;
    display: inline-block;
    padding: 4px;
    color: #FFFFFF;
    margin: 8px 0 0 0;
    text-decoration: none;
    border-radius: 4px;
    border: 2px solid #0100af;
    background-color: #0100af;
    left:-50%;

    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    transition: 0.4s;
}
#eap-cm .eapcm-button span{
    display: inline-block;
    padding: 0 15px;
    border-right: 1px solid #FFFFFF;
    font-size: 1.0625em;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 40px;
}

#eap-cm .eapcm-button:hover{
    border-color: rgba(0,0,175,0.75);
    background-color:  rgba(0,0,175,0.75);
}

#eap-cm .eapcm-button .fa{
    padding: 0 10px 0 15px;
    font-size: 1.75em;
    vertical-align: middle;
    line-height: 40px;
    position: relative;
    top: -2px;
}

@media screen and (max-width: 800px) {
    #eap-cm{
        width:100%;
        max-width:100%;
        left:0%;
    }
}

@media screen and (max-width: 400px) {
    #eap-cm{
        width:100%;
        max-width:100%;
        left:0%;
    }

    #eap-cm .eap-cm-close{
        top:initial;
        bottom:15px;
    }
}

