@import url(../../css/bootstrap.min.css);
@import url(../../css/bootstrap-theme.min.css);
@import url(../../css/font-awesome.min.css);
@import url(../../../admin/css/widgets.css);

@font-face {
    font-family: 'oswaldbook';
    src: url('../fonts/oswald-regular-webfont.eot');
    src: url('../fonts/oswald-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/oswald-regular-webfont.woff') format('woff'),
         url('../fonts/oswald-regular-webfont.ttf') format('truetype'),
         url('../fonts/oswald-regular-webfont.svg#oswaldbook') format('svg');
    font-weight: normal;
    font-style: normal;

}

.glyphicon-refresh-animate {
    -animation: spin .7s infinite linear;
    -webkit-animation: wspin .7s infinite linear;
    -moz-animation: mspin .7s infinite linear;
}

@-webkit-keyframes wspin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}

@-moz-keyframes mspin {
    from { -moz-transform: scale(1) rotate(0deg); }
    to { -moz-transform: scale(1) rotate(360deg); }
}


@keyframes spin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}

h1 { font-size:2em; }
a { color:#444; }
a:hover { text-decoration:none; }
article header { margin-bottom:10px; }

body { margin-top:90px;margin-bottom:50px; }
body.popup { margin-top:0px; }
body.with-nav-global {
    margin-top: 140px;
}
body.without-breadcrumb {
    margin-top: 50px;
}
body.with-nav-global.without-breadcrumb {
    margin-top: 100px;
}
body.popup.without-breadcrumb {
    margin-top:0px;
}

h1, h2, h3, h4, h5, h6,
.navbar-btn, .navbar-brand,
.breadcrumb,
.panel-heading {
    font-family:"oswaldbook";
}
.panel-title a.btn { color:#fefefe; }
.panel-title a.btn:hover, .panel-title a.btn:active, .panel-title a.btn:focus { hover:#fff; }
.panel-title a.btn.btn-xs { float:right; margin:-2px -7px -2px 15px; }

.breadcrumb {
    border-bottom:1px solid #ccc;
    margin-bottom:0px;
    font-size:0.8em;
}

.well-inverse {
    background:#222;
    border:1px solid #111;
    color:#cdcdcd;
}
.well-inverse a { color:#008bdc; }

.panel-heading {
    color:#444;
    font-size:105%;
    text-shadow: 0px -1px 0px #fff;
}
.panel-body .list-group {
    margin-bottom:0px;
}
.app.panel .list-group-item {
    font-weight:bold;
}

.clearable-handler {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 14px;
    margin: auto;
    font-size: 14px;
    cursor: pointer;
    color: #ccc;
    z-index:999;
}

/* Form-ELements */

.form-group-sm .form-control { height:auto; }

.form-horizontal .panel-body { background:#efefef; box-shadow:#aaa 0 0 5px inset; }
.form-horizontal .panel-body .line.row { border-top: 1px solid #ccc; }
.form-horizontal .panel-body .line.row .control-label { font-weight:bold; }
.form-horizontal .panel-body .line.row .control-label.col-sm-12 { text-align:left; }
.form-horizontal .form-group { margin-top:5px; margin-bottom:5px; }
.form-horizontal .form-group .checkbox { padding-top:2px; padding-bottom:0px; }
.form-horizontal .description { margin:0 -15px; padding:10px; }

.input-group-btn:last-child>.btn,
.input-group-btn:last-child>.btn-group { margin-left: -12px; }

.related-widget-wrapper { float:none; }

form .help-block { font-size:0.8em; }
form label { font-weight: normal; }
form label.required { font-weight: bold; }

.empty-form { display:none; }
.has-error .errorlist { color:#a94442; }

label.required { font-weight:bold; }
label.required:after { content:'*' }

.change-form .panel-body.form { padding:0px 15px; }

.datetimeshortcuts { display:none; }
.calendarbox, .clockbox { background:#fff; }

.tt-dropdown-menu {
    background-color:#fff;
    padding:5px;
    border-bottom-left-radius:4px;
    border-bottom-right-radius:4px;
}
.tt-suggestion.tt-cursor { background-color: #0097cf; color: #fff; }

/* stacked inlines */

.editinline-stacked > .panel-body { background:#fafafa; }
.editinline-stacked > .panel-body h4 > b { margin-right:10px; }
.editinline-stacked .panel-group > .panel { margin-bottom:15px; }
.editinline-stacked .inline-deletelink { margin-top:-17px; }

/* tabular inlines */

.tabular .panel-body .table { margin-bottom:0px; }


.add-row { margin-bottom:-20px; }
.add-row > a { float: none !important; }

.submit-row {
    border-radius:0px; -moz-border-radius:0px; -webkit-border-radius: 0px;
    bottom:0px;
    margin:0px -15px;
    padding:10px 15px;
}
.submit-row .well { font-size:0.8em; line-height:1.8em; margin:0px; padding:4px 12px; }
.submit-row-fixed-bottom { bottom:0px; position:fixed; width:90%; z-index:998; }
.submit-row .navbar-btn { margin-top:0px; margin-bottom:0px; }
.submit-row .delete-handler { margin-left:-15px; }

/* End: Form-Elements */


#page-header {
    margin:0px;
    position:fixed;
    top:0px;
    width:100%;
    z-index:999;
}

#topnav {
    border:none;
    border-radius:0px;
    margin-bottom:0px;
}
#topnav span.navbar-brand { padding:0px 15px 0px 0px; }
#topnav span.navbar-brand a { color:#999; padding:15px 0; position:relative;top:3px; }
#topnav span.navbar-brand a:hover { color:#fff; }

#sidebar-collapse { background:transparent; border:none; color:#999; }
#sidebar-collapse:hover { color:#fff; }
#sidebar-collapse:active, #sidebar-collapse:focus { border:none; }

#nav-global_sidebar { background:#222; height:100%; overflow-y:auto; padding-bottom:82px; position:fixed; top:82px; z-index:999;}
#nav-global_sidebar a { color:#999; text-decoration:none; text-transform: capitalize; }
#nav-global_sidebar a:hover  { color:#fff; }
#nav-global { border-radius:0px; margin-bottom:0px; }
#nav-global.navbar { min-height:40px; }
#nav-global .navbar-nav > li > a { padding-top:8px; padding-bottom:8px; }
#nav-global .dropdown-menu > li { min-width:200px; width:auto; }

ul.object-tools { list-style-type:none; margin-top:15px; }
ul.object-tools > li { float:left; margin-left:5px; }

#result_list thead th {
    text-shadow: 0 1px 0 #fff;
    background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%);
    background-image:      -o-linear-gradient(top, #fff 0%, #e0e0e0 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e0e0e0));
    background-image:         linear-gradient(to bottom, #fff 0%, #e0e0e0 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    background-repeat: repeat-x;
    color:#777;
    font-weight:normal;
}
#result_list thead th a { color:#777; }

#result_list thead th a:hover,
#result_list thead th a:active { color:#444; text-decoration:none; }

#result_list .action-checkbox-column,
#result_list .action-checkbox { text-align:center; width:35px; }


#result_list .sorted {
    background-image: -webkit-linear-gradient(top, #e0e0e0 0%, #fff 100%);
    background-image:      -o-linear-gradient(top, #e0e0e0 0%, #fff 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#e0e0e0), to(#fff));
    background-image:         linear-gradient(to bottom, #e0e0e0 0%, #fff 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe0e0e0', endColorstr='#ffffffff', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    background-repeat: repeat-x;
    box-shadow:#888 2px 2px 3px inset;
}
#result_list .sorted .text a { color:#444; font-weight:bold; }

#action-counter { text-align:center; margin-left:-20px; }

.filter-results { padding:7px; margin:-1px 0 0 0; }


.login #header {
    text-align:center;
}

.login #nav-global_sidebar {
    display:none;
}

.module .panel-body {
    margin:0px;
    padding:0px;
}
.module .panel-body > * {
    margin-bottom:0px;
}

/* Begin: MediaManager */

.file .loading {height:150px; }
.file .loading .glyphicon-refresh-animate { font-size:120px; margin-top:20px; left:50%; position:relative; margin-left:-60px;}
.file .preview { height:150px; }
.file .caption { text-align:center; overflow:hidden; }
.file .name { font-size: smaller; font-weight:bold; }
.file .size { font-size: smaller;  }
.file .progressfile { width:100%; margin-bottom:0px; height:22px; }
.mediamanager .dropzone.alert { padding:5px 5px 5px 15px }
.mediamanager .dropzone.alert span.text { margin-top:7px; margin-right:15px; }

/* End: MediaManager */

@media (max-width:768px) {
    #action-counter {
        margin-left:0px;
        margin-top:5px;
    }
}

/*
 * form / error messages
 *
 * */
p.errornote {
    font-weight: bold;
    color: #f33;
}
ul.errorlist {
    padding: 0;
    margin: 0;
    list-style-type: none;
    color: #f33;
}

/*
 * form / url field
 *
 * */
p.url {
    font-size: smaller;
}
p.url a {
    text-decoration: underline;
    font-style: italic;
}
p.url input {
    font-size: normal;
}

/*
 * form / file upload field
 *
 * */
p.file-upload {
    font-size: smaller;
    margin: 0 0 0.333em 0 !important;
}
p.file-upload a {
    text-decoration: underline;
    font-style: italic;
}
p.file-upload input {
    font-size: normal;
}
p.file-upload .clearable-file-input {
    margin-left: 1em;
}
p.file-upload .clearable-file-input input {
    margin: 0;
}
p.file-upload .clearable-file-input label {
    margin: 0;
    font-weight: bold;
}

/*
 * form / image field
 *
 * */
.field-image input[type="file"]  {
    height: auto;
}

/*
 * form / helptext
 *
 * */
span.help {
    display: inline-block;
    color: #262;
}

/*
 * form / timezonewarning
 *
 * */
span.timezonewarning {
    font-size: smaller;
    font-weight: bold;
    color: #626;
}

/*
 * related fields
 *
 * */
.input-group-addon, .input-group-btn {
    vertical-align: top;
    padding-left: 10px;
}