.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
	margin: 0.5em 1em 0.5em 0;
}

.alignright {
	float: right;
	margin: 0.5em 0 0.5em 1em;
}

textarea {
    resize: vertical;
}

a:focus,
button:focus
{
    outline: none;
}

/* Clear fixes */
@media (min-width:1200px){
    .auto-clear > .col-lg-1:nth-child(12n+1){clear:both}
    .auto-clear > .col-lg-2:nth-child(6n+1){clear:both}
    .auto-clear > .col-lg-3:nth-child(4n+1){clear:both}
    .auto-clear > .col-lg-4:nth-child(3n+1){clear:both}
    .auto-clear > .col-lg-6:nth-child(odd){clear:both}
}
@media (min-width:992px) and (max-width:1199px){
    .auto-clear > .col-md-1:nth-child(12n+1){clear:both}
    .auto-clear > .col-md-2:nth-child(6n+1){clear:both}
    .auto-clear > .col-md-3:nth-child(4n+1){clear:both}
    .auto-clear > .col-md-4:nth-child(3n+1){clear:both}
    .auto-clear > .col-md-6:nth-child(odd){clear:both}
}
@media (min-width:768px) and (max-width:991px){
    .auto-clear > .col-sm-1:nth-child(12n+1){clear:both}
    .auto-clear > .col-sm-2:nth-child(6n+1){clear:both}
    .auto-clear > .col-sm-3:nth-child(4n+1){clear:both}
    .auto-clear > .col-sm-4:nth-child(3n+1){clear:both}
    .auto-clear > .col-sm-6:nth-child(odd){clear:both}
}
@media (max-width:767px){
    .auto-clear > .col-xs-1:nth-child(12n+1){clear:both}
    .auto-clear > .col-xs-2:nth-child(6n+1){clear:both}
    .auto-clear > .col-xs-3:nth-child(4n+1){clear:both}
    .auto-clear > .col-xs-4:nth-child(3n+1){clear:both}
    .auto-clear > .col-xs-6:nth-child(odd){clear:both}
}

/* Tables */
.content-section table {
    width: 100% !important;
    table-layout: fixed; /* optional, for equal spacing */
    border-collapse: collapse; /* tr border */
}

.content-section table tr,
.content-section table td,
.content-section table th
{
    width: 100% !important;
    vertical-align: middle;
    text-align: center;
}

.content-section table tr {
    border-bottom: 1px solid #919699;
}
.content-section table tr:first-child {
    border-top: 1px solid #919699;
}

.content-section table img {
    max-width: 100% !important;
    height: auto;
}

/* additional */
.content-section table table tr:first-child {
    border-top: none;
}
.content-section table table tr:last-child {
    border-bottom: none;
}

.content-section .table-responsive > table > tbody > tr > td,
.content-section .table-responsive > table > tbody > th > td,
.content-section > table > tbody > tr > td,
.content-section > table > tbody > th > td,
.content-section div > table > tbody > tr > td,
.content-section div > table > tbody > th > td
{
    padding-top: 5px;
    padding-bottom: 5px;

    border-left: 1px solid #919699;
    border-right: 1px solid #919699;
}

.content-section .table-responsive {
    margin-bottom: 10px;
}

.content-section .table-responsive > table {
    min-width: 600px;
}

/* WPCF7 validation */
span.wpcf7-not-valid-tip {
    color: #a94442;
}

.wpcf7-not-valid {
    border: 1px solid #a94442;
}

div.wpcf7-response-output {
    /*width: 100%;*/
    margin-left: 15px;
    margin-right: 15px;
}

div.wpcf7-validation-errors,
div.wpcf7-mail-sent-ng
{
    border-color: #a94442;
    color: #a94442;
}

div.wpcf7-mail-sent-ok {
    border-color: #398f14;
    color: #398f14;
}