  .duoEditArea figure{
  display:inline-block;
}
.pagestyle .duoEdittextarea{
  width:500px;
  max-width:100%;
  min-height:200px;
}

/* corrects spacing inside table cell */
td p:last-child,td h1:last-child,td h2:last-child,td h3:last-child,td h4:last-child,td h5:last-child{
  margin-bottom:0;
}
td h1:first-child,td h2:first-child,td h3:first-child,td h4:first-child,td h5:first-child{
  margin-top:0;
}

/*fix for slate editor*/
[contenteditable=false],.clearfix:before, .dl-horizontal dd:before, .container:before, .container-fluid:before, .row:before, .form-horizontal .form-group:before, .btn-toolbar:before, .btn-group-vertical > .btn-group:before, .nav:before, .navbar:before, .navbar-header:before, .navbar-collapse:before, .pager:before, .panel-body:before, .modal-footer:before, .clearfix:after, .dl-horizontal dd:after, .container:after, .container-fluid:after, .row:after, .form-horizontal .form-group:after, .btn-toolbar:after, .btn-group-vertical > .btn-group:after, .nav:after, .navbar:after, .navbar-header:after, .navbar-collapse:after, .pager:after, .panel-body:after, .modal-footer:after{
  white-space: normal;
  -webkit-user-modify:read-only;
}
figure [data-slate-zero-width]{
  display:none;
}
figcaption [data-slate-zero-width]{
  display:inline;
}

gmap{
  width:100%;
  height:100%;
}

[data-slate-void='true'],[data-slate-spacer="true"]{
  position: relative!important
}
/* [data-slate-zero-width]{ 
  outline:1px solid #eee;
} */

.duoslide{
  display:none;
}
.duoslide.active{
  display:block;
}
/* possible fix for spacing issue */
figure img.img-responsive{
  display:block;
}

/* images get wrapped in p tags when fig caption is created as only blocks can be siblings - SLATE ISSUE */
figure > p, figure > div {
  margin:0;
  padding:0;
  line-height:0;
}
/* fix to prevent caption setting the figure width*/
figure.img-responsive{
  display:table!important
}

figcaption{ 
  display:table-caption;
  caption-side:bottom;
}

/* keep ie11 images inside figure*/
figure.img-responsive img{
  display:block;
  width:100%;
}

.duodragbox{
  position:relative;
}

/* File Link Styles */
.iconlink{
  position:relative;
  padding:15px 0 15px 45px;
}

.iconlink:before{
  position:absolute;
  top:0;
  left:0;
  font-size:40px;
  padding-bottom:10px;
}

.duoEditArea.activeArea .editable{
  outline:1px dashed #ccc;
  min-height:25px;
}

.duo_inlinewrapper{
  display:inline;
}

.duoShowEditBar{
  position:fixed;
  display:block;
  top:0;
  bottom:0;
  left:0;
  width:5px;
  background:#24516c;
  box-shadow:0px 0 10px rgba(0,0,0,0.5);
  z-index:100000;
  transition: 0.2s width;
}

.duoShowEditBar:after{
  content:" ";
  border:6px solid transparent;
  border-left:6px solid white;
  line-height:0;
  position: absolute;
  width:0;
  height:0;
  top:48%;
  right:0px;
}

.duoShowEditBar:hover{
  width:20px;
}

@media print { 
  .duoShowEditBar{
    display:none;
  }
}

.duoSettingsArea > [contenteditable=true] {
  outline:1px dashed rgba(36, 81, 108, 0.8)!important;
  position:relative;
}
.duoSettingsArea > [contenteditable=true]:after{
  display:block;
  position:absolute;
  content:"Multi Page";
  font-size:10px;
  color:white;
  background:rgba(36, 81, 108, 0.5);
  bottom:-17px;
  line-height:16px;
  padding:0px 3px;
  right:-1px;
}
/*highlighting subelements - eg table cells or grid columns*/
.duoEditArea .duoactiveblock .duosubcell{
  outline:1px dotted #ccc;
}
/*language list for code samples*/
.language-coffeescript,.language-crystal, .language-css, .language-html,.language-json,.language-javascript,.language-nginx,.language-php,.language-python,.language-ruby,.language-pug,.language-shell,.language-sql,.language-stylus{
  margin:5px
}
