﻿@media (max-width: 767px) {
    html div#s4-workspace {
        top: 90px;
    }
    html div#s4-bodyContainer {
        margin-top: -105px;
    }
    html.ms-dialog div#s4-workspace {
        top: 0;
    }
    html.ms-dialog div#s4-bodyContainer {
        margin-top: 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    html div#s4-workspace.pagetype_c {
        top: 79px;
    }
}

/* BEGIN: WebPart Adder / Editor */
.ms-core-webpartadder {
    z-index: 4;
}

table#MSOTlPn_Tbl {
    position: absolute;
    top: 0;
    width: 300px !important;
    margin-left: 10px;
    z-index: 3;
}

td#MSOTlPn_MainTD {
    width: 0 !important;
}
/* END: WebPart Editor */

/*BEGIN: Search*/
div#Result > .ms-srch-result-groups {
    margin-bottom: 0;
}

div#Result > ul#Paging > li {
    margin-left: 0;
}

div#Result > ul#Paging > li#PagingSelf {
    cursor: default;
}

div#Result > ul#Paging > li#PagingImageLink span {
    display: none;
}

div#Result > ul#Paging > li#PagingImageLink > a:before {
    font-family: 'ukl-arrows';
    font-weight: bold;
    margin: 8px;
}

div#Result > ul#Paging > li#PagingImageLink > a#PageLinkPrev:before {
    content: '3';
    margin-right: 10px;
}

div#Result > ul#Paging > li#PagingImageLink > a#PageLinkNext:before {
    content: '2';
    margin-left: 9px;
}

.ms-srch-sbLarge {
    z-index: 1 !important;
}
/*END: Search*/

/*BEGIN: RTE Field*/
.ms-rtestate-field {
    font-size: 16px;
}

/*END: RTE Field*/

body h1.ms-dlgTitleText {
    line-height: normal;
}
body #wrapper table.ms-linksection-column ul {
    margin: 0 0 32px 0;
}

div.ms-dlgContent .ms-dlgLoadingTextDiv .ms-core-pageTitle {
    font-size: 2em;
    font-family: 'Futura LT W01 Book', sans-serif;
}
div.ms-dlgContent .ms-dlgLoadingTextDiv img {
    vertical-align: sub;
}

#sideNavBox {
    position: absolute;
}

@media(max-width: 1500px) {
    #sideNavBox {
        display: none;
    }
}


div#DeltaPageStatusBar {
    margin: 0 10px 0 10px;
}

html.ms-dialog div#DeltaPageStatusBar {
    margin: auto;
}

html.ms-dialog .row {
    margin-left: 0;
    margin-right: 0;
}

.ms-helperText,
div#applist {
    font-size: 13px;
}

.ms-vl-apptile, .ms-vl-apptile-tenant {
    width: 300px;
}

.sp-peoplepicker-initialHelpText {
    top: 5px;
}

div.article, 
div.welcome {
    padding: 0;
}

.container {
    background-color: transparent !important;
    border: none !important;
}

/*.ms-linksection-title {
    color: #636363;
}*/

.ms-rtestate-field h1, h1.ms-rteElement-H1, .ms-rtestate-field h2, h2.ms-rteElement-H2 {
    line-height: 1.1em;
}

body #wrapper .content h2.ms-webpart-titleText {
    margin: 0;
    text-align: left !important;
}

.ms-textSmall, .ms-textXSmall, .ms-metadata, .ms-descriptiontext, .ms-secondaryCommandLink {
    font-size: 1em;
}

/* Various fixes for bootstrap box-sizing */
a[id$="SiteActionsMenu"], /* SuiteBar Gear Icon */
a.js-callout-closeButton, /* Callout Close Button*/
span#ms-help span, /* SuiteBar ? Icon */
span#fullscreenmodebox span, /* Fullscreenmode Btn */
[class^="ms-cui"], /* Ribbon */ 
td[id^="pagingWP"] a,
a[id$="_MenuLink"],
a.ms-promlink-button {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

/*********/

/*Ribbon overlay*/
#s4-ribbonrow {
    background-color: #fff;
    width: 100%;
    position: absolute;
    z-index: 1001;
}

body #wrapper .content h2.js-callout-title,
body #wrapper .content h2.ms-dlg-heading {
    line-height: normal;
    margin: 8px 0 0 0;
}

/*Auto-Hiding Scrollbars*/
#s4-workspace {
    -ms-overflow-style: -ms-autohiding-scrollbar;
    overflow-y: auto;
    margin-top: 35px;
}

/*Remove margin-top when user is anonymous*/
[id$="SuitebarAndRibbonContainer"][style*="display: none;"] + #s4-workspace {
    margin-top: 0;
}

#s4-bodyContainer {
    padding-bottom: 0;
}

#contentRow {
    padding-top: 0;
}

body #wrapper .content .ms-rtestate-field ul.ms-core-menu-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

    body #wrapper .content .ms-rtestate-field ul.ms-core-menu-list li.ms-core-menu-item {
        background-image: none;
        line-height: normal;
        padding: 0;
    }

/* Search Box */
img#searchImg, img.ms-inlineSearch-searchImg, .ms-inlineSearch-cancelImg {
    display: none;
}

#searchInputBox {
    margin-bottom: 0;
    float: none;
}

/* Seach icon on list views */
span.ms-inlineSearch-searchImgSpanBase {
    margin: 0;
}

span.ms-inlineSearch-searchImgSpanBase:after {
    font-size: 25px !important;
    line-height: 20px !important;
    position: relative !important;
    right: 3px;
    bottom: 2px;
}

input.ms-InlineSearch-SearchBox-Baseline.ms-InlineSearch-SearchBox-Baseline.ms-helperText {
    padding: 0 0 6px 0;
    width: auto;
    font-size: 13px;
    font-family: 'Futura LT W01 Book Oblique', sans-serif;
    color: silver;
}

input.ms-InlineSearch-SearchBox-Baseline.ms-InlineSearch-SearchBox-Baseline.ms-InlineSearch-SearchBox-Filled {
    font-family: 'Futura LT W01 Book', sans-serif; 
    color: #007fbf;
}


#SearchBox.ms-floatLeft {
    float: none;
}

/*********/

div#DeltaPlaceHolderMain {
    min-height: 550px;
}

.ms-dialog div#DeltaPlaceHolderMain {
    min-height: 0;
}

.ms-dialog body #wrapper .content {
    padding-bottom: 0;
}

/*html.ms-dialog div#DeltaPlaceHolderMain {
    min-height: auto;
}*/

input[id^="SelectionCbxWebPart"] {
    margin: 0 !important;
}

.ms-dlgCloseBtn span {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

body #wrapper .content span[id$='RichImageField_ImageFieldDisplay'] img {
    width: 100%;
    min-height: 190px;
    max-height: 190px;
}

body #wrapper .content ul li.ms-linksection-listItem {
    background-image: none;
    padding: 0;
}

body #wrapper .content ul.TmtTree li {
    list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
}

body #wrapper .content li.ms-core-menu-item {
    font-size: 13px;
}

body #wrapper .content div.ms-siteSettings-root table {
    width: 100%;
}

.ms-metadata, .ms-descriptiontext {
    color: #636363;
}

.ms-formdescriptioncolumn-wide {
    width: 500px;
}

td.ms-authoringcontrols label, td.ms-authoringcontrols input[type=checkbox], td.ms-authoringcontrols input[type=radio] {
    vertical-align: text-top;
}
td.ms-descriptiontext {
    padding: 4px;
}

/*******************/
/* Bootstrap fixes */
/*******************/

/* bootstrap.min.css: Line 144, Line 2900 */
input[type=checkbox], input[type=radio] {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    padding: 0;
    margin: 0 10px 2px 5px;
    line-height: normal;
}

/* bootstrap.min.css: Line 2887 */
label {
    display: inline;
    margin-bottom: 0;
    font-weight: normal;
}
/*************/
/*RTE styling*/
/*************/
.ms-rtestate-field p, p.ms-rteElement-P {
    margin: 0 0 27px 0;
}

/* BEGIN: ListViewTable */
.ms-vb-title .ms-vb {
    padding: 0;
}
body #wrapper table.ms-listviewtable th {
    padding: 4px 16px 4px 4px;
}
body #wrapper table.ms-listviewtable tr td {
    padding: 4px;
    border-width: 1px;
    border-color: transparent;
}
body #wrapper table.ms-listviewtable tr.s4-itm.selected td {
    border-color: #fff;
}
.ms-vb-imgFirstCell.ms-vb-imgFirstCell.ms-vb-imgFirstCell {
    border-right-width: 0;
}
/*.ms-vh, .ms-vh2, .ms-vh-icon, .ms-vh-icon-empty, .ms-vh2-nofilter, .ms-vh2-nofilter-notextalign, .ms-vh2-nofilter-perm, .ms-vhImage, .ms-vh2-nograd, .ms-vh3-nograd, .ms-vh2-nograd-icon, .ms-vh2-nofilter-icon, .ms-ph,
.ms-vb, .ms-vb2, .ms-vb-icon, .ms-vb-title, .ms-list-itemLink-td, .ms-vb-user, .ms-vb-tall, .ms-pb, .ms-pb-selected{
    font-size: 14px;
    vertical-align: middle;
    padding: 0;
}*/
a.ms-headerSortTitleLink:hover {
    color: #777;
}
/* END: ListViewTable */

div.ms-featurestatus {
    padding: 6px 5px 5px 10px;
    margin-left: 4px;
}
span.ms-list-addnew-imgSpan20 {
    margin: 0 8px 4px 0;
}

li.ms-storefront-myappicon {
    height: auto;
    margin: 20px 24px 40px 0;
}
div.ms-storefront-myappicontop {
    height: auto;
}