/* FULLY RESPONSIVE TABLES */
.hideResponsiveTable {
    display: none;
}
/* DATEPICKER */
div.datepicker-dropdown {
    z-index: 1001 !important;
}
/*TOP TOOL BAR */
body {
    padding-top: 45px;
}
#fixedbar {
    width: 100%;
    padding: 0 0 5px 0;
    background-color: rgba(200, 200, 200, 0.9);
    position: fixed;
    top: 0;
    z-index: 1000;
    -webkit-box-shadow: -2px -1px 6px 4px rgba(106,111,128,0.60);
    -moz-box-shadow: -2px -1px 6px 4px rgba(106,111,128,0.60);
    box-shadow: -2px -1px 6px 4px rgba(106,111,128,0.60);
}
#topToolBar {
    margin: 0 auto;
    width: 780px;
}
/* TOOLS */
.smallButton {
    padding: 2px 6px !important;
}
.rightMarginBig {
    margin-right: 8px !important;
}
.h5p_rightTools {
    width: 20px;
    /*border-radius: 0 4px 4px 0;*/
    background-color: rgba(55,55,55, 0.25);
    position: absolute;
    z-index: 100001 !important; 
    right: -18px; 
    display: none;
    height: 21px;
    -webkit-box-shadow: 1px 0px 1px 1px rgba(0,0,0,0.10);
    -moz-box-shadow: 1px 0px 1px 1px rgba(0,0,0,0.10);
    box-shadow: 1px 0px 1px 1px rgba(0,0,0,0.10);
    z-index: 100;
}
.h5p_leftTools {
    width: 40px;
    /*border-radius: 4px 0 0 4px;*/
    background-color: rgba(55,55,55, 0.25);
    position: absolute;
    z-index: 100001; 
    left: -38px;
    display: none;
    height: 20px;
    -webkit-box-shadow: -1px 0px 1px 1px rgba(0,0,0,0.10);
    -moz-box-shadow: -1px 0px 1px 1px rgba(0,0,0,0.10);
    box-shadow: -1px 0px 1px 1px rgba(0,0,0,0.10);
    z-index: 100;
}
.h5p_bottomTools {
    white-space: nowrap;
    font-family: sans-serif;
    position:absolute;
    z-index: 100000;
    display: none; 
    margin-top: -4px;
    zoom: 0.95;
}
.h5p_topTools {
    white-space: nowrap;
    font-family: sans-serif;
    margin-top: -3px;
    zoom: 0.95;
}
/* Repositioning for block tools*/
div.h5p_wrappingdiv > .h5p_rightTools {
    right: -18px; 
}
div.h5p_wrappingdiv > .h5p_leftTools {
    left: -48px;
}
.h5p_proTools {
    width: 20px;
    position: absolute;
    left: -20px;
    top: -1px;
    display: none;
    z-index: 100;
}
.h5p_listitem div.h5p_leftTools {
    width: 38px !important;
}
.h5p_clone_button {
    /*width: 20px;
    height: 20px;*/
    margin: 0;
    padding: 4px 9px;  
    text-align: center;
    color: black; 
    font-size: 12px;
    background-color: #1c84c6;
    color: #f0f0f0;
    border: none;
    display: inline-block;
    margin-right: 0px;
    font-weight: normal;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}
.h5p_clone_button:hover {
    background-color: #1a7bb9;
}
.h5p_sort_button {
    /*width: 20px;
    height: 20px;*/
    padding: 4px 9px; 
    margin: 0; 
    text-align: center;
    color: black;  
    font-size: 12px;
    background-color: #999;
    color: #f0f0f0;
    border: none;
    display: inline-block;
    margin-right: 0px;
    font-weight: normal;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}
.h5p_sort_button:hover {
    background-color: #777;
}
.h5p_delete_button {
    /*width: 20px;
    height: 20px;*/
    padding: 4px 9px;
    margin: 0;  
    text-align: center;
    color: black;   
    font-size: 12px;
    background-color: #ed5565;
    color: #f0f0f0;
    border: none;
    display: inline-block;
    margin-right: 1px;
    font-weight: normal;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}
.h5p_delete_button:hover {
    background-color: #ec4758;
}
.h5p_overlayTools{
    position:absolute; 
    z-index: 100000; 
    opacity: 0.25;
    display:none
}

.h5p_clear_button {
    /*width: 20px;
    height: 20px;*/
    padding: 4px 9px;
    margin: 0;  
    text-align: center;  
    font-size: 12px;
    background-color: #ed5565;
    color: #f0f0f0;
    border: none;
    display: inline-block;
    margin-left: 5px;
    font-weight: normal;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.h5p_clear_button:hover {
    background-color: #ec4758;
}

/* advanced interface */
.h5p_advanced .h5p_clone_button {
    width: 18px; 
    background-color: #1c84c6;
    border: 1px solid #1c84c6;
    margin: 2px 0 0 0;
    padding:0;  
    text-align: center;
    color: white; 
    font-weight:bold;   
    font-size: 13px;
    -webkit-box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.1);
    box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.1);
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.h5p_advanced .h5p_sort_button {
    width: 18px; 
    background-color: #000000; 
    border: 1px solid #000000;
    border-radius: 4px 0 0 4px;
    padding:0; 
    margin: 2px 0 0 2px; 
    text-align: center;
    color: white; 
    font-weight:bold;  
    font-size: 13px;
    -webkit-box-shadow: -1px 0px 1px 1px rgba(0,0,0,0.10);
    -moz-box-shadow: -1px 0px 1px 1px rgba(0,0,0,0.10);
    box-shadow: -1px 0px 1px 1px rgba(0,0,0,0.10);
}
.h5p_advanced .h5p_delete_button {
    width: 18px; 
    border-radius: 0 4px 4px 0;
    background-color: #b70000;
    border: 1px solid #b70000;
    padding:0; 
    margin: 2px 0 0 0;  
    text-align: center;
    color: white; 
    font-weight:bold;  
    font-size: 13px;
    -webkit-box-shadow: 1px 0px 1px 1px rgba(0,0,0,0.10);
    -moz-box-shadow: 1px 0px 1px 1px rgba(0,0,0,0.10);
    box-shadow: 1px 0px 1px 1px rgba(0,0,0,0.10);
}

.h5p_pro_button {
    width: 20px; 
    padding:0; 
    text-align: center;   
    font-size: 13px;
}

.topButton {
   border-bottom-left-radius: 0px !important;
   border-bottom-right-radius: 0px !important;
   border-top-left-radius: 4px;
   border-top-right-radius: 4px;

}
/* TABLES */
.h5p_table {
    position:relative;
}
tbody.h5p_clone_row_group {
 
}
.h5p_rowgroup:hover {
    background: repeating-linear-gradient(
    135deg,
    rgba(100, 150, 200, 0.04),
    rgba(100, 150, 200, 0.04) 5px,
    rgba(100, 150, 200, 0.10) 5px,
    rgba(100, 150, 200, 0.10) 10px
  ) !important;
}

/* LISTS */
.h5p_listitem {
    position:relative;
}
.h5p_listitem:hover {
    background: repeating-linear-gradient(
    135deg,
    rgba(100, 150, 200, 0.04),
    rgba(100, 150, 200, 0.04) 5px,
    rgba(100, 150, 200, 0.10) 5px,
    rgba(100, 150, 200, 0.10) 10px
    );
}
.h5p_delete_list_button {
    /*position: absolute;*/
}
.h5p_clone_list_button {
   /*position: absolute;
   margin-left: 18px;*/
}
.h5p_sort_list_button {
    /*position: absolute;*/
}
.h5p_listitem_edit:before {
    display: table-cell !important;
}

/* BLOCKS */
div.h5p_container_div{
    position:relative;
}
div.h5p_wrappingdiv {
    background-color: #f9f9f9;
    border: 1px dotted #aaa;
    margin-left: -10px;
    margin-right: -10px;
    padding-left: 10px;
    padding-right: 10px;
    position: static;
    margin-bottom: 3px;
}

div.h5p_wrappingdiv_mobile {
    background-color: #fff;
    border: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    position: static;
    margin-bottom: 2px;
}

div.h5p_wrappingdiv_mobile .table-spacer {
    height: 3px;
}

table.mobileTable td.mobileHeader {
    width: 25% !important;
}

/* GENERAL */
.h5p_placeholder {
    display: block;
    min-height: 25px;
    width: 100%;
    background-color: transparent;
}

pre.h5p_prelistitem {
    margin: 0;
    padding: 0;
    height: 18px;
}
span.h5p_varspan {
    /*border-bottom: 1px dotted #888;*/
    padding: 0 3px 0 4px;
    display: inline;
    /*white-space: nowrap;*/
}

.h5p_page span.spanWrapperBackground {
    background-color: #e4f0f3 !important;
    border: 1px solid #c4d0d3;
    /*border-radius: 3px;*/
    padding: 0 2px 0 6px;
    text-shadow: none !important;
}

.h5p_page span.spanWrapperWhiteBackground {
    background-color: #fff !important;
    border: 1px solid #c4d0d3;
    /*border-radius: 3px;*/
    padding: 0 2px 0 6px;
    text-shadow: none !important;
}

 /* Hack for firefox issue with contenteditable*/
/*@-moz-document url-prefix() {
    .h5p_page span.spanWrapperBackground {
        display: inline-block;
        text-indent: 0 !important;
    }
}*/

.h5p_page span.spanWrapperIcon:before {
    content:"\f044";
    font-family: fontawesome;
    font-size: smaller;
}

.h5p_page span.spanWrapperLockedIcon:before {
    content:"\f023";
    font-family: fontawesome;
    font-size: smaller;
}

.h5p_page span.spanWrapper i.red {
    color: #b70000 !important;
    font-size: larger;
}

span.spanWrapperBackground i {
    font-size: smaller;
}

.h5p_page span.activeWrapper {
    background-color: #ffcccc !important;
    border: 1px solid #b70000;
    border-radius: 3px;
    padding: 0 2px 0 6px;
    text-shadow: none !important;
    /* Hack for firefox?*/
    /*display: inline-block;*/
}


span.h5p_varspecial {
    padding: 0 0 0 2px;
    display: inline;
    /*white-space: nowrap;*/
}
span.spanWrapperSpecial i {
    font-size: 65%;
}
#h5p-tooltip-wrapper {
    display: none;
    border-radius: 4px;
    position: absolute;
    z-index: 10000;
}

#h5p-tooltip {
    min-height: 15px;
    min-width: 15px;
    background-color: #333;
    border-radius: 4px;
    color: white;
    font-family: Verdana;
    font-size: 11px;
    padding: 2px 5px 3px 5px;
}
#h5p-tooltip-arrow{
    width: 0; 
    height: 0; 
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #333;
    font-size: 0;
    line-height: 0;
    margin-left: 5px;
}

.h5p-help {
    box-sizing: border-content;
    display: none;
    position: absolute;
    z-index: 900 !important;
    border-left: 2px solid #b70000;
    right: 0px;
    width: 200px;
    /*box-shadow: 0px 0px 6px 1px rgba(80, 90, 100, 0.5);*/
    background-color: #fff;
    font-size: 12px !important;
}
.h5p-help-header {
    background-color: #fff;
    font-family: Verdana;
    line-height: 24px;
    margin: 0;
    padding: 0 6px;
    font-weight: bold;
    color: #555;
    border-bottom: 1px solid #789;
    font-size: 11px !important;
}
.h5p-help-body {
    background-color: #fff;
    min-height: 60px;
    padding: 5px 10px 7px 10px;
    font-size: 12px !important;
}

.h5p-help-body ul {
    margin: 0;
    padding-left: 18px;
    font-size: 12px;
}

.h5p-help-body ol {
    margin: 0;
    padding-left: 18px;
    font-size: 12px;
}

.h5p-balloon {
    box-sizing: border-content;
    position: absolute;
    z-index: 300;
    right: 181px;
    min-width: 20px;
    height: 18px;
    line-height: 18px;
    background-color: #f6f6f6;
    font-size: 14px !important;
    text-align: center;
    font-weight: bold;
}

.h5p-balloon:after, .h5p-balloon:before {
    right: 100%;
    top: 9px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.h5p-balloon:after {
    border-color: rgba(136, 183, 213, 0);
    border-right-color: #fff;
    border-width: 6px;
    margin-top: -6px;
}
.h5p-balloon:before {
    border-color: rgba(119, 119, 119, 0);
    border-right-color: #777;
    border-width: 7px;
    margin-top: -7px;
}

.balloon-green {
    color: #3b973b;
    border-left: 2px solid #3b973b;
    background-color: #e0ffe0;
}

.balloon-green:after {
    border-right-color: #3b973b;

}
.balloon-green:before {
    border-right-color: #3b973b;

}

.balloon-orange {
    color: #dd8c18;
    border-left: 2px solid #dd8c18;
    background-color: #fff0e0;
}

.balloon-orange:after {
    border-right-color: #dd8c18;
}
.balloon-orange:before {
    border-right-color: #dd8c18;
}

.balloon-red {
    color: #d2322d;
    border-left: 2px solid #d2322d;
    background-color: #ffe0e0;
}

.balloon-red:after {
    border-right-color: #d2322d;
}
.balloon-red:before {
    border-right-color: #d2322d;
}

.no-balloons .h5p-balloon {
    opacity: 0;
}

#h5p-infoballoon {
    box-sizing: border-content;
    position: absolute;
    z-index: 400;
    border: 1px solid #aaa;
    right: 5px;
    width: 195px;
    min-height: 20px;
    box-shadow: 0px 0px 6px 1px rgba(80, 90, 100, 0.5);
    background-color: #fff;
    padding: 4px;
}

.h5p-infoballon button {
    font-size: 10px !important;
}

#h5p-infoballoon:after, #h5p-infoballoon:before {
	right: 100%;
	top: 5px;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

#h5p-infoballoon:after {
	border-color: rgba(136, 183, 213, 0);
	border-right-color: #fff;
	border-width: 4px;
	margin-top: -4px;
}
#h5p-infoballoon:before {
	border-color: rgba(119, 119, 119, 0);
	border-right-color: #777;
	border-width: 5px;
	margin-top: -5px;
}

#h5p-infoballoon button.btn-primary {
    background-color: #5cb85c;;
}

.checkAll {
    margin-top: 9px;
}

.btn-close {
    float: right;
}

#saveTools {
    float: right;
}

#saveTools button {
    font-size: 13px;
}

.math {
    font-weight: 900 !important;
}

.fa {display: inline !important}

.preImage {
    position: absolute;
    margin-left: 15px;
    margin-top: 15px;
    color: #b70000;
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.60);
    pointer-events: none;
}
.preSignature {
    position: absolute;
    margin-left: 15px;
    margin-top: 15px;
    color: #b70000;
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.60);
    pointer-events: none;
}
#signature-pad {
    text-align: center;
}
#signature-pad canvas {
    background-color: white;
    border: 1px solid #eee;
    box-shadow: 0px 0px 6px 1px rgba(80, 90, 100, 0.5);
}

span.choice {
    border-bottom: none !important;
    padding: 0 3px 0 3px;
    /*white-space: nowrap;*/
}

span.choice input {
    vertical-align: text-bottom;
}

img[data-image]:hover{
    cursor: pointer;
}

#mainDXO .h5p_page .noDecoration {
    border: none !important;
    background-color: transparent !important;
}

#mainDXO .h5p_page .noDecoration:before {
    content: '';
}

/* Live Streams */
.h5p-edition-wrapper {
    border-radius: 4px;
    position: absolute;
    z-index: 20000;
}

.h5p-editiontip {
    min-height: 15px;
    min-width: 15px;
    background-color: #009900;
    border-radius: 4px;
    color: white;
    font-family: Verdana;
    font-size: 11px;
    padding: 2px 5px 3px 5px;
}
.h5p-edition-arrow{
    width: 0; 
    height: 0; 
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #009900;
    font-size: 0;
    line-height: 0;
    margin-left: 5px;
}
p[data-h5p] .btn {
    vertical-align: 2px;
}

@media (max-width: 1024px) {
    .h5p-balloon {
        right: 3px;
    }
}

@media (max-width: 480px) {
    .h5p-balloon {
        display: none;
    }
}