/* #Global font overrides
================================================== */

p {
    font-size:0.775rem;
}

body {
    font-size:0.775rem;
}

body, h1, h2, h3, h4, h5 {
    font-family: "Open Sans", Sans-Serif;
    font-weight: 400;
}

.text-center
{
    text-align:center;
}

.text-left
{
    text-align:left;
}

.text-right
{
    text-align:right;
}

label.inline {
    margin: 0 0 6px;
}

/*.ddl
{
    line-height:10px;
    /*margin-bottom:2px;
    margin-top:5px;
    height:30px;
    padding-top:4px;
    /*width:auto !important;
    
       
}*/ 

/* #Explanation font
================================================== */

.explanation
{
    font-family:Calibri;
}

/* #Label positions
================================================== */

.labelHeader
{
    font-weight: normal;
    font-family: "Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;
    white-space: nowrap;
    display: block;
    position: relative;
    margin: 0 0 0.5rem 0;
    padding: 0.425rem
}

.frmtbl .labelHeader {
    margin: 0 0 0.5rem 0;
}

/* #Radio button list
================================================== */

.rbl
{
    border: none;
    background-color:transparent;
    margin-bottom:0;
    border-spacing:0 !important;
    border-collapse:collapse !important;
}

.rbl tbody tr:nth-child(2n)
{
    background-color:transparent !important;
}

.rbl label
{
    display: inline !important;
    margin-left: 5px;
}

/* #Tabs
================================================== */

.foundation
{
            
}

.foundation .ajax__tab_body
{
    border: 1px solid #E6E6E6;
    border-top: none;           
}

.foundation .ajax__tab_header
{             
    height:39px;
    border-bottom: 1px solid #E6E6E6;
    }

.foundation .ajax__tab_tab
{   
    text-align: center;
    padding: 5px;
    cursor:pointer;
    display: inline-block;
    overflow: hidden;
    padding: 0.5em 0.5em;                                
    color: #3c3c3c;            
}              

.foundation .ajax__tab_active .ajax__tab_tab
{
    border-top: 2px solid #2BA6CB;
    border-right: 1px solid #E6E6E6;
    border-bottom: 1px solid #FFFFFF;
    border-left: 1px solid #E6E6E6;
    color: #3c3c3c;
    font-weight: bold;
}
         
.foundation .ajax__tab_hover .ajax__tab_tab
{
    color: #2BA6CB;
} 
        
.foundation .ajax__tab_panel
{
    padding: 20px;
}


/* #Auto complete
================================================== */

.completionList {
    border:solid 1px #444444;
    margin-left:10px;
    padding:2px;
    height: 100px;
    overflow:auto;
    background-color: #FFFFFF;
    font-size: 12px;
}

.listItem {
    color: #1C1C1C;
}

.itemHighlighted {
    background-color: ButtonShadow;
}

.autocomplete_completionListElement 
{  
    margin : 0px!important;
    background-color : White;
    color : windowtext;
    border : buttonshadow;
    border-width : 1px;
    border-style : solid;
    cursor : 'default';
    overflow : auto;
    font-family:Calibri;
    font-size:12px;
    text-align : left; 
    list-style-type : none;
    margin-left:0px;
    padding-left:0px;
    max-height:150px;
    width:200px;
}
    
/**** Ajax Combobox Fix for Foundation ***/

td.ajax__combobox_textboxcontainer, td.ajax__combobox_buttoncontainer {
    padding: 0 !important;
}

.ajax__combobox_buttoncontainer button {
    background-color: transparent !important;
    /*border: 0;*/
    width: 1.5em !important;
}

.ajax__combobox_itemlist {
    top: auto !important;
    left: auto !important;
    width: 100% !important;
}

/*** OFF CANVAS FULL HEIGHT FIX ***/

/*.off-canvas-wrap,.inner-wrap{
    height:100%;   
}*/

/*** ALERT BOX HEADER COLOR ***/
div.alert-box h1, div.alert-box h2, div.alert-box h3, div.alert-box h4, div.alert-box h5
{
    color:White;
}

/*** SIDE NAV BUTTON REMOVE BOTTOM MARGIN ***/
ul.side-nav a.button 
{
    margin-bottom: 0.1em;
}

/*** FORM BOTTOM MARGIN REMOVAL ***/
form 
{ 
    height:100%;
    margin-bottom: 0;
}

div.inner-wrap.stretch-to-bottom
{
    height:100%;
}

/* Overrides
================================================== */
table tr th, table tr td
{ 
    padding: 0.2rem 0.4rem !important;
    font-size: 0.775rem !important;
}

/* Calender control padding fix */
div.ajax__calendar_container table tr td {
    padding: 0 !important;
}

/* Textboxes Styling */
input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], textarea, select
{
    margin-bottom:0;
    /*padding: 0.4em;*/ 
    height:2.5em;
}

/*input.button[type="submit"], button.button 
{
    margin: 4px 0;
}

.row.collapse input[type="text"], 
.row.collapse span,
.row.collapse input.button[type="submit"],
.row.collapse button.button 
{
    margin: 6px 0;
}*/

.button {
    font-weight:bold;
    font-family: pt-sans, Arial, sans-serif;
}



/*input[type="file"], input[type="checkbox"], input[type="radio"], select {
margin: 0.5rem 0 1rem 0;
} YX: Problematic selector */


/* #Box
================================================== */

.Box
{
    
    /*padding: 0% 3%;*/
    background: white 0 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);    

    z-index: 10001;
    position: fixed !important;

    margin-bottom: 100px !important; 
    padding: 30px !important;      

    max-width: 660px;
}

.Box-Transform
{
    
    /*padding: 0% 3%;*/
    background: white 0 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);    

    z-index: 10001;
    position: fixed !important;

    margin-bottom: 100px !important; 
    padding: 30px !important;      
    
    
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%); 
    -ms-transform: translate(-50%, -50%); /* IE 9 */
    -webkit-transform: translate(-50%, -50%); /* Chrome, Safari, Opera */

    max-width: 660px;
}

.BoxHeader
{
    margin-bottom: 10px;
}

.modalBackground {
    background-color:Gray;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=70)";
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70);
    opacity:0.7;
}

.cke_dialog_ui_input_file {
    height: 400px !important;
}

/* -------------------------------------------------- 
   Template Page
-----------------------------------------------------*/
#divSideBar {
    padding-left:1em;
    padding-right:1em;
}

#divSideBar img {
    border-width:0px;
    margin-left: auto;
    margin-right: auto;
    display:block;
}

#divPageContent {
    padding:1em;
}

#divContentHolder {
    background-color:white;
    margin-top: 0.5em;
    padding-top:0.8em;
}

#divContentHolder2 {
    background-color:white;
    margin-top: 0.5em;
}



/* -----------------------------------------
   Validation
----------------------------------------- */
.validation, .validation ul li, .validation span  {
    font-size:0.8em;
   vertical-align: middle;
}

.validation span  {
    position:absolute;
}

/* -----------------------------------------
   Box Shadow
----------------------------------------- */

.boxshadow
{    
    -moz-box-shadow: 0px 0px 5px 2px #555555 !important;
    -webkit-box-shadow: 0px 0px 5px 2px #555555 !important;
    box-shadow: 0px 0px 5px 2px #555555 !important;

}

/* -----------------------------------------
   Video Contain
----------------------------------------- */

 video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 10px; height: 0; overflow: hidden;
} 
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
}

/* -----------------------------------------
   Wrapper
----------------------------------------- */

.wrapper-mid {
    /*max-width:600px;*/
    padding:15px;
}

.wrapper-right {
    max-width:600px;
    margin-right:5% ;
}

.wrapper-left {
    max-width:600px;
    margin-left:1% ;
}

/* -----------------------------------------
   AutoExtender
----------------------------------------- */

.AutoExtender {
    font-family: OpenSans, Verdana, Helvetica, sans-serif;
    font-size: .8em;
    font-weight: normal;
    border: solid 1px #2BA6CB;
    line-height: 20px;
    padding: 2px;
    background-color: White;
}

.AutoExtenderList {
    border-bottom: dotted 1px #2BA6CB;
    cursor: pointer;
    color: #2BA6CB;
    padding: 4px 4px 6px 4px;
}

.AutoExtenderHighlight {
    color: White;
    background-color: #2BA6CB;
    cursor: pointer;
    padding: 4px 4px 6px 4px;
}

/* -----------------------------------------
   CSS Hacking
----------------------------------------- */

.removefloat {
    float:none !important;
}

.hidden {
    display: none;
}

/* -----------------------------------------
    Explanation Button
--------------------------------------------*/

input.explanation {
    font-size: x-small;
    padding: 0.3em;
    margin-top: 1em;
    margin-bottom: auto;
    border-radius: 2em;
    width: 1.8em;
}

/* -----------------------------------------
    Close Button
--------------------------------------------*/

.close {
    float:right;
    color: black;
}

/* -----------------------------------------
    Top-Bottom Spacing
--------------------------------------------*/

.spacing-top {
    margin-top:1em !important;
}

.spacing-bottom {
    margin-bottom:1em !important;
}

.spacing-none {
    margin-top:0 !important;
    margin-bottom:0 !important;
}

/* Menu button */
a.button.menu {
    background-color: #f9f9f9  !important ;
    /*border-color: #b9b9b9 !important;*/
    color: #333333 !important;
    font-size:0.813em;
}

a.button.menu:hover, a.button.menu:focus {
        background-color: #e7e7e7 !important;
        color: #333333 !important;
}

/* Selected Menu */

 a.button.menu.selected {
    /*background-color: #007095; 
    color: #FFFFFF;*/ 
            /*background-color: #e7e7e7 !important;*/
        color: #007095 !important;
 }

 /* Dynamic Menu */

ul.level2 li {
    list-style: none !important;
    z-index: 10 !important;
    width: 100%;
    box-shadow: 5px 5px 8px 0px rgba(0, 0, 0, .5);
}

ul.level2 li a {
    white-space:nowrap;
    border: 0 !important;
}

 /* TABLE Responsive */

.scrollable {
    overflow-x:auto;
}

/* Top Mini Menu */
nav[class~="tab-bar"] a.button.menu {
    font-size:0.9em;
    margin-left:1em; 
    padding-top:0.3em; 
    padding-bottom:0.3em;
}

nav[class~="tab-bar"] section[class~="show-for-small"] a.button.menu {
    padding:0.3em 0.8em 0.3em 0.8em !important; 
    margin-top:0.8em; 
    margin-right:0.5em;
}

.iconfontgv {
    font-size: 20px;
}