/*!****************************
 *                            *
 *  Smart Alert               *
 *                            *
 *  Code: Lukas Prvy          *
 *  Design: Pierre Borodin    *
 *                            *
 ******************************/


/* =====[ DEFAULT THEME ]======================================================================== */

/* -----[ OVERLAY ]------------------------------------------------------------------------------ */

#smartAlert {
    background: rgba(255, 255, 255, 0.85);
    -pie-background: rgba(255, 255, 255, 0.85);
}

/* -----[ BOX ]---------------------------------------------------------------------------------- */

#smartAlertBox {
    margin: 25px;
    border: 1px solid #36424b;
    min-width: 270px;
    max-width: 500px;
    font-family: sans-serif;
    font-size: 13px;
    background: #fff;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
   
    -webkit-box-shadow: 0 0 6px rgba(0, 33, 70, 0.1), 0 7px 25px rgba(17, 38, 84, 0.4);
    -moz-box-shadow: 0 0 6px rgba(0, 33, 70, 0.1), 0 7px 25px rgba(17, 38, 84, 0.4);
    -ms-box-shadow: 0 0 6px rgba(0, 33, 70, 0.1), 0 7px 25px rgba(17, 38, 84, 0.4);
    -o-box-shadow: 0 0 6px rgba(0, 33, 70, 0.1), 0 7px 25px rgba(17, 38, 84, 0.4);
}

#smartAlert[data-type="prompt"] #smartAlertBox {
    min-width: 310px;
}

#smartAlert[data-ie="9"] #smartAlertBox {
    border-radius: 4px;
}

#smartAlert[data-ie="8"] #smartAlertBox,
#smartAlert[data-ie="7"] #smartAlertBox {
    box-shadow: none;
}

/* -----[ HEADER ]------------------------------------------------------------------------------- */

#smartAlertHeader {
    border: 1px solid rgba(51, 122, 183, 1) !important;

    padding: 14px 41px 13px 17px;
    background-color: rgba(51, 122, 183, 1);
    /*background-image: linear-gradient(#57626c, #3c4852);
    background-image: -webkit-linear-gradient(#57626c, #3c4852);
    background-image: -moz-linear-gradient(#57626c, #3c4852);
    background-image: -o-linear-gradient(#57626c, #3c4852);
    background-image: -ms-linear-gradient(#57626c, #3c4852);
    -pie-background: linear-gradient(#57626c, #3c4852);
    box-shadow: 0 1px rgba(255, 255, 255, 0.21) inset, 0 0 10px rgba(255, 255, 255, 0.07) inset;
    -webkit-box-shadow: 0 1px rgba(255, 255, 255, 0.21) inset, 0 0 10px rgba(255, 255, 255, 0.07) inset;
    -moz-box-shadow: 0 1px rgba(255, 255, 255, 0.21) inset, 0 0 10px rgba(255, 255, 255, 0.07) inset;
    -ms-box-shadow: 0 1px rgba(255, 255, 255, 0.21) inset, 0 0 10px rgba(255, 255, 255, 0.07) inset;
    -o-box-shadow: 0 1px rgba(255, 255, 255, 0.21) inset, 0 0 10px rgba(255, 255, 255, 0.07) inset;*/
}

#smartAlertTitle {
    font-weight: bold;
    text-shadow: 0 -1px 1px rgba(2, 3, 3, 0.3);
    color: #fff;
    line-height: 13px;
}

#smartAlertClose {
    top: 13px;
    right: 14px;
    width: 13px;
    height: 13px;
    background: url('/Images/messages/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('/Images/messages/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('/Images/messages/img/info.png');
}

#smartAlert[data-icon="confirm"] #smartAlertIcon {
    background-image: url('/Images/messages/img/confirm.png');
}

#smartAlert[data-icon="warning"] #smartAlertIcon {
    background-image: url('/Images/messages/img/warning.png');
}

#smartAlert[data-icon="error"] #smartAlertIcon {
    background-image: url('/Images/messages/img/error.png');
}

#smartAlert[data-icon="prompt"] #smartAlertIcon {
    background-image: url('/Images/messages/img/prompt.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('/Images/messages/x2/info.png');
    }

    #smartAlert[data-icon="confirm"] #smartAlertIcon {
        background-image: url('/Images/messages/x2/confirm.png');
    }

    #smartAlert[data-icon="warning"] #smartAlertIcon {
        background-image: url('/Images/messages/x2/warning.png');
    }

    #smartAlert[data-icon="error"] #smartAlertIcon {
        background-image: url('/Images/messages/x2/error.png');
    }

    #smartAlert[data-icon="prompt"] #smartAlertIcon {
        background-image: url('/Images/messages/x2/prompt.png');
    }

}

/* -----[ CONTENT ]------------------------------------------------------------------------------ */

#smartAlertContent {
    padding: 26px 20px 26px 0;
    line-height: 20px;
    color: #63737f;
}

#smartAlert[data-icon="false"] #smartAlertContent {
    padding-left: 52px;
}

#smartAlert[data-type="prompt"] #smartAlertContent {
    padding: 16px 20px 16px 0;
}

#smartAlert[data-type="prompt"][data-icon="false"] #smartAlertContent {
    padding-left: 26px;
}

#smartAlertScrollArea {
    margin-right: 36px;
}

#smartAlertScrollBar {
    background-color: #dfeaf4 !important;
}

#smartAlertScrollDrag {
    background-color: #48545e;
}

#smartAlertPrompt {
    border: 1px solid #abb1c9;
    padding: 5px;
    margin: 10px 0;
    font-family: sans-serif;
    font-size: 13px;
    line-height: 13px;
    color: #848484;
    background: none;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -o-border-radius: 3px;
    -ms-border-radius: 3px;
    box-shadow: 0 1px 3px rgba(2, 3, 3, 0.12) inset;
    -webkit-box-shadow: 0 1px 3px rgba(2, 3, 3, 0.12) inset;
    -moz-box-shadow: 0 1px 3px rgba(2, 3, 3, 0.12) inset;
    -o-box-shadow: 0 1px 3px rgba(2, 3, 3, 0.12) inset;
    -ms-box-shadow: 0 1px 3px rgba(2, 3, 3, 0.12) inset;
}

/* -----[ BUTTONS ]------------------------------------------------------------------------------ */

#smartAlertButtons {
    border-top: 1px solid #dfeaf4;
    padding: 12px 13px 13px;
    background: #f9fafe;
}

#smartAlert[data-webkit] #smartAlertButtons,
#smartAlert[data-opera] #smartAlertButtons,
#smartAlert[data-ie="8"] #smartAlertButtons,
#smartAlert[data-ie="7"] #smartAlertButtons {
    border-radius: 0 0 2px 2px;
}

.smartAlertButton {
    margin-left: 11px;
    border: 1px solid rgba(51, 122, 183, 1) !important;
    padding: 9px 22px 7px;
    min-width: 32px;
    font-weight: bold;
    line-height: 13px;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
    color: #424e58;
    background-color: #fff;
}

.smartAlertButton:hover {
    border: 1px solid rgba(51, 122, 183, 1) !important;
     background-color:rgba(51, 122, 183, 1);
}

.smartAlertButton.smartAlertActive {
    border: 1px solid #7991a8;
    box-shadow: 0 0 4px rgba(86, 122, 155, 0.4), 0 0 5px #fff inset;
    -webkit-box-shadow: 0 0 4px rgba(86, 122, 155, 0.4), 0 0 5px #fff inset;
    -moz-box-shadow: 0 0 4px rgba(86, 122, 155, 0.4), 0 0 5px #fff inset;
    -o-box-shadow: 0 0 4px rgba(86, 122, 155, 0.4), 0 0 5px #fff inset;
    -ms-box-shadow: 0 0 4px rgba(86, 122, 155, 0.4), 0 0 5px #fff inset;
}

.smartAlertButton.smartAlertClick {
    border: 1px solid #9ba8bc;
    background-color: #dde3e9;
    background-image: linear-gradient(#d2d9e0, #ebeff5);
    background-image: -webkit-linear-gradient(#d2d9e0, #ebeff5);
    background-image: -moz-linear-gradient(#d2d9e0, #ebeff5);
    background-image: -o-linear-gradient(#d2d9e0, #ebeff5);
    background-image: -ms-linear-gradient(#d2d9e0, #ebeff5);
    -pie-background: linear-gradient(#d2d9e0, #ebeff5);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15) inset, 0 0 4px rgba(255, 255, 255, 0.5) inset;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15) inset, 0 0 4px rgba(255, 255, 255, 0.5) inset;
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15) inset, 0 0 4px rgba(255, 255, 255, 0.5) inset;
    -ms-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15) inset, 0 0 4px rgba(255, 255, 255, 0.5) inset;
    -o-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15) inset, 0 0 4px rgba(255, 255, 255, 0.5) inset;
}