body {
    font-family: "Arimo", sans-serif !important;
    background-color: #0f1216 !important;
    /* color: #c4c4c4 !important; */
    color: #fff !important;
}
a {
    /*color: rgb(73, 187, 229) !important;*/ /*override bootstrap link color */
    color: #c4c4c4 !important;
    text-decoration: underline !important;
}
h1, h2, h3, h4, h5 {
    font-family: 'Oswald', sans-serif !important;
    font-weight: 200 !important;
}
.title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    padding-bottom: 30px;
}
.subtitle {
    font-weight: bold;
    font-size: 1.6em;
}
.button, .btn {
    font-family: 'Oswald', sans-serif;
}
/*** begin: Header ***/
.mr-auto, .mx-auto {
    margin-right: 0 !important;
    margin-left: auto !important;
}
.bg-dark {
    background-color: transparent !important;
}
.nav-item {
    padding-left: 20px;
}
header {
    font-family: "Oswald", sans-serif;
    background-color: #0f1216;
    padding: 0;
}
header .container {
    max-width: 100%;
}
header .t2logo {
    width: auto;
    height: 50px;
    margin-top: 3px;
    margin-left: 20px;
}
header .links-sec {
    text-align: right;
}
header #text-menu {
    display:inline-block;
    margin-top: 13px;
    list-style: none;
}
header #text-menu li {
    text-align: center;
    display: inline-table;
    padding: 0 10px;
    font-size: 1.4vw;
}
header #text-menu li a {
    color: #c4c4c4 !important;
    text-decoration: none !important;
}
header #search-menu {
    display:inline-block;
}
header #search-menu .search-icon {
    width: 25px;
    margin-right: 40px;
    margin-left: 40px;
}
header #ham-menu {
    display: none;
}
header #ham-menu img {
    width: 45px;
    padding-top: 8px;
    padding-left: 15px;
}
header .meatball {
    width: auto;
    height: 80px;
    margin-top: 3px;
    margin-right: 20px
}
header .dropdown-menu {
    background-color: #14181e;
    border: 1px solid #ccc;
}
header .dropdown-item {
    color: #c4c4c4 !important;
    font-size: 0.8em;
}
header .nav-item a {
    text-decoration: none !important;
}
/*** end: Header ***/

/*** being: Main ***/
main {
    min-height: 75vh; /* needed for footer */
    text-align: left;
}
main #block-t2portal-page-title {
    padding: 0 30px;
}
main #block-t2portal-content {
    padding: 0 30px;
}
main nav .tabs {
    display: none; /* hide drupal's "View Edit Delete Revisions Clone" admin tab for content */
}
/*** end: Main ***/

/*** begin: Footer ***/
#more_info {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #1a2028;
    color: #fff;
}
#more_info .right {
    text-align: right;
}
#more_info .right table {
    margin-right: 0;
    margin-left: auto;
}
#more_info .right table td {
    padding:0 5px;
}
#more_info img {
    width: 40px;
    padding: 0 5px;
}
#more_info .box_link {
    border: 2px solid #fff;
    padding: 5px 30px;
}
#more_info .box_link a {
    color: #fff !important;
    text-decoration: none !important;
}
footer {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 0.8em;
    padding: 10px 0;
    margin-top: 60px;
    height: 120px;
    bottom: 0;
    width: 100%;
}
footer .footer-agency-wrapper {
    display: flex;
}
footer .f-left {
    float: left;
    margin-left: 40px;
    margin-right: 15px;
}
footer .f-left .meatball {
    width: 65px;
}
footer a {
    text-decoration: none !important;
}
footer .f-right {
    color: #808080;
}
footer .f-right a {
    color: #fff !important;
}
footer .earth-img {
    width: 50px;
    opacity: 0.4;
    margin-right: 30px;
}
footer .t2-tagline {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    color: #808080;
    font-size: 1.3em;
    text-align: right;
    padding-right: 40px;
}
footer .t2-tagline table {
    width: auto;
    margin-right: 0px;
    margin-left: auto;
}
/*** end: Footer ***/


/*** begin: Drupal's Article and Basic Page content type ***/
.page-node-type-page main .region-content,
.page-node-type-article main .region-content {
    display: flex;
    flex-flow: column;
    min-height: 75vh; /* needed for footer. This is also set in the style for main */
    margin: 0 auto;
    text-align: left;
}
.page-node-type-page main a,
.page-node-type-article main a {
    color: rgb(73, 187, 229) !important;
}
.page-node-type-page main #block-t2portal-page-title,
.page-node-type-article main #block-t2portal-page-title {
    padding: 0 30px; /* need padding on the sides when we start loading onto smaller devices */
}
.page-node-type-page main h1,
.page-node-type-article main h1 {
    max-width: 1024px;
    padding-top: 40px;
    padding-bottom: 20px;
    padding-left: 0;
    padding-right: 0;
    margin-right: auto;
    margin-left: auto;
    color: #fff;
}
#block-t2portal-content h1 {
    padding-left: 10px;
}
h1{
    font-size: 2.6em;
    font-weight: 350 !important;
}
h2, h3, h4{
    font-weight: 400 !important;
}
.page-node-type-page main #block-t2portal-content,
.page-node-type-article main #block-t2portal-content {
    flex: 1 1 auto; /* span the height of main.region-content */
    padding: 0 30px; /* need padding on the sides when we start loading onto smaller devices */
    background-color: rgb(243,243,243);
    color: #333;
}
article {
    max-width: 1024px;
    padding: 30px 0;
    margin-right: auto;
    margin-left: auto;
}
article .feature-img-block {
    width: 400px;
    float: right;
}
article .feature-img-block .feature-img-caption {
    margin-left: 30px !important;
    font-style: italic;
    font-size: 0.9em;
    color: #888;
}
article .feature-img-block .feature-img {
    display: inline-block;
}
article .field--name-field-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}
article .field--name-field-image img {
    width: 100%;
    height: auto;
    position: absolute;
}
article figure img {
    border-radius: 10px;
    height: 100%;
}
article img {
    max-width: 100%;
    height: 100%;
}
article .align-right {
    margin-left: 30px !important;
}
article .align-left {
    margin-right: 30px !important;
}
article figure figcaption {
    font-size: 0.75em;
    font-style: italic;
}
article footer {
    display: none;
}

/*** Drupal's ICB Article and Basic Page content type ***/
.page-node-type-icb-article main .region-content {
    display: flex;
    flex-flow: column;
    min-height: 75vh; /* needed for footer. This is also set in the style for main */
    margin: 0 auto;
    text-align: left;
}
.page-node-type-icb-article main a {
    color: rgb(73, 187, 229) !important;
}
.page-node-type-icb-article main .nav {
    display: block;
    width: 100%;
    text-align: right;
    margin-bottom: 20px;
}
.page-node-type-icb-article main .nav a {
    text-decoration: none !important;
    color: #666 !important;
}
.page-node-type-icb-article main .nav img {
    width: 20px;
}
.page-node-type-icb-article main #block-t2portal-page-title {
    padding: 0 30px; /* need padding on the sides when we start loading onto smaller devices */
}
.page-node-type-icb-article main h1 {
    max-width: 1024px;
    padding-top: 40px;
    padding-bottom: 20px;
    padding-left: 0;
    padding-right: 0;
    margin-right: auto;
    margin-left: auto;
}
.page-node-type-icb-article main #block-t2portal-content {
    flex: 1 1 auto; /* span the height of main.region-content */
    padding: 0 30px; /* need padding on the sides when we start loading onto smaller devices */
    background-color: #fff;
    color: #333;
}
.page-node-type-icb-article main .alo_table {
    width: 100%;
}
.page-node-type-icb-article main .alo_table th {
    font-size: 1.2em;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}
.page-node-type-icb-article main .alo_table td {
    vertical-align: top;
}
.page-node-type-icb-article main .alo_table td .caption {
    font-size: 14px;
    font-style: italic;
}
.page-node-type-icb-article .feature-img-block {
    width: 400px;
    float: right;
    clear: both;
}
/*** end: Drupal's Article and Basic Page content type ***/

/*** User ***/
.path-user #block-t2portal-local-tasks {
    display: none;
}
.path-user input {
    color: #000;
}

/*** T2 Features page (Drupal View) ***/
.path-features .region-content {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.path-features .region-content .views-row {
    clear: both;
}

.path-features .region-content .views-field-field-image, .path-features .region-content .views-field-field-event-image {
    float: right;
}

.path-features .region-content .views-field-title {
    font-weight: bold;
    font-size: 1.6em;
}

.path-features .region-content .views-field-title a {
    text-decoration: none !important;
}

.path-features .region-content .views-field-field-feature-date {
    color: rgb(0, 127, 186) !important;
    font-weight: 700 !important;
}
.path-features .region-content .views-field-title .field-content {
    margin-right: 20px;
}
.path-features .region-content .views-field-title>.field-content, .path-features .region-content .views-field-field-feature-date>.field-content {
    width: calc(100% - 500px);
    display: block;
}

.view-t2-features .views-row {
    position: relative;
}

.view-t2-features .views-field.views-field-field-image, .view-t2-features .views-field.views-field-field-event-image {
    position: absolute;
    right: 0;
    top: 0;
}

.view-t2-features .views-row {
    height: 440px;
}

/* hamburger menu kicks in */
@media screen and (max-width: 1199px) {
    header #text-menu {
        display: none;
    }
    header #search-menu .search-icon {
        display: none;
    }
    header .meatball-sec {
        display: none;
    }
    .navbar-brand { /* push the hamburger menu all the way to the right */
        margin-right: auto !important;
    }
    header #ham-menu {
        display: inline;
    }
    .navbar-dark .navbar-toggler {
        margin-right: 20px;
    }
}

@media screen and (max-width: 1091px) {
    #more_info .left {
        text-align:center;
        padding-bottom: 20px;
    }
    #more_info .box_link {
        margin-top: 10px;
    }
    #more_info .right table {
        margin-right: auto;
        margin-left: 0;
    }
}

/* Styles for Bootstrap's col-lg grid */
@media only screen and (max-width: 991px) {
    main #block-t2portal-content {
        padding: 0 0px;
        width: 100%;
        box-sizing: border-box;
    }
    #more_info .right table {
        margin-left: 0;
        margin-top: 15px;
    }
    #explore .license .wrapper {
        width: 100%;
        padding: 0 30px;
    }
    header .t2logo {
        padding-left: 0;
    }
}

/* Styles for mobile */
@media only screen and (max-width: 540px) {
    h1 {
        font-size: 3em;
    }
    #more_info .left {
        display: none;
    }
    #more_info .right table {
        margin-left: auto;
        margin-right: auto;
    }
    #more_info #join {
        text-align: center;
    }
    #more_info #social-icons {
        text-align: center;
    }
    #more_info .row {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Styles for Bootstrap's col-lg grid */
@media only screen and (max-width: 991px) {
    .view-t2-features .views-field.views-field-field-image, .view-t2-features .views-field.views-field-field-event-image {
        position: relative;
        width: 100%;
    }
    .path-features .region-content .views-field-title>.field-content, .path-features .region-content .views-field-field-feature-date>.field-content {
        width: 100%;
    }
    .path-features .region-content .views-row {
        padding: 0 30px 50px 30px;
        display: table;
        height: auto;
    }
    .view-t2-features .views-field.views-field-field-image img.image-style-large,
    .view-t2-features .views-field.views-field-field-event-image img.image-style-large {
        width: 100%;
        height: auto;
        max-width: 480px;
        margin-top: 15px;
    }
    .path-features .region-content .views-field-title a {
        font-size: 0.9em;
        line-height: 1.3;
        display: block;
    }
    #block-t2portal-page-title h1.page-title {
        font-size: 2em;
    }
}
/* Styles for mobile landscape ga */
@media only screen and (max-width: 640px) {
    header .t2logo {
        width: calc(100% - 60px);
        max-width: 290px;
    }
}
/* Styles for mobile */
@media only screen and (max-width: 540px) {
    h1 {
        font-size: 3em;
    }
    #more_info .left {
        display: none;
    }
    #more_info .right table {
        margin-left: auto;
        margin-right: auto;
    }
    #more_info #join {
        text-align: center;
    }
    #more_info #social-icons {
        text-align: center;
    }
    #more_info .row {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* iPhone SE */
@media only screen and (max-width: 320px) {
    .navbar {
        flex-wrap: nowrap !important;
    }
    footer .t2-tagline {
        padding-right: 0;
    }
    footer .earth-img {
        margin-right: 10px;
    }
}