
/* -----[ OVERLAY ]------------------------------------------------------------------------------ */

#smartAlert {
    background: rgba(255, 255, 255, 0.85);
    -pie-background: rgba(255, 255, 255, 0.85);
}

/* -----[ BOX ]---------------------------------------------------------------------------------- */

#smartAlertBox {
    margin: 25px;
    min-width: 270px;
    max-width: 500px;
    font-family: sans-serif;
    font-size: 13px;
    background: #fff;
    box-shadow: 0 10px 15px rgba(2, 3, 3, 0.5);
    -webkit-box-shadow: 0 10px 15px rgba(2, 3, 3, 0.5);
}

#smartAlert[data-ie="8"] #smartAlertBox,
#smartAlert[data-ie="7"] #smartAlertBox {
    box-shadow: none;
}

/* -----[ HEADER ]------------------------------------------------------------------------------- */

#smartAlertHeader {
    padding: 10px 41px 10px 18px;
    background: #50bfd6;
}

#smartAlertTitle {
    font-weight: bold;
    font-size: 13px;
    font-weight: bold;
    text-shadow: 0 -1px 1px rgba(2, 3, 3, 0.3);
    color: #fff;
}

#smartAlertClose {
    top: 13px;
    right: 14px;
    width: 13px;
    height: 13px;
    background: url("img/close.png");
}

@media only screen and (min-device-pixel-ratio: 2),
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (-moz-min-device-pixel-ratio: 2),
only screen and (-o-min-device-pixel-ratio: 2/1) {

    #smartAlertClose {
        background: url("x2/close.png");
        background-size: 100%, 100%;
        -webkit-background-size: 100%, 100%;
        -moz-background-size: 100%, 100%;
        -o-background-size: 100%, 100%;
    }

}

#smartAlert[data-webkit] #smartAlertHeader,
#smartAlert[data-opera] #smartAlertHeader {
    border-radius: 2px 2px 0 0;
}

/* -----[ ICONS ]-------------------------------------------------------------------------------- */

#smartAlertIcon {
    width: 67px;
}

#smartAlert[data-icon="info"] #smartAlertIcon {
    background-image: url("img/info.png");
}

#smartAlert[data-icon="confirm"] #smartAlertIcon {
    background-image: url("img/confirm.png");
}

#smartAlert[data-icon="warning"] #smartAlertIcon {
    background-image: url("img/warning.png");
}

#smartAlert[data-icon="error"] #smartAlertIcon {
    background-image: url("img/error.png");
}

@media only screen and (min-device-pixel-ratio: 2),
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (-moz-min-device-pixel-ratio: 2),
only screen and (-o-min-device-pixel-ratio: 2/1) {

    #smartAlertIcon {
        background-size: 35px, 35px;
        -webkit-background-size: 35px, 35px;
        -moz-background-size: 35px, 35px;
        -o-background-size: 35px, 35px;
    }

    #smartAlert[data-icon="info"] #smartAlertIcon {
        background-image: url("x2/info.png");
    }

    #smartAlert[data-icon="confirm"] #smartAlertIcon {
        background-image: url("x2/confirm.png");
    }

    #smartAlert[data-icon="warning"] #smartAlertIcon {
        background-image: url("x2/warning.png");
    }

    #smartAlert[data-icon="error"] #smartAlertIcon {
        background-image: url("x2/error.png");
    }

}

/* -----[ CONTENT ]------------------------------------------------------------------------------ */

#smartAlertContent {
    padding: 26px 52px 26px 0;
    line-height: 20px;
    color: #63737f;
}

#smartAlert[data-icon="false"] #smartAlertContent {
    padding-left: 52px;
}

/* -----[ BUTTONS ]------------------------------------------------------------------------------ */

#smartAlertButtons {
    padding: 12px 13px 13px;
}

.smartAlertButton {
    margin-left: 11px;
    padding: 8px;
    min-width: 80px;
    font-weight: bold;
    line-height: 15px;
    text-align: center;
    color: #fff;
    background: #50bfd6;
    transition: background 0.35s;
    -webkit-transition: background 0.35s;
    -moz-transition: background 0.35s;
    -o-transition: background 0.35s;
    -ms-transition: background 0.35s;
}

.smartAlertButton:hover {
    background: #333;
}

.smartAlertButton.smartAlertClick {
    background: #555;
}