/*
 @type: application css stylesheet
 @author:Transport Canada
*/
@charset "UTF-8";


/** Application CSS addition
  *  - applications post-backs and form submissions require link driven toggles
  */
a.application-post {-webkit-appearance: none;min-height:24px;background: #eee;background: -moz-linear-gradient(top, #eee 0%, #ccc 100%);background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#eee), to(#ccc));filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#cccccc');border-bottom:1px solid #999;border-right: 1px solid #999;border-top: 1px solid #fff;border-left: 1px solid #fff; color: #333; padding: 2px 6px;border-radius:2px;-moz-border-radius: 2px;-webkit-border-radius:2px;text-shadow: 0 1px 0 #eee;font-weight:400;box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none;}
a.application-post:focus,a.application-post:hover{background:#ddd;background: -moz-linear-gradient(top, #ddd 0%, #ccc 100%);background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ddd), to(#ccc));filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dddddd', endColorstr='#cccccc'); text-shadow: 0 1px 0 #ddd;box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none;}
a.application-post:active{-moz-box-shadow: inset 0 0 5px 2px #999, 0 0 0 0 #eee;-webkit-box-shadow: inset 0 0 5px 2px #999, 0 0 0 0 #eee;box-shadow: inset 0 0 5px 2px #999, 0 0 0 0 #eee;border: 1px solid #999;}
@-moz-document url-prefix() {a.application-post{min-height: 22px; }} 

/* END Application CSS addition *  - applications post-backs and form submissions require link driven toggles */

/*BEGIN Civil Aviation - ADTM Standard Web Project */

/* added to make all controls line up to labels on form*/
#divContent input, #divContent select , #divContent textarea, #divContent table 
{
    margin :0;    
}

/*Left align headers on grid  */
.ASPgridview th 
{
 text-align : left;
}

/* We use buttons to control sorting on the gridview
these styles are required to make the buttons look like simple header text
Only works in Div, causes strange behaviour if in class only*/
#divContent input[type=submit].headerSortButton 
{
    border : none;
   	overflow:visible;
   	padding: 0px 2px 0px 2px;
	background:transparent; 
    filter:alpha(opacity=100); /* For IE */
    color: #FFFFFF;
    text-decoration: underline;
    display: table-cell;  /* for underline on FF  */

} 

.width-670px
{
     width: 670px !important;
     }


.ASPtreeview td, .ASPtreeview table, .ASPtreeview tr 
{
	margin :0;
	padding-left :0;
	padding-top :0;
	padding-bottom :0;
    border : none;   

}	 



/* adjustment ajax calendar */
.CalendarBtn .ajax__calendar_container 
{
   background-color:#ffffff;
   border:1px solid #646464;
   z-index: 1;
}

.TableBorderWhite, .TableBorderWhite td
{
    border-color: #ffffff;
}

.blackHR {
    position: relative;
    width: 100% !important;
    border-bottom: none;
    border-top:1px #000000 solid;
}

.background-highlight{background-color:#ffff00;}


/*END Civil Aviation - ADTM Standard Web Project */


/** - Temporary style tweaks till full site upgrade */
input{vertical-align:middle; /*margin:5px 5px 5px 0;*/ margin:0 0 5px;padding:2px 5px;}
input[type="submit"],input[type="reset"],input[type="button"]{margin-top:20px;-webkit-appearance:none;min-height:24px;background:#ccc url(../images/button.gif) scroll 0 0 repeat-x;border-bottom:1px solid #999;border-right:1px solid #999;border-top:1px solid #fff;border-left:1px solid #fff;color:#333;padding:2px 6px;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;text-shadow:0 1px 0 #eee;font-weight:400;box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none;filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#cccccc'); }
input:focus[type="submit"],input:hover[type="submit"],input:focus[type="button"],input:hover[type="button"],input:focus[type="reset"],input:hover[type="reset"]{background:#ddd url(../images/button-focus.gif) 0 0 repeat-x;text-shadow:0 1px 0 #ddd;box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none;border-bottom:1px solid #999;border-right:1px solid #999;border-top:1px solid #fff;border-left:1px solid #fff;}
input:active[type="submit"],input:active[type="button"],input:active[type="reset"]{-moz-box-shadow:inset 0px 0px 5px 2px #999;-webkit-box-shadow:inset 0px 0px 5px 2px #999;box-shadow:inset 0px 0px 5px 2px #999;border:1px solid #999;}


/*Class to remove external link icon if desired MB */

.no-ext-icon a[href^='http://']{background:none !important;}

/* z-index MB */

.z-index-1 {z-index:1;}
.z-index-2 {z-index:2;}
.z-index-3 {z-index:3;}
.z-index-4 {z-index:4;}
.z-index-5 {z-index:5;}

/* font tweeks */
.font-normal {font-weight:500 !important;}


/* Button padding fix for IE MB */

.buttonIE{
   padding:0 .25em 0 .25em;
   width:auto;
   overflow:visible;
}


/* Add error, warning and success modules MB */

.module-app-error
{
    color: #D8000C; 
    background-color: #EEEEEE;
    background-image: url('../images/module-app-error.png'); 
    padding:35px 0 10px;
    background-repeat:no-repeat;
    font-weight :bold;
    -moz-border-radius:5px;
    border-radius:5px;
    -webkit-border-radius:5px;
}
.module-app-warning
{
    color: #000000; 
    background-color: #FFFFC9;
    background-image: url('../images/module-app-warn.png'); 
    padding:35px 0 10px;
    background-repeat:no-repeat;
    font-weight :bold;
    -moz-border-radius:5px;
    border-radius:5px;
    -webkit-border-radius:5px;
}
.module-app-success
{
    color: Green; 
    background-color: #EEEEEE;
    background-image: url('../images/module-app-success.png'); 
    padding:35px 0 10px;
    background-repeat:no-repeat;
    font-weight :bold;
    -moz-border-radius:5px;
    border-radius:5px;
    -webkit-border-radius:5px;
}

/* Lighten the text on input form fields that are read only and do not allow user input MB */

input[readOnly]
{
    border: solid 1px;   
    color:Gray !important;
}


/* Hack of above to make more obvious in FireFox */

input[type="submit"]:disabled, input[type="button"]:disabled 
{
border-color: #DEDEDE #BFBFBF #BFBFBF #DEDEDE;
border-style: solid;
color: GRAY;
cursor: pointer;
font-weight: normal;
padding: 2px 6px;
}



/* Added for the SIS application to indent within a table - Will be removed when they upgrade the app next year */

.TableIndent
{
    text-indent:5px;
}



/* Class to have cursor turn into an hourglass while the app processes data MB */

.wait, .wait * { cursor: wait !important; }

/*Class to force upper case in input fields*/

.upper-case
{
    text-transform: uppercase;
}

/* radiobutton field for q.aspx page */
.width-290px
{
        width: 290px;
}




/** Print Only **/

@media print {
  
	.cn-invisible-print, .wb-invisible-print { display: none !important }
  .cn-invisible-print *, .wb-invisible-print * { display: none !important }
	.page-break-after{ page-break-after:always; } /* MB */
	/* Make align-center work for print MB */
  .align-center, .alignCenter {text-align: center;}

  #printOnlyView { display: block !important; }
}


/* For CADORS application MB */

#printOnlyView {
  display: none !important;
}




/* For TVIS MB */

/* formats pager buttons for gridviews */

#divPagerArrows
{
    float: left;
}

#divPagerGo
{
    float: right;
}

#PageTextbox
{
    padding-top:3px;
    height: 17px;
    width: 25px; 
    font-size: small;
    border-width: 1px;
    border-color: #CCCCCC;
    border-style: Solid;
}

