/* Header */
.fwcss .nav-tabs {
    padding: .75rem .75rem 0;
    background: #fff;
    border-bottom: 0;
}
.fwcss .fwa-main-body .nav-tabs a.nav-link {
    padding: 1rem 2rem;
    font-size: .9rem;
    border-color: #ddd;
    border-top-color: #eee;
}
.fwcss .fwmg-files-list form .fwa-filter-bar {
    border-bottom: 0;
}
.fwcss .nav-tabs li:first-child a.nav-link {
    border-left: 1px solid #ddd;
}
.fwcss .nav-tabs a.nav-link.active {
    font-weight: 600;
    background: #fcfcfc;
    border-bottom-color: #fcfcfc;
    border-top-color: #ffbe24;
}

.fwcss table.fwmg-admin-tags td span+span {
    margin-left: .5rem;
}

.fwcss .fwmg-vote-stars {
    white-space: nowrap;
}

/* CSS Custom Editor fixes */
.fwa-main-body .minicolors-theme-bootstrap .minicolors-input {
    padding: 4px 6px;
    padding-left: 30px;
    font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
    font-size: 14px;
    height: inherit;
    width: 65px;
    margin: 0px;
}
#bs2 input[type="text"] {
	width: 124px;
}
#bs2 input[type="text"],
#bs2 span,
#bs2 button {
    height: 29px;
}

/* batch upload */
#fwmg-batch-uploader-wrapper {
	background: #eee;
	padding:10px;
	width:300px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	margin-bottom: 10px;
}
#fwmg-batch-uploader-drop-zone {
	font-weight: normal;
	text-align:center;
	border:1px dashed #ccc;
	height:200px;
	overflow:auto;
	background:url('../images/drag.png') 28% 50% no-repeat;
	line-height: 200px;
	text-shadow: 0 1px 0 #FFFFFF;
	font-weight: bold;
}

.fwmg-drag-over {
    background: #ddd;
    border-color: #aaa;
}

.fwshop-item .card-item-details {
    position: absolute;
    bottom: .5rem;
    right: .5rem;
    padding: .25rem .5rem;
    font-size: .7rem;
    text-transform: uppercase;
    font-weight: 500;
    background: rgba(255,255,255,.95);
    border-radius: 50%;
    overflow: hidden;
    transition: all .25s linear;
}
.fwshop-item:hover .card-item-details {
    border-radius: .25rem;
}
.fwshop-item .card-item-details span {
    display: inline-block;
    position: absolute;
    margin-left: 0;
    left: 300px;
}
.fwshop-item:hover .card-item-details span {
    position: relative;
    left: 0;
    margin-left: .25rem;
}

.fwshop-item-badges {
    position: absolute;
    top: .7rem;
    right: .75rem;
}
.fwshop-item-badges .badge {
    font-size: 1.1rem;
    margin-left: .25rem;
    padding: 0;
}
.fwshop-item-badges .badge-hot {
    color:  #F25500;
}
.fwshop-item-badges .badge-new {
    color:  #448d21;
}
.fwshop-item-badges .badge-recommended {
    color:  #ffc300;
}
.fwshop-item-badges .badge-updated {
    color:  #3e8391;
}

.fwshop-item.type-deal span.badge-discount {
    right: 10px;
    text-transform: lowercase;
}
.fwshop-item.type-deal span.badge {
    color: #fff;
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 7px 10px 5px;
    font-weight: 400;
    text-transform: uppercase;
    background: #00c400;
    border-radius: 3px;
}

.fwshop-item .fwshop-item-type {
    position: relative;
    top: 0;
    left: 0;
    padding: .35rem .5rem;
    display: inline-block;
}

#fw-admin .fws-extensions-item-info {
    color: #212121;
    margin: -1rem;
    padding: 1rem;
    font-size: .8rem;
    display: flex;
    background: #f2f8e8;
    border-bottom: .5px solid #DEDEDE;
}
#fw-admin .fws-extensions-item-info img {
    max-width: 9.5rem;
    padding: 0 1.5rem 0 1rem;
}
#fw-admin .fws-extensions-item-info a {
    color: #5d8125;
}
#fw-admin .fws-ext-item-text-wrapper {
    display: flex;
}
#fw-admin .fws-ext-item-text-wrapper > div {
    flex-shrink: 0;
    flex-basis: 100%;
}
#fw-admin .fws-ext-stats > div {
    margin-bottom: .35rem;
}
#fw-admin .fws-extensions-item-info .fws-ext-name {
    line-height: 1;
    margin-bottom: .8rem !important;
    font-size: 1.15rem;
    font-weight: 500;
}
#fw-admin .fws-extensions-item-info .fws-ext-links > div {
    margin-bottom: .75rem;
}
#fw-admin .fws-ext-download-tooltip {
    line-height: 1.2;
}
#fw-admin .fws-ext-update {
    margin-top: 1rem;
    text-align: center;
}

#fw-admin .card-spread-love p {
    line-height: 1.5;
}

#fw-admin .fwmg-import {
    width: 100%;
    min-width: none;
    max-width: none;
    margin: 0;
}
#fw-admin .fwmg-import .fwmg-import-addon {
    width: 49%;
    float: left;
    margin: 0 0 1.5rem;
}
#fw-admin .fwmg-import .fwmg-import-addon:nth-child(2n+1)  {
    clear: left;
    margin-left: 0;
    margin-right: .75rem;
}
#fw-admin .fwmg-import .fwmg-import-addon:nth-child(2n)  {
    margin-left: .75rem;
    margin-right: 0;
}

.fwshop-item .card-body .btn-text {
    display: none;
    line-height: 1rem;
    font-size: .8rem;
    vertical-align: bottom;
    overflow: hidden;
    transition: all .3s linear;
    bottom: 0 !important;
}
.fwshop-item .card-body .fwmg-action:hover .btn-text,
.fwshop-item .card-body .btn-subscription:hover .btn-text {
    display: inline-block;
    font-weight: 600;
    margin-right: .3rem;
}

/* Custom new file styles  */
#fw-admin .fwa-toolbar .dropdown-menu {
    margin: -.25rem 0 0 -1rem;
    padding: 1rem 1rem .5rem;
    border-radius: .5rem;
}
#fw-admin .fwa-toolbar .dropdown-menu .btn {
    text-transform: capitalize;
}
#fw-admin .fwa-toolbar .dropdown-menu .type-video i::before {
    content: "\f008";
}
#fw-admin .fwa-toolbar .dropdown-menu .type-audio i::before {
    content: "\f001";
}