@font-face{font-family:'Averta';src:url("fonts/Averta-Black.eot");src:url("fonts/Averta-Black.eot?#iefix") format("embedded-opentype"),url("fonts/Averta-Black.woff2") format("woff2"),url("fonts/Averta-Black.woff") format("woff"),url("fonts/Averta-Black.ttf") format("truetype");font-weight:900;font-style:normal}
@font-face{font-family:'Averta';src:url("fonts/Averta-Regular.eot");src:url("fonts/Averta-Regular.eot?#iefix") format("embedded-opentype"),url("fonts/Averta-Regular.woff2") format("woff2"),url("fonts/Averta-Regular.woff") format("woff"),url("fonts/Averta-Regular.ttf") format("truetype");font-weight:normal;font-style:normal}
@font-face{font-family:'Averta';src:url("fonts/Averta-Bold.eot");src:url("fonts/Averta-Bold.eot?#iefix") format("embedded-opentype"),url("fonts/Averta-Bold.woff2") format("woff2"),url("fonts/Averta-Bold.woff") format("woff"),url("fonts/Averta-Bold.ttf") format("truetype");font-weight:bold;font-style:normal}

body { font-family: Averta, Arial, sans-serif; color: #0C1D4D; font-size: 90%; }
h1, h2, h3 { text-transform: uppercase; padding: 10px; border-radius: 5px; }

/* ------------------------------------------------------------------------------------------------------------- */
#dvLoading {
    background: #FFF; filter:alpha(opacity=60); opacity:.6;
    height: 100%; width: 100%; position: fixed; z-index: 1000;
    left: 0; top: 0;
}

#dvLoadingImg {
    background: url(img/loading7.gif) no-repeat center center; filter:alpha(opacity=100); opacity:1;
    height: 100px; width: 100px; position: fixed; z-index: 1001;
    left: 50%; top: 50%; margin: -50px 0 0 -50px; 
}

.auxMarginTop5px  { margin-top: 5px; }
.auxMarginTop10px { margin-top: 10px; }
.auxMarginTop15px { margin-top: 15px; }
.auxMarginTop20px { margin-top: 20px; }

/* ------------------------------------------------------------------------------------------------------------- */

.invalidFormData { border: 1px solid #E83131; background: rgba(255,236,236,0.8); }
.validFormData{ border: 1px solid #438743; background: rgba(225,255,225,0.8); }
.form-control label.invalidFormData { border: 1px solid #E83131; background: rgba(255,236,236,0.8); }
.form-control label.validFormData   { border: 1px solid #438743; background: rgba(225,255,225,0.8); }

#loginBoxMain {
    border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px;
    box-shadow: 0px 0px 8px 6px rgba(0,0,0,.05); color: rgb(65,65,65);
    padding: 30px; margin-top: 15px; padding-bottom: 10px;
}

#loginBoxMain h3 { background-color: #FFF !important; line-height: 1.3em; font-size: 1.5em; color: #183ba4 !important; font-weight: bolder; }
.btnLoginMain { padding: 10px 30px; background-color: rgb(251, 227, 113); color: #0C1D4D !important; border-color: rgb(251, 227, 113); }
.btnLoginMain:hover { background-color: rgb(249, 213, 40) !important; border-color: rgb(249, 213, 40) !important; }

#formLoginMain input[type="text"], #formLoginMain input[type="password"]{ padding: 10px; }

#loginBottomCopy { margin-top: 15px; margin-bottom: 0px; }

.areaMainTitle { background-color: #0C1D4D !important; line-height: 1.9em; font-size: 1.5em; position: relative; }

.areaMainTitle a.mainMenu, #btnMenuViewMyWorkOrders {
    font-size: 1.8em; position: absolute; left: 2px; top: 2px; padding: 0rem 1.0rem; color: #FFF;
    border: none; z-index: 5;
}
#btnMenuViewMyWorkOrders { font-size: 1.5em; top: 10px; }
#btnMenuViewMyWorkOrders span {
    position: absolute; font-size: 0.35em; background: #CC0000; padding: 5px; width: 22px; height: 22px; line-height: 12px; text-align: center;
    border-radius: 50%; -moz-border-radius: 50%; -webkit-border-radius: 50%; bottom: 5px; right: 0px; font-weight: bold;
}

.areaMainTitle a.mainMenu:hover, #btnMenuViewMyWorkOrders:hover { color: #CCC; }

.areaMainTitle .btn:focus, #btnMenuViewMyWorkOrders:focus { outline: none !important;  }

.areaMainTitle a.logOff {
    font-size: 1.0em; position: absolute; right: 10px; top: 10px; padding: .2rem .90rem;
    color: rgba(255, 0, 0, 0.4) !important; line-height: 1.6em;
}

.areaMainTitle a.logOff:hover { color: rgba(255, 0, 0, 0.95) !important; }

.areaMainTitle.PageTitle { background-color: #83C8ED !important; color: #0C1D4D !important; font-weight: bold; padding-left: 60px; padding-right: 60px; }

.areaMainTitle a.leftBtn, .areaMainTitle a.rightBtn { font-size: 1.0em; position: absolute; padding: 0rem 1.0rem; color: rgba(40, 36, 105, 1); }
.areaMainTitle a.leftBtn  { left:  6px; top: 14px; }
.areaMainTitle a.rightBtn { right: 6px; top: 14px; }

.areaMainTitle a.leftBtn:hover, .areaMainTitle a.rightBtn:hover { color: rgba(251, 227, 113, 1); }

.areaMainTitle a.rightBtnFilter, .areaMainTitle a.rightBtnSearch, .areaMainTitle span.searchInput {
    font-size: 1.0em; position: absolute; padding: 0.2rem 0.2rem; color: rgba(40, 36, 105, 1); right: 16px; top: 12px;
}

.areaMainTitle span.searchInput {
    right: 45px; width: 280px !important; background: #FFF; padding: 10px; top: 55px;
    border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px;
    border: 3px solid rgba(29, 111, 184, 0.5); box-shadow: 0px 0px 8px 4px rgba(0, 59, 115,.25); z-index: 10; display: none;
}
.areaMainTitle span.searchInput input[type="text"] { width: 200px !important; display: inline-block !important; font-size: 0.7em !important; font-weight: normal !important; }
.areaMainTitle span.searchInput a { width: 40px; display: inline-block !important; margin-left: 8px; }

.areaMainTitle a.rightBtnFilter:hover, .areaMainTitle a.rightBtnSearch:hover { color: rgba(251, 227, 113, 1); }

.areaMainTitle a.rightBtnSearch { right: 50px; }

#mainMenuBox {
    position:  absolute; top: -12px; left: -6px; background-color: rgba(0, 59, 115, 1) !important; color: #FFF;
    min-width: 250px; z-index: 2; padding-top: 15px; padding-bottom: 10px;
    border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px; display: none;
}


#mainMenuBox a {
    display: block; padding: 5px 20px; margin: 10px 25px; line-height: 2.2em; border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px;
    color: #FFF; font-weight: bold; padding-left: 10px;
}

#mainMenuBox a i { padding-right: 8px; }

#mainMenuBox a:hover { background-color: rgba(255, 255, 255, 0.90) !important; color: rgb(0, 59, 115); text-decoration: none; }

.homePageBoxLink, .homePageBoxLinkNoBorder {
    display: block; border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px; box-shadow: 0px 0px 8px 6px rgba(0,0,0,.05);
    padding: 25px; color: #14416E !important;
}

.homePageBoxLink i, .homePageBoxLinkNoBorder i { font-size: 1.5em; }

.homePageBoxLink:hover{ text-decoration: none; background-color: rgba(29, 111, 184, 0.02); color: rgb(29, 111, 184); box-shadow: 0px 0px 8px 6px rgba(0, 59, 115,.25); }

.homePageBoxLink ul, .homePageBoxLinkNoBorder ul { display: inline-block; margin: 0 auto; margin-top: 15px; text-align: left; }

.homePageBoxLink ul li, .homePageBoxLinkNoBorder ul, li { padding: 5px 10px; }

.homePageBoxLinkNoBorder { box-shadow: none; padding: 0px; }
.homePageBoxLinkNoBorder:hover{ text-decoration: none; color: rgb(29, 111, 184);  }

.fieldsetEditUser {
    border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px; box-shadow: 0px 0px 6px 4px rgba(0, 59, 115,.15);
    padding: 15px; max-width: 960px; margin: 0 auto; margin-top: 50px;
}

.fieldsetEditUser legend {
    border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px; box-shadow: 0px 0px 4px 2px rgba(0, 59, 115,.15); background: #FFF; padding: 8px 40px;
    width: auto; color: rgba(0, 59, 115, 1); font-size: 1.3em;
}

.fieldsetEditUser legend i { margin-left: -30px; margin-right: 15px; }

.viewFormWrapperMain { display: none; }

input[type="text"], input[type="password"], select, textarea { font-size: 1em !important; color: #555  !important; }

table td { vertical-align: middle !important; }


.templateInfoTable { border-collapse: separate; border-spacing: 3px; }
.templateInfoTable td, .templateInfoTable tr, .templateInfoTable th { border-collapse: inherit; border: 1px solid #DCDCDC; }
.templateInfoTable th { background-color: rgba(29, 111, 184, 0.1) !important; border: 1px solid rgba(29, 111, 184, 0.3) !important; }

.templateInfoTable td.templateListLinks { background-color: rgba(29, 111, 184, 0.1) !important; border: 1px solid rgba(29, 111, 184, 0.3) !important; }
.linkOtherTemplates {
    display: block; padding: 8px; background: #FFF; margin: 5px; margin-right: 15px; text-align: left;
    border: 1px solid rgba(29, 111, 184, 0.3) !important; position: relative; height: 60px; color: #555;
}

.linkOtherTemplates span.templateNumber { position: absolute; left: 8px; font-size: 1.2em; font-weight: bold; text-align: center; width: 30px; top: 17px; }
.linkOtherTemplates span.templateTitle  { position: absolute; left: 50px; white-space: nowrap; width: 85%; overflow: hidden; }
.linkOtherTemplates span.templateIcon   { position: absolute; right: 10px; top: 17px; }

.linkOtherTemplates.active { border: 1px solid rgba(0, 59, 115, 1); color: #FFF; background-color: rgba(29, 111, 184, 0.6); }

.field-filter-on, .field-filter-off { font-size: 0.7em; padding-left: 8px; color: #DEDEDE; }
.field-filter-on { color: rgba(29, 111, 184, 1) !important; }

.filterButton {
    position: absolute; right: 0px; top:5px; z-index: 5; height: 40px; width: 40px; text-align: center; line-height: 30px;
    border-radius: 30px; -moz-border-radius: 30px; -webkit-border-radius: 30px; box-shadow: 0px 0px 4px 2px #DEDEDE; color: rgba(29, 111, 184, 1) !important;
}

#filterTemplatesBox, .filterTemplatesBox {
    position: fixed; top: 30%; width:92%; max-width: 660px; background: #FFF; padding: 20px; border: 3px solid rgba(29, 111, 184, 0.5); box-shadow: 0px 0px 8px 4px rgba(0, 59, 115,.25);
    border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px; display: none; z-index: 100;
}

#filterTemplatesBox #btnFilterBoxClose, .filterTemplatesBox .btnFilterBoxClose {
    position: absolute; right: -26px; top:-30px; font-size: 1.3em; color: #DEDEDE; background: #FFF; width: 30px; height: 30px;
    border: 1px solid rgba(29, 111, 184, 0.5); padding: 0 !important; margin: 0 !important; line-height: 30px; text-align: center;
    border-radius: 50%; -moz-border-radius: 50%; -webkit-border-radius: 50%;
}

#filterTemplatesBox h3, .filterTemplatesBox h3 { padding: 3px 10px; }

.paginationWrapperMain{
    margin-bottom: 10px; padding: 10px; margin-top: 30px !important;
    border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px; box-shadow: 0px 0px 4px 2px #DEDEDE;
}

.btnPaginationLink.active { border: 1px solid rgba(29, 111, 184, 1) !important; font-weight: bold; color: rgba(29, 111, 184, 1) !important; }

.userInfoTop { position: absolute; right: 130px; top: 25px; color: #FFF; text-align: right; font-size: 0.8em; line-height: 1.3em; }

::placeholder  { font-style: italic; opacity: 0.6; font-size: 0.8em; color: #DEDEDE; } /* Chrome, Firefox, Opera, Safari 10.1+ */
:-ms-input-placeholder { font-style: italic; opacity: 0.6;  font-size: 0.8em; } /* Internet Explorer 10-11 */
::-ms-input-placeholder { font-style: italic; opacity: 0.6;  font-size: 0.8em; } /* Microsoft Edge */


/* CONTEXT MENU ------------- */

.data-title:before {
    content: attr(data-menutitle);
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    background: #EFEFEF;
    padding: 10px; height: 40px !important; line-height: 20px;

    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: bold;
}

.context-menu-list.data-title.context-menu-root { font-family: Verdana, Arial, Helvetica, sans-serif;  padding: 5px !important; padding-top: 45px !important; }
.context-menu-list.data-title.context-menu-root li { font-size: 0.9em; padding: 7px; padding-left: 35px; min-width: 240px; }
.context-menu-list.data-title.context-menu-root li i { font-size: 1.2em; margin-top: 0.3em; }


.dvImageThumbMain { display: inline-block; width: 220px; height: 220px; margin: 10px; padding: 5px; border: 1px solid #DEDEDE; position: relative; }
.dvImageThumbMain img { position: relative; display: inline-block; width: 100%; height: 75%; }
.dvImageThumbMain a {
        position: absolute; top: 6px; right: 6px; background: rgba(240, 240, 240, 0.8); padding: 6px; border-radius: 50%; width: 36px; height: 36px;
        color: #999; border: 1px solid rgba(240, 240, 240, 0.9);
} 
.dvImageThumbMain p { background: #F5F5F5; padding: 5px; line-height: 1.0rem; height: 20% !important; margin-top: 3%; font-size: 0.8em; }
.dvImageThumbMain a:hover { color: #FF0000; border: 1px solid rgba(255, 0, 0, 0.9); background: rgba(255, 0, 0, 0.1); }


.dvImageThumbMainAdmin     { display: inline-block; width: 220px; height: 220px !important; margin: 10px; padding: 5px; border: 1px solid #DEDEDE; overflow: hidden; }
.dvImageThumbMainAdmin img { position: relative; display: inline-block; width: 100%; height: 75%; }
.dvImageThumbMainAdmin p   { background: #F5F5F5; padding: 5px; line-height: 1.0rem; height: 20% !important; margin-top: 3%; font-size: 0.8em; }


.kbw-signature { border: 1px solid #ced4da; border-radius: .25rem; }
.kbw-signature canvas { border-radius: .25rem; }

#dvInfoSavedOK { display: none; }
#dvInfoSavedOK p {
    border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px; padding: 10px;
    border: 1px solid rgba(225,255,225,1); background: rgba(225,255,225,0.7); position: relative;
}
#dvInfoSavedOK a { position: absolute; right: 10px; }

/* Language Selector --------------------- */
.language-selector-wrapper{
    position: absolute; right: 5px; top: 5px; background: none; padding: 5px 10px; border-radius: 5px; text-align: center; z-index: 10;
}

.language-selector-wrapper i { padding-left: 3px; margin-right: -3px; }
.language-selector-wrapper a:hover { text-decoration: none; }
.language-selector-wrapper:hover, .language-selector-wrapper.active { background: rgba(240,240,240,0.85); cursor: pointer; }
.language-selector-wrapper ul { display: none; list-style: none; padding: 0px; margin: 0px; padding-top: 5px;  }

.language-selector-wrapper ul li a { display: block; padding: 5px; text-align: center; }


/* CONTEXT MENU ------------- */

.data-title:before {
    content: attr(data-menutitle);
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    background: #EFEFEF;
    padding: 10px; height: 40px !important; line-height: 20px;

    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: bold;
}

.context-menu-list.data-title.context-menu-root { font-family: Verdana, Arial, Helvetica, sans-serif;  padding: 5px !important; padding-top: 45px !important; }
.context-menu-list.data-title.context-menu-root li { font-size: 0.9em; padding: 7px; padding-left: 35px; min-width: 240px; }
.context-menu-list.data-title.context-menu-root li i { font-size: 1.2em; margin-top: 0.3em; }

.context-menu-separator {
  margin: .15em !important; margin-bottom: 8px !important;
  padding-bottom: 4px !important; padding-top: 4px !important;
}

.btn.btn-info { background-color: rgb(40, 167, 69) !important; border-color: rgb(40, 167, 69) !important; color: #FFFFFF !important; }
.btn.btn-info:hover { background-color: rgb(40, 130, 69) !important; border-color: rgb(40, 130, 69) !important; color: #FFFFFF !important; }

.btn.btn-light { background-color: rgb(238, 238, 247) !important; border-color: rgb(238, 238, 247) !important; color: #0C1D4D !important; }
.btn.btn-light:hover { background-color: rgb(203, 203, 231) !important; border-color: rgb(203, 203, 231) !important; }

.btn.btn-warning { background-color: rgb(251, 227, 113) !important; border-color: rgb(251, 227, 113) !important; color: #0C1D4D !important; }
.btn.btn-warning:hover { background-color: rgb(249, 213, 40) !important; border-color: rgb(249, 213, 40) !important;  }


th { color: #FFFFFF !important; background-color: #0C1D4D !important; font-size: 1.1em; }
th.bg-light { color: #0C1D4D !important; background-color: rgb(238, 238, 247) !important; font-size: 0.9em; }


.fancybox-button.fancybox-close-small{
    background: #FFF; border-radius: 50%;
	top: -25px;
	right: -25px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	z-index: 8040;
    opacity: 1;
    padding: 5px;
    color: #999;   
}

.fancybox-button.fancybox-close-small:hover { color: #333; background: #f5f5f5; }

/* Pie Chart ------------------------------------------ */
.progressDiv { width: 100%; margin: 0 auto; min-height: 325px; position: relative; padding-top: 40px; padding-bottom: 20px; }
.progress-pie-chart { width: 300px; height: 300px; border-radius: 50%; background-color: #E5E5E5; position: relative; }
.progress-pie-chart.gt-50 { background-color: #81CE97; }

.ppc-progress {
    content: ""; position: absolute; border-radius: 50%; left: calc(50% - 150px); top: calc(50% - 150px); width: 300px; height: 300px; clip: rect(0, 300px, 300px, 150px);
}
.ppc-progress .ppc-progress-fill {
  content: ""; position: absolute; border-radius: 50%; left: calc(50% - 150px); top: calc(50% - 150px);
  width: 300px; height: 300px; clip: rect(0, 150px, 300px, 0); background: #81CE97; transform: rotate(60deg);
}
.gt-50 .ppc-progress { clip: rect(0, 150px, 300px, 0); }
.gt-50 .ppc-progress .ppc-progress-fill { clip: rect(0, 300px, 300px, 150px); background: #E5E5E5; }

.ppc-percents {
    content: ""; position: absolute; border-radius: 50%; width: 250px; height: 250px;
    left: calc(50% - 250px/2); top: calc(50% - 250px/2); background: #fff; text-align: center; display: table; padding-top: 30px;
}
.ppc-percents span    { display: block; font-size: 2.0em; font-weight: bold; color: #555; }
.pcc-percents-wrapper { display: table-cell; vertical-align: middle; }
.progress-pie-chart   { margin: 0 auto; }



.ppc-percents span.green,  .text-color-green  { color: #28A745; }
.ppc-percents span.orange, .text-color-orange { color: #FD7E14; }
.ppc-percents span.red,    .text-color-red    { color: #DC3545; }

.ppc-progress-fill.green,  .progress-pie-chart.gt-50.green  { background: #28A745; }
.ppc-progress-fill.orange, .progress-pie-chart.gt-50.orange { background: #FD7E14; }
.ppc-progress-fill.red,    .progress-pie-chart.gt-50.red    { background: #DC3545; }



    .progress{
      margin: 0 auto !important; position: relative;
      text-align: center;
      height: 140px; background: none !important;
    }
    
    .barOverflow{ /* Wraps the rotating .bar */
      position: relative; margin: 0 auto !important; 
      width: 280px; height: 140px; /* Half circle (overflow) */
      margin-bottom: -14px; /* bring the numbers up */
      overflow: hidden;
    }
    
    .bar{
      position: absolute;
      top: 0; left: 0;
      width: 280px; height: 280px; /* full circle! */
      border-radius: 50%;
      box-sizing: border-box;
      border: 36px solid #E5E5E5;     /* half gray, */
      border-bottom-color: #0bf;  /* half azure */
      border-right-color: #0bf;
    }
    
    .bar.green  { border-bottom-color: #28A745; border-right-color: #28A745; }
    .bar.orange { border-bottom-color: #FD7E14; border-right-color: #FD7E14; }
    .bar.red    { border-bottom-color: #DC3545; border-right-color: #DC3545; }

    .ppc-percents {
        content: ""; position: absolute; border-radius: 50%; width: 280px; height: 280px;
        left: calc(50% - 280px/2); top: calc(50% - 220px/2); background: none; text-align: center; display: table; padding-top: 30px;
    }
    .ppc-percents span    { display: block; font-size: 2.0em; font-weight: bold; color: #555; }
    .pcc-percents-wrapper { display: table-cell; vertical-align: middle; }
    .progress-pie-chart   { margin: 0 auto; }


    .btn.btn-light.btnLight2 { background: #1D89C4 !important; color: #FFFFFF !important; }
    .btn.btn-light.btnLight2:hover { background: #83C8ED !important; color: #14416E !important; }
    