﻿.modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg height="12" viewBox="0 0 8 12" width="8" xmlns="http://www.w3.org/2000/svg"><path d="m1.41 0-1.41 1.41 4.58 4.59-4.58 4.59 1.41 1.41 6-6z" fill="#1ad56c"/></svg>');
    z-index: 1001;
    background: rgba(0,0,0,0.4);
    overflow: auto;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 20px 10px;
    display: none
}

.modal-show {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.modal-container {
    width: 470px;
    border-radius: 6px;
    background: #fff;
    margin: auto
}

.modal-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #f4f5f7
}

.modal-header-title {
    font-size: 15px;
    color: rgba(0,0,0,0.7);
    line-height: 18px;
    margin: 0;
    padding: 0;
    font-weight: normal;
}

.modal-close {
    width: 24px;
    height: 24px;
    margin: 0 0 0 auto;
    background: none;
    border: none;
    outline: none;
    padding: 0;
    position: relative;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg)
}

.modal-close:before, .modal-close:after {
    width: 18px;
    height: 2px;
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: #bdbdbd
}

.modal-close:after {
    -webkit-transform: translate(-50%, -50%) rotate(90deg);
    transform: translate(-50%, -50%) rotate(90deg)
}

.modal-close:hover {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    opacity: 1
}

.modal-content {
    margin : 10px;
}

.modal-title {
    font-size: 18px;
    color: #0275d8;
    line-height: 18px;
    margin: 0;
    padding: 25px 0 25px 0;
    text-align: center;
}

.modal-text {
    margin: 0;
    padding: 12px 16px 12px 16px;
    font-size: 13px;
    color: rgba(0,0,0,0.5);
    line-height: 16px;
    display: block
}

.modal-footer {
    background: #f4f5f7;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 15px 16px 16px 16px;
    border-radius: 0 0 6px 6px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}

.modal-footer-item {
    height: 40px;
    line-height: 40px;
    font-size: 15px !important;
    text-decoration: none;
    margin: 0;
    padding: 0;
    color: #0275d8 !important;
    position: relative
}

.modal-footer-item:hover {
    text-decoration: none !important;
    font-size: 15px !important
}

.modal-footer-item:after {
    position: absolute;
    right: -16px;
    top: 50%;
    margin-top: -5px;
    background: url('data:image/svg+xml;utf8,<svg height="12" viewBox="0 0 8 12" width="8" xmlns="http://www.w3.org/2000/svg"><path d="m1.41 0-1.41 1.41 4.58 4.59-4.58 4.59 1.41 1.41 6-6z" fill="##1ad56c"/></svg>') no-repeat left center;
    height: 12px;
    width: 8px;
    content: '';
    display: block
}

.modal-footer-item-btn {
    padding: 0 16px;
    color: #fff !important;
    background: #0275d8;
    border-radius: 3px;
    position: relative
}

.modal-footer-item-btn:hover {
    color: #fff !important;
}

.modal-footer-item-btn span {
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s
}

.modal-footer-item-btn:after {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    content: '';
    opacity: 0;
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
    display: block;
    background: url('data:image/svg+xml;utf8,<svg height="11" viewBox="0 0 14 11" width="14" xmlns="http://www.w3.org/2000/svg"><path d="m5 10.42-5-5 1.41-1.41 3.59 3.58 7.59-7.59 1.41 1.42z" fill="rgb(255,255,255)" fill-rule="evenodd"/></svg>') no-repeat center
}

.modal-footer-item-btn.saved span {
    opacity: 0
}

.modal-footer-item-btn.saved:after {
    opacity: 1
}

.modal-footer-item:hover {
    text-decoration: none;
    opacity: 1
}

.model-text-warning {
    color: #C9372C;
}