/*

File:			custom.css

Description:	Custom styles for Thesis



BASIC USAGE:



If you have enabled the custom stylesheet in the Thesis options panel, the <body> tag 

will be appended with the "custom" class, like so: <body class="custom">. You can use 

the "custom" class to override *any* CSS declarations contained in the style.css file.



For example, if you wish to change the default link color to green, you would add the 

following declarations to this file:



	.custom a, .custom a:visited { color: #090; }	<--- This makes links green

	.custom a:hover { color: #00f; }	<--- This makes links blue when you mouse over them



WHY THIS WORKS:



By using the "custom" class, you are creating more specific CSS declarations for HTML

elements. CSS styling is applied through rules of specificity, and because declarations

prepended with .custom are more specific, they get applied when the page is rendered!



More information about styling your Thesis installation using this file can be found

in the User's Guide:

	http://diythemes.com/thesis/rtfm/customizing-thesis-with-customcss/

*/



/* Table of Contents
==================================================
    #Base 960 Grid
    #Tablet (Portrait)
    #Mobile (Portrait)
    #Mobile (Landscape)
    #Clearing */



/* #Base 960 Grid
================================================== */

    .custom #container                                { position: relative; /*width: 992px !important;*/ /*width: 1088px; width: 1152px;*/ width: 1056px; margin: 0 auto !important; padding: 0; }
    .custom #container .column,
    .custom #container .columns                         { float: left; display: inline; margin-left: 10px; margin-right: 10px; }
    .row                                        { margin-bottom: 20px; }

    /* Nested Column Classes */
    .column.alpha, .columns.alpha               { margin-left: 0; }
    .column.omega, .columns.omega               { margin-right: 0; }

    /* Base Grid */
    .custom #container .one.column,
    .custom #container .one.columns                     { width: 46px;  }
    .custom #container .two.columns                     { width: 112px; }
    .custom #container .three.columns                   { width: 178px; }
    .custom #container .four.columns                    { width: 244px; }
    .custom #container .five.columns                    { width: 310px; }
    .custom #container .six.columns                     { width: 376px; }
    .custom #container .seven.columns                   { width: 442px; }
    .custom #container .eight.columns                   { width: 508px; }
    .custom #container .nine.columns                    { width: 574px; }
    .custom #container .ten.columns                     { width: 640px; }
    .custom #container .eleven.columns                  { width: 706px; }
    .custom #container .twelve.columns                  { width: 772px; }
    .custom #container .thirteen.columns                { width: 838px; }
    .custom #container .fourteen.columns                { width: 904px; }
    .custom #container .fifteen.columns                 { width: 970px; }
    .custom #container .sixteen.columns                 { width: 1036px; }

    .custom #container .one-third.column                { width: 345px; }
    .custom #container .two-thirds.column,
	.custom #container #content,
	.custom #container #content .post,
	.custom #container #content .teasers_box	        { width: 710px; }
	.custom #container .no_sidebars #content			{ width: 1056px !important; }
	.custom #container #sidebars						{ width: 22.3em !important; }

    /* Offsets */
    .custom #container .offset-by-one                   { padding-left: 66px;  }
    .custom #container .offset-by-two                   { padding-left: 132px; }
    .custom #container .offset-by-three                 { padding-left: 198px; }
    .custom #container .offset-by-four                  { padding-left: 264px; }
    .custom #container .offset-by-five                  { padding-left: 330px; }
    .custom #container .offset-by-six                   { padding-left: 396px; }
    .custom #container .offset-by-seven                 { padding-left: 462px; }
    .custom #container .offset-by-eight                 { padding-left: 528px; }
    .custom #container .offset-by-nine                  { padding-left: 594px; }
    .custom #container .offset-by-ten                   { padding-left: 660px; }
    .custom #container .offset-by-eleven                { padding-left: 726px; }
    .custom #container .offset-by-twelve                { padding-left: 792px; }
    .custom #container .offset-by-thirteen              { padding-left: 858px; }
    .custom #container .offset-by-fourteen              { padding-left: 924px; }
    .custom #container .offset-by-fifteen               { padding-left: 990px; }



/* #Tablet (Portrait)
================================================== */

    /* Note: Design for a width of 768px */

    @media only screen and (min-width: 768px) and (max-width: 1055px) {
        .custom #container                                  { width: 768px !important; }
        .custom #container .column,
        .custom #container .columns                         { margin-left: 10px; margin-right: 10px;  }
        .column.alpha, .columns.alpha               { margin-left: 0; margin-right: 10px; }
        .column.omega, .columns.omega               { margin-right: 0; margin-left: 10px; }
        .alpha.omega                                { margin-left: 0; margin-right: 0; }

        .custom #container .one.column,
        .custom #container .one.columns                     { width: 28px; }
        .custom #container .two.columns                     { width: 76px; }
        .custom #container .three.columns                   { width: 124px; }
        .custom #container .four.columns                    { width: 172px; }
        .custom #container .five.columns                    { width: 220px; }
        .custom #container .six.columns                     { width: 268px; }
        .custom #container .seven.columns                   { width: 316px; }
        .custom #container .eight.columns                   { width: 364px; }
        .custom #container .nine.columns                    { width: 412px; }
        .custom #container .ten.columns                     { width: 460px; }
        .custom #container .eleven.columns                  { width: 508px; }
        .custom #container .twelve.columns                  { width: 556px; }
        .custom #container .thirteen.columns                { width: 604px; }
        .custom #container .fourteen.columns                { width: 652px; }
        .custom #container .fifteen.columns                 { width: 700px; }
        .custom #container .sixteen.columns                 { width: 748px; }

        .custom #container .one-third.column,
		.custom #container #sidebars		                { width: 236px !important; }
        .custom #container .two-thirds.column,
		.custom #container #content,
		.custom #container #content .post,
		.custom #container #content .teasers_box			{ width: 492px; }
		.custom #container .no_sidebars #content			{ width: 768px !important; }

        /* Offsets */
        .custom #container .offset-by-one                   { padding-left: 48px; }
        .custom #container .offset-by-two                   { padding-left: 96px; }
        .custom #container .offset-by-three                 { padding-left: 144px; }
        .custom #container .offset-by-four                  { padding-left: 192px; }
        .custom #container .offset-by-five                  { padding-left: 240px; }
        .custom #container .offset-by-six                   { padding-left: 288px; }
        .custom #container .offset-by-seven                 { padding-left: 336px; }
        .custom #container .offset-by-eight                 { padding-left: 384px; }
        .custom #container .offset-by-nine                  { padding-left: 432px; }
        .custom #container .offset-by-ten                   { padding-left: 480px; }
        .custom #container .offset-by-eleven                { padding-left: 528px; }
        .custom #container .offset-by-twelve                { padding-left: 576px; }
        .custom #container .offset-by-thirteen              { padding-left: 624px; }
        .custom #container .offset-by-fourteen              { padding-left: 672px; }
        .custom #container .offset-by-fifteen               { padding-left: 720px; }
    }


/*  #Mobile (Portrait)
================================================== */

    /* Note: Design for a width of 320px */

    @media only screen and (max-width: 767px) {
        .custom #container { width: 300px !important; }
        .custom #container .columns,
        .custom #container .column { margin: 0; }

        .custom #container .one.column,
        .custom #container .one.columns,
        .custom #container .two.columns,
        .custom #container .three.columns,
        .custom #container .four.columns,
        .custom #container .five.columns,
        .custom #container .six.columns,
        .custom #container .seven.columns,
        .custom #container .eight.columns,
        .custom #container .nine.columns,
        .custom #container .ten.columns,
        .custom #container .eleven.columns,
        .custom #container .twelve.columns,
        .custom #container .thirteen.columns,
        .custom #container .fourteen.columns,
        .custom #container .fifteen.columns,
        .custom #container .sixteen.columns,
        .custom #container .one-third.column,
        .custom #container .two-thirds.column,
		.custom #container #content .post,
		.custom #container #content .teasers_box,
		.custom #container #content,
		.custom #container #sidebars,
		.custom #container .no_sidebars #content	  { width: 300px !important; }

        /* Offsets */
        .custom #container .offset-by-one,
        .custom #container .offset-by-two,
        .custom #container .offset-by-three,
        .custom #container .offset-by-four,
        .custom #container .offset-by-five,
        .custom #container .offset-by-six,
        .custom #container .offset-by-seven,
        .custom #container .offset-by-eight,
        .custom #container .offset-by-nine,
        .custom #container .offset-by-ten,
        .custom #container .offset-by-eleven,
        .custom #container .offset-by-twelve,
        .custom #container .offset-by-thirteen,
        .custom #container .offset-by-fourteen,
        .custom #container .offset-by-fifteen { padding-left: 0; }

    }


/* #Mobile (Landscape)
================================================== */

    /* Note: Design for a width of 480px */

    @media only screen and (min-width: 480px) and (max-width: 767px) {
        .custom #container { width: 420px !important; }
        .custom #container .columns,
        .custom #container .column { margin: 0; }

        .custom #container .one.column,
        .custom #container .one.columns,
        .custom #container .two.columns,
        .custom #container .three.columns,
        .custom #container .four.columns,
        .custom #container .five.columns,
        .custom #container .six.columns,
        .custom #container .seven.columns,
        .custom #container .eight.columns,
        .custom #container .nine.columns,
        .custom #container .ten.columns,
        .custom #container .eleven.columns,
        .custom #container .twelve.columns,
        .custom #container .thirteen.columns,
        .custom #container .fourteen.columns,
        .custom #container .fifteen.columns,
        .custom #container .sixteen.columns,
        .custom #container .one-third.column,
        .custom #container .two-thirds.column,
		.custom #container #content .post,
		.custom #container #content .teasers_box,
		.custom #container #content,
		.custom #container #sidebars,
		.custom #container .no_sidebars #content { width: 420px !important; }
    }


/* #Clearing
================================================== */

    /* Self Clearing Goodness */
    .custom #container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }

    /* Use clearfix class on parent to clear nested columns,
    or wrap each row of columns in a <div class="row"> */
    .clearfix:before,
    .clearfix:after,
    .row:before,
    .row:after {
      content: '\0020';
      display: block;
      overflow: hidden;
      visibility: hidden;
      width: 0;
      height: 0; }
    .row:after,
    .clearfix:after {
      clear: both; }
    .row,
    .clearfix {
      zoom: 1; }

    /* You can also use a <br class="clear" /> to clear columns */
    .clear {
      clear: both;
      display: block;
      overflow: hidden;
      visibility: hidden;
      width: 0;
      height: 0;
    }
	
	.float-left
	{
		float: left !important;	
	}
	.float-right
	{
		float: right !important;	
	}


