.valign {
  /*font-size: 0;*/
}
.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.valign > [class*="col"] {
  display: inline-block;
  float: none;
  font-size: initial;
  vertical-align: middle;
}

.dropdown-menu>li>a {
    white-space:normal;
}

.body{
    margin-bottom:2em;
}

.input-group .form-control:last-child, 
.input-group-addon:last-child, 
.input-group-btn:last-child > .btn, 
.input-group-btn:last-child > .btn-group > .btn, 
.input-group-btn:last-child > .dropdown-toggle, 
.input-group-btn:first-child > .btn:not(:first-child), 
.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-radius: 0;
}


.btn {
    -webkit-border-radius:0px;
    -moz-border-radius: 0px;
    border-radius: 0px;    
    font-weight: 700;
}

.btn.nolink {
    cursor: initial;    
}
  
.btn-uc,
.btn-uc:hover, 
.btn-uc:focus, 
.btn-uc.focus
{
    color: #fff;
    background-color: #cc0011;
    border-color: #cc0011;
    
}
.btn-uc:hover {
    color: #fff;
    background-color: #ae0311;
    border-color: #ae0311;
    -webkit-transition: background .3s, border-color .3s;
    transition: background .3s, border-color .3s;
}
.btn-uc-inverse {
    color: #ae0311;
    background-color: #ffffff;
    border-color: transparent;
}
.btn-uc-inverse:hover,
.btn-uc-inverse:focus,
.btn-uc-inverse:active{
    color: #fff !important;
    background-color: #ae0311;
}

.btn-white {
    color: #000000;
    background-color: #ffffff;
    border-color: #cccccc;
}


.navbar {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}

nav>li>a {
    text-decoration: none;
    background-color: #eee;      
}
.nav-tabs {
    border-bottom: 0px;
    margin-bottom: 2em;
}
.nav-tabs>li>a {
    -webkit-border-radius:0px;
    -moz-border-radius: 0px;
    border-radius: 0px;  
    background-color:#cccccc;
    color:#000000;
    border:0px;
    font-weight: 700;
}
.nav-tabs>li>a:hover {
    border-color: transparent;
    background-color:#ae0311;
    color:#ffffff;
}
.nav>li>a:focus, 
.nav>li>a:hover {
    text-decoration: none;
    background-color: #ae0311;
}
.nav-tabs>li>a:focus {
    color: #ffffff;    
}
.nav-tabs>li.active>a, 
.nav-tabs>li.active>a:focus, 
.nav-tabs>li.active>a:hover {
    color: #ffffff;
    cursor: default;
    background-color: #cc0011;;
    border: 0px solid transparent;
    border-bottom-color: transparent;
}
.nav-tabs {
    border-bottom: 0px;
    margin-bottom:1em;
}
.nav-tabs.nav-tabs-bordered {
    border-bottom:1px solid #dddddd;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 20px 0 0 0;
    border: 0;
    text-transform: uppercase;
}
/*.breadcrumb > li:last-child:after {
    padding: 0 0 0 10px;
    color: #ccc;
    content: "/\00a0";
}*/

table.table-patchwork > tbody > tr > td:nth-of-type(even) {
  background-color: #ccc;
  border-top: 1px solid #ccc;
}
table.table-patchwork > tbody > tr:hover > td:nth-of-type(even) {
    background-color: #f5f5f5;
}


/**
    Pagination overrides
**/
.pagination > li {
    display: inline-block;
}
.pagination > li > a, .pagination > li > span {
    margin: 0 3px;
}

.pagination > .active > a, 
.pagination > .active > span, 
.pagination > .active > a:hover, 
.pagination > .active > span:hover, 
.pagination > .active > a:focus, 
.pagination > .active > span:focus {
    background-color: #eeeeee;
    border-color: #eeeeee;
    color:#000000;
}
.pagination > li > a, 
.pagination > li > span {
    color: #ffffff;
    background-color: #cc0011;
    border: 1px solid #cc0011;
}

.pagination > li:last-child > a, 
.pagination > li:last-child > span,
.pagination > li:first-child > a, 
.pagination > li:first-child > span{
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;    
    -webkit-border-radius:0px;
    -moz-border-radius: 0px;
    border-radius: 0px;  
}
.pagination > li > a:hover, 
.pagination > li > span:hover, 
.pagination > li > a:focus, 
.pagination > li > span:focus {
    color: #ffffff;
    background-color: #ae0311;
    border-color: #ae0311;
}

.alpha.pagination > li > a, 
.alpha.pagination > li > span {
    background-color: #eeeeee;
    border-color: #eeeeee;
    color:#000000;    
    border: 0px solid #cc0011;    
}
.alpha.pagination > .active > a, 
.alpha.pagination > .active > span, 
.alpha.pagination > .active > a:hover, 
.alpha.pagination > .active > span:hover, 
.alpha.pagination > .active > a:focus, 
.alpha.pagination > .active > span:focus {
    color: #ffffff;
    background-color: #cc0011;
    border: 0px solid #cc0011;
}
.alpha.pagination > li > a, 
.alpha.pagination > li > span {
     margin: 0 2px; 
     padding:5px 9px
}
.alpha.pagination > li > a:hover, 
.alpha.pagination > li > span:hover, 
.alpha.pagination > li > a:focus, 
.alpha.pagination > li > span:focus {
    color: #ffffff;
    background-color: #ae0311;
    border-color: #ae0311;
}




.col-xxs-1, .col-xxs-2, .col-xxs-3, .col-xxs-4,
.col-xxs-5, .col-xxs-6, .col-xxs-7, .col-xxs-8,
.col-xxs-9, .col-xxs-10, .col-xxs-11, .col-xxs-12 {
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
}

@media (max-width: 420px) {
    
    .pagination > li:not(:first-child):not(:last-child) {
        display:none;
    }   
    .col-xxs-1,
    .col-xxs-2,
    .col-xxs-3,
    .col-xxs-4,
    .col-xxs-5,
    .col-xxs-6,
    .col-xxs-7,
    .col-xxs-8,
    .col-xxs-9,
    .col-xxs-10,
    .col-xxs-11 {
        float: left;
    }

    .col-xxs-1 {
        width: 8.333333333333332%;
    }

    .col-xxs-2 {
        width: 16.666666666666664%;
    }

    .col-xxs-3 {
        width: 25%;
    }

    .col-xxs-4 {
        width: 33.33333333333333%;
    }

    .col-xxs-5 {
        width: 41.66666666666667%;
    }

    .col-xxs-6 {
        width: 50%;
    }

    .col-xxs-7 {
        width: 58.333333333333336%;
    }

    .col-xxs-8 {
        width: 66.66666666666666%;
    }

    .col-xxs-9 {
        width: 75%;
    }

    .col-xxs-10 {
        width: 83.33333333333334%;
    }

    .col-xxs-11 {
        width: 91.66666666666666%;
    }

    .col-xxs-12 {
        width: 100%;
    }

    .col-xxs-push-1 {
        left: 8.333333333333332%;
    }

    .col-xxs-push-2 {
        left: 16.666666666666664%;
    }

    .col-xxs-push-3 {
        left: 25%;
    }

    .col-xss-push-4 {
        left: 33.33333333333333%;
    }

    .col-xxs-push-5 {
        left: 41.66666666666667%;
    }

    .col-xxs-push-6 {
        left: 50%;
    }

    .col-xxs-push-7 {
        left: 58.333333333333336%;
    }

    .col-xxs-push-8 {
        left: 66.66666666666666%;
    }

    .col-xxs-push-9 {
        left: 75%;
    }

    .col-xxs-push-10 {
       left: 83.33333333333334%;
    }

    .col-xxs-push-11 {
       left: 91.66666666666666%;
    }

    .col-xxs-pull-1 {
        right: 8.333333333333332%;
    }

    .col-xxs-pull-2 {
        right: 16.666666666666664%;
    }

    .col-xxs-pull-3 {
        right: 25%;
    }

    .col-xxs-pull-4 {
        right: 33.33333333333333%;
    }

    .col-xxs-pull-5 {
        right: 41.66666666666667%;
    }

    .col-xxs-pull-6 {
        right: 50%;
    }

    .col-xxs-pull-7 {
        right: 58.333333333333336%;
    }

    .col-xxs-pull-8 {
        right: 66.66666666666666%;
    }

    .col-xxs-pull-9 {
        right: 75%;
    }

    .col-xxs-pull-10 {
        right: 83.33333333333334%;
    }

    .col-xxs-pull-11 {
        right: 91.66666666666666%;
    }

    .col-xxs-offset-1 {
        margin-left: 8.333333333333332%;
    }

    .col-xxs-offset-2 {
        margin-left: 16.666666666666664%;
    }

    .col-xxs-offset-3 {
        margin-left: 25%;
    }

    .col-xxs-offset-4 {
        margin-left: 33.33333333333333%;
    }

    .col-xxs-offset-5 {
        margin-left: 41.66666666666667%;
    }

    .col-xxs-offset-6 {
        margin-left: 50%;
    }

    .col-xxs-offset-7 {
        margin-left: 58.333333333333336%;
    }

    .col-xxs-offset-8 {
        margin-left: 66.66666666666666%;
    }

    .col-xxs-offset-9 {
        margin-left: 75%;
    }

    .col-xxs-offset-10 {
        margin-left: 83.33333333333334%;
    }

    .col-xxs-offset-11 {
        margin-left: 91.66666666666666%;
    }
}    
/**
----------------------------------------------
 5 Column display for mega-menu content
----------------------------------------------
**/

@media (min-width: 768px) {
    .col-sm-15 {
        width: 20%;
        float: left;
    }
    
	.col-xs-15,
	.col-sm-15,
	.col-md-15,
	.col-lg-15 {
		position: relative;
		min-height: 1px;
		padding-right: 10px;
		padding-left: 10px;
	}
	.col-xs-15 {
		width: 20%;
		float: left;
	}    
}
@media (min-width: 992px) {
    .col-md-15 {
        width: 20%;
        float: left;
    }
}
@media (min-width: 1200px) {
    .col-lg-15 {
        width: 20%;
        float: left;
    }
}



/**
    Add some media query specific overrides for mobile first
**/
@media (max-width: 1199px) {
    .alpha.pagination > li > a, .alpha.pagination > li > span {
        margin: 0 2px;
        padding: 5px 7px;
    } 
}

@media (max-width: 991px) {
    .alpha.pagination > li > a, .alpha.pagination > li > span {
        margin: 2px 2px;
        padding: 5px 2px;
        width: 6.5%;
    } 
}


@media (max-width: 768px) { 
    .alpha.pagination > li > a, .alpha.pagination > li > span {
        margin: 2px 2px;
        padding: 5px 8px;
    }       
    
    .section--grey {
        padding: 15px;
        margin: 15px 0px;        
    }
    
    ul.gallery-filter {
        
    }
    ul.gallery-filter li{
        display:block;
        float:none;
        width:100%;
        padding:5px 0px;
    }    
}


/** 
    Table styles
**/
.table > tfoot {
    text-align: center;
    font-style: italic;
}
/*
 just in case the font size needs to be smaller for this table
*/
.table.vertical-striped.small-text > tbody {
    font-size:12px;
    font-size:1.2rem;
}
.table.vertical-striped > thead > tr > td,
.table.vertical-striped > thead > tr > th {
    background-color:#888888;
    color: #ffffff;
    text-transform: uppercase;
}
.table.vertical-striped > tbody > tr > th {
/*    font-weight: normal;*/
}
.table.vertical-striped > tbody > tr > td,
.table.vertical-striped > tbody > tr > th {
    background-color:#ffffff;
    border:1px solid #ffffff;
}


/**
 NOTE THAT IE 8 DOESNT DO NTH-CHILD
**/


.table.vertical-striped > tbody > tr:nth-child(odd) > td:nth-child(odd),
.table.vertical-striped > tbody > tr:nth-child(odd) > th:nth-child(odd){
    background-color:#dddddd;
}


.table.vertical-striped > tbody > tr > td {
    text-align:right;
}
.table.vertical-striped > thead > tr > th{
    text-align:right;
}
.table.vertical-striped > thead > tr > th:first-child{
    text-align:left;
}

.table.vertical-striped > tbody > tr:nth-child(even) > td,
.table.vertical-striped > tbody > tr:nth-child(even) > th{
    background-color:#eee;
}
.table.vertical-striped > tbody > tr:last-child > td,
.table.vertical-striped > tbody > tr:last-child > th{
    border-bottom:4px solid #ffffff;
}
.table.vertical-striped > tfoot hr{
    margin-top:0;
    margin-bottom:10px;
}
/*.table.vertical-striped > thead > tr > th, 
.table.vertical-striped > tbody > tr > th, 
.table.vertical-striped > tfoot > tr > th, 
.table.vertical-striped > thead > tr > td, 
.table.vertical-striped > tbody > tr > td, 
.table.vertical-striped > tfoot > tr > td {
    padding: 8px 14px;
}*/
.table.vertical-striped > thead > tr > th, 
.table.vertical-striped > tbody > tr > th,  
.table.vertical-striped > thead > tr > td, 
.table.vertical-striped > tbody > tr > td {
    padding: 20px 20px;
}
.table.vertical-striped > tfoot > tr > th, 
.table.vertical-striped > tfoot > tr > td {
    padding: 5px 0px;
}
.table caption {
    font-weight:700;
}




/**
    Additional tabset controls
**/

.nav-tabs.grey-tabs {
    margin-bottom:0px;
}
.full-width-tabs .nav-tabs.grey-tabs li > span,
.full-width-tabs .tab-header li > span{
    margin-right: 2px;
    line-height: 1.42857143;    
    position: relative;
    display: block;
    padding: 10px 15px;
    border: 0px;
    font-weight: 700;    
}
.nav-tabs.grey-tabs li > a,
.nav-tabs.grey-tabs li > span{
    background-color:#efefef;
    color:#000000;
    border-bottom:2px solid #ffffff;
}
.nav-tabs.grey-tabs li.active > a{
    background-color:#dddddd;
    color:#000000;
    border-bottom:2px solid #dddddd;
}

.tab-content.grey-tabs-content {
    background-color:#dddddd;
    padding:15px;
}


/**
    Tabbed table
**/

.table.table-tabbed {}
.table.table-tabbed thead tr th,
.table.table-tabbed thead tr td{
    background-color: #888888;
    text-align:center;
    color:#ffffff;
    text-transform:uppercase;
    vertical-align:top;
}
.table.table-tabbed tbody > tr > td,
.table.table-tabbed tbody > tr > th{
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid transparent;    
}

.table.table-tabbed tbody tr.tab-row td,
.table.table-tabbed tbody tr.tab-row th{
    padding:10px;
    background-color: #efefef;
    border-spacing: 10px;
    border-collapse: separate;  
    border-bottom:2px solid #ffffff;
    border-left:2px solid #ffffff;
    border-top:8px solid #ffffff;
}
.table.table-tabbed tbody tr.tab-body td,
.table.table-tabbed tbody tr.tab-body th{
    background-color:#dddddd;
}

.table.table-tabbed tbody tr.tab-row td.active,
.table.table-tabbed tbody tr.tab-row th.active{
    background-color:#dddddd;
    font-weight:700;
    border-bottom:2px solid #dddddd;
}
.table.table-tabbed tbody tr td.tab-row-lead,
.table.table-tabbed tbody tr th.tab-row-lead{
    width:33%;
}
