//
// Variables
// --------------------------------------------------


// Global values
// --------------------------------------------------


// Grays
// -------------------------
@black:                 #000;
@grayDarker:            #222;
@grayDark:              #333;
@gray:                  #555;
@grayLight:             #CACACA;
@grayLighter:           #D5D5D5;
@white:                 #fff;


// Accent colors
// -------------------------
@blue:                  #2CA7FF;
@blueDark:              #004B8B;
@green:                 #89B200;
@red:                   #C21C45;
@yellow:                #ffc40d;
@orange:                #E37A13;
@pink:                  #DC4FAD;
@purple:                #8C0095;


// Scaffolding
// -------------------------
@bodyBackground:        @white;
@textColor:             @grayDark;


// Links
// -------------------------
@linkColor:             #0072C6;
@linkColorHover:        #00709F;


// Typography
// -------------------------
@sansFontFamily:        'Open sans';//"Segoe UI Regular","Helvetica Neue","Segoe UI","Segoe WP",sans-serif;
@serifFontFamily:       'Open sans';//"Segoe UI Regular","Helvetica Neue","Segoe UI","Segoe WP",sans-serif;
@monoFontFamily:        'Open sans';//"Segoe UI Regular","Helvetica Neue","Segoe UI","Segoe WP",sans-serif;
@boldFontFamily:		'Open sans';

@baseFontSize:          13px;
@baseFontFamily:        @sansFontFamily;
@baseLineHeight:        20px;
@altFontFamily:         @serifFontFamily;

@headingsFontFamily:    @boldFontFamily; // empty to use BS default, @baseFontFamily
@headingsFontWeight:    bold;    // instead of browser default, bold
@headingsColor:         inherit; // empty to use BS default, @textColor


// Component sizing
// -------------------------
// Based on 14px font-size and 20px line-height

@fontSizeLarge:         @baseFontSize * 1.25; // ~18px
@fontSizeSmall:         @baseFontSize * 0.85; // ~12px
@fontSizeMini:          @baseFontSize * 0.75; // ~11px

@paddingLarge:          11px 19px 13px; // 44px
@paddingSmall:          2px 8px 3px;  // 26px
@paddingMini:           0 4px 0;   // 22px

@baseBorderRadius:      4px;
@borderRadiusLarge:     6px;
@borderRadiusSmall:     3px;


// Tables
// -------------------------
@tableBackground:                   transparent; // overall background-color
@tableBackgroundAccent:             #f9f9f9; // for striping
@tableBackgroundHover:              #f5f5f5; // for hover
@tableBorder:                       #e7e7e7; // table and cell border

// Buttons
// -------------------------
@btnBackground:                     @gray;
@btnBackgroundHighlight:            @grayDark;
@btnBorder:                         #ccc;

@btnPrimaryBackground:              @linkColor;
@btnPrimaryBackgroundHighlight:     darken(@btnPrimaryBackground, 10%);

@btnInfoBackground:                 @blue;
@btnInfoBackgroundHighlight:        darken(@btnInfoBackground, 7%);

@btnSuccessBackground:              @green;
@btnSuccessBackgroundHighlight:     darken(@btnSuccessBackground, 7%);

@btnWarningBackground:              @orange;
@btnWarningBackgroundHighlight:     darken(@btnWarningBackground, 7%);

@btnDangerBackground:               @red;
@btnDangerBackgroundHighlight:      darken(@btnDangerBackground, 7%);

@btnInverseBackground:              @grayDarker;
@btnInverseBackgroundHighlight:     @grayDark;


// Forms
// -------------------------
@inputBackground:               #fefefe;
@inputBorder:                   @grayLight;
@inputFocusBorder:				@grayDark;
@inputBorderRadius:             @baseBorderRadius;
@inputDisabledBackground:       #f5f5f5;
@formActionsBackground:         #f5f5f5;
@inputHeight:                   @baseLineHeight + 10px; // base line-height + 8px vertical padding + 2px top/bottom border


// Dropdowns
// -------------------------
@dropdownBackground:            @white;
@dropdownBorder:                rgba(0,0,0,.4);
@dropdownBorderHover:           rgba(0,0,0,.7);
@dropdownDividerTop:            @grayLight;
@dropdownDividerBottom:         @white;

@dropdownLinkColor:             @gray;
@dropdownLinkColorHover:        @grayDark;
@dropdownLinkColorActive:       #fff;

@dropdownLinkBackgroundActive:  @gray;
@dropdownLinkBackgroundHover:   @grayLighter;



// COMPONENT VARIABLES
// --------------------------------------------------


// Z-index master list
// -------------------------
// Used for a bird's eye view of components dependent on the z-axis
// Try to avoid customizing these :)
@zindexDropdown:          1000;
@zindexPopover:           1010;
@zindexTooltip:           1030;
@zindexFixedNavbar:       1030;
@zindexModalBackdrop:     1040;
@zindexModal:             1050;


// Sprite icons path
// -------------------------
@iconSpritePath:          "../css/less/bootstrap/img/glyphicons-halflings.png";
@iconWhiteSpritePath:     "../css/less/bootstrap/img/glyphicons-halflings-white.png";


// Input placeholder text color
// -------------------------
@placeholderText:         @grayLight;


// Hr border color
// -------------------------
@hrBorder:                @grayLighter;


// Horizontal forms & lists
// -------------------------
@horizontalComponentOffset:       180px;


// Wells
// -------------------------
@wellBackground:                  #f5f5f5;


// Navbar
// -------------------------
@navbarCollapseWidth:             979px;
@navbarCollapseDesktopWidth:      @navbarCollapseWidth + 1;

@navbarHeight:                    40px;
@navbarBackgroundHighlight:       #ffffff;
@navbarBackground:                darken(@navbarBackgroundHighlight, 5%);
@navbarBorder:                    darken(@navbarBackground, 20%);

@navbarText:                      #777;
@navbarLinkColor:                 #777;
@navbarLinkColorHover:            @grayDark;
@navbarLinkColorActive:           @gray;
@navbarLinkBackgroundHover:       #fafafa;
@navbarLinkBackgroundActive:      darken(@navbarBackground, 5%);

@navbarBrandColor:                @navbarLinkColor;

// Inverted navbar
@navbarInverseBackground:                @grayDark;
@navbarInverseBackgroundHighlight:       @gray;
@navbarInverseBorder:                    @grayDarker;

@navbarInverseText:                      @white;
@navbarInverseLinkColor:                 @white;
@navbarInverseLinkColorHover:            @grayLighter;
@navbarInverseLinkColorActive:           @navbarInverseLinkColorHover;
@navbarInverseLinkBackgroundHover:       lighten(@grayDark,5%);
@navbarInverseLinkBackgroundActive:      @grayDarker;

@navbarInverseSearchBackground:          lighten(@navbarInverseBackground, 25%);
@navbarInverseSearchBackgroundFocus:     @white;
@navbarInverseSearchBorder:              @navbarInverseBackground;
@navbarInverseSearchPlaceholderColor:    #ccc;

@navbarInverseBrandColor:                @navbarInverseLinkColor;


// Pagination
// -------------------------
@paginationBackground:                #fafafa;
@paginationBorder:                    @navbarBorder;
@paginationActiveBackground:          lighten(@grayLighter,7%);


// Hero unit
// -------------------------
@heroUnitBackground:              lighten(@grayLighter,10%);
@heroUnitHeadingColor:            inherit;
@heroUnitLeadColor:               inherit;


// Form states and alerts
// -------------------------
@warningText:             #c09853;
@warningBackground:       @orange;
@warningBorder:           darken(spin(@warningBackground, -10), 3%);

@errorText:               #b94a48;
@errorBackground:         #f2dede;
@errorBorder:             darken(spin(@errorBackground, -10), 3%);

@successText:             #468847;
@successBackground:       #dff0d8;
@successBorder:           darken(spin(@successBackground, -10), 5%);

@infoText:                #3a87ad;
@infoBackground:          #d9edf7;
@infoBorder:              darken(spin(@infoBackground, -10), 7%);


// Tooltips and popovers
// -------------------------
@tooltipColor:            #000;
@tooltipBackground:       @navbarBackground;
@tooltipBorder:       	  @navbarBorder;
@tooltipArrowWidth:       5px;
@tooltipArrowColor:       @tooltipBackground;

@popoverBackground:       #fff;
@popoverArrowWidth:       10px;
@popoverArrowColor:       #fff;
@popoverTitleBackground:  darken(@popoverBackground, 3%);

// Special enhancement for popovers
@popoverArrowOuterWidth:  @popoverArrowWidth + 1;
@popoverArrowOuterColor:  rgba(0,0,0,.25);



// GRID
// --------------------------------------------------


// Default 940px grid
// -------------------------
@gridColumns:             12;
@gridColumnWidth:         60px;
@gridGutterWidth:         10px;
@gridRowWidth:            (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));

// 1200px min
@gridColumnWidth1200:     70px;
@gridGutterWidth1200:     20px;
@gridRowWidth1200:        (@gridColumns * @gridColumnWidth1200) + (@gridGutterWidth1200 * (@gridColumns - 1));

// 768px-979px
@gridColumnWidth768:      42px;
@gridGutterWidth768:      15px;
@gridRowWidth768:         (@gridColumns * @gridColumnWidth768) + (@gridGutterWidth768 * (@gridColumns - 1));


// Fluid grid
// -------------------------
@fluidGridColumnWidth:    percentage(@gridColumnWidth/@gridRowWidth);
@fluidGridGutterWidth:    percentage(@gridGutterWidth/@gridRowWidth);

// 1200px min
@fluidGridColumnWidth1200:     percentage(@gridColumnWidth1200/@gridRowWidth1200);
@fluidGridGutterWidth1200:     percentage(@gridGutterWidth1200/@gridRowWidth1200);

// 768px-979px
@fluidGridColumnWidth768:      percentage(@gridColumnWidth768/@gridRowWidth768);
@fluidGridGutterWidth768:      percentage(@gridGutterWidth768/@gridRowWidth768);

// target figures from Cougar6.2
//@fluidGridColumnWidth:    7.416666667%;
//@fluidGridGutterWidth:    1.0%;


//
// Variables for oneit header
//
@headerBackgroundColour: @white;
@headerTextColour: @gray;
@headerLinkColour: @grayDark;
@headerLogo: url(./img/headlogo.jpg); // note: path can be confusing
@topMenuHeight: 32px;
@topMenuTopPadding: 8px;

@pageTitleBackgroundColour: #f2f2f2;
@pageTitleBorderColour: #c2c2c2;
@footerBackgroundColour: @pageTitleBackgroundColour;
@footerTextColour: #666666;
@footerBorderColour: @pageTitleBorderColour;
@footerMargin: 18px 0;

@actionAreaWidth: 300px;

