/*
    This file has been modified to fix issues when printing from Flexpaper.
    Work was done under ticket IGLOO-2906
    Changes are marked with 'IGLOO-EDIT'.
*/

/* General, recommended page style settings  */
::selection { background:rgba(60,120,180,0.3); }
::-moz-selection { background:rgba(60,120,180,0.3); }

/* FlexPaper general styles */
.flexpaper_toolbarstd > input {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}
.flexpaper_toolbarios > input {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}
.flexpaper_floatright { float:right; margin-left:3px; margin-top:0px; padding-left: 1px; padding-right:1px; padding-top:1px; padding-bottom:1px; border: 1px solid transparent; }
.flexpaper_floatright:hover { border: 1px solid #496487; }
.flexpaper_grab {cursor: -moz-grab;cursor:-webkit-grab;cursor:-ms-grab;cursor:grab;-moz-user-select:none;-webkit-user-select:none;}
.flexpaper_nograb > * {cursor: default;}
.flexpaper_grabbing {cursor: -moz-grabbing;}
.flexpaper_hidden {display: none;}
.flexpaper_printFrame{position:absolute;left:-1000px;top:-1000px;border-width:0px;border-style:none;width:1000px;height:1000px;}

/* FlexPaper text layer styles */
.flexpaper_textLayer {position: absolute;left: 0;top: 0;right: 0;bottom: 0;color: #000;}
.flexpaper_textLayer > div {color: transparent;position: absolute;line-height:1.3;}
.flexpaper_selected {}
.flexpaper_selected_default {background-color: #3c78b4; opacity:.3; filter: alpha(opacity=30); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"}
.flexpaper_selected_yellow {background-color:#fff774; opacity:.3; filter: alpha(opacity=30); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"}
.flexpaper_selected_orange {background-color:#facd56; opacity:.3; filter: alpha(opacity=30); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"}
.flexpaper_selected_green {background-color:#c2f785; opacity:.3; filter: alpha(opacity=30); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"}
.flexpaper_selected_blue {background-color:#9cdcff; opacity:.3; filter: alpha(opacity=30); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"}
.flexpaper_selected_selected {background-color:#444444; opacity:.3; filter: alpha(opacity=30); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"}
.flexpaper_selected_hover {background-color:#444444; opacity:.3; filter: alpha(opacity=30); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"; cursor:pointer;}
.flexpaper_selected_strikeout {background-color:#fb5450; opacity:.6; filter: alpha(opacity=60); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)"}
.flexpaper_tmpselected {background-color: #3c78b4; opacity:.3; filter: alpha(opacity=30); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"}
.flexpaper_pageword{position:absolute;z-index:11;}
.flexpaper_selector{position:absolute;left:-1000px;top:-10px;border-width:0px;border-style:none;width:0px;height:0px;}
.flexpaper_note_semitrans{opacity:.5; filter: alpha(opacity=50); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"}
.flexpaper_note_textarea{border: 0px;resize: none;font-family:verdana;background-color:#ffffec;}
.flexpaper_note_container{font-family:verdana;font-size:10px;font-weight:bold;}
.flexpaper_drawinghitarea{background-image: url(7370b8d1302eab03d62a568808d93a21930c29d2.) }
/* FlexPaper specific styles for pages */
.flexpaper_viewer {height: 100%;width: 100%;}
.flexpaper_viewer_gradient {background-image: -ms-linear-gradient(top, #AAB3B3 0%, #D4DCDC 100%);background-image: -moz-linear-gradient(top, #AAB3B3 0%, #D4DCDC 100%);background-image: -o-linear-gradient(top, #AAB3B3 0%, #D4DCDC 100%);background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #AAB3B3), color-stop(1, #D4DCDC));background-image: -webkit-linear-gradient(top, #AAB3B3 0%, #D4DCDC 100%);background-image: linear-gradient(top, #AAB3B3 0%, #D4DCDC 100%);}
.flexpaper_viewer_wrap {background-color:#d0dcdc;overflow-x:hidden;overflow-y:hidden;}
.flexpaper_initloader {padding-bottom:21px;position:absolute;left:0px;top:0px;width:100%;height:100%;background-color:#DDDDDD;opacity:.9; filter: alpha(opacity=90); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)"}
.flexpaper_initloader_panel {font-family: Verdana; font-size: 10px; font-size:10px;padding-top:0px;padding-left:10px;position:relative;top:40%;background-color:#efefef;width:180px;height:49px;-moz-border-radius-topleft: 10px;border-top-left-radius: 10px;-moz-border-radius-bottomleft: 10px;border-bottom-left-radius: 10px; -moz-border-radius-topright: 10px;border-top-right-radius: 10px; -moz-border-radius-bottomright: 10px;border-bottom-right-radius: 10px;}
.flexpaper_loaderIcon{background-image : url(67c75b13f969b1edd3e18af9835b00f311778af0.) ; background-repeat: no-repeat;width: auto;height: auto;margin: 0;padding: 0;}

.flexpaper_pages {
    clear: both;
    /*IGLOO-EDIT*/
    /*padding-bottom: 10px;*/
}
.flexpaper_pages_border {border-left:1px solid #777777;border-right:1px solid #777777;border-bottom:1px solid #777777;}
.flexpaper_linkhint {opacity:0.4; filter: alpha(opacity=40); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)"}
.flexpaper_page > a:hover {background: #ff0;box-shadow: 0px 2px 10px #ff0;opacity:0.4; filter: alpha(opacity=40); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)"}
.flexpaper_page .flexpaper_border { box-shadow: 0px 4px 5px #000;-moz-box-shadow: 0px 4px 5px #000;-webkit-box-shadow: 0px 4px 5px #000;background-color:white;}
.flexpaper_page {clear: both;margin-bottom: 0.5em; }
.flexpaper_thumb{opacity:0.75; filter: alpha(opacity=75); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=75)"}
.flexpaper_thumb:hover{opacity:1; filter: alpha(opacity=100); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}
.flexpaper_interactive_canvas_drawing{cursor: url(9582dbe4428a5c3ac45e51729674053ded5db303.)  0 0,default;pointer-events:auto;}
.flexpaper_interactive_canvas_drawing_moz{cursor: url(9582dbe4428a5c3ac45e51729674053ded5db303.)  0 0,default;pointer-events:auto;}
.flexpaper_interactive_canvas_drawing_ie{cursor: url(a630d2bdbc37c764b4cbd48df6c53f5a5b4c9a30.cur) ,pointer;pointer-events:auto;}
.flexpaper_interactive_note{cursor: url(81bec6ae22456360f5938455453d30f8bc5d400c.)  14 14,default;}
.flexpaper_interactive_note_ie{cursor: url(378d9301ffa42fd0a834ae3598b9d12fd7d22dfc.) ,pointer;}
.flexpaper_note_marker{cursor: url(9a00fc3bef768c62611eb6069a1e46e545309b49.)  14 14,auto;}
.flexpaper_note_marker_ie{cursor: url(9a00fc3bef768c62611eb6069a1e46e545309b49.) ,pointer;}
.flexpaper_ppage { display:block;max-width:210mm;max-height:297mm;margin-bottom:20px;margin-top:0px;}
.ppage_break { page-break-after : always; }
/*IGLOO-EDIT*/
/*.ppage_none { page-break-after : avoid; } @page {} !* Does nothing, not supported*!*/

.flexpaper_note{background-color:#ffffa5;position:absolute;box-shadow: 0px 2px 3px #000;-moz-box-shadow: 0px 2px 3px #000;-webkit-box-shadow: 0px 2px 3px #000;}
.flexpaper_note_selected{background-color:#ABABAB;cursor:pointer}

/* FlexPaper specific styles for the toolbar */
.flexpaper_toolbarstd { background-image: url(2433084601a00be25e5edc38f342cda1b278aacd.) ; height:24px; border-style:solid; border-width:1px; border-color:#777777; white-space: nowrap; overflow:hidden;-moz-user-select:none;-webkit-user-select:none;}
.flexpaper_toolbarstd_bottom { background-image: url(2433084601a00be25e5edc38f342cda1b278aacd.) ; height:24px; border-style:solid; border-width:1px; border-color:#777777; white-space: nowrap; overflow:hidden;-moz-user-select:none;-webkit-user-select:none;}
.flexpaper_toolbarios { background-image: url(dd51a4fcc4b6dc595ff0e7a587eb85b9250b0de2.) ; height:42px; border-style:solid; border-width:1px; border-color:#CCCCCC;z-index:100; white-space: nowrap;overflow:hidden;-moz-user-select:none;-webkit-user-select:none;}
.flexpaper_tbbutton { float:left; margin-left:3px; margin-top:2px; padding-left: 1px; padding-right:1px; padding-top:1px; padding-bottom:1px; border: 1px solid transparent; }
.flexpaper_tbbutton_pressed {background-color:#c8e4fd;}
.flexpaper_tbbutton_disabled {opacity:0.4; filter: alpha(opacity=40); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)"}
.flexpaper_tbbutton_large { float:left; margin-left:3px; margin-top:5px; padding-left: 1px; padding-right:1px; padding-top:1px; padding-bottom:1px; border: 1px solid transparent; -moz-border-radius: 7px;  border-radius: 7px;}
.flexpaper_tbbutton:hover { border: 1px solid #496487;}
.flexpaper_tbtextbutton { background-position: left center; background-repeat: no-repeat; padding-left:20px; position:relative;float:left; margin-left:2px; padding-right:5px; padding-top:1px; padding-bottom:3px; border: 1px solid transparent; font-family: Verdana; font-size: 10px; height:14px;vertical-align:middle}
.flexpaper_tbtextbutton:hover { border: 1px solid #496487; float:left; font-family: Verdana; font-size: 10px; cursor:default;}
.flexpaper_tbtextbutton_pressed { background-color:#c8e4fd;	}
.flexpaper_tbbutton:active { background-image: url(6927e0a585c7665ea5031b372a97133580444d99.) ;}
.flexpaper_tbseparator { float:left; padding-top:1px; padding-left:2px; padding-right:2px; }
.flexpaper_tbseparator_large { float:left; padding-top:3px; padding-left:7px; padding-right:7px; }
.flexpaper_tbbutton_fitmode_selected { background-color:#bbdaf3;}
.flexpaper_tbbutton_viewmode_selected { background-color:#bbdaf3;}
.flexpaper_tbbutton_cursormode_selected { background-color:#bbdaf3;}
.flexpaper_tbbutton_fullscreen_selected { background-color:#bbdaf3;}
.flexpaper_tbtextinput { float:left; font-family: Verdana; font-size: 10px; margin-top:2px; height:20px; border:1px solid #888; padding:3px; }
.flexpaper_tbtextinput_large { float:left; font-family: Verdana; font-size: 18px; margin-top:7px; height:29px; border:1px solid #888; padding:3px; -moz-border-radius: 7px;  border-radius: 7px; }
.flexpaper_tblabel { float:left; font-family: Verdana; font-size: 10px; height:14px; margin-top: 6px; margin-left:5px; width:29px; }
.flexpaper_tblabelbutton { float:left; font-family: Verdana; font-size: 10px; height:23px; padding-left:27px; padding-top:5px; margin-top:0px;margin-left:5px; background-repeat:no-repeat;cursor:pointer;}
.flexpaper_tblabel_large { float:left; font-family: Verdana; font-size: 18px; height:29px; margin-top: 11px; margin-left:5px; width:59px; }
.flexpaper_tbloader { float:right; margin-top:3px; margin-right:3px; }
.flexpaper_slider {top:5px; float:left; margin-left:4px; margin-right: 4px; width: 108px; position: relative;height: 12px;background-image: url(993beb2bfbbf71eeac740387be60b8ff7882cca2.) ;}
.flexpaper_slider .flexpaper_handle {position: absolute;width: 11px;height: 12px;color: #FFF;line-height: 10px;text-align: center;background-image: url(3cc6fe81cb6d154535bb951ae961b3450329fefa.)  ; background-repeat:no-repeat;}
.flexpaper_slider .disabled {}
.flexpaper_colorselector{float:left;border:1px solid #555555;width:16px;height:16px;background-position: center; background-repeat: no-repeat; }
.flexpaper_colorselector:hover{background-image: url(a1c256cd6340f1838ccef23e73e192d338ceed47.) ;background-position: center; background-repeat: no-repeat; }
.flexpaper_colorselector_2{float:left;border:1px solid #555555;width:16px;height:16px;background-position: center; background-repeat: no-repeat; }
.flexpaper_colorselector_2:hover{background-image: url(bf33a8e40f7e48346c3987de79e04d75c54918f3.) ;background-position: center; background-repeat: no-repeat; }
.flexpaper_notetypeselector{float:left;width:35px;height:18px;padding: 2px 1px 0px 15px; background-position: left center; background-repeat: no-repeat;font-family: Verdana; font-size: 10px;}
.flexpaper_notetypeselector:hover{background-color:#bbb;}
.flexpaper_notetypeselector_selected{background-color:#bbb;}
.flexpaper_notetype_colorselector{float:left;border:1px solid #555555;width:12px;height:12px;background-position: center; background-repeat: no-repeat; }
.flexpaper_notetype_colorselector:hover{background-image: url(a1c256cd6340f1838ccef23e73e192d338ceed47.) ;background-position: center; background-repeat: no-repeat; }
.flexpaper_printdialog_button {-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;box-shadow:inset 0px 1px 0px 0px #ffffff;background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');background-color:#ededed;-moz-border-radius:6px;-webkit-border-radius:6px;border-radius:6px;border:1px solid #dcdcdc;display:inline-block;color:#777777;font-family:arial;font-size:10px;font-weight:bold;padding:2px 24px;text-decoration:none;text-shadow:1px 1px 0px #ffffff;
}.flexpaper_printdialog_button:hover {background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');background-color:#dfdfdf;
}.flexpaper_printdialog_button:active {position:relative;top:1px;}
.flexpaper_printdialog td{font-size:11px;border:0;padding: 5px 5px 5px 5px;}
.flexpaper_searchabstract_result{vertical-align: middle;display:table-cell;padding: 10px 10px 10px 10px;margin-right:10px;margin-bottom:17px;font-family: Verdana; font-size: 10px;width:90%;min-height:40px;height:40px;}
.flexpaper_searchabstract_result:hover{background-color:#999;cursor:pointer;}
.flexpaper_searchabstract_result_separator{width:90%;}
.flexpaper_textarea_contenteditable{-webkit-user-select: auto;}
.flexpaper_bottom_fade {
    height:200px; width:100%; position:absolute; bottom:0%;
    background: -moz-linear-gradient(top,  rgba(212,220,220,0) 0%, rgba(212,220,220,1) 90%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(212,220,220,0)), color-stop(95%,rgba(212,220,220,1)));
    background: -webkit-linear-gradient(top,  rgba(212,220,220,0) 0%,rgba(212,220,220,1) 90%);
    background: -o-linear-gradient(top,  rgba(212,220,220,0) 0%,rgba(212,220,220,1) 90%);
    background: -ms-linear-gradient(top,  rgba(212,220,220,0) 0%,rgba(212,220,220,1) 90%);
    background: linear-gradient(to bottom,  rgba(212,220,220,0) 0%,rgba(212,220,220,1) 90%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );
    z-index:200;
    pointer-events:none;
}

/* Modal styles */
.flexpaper_viewer_wrap > .modal-content {display:none;}
#simplemodal-overlay {background-color:#000; cursor:wait;}
#simplemodal-container {font: 11px/22px verdana, arial, sans-serif;height:204px; width:360px; color:#777; background-color:#fff; border:4px solid #444; }
#simplemodal-container .simplemodal-data {padding:8px;}
#simplemodal-container a {color:#000;}
#simplemodal-container a.modalCloseImg {background: url(672e060845f9d5094c891d19f54b29424c4c09be.)  no-repeat; width:25px; height:29px; display:inline; z-index:3200; position:absolute; top:1px; right:-11px; cursor:pointer;}
#simplemodal-container h3 {color:#84b8d9;}

/* Scroll styles for android and pre-iOS version 5 based touch devices */
.jspContainer{overflow: hidden;position: relative;}
.jspPane{position: absolute;}
.jspVerticalBar{position: absolute;top: 0;right: 0;width: 16px;height: 100%;background: #333333;}
.jspHorizontalBar{position: absolute;bottom: 0;left: 0;width: 100%;height: 16px;background: #333333;}
.jspCap {display: none;margin:0; padding: 0;}
.jspHorizontalBar .jspCap{float: left;}
.jspTrack{background: #bbb;position: relative;}
.jspDrag{background: #666;position: relative;top: 0;left: 0;cursor: pointer;}
.jspHorizontalBar .jspTrack,
.jspHorizontalBar .jspDrag {float: left;height: 100%;}
.jspArrow{background: #50506d;text-indent: -20000px;display: block;cursor: pointer;}
.jspArrow.jspDisabled{cursor: default;background: #80808d;}
.jspVerticalBar .jspArrow{height: 16px;}
.jspHorizontalBar .jspArrow{width: 16px;float: left;height: 100%;}
.jspVerticalBar .jspArrow:focus{outline: none;}
.jspCorner{background: #eeeef4;float: left;height: 100%;}
* html .jspCorner {margin: 0 -3px 0 0;} /* Yuk! CSS Hack for IE6 3 pixel bug :( */

/* jQuery UI extensions */
.ui-resizable-handle { position: absolute;font-size: 0.1px; display: block; }
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}

/* log in form and dialog below */
.flexpaper_publications  {
    margin-bottom: 20px;
    perspective: 280px;
    transform-style: preserve-3d;
}

.flexpaper_publication {
    width: 50%;
    display: inline-block;
    box-shadow: 5px 5px 20px rgba(51, 51, 51, 0);
    margin: 10px;
}

.flexpaper_publication img { vertical-align: middle; }

.flexpaper_publication_csstransforms3d  .flexpaper_publications {
    -moz-perspective: 280px;
    -moz-transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

.flexpaper_publication_csstransforms3d  .flexpaper_publication {
    position: relative;
    outline: 1px solid transparent;
    -moz-perspective: 280px;
    -moz-transform: rotateY(-40deg);
    -webkit-transform: perspective(300) rotateY(-40deg);
    opacity:.0; filter: alpha(opacity=0); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";

box-shadow: none;
    margin: 0;
}

.flexpaper_publication_csstransforms3d  .flexpaper_publication img {
    position: relative;
    max-width: 100%;
}

.flexpaper_publication_csstransforms3d  .flexpaper_publication:before {
    width: 100%;
    left: 5.5%; /* flexpaper_publication width parameter */
    background-color: #777;
    box-shadow: 5px 5px 20px rgba(51, 51, 51, 1);
}

.flexpaper_publication_csstransforms3d  .flexpaper_publication:before,
.flexpaper_publication_csstransforms3d  .flexpaper_publication:after {
    position: absolute;
    top: 2%;
    height: 96%;
    content: ' ';
    z-index: -1;
}

.flexpaper_publication_csstransforms3d  .flexpaper_publication:after {
    width: 5%; /* flexpaper_publication width parameter */
    left: 100%;
    background-color: #EFEFEF;
    box-shadow: inset 0px 0px 5px #aaa;
    -moz-transform: rotateY(20deg);
    -webkit-transform: perspective(100) rotateY(20deg);
}

/* FlexPaper password form below */
.flexpaper_htmldialog {
    font: 13px/20px 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #404040;
    position: relative;
    width: 280px;
    padding: 33px 25px 29px;
    background: white;
    border-bottom: 1px solid #c4c4c4;
    border-radius: 5px;
    -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
}

.flexpaper_htmldialog:before, .flexpaper_htmldialog:after {
    content: '';
    position: absolute;
    bottom: 1px;
    left: 0;
    right: 0;
    height: 10px;
    background: inherit;
    border-bottom: 1px solid #d2d2d2;
    border-radius: 4px;
}

.flexpaper_htmldialog:after {
    bottom: 3px;
    border-color: #dcdcdc;
}

.flexpaper_htmldialog-title {
    margin: 0px -25px 25px;
    padding: 15px 25px;
    line-height: 35px;
    font-size: 20px;
    font-weight: 300;
    color: #aaa;
    text-align: center;
    text-shadow: 0 1px rgba(255, 255, 255, 0.75);
    background: #f7f7f7;
}

.flexpaper_htmldialog-title:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: #aaa;
    border-radius: 5px 5px 0 0;
}

.flexpaper_htmldialog-input {
    font-family: inherit;
    color: inherit;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    margin-bottom: 25px;
    padding: 0 15px 2px;
    font-size: 17px;
    background: white;
    border: 2px solid #ebebeb;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 -2px #ebebeb;
    box-shadow: inset 0 -2px #ebebeb;
}

.flexpaper_htmldialog-input:focus {
    border-color: #62c2e4;
    outline: none;
    -webkit-box-shadow: inset 0 -2px #62c2e4;
    box-shadow: inset 0 -2px #62c2e4;
}

.flexpaper_htmldialog-lt-ie9 .flexpaper_htmldialog-input {
    line-height: 48px;
}

.flexpaper_htmldialog-button {
    position: relative;
    vertical-align: top;
    width: 100%;
    height: 54px;
    padding: 0;
    font-size: 22px;
    color: white;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    background: #f0776c;
    border: 0;
    border-bottom: 2px solid #d76b60;
    border-radius: 5px;
    cursor: pointer;
    -webkit-box-shadow: inset 0 -2px #d76b60;
    box-shadow: inset 0 -2px #d76b60;
}
.flexpaper_htmldialog-button:active {
    top: 1px;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.flexpaper_cssline
{
    position: absolute;
    height: 0px;
    border-width: 1px 0px 0px 0px;
    border-style: dashed;
    border-color: #FF0000;
    z-index:104;
}

.flexpaper_viewer::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}
.flexpaper_viewer::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0,0,0,.5);
    -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
}

/*IGLOO-EDIT*/
/* Don't enforce margin. Since we mostly deal with documents, they will already have margin. */
/* This can be adjusted through the print setting by the user if necessary */
@page {
    margin: 0;
    size: auto;
}

@media print{

    /*IGLOO-EDIT*/
    /* Don't enforce specific sizes, content and paper sizes cannot be predicted */
    div.flexpaper_page div {
        height: auto !important;
        width: auto !important;
    }

    /* Prevent overrun from adding blank pages */
    div.flexpaper_page {
        max-width: 95% !important;
        max-height: 95% !important;
    }

    /* Main preview images */
    img.flexpaper_interactivearea {
        height: auto !important;
        width: auto !important;
    }

    /* Parent and individual page containers */
    #pagesContainer_documentViewer, .flexpaper_page {
        overflow: visible !important;
    }

    /* Just let the browser figure out where to put the page breaks */
    .ppage_break {
        page-break-after: auto !important;
    }

    .ppage_none {
        page-break-after: auto !important;
    }
    /*IGLOO-EDIT STOP*/


    .flexpaper_viewer > * {
        -webkit-print-color-adjust: exact;
        -moz-print-color-adjust: exact;
        -ms-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .flexpaper_textarea_contenteditable{
        display:none;
    }

    .flexpaper_note_textarea{
        border:3px dashed #000;
    }

}