/* styling for overlays (popups) */

.pb-ajax, .pb-image, .overlay iframe {
    background-color: #fff;
    white-space: normal;
}

div.overlay {
  background-color: #fff;
	border-color: rgba(0, 0, 0, 0.2);
	border-radius: 3px;
	border-style: solid;
	border-width: 1px;
	box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 5px;
  max-width: 760px;
    width: auto;
    height: auto;
    /* initially overlay is hidden */
    display: none;
    /* some padding to layout nested elements nicely  */
    margin: 1em;
}

div.overlay-iframe,
div.overlay-ajax {
    width: 60%;
    min-height: 100px;
    z-index: 99; /* overlays should be above everything */
}

div.overlay-iframe {
    height: 60%;
}

div.overlay .cover-modal-header {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}

div.overlay form {
	height: 300px;
    margin: 15px;
    padding-right: 15px;
    overflow-y: scroll;
}

/* default close button positioned on upper-right corner */
div.overlaybg div.close,
div.overlay div.close {
    position: absolute;
    right: 15px;
    top: 15px;
}

div.overlaybg div.close::after,
div.overlay div.close::after {
	content: "\00D7"
}

.pb-ajax .ploneSkin table.mceLayout .mceButton {
  height: inherit;
  margin-top: 0;
  margin-right: 5px;
}

.pb-ajax .documentActions {
	display:none
}

div.overlay div.close span {
    display: block;
    height: 1px;
    margin: -1px 0 0 -1px;
    overflow: hidden;
    padding: 0;
    width: 1px;
}

div.overlay textarea {
	width: 100%;
}

/* Hide form elements that don't make sense within an overlay. */
div.overlay .link-parent { display: none; }
div.overlay #createGroup legend { display: none; }
div.overlay #createGroup fieldset { border: none; }

/* lets play nice with paragraphs, links, tabbed pages in overlay e.g. when plone.openid is installed */
div.overlay p {
    margin: 1em;
}
div.overlay label {
    margin-bottom: 0.25em;
}
div.overlay a:hover {
    color: #75ad0a;
}
div.overlay a:hover label{
    cursor: pointer;
}
div.overlay a.selected {
    color: #000000;
}
div.overlay .formTab {
    margin-right:1em;
    font-weight: bold;
}
div.overlay .formTab.lastFormTab {
    margin-right:0em;
}
div.overlay .formControls a {
    display: block;
    margin: 0.75em;
}

/* @end */

.hiddenStructure { display: none;}

/* NEEDS TO BE MOVED TO HAIKU.COVER */

@font-face {
  font-family: 'haiku-covertile';
  src: url('++resource++haiku.cover/font/haiku-covertile.eot?28249129');
  src: url('++resource++haiku.cover/font/haiku-covertile.eot?28249129#iefix') format('embedded-opentype'),
       url('++resource++haiku.cover/font/haiku-covertile.woff?28249129') format('woff'),
       url('++resource++haiku.cover/font/haiku-covertile.woff2?11141090') format('woff2'),
       url('++resource++haiku.cover/font/haiku-covertile.ttf?28249129') format('truetype'),
       url('++resource++haiku.cover/font/haiku-covertile.svg?28249129#haiku-covertile') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'haiku-covertile';
    src: url('../font/haiku-covertile.svg?28249129#haiku-covertile') format('svg');
  }
}
*/

 [class^="covertile-icon-"]:before, [class*=" covertile-icon-"]:before {
  font-family: "haiku-covertile";
  font-style: normal;
  font-weight: normal;
  speak: none;

  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */

  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;

  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;

  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;

  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */

  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.covertile-icon-banner:before { content: '\e800'; } /* '' */
.covertile-icon-carousel:before { content: '\e801'; } /* '' */
.covertile-icon-row:before { content: '\e802'; } /* '' */
.covertile-icon-contentitem:before { content: '\e803'; } /* '' */
.covertile-icon-embed:before { content: '\e804'; } /* '' */
.covertile-icon-quickfacts:before { content: '\e805'; } /* '' */
.covertile-icon-file:before { content: '\e806'; } /* '' */
.covertile-icon-richtext:before { content: '\e807'; } /* '' */
.covertile-icon-pubs:before { content: '\e808'; } /* '' */
.covertile-icon-itemlist:before { content: '\e809'; } /* '' */
.covertile-icon-column:before { content: '\e80a'; } /* '' */
.covertile-icon-news:before { content: '\e80b'; } /* '' */
.covertile-icon-team:before { content: '\e80c'; } /* '' */
.covertile-icon-events:before { content: '\e80d'; } /* '' */
.covertile-icon-navigation:before { content: '\e80e'; } /* '' */
.covertile-icon-audio:before { content: '\e80f'; } /* '' */
.covertile-icon-socialicons:before { content: '\e810'; } /* '' */
.covertile-icon-blogposts:before { content: '\e811'; } /* '' */
.covertile-icon-colleges:before { content: '\e812'; } /* '' */
.covertile-icon-portrait:before { content: '\e813'; } /* '' */
.covertile-icon-profiles:before { content: '\e814'; } /* '' */
.covertile-icon-contact:before { content: '\e815'; } /* '' */
.covertile-icon-publications:before { content: '\e816'; } /* '' */
.covertile-icon-image:before { content: '\e817'; } /* '' */
.covertile-icon-link:before { content: '\e822'; } /* '' */
.covertile-icon-profile:before { content: '\f0ae'; } /* '' */
.covertile-icon-researchgroups:before { content: '\f1b3'; } /* '' */
.covertile-icon-courses:before { content: '\f1ea'; } /* '' */

#formfield-haiku-cover-carousel-uuids h3 {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
}

.btn-tile,
.btn-layout-tile {
    background-color: #fff;
    text-align: center;
    display: block;
    width: 90px;
    height: 90px;
}

.btn-tile:hover,
.btn-layout-tile:hover {
    background-color: #fafafa;
    text-decoration: none;
}

#tiles-list ul {
    margin: 0;
    padding: 0;
}

#tiles-list li {
    display: inline-block !important;
    margin-left: 2px;
    margin-right: 2px;
    padding: 0;
    text-align: center;
}

#tiles-list li:first-child {
    margin-left: 0;
}

#tiles-list li:last-child {
    margin-right: 0;
}

#contentchooser-content-show-button {
    z-index: 3;
}

.layout .cover-tile,
.tile-placeholder {
  background-color: #F9F9F9;
  outline: 1px solid #999;
}

.template-compose .edit-tile-link {
    height: 2em;
}

.formTabs {

}

#layout-preview .layout-metadata {
  margin-right: 0;
  position: static;
}

.ui-state-default .ui-icon {
  background-image: none;
}

/* Layout editor */

.cover-col-background p {
  color: #fff;
}
