﻿body, h1, h2, h3, h4, h5, h6 {
    font-family: "Lato", sans-serif;
}
img {
    max-width:90%;
}
.HIFC-logo {
    width:400px;
    height:auto;
}

.contentHeader {
    padding: 10px 16px 10px 16px;
    color: #fff !important;
    background-color: #2196F3 !important;
    display: block;
    width: 100%;
    text-align: center;
}
.contentHeader:after, .contentHeader:before {
    content: "";
    display: table;
    clear: both;
}
.contentHeader > h1 {
    /* when one of the min() options is fixed size (e.g. 50px), this oddly enough limits the size to a *maximum* of the fixed size */
    font-size: min(7vw, 50px);
    margin:16px!important;
}

.w3-bar, h1, button {
    font-family: "Montserrat", sans-serif;
}

.w3-left, .w3-right, .w3-badge {
    cursor: pointer;
}

.w3-badge {
    height: 13px;
    width: 13px;
    padding: 0;
}

.card {
    cursor: pointer;
}

.card:hover {
    background-color: #c0e8f8;
}

/* -------------- menu bar styling -------------------- */

.dropdownmenu {
    z-index: 1;
    position: fixed;
    top: 51px;
    right: 0;
}

/* -------------- end of menu bar styling -------------------- */


/* -------------- content styling -------------------- */

/* mainContainer encapsulate repeated w3-row-padding w3-light-grey w3-padding-64 w3-container */
/* changed from padding-64 to 32/16 */
.mainContainer {
    /* w3-row-padding */
    padding: 0 8px;
    /* w3-light-grey */
    color: #000 !important;
    background-color: #f1f1f1 !important;
    /* w3-padding-32/16 */
    padding-top: 32px !important;
    padding-bottom: 16px !important;
    /* w3-container */
    padding: 0.01em 16px;
}
.mainContainer:after, .mainContainer:before {
    /* w3-row-padding:after, :before */
    content: "";
    display: table;
    clear: both;
    /* .w3-container:after,.w3-container:before */
    content:"";
    display:table;
    clear:both;
}

/* section headings and content */
.sectionHeading {
    font-size: min(4vw, 2rem);
}

.sectionContent {
    width: 100% padding-top: 20px !important;
    padding-bottom: 8px !important;
    font-size: min(3.5vw, 1.5rem);
}

.sectionContent td {
    padding-left: 15px;
}

.sectionContent td:nth-child(2) {
    width: max(50px, 20vw);
    white-space: nowrap;
}
/* end of section headings and content */


/* -------------- end of content styling -------------------- */



/* -------------- standard text sizes -------------------- */
/*  use standardContent for enclosing block
    use <h3> for section headings, <p> for text
    Example: Executive Messages
*/

.standardContent h3 {
    font-size: 6vw important;
}
.standardContent p, .standardContent li {
    font-size: 20px;
}

/* ---------- end of standard text sizes ----------------- */



.left {float:left;}
.right {float: right;}

.large-yellow-button {
    /* w3-button */
    border: none;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background-color: inherit;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* w3-yellow */
    color: #000 !important;
    background-color: #ffeb3b !important;
    /* w3-padding-large */
    padding: 12px 24px !important;
    /* w3-large */
    font-size: 18px !important;
    /* w3-margin-top */
    margin-top: 16px !important;
}

.large-yellow-button:hover {
    /* w3-button */
    color: #000 !important;
    background-color: #ccc !important;
    /* w3-hover-black */
    color:#fff!important;background-color:#000!important
}

#carousel1 {
    display: block;
    /*
    min-height: 520px;

*/
}

@media(max-width:744px){
    #carousel-spacer {height:0px;}
    #carousel1 {min-height: 440px; width:100%; align-content:center;}
    .carousel1>img {max-height:420px;}
    #carousel2 {height: 440px !important;}
    .carousel2>img {max-height:420px;}
}

@media(min-width:745px) {
    #carousel-spacer {height:360px;}
    #carousel1 {min-height: 520px;}
    .carousel1>img {max-height: 500px;}
}

/*
#carousel1 {
    display:block;
    min-height:520px;
}

*/

.carousel1>img {
    display: block !important;
    width: 100% !important;
}

.carousel-item, .h-carousel-item {
    opacity: 0;
    transition: opacity 1s !important;
    align-content: center;
}
.carousel-item.active, .h-carousel-item.active {
    opacity: 1;
}
.h-carousel-item {
    position: absolute;
    /*
    left: 20px;
    left: 50%; transform: translateX(-50%);
    left:auto; right: auto;
    justify-self: center;
    */
    top: 20px;
}