﻿.partnerPortalModal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 201; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 40px 50px;
    border: 1px solid #888;
    width: 55%;
    position: relative;
}

@media only screen and (max-width:767px) {
    .modal-content {
        width: 90%;
        padding: 50px 20px 20px;
    }  
}

@media only screen and (max-width: 320px) {
    .modal-content {
        
    }
}

.hiddenModalText {
    display: none;
}

.modal-content .m-tertiaryTitleBox{
    text-align: center;
}

.modal-content .modalLoginButton .a-button {
    margin: 0 auto;
    width: 55%;
    text-transform:none;
}

@media only screen and (max-width: 320px) {
    .modal-content .modalLoginButton .a-button {
        width: 70%;
    }
}

.modal-smallInfoCard{
    min-width: 240px;
    max-width: 450px;
    height: 80%;
    min-height: 165px;
    padding: 32px 16px;
    width: -webkit-calc(100% - 2*32px);
    width: -moz-calc(100% - 2*32px);
    width: calc(100% - 2*32px);
    display: inline-block;
    box-shadow: 0 0 32px rgba(108,108,108,.2);
    background-color: white;
}



/* The Close Button */
.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: relative;
    top: 5px;
    right: 5px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 1199px) and (min-width: 1024px){
   .modalLoginButton .a-button {
        width: 70%;
    }

    .modal-content .m-tertiaryTitleBox .a-button span.icon {
        position: relative;
        right: 5px;
    }
}

@media only screen and (max-width: 1023px) and (min-width: 768px){
    .modalLoginButton .a-button {
        width: 80%;
    }
    .modal-content .m-tertiaryTitleBox .a-button span.icon {
        position: relative;
        right: 5px;
    }
}

@media only screen and (max-width: 767px){
    .modalLoginButton a.a-button {
        width: 100%;
        font-size: smaller;
    }
    .modal-content .m-tertiaryTitleBox .a-button span.icon {
        position: relative;
        right: 5px;
    }

    .modal-content .m-tertiaryTitleBox .a-tertiaryHeading {
        font-size: 14px;
        line-height: 20px;
    }

    .close {
        font-size: 24px;
        top: -16px;
        right: -8px;
    }

    .modal-content .m-tertiaryTitleBox .a-secondaryText {
        font-size: 18px;
    }
}

#modalClose {
    font-size: 60px;
    color: #007da6;
    float: right;
    top: -5px;
    right: 2px;
    position: absolute;
}

    #modalClose span.icon-dsp-request-cancelled2 {
       cursor: pointer;
    }

    #modalClose span.icon-dsp-request-cancelled2:hover {
       opacity: 0.8;
    }


@media only screen and (max-width:767px) {
    #modalClose {
        font-size: 50px;
    }
}