/*****************************************
* Author: Arun Sengupta *
* Copyright 2024, Dezmi Design *
*****************************************/

/**** CSS Reset ****/
html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
img,
ins,
kbd,
q,
s,
samp,
smbackground,
strike,
strong,
dl,
dt,
dd,
ol,
ul,
li,
figure,
figcaption,
iframe,
fieldset,
form,
label,
legend {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    vertical-align: text-top;
    background: transparent;
}
a,
a:hover {
    text-decoration: none !important;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
}

body {
    font-family: "poppins", sans-serif;
    font-size: 16px;
}

/*****************/

.wrap {
    position: relative;
    box-sizing: border-box;
    max-width: 1366px;
    padding: 0 15px;
    margin: 0px auto;
}

header {
    position: relative;
    z-index: 20;
    padding: 15px 0;
    background-color: #fff7f7;
    border-bottom: 1px solid #e2bdbd;
    background-image: url("img/header-graphic.svg");
    background-position: center right;
    background-size: contain;
    background-repeat: no-repeat;
}

.mobmenu {
    height: 40px;
}

.logo {
    max-width: 146px;
    max-height: 40px;
}

footer {
    font-size: 13px;
    font-weight: 500;
    background-color: #fff7f7;
    border-top: 1px solid #e2bdbd;
}

#main {
    min-height: 80vh;
    padding-left: 310px;
    transition: padding-left 0.5s;
}

/****/

.sidebar {
    height: 100%;
    width: 300px;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    background: rgb(255, 247, 247);
    background: linear-gradient(270deg, rgba(255, 247, 247, 1) 0%, rgba(255, 247, 247, 1) 35%, rgba(255, 255, 255, 0) 100%);
    overflow-x: hidden;
    padding: 20px;
    transition: 0.5s;
}

.sidebar .btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    display: none;
}

.sidebar.shut {
    left: -300px;
}
#main.shut {
    padding-left: 0;
}

/******/

.singleuc {
    min-height: 195px;
    background-color: #fff7f7;
    border: 1px solid #d8afaf;
    background-image: url("img/box-curve.svg");
    background-position: center bottom;
    background-size: contain;
    background-repeat: no-repeat;
}

.singleuc .card-text span {
    background-image: url("img/right-arrow.svg"), url("img/left-arrow.svg");
    background-position: center left, center right;
    background-repeat: no-repeat, no-repeat;
    background-size: auto, auto;
    padding: 0 22px;
}

/****/
.avatar-grid {
    list-style-type: none;
}
.avatar-grid li {
    display: inline-block;
}
.avatar-grid input[type="radio"] {
    display: none;
}

.avatar-grid label {
    font-size: 15px;
    display: block;
    position: relative;
    margin: 0 25px 20px 0;
    cursor: pointer;
    text-align: center;
}

.avatar-grid label:before {
    background-color: white;
    color: white;
    content: " ";
    display: block;
    border-radius: 50%;
    position: absolute;
    top: -5px;
    left: -5px;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 28px;
    z-index: 10;
    transition-duration: 0.4s;
    transform: scale(0);
}

.avatar-grid label img {
    z-index: 9;
    height: auto;
    width: 120px;
    border-radius: 8px;
    border: 1px solid #999;
    transition-duration: 0.2s;
    transform-origin: 50% 50%;
}

.avatar-grid :checked + label:before {
    content: "✓";
    background-color: #84060b;
    transform: scale(1);
}

.avatar-grid :checked + label img {
    /*transform: scale(0.95);*/
    box-shadow: 0 0 5px #999;
    z-index: -1;
    filter: brightness(70%);
}

.single-avatar {
    display: inline-block;
    font-size: 16px;
    text-align: center;
}

.single-avatar img {
    height: 120px;
    width: 120px;
    border-radius: 8px;
    padding: 3px;
    border: 2px dotted #888;
}

/******/

.fillform-box {
    background-color: #fff7f7;
    border: 1px solid #84060b;
    padding: 40px;
    border-radius: 10px;
    font-size: 14px;
}

.eachfield {
    margin-bottom: 15px;
}

.eachfield .tip {
    font-size: 12px;
    font-style: italic;
    line-height: 18px;
}

/******/

#speakerbox {
    padding: 60px 20px;
}

#userbox {
    padding: 15px 20px;
}

._html5Player {
    margin: 0 auto;
}

.speaker {
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    background-image: url("img/right-arrow.svg"), url("img/left-arrow.svg");
    background-position: center left, center right;
    background-repeat: no-repeat, no-repeat;
    background-size: auto, auto;
    padding: 0 22px;
}

.speaker-textbox {
    position: relative;
    text-indent: 35px;
    padding-bottom: 20px !important;
}

.instructions {
    color: #84060b;
    padding-bottom: 20px !important;
}

.speaker-textbox::before {
    content: "";
    position: absolute;
    top: -25px;
    left: -15px;
    height: 52px;
    width: 52px;
    background-image: url(img/quote-up.svg);
}

.speaker-textbox::after {
    content: "";
    position: absolute;
    bottom: -20px;
    right: -15px;
    height: 52px;
    width: 52px;
    background-image: url(img/quote-down.svg);
}

.externallink {
    padding-right: 65px !important;
    background-image: url(img/outerlink.svg);
    background-position: right 10px center;
    background-repeat: no-repeat;
}

/******/

.heading-art {
    background-image: url("img/heading-art.svg");
    background-position: center center;
    background-size: cover;
}

.retrotoggle {
    cursor: pointer;
}

.retro > div:not(.collapsed) .col img {
    transform: rotate(180deg);
}

/** OVERRIDE **/

.form-switch .form-check-input {
    width: 2.1em;
    height: 1.3em;
}

.form-switch .form-check-input:checked {
    background-color: green;
    border-color: green;
}

.btn-outline-danger {
    border: 1px solid #84060b;
    color: #84060b;
}

.btn-outline-danger:hover {
    color: #fff;
    border: 1px solid #84060b;
    background-color: #84060b;
}

.owl-stage-outer {
    padding: 10px 25px 0 15px;
}

.owl-nav button {
    background-color: #ebdcdc !important;
    opacity: 0.6;
    border: none;
    color: #333;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.owl-nav button:hover {
    opacity: 1;
}

.owl-nav .owl-prev {
    position: absolute;
    top: 20px;
    left: -5px;
    border-radius: 8px 0 0 8px;
}

.owl-nav .owl-next {
    position: absolute;
    top: 20px;
    right: -5px;
    border-radius: 0 8px 8px 0;
}
.owl-nav .owl-prev span,
.owl-nav .owl-next span {
    font-size: 70px;
    padding: 10px;
}

/*****************/

.clear {
    clear: both;
    height: 0px;
    line-height: 0px;
}
.spacer {
    clear: both;
    height: 5px;
    line-height: 5px;
}
.spacer-large {
    clear: both;
    height: 10px;
    line-height: 10px;
}
.spacer-huge {
    clear: both;
    height: 20px;
    line-height: 20px;
}
.spacer-big {
    clear: both;
    height: 30px;
    line-height: 20px;
}
.spacer-mega {
    clear: both;
    height: 40px;
    line-height: 20px;
}
.spacer-wow {
    clear: both;
    height: 60px;
    line-height: 20px;
}

.px-150 {
    padding-left: 150px !important;
    padding-right: 150px !important;
}

.txt-pri {
    color: #84060b;
}

.bg-pri {
    background-color: #84060b;
}
.bg-sec {
    background-color: #fff7f7;
}
.bg-ter {
    background-color: #ffeeee;
}

.imginverse {
    filter: brightness(0) invert(1);
}

.font12 {
    font-size: 12px;
}
.font13 {
    font-size: 13px;
}
.font14 {
    font-size: 14px;
}
.font15 {
    font-size: 15px;
}
.font16 {
    font-size: 16px;
}
.font18 {
    font-size: 18px;
}
.font20 {
    font-size: 20px;
}
.font22 {
    font-size: 22px;
}
.font24 {
    font-size: 24px;
}

/**** Media Queries ****/

@media screen and (max-width: 768px) {
    .px-150 {
        padding-left: 50px !important;
        padding-right: 50px !important;
    }

    .fillform-box {
        padding: 20px;
    }

    .font22 {
        font-size: 18px;
    }

    .sidebar {
        top: 74px;
        z-index: 20;
        position: fixed;
        box-shadow: var(--bs-box-shadow) !important;
        background-color: #fff7f7;
    }

    .sidebar .btn-close {
        display: block;
    }

    .sidebar {
        left: -300px;
    }
    .sidebar.shut {
        left: 0;
    } /* this is actuall OPEN, on the mobile it is the opposite */

    #main,
    #main.shut {
        padding-left: 0;
    }
}

@media screen and (max-width: 480px) {
    header {
        padding: 12px 0;
    }

    .logo {
        max-width: 120px;
    }

    .singleuc {
        min-height: 150px;
    }

    .owl-stage-outer {
        padding: 0 0 0 10px;
    }

    .avatar-grid label img {
        height: 90px;
        width: 90px;
    }

    .sidebar {
        top: 125px;
    }
}
