﻿@font-face {
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 400;
    src: local('SF UI Text'), url('../fonts/SFUIText-Regular.woff') format('woff');
}


@font-face {
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 500;
    src: local('SF UI Text'), url('../fonts/SFUIText-Medium.woff') format('woff');
}


html, body {
    font-family: 'SF UI Text', Helvetica, Arial, sans-serif;
    overflow: hidden;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow:hidden;
}


h1 {
    font-style: normal;
    font-weight: 500;
    font-size: 32px;
}

h2 {
    font-style: normal;
    font-weight: 500;
    font-size: 25px;
}

h3 {
    font-style: normal;
    font-weight: 500;
    font-weight: 500;
    font-size: 22px;
}

h4 {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
}

a p, p {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    color: rgba(32, 26, 37, 0.3);
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.search {
    border-radius: 65px;
    height: 43px;
    margin: 10px 20px;
    padding: 20px;
    width: calc(100% - 40px);
    font-size: 18px;
    color: #BFC1CC;
    font-family: 'SF UI Text';
    font-weight: 400;
    border: 1px solid #E8E8E8;
    background-image: url('../images/search.png');
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: center;
    background-origin: content-box;
}

main {
    margin: 75px 0 100px 0;
    overflow-y: auto;
    height: calc(100vh - 70px - 100px);
}

main.modal-page {
    margin: 75px 0 0px 0;
    height: calc(100vh - 70px);
}


.paralax-page {
    background-image: url('../images/piano-large.jpg');
    background-repeat: no-repeat;
    background-size:cover;
}
.toolbar {
    position: fixed;
    top: 0;
    left:0;
    right: 0;
    padding: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color:white;
    z-index:1;
}

.background-image {
    width: 100vw;
    height: 50vh;
    object-fit: cover;
}

.content {
    /*Need to check for iOS Safe Areas*/
    padding-top: 40px;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}


.card {
    display: grid;
    padding: 20px 10px;
    border-radius: 20px;
    margin: 10px 20px;
    border: 1px solid #DCDDE0;
    filter: drop-shadow(0px 10px 10px #F1F2F5);
}

.course {
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto auto auto;
}

.mentor {
    display: grid;
    grid-template-columns: 100px 1px auto 50px;
    grid-template-rows: auto auto auto;
}

.popup {
    padding: 20px 10px;
    border-radius: 40px 40px 0px 0px;
    border: 1px solid #DCDDE0;
    border-bottom:none;
    margin-top: -100px;
    background-color: white;

}

.mentor-heading {
    /*background-color:rebeccapurple;*/
    align-self: flex-start;
    background-image: url(../images/highlight-heading.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.divider {
    border: 2px solid #EDEDED;
}

.mentor .divider {
    grid-column: 2;
}

.mentor-followers {
    grid-column: 3;
}

.mentor-arrows {
    grid-column: 4;
}

.course img {
    grid-row-start: 1;
    grid-row-end: 4;
    width: 100px;
    height: 100px;
    background-image: url(../images/highlight-green.png);
    background-repeat: no-repeat;
}

.mentor-image {
    background-color: #278c7e;
    border-radius : 20px;
}

.mentor:nth-child(even) .mentor-image {
    background-color: #FFD051;
}

.course:nth-child(even) img {
    background-image: url(../images/highlight-yellow.png);
}

a.card{
    text-decoration: none;
}

.card h3, .card h4, .card p {
    color: black;
    text-decoration: none;
    text-decoration-line: none;
}
.card p {

}

.card h3 {

}



#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN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2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.status-bar-safe-area {
    display: none;
}

@supports (-webkit-touch-callout: none) {
    .status-bar-safe-area {
        display: flex;
        position: sticky;
        top: 0;
        height: env(safe-area-inset-top);
        background-color: #f7f7f7;
        width: 100%;
        z-index: 1;
    }

	.flex-column{
		padding-left: env(safe-area-inset-left);
	}
}
