/* Need to check with chris to see if this works for all dialog elements */

.loading {
    background: url('images/loader.gif') no-repeat center center;
}

#custom-dialog {
    position: absolute;
    background-color: #fff;
    border: 1px solid #000;
    box-shadow: rgba(0, 0, 0, 0.3) 0 0 20px 2px;
    font-size: 16px;
    z-index: 2000;
    overflow: visible !important;
}

#custom-dialog.email-quote-dialog {
    border: 0;
    border-radius: 5px;
}

#custom-dialog .close{
    background-color: rgba(193, 57, 43, 0.9);
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.8);
    display: block;
    float: right;
    font-size: 20px;
    height: 30px;
    left: 15px;
    line-height: 34px;
    position: relative;
    text-align: center;
    text-shadow: none;
    top: -15px;
    width: 30px;
}

#custom-dialog .close:hover {
    background-color: rgb(193, 57, 43);
    color: #fff;
}

#custom-dialog.menu-dialog {
    border-radius: 10px;
    border: 3px solid #a2a2a2;
}

#custom-dialog.menu-dialog .close{
    display: none;
}

#custom-dialog.menu-dialog .dialog-pointer {
    background-color: transparent;
    border: 0;
    display: block;
    float: right;
    left: -100px;
    margin-top: -28px;
    position: relative;
}

#custom-dialog.menu-dialog .dialog-pointer .border {
    border: 14px dashed transparent;
    border-bottom-color: #a2a2a2;
    border-bottom-style: solid;
    background-color: transparent;
    display: block;
    height: 0;
    position: absolute;
    width: 0;
    z-index: 9998;
}

#custom-dialog.menu-dialog .dialog-pointer .background {
    display: block;
    width: 0;
    height: 0;
    background-color: transparent;
    border: 11px dashed transparent;
    border-bottom-color: #F2F2F2;
    border-bottom-style: solid;
    position: absolute;
    z-index: 9999;
    margin-top: 7px;
    margin-left: 3px;
}

#custom-dialog.menu-dialog iframe {
    border-radius: 10px;
    margin-top: 0;
}

#custom-dialog.menu-dialog .switch-dialogs {
    background-color: #dfdfdf;
    padding: 10px;
    text-align: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}