/*
 * Stylesheet for Pi Engine setup
 *
 * The design is originally created by insraq (SUN Ruoyu), improved by Taiwen Jiang and migrated to Bootstrap by voltan.
 *
 * @copyright       Copyright (c) Pi Engine http://piengine.org
 * @license         http://piengine.org/license.txt BSD 3-Clause License
 * @author          Taiwen Jiang <taiwenjiang@tsinghua.org.cn>
 * @package         Pi\Setup
 */

/* Body */
body {
    background-color: #f5f5f5;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}


/* Content */
#main-content {
    margin-top: 15px;
    margin-bottom: 15px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}

#content {
    margin: 10px auto;
}

h2.slogan {
    font-family: Georgia, Times, "Times New Roman", serif;
    font-style: italic;
    font-size: 25px;
    color: #aaa;
    margin: 30px 0;
}

.section {
    margin-top: 20px;
}

.success {
    padding-right: 20px;
    background: url(../image/yes.png) no-repeat right center;
}

.failure {
    padding-right: 20px;
    background: url(../image/no.png) no-repeat right center;
}

.warning {
    padding-right: 20px;
    background: url(../image/warning.png) no-repeat right center;
}

.loading {
    padding-right: 20px;
    background: url(../image/indicator.gif) no-repeat right center;
}

/* Install Form */
.install-form {
    font-size: 16px;
    margin: 20px auto;
    text-align: left;
}

.install-form p {
    margin: 0 0 10px 0;
}

.install-form .label {
    font-family: Georgia, Times, "Times New Roman", serif;
    width: 150px;
    display: inline-block;
    color: #333;
    font-style: normal;;
    text-align: right;
    margin: 0 20px 0 0;
    vertical-align: top;
    background-color: inherit;
    text-shadow: #333 0 0 0;
}

.install-form .text {
    display: inline-block;
    width: 700px;
}

.install-form .text .message {
    display: block;
    font-style: italic;
    font-size: 80%;
}

.install-form input[type="text"] {
    width: 400px;
    font-size: 16px;
    color: #666;
}

.caption {
    font-size: 12px;
    color: #999;
    font-family: Arial, Helvetica, Verdana, Geneva, sans-serif;
}

.advanced-form {
    display: none;
    padding: 10px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.advanced-form-dis {
    background: #e0ffff;
    padding: 10px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#advanced-persist {
    padding-right: 30px;
    padding-left: 30px;
}

/* Buttons */
#buttons {
    text-align: center;
    margin: 20px 0;
}

.btn,
#buttons button {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 1rem;
    margin: 10px;
}

/* Footer */
#footer {
    text-align: center;
    font-family: Georgia, Times, "Times New Roman", serif;
    font-size: 18px;
    font-style: italic;
    color: #333;
    padding: 5px;
}

/* Customize Bootstrap */
.alert {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

/* Local style for persian language */
#pi-setup-fa {
    direction: rtl;
    font-family: tahoma !important;
}

#pi-setup-fa .install-form {
    text-align: right;
}

#pi-setup-fa .col-md-12,
#pi-setup-fa .col-lg-12 {
    float: right;
    text-align: right;
}

#pi-setup-fa .radio input[type="radio"],
#pi-setup-fa .form-check input[type="radio"],
#pi-setup-fa .checkbox input[type="checkbox"],
#pi-setup-fa .checkbox-inline input[type="checkbox"] {
    float: right;
    margin-right: -20px;
    margin-left: auto;
}

/* Local style for arabic language */
#pi-setup-ar {
    direction: rtl;
    font-family: tahoma;
}

#pi-setup-ar .install-form {
    text-align: right;
}

#pi-setup-ar .col-md-12,
#pi-setup-ar .col-lg-12 {
    float: right;
    text-align: right;
}

#pi-setup-ar .radio input[type="radio"],
#pi-setup-ar .form-check input[type="radio"],
#pi-setup-ar .checkbox input[type="checkbox"],
#pi-setup-ar .checkbox-inline input[type="checkbox"] {
    float: right;
    margin-right: -20px;
    margin-left: auto;
}