/**
 * Twitter bootstrap overriding
 */
body {
    font-family: Helvetica, Arial, sans-serif;
    overflow-x: auto;
    display: inline-block;
    position: relative;
    min-width: 100%;
    font-size: 13px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-rendering: auto;
}

a {
    color: #2a2a2a;
    text-decoration: underline;
}

a:hover {
    text-decoration: underline;
}

a.btn,
.btn a,
#breadcrumb a,
.nav-tabs a,
a.handle,
a.expand-handle {
    text-decoration: none;
}

.table th,
.table td {
    line-height: 15px;
}

.table-condensed th,
.table-condensed td {
    padding: 5px 9px 5px 7px;
}

.table th {
    font-size: 12px;
    line-height: 14px;
}

.table .progress {
    margin-bottom: 0;
}

.table-condensed .progress {
    height: 14px;
}

.table td.bool {
    text-align: center;
}

.container-fluid {
    padding-left: 20px;
    padding-right: 20px;
}

thead label {
    font-size: 12px;
}

form {
    margin: 0;
}

input[type="file"] {
    line-height: normal;
    height: auto;
}

.dropdown-menu > li > a {
    text-decoration: none;
}

.input-prepend input ~ .add-on {
    margin-right: 0;
}

.input-prepend .btn-group.open .dropdown-toggle {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.modal-body {
    max-height: 430px;
}

/* base */

#iframe-content {
    padding: 20px;
}

.clear {
    clear: both;
}

.supress-clear {
    overflow: hidden;
}

.hidden {
    display: none !important;
}

.right {
    float: right;
}

.left {
    float: left;
}

.text-right {
    text-align: right !important;
}

.text-left {
    text-align: left !important;
}

.text-center {
    text-align: center !important;
}

.overlay {
    background: #000;
}

.popupForm,
.popup-target {
    background: #fff;
}

.popupLoading,
.popup-loading {
    width: 32px;
    height: 32px;
    background: #fff url(../img/ajax-loader.gif) 50% 50% no-repeat;
    padding: 16px;
    border-radius: 6px;
}

.ufo-loading {
    position: relative;
}
.ufo-loading::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: #fff url(../img/ajax-loader.gif) 50% 50% no-repeat;
}

.loading-indicator-image,
.popup-target {
    left: 50%;
    top: 50%;
    position: absolute;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.help-sidebar li {
    list-style: none;
}

.help-list li:before {
    content: "—";
    text-indent: -1.2em;
    display: inline-block;
}

.help-sidebar ol,
.help-sidebar ul {
    margin-left: 0;
}

.help-sidebar h3 {
    font-size: 17px;
    line-height: 20px;
}

#help-popup .modal-body {
    padding: 0;
}

#help-popup .scrollable-list {
    padding: 15px;
}

.alert.hint h3 {
    margin: 0;
    font-size: 21px;
    line-height: 30px;
}

.alert.hint p {
    margin: 0 0 5px 0;
}

ul li,
ol li {
    list-style: none;
}

ol,
ul {
    padding: 0;
    margin: 0;
}

h3.separated {
    border-bottom: 1px dotted #ccc;
    color: #444;
    font-size: 20px;
    line-height: 22px;
}

p.noData,
p.no-data {
    text-align: center;
    line-height: 50px;
    margin: 0;
}

#content-header h1 .label {
    vertical-align: text-top;
}

#content-header + .container-fluid .row-fluid:first-child {
    margin-top: 0;
}

.tree .tree {
    margin-left: 15px;
}

.offset-bottom {
    margin-bottom: 15px;
}

.no-padding {
    padding: 0 !important;
}

.data-container .table tr td:first-child {
    border-left: none;
}

.data-container .table {
    margin-bottom: 0;
}

.offset-bottom .table,
.form-elements .table {
    margin-bottom: 0;
}

.scrollable-list {
    max-height: 320px;
    overflow-y: auto;
}

#help-popup .howto-text img.figure {
    display: block;
    margin: 0 auto 5px;
}

#help-popup .howto-text ol li {
    list-style: decimal;
}

#help-popup .howto-text ul li {
    list-style: disc;
}

#help-popup .howto-text ol,
#help-popup .howto-text ul {
    padding-left: 25px;
}

.ui-datepicker {
    font-size: 12px !important;
    line-height: 14px !important;
}

.mceListBoxMenu {
    width: auto !important;
}

/* icons */

td > [class^="icon-"],
td > [class*=" icon-"],
td > * > [class^="icon-"],
td > * > [class*=" icon-"] {
    vertical-align: top;
}

.icon-custom-export-db {
    background-image: url(../img/icons/48/database.png);
    background-size: 100%;
}

.icon-custom-mail {
    background-image: url(../img/icons/48/mail.png);
    background-size: 100%;
}

.icon-custom-password {
    background-image: url(../img/icons/48/lock.png);
    background-size: 100%;
}

.icon-custom-robots {
    background-image: url(../img/icons/48/robot.png);
    background-size: 100%;
}

.icon-custom-support {
    background-image: url(../img/icons/32/people.png);
    background-size: 100%;
}

.icon-custom-about {
    background-image: url(../img/icons/32/copyright.png);
    background-size: 100%;
}

.icon-custom-seo {
    background-image: url(../img/icons/48/search_globe.png);
    background-size: 100%;
}

.icon-custom-unlink {
    background-position: -640px 0;
    background-image: url(/phproad/thirdpart/tiny_mce/themes/advanced/img/icons.gif);
    height: 18px;
    width: 18px;
    vertical-align: -2px;
}

.icon-custom-raw {
    background: none;
}

/* Breadcrumb */
#breadcrumb {
    background-color: #e5e5e5;
    box-shadow: 0 0 1px #ffffff;
    border-top: 1px solid #d6d6d6;
    border-bottom: 1px solid #d6d6d6;
    padding-left: 10px;
}
#breadcrumb a,
#breadcrumb span {
    padding: 8px 20px 8px 10px;
    display: inline-block;
    background-image: url("../img/breadcrumb.png");
    background-position: center right;
    background-repeat: no-repeat;
    font-size: 11px;
    color: #666666;
}
#breadcrumb a:hover {
    color: #333333;
}
#breadcrumb a:last-child,
#breadcrumb span:last-child {
    background-image: none;
}
#breadcrumb a.current,
#breadcrumb span.current {
    font-weight: bold;
    color: #444444;
}
#breadcrumb a i,
#breadcrumb span i {
    margin-right: 5px;
    opacity: 0.6;
    vertical-align: text-bottom;
}
#breadcrumb a:hover i {
    margin-right: 5px;
    opacity: 0.8;
}

/* buttons */
.control-panel {
    padding: 5px 0 10px;
    min-height: 30px;
}

/* score board */
.score-board {
    display: inline-block;
    vertical-align: middle;
    margin: 0 15px 15px 0;
    text-align: center;
    padding: 5px 10px;

    background-color: #f6f6f6;
    background-image: -webkit-gradient(
        linear,
        0 0%,
        0 100%,
        from(#f9f9f9),
        to(#ededed)
    );
    background-image: -webkit-linear-gradient(top, #f9f9f9 0%, #ededed 100%);
    background-image: -moz-linear-gradient(top, #f9f9f9 0%, #ededed 100%);
    background-image: -ms-linear-gradient(top, #f9f9f9 0%, #ededed 100%);
    background-image: -o-linear-gradient(top, #f9f9f9 0%, #ededed 100%);
    background-image: linear-gradient(top, #f9f9f9 0%, #ededed 100%);
    border: 1px solid #d5d5d5;
    border-radius: 4px 4px 4px 4px;
    box-shadow: 0 1px 0 0 #ffffff inset, 0 1px 0 rgba(255, 255, 255, 0.4);
}

.score-board:hover {
    background-color: #fcfcfc;
    background-image: -webkit-gradient(
        linear,
        0 0%,
        0 100%,
        from(#fcfcfc),
        to(#f1f1f1)
    );
    background-image: -webkit-linear-gradient(top, #fcfcfc 0%, #f1f1f1 100%);
    background-image: -moz-linear-gradient(top, #fcfcfc 0%, #f1f1f1 100%);
    background-image: -ms-linear-gradient(top, #fcfcfc 0%, #f1f1f1 100%);
    background-image: -o-linear-gradient(top, #fcfcfc 0%, #f1f1f1 100%);
    background-image: linear-gradient(top, #fcfcfc 0%, #f1f1f1 100%);
}
.score-board strong {
    font-size: 24px;
    display: block;
    margin: 5px;
}

/* action list */

.actions-list li {
    width: 128px;
    height: 96px;
    background-color: #f6f6f6;
    background-image: -webkit-gradient(
        linear,
        0 0%,
        0 100%,
        from(#f9f9f9),
        to(#ededed)
    );
    background-image: -webkit-linear-gradient(top, #f9f9f9 0%, #ededed 100%);
    background-image: -moz-linear-gradient(top, #f9f9f9 0%, #ededed 100%);
    background-image: -ms-linear-gradient(top, #f9f9f9 0%, #ededed 100%);
    background-image: -o-linear-gradient(top, #f9f9f9 0%, #ededed 100%);
    background-image: linear-gradient(top, #f9f9f9 0%, #ededed 100%);
    border: 1px solid #d5d5d5;
    border-radius: 4px 4px 4px 4px;
    box-shadow: 0 1px 0 0 #ffffff inset, 0 1px 0 rgba(255, 255, 255, 0.4);
    display: inline-block;
    line-height: 18px;
    margin: 0 10px 10px;
    padding: 0 10px;
    vertical-align: top;
}
.actions-list li a {
    padding: 10px 0;
    text-align: center !important;
    display: block;
    color: #666666;
    text-shadow: 0 1px 0 #ffffff;
}
.actions-list li a i[class^="icon-"],
.actions-list li a i[class*=" icon-"] {
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: 0 0;
    background-color: transparent;
    width: 32px;
    height: 32px;
    display: block;
    margin: 0 auto 5px;
}

.actions-list.large li {
    width: 160px;
    height: 128px;
}

.actions-list.large li a i[class^="icon-"],
.actions-list.large li a i[class*=" icon-"] {
    width: 48px;
    height: 48px;
}

.actions-list li:hover {
    background-color: #fcfcfc;
    background-image: -webkit-gradient(
        linear,
        0 0%,
        0 100%,
        from(#fcfcfc),
        to(#f1f1f1)
    );
    background-image: -webkit-linear-gradient(top, #fcfcfc 0%, #f1f1f1 100%);
    background-image: -moz-linear-gradient(top, #fcfcfc 0%, #f1f1f1 100%);
    background-image: -ms-linear-gradient(top, #fcfcfc 0%, #f1f1f1 100%);
    background-image: -o-linear-gradient(top, #fcfcfc 0%, #f1f1f1 100%);
    background-image: linear-gradient(top, #fcfcfc 0%, #f1f1f1 100%);
}
.actions-list li:active {
    background-image: -webkit-gradient(
        linear,
        0 0%,
        0 100%,
        from(#eeeeee),
        to(#f4f4f4)
    );
    background-image: -webkit-linear-gradient(top, #eeeeee 0%, #f4f4f4 100%);
    background-image: -moz-linear-gradient(top, #eeeeee 0%, #f4f4f4 100%);
    background-image: -ms-linear-gradient(top, #eeeeee 0%, #f4f4f4 100%);
    background-image: -o-linear-gradient(top, #eeeeee 0%, #f4f4f4 100%);
    background-image: linear-gradient(top, #eeeeee 0%, #f4f4f4 100%);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2) inset,
        0 1px 0 rgba(255, 255, 255, 0.4);
}

/* two panel layout */
/* DEPRECATED */
.two_panel_layout {
    border-collapse: collapse;
    width: 100%;
}

table.two_panel_layout thead td {
    background-color: #3a3a3a;
    background-image: -webkit-gradient(
        linear,
        0 0%,
        0 100%,
        from(#3f3f3f),
        to(#333)
    );
    background-image: -webkit-linear-gradient(top, #3f3f3f 0%, #333 100%);
    background-image: -moz-linear-gradient(top, #3f3f3f 0%, #333 100%);
    background-image: -ms-linear-gradient(top, #3f3f3f 0%, #333 100%);
    background-image: -o-linear-gradient(top, #3f3f3f 0%, #333 100%);
    background-image: linear-gradient(top, #3f3f3f 0%, #333 100%);
    color: white;
    padding: 5px;
    font-weight: bold;
    box-shadow: 0 0 15px -4px #333 inset;
}

table.two_panel_layout td.left {
    width: 240px;
    border-right: 1px solid #999;
    float: none;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

table.two_panel_layout td.left > * {
    width: 240px;
}

table.two_panel_layout td.left td:first-child {
    border-top: none;
}

table.two_panel_layout > tbody > tr > td {
    padding: 0;
}

table.two_panel_layout td,
table.two_panel_layout th {
    vertical-align: top !important;
}

table.table tbody tr.current td {
    background-color: #4a4a4a;
    background-image: -webkit-gradient(
        linear,
        0 0%,
        0 100%,
        from(#444),
        to(#4f4f4f)
    );
    background-image: -webkit-linear-gradient(top, #444 0%, #4f4f4f 100%);
    background-image: -moz-linear-gradient(top, #444 0%, #4f4f4f 100%);
    background-image: -ms-linear-gradient(top, #444 0%, #4f4f4f 100%);
    background-image: -o-linear-gradient(top, #444 0%, #4f4f4f 100%);
    background-image: linear-gradient(top, #444 0%, #4f4f4f 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) inset;
}
table.table tbody tr.current td a {
    color: #ededed;
}

/* Lists */
/* DEPRECATED */
.intableList {
    position: relative;
}
.intableList .listSettings {
    position: absolute;
    right: 0;
    top: 0;
}
.intableList .pagination {
    padding-left: 10px;
    padding-top: 10px;
}

tr.not-visibled {
    opacity: 0.6;
}

.no-subfolders .expand-handle i {
    opacity: 0.5;
}

.tree .current a {
    font-weight: bold;
}

/* login page */
#login-page #content {
    width: 360px;
    margin: 60px auto;
}

#login-page #content.initialization {
    width: 560px;
}

#login-page .formFlash {
    min-height: 38px;
    margin-bottom: 10px;
}

#login-page #footer {
    width: 360px;
    margin: auto;
    font-size: 13px;
}

#login-page h1.title {
    font-size: 23px;
    text-align: center;
}

#login-page li.buttons input {
    float: left;
}

/* image gallery popup */
#image_popup .modal-body,
#file_popup .modal-body {
    padding: 15px 0 0;
}

#image_popup .noData,
#file_popup .noData {
    margin-left: 15px;
    margin-right: 15px;
}

#image_popup .nav,
#image_popup #itab_1 {
    margin-left: 15px;
    margin-right: 15px;
    min-height: 60px;
}
#image_popup .nav {
    margin-bottom: 0;
}

#file_popup .file-list li {
    position: relative;
}

#file_popup .file-list li label {
    padding: 7px 4px;
    margin: 0;
    transition: background-color 0.1s linear;
}

#file_popup .file-list li i {
    margin: 3px 5px;
}

#file_popup .file-list input[type="checkbox"] {
    position: absolute;
    top: 4px;
    right: 4px;
}

#file_popup .file-list li:hover > label {
    background: #eee;
}

#file_popup .hover-next:checked + * {
    background: #eee;
}

#file_popup .file-list .extension {
    display: inline-block;
    position: relative;
    overflow: hidden;
    width: 33px;
    padding: 0 4px 2px;
    margin-right: 3px;
    text-align: center;
    vertical-align: middle;
    color: #eee;
    font-size: 12px;
    line-height: 20px;
    border: 1px solid #d6d6d6;
    border-radius: 4px;

    background-color: #333333;
    background-image: -webkit-gradient(
        linear,
        0 0%,
        0 100%,
        from(#3f3f3f),
        to(#222222)
    );
    background-image: -webkit-linear-gradient(top, #3f3f3f 0%, #222222 100%);
    background-image: -moz-linear-gradient(top, #3f3f3f 0%, #222222 100%);
    background-image: -ms-linear-gradient(top, #3f3f3f 0%, #222222 100%);
    background-image: -o-linear-gradient(top, #3f3f3f 0%, #222222 100%);
    background-image: linear-gradient(top, #3f3f3f 0%, #222222 100%);
    -webkit-transition: background-color 0.2s ease-out;
    -moz-transition: background-color 0.2s ease-out;
    -o-transition: background-color 0.2s ease-out;
    transition: background-color 0.2s ease-out;
}

#file_popup .file-list .extension:hover {
    background-color: transparent;
    border: none;
    margin: 1px 4px 1px 1px;
}

#file_popup .file-list .extension a {
    position: absolute;
    background: #fafafa;
    color: #000000;
    opacity: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}

#file_popup .file-list .extension:hover a {
    opacity: 1;
}

#file_popup .file-list .extension a i {
    vertical-align: middle;
}

#file_popup .file-list .file-link {
    vertical-align: middle;
    max-width: 86%;
    display: inline-block;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

#file_popup .file-list li.need-more {
    text-align: center;
    padding: 10px 0;
}

#file_popup .uploader {
    padding: 4px 15px;
}

#image-insert-popup .image-insert-form .pull-left {
    width: 150px;
    font-size: 12px;
}

#image-insert-popup .image-insert-form li.left {
    margin-left: 1px;
    margin-bottom: 1px;
}

.image-grid-list li {
    width: 124px;
    height: 124px;
    float: left;
    margin: 3px;
    position: relative;
}

.image-grid-list li.need-more,
.image-grid-list li.noData {
    float: none;
    clear: both;
    width: 100%;
    height: auto;
    padding: 20px 0;
    margin: 0 !important;
    text-align: center;
}
.image-grid-list li.noData {
    padding-top: 0;
}

.image-grid-list li span.select {
    display: block;
    cursor: pointer;
    width: 120px;
    height: 120px;
    margin: 2px;
}

.image-grid-list li:hover,
.image-grid-list li input[type="checkbox"]:checked ~ span.select {
}
.image-grid-list li input[type="checkbox"]:checked ~ span.select {
    background: #fff;
}
.image-grid-list li input[type="checkbox"]:checked ~ span.select:before {
    content: "\2713";
    font-size: 70px;
    font-family: "WebHostingHub-Glyphs";
    color: #868686;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    text-align: center;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.image-grid-list li input[type="checkbox"]:checked ~ span.select img {
    opacity: 0.3;
}

.image-grid-list li input[type="checkbox"],
.image-grid-list li a.delete-image {
    display: none;
    margin: 0;
    position: absolute;
    top: 2px;
    left: 2px;
    z-index: 1;
}
.image-grid-list li a.delete-image {
    right: 0px;
    left: auto;
    width: 22px;
    height: 22px;
}

.image-grid-list li input[type="checkbox"]:checked {
    display: block;
}

.image-grid-list li:hover input[type="checkbox"],
.image-grid-list li:hover a.delete-image {
    display: block;
}

/** DRAG UPLOADER **/
.droppable {
    position: relative;
    box-shadow: inset 0px 0px 11px 0px #aaa;
}

.droppable > .drop-mask {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: transparent;
    z-index: 1;
}

tr.noData td {
    text-align: center;
    padding: 20px;
    color: #666;
}

.table-striped tbody tr.noData td {
    background-color: transparent;
}

table.table .cell-icon {
    width: 14px;
}

table.table .checkbox input {
    margin: 2px;
    float: none;
}

td input[type="checkbox"] {
    height: auto !important;
    min-height: 0 !important;
}

.drag > *,
.ui-sortable-helper > * {
    background: #ffffda !important;
}

td .minor-comment-after {
    margin: 3px 0 0 !important;
}

/* Footer */
#footer {
    text-align: center;
    color: #777;
    margin-top: 15px;
}

#footer a {
    color: #aaa;
}

#footer a:hover {
    color: #888;
}

.colorpicker {
    z-index: 300000;
}

.settings-support {
    font-size: 14px;
}

.inline-block {
    display: inline-block;
    vertical-align: top;
}
