html {
    line-height: 1.15; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
    margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
    display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
    box-sizing: content-box; /* 1 */
    height: 0; /* 1 */
    overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
    background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
    border-bottom: none; /* 1 */
    text-decoration: underline; /* 2 */
    text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
    border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 1 */
    line-height: 1.15; /* 1 */
    margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
    box-sizing: border-box; /* 1 */
    color: inherit; /* 2 */
    display: table; /* 1 */
    max-width: 100%; /* 1 */
    padding: 0; /* 3 */
    white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
    -webkit-appearance: button; /* 1 */
    font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
    display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
    display: none;
}

html, body {
    height:100%;
    margin:0;
    padding:0;
}
.carousel, .item, .active {
    height:100%;
}
.carousel-inner {
    height:100%;
}

.carousel-inner .container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.carousel-inner .carousel-caption {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0;
}

/*.carousel {*/
    /*margin-bottom: 60px;*/
/*}*/
.carousel-caption {
    z-index: 10;
}
.carousel .item {
    background-color: #777;
}

.carousel-cover {
    background: linear-gradient(to right, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.carousel .carousel-inner .bg {
    background-repeat:no-repeat;
    background-size:cover;
}
.carousel .carousel-inner .bg1 {
    background: linear-gradient(135deg, rgba(0,0,0,0.35) 0%,rgba(0,0,0,0) 78%,rgba(0,0,0,0) 100%), url("carousel/Family_and_Personal_Protection.png") no-repeat top;
    background-size: cover;
}

.carousel .carousel-inner .bg2 {
    background: linear-gradient(135deg, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 22%,rgba(0,0,0,0.35) 100%), url("carousel/House_or_business_funding.png") no-repeat top;
    background-size: cover;
}
.carousel .carousel-inner .bg3 {
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.35) 0%,rgba(0,0,0,0) 100%), url("carousel/Business_overheads_Protection.png") no-repeat top;
    background-size: cover;
}
.carousel .carousel-inner .bg4 {
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.35) 0%,rgba(0,0,0,0) 100%), url("carousel/studen_insurance.png") no-repeat top;
    background-size: cover;
}

.carousel-caption {
    top: 30%;
    bottom: 0;
    padding-bottom: 0;
    font-size: 2.5em;
}

.carousel-caption p {
    font-weight: bold;
}

/*body {*/
    /*margin: auto;*/
    /*background-color: white;*/
/*}*/

img {
    width: 100%;
}

header {
    position: fixed;
    z-index: 1;
    width: 100%;
    background-color: transparent;
    /*background-color: #fafafa42;*/
}

/*.header-animate {*/
    /*background-color: #fafafa;*/
    /*transition: 1s;*/
/*}*/

/*:not(.header-animate) {*/
    /*background-color: transparent;*/
    /*transition: 1s;*/
/*}*/

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 400px;
}

.logo img {
    width: 30%;
}

.logo .info-container {
    text-align: center;
    white-space: nowrap;
    color: white;
}

.logo .info {
    font-size: 2em;
    font-weight: bold;
}

.logo .sub-info {
    font-size: 1.5em;
}

.phone-icon-container {
    width: 35px;
    height: 35px;
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    background-color: #D80305;
    margin-bottom: 5px;
}

.phone-icon {
    font-size: 25px;
    background-color: #D80305;
    color: white;
}

.phone-number {
    color: white;
}

.phone-contact {
    display: flex;
    align-items: center;
}

.phone-number {
    font-size: 1.8em;
}

.email-contact {
    font-size: 2em;
    color: white;
}

.info-icon-container {
    margin: 70px auto 30px;
}

.info-icon-container img {
    width: 4em;
}

.info-icon-inner-container {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-icon {
    color: red;
    font-size: 30px;
}

.icon-title {
    color: red;
    font-size: 30px;
}

.icon-content {
    text-align: center;
    font-size: 18px;
    color: black;
}

.detail-container {
    padding: 70px 0;
    background-color: #fafafa;
}

.detail-container .row {
    display: flex;
    flex-wrap: wrap;
}

.detail-item-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
}

.detail-item-content-container {
    align-self: center;
    margin-bottom: 50px;
}

.detail-title {
    padding-top: 20px;
    color: red;
    font-size: 2em;
}

.detail-content {
    font-size: 1em;
    color: black;
}

.partner-inner-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.partner-icon {
    width: auto;
    height: 65px;
    padding: 0px 80px;
}

.footer {
    background-color: #4d4d4d;
}

.footer p, .footer a {
    font-size: 1em;
}

.footer-container {
    margin-top: 20px;
    padding: 10px;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.footer-container .left-section {
    padding-left: 0;
    padding-right: 0;
}

.footer-container .left-section-container {
    width: 700px;
    display: flex;
    justify-content: space-between;
}

.footer-container .right-section {
    text-align: right;
}

.footer-container .right-section a {
    color: white;
}

.modal {
    text-align: center;
}

@media screen and (min-width: 768px) {
    .modal:before {
        display: inline-block;
        vertical-align: middle;
        content: " ";
        height: 100%;
    }
}

.modal-title {
    text-align: center;
}

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

@media (min-width: 1800px) {
    .container{
        width: 1500px;
    }
}

@media (max-width: 767px) {
    .carousel-caption {
        top: 30%;
        font-size: 1.5em;
    }
    .detail-item-container {
        display: block;
    }
    .detail-title {
        padding-top: 20px;
        font-size: 2.5em;
    }
    .detail-content {
        font-size: 1.5em;
    }
    .detail-item-content-container {
        margin-bottom: 50px;
    }
    .partner-icon {
        padding: 0 20px;
    }
    .footer p, .footer a {
        font-size: 1.5em;
    }
}

@media (max-width: 991px) {
    .logo {
        width: 100%;
    }
    .logo img {
        width: 15%;
    }
    /*.logo img {*/
        /*width: 20%;*/
    /*}*/
    /*.logo .info, .logo .sub-info, .phone-number {*/
        /*font-size: 1em;*/
    /*}*/
    .footer-container {
        flex-direction: column;
    }
    .footer-container .left-section {
        width: 100%;
    }
    .footer-container .left-section-container {
        width: 100%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }
    .footer-container .right-section {
        width: 100%;
        text-align: center;
    }
}