/* The Modal (background) */
.rty-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1001; /* Sit on top */
    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 */
    font-family: georgia, times, serif;
}

 /* Modal Header */
.rty-modal .modal-header,
.rty-modal .modal-footer {
    padding: 2px 16px;
}

.rty-modal .modal-header h2,
.rty-modal .modal-footer h2 {
    color: #171717;
    border-bottom: 3px solid #000000;
    font-size: 18px;
    text-transform: uppercase;
    font-family: georgia, times, serif;
    margin-bottom: 25px;
    line-height: 18px;
    width: 100%;
    font-weight: normal;
}

/* Modal Body */
.rty-modal .modal-body { padding: 2px 16px; }

/* Modal Content */
.rty-modal .modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    top: 15%;
    padding: 0;
    border: 1px solid #888;
    width: 95%;
    max-width: 620px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    animation-name: animatetop;
    animation-duration: 0.5s
}

/* The Close Button */
.rty-modal .close {
    color: #000;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.rty-modal .close:hover,
.rty-modal .close:focus {
    color: #aaa;
    text-decoration: none;
    cursor: pointer;
}

.rty-modal .rty-tabs {
    padding-top: 0 !important;
    margin-top: 0 !important;
    border-top: none !important;
}

.rty-modal .rty-tabs > .tab-content {
    padding: 15px 0;
}

.rty-modal input[type=checkbox] {
    float: left;
    width: auto;
    margin: 4px 10px 4px 0;
}

.rty-modal .rty-tabs .login-tab .registration-warning {
    float: left;
    padding: 10px;
    width: 100%;
    font-size: 14px;
    font-family: georgia, times, serif;
    color: #B30000;
    background-color: #E0E0DD;
}

#wpdcom .wpd-form-wrap {
    background-color: #efefef;
    padding-bottom: 0;
}

.logged-in #wpdcom .wpd-form-head {
    border: none;
    padding: 0;
}

.logged-in #wpdcom .wpd-form-wrap {
    background-color: transparent;
}

.logged-in #wpdcom .wpd-auth .wpd-login {
    display: none;
}

.wpd-login-to-comment {
    display: none;
}

.wc-must-login {
    margin: 0 !important;
    font-size: 14px;
    line-height: 16px;
    padding: 10px;
    text-align: center;
}

.wc-must-login > a {
    color: #B30000 !important;
}

.wc-must-login > a,
.wc_show_hide_loggedin_username > a,
.wc_show_hide_loggedin_username > span.highlight
 {
    color: #B30000;
    font-style: normal;
    text-transform: lowercase;
}

#wpcomm input#btn-submit,
#wpcomm button.btn-submit {
    background: #e05d22 !important;
    background: -webkit-linear-gradient(top, #e05d22 0%, #d94412 100%) !important;
    background: linear-gradient(to bottom, #e05d22 0%, #d94412 100%) !important;
    float: none !important;
    -moz-border-radius: 2px !important;
    -webkit-border-radius: 2px !important;
    border-radius: 2px !important;
    border: none !important;
    border-bottom: 3px solid #b93207 !important;
    color: #fff !important;
    display: inline-block !important;
    padding: 11px 24px 10px !important;
    text-decoration: none !important;
    width: auto !important;
}

#wpcomm input#btn-submit.:hover,
#wpcomm button.btn-submit:hover,
#wpcomm input#btn-submit:focus,
#wpcomm button.btn-submit:focus {
    background: #272727;
    outline: none
}

#wpcomm input#btn-submit:active,
#wpcomm button.btn-submit:active {
    background: #272727;
    border: none
}

#wpcomm .wc-vote-result.positive,
#wpcomm .wc-vote-result.negative {
    border: 1px solid #bbbbbb;
}

#wpcomm .wc-vote-result.positive:before,
#wpcomm .wc-vote-result.negative:before {
    font: normal normal normal 14px/1 FontAwesome;
    position: relative;
    margin-right: 5px;
}

#wpcomm .wc-vote-result.positive:before {
    content: "\f164";
}

#wpcomm .wc-vote-result.negative:before {
    content: "\f165";
}

/* Removes asterisk (*) after login from's fields */
.rty-modal input:after {
    content: '' !important;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from { top:-500px; opacity:0 }
    to { top:15%; opacity:1 }
}

@keyframes animatetop {
    from { top:-500px; opacity:0 }
    to { top:15%; opacity:1 }
}