/*
Theme Name: spaesato
Theme URI: http://empirethemes.com/starter-theme
Description: A starter theme for WordPress. ET-Starter is meant to help you create your own WordPress theme with ease.
Author: ET
Author URI: http://empirethemes.com
version: 1.0
Tags: white, widget-ready, threaded-comments
*/


/*----------------------------------------------------------------------------
 		FONT-FACE
-----------------------------------------------------------------------------*/

@font-face {
    font-family: 'BDCartoonShoutRegular';
    src: url('font/bd_cartoon_shout-webfont.eot');
    src: url('font/bd_cartoon_shout-webfont.eot?#iefix') format('eot'),
         url('font/bd_cartoon_shout-webfont.woff') format('woff'),
         url('font/bd_cartoon_shout-webfont.ttf') format('truetype'),
         url('font/bd_cartoon_shout-webfont.svg#webfont5J0jJSJP') format('svg');
    font-weight: normal;
    font-style: normal;

}

/*----------------------------------------------------------------------------
 	STRUTTURA
-----------------------------------------------------------------------------*/

    body { font-family: Arial, sans-serif; font-size:14px; line-height: 24px; background-color: #f4f4f4;  }

    body                    { background: url(immagini/summer.jpg) no-repeat center 0 fixed #F4E9D5; -webkit-background-size: cover; -moz-background-size: cover;      -o-background-size: cover; background-size: cover; }

    #wrapper { background-color: #FFF; display:block; background-image: url(immagini/bk_footer.png); background-position: 0 bottom; background-repeat: no-repeat; padding-bottom: 210px;  }
    #container { width:960px;  margin-right: auto; margin-left: auto; position:relative; }
    #wrapper { -moz-box-shadow: 0px 0px 3px #333; -webkit-box-shadow: 3px 3px 3px #333; box-shadow: 0px 0px 3px #333; }

    /* container */
    .content { float:left; width:640px; display:block;  position: relative; padding:10px; }
    .sidebar { float:left; width:280px; display:block; padding: 10px; }
    .pagina { float:left; width:620px; padding: 20px; display:block; position: relative; }
    .pagina, .content { min-height:900px; box-shadow: -5px 0 10px -10px #514E49 inset; }
    
    .copertina img  { display: blocK; width: 100%; height: auto; }

    img a { border:none; }
    img.left { float: left; border: none; padding: 6px 0 0 0; }
    img.right { float: right; border: none; padding: 0 0 0 6px; }
    blockquote { border-left:1px solid #333; margin:15px; padding:0 12px; }
    code { font-family:"Courier New", Courier, monospace; }

    /* links */
    a { text-decoration:none; color: #333; }
    a:hover { text-decoration: none; }
    a img {  border-width:0; }
    a:focus { outline: 0; }
    .clear { clear:both; }

    #mail { font-family: 'BDCartoonShoutRegular', Arial, sans-serif; font-size: 14px; line-height: 24px; color: #666; margin-top: 10px; margin-bottom: 30px; background-image: url(immagini/busta.png); background-repeat: no-repeat; background-position: right 0px; }
    #mail a { font-size: 16px; line-height: 24px; color: #f79a2e; }

    .widget_adrotate_widgets { display:block; margin-top: 5px; margin-bottom: 5px; }

    #isuu       { display: block; width: 620px; height:520px; }
    #isuu h1    { margin:20px; color: #00A551;  font-size: 19px; padding-bottom: 5px; }

    #extra { color: #C60; padding: 20px; }

    objet { z-index:10000 !important; }

    .phm        {  height: 1px  !important; }

    .pagina ul          {  list-style: square; list-style-position:inside; }
    .pagina ul   li     {  margin: 5px 0 5px 0;}

    .privacy        { color: #B8B8B8; display: block; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }

    .addthis_toolbox        { margin: 40px 0; clear: both; display: block; }

    #max img            { float: left; border: 1px solid #ccc; padding: 4px; }
    #max h1             { float: left; margin: 0 0 0 20px !important; width: 150px; }

    .tagcloud           { padding: 20px 0; border-bottom: 2px solid #ff9900; margin-bottom: 20px; }
    .tagcloud a         { color: #ff9900;  }

    .entry a            { color: #f90;  }
    .entry a:hover      { color: #ce6805;  border-bottom: 1px dotted #ce6805; padding-bottom: 2px;  }

    .articolo img       { width: 100%; height: auto; }

    .foto               { width: 30%; height: 200px;  margin: 0 10px 10px 0; float: left; padding: 2px; border: 1px solid #ccc; overflow: hidden;}
    .foto img           {   }

    #gallery     { display: table;  }




/* ----------------------------------------- ARCHIVIO GUIDE ------------------------------------------------ */

    .guida              { text-align: center; width: 180px; height:400px; padding: 8px; margin: 0 10px 10px 0; box-shadow:0px 1px 3px #666; display: block; float: left;}
    .guida h4           { margin:10px 0; font-size: 15px; }
    .guida a            { padding:10px; display: block; width:69px; float: left; font-size: 13px; line-height: 18px;  }
    .guida a:hover      { color:#FF9900; }
    .guida i            { margin:0 0 10px 0;  font-size:24px !important; color:#FF9900; }
    .guida .sfoglia     { border-right: 1px dotted #ccc; }

/* ----------------------------------------- ARCHIVIO NEWS ------------------------------------------------ */

    .archive               { width: 500px; margin:10px 0; padding:10px 0; border-bottom: 1px dotted #999; }
    .archive a img         { float: left; height: 180px; margin: 0 30px 30px 0; width: 180px; border: 2px solid #e8d26c; }
    .archive h3            { margin:10px 0;  }

/* ----------------------------------------- HEADER ------------------------------------------------ */

    #header { height: 130px; position: relative; }
    #header h1 { background-image: url("immagini/logo.png"); background-repeat: no-repeat; background-position: 0px 0px; height: 111px; width: 262px; text-indent: -9999px; position: absolute; left: 0px; top: 10px;  margin:0px !important; }
    #header h1 a { color: #404040; text-decoration: none; display: block; height: 111px; width: 262px; }
    #header h1 a:hover { }
    #header h2 { position: absolute; left:280px; top: 70px; font-size:18px;  color: #666; }

    a#rss { display: block; position: absolute; top: 140px; right: 10px; height: 40px; width: 40px; background-image: url(immagini/rss.png); background-repeat: no-repeat; background-position: 0px 0px; text-indent: -9999px; z-index:500; }

/* ----------------------------------------- SHARE ------------------------------------------------ */

    #share  { position: absolute; top: 65px; right: 0px; }

    #share p  { display:block; color: #999; margin-bottom: 10px; }

    #social             { display: table; float: right;  font-size:18px }
    #social li          { display: block; float: left; }
    #social li a        { color: #333; display: block; line-height: 20px; padding: 15px; }
    #social li a:hover  { color: #000; }

    .fa-facebook        { color:#3A5896;}
    .fa-twitter         { color:#9AE4E8;}
    .fa-youtube-play    { color:#e52d27;}

    #facebook, #twitter, #vimeo, #youtube, #myspace, #delicious { background-image: url(immagini/spritesocial.png); text-indent: -9999px; display: inline-block; height: 16px; width: 20px; background-position: 0px 0px; margin-right: 10px; background-repeat: no-repeat; }

    #vimeo {  background-position: 0px 0px; }
    #vimeo:hover { background-position: 0px -16px;}

    #youtube {  background-position: -20px 0px; }
    #youtube:hover { background-position: -20px -16px;}

    #facebook {  background-position: -40px 0px; }
    #facebook:hover { background-position: -40px -16px;}

    #myspace {  background-position: -60px 0px; }
    #myspace:hover { background-position: -60px -16px;}

    #twitter { background-position: -80px 0px; }
    #twitter:hover { background-position: -80px -16px; }

    #delicious {  background-position: -100px 0px; }
    #delicious:hover { background-position: -100px -16px;}

/*----------------------------------------------------------------------------
 	GESTIONE BANNER DA ADROTATE
-----------------------------------------------------------------------------*/

    .ad { border: 1px solid #CCC;  margin:10px 0; }

    #sponsor_bassi { width: 640px; display: block; box-shadow: -5px 0 10px -10px #514E49 inset; padding: 10px; }
    #sponsor_bassi .ad { display: inline-block; margin: 0 15px; }

/*----------------------------------------------------------------------------
 	CLEARFIX
-----------------------------------------------------------------------------*/

    .clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
    .clearfix { display: inline-block; }
    html[xmlns] .clearfix { display: block; }
    * html .clearfix { height: 1%; }

/*----------------------------------------------------------------------------
 	MAIN MENU
-----------------------------------------------------------------------------*/

    .menu           { background-color: #F90; height: 60px; width: 960px; visibility: visible; position:relative; }
    ul.menu         { background-image: url(immagini/bk_mn.jpg); background-repeat: repeat-x; position:relative; }
    ul.menu li      { display: inline; list-style-type: none; margin: 0px; border-right-width: 1px; border-left-width: 1px; border-right-style: solid; border-left-style: solid; border-right-color: #c4751c; border-left-color: #eb9e43; float: left; }
    
    ul.menu li:last-child      { border: none !important; }
    ul.menu li a    { font-family: 'BDCartoonShoutRegular', cursive; font-size: 14px; color: #925205; padding: 0 15px; line-height: 58px; text-transform: uppercase; height: 58px; text-shadow: 1px 1px 1px #F2B56C; margin: 0px; }
    ul.menu  li a:hover { color: #502E03; }

    ul.menu li ul   { display: none; position: absolute; z-index:10001; line-height:24px; padding:-7px 0 0 0; width:280px; }
    ul.menu li ul  li { border:none; padding:7px; background-color: #e4871d; width:280px; border-bottom:solid 1px #e78e28; }
    ul.menu li ul  li:hover { background-color: #e78e28 !important;  }

    ul.menu li ul a {font-size: 14px !important; color: #925205 !important;  border-radius:none !important; line-height:20px; }
    ul.menu li ul a:hover { color:#502E03 !important; height:auto; border-radius:none !important; }

    ul.menu ul ul { }
    ul.menu li ul ul { left:12em; margin:0 0 0 20px; top:auto; }
    ul.menu li:hover ul ul, .menu li:hover ul ul ul, .menu li:hover ul ul ul ul { display:none; border:none; }
    ul.menu li:hover ul, .menu li li:hover ul, .menu li li li:hover ul, .menu li li li li:hover ul { display:block; }

    ul.menu li.current_page_item a { color:#000; }
    ul.menu li.current_page_item li a {  }

    ul.menu li li a { color:#000; }
    ul.menu li li a:hover { color:#000; }
    ul.menu li.current_page_item li a:hover { color:#000; }
    ul.menu li ul li.current_page_item a { background:none !important; }

/*----------------------------------------------------------------------------
 	TIPOGRAFIA
-----------------------------------------------------------------------------*/

    h1, h2, h3, h4, h5 , h6 { font-family: 'BDCartoonShoutRegular', cursive; font-weight: normal; margin:20px 0 10px 0;}

    h1              { font-size: 28px; margin:20px 0 20px 0; text-shadow: 1px 1px 1px #fff;  color: #F90; line-height: 36px; }
    h2              { font-size: 24px; line-height: 26px;  color: #F90; }
    h3              { font-size: 18px;  color: #F90; }
    h4              { font-size: 16px;  color: #2384c6; }
    h5              { font-size: 14px;  color: #2384c6; }
    h6              { font-size: 13px;  color: #b9e5c7; }

    p               { line-height: 24px;  }
    .pagina h1      { font-size: 28px; margin:10px 0 20px 0; }
    .pagina a      { color:#F90;   }

    h3#comments     { margin: 20px 0;}

    .linkcat h2               {  color: #2384c6; font-size: 16px;}

    #side p         { line-height: 18px; color: #333; padding-bottom:20px; }
    .datapost       { font-family: "BDCartoonShoutRegular", sans-serif; font-size: 14px; display: block; line-height: 24px; color: #333; text-transform: capitalize; height: 24px; padding-top: 10px; padding-bottom: 10px; }
    .bordo		    { border: 1px solid #F79A2E;}

    dl              { margin:0 0 40px 0; }
    dt              { font-size: 16px; font-weight:bold;  padding: 15px 15px 5px 15px; }
    dd              { margin:0; padding: 0 15px 15px; border-bottom:2px dotted#E7E7E7; }

    span.entry-subtitle { font-size: 10px !important; color:#000; margin:10px 0 5px 0; }

	.news p		{ line-height:18px; }



/* ----------------------------------------- POST LOOPS ------------------------------------------------ */

#news_container	    { margin:40px 0; display:block;  }
#grid			    { height:500px; position: relative; }
#grid .btn-info     { bottom: 0px; left: 0px; }

.thumb			    { width: 300px; height: 150px; display: block; overflow: hidden; margin: 10px 0; }

.news 				{ display:block; margin: 10px 0; padding: 10px 0; border-bottom: 1px solid #DDD; clear:both; height:160px; }
.news img           { width:150px; height:150px; float: left; margin: 0 10px 0 0; }

.post           	{ position: relative; float: left; width: 290px; display: block; height: auto; margin:20px 20px 20px 0; font-size: 11px; line-height: 15px; }
.post h2        	{ font-size: 16px; text-transform: uppercase; }
.post h2 a 			{ color: #000; text-decoration: none; }

.post h3        	{ font-size: 11px; line-height: 16px; margin:0 0 5px 0; text-transform: uppercase; }
.post h3 a 			{ text-decoration: none; }

.post h2 a:hover 	{ color: #777; text-decoration: none; }
.post ul li 		{ padding-top: 10px; padding-bottom: 10px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #eee; }
.post ul li a:hover { text-decoration: underline; }
.post ul li img 	{  }

.eventi ul li a 	{ color:#2384c6; font-weight:bold;  }
.sagre ul li a 		{ color:#ed1c24; font-weight:bold;}
.curiosita ul li a 	{ color:#ef4c9b; font-weight:bold;}
.sport ul li a 		{ color:#ffcc00; font-weight:bold;}
.spettacoli ul li a 	{ color:#7FAF1B; font-weight:bold;}
.fiere ul li a 		{ color:#E45635; font-weight:bold;}
.feste ul li a 		{ color:#815D00; font-weight:bold;}
.visite ul li a 	{ color:#543511; font-weight:bold;}

.eventi h2, .sagre h2, .curiosita h2, .sport h2, .visite h2, .spettacoli h2, .fiere h2, .feste h2 { font-weight: bold; border-bottom-width: 3px; border-bottom-style: solid; border-top-width: 1px; border-top-style: solid;  line-height: 50px; margin-bottom: 20px; }

.eventi h2, .eventi h2 a, .eventi h3						{ color: #2384c6; border-bottom-color: #2384c6; }
.sagre h2, .sagre h2 a, .sagre h3							{ color: #ed1c24; border-bottom-color: #ed1c24; }
.curiosita h2, .curiosita h2 a, .curiosita h3 				{ color: #ef4c9b; border-bottom-color: #ef4c9b; }
.sport h2, .sport h2 a, .sport h3 							{ color: #ffcc00; border-bottom-color: #ffcc00; }
.spettacoli h2, .spettacoli h2 a, .spettacoli h3 			{ color: #7FAF1B; border-bottom-color: #7FAF1B; }
.fiere h2, .fiere h2 a, .fiere h3 							{ color: #E45635; border-bottom-color: #E45635; }
.feste h2, .feste h2 a, .feste h3 							{ color: #815D00; border-bottom-color: #815D00; }
.visite h2, .visite h2 a, .visite h3 						{ color: #543511; border-bottom-color: #543511; }

.eventi, .sagre, .curiosita, .sport, .visite, .spettacoli, .fiere, .feste {  }

.pagetitle { color:#777; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #eee; font-family: "arial", verdana, times; font-size: 16px; font-style: normal; line-height: 30px; font-weight: normal; font-variant: normal; height: 30px; margin-top: 0; margin-right: 0; margin-bottom: 30px; margin-left: 0; border-top-width: 1px; border-top-style: solid; border-top-color: #eee; }
.entry { padding: 10px 0 10px 0; }
.entry p { margin-top: 12px; margin-right: 0px; margin-bottom: 12px; margin-left: 0px; }
.entry img { margin-right: 16px !important; margin-bottom: 16px; }
.postmetadata { clear: both;  font-size: 10px;}

.navigation         { width:100%; margin:20px 0; padding:20px 0; overflow:hidden; border-top: 2px solid #f90; }
.alignleft a        { float:left; margin:5px 0;   }
.alignright a       { float:right; margin:5px 0; }


/* ----------------------------------------- SIDEBAR ------------------------------------------------ */

.sidebar.content-middle { float:left; width:24%; }
.sidebar.content-left { float: right; width:20%; }
.sidebar.content-right { float: left !important; width:20%; }
.sidebar h2 { color: #f79a2e; border-bottom: #f79a2e solid 3px; line-height: 30px; margin-bottom: 10px;  }
.sidebar p { margin:0; padding:14px 5px 14px 0; }
.sidebar img { padding: 0; margin: 0; }
.sidebar ul { margin:0; padding:0; }
.sidebar.content-middle ul { margin:0 20px 0 0 !important; }
.sidebar.content-left ul { margin:0 0 0 20px !important; }
.sidebar.content-right ul { margin:0 20px 0 0 !important; }

.sidebar ul li { margin: 0; line-height: 20px; list-style-type: none; padding:5px 0 5px 0; }

.sidebar ul li a {  }
.sidebar ul li a:hover { color: #F90; }

.sidebar ul ul { margin:14px 0; padding: 0; }
.sidebar.content-middle ul ul { margin:14px 0 !important; }
.sidebar.content-left ul ul { margin:14px 0 !important; }
.sidebar.content-right ul ul { margin:14px 0 !important; }
.sidebar ul ul li { list-style-type: none;}
.sidebar ul ul ul { margin: 0; padding: 0; }
.sidebar ul ul ul li { padding: 0 0 0 15px; list-style-type: square; list-style-position:inside; color: #898989; }

/* misc */
img.centered { display: block; margin-left: auto; margin-right: auto; }
img.alignright { padding: 4px; margin: 0 0 2px 7px; display: inline; }
img.alignleft { padding: 4px; margin: 0 7px 2px 0; display: inline; }
.alignright { float: right; }
.alignleft { float: left }
.wp-caption { width: auto!important; }
.wp-caption img { margin: 0; padding: 0; border: 0 none; }
.wp-caption p.wp-caption-text { font-family: "Cambria", Tahoma, Helvetica, sans-serif; font-size: 13px; font-style: italic; color: #333; line-height: 20px; margin-top: 5px; margin-bottom: 5px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #eee; }

/* ----------------------------------------- LISTATI ------------------------------------------------ */

li.linkcat			{ list-style-type: none; }
li.linkcat h2		{ margin: 20px 0; }
ul.xoxo 			{ list-style-type:none;  }
ul.xoxo li 			{ line-height: 30px; border-bottom: 1px dotted #ddd;  }
ul.xoxo li a 		{}
ul.xoxo li a:before { content: "›  ";}
ul.xoxo li a:hover 	{ color: #F60; }

/* ----------------------------------------- GESTIONE FORMS ----------------------------------------- */

    #commentform            { margin: 20px 0;  }
    label                   { display: inline-block; font-weight: bold; margin-bottom: 5px; }

    .sidebar input[type="text"], input[type="tel"], input[type="email"], input[type="search"] { width: 264px !important;}

     input[type="text"], input[type="tel"], input[type="email"], input[type="search"], textarea  {
        background-color: #FFFFFF;
        background-image: none;
        border: 1px solid #CCCCCC;
        border-radius: 4px;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
        color: #555555;
        display: block;
        font-size: 14px;
        height: 34px;
        line-height: 1.42857;
        padding: 4px 8px;
        transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
        width: 90%;
    }

     textarea {height: auto !important; }

    input[type="text"]:focus, nput[type="tel"]:focus, nput[type="email"]:focus,input[type="search"]:focus, .input-text:focus, textarea:focus {
        border-color: #F90;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(255, 153, 0, 0.5);
        outline: 0 none;
    }

    div.wpcf7-validation-errors 		{ border:none !important; background-color: #F90; margin-left: 20px; width: 500px; }

    #f_da, #f_a							{ position: absolute; right:-545px; top:20px; padding:6px; background:url(immagini/calendar.png) no-repeat; width:31px; height:32px; border:none !important; color:#fff !important; margin:0 0 0 20px; }

    #footer 					{ height: 40px; text-align: align; padding:10px 0; text-align: center !important; }
    #footer p                   { color: #000; display: block; font-size: 10px; letter-spacing: 1px; text-transform: uppercase;}

/* ----------------------------------------- SEARCHFORM ----------------------------------------- */



.searchresult 				{ line-height: 30px; border-bottom:1px dotted #C60; }
.searchresult a				{ font-size: 14px; line-height: 30px;  }
.searchresult a:hover		{ color:#C60;  }


/* ----------------------------------------- CERCASAGRE ----------------------------------------- */

.search{ margin:5px 0 5px 0;}
.reset { display:none !important;}
select { border: 1px solid #DDDDDD; box-shadow: 2px 2px 6px #EEF0F0 inset; color: #828282;  padding: 8px; width:95%; margin:0 0 20px 0; }
span.customStyleSelectBox { font-size:13px; background-color: #eee; color:#333; border:1px solid #ccc; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px 5px;  padding-top: 3px; padding-right: 7px; padding-bottom: 3px; padding-left: 7px; margin-bottom: 10px; text-shadow: 1px 1px 1px #fff; }
span.customStyleSelectBox.changed { background-color: #f0dea4; }
.customStyleSelectBoxInner { background:url(immagini/nav-item-arrow.png) no-repeat center right; }

/* ----------------------------------------- GUIDA ----------------------------------------- */

#numero {  border-bottom: 1px solid #F90; padding:0 0 10px 0; margin:0 0 10px 0; }
#numero span  {float: left; height:34px; margin:50px 28px 50px 0; }
.guarda, .scarica{ float: left;  width: 110px; padding:0 20px 0 40px; height:34px; margin:50px 10px 50px 10px; }
.guarda, .scarica { background-repeat: no-repeat; background-position: 0px 0px; }
.guarda { background-image: url(immagini/guarda.png); }
.scarica { background-image: url(immagini/scarica.png); }

/* ----------------------------------------- GESTIONE PULSANTI ----------------------------------------- */

    .form-group { margin-bottom: 15px; }

.btn-info, .wpcf7 input[type=submit], input[type=submit]       {
        -moz-appearance: caret;
        -moz-box-sizing: border-box;
        background: none repeat scroll 0 0 #428BCA;
        border: medium none;
        border-radius: 3px;
        box-shadow: 0 0 0 0 #888888;
        color: #FFFFFF !important;
        cursor: pointer;
        display: inline-block;
        font-family: inherit;
        font-weight: 200;
        line-height: 1.618em;
        overflow: visible;
        padding: 0.327em 1em;
        text-align: center;
        text-decoration: none;
        text-shadow: none;
        text-transform: uppercase;
        white-space: nowrap;
        width: auto;
        margin: 10px 0 10px 0;
    }


.btn-info:hover, input[type=submit]:hover, .wpcf7 input[type=submit]:hover {

}

.mi_hr{
display: none !important;
}

/* ----------------------------------------- GESTIONE TABELLE ----------------------------------------- */


table {
    background-color: transparent;
}
caption {
    color: #777;
    padding-bottom: 8px;
    padding-top: 8px;
    text-align: left;
}
th {
    text-align: left;
}
.table {
    margin-bottom: 20px;
    max-width: 100%;
    width: 100%;
}
.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    border-top: 1px solid #ddd;
    line-height: 1.42857;
    padding: 8px;
    vertical-align: top;
}
.table > thead > tr > th {
    border-bottom: 2px solid #ddd;
    vertical-align: bottom;
}
.table > caption + thead > tr:first-child > td, .table > caption + thead > tr:first-child > th, .table > colgroup + thead > tr:first-child > td, .table > colgroup + thead > tr:first-child > th, .table > thead:first-child > tr:first-child > td, .table > thead:first-child > tr:first-child > th {
    border-top: 0 none;
}
.table > tbody + tbody {
    border-top: 2px solid #ddd;
}
.table .table {
    background-color: #fff;
}
.table-condensed > tbody > tr > td, .table-condensed > tbody > tr > th, .table-condensed > tfoot > tr > td, .table-condensed > tfoot > tr > th, .table-condensed > thead > tr > td, .table-condensed > thead > tr > th {
    padding: 5px;
}

.table-striped > tbody > tr:nth-of-type(2n+1) {
    background-color: #f9f9f9;
}
.table-hover > tbody > tr:hover {
    background-color: #f5f5f5;
}
table col[class*="col-"] {
    display: table-column;
    float: none;
    position: static;
}
table td[class*="col-"], table th[class*="col-"] {
    display: table-cell;
    float: none;
    position: static;
}
.table > tbody > tr.active > td, .table > tbody > tr.active > th, .table > tbody > tr > td.active, .table > tbody > tr > th.active, .table > tfoot > tr.active > td, .table > tfoot > tr.active > th, .table > tfoot > tr > td.active, .table > tfoot > tr > th.active, .table > thead > tr.active > td, .table > thead > tr.active > th, .table > thead > tr > td.active, .table > thead > tr > th.active {
    background-color: #f5f5f5;
}
