/* Heading
----------------------------------------------------------- */

.fl-settings-heading img {
    height: 40px;
    margin-right: 5px;
    vertical-align: middle;
}
.fl-settings-heading span {
    vertical-align: middle;
}

/* Nav
----------------------------------------------------------- */

.fl-settings-nav {
    float: left;
    margin: 15px 2% 0 0;
    width: 19%;
}
.fl-settings-nav ul {
    background: #fff;
    border: 1px solid #e5e5e5;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.04);
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
}
.fl-settings-nav ul li {
    display: block;
    margin: 0;
}
.fl-settings-nav ul li a {
    border-bottom: 1px solid #eee;
    display: block;
    padding: 10px;
}
.fl-settings-nav ul li a:hover,
.fl-settings-nav ul li a.fl-active {
    background: #f5f5f5;
}
.fl-settings-nav ul li:last-child a {
    border-bottom: none;
}
.fl-settings-nav a {
    text-decoration: none;
}
.fl-settings-nav .fl-settings-save {
    padding: 0 2px;
}
.fl-settings-nav .button-primary {
    width: 100%;
}

.fl-settings-nav a[href="#uabb-premium"]:after,
.uabb-premium-modules .uabb-premium-flyout-red label:after,
.uabb-premium-modules .uabb-premium-flyout-purple label:after,
.uabb-premium-modules .uabb-premium-flyout-green label:after {
    color: #fff;
    font-size: 0.7em;
    font-weight: 600;
    position: relative;
    content: attr(title);
    padding: 0.3em 0.6em;
    top: -2px;
    left: 12px;
    letter-spacing: 0.5px;
    line-height: 1em;
    text-transform: none;
    background-color: #f7951e;
    text-transform: uppercase !important;
    border-radius: 2px;
    content: attr(title);
}

.uabb-premium-modules a,
.uabb-premium-modules a:active,
.uabb-premium-modules a:hover,
.uabb-premium-modules a:focus {
    text-decoration: none;
    /*color: #444;*/
}

.fl-settings-nav a[href="#uabb-premium"]:after {
    content: "Upgrade";
}

.fl-settings-form-header .uabb-builder-upgrade-button a {
    margin: 0 0 0 6px;
    background: #f7951e;
    border-color: #de7c04;
    -webkit-box-shadow: inset 0 1px 0 rgba(255,177,82,.5), 0 1px 0 rgba(0,0,0,.15);
    box-shadow: inset 0 1px 0 rgba(255,177,82,.5), 0 1px 0 rgba(0,0,0,.15);
    color: #fff!important;
    display: inline-block;
    text-decoration: none;
    font-size: 13px;
    line-height: 26px;
    height: 28px;
    padding: 0 10px 1px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -webkit-appearance: none;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    white-space: nowrap;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
}

.fl-settings-form-header .uabb-builder-upgrade-button i {
    color: #f4d1a7;
    margin: 0 0 0 6px;
}

/* Content
----------------------------------------------------------- */

.fl-settings-content {
    float: left;
    margin-top: 15px;
    width: 78%;
}
.fl-settings-form-content h4 {
    font-size: 14px;
    margin: 30px 0 5px;
}

.uabb-go-premium {
    padding: 10px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04);
    box-shadow: 0 1px 1px rgba(0,0,0,0.04);
    border: 1px solid #e5e5e5;
    background: #fff;
    color: #555;
    font-size: 13px;
}

/* Welcome Page
----------------------------------------------------------- */

#fl-uabb-welcome-form {
    max-width: none;
}
.fl-settings-content .fl-welcome-page-content {
    max-width: 880px;
}
.fl-upgrade-page-content ul,
.fl-welcome-page-content ul {
    list-style-type: disc;
    margin: 15px 0 20px 35px;
}
.fl-welcome-page-content hr {
    clear: both;
    margin: 20px 0 5px;
}
.fl-welcome-page-content .fl-welcome-col-wrap {
    clear:both;
}
.fl-welcome-page-content .fl-welcome-col {
    box-sizing: border-box;
    display: inline-block;
    width: 49.7%;
    vertical-align: text-top;
}
.fl-welcome-page-content .fl-welcome-col:first-child {
    padding-right: 30px;
}
.fl-welcome-page-content .fl-welcome-col:last-child {
    padding-left: 30px;
}
.fl-welcome-page-content .fl-welcome-big-link {
    font-weight: 600;
    font-size: 14px;
}
.fl-welcome-page-content .fl-welcome-img {
    max-width: 100%;
    display: inline-block;
}


/* Modules Form */

.fl-settings-form.uabb-modules-fl-settings-form {
    max-width: 100%;
    overflow: hidden;
}

.uabb-lite-modules {
    margin-bottom: 25px;
}

.uabb-premium-modules p label {
    display: block;
    padding: 7px 15px;
}
.uabb-premium-modules p {
    width: 31.33%;
    float: left;
    margin: 10px 2% 0 0;
    box-sizing: border-box;
    background: #f7f7f7;
}

.uabb-premium-modules {
    /*float: left;
    width: 100%;*/
}

.uabb-premium-modules .uabb-premium-flyout-red label:after {
    background: #e74c3c;
}

.uabb-premium-modules .uabb-premium-flyout-purple label:after {
    background: #9b59b6;
}

.uabb-premium-modules .uabb-premium-flyout-green label:after {
    background: #2ecc71;
}


/* Settings Forms
----------------------------------------------------------- */

.fl-settings-form {
    display: none;
    max-width: 450px;
}
.fl-settings-form-header {
    margin-bottom: 20px !important;
}
.fl-settings-form .form-table {
    margin: 12px 0;
}
.fl-settings-form th {
    font-weight: bold;
    vertical-align: middle;
}
.fl-settings-form th,
.fl-settings-form td {
    font-size: 13px;
    font-weight: normal;
    padding: 12px;
}
.fl-settings-form-content {
    display: none;
}
.fl-settings-network-admin .fl-settings-form-content,
.fl-settings-single-install .fl-settings-form-content {
    display: block;
}

/* Templates
----------------------------------------------------------- */

.fl-templates-override-nodes {
    display: none;
}

/* Icons
----------------------------------------------------------- */

.fl-delete-icon-set {
    color: #d34e2a;
}

/* Media Query - Max Width 900px
----------------------------------------------------------- */

@media (max-width: 900px) {

    /* Nav
    ----------------------------------------------------------- */

    .fl-settings-nav {
        float: none;
        margin: 15px 0 0 0;
        width: 100%;
    }

    /* Content
    ----------------------------------------------------------- */

    .fl-settings-content {
        float: none;
        margin-top: 15px;
        width: 100%;
    }
    .fl-settings-content .fl-settings-save {
        float: none;
        width: 100%;
    }
    .fl-settings-content .fl-settings-save .button-primary {
        width: 100%;
    }
}

/* Media Query - Max Width 782px
----------------------------------------------------------- */

@media (max-width: 782px) {

    /* Settings Forms
    ----------------------------------------------------------- */

    .fl-settings-form th,
    .fl-settings-form td {
        padding: 5px 17px;
    }
}
