@import "../variables/dimensions";
@import "../variables/colors";

& {
    white-space: normal;
    font: normal $font-size-base Helvetica, Calibri, Myriad, 'Lucida Sans', Arial, sans-serif;
    color: $darkGrayColor;
    line-height: $line-height-base;
}

* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

table {
    border-collapse: collapse;
}

img {
    vertical-align: middle;
}

input[type="file"] {
    display: block;
}

h1, h2, h3, h4, h5, h6, p, .heading, .subheading, .section-heading {
    margin-top: 0;
    margin-bottom: $line-height-computed;
}

h1, h2, h3, h4, h5, h6, .heading, .subheading, .section-heading {
    color: $headerColor;
}

h1 {
    font-size: $font-size-heading;
    font-weight: lighter;
}

h2 {
    font-size: $font-size-subheading;
    font-weight: normal;
}

h3 {
    font-size: $font-size-section-heading;
    font-weight: bold;
}

.heading {
  font-size: $font-size-heading;
  font-weight: lighter;
}

.subheading {
  font-size: $font-size-subheading;
  font-weight: normal;
}

.section-heading {
  font-size: $font-size-section-heading;
  font-weight: bold;
}

ul, ol {
    margin-bottom: 0;
}

hr {
    margin-top: $default-padding;
    margin-bottom: $default-padding;
    background: none;
}

legend {
    margin-bottom: $grid-gutter-width;
    border-bottom: none;
    font-size: 13px;
    font-weight: bold;
    color: $darkGrayColor;
}

label {
    margin-bottom: $grid-gutter-width;
}

.dl-horizontal {
    dt {
        text-align: left;
    }
}

.rc-break-line {
    white-space: normal;
}

.close {
    opacity: 0.8;
    font-weight: 100;
    font-family: sans-serif;
}
.dropup,
.dropdown{
    .dropdown-menu {
        padding: 0;
        li > a {
            padding: $grid-gutter-width;
        }
    }
}

.popover-content{
    padding: $default-padding;
}

nav.header-toolbar:focus, section.setting-detail-panel:focus {
  outline: 1px dotted $primaryColor !important;
}

:focus:not(input):not(select):not(textarea),
input[type="radio"]:focus,input[type="checkbox"]:focus {
  outline: 1px dotted $primaryColor !important; // NON-WebKit Kernel Browsers
  outline: 5px auto -webkit-focus-ring-color !important; // Chrome, Safari, WebKit(Blink) Kernel Browsers
}

::-webkit-input-placeholder{
  color: $mediumDarkGray !important;
}

::-moz-placeholder{
    color: $mediumDarkGray !important;
}

:-ms-input-placeholder{
    color: $mediumDarkGray !important;
}

:-moz-placeholder{
    color: $mediumDarkGray !important;
}

.inline-block {
  display: inline-block;
  text-decoration: inherit;
}

li > .inline-block {
  vertical-align: top;
}