img,
iframe {
    max-width: 100% !important;
}
img.croppable, img.IblesFileThumbnailExpanded {
    max-width: none !important;
}

/* this is here mostly so input fields & textareas act similarly in bootstrap 2 & 3 */
input[type="text"],
textarea {
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    margin-bottom: 10px;
}

input[type="text"]:focus,
textarea:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
          box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}

.svg-icon {
    width: 24px;
    height: 24px;
    fill: #bbb;
    margin-right: 5px;
    display: inline-block;
    vertical-align: middle;
}

.svg-icon.teacher {
    position: relative;
    left: 7px;
}
.no-wrap {
    white-space: nowrap;
}

.hidden,
.hide-me {
    display: none;
}

.dark-link,
.dark-link:hover,
.dark-link:focus {
    color: #333;
}

.dark-link:hover {
    text-decoration: underline;
}

.subtle-txt {
    color:#757575
}

.flex-box {
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;   
    -webkit-justify-content: space-between; 
}

.flex-item {
    -webkit-align-self: center;
    align-self: center;
}

.flex-center {
    -webkit-align-self: center;
    align-self: center;
}

.flex-start {
    -webkit-align-self: flex-start;
    align-self: flex-start;
}

.flex-hug-left {
    margin-right: auto;
}

.flex-hug-right {
    margin-left: auto;
}

.field-with-btn {
    font-size: 0;
    white-space: nowrap;
    vertical-align: middle;
    text-align: center;
}

.field-with-btn input {
    vertical-align: middle;
    -webkit-border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
    display: inline-block;
    width: calc(100% - 90px);
    height: 45px;
    margin: 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.field-with-btn button {
    margin: 0 0 0 -1px;
    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
    display: inline-block;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: 45px;
}

.lazy-img-responsive,
.lazy-img-scroll {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

button:not(.btn) {
    background-repeat: no-repeat;
    background-color: transparent;
    border: 0;
    padding: 0;
    vertical-align: initial;
    font-weight: inherit;
    color: inherit;
}

/* copied from later versions of bootstrap to convey meaning to assistive technologies
https://www.webmasterworld.com/accessibility_usability/4234495.htm
*/
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.sr-only-focusable:active,
.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
}

.browser-scrollable-backdrop {
    background-color: #999;
}

.browser-scrollable-backdrop.fade.in {
    opacity: 0.9;
    filter: alpha(opacity=90);
}